list_recovery_points_by_backup_vault
async
¶
list_recovery_points_by_backup_vault(
backup_vault_name: BackupVaultName,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
backup_vault_account_id: Optional[AccountId] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
by_resource_arn: Optional[ARN] = None,
by_resource_type: Optional[ResourceType] = None,
by_backup_plan_id: Optional[string] = None,
by_created_before: Optional[timestamp] = None,
by_created_after: Optional[timestamp] = None,
by_parent_recovery_point_arn: Optional[ARN] = None,
) -> ListRecoveryPointsByBackupVaultOutput
Returns detailed information about the recovery points stored in a backup vault.
Parameters:
-
backup_vault_name(BackupVaultName) –The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
Backup vault name might not be available when a supported service creates the backup.
-
backup_vault_account_id(Optional[AccountId], default:None) –This parameter will sort the list of recovery points by account ID.
-
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_resource_arn(Optional[ARN], default:None) –Returns only recovery points that match the specified resource Amazon Resource Name (ARN).
-
by_resource_type(Optional[ResourceType], default:None) –Returns only recovery points that match the specified resource type(s):
-
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_backup_plan_id(Optional[string], default:None) –Returns only recovery points that match the specified backup plan ID.
-
by_created_before(Optional[timestamp], default:None) –Returns only recovery points that were created before the specified timestamp.
-
by_created_after(Optional[timestamp], default:None) –Returns only recovery points that were created after the specified timestamp.
-
by_parent_recovery_point_arn(Optional[ARN], default:None) –This returns only recovery points that match the specified parent (composite) recovery point Amazon Resource Name (ARN).
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/async_backup.py
5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 | |