Skip to content

DynamoDBClient.create_backup

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Creates a backup for an existing table. Each time you create an on-demand backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken. When you create an on-demand backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table...

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
    CreateBackupOutput,
)

Signature

async def create_backup(
    *,
    table_name: str,
    backup_name: str,
) -> CreateBackupOutput: ...

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 Yes The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
backup_name Yes Specified name for the backup.

Output

CreateBackupOutput.

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_details BackupDetailsOutput | None Always present BackupDetailsOutput

| 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.

CreateBackupOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_dynamodb.exceptions:

BackupInUseError, ContinuousBackupsUnavailableError, InternalServerError, InvalidEndpointError, LimitExceededError, TableInUseError, TableNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model