DynamoDBClient.list_backups
rboto-dynamodb==0.4.0 · Service index · Types
Model summary (excerpt): 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,...
Install and imports
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
BackupTypeFilter,
ListBackupsOutput,
)
Signature
async def list_backups(
*,
table_name: str | None = None,
limit: int | None = None,
time_range_lower_bound: str | None = None,
time_range_upper_bound: str | None = None,
exclusive_start_backup_arn: str | None = None,
backup_type: BackupTypeFilter | None = None,
) -> ListBackupsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
table_name |
No | 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 |
No | Maximum number of backups to return at once. |
time_range_lower_bound |
No | Only backups created after this time are listed. TimeRangeLowerBound is inclusive. |
time_range_upper_bound |
No | Only backups created before this time are listed. TimeRangeUpperBound is exclusive. |
exclusive_start_backup_arn |
No | LastEvaluatedBackupArn is 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 the ExclusiveStartBackupArn of a new ListBackups operation in order to fetch the next page of results. |
backup_type |
No | The backups from the table specified by BackupType are listed. Where BackupType can 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). |
Output
ListBackupsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
backup_summaries |
list[BackupSummaryOutput] | None |
Always present | BackupSummaryOutput |
last_evaluated_backup_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
BackupTypeFilter, ListBackupsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_backups(...) accepts the same arguments and returns AsyncIterator[ListBackupsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: exclusive_start_backup_arn. Page-size argument: limit.
No output stream.
Errors
Import from rboto_dynamodb.exceptions:
InternalServerError, InvalidEndpointError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.