list_recovery_points_by_resource
¶
list_recovery_points_by_resource(
resource_arn: ARN,
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
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 5609 5610 5611 5612 5613 5614 5615 5616 | |