list_indexed_recovery_points
¶
list_indexed_recovery_points(
*,
config_overrides: Optional[BackupClientConfig] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
source_resource_arn: Optional[ARN] = None,
created_before: Optional[timestamp] = None,
created_after: Optional[timestamp] = None,
resource_type: Optional[ResourceType] = None,
index_status: Optional[IndexStatus] = None,
) -> ListIndexedRecoveryPointsOutput
This operation returns a list of recovery points that have an associated index, belonging to the specified account.
Optional parameters you can include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
Parameters:
-
next_token(Optional[string], default:None) –The next item following a partial list of returned recovery points.
For example, if a request is made to return
MaxResultsnumber of indexed recovery points,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 resource list items to be returned.
-
source_resource_arn(Optional[ARN], default:None) –A string of the Amazon Resource Name (ARN) that uniquely identifies the source resource.
-
created_before(Optional[timestamp], default:None) –Returns only indexed recovery points that were created before the specified date.
-
created_after(Optional[timestamp], default:None) –Returns only indexed recovery points that were created after the specified date.
-
resource_type(Optional[ResourceType], default:None) –Returns a list of indexed recovery points for the specified resource type(s).
Accepted values include:
-
EBSfor Amazon Elastic Block Store -
S3for Amazon Simple Storage Service (Amazon S3)
-
-
index_status(Optional[IndexStatus], default:None) –Include this parameter to filter the returned list by the indicated statuses.
Accepted values:
PENDING|ACTIVE|FAILED|DELETINGA recovery point with an index that has the status of
ACTIVEcan be included in a search.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
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
5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 | |