list_indexed_recovery_points
async
¶
list_indexed_recovery_points(
*,
config_overrides: Optional[AsyncBackupClientConfig] = 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/async_backup.py
5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 | |