list_copy_jobs
¶
list_copy_jobs(
*,
config_overrides: Optional[BackupClientConfig] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
by_resource_arn: Optional[ARN] = None,
by_state: Optional[CopyJobState] = None,
by_created_before: Optional[timestamp] = None,
by_created_after: Optional[timestamp] = None,
by_resource_type: Optional[ResourceType] = None,
by_destination_vault_arn: Optional[string] = None,
by_account_id: Optional[AccountId] = None,
by_complete_before: Optional[timestamp] = None,
by_complete_after: Optional[timestamp] = None,
by_parent_job_id: Optional[string] = None,
by_message_category: Optional[string] = None,
by_source_recovery_point_arn: Optional[string] = None,
) -> ListCopyJobsOutput
Returns metadata about your copy jobs.
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 MaxResults number of items, NextToken allows 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_resource_arn(Optional[ARN], default:None) –Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
-
by_state(Optional[CopyJobState], default:None) –Returns only copy jobs that are in the specified state.
-
by_created_before(Optional[timestamp], default:None) –Returns only copy jobs that were created before the specified date.
-
by_created_after(Optional[timestamp], default:None) –Returns only copy jobs that were created after the specified date.
-
by_resource_type(Optional[ResourceType], default:None) –Returns only backup 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_destination_vault_arn(Optional[string], default:None) –An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault. -
by_account_id(Optional[AccountId], default:None) –The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
-
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_parent_job_id(Optional[string], default:None) –This is a filter to list child (nested) jobs based on parent job ID.
-
by_message_category(Optional[string], default:None) –This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the value you input.
Example strings may include
AccessDenied,SUCCESS,AGGREGATE_ALL, andINVALIDPARAMETERS.View Monitoring for a list of accepted strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALLaggregates job counts for all message categories and returns the sum. -
by_source_recovery_point_arn(Optional[string], default:None) –Filters copy jobs by the specified source recovery point ARN.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
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
4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 | |