start_bulk_put_items
¶
start_bulk_put_items(
input_s3_configuration: InputS3Configuration,
output_s3_configuration: OutputS3Configuration,
table_name: TableArn,
*,
config_overrides: Optional[DynamoDBClientConfig] = None,
client_token: Optional[ClientToken] = None,
max_write_request_units: Optional[BulkOperationMaxWriteRequestUnits] = None,
performance_tier: Optional[BulkOperationPerformanceTier] = None,
) -> StartBulkPutItemsOutput
Starts an asynchronous bulk operation that reads items from Amazon S3 and writes them to an existing DynamoDB table, so you can efficiently load or migrate large datasets.
Parameters:
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that ensures the bulk operation starts no more than one time. During the 8 hours after the initial request, repeated requests that use the same token and parameters return the same bulk operation. If a request reuses the token with different parameters, DynamoDB returns an
IdempotentParameterMismatchException. If you omit the token, an Amazon Web Services SDK automatically generates one. -
input_s3_configuration(InputS3Configuration) –The Amazon S3 location, data format, and compression settings for the input objects.
-
output_s3_configuration(OutputS3Configuration) –The Amazon S3 location, encryption settings, and output types for the bulk operation.
-
table_name(TableArn) –The name or ARN of the existing DynamoDB table that receives the items.
-
max_write_request_units(Optional[BulkOperationMaxWriteRequestUnits], default:None) –The maximum rate, in write request units per second, at which the bulk operation attempts to write. The value must be at least 1,024. With this setting, you limit only the bulk operation; the table's provisioned or on-demand capacity settings don't change. The actual write rate can be lower.
-
performance_tier(Optional[BulkOperationPerformanceTier], default:None) –The performance tier for the bulk operation. Valid values are
STANDARDandACCELERATED. If you don't specify a value, the operation usesSTANDARD.
Raises:
-
IdempotentParameterMismatchException–DynamoDB rejected the request because you retried a request with a different payload but with an idempotent token that was already used.
-
LimitExceededException–There is no limit to the number of daily on-demand backups that can be taken.
For most purposes, up to 500 simultaneous table operations are allowed per account. These operations include
CreateTable,UpdateTable,DeleteTable,UpdateTimeToLive,RestoreTableFromBackup, andRestoreTableToPointInTime.When you are creating a table with one or more secondary indexes, you can have up to 250 such requests running at a time. However, if the table or index specifications are complex, then DynamoDB might temporarily reduce the number of concurrent operations.
When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.
There is a soft account quota of 2,500 tables.
GetRecords was called with a value of more than 1000 for the limit request parameter.
More than 2 processes are reading from the same streams shard at the same time. Exceeding this limit may result in request throttling.
-
ResourceInUseException–The operation conflicts with the resource's availability. For example:
-
You attempted to recreate an existing table.
-
You tried to delete a table currently in the
CREATINGstate. -
You tried to update a resource that was already being updated.
When appropriate, wait for the ongoing update to complete and attempt the request again.
-
-
ResourceNotFoundException–The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be
ACTIVE. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_dynamodb/_services/dynamo_db.py
3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 | |