list_restore_jobs
¶
list_restore_jobs(
*,
config_overrides: Optional[BackupClientConfig] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
by_account_id: Optional[AccountId] = None,
by_resource_type: Optional[ResourceType] = None,
by_created_before: Optional[timestamp] = None,
by_created_after: Optional[timestamp] = None,
by_status: Optional[RestoreJobStatus] = None,
by_complete_before: Optional[timestamp] = None,
by_complete_after: Optional[timestamp] = None,
by_restore_testing_plan_arn: Optional[ARN] = None,
by_parent_job_id: Optional[string] = None,
) -> ListRestoreJobsOutput
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
Parameters:
-
next_token(Optional[string], default:None) –The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token. -
max_results(Optional[MaxResults], default:None) –The maximum number of items to be returned.
-
by_account_id(Optional[AccountId], default:None) –The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
-
by_resource_type(Optional[ResourceType], default:None) –Include this parameter to return only restore jobs for the specified resources:
-
Aurorafor Amazon Aurora -
CloudFormationfor CloudFormation -
DocumentDBfor Amazon DocumentDB (with MongoDB compatibility) -
DynamoDBfor Amazon DynamoDB -
EBSfor Amazon Elastic Block Store -
EC2for Amazon Elastic Compute Cloud -
EFSfor Amazon Elastic File System -
EKSfor Amazon Elastic Kubernetes Service -
FSxfor Amazon FSx -
Neptunefor Amazon Neptune -
RDSfor Amazon Relational Database Service -
Redshiftfor Amazon Redshift -
S3for Amazon Simple Storage Service (Amazon S3) -
SAP HANA on Amazon EC2for SAP HANA databases on Amazon Elastic Compute Cloud instances -
Storage Gatewayfor Storage Gateway -
Timestreamfor Amazon Timestream -
VirtualMachinefor VMware virtual machines
-
-
by_created_before(Optional[timestamp], default:None) –Returns only restore jobs that were created before the specified date.
-
by_created_after(Optional[timestamp], default:None) –Returns only restore jobs that were created after the specified date.
-
by_status(Optional[RestoreJobStatus], default:None) –Returns only restore jobs associated with the specified job status.
-
by_complete_before(Optional[timestamp], default:None) –Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
-
by_complete_after(Optional[timestamp], default:None) –Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
-
by_restore_testing_plan_arn(Optional[ARN], default:None) –This returns only restore testing jobs that match the specified resource Amazon Resource Name (ARN).
-
by_parent_job_id(Optional[string], default:None) –This is a filter to list child (nested) restore jobs based on parent restore job ID.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/backup.py
5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 | |