List Copy Jobs
| backup_list_copy_jobs | R Documentation |
Returns metadata about your copy jobs¶
Description¶
Returns metadata about your copy jobs.
Usage¶
backup_list_copy_jobs(NextToken, MaxResults, ByResourceArn, ByState,
ByCreatedBefore, ByCreatedAfter, ByResourceType, ByDestinationVaultArn,
ByAccountId, ByCompleteBefore, ByCompleteAfter, ByParentJobId,
ByMessageCategory)
Arguments¶
NextTokenThe 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.
MaxResultsThe maximum number of items to be returned.
ByResourceArnReturns only copy jobs that match the specified resource Amazon Resource Name (ARN).
ByStateReturns only copy jobs that are in the specified state.
ByCreatedBeforeReturns only copy jobs that were created before the specified date.
ByCreatedAfterReturns only copy jobs that were created after the specified date.
ByResourceTypeReturns only backup jobs for the specified resources:
Aurorafor Amazon AuroraCloudFormationfor CloudFormationDocumentDBfor Amazon DocumentDB (with MongoDB compatibility)DynamoDBfor Amazon DynamoDBEBSfor Amazon Elastic Block StoreEC2for Amazon Elastic Compute CloudEFSfor Amazon Elastic File SystemFSxfor Amazon FSxNeptunefor Amazon NeptuneRDSfor Amazon Relational Database ServiceRedshiftfor Amazon RedshiftS3for Amazon Simple Storage Service (Amazon S3)SAP HANA on Amazon EC2for SAP HANA databases on Amazon Elastic Compute Cloud instancesStorage Gatewayfor Storage GatewayTimestreamfor Amazon TimestreamVirtualMachinefor VMware virtual machines
ByDestinationVaultArnAn 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.ByAccountIdThe account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
ByCompleteBeforeReturns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
ByCompleteAfterReturns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
ByParentJobIdThis is a filter to list child (nested) jobs based on parent job ID.
ByMessageCategoryThis 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.
Value¶
A list with the following syntax:
list(
CopyJobs = list(
list(
AccountId = "string",
CopyJobId = "string",
SourceBackupVaultArn = "string",
SourceRecoveryPointArn = "string",
DestinationBackupVaultArn = "string",
DestinationRecoveryPointArn = "string",
ResourceArn = "string",
CreationDate = as.POSIXct(
"2015-01-01"
),
CompletionDate = as.POSIXct(
"2015-01-01"
),
State = "CREATED"|"RUNNING"|"COMPLETED"|"FAILED"|"PARTIAL",
StatusMessage = "string",
BackupSizeInBytes = 123,
IamRoleArn = "string",
CreatedBy = list(
BackupPlanId = "string",
BackupPlanArn = "string",
BackupPlanVersion = "string",
BackupRuleId = "string"
),
ResourceType = "string",
ParentJobId = "string",
IsParent = TRUE|FALSE,
CompositeMemberIdentifier = "string",
NumberOfChildJobs = 123,
ChildJobsInState = list(
123
),
ResourceName = "string",
MessageCategory = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_copy_jobs(
NextToken = "string",
MaxResults = 123,
ByResourceArn = "string",
ByState = "CREATED"|"RUNNING"|"COMPLETED"|"FAILED"|"PARTIAL",
ByCreatedBefore = as.POSIXct(
"2015-01-01"
),
ByCreatedAfter = as.POSIXct(
"2015-01-01"
),
ByResourceType = "string",
ByDestinationVaultArn = "string",
ByAccountId = "string",
ByCompleteBefore = as.POSIXct(
"2015-01-01"
),
ByCompleteAfter = as.POSIXct(
"2015-01-01"
),
ByParentJobId = "string",
ByMessageCategory = "string"
)