Skip to content

ImportTableInput

Source code in docs_src/capo_dynamodb/types/import_table_input.py
class ImportTableInput(TypedDict, closed=True):
    client_token: NotRequired["capo_dynamodb.types.client_token.ClientToken"]
    """<p>Providing a <code>ClientToken</code> makes the call to <code>ImportTableInput</code> idempotent, meaning that multiple identical calls have the same effect as one single call.</p> <p>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 more than 8 hours, or the result might not be idempotent.</p> <p>If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an <code>IdempotentParameterMismatch</code> exception.</p>"""
    s3_bucket_source: "capo_dynamodb.types.s3_bucket_source.S3BucketSource"
    """<p> The S3 bucket that provides the source for the import. </p>"""
    input_format: "capo_dynamodb.types.input_format.InputFormat"
    """<p> The format of the source data. Valid values for <code>ImportFormat</code> are <code>CSV</code>, <code>DYNAMODB_JSON</code> or <code>ION</code>. </p>"""
    input_format_options: NotRequired[
        "capo_dynamodb.types.input_format_options.InputFormatOptions"
    ]
    """<p> Additional properties that specify how the input is formatted, </p>"""
    input_compression_type: NotRequired[
        "capo_dynamodb.types.input_compression_type.InputCompressionType"
    ]
    """<p> Type of compression to be used on the input coming from the imported table. </p>"""
    table_creation_parameters: (
        "capo_dynamodb.types.table_creation_parameters.TableCreationParameters"
    )
    """<p>Parameters for the table to import the data into. </p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Providing a ClientToken makes the call to ImportTableInput 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 more than 8 hours, or the result might not be idempotent.

If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.

input_compression_type instance-attribute

input_compression_type: NotRequired[InputCompressionType]

Type of compression to be used on the input coming from the imported table.

input_format instance-attribute

input_format: InputFormat

The format of the source data. Valid values for ImportFormat are CSV, DYNAMODB_JSON or ION.

input_format_options instance-attribute

input_format_options: NotRequired[InputFormatOptions]

Additional properties that specify how the input is formatted,

s3_bucket_source instance-attribute

s3_bucket_source: S3BucketSource

The S3 bucket that provides the source for the import.

table_creation_parameters instance-attribute

table_creation_parameters: TableCreationParameters

Parameters for the table to import the data into.