list_backups
¶
list_backups(
*,
config_overrides: Optional[DynamoDBClientConfig] = None,
table_name: Optional[TableArn] = None,
limit: Optional[BackupsInputLimit] = None,
time_range_lower_bound: Optional[TimeRangeLowerBound] = None,
time_range_upper_bound: Optional[TimeRangeUpperBound] = None,
exclusive_start_backup_arn: Optional[BackupArn] = None,
backup_type: Optional[BackupTypeFilter] = None,
) -> ListBackupsOutput
List DynamoDB backups that are associated with an Amazon Web Services account and weren't made with Amazon Web Services Backup. To list these backups for a given table, specify TableName. ListBackups returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups a maximum of five times per second.
If you want to retrieve the complete list of backups made with Amazon Web Services Backup, use the Amazon Web Services Backup list API.
Parameters:
-
table_name(Optional[TableArn], default:None) –Lists the backups from the table specified in
TableName. You can also provide the Amazon Resource Name (ARN) of the table in this parameter. -
limit(Optional[BackupsInputLimit], default:None) –Maximum number of backups to return at once.
-
time_range_lower_bound(Optional[TimeRangeLowerBound], default:None) –Only backups created after this time are listed.
TimeRangeLowerBoundis inclusive. -
time_range_upper_bound(Optional[TimeRangeUpperBound], default:None) –Only backups created before this time are listed.
TimeRangeUpperBoundis exclusive. -
exclusive_start_backup_arn(Optional[BackupArn], default:None) –LastEvaluatedBackupArnis the Amazon Resource Name (ARN) of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as theExclusiveStartBackupArnof a newListBackupsoperation in order to fetch the next page of results. -
backup_type(Optional[BackupTypeFilter], default:None) –The backups from the table specified by
BackupTypeare listed.Where
BackupTypecan be:-
USER- On-demand backup created by you. (The default setting if no other backup types are specified.) -
SYSTEM- On-demand backup automatically created by DynamoDB. -
ALL- All types of on-demand backups (USER and SYSTEM).
-
Raises:
-
InternalServerError–An error occurred on the server side.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_dynamodb/_services/dynamo_db.py
2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 | |