list_recovery_points_by_resource
async
¶
list_recovery_points_by_resource(
resource_arn: ARN,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
managed_by_aws_backup_only: Optional[Boolean2] = None,
) -> ListRecoveryPointsByResourceOutput
The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
Parameters:
-
resource_arn(ARN) –An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
-
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.
Amazon RDS requires a value of at least 20.
-
managed_by_aws_backup_only(Optional[Boolean2], default:None) –This attribute filters recovery points based on ownership.
If this is set to
TRUE, the response will contain recovery points associated with the selected resources that are managed by Backup.If this is set to
FALSE, the response will contain all recovery points associated with the selected resource, except for EBS snapshots copied within the same Region and account.Type: Boolean
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
5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 | |