DynamoDBClient.import_table
rboto-dynamodb==0.4.0 · Service index · Types
Model summary (excerpt): Imports table data from an S3 bucket.
Install and imports
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
ImportTableOutput,
InputCompressionType,
InputFormat,
InputFormatOptions,
S3BucketSource,
TableCreationParameters,
)
Signature
async def import_table(
*,
s3_bucket_source: S3BucketSource,
input_format: InputFormat,
table_creation_parameters: TableCreationParameters,
client_token: str | None = None,
input_format_options: InputFormatOptions | None = None,
input_compression_type: InputCompressionType | None = None,
) -> ImportTableOutput: ...
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) |
|---|---|---|
s3_bucket_source |
Yes | The S3 bucket that provides the source for the import. |
input_format |
Yes | The format of the source data. Valid values for ImportFormat are CSV , DYNAMODB_JSON or ION . |
table_creation_parameters |
Yes | Parameters for the table to import the data into. |
client_token |
No | 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... |
input_format_options |
No | Additional properties that specify how the input is formatted, |
input_compression_type |
No | Type of compression to be used on the input coming from the imported table. |
Output
ImportTableOutput.
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 |
|---|---|---|---|
import_table_description |
ImportTableDescriptionOutput | None |
Always present | ImportTableDescriptionOutput |
| 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
ImportTableOutput, InputCompressionType, InputFormat, InputFormatOptions, S3BucketSource, TableCreationParameters
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:
ImportConflictError, LimitExceededError, ResourceInUseError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.