Skip to content

DynamoDBClient.export_table_to_point_in_time

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): Exports table data to an S3 bucket. The table must have point in time recovery enabled, and you can export data from any time within the point in time recovery window.

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
    ExportFormat,
    ExportTableToPointInTimeOutput,
    ExportType,
    FilterSpecification,
    IncrementalExportSpecification,
    S3SseAlgorithm,
)

Signature

async def export_table_to_point_in_time(
    *,
    table_arn: str,
    s3_bucket: str,
    export_time: str | None = None,
    client_token: str | None = None,
    s3_bucket_owner: str | None = None,
    s3_prefix: str | None = None,
    s3_sse_algorithm: S3SseAlgorithm | None = None,
    s3_sse_kms_key_id: str | None = None,
    export_format: ExportFormat | None = None,
    export_type: ExportType | None = None,
    incremental_export_specification: IncrementalExportSpecification | None = None,
    filter_specification: FilterSpecification | None = None,
) -> ExportTableToPointInTimeOutput: ...

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_arn Yes The Amazon Resource Name (ARN) associated with the table to export.
s3_bucket Yes The name of the Amazon S3 bucket to export the snapshot to.
export_time No Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.
client_token No Providing a ClientToken makes the call to ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect as one single call. A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for...
s3_bucket_owner No The ID of the Amazon Web Services account that owns the bucket the export will be stored in. S3BucketOwner is a required parameter when exporting to a S3 bucket in another account.
s3_prefix No The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
s3_sse_algorithm No Type of encryption used on the bucket where export data will be stored. Valid values for S3SseAlgorithm are: AES256 - server-side encryption with Amazon S3 managed keys KMS - server-side encryption with KMS managed keys
s3_sse_kms_key_id No The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
export_format No The format for the exported data. Valid values for ExportFormat are DYNAMODB_JSON or ION .
export_type No Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
incremental_export_specification No Optional object containing the parameters specific to an incremental export.
filter_specification No The criteria used to filter which items are included in the point-in-time export. When you specify this parameter, only items that match the key conditions and filter expressions are exported.

Output

ExportTableToPointInTimeOutput.

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
export_description ExportDescriptionOutput | None Always present ExportDescriptionOutput

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

ExportFormat, ExportTableToPointInTimeOutput, ExportType, FilterSpecification, IncrementalExportSpecification, S3SseAlgorithm

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:

ExportConflictError, InternalServerError, InvalidExportTimeError, LimitExceededError, PointInTimeRecoveryUnavailableError, TableNotFoundError.

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

Service guide · Pinned model