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
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 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 | |