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
2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 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 | |