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¶
NextToken
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.MaxResults
The maximum number of items to be returned.
ByAccountId
The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
ByResourceType
Include this parameter to return only restore jobs for the specified resources:
Aurora
for Amazon AuroraCloudFormation
for CloudFormationDocumentDB
for Amazon DocumentDB (with MongoDB compatibility)DynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemFSx
for Amazon FSxNeptune
for Amazon NeptuneRDS
for Amazon Relational Database ServiceRedshift
for Amazon RedshiftS3
for Amazon Simple Storage Service (Amazon S3)SAP HANA on Amazon EC2
for SAP HANA databases on Amazon Elastic Compute Cloud instancesStorage Gateway
for Storage GatewayTimestream
for Amazon TimestreamVirtualMachine
for VMware virtual machines
ByCreatedBefore
Returns only restore jobs that were created before the specified date.
ByCreatedAfter
Returns only restore jobs that were created after the specified date.
ByStatus
Returns only restore jobs associated with the specified job status.
ByCompleteBefore
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
ByCompleteAfter
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
ByRestoreTestingPlanArn
This 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"
)