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
5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 | |