List Restore Jobs
| backup_list_restore_jobs | R Documentation |
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process¶
Description¶
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
Usage¶
backup_list_restore_jobs(NextToken, MaxResults, ByAccountId,
ByResourceType, ByCreatedBefore, ByCreatedAfter, ByStatus,
ByCompleteBefore, ByCompleteAfter, ByRestoreTestingPlanArn)
Arguments¶
NextTokenThe 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.MaxResultsThe maximum number of items to be returned.
ByAccountIdThe account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
ByResourceTypeInclude this parameter to return only restore 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
ByCreatedBeforeReturns only restore jobs that were created before the specified date.
ByCreatedAfterReturns only restore jobs that were created after the specified date.
ByStatusReturns only restore jobs associated with the specified job status.
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).
ByRestoreTestingPlanArnThis returns only restore testing jobs that match the specified resource Amazon Resource Name (ARN).
Value¶
A list with the following syntax:
list(
RestoreJobs = list(
list(
AccountId = "string",
RestoreJobId = "string",
RecoveryPointArn = "string",
CreationDate = as.POSIXct(
"2015-01-01"
),
CompletionDate = as.POSIXct(
"2015-01-01"
),
Status = "PENDING"|"RUNNING"|"COMPLETED"|"ABORTED"|"FAILED",
StatusMessage = "string",
PercentDone = "string",
BackupSizeInBytes = 123,
IamRoleArn = "string",
ExpectedCompletionTimeMinutes = 123,
CreatedResourceArn = "string",
ResourceType = "string",
RecoveryPointCreationDate = as.POSIXct(
"2015-01-01"
),
CreatedBy = list(
RestoreTestingPlanArn = "string"
),
ValidationStatus = "FAILED"|"SUCCESSFUL"|"TIMED_OUT"|"VALIDATING",
ValidationStatusMessage = "string",
DeletionStatus = "DELETING"|"FAILED"|"SUCCESSFUL",
DeletionStatusMessage = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_restore_jobs(
NextToken = "string",
MaxResults = 123,
ByAccountId = "string",
ByResourceType = "string",
ByCreatedBefore = as.POSIXct(
"2015-01-01"
),
ByCreatedAfter = as.POSIXct(
"2015-01-01"
),
ByStatus = "PENDING"|"RUNNING"|"COMPLETED"|"ABORTED"|"FAILED",
ByCompleteBefore = as.POSIXct(
"2015-01-01"
),
ByCompleteAfter = as.POSIXct(
"2015-01-01"
),
ByRestoreTestingPlanArn = "string"
)