list_backups
async
¶
list_backups(
*,
config_overrides: Optional[AsyncDynamoDBClientConfig] = 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/async_dynamo_db.py
2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 | |