Backup.Client.
list_recovery_points_by_legal_hold
(**kwargs)¶This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
See also: AWS API Documentation
Request Syntax
response = client.list_recovery_points_by_legal_hold(
LegalHoldId='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
This is the ID of the legal hold.
maxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.dict
Response Syntax
{
'RecoveryPoints': [
{
'RecoveryPointArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
RecoveryPoints (list) --
This is a list of the recovery points returned by ListRecoveryPointsByLegalHold
.
(dict) --
This is a recovery point which is a child (nested) recovery point of a parent (composite) recovery point. These recovery points can be disassociated from their parent (composite) recovery point, in which case they will no longer be a member.
RecoveryPointArn (string) --
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
NextToken (string) --
This return is the next item following a partial list of returned resources.
Exceptions
Backup.Client.exceptions.InvalidParameterValueException
Backup.Client.exceptions.MissingParameterValueException
Backup.Client.exceptions.ServiceUnavailableException