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
5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 | |