aws-sdk-dynamodb 1.180.0 → 1.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1140c3b0e58e4a01a7c1454ed2a07e514bce84c8cc765e46ccb3aadc73e28b20
4
- data.tar.gz: c8f935f6ac88a7c8a94a2468dade566b61465d54734ffd99fbcc34297f625c63
3
+ metadata.gz: 12d4da2779dd29560a890894ae8684ae267c6a33eb27e985e7390beebad1d5ad
4
+ data.tar.gz: 846eccedb8cd639ce2fa85f8c954e8664960b009e2bc9ed2a9bdea444aac9504
5
5
  SHA512:
6
- metadata.gz: 7277bee3a6bb8a2d71cfa9997a9b01b3afff90522b2b587c7347027db13e86702c542c7b63ec20ba85378c678686c85b4ccbccbf4545e3533b63a9905dd0b987
7
- data.tar.gz: 9954f546e9064fb7353ca85559b3767204ed9081f875d2f6d0d44e0e95924402272ad2ac580f714f8ee897bcfd8a27243ead9a4aa4f6a327c06c45277e1edf2e
6
+ metadata.gz: d22049b310f1f846fee3cf39531b055013bb53c1f78223156c0a7fa66e6614c088caebe3dc2847ca9e98ab2f431dcf63e6cf316da4d07bf47dd4313b98d7ded2
7
+ data.tar.gz: 1ade37d7a5a6ea5aec155568ccba3ede3d8470d0feedbb56ce4fdc420ba5c93167d5fe489bc8df009263c58c176559699be95acca936a1cc80c1702e22fdb304
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.181.0 (2026-11-04)
5
+ ------------------
6
+
7
+ * Feature - Adds StartBulkPutItems, DescribeBulkOperation, ListBulkOperations, and CancelBulkOperation for asynchronously loading Amazon S3 datasets into existing DynamoDB tables.
8
+
4
9
  1.180.0 (2026-10-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.180.0
1
+ 1.181.0
@@ -1174,6 +1174,39 @@ module Aws::DynamoDB
1174
1174
  req.send_request(options)
1175
1175
  end
1176
1176
 
1177
+ # Cancels an in-progress bulk operation asynchronously. Cancellation
1178
+ # doesn't remove items that the operation has already written. Use
1179
+ # `DescribeBulkOperation` to monitor the operation until it reaches a
1180
+ # terminal status.
1181
+ #
1182
+ # @option params [required, String] :bulk_operation_arn
1183
+ # The Amazon Resource Name (ARN) of the bulk operation to cancel.
1184
+ #
1185
+ # @return [Types::CancelBulkOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1186
+ #
1187
+ # * {Types::CancelBulkOperationOutput#bulk_operation_arn #bulk_operation_arn} => String
1188
+ # * {Types::CancelBulkOperationOutput#bulk_operation_status #bulk_operation_status} => String
1189
+ #
1190
+ # @example Request syntax with placeholder values
1191
+ #
1192
+ # resp = client.cancel_bulk_operation({
1193
+ # bulk_operation_arn: "BulkOperationArn", # required
1194
+ # })
1195
+ #
1196
+ # @example Response structure
1197
+ #
1198
+ # resp.bulk_operation_arn #=> String
1199
+ # resp.bulk_operation_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "CANCELLING", "CANCELLED", "FAILED"
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CancelBulkOperation AWS API Documentation
1202
+ #
1203
+ # @overload cancel_bulk_operation(params = {})
1204
+ # @param [Hash] params ({})
1205
+ def cancel_bulk_operation(params = {}, options = {})
1206
+ req = build_request(:cancel_bulk_operation, params)
1207
+ req.send_request(options)
1208
+ end
1209
+
1177
1210
  # Creates a backup for an existing table.
1178
1211
  #
1179
1212
  # Each time you create an on-demand backup, the entire table data is
@@ -2718,6 +2751,76 @@ module Aws::DynamoDB
2718
2751
  req.send_request(options)
2719
2752
  end
2720
2753
 
2754
+ # Describes the specified bulk operation.
2755
+ #
2756
+ # @option params [required, String] :bulk_operation_arn
2757
+ # The Amazon Resource Name (ARN) of the bulk operation to describe.
2758
+ #
2759
+ # @return [Types::DescribeBulkOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2760
+ #
2761
+ # * {Types::DescribeBulkOperationOutput#bulk_operation_description #bulk_operation_description} => Types::BulkOperationDescription
2762
+ #
2763
+ # @example Request syntax with placeholder values
2764
+ #
2765
+ # resp = client.describe_bulk_operation({
2766
+ # bulk_operation_arn: "BulkOperationArn", # required
2767
+ # })
2768
+ #
2769
+ # @example Response structure
2770
+ #
2771
+ # resp.bulk_operation_description.bulk_operation_arn #=> String
2772
+ # resp.bulk_operation_description.bulk_operation_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "CANCELLING", "CANCELLED", "FAILED"
2773
+ # resp.bulk_operation_description.table_details #=> Array
2774
+ # resp.bulk_operation_description.table_details[0].table_name #=> String
2775
+ # resp.bulk_operation_description.table_details[0].table_id #=> String
2776
+ # resp.bulk_operation_description.client_token #=> String
2777
+ # resp.bulk_operation_description.input_s3_configuration.s3_bucket_owner #=> String
2778
+ # resp.bulk_operation_description.input_s3_configuration.s3_bucket #=> String
2779
+ # resp.bulk_operation_description.input_s3_configuration.s3_key_prefix #=> String
2780
+ # resp.bulk_operation_description.input_s3_configuration.input_format #=> String, one of "DYNAMODB_JSON", "ION"
2781
+ # resp.bulk_operation_description.input_s3_configuration.input_compression_type #=> String, one of "GZIP", "ZSTD", "NONE"
2782
+ # resp.bulk_operation_description.output_s3_configuration.s3_bucket_owner #=> String
2783
+ # resp.bulk_operation_description.output_s3_configuration.s3_bucket #=> String
2784
+ # resp.bulk_operation_description.output_s3_configuration.s3_key_prefix #=> String
2785
+ # resp.bulk_operation_description.output_s3_configuration.s3_sse_algorithm #=> String, one of "AES256", "KMS"
2786
+ # resp.bulk_operation_description.output_s3_configuration.s3_sse_kms_key_id #=> String
2787
+ # resp.bulk_operation_description.output_s3_configuration.output_type #=> Array
2788
+ # resp.bulk_operation_description.output_s3_configuration.output_type[0] #=> String, one of "ERROR", "CONDITION_CHECK_FAILURE"
2789
+ # resp.bulk_operation_description.start_time #=> Time
2790
+ # resp.bulk_operation_description.end_time #=> Time
2791
+ # resp.bulk_operation_description.processed_item_count #=> Integer
2792
+ # resp.bulk_operation_description.processed_input_bytes #=> Integer
2793
+ # resp.bulk_operation_description.total_input_bytes #=> Integer
2794
+ # resp.bulk_operation_description.bulk_operation_usage #=> Array
2795
+ # resp.bulk_operation_description.bulk_operation_usage[0].table_name #=> String
2796
+ # resp.bulk_operation_description.bulk_operation_usage[0].bulk_put_bytes #=> Integer
2797
+ # resp.bulk_operation_description.bulk_operation_usage[0].table.bulk_put_bytes #=> Integer
2798
+ # resp.bulk_operation_description.bulk_operation_usage[0].local_secondary_indexes #=> Hash
2799
+ # resp.bulk_operation_description.bulk_operation_usage[0].local_secondary_indexes["IndexName"].bulk_put_bytes #=> Integer
2800
+ # resp.bulk_operation_description.bulk_operation_usage[0].global_secondary_indexes #=> Hash
2801
+ # resp.bulk_operation_description.bulk_operation_usage[0].global_secondary_indexes["IndexName"].bulk_put_bytes #=> Integer
2802
+ # resp.bulk_operation_description.bulk_operation_usage[0].vector_indexes #=> Hash
2803
+ # resp.bulk_operation_description.bulk_operation_usage[0].vector_indexes["IndexName"].bulk_put_vector_bytes #=> Integer
2804
+ # resp.bulk_operation_description.failed_item_count #=> Integer
2805
+ # resp.bulk_operation_description.failure_code #=> String
2806
+ # resp.bulk_operation_description.failure_message #=> String
2807
+ # resp.bulk_operation_description.max_write_request_units #=> Integer
2808
+ # resp.bulk_operation_description.performance_tier #=> String, one of "STANDARD", "ACCELERATED"
2809
+ #
2810
+ #
2811
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2812
+ #
2813
+ # * bulk_operation_completed
2814
+ #
2815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBulkOperation AWS API Documentation
2816
+ #
2817
+ # @overload describe_bulk_operation(params = {})
2818
+ # @param [Hash] params ({})
2819
+ def describe_bulk_operation(params = {}, options = {})
2820
+ req = build_request(:describe_bulk_operation, params)
2821
+ req.send_request(options)
2822
+ end
2823
+
2721
2824
  # Checks the status of continuous backups and point in time recovery on
2722
2825
  # the specified table. Continuous backups are `ENABLED` on all tables at
2723
2826
  # table creation. If point in time recovery is enabled,
@@ -4679,6 +4782,52 @@ module Aws::DynamoDB
4679
4782
  req.send_request(options)
4680
4783
  end
4681
4784
 
4785
+ # Lists bulk operations that started within the past 90 days for the
4786
+ # current Amazon Web Services account and Amazon Web Services Region,
4787
+ # with the most recent operations first. Results are paginated. Use the
4788
+ # `NextToken` parameter to retrieve additional results.
4789
+ #
4790
+ # @option params [Integer] :max_results
4791
+ # The maximum number of bulk operation summaries to return in one page.
4792
+ # If you don't specify a value, DynamoDB uses 10.
4793
+ #
4794
+ # @option params [String] :next_token
4795
+ # An optional string that, if supplied, must be copied from the output
4796
+ # of a previous call to `ListBulkOperations`. When provided in this
4797
+ # manner, the API fetches the next page of results.
4798
+ #
4799
+ # @return [Types::ListBulkOperationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4800
+ #
4801
+ # * {Types::ListBulkOperationsOutput#bulk_operations_summary_list #bulk_operations_summary_list} => Array<Types::BulkOperationSummary>
4802
+ # * {Types::ListBulkOperationsOutput#next_token #next_token} => String
4803
+ #
4804
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4805
+ #
4806
+ # @example Request syntax with placeholder values
4807
+ #
4808
+ # resp = client.list_bulk_operations({
4809
+ # max_results: 1,
4810
+ # next_token: "BulkOperationNextToken",
4811
+ # })
4812
+ #
4813
+ # @example Response structure
4814
+ #
4815
+ # resp.bulk_operations_summary_list #=> Array
4816
+ # resp.bulk_operations_summary_list[0].bulk_operation_arn #=> String
4817
+ # resp.bulk_operations_summary_list[0].bulk_operation_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "CANCELLING", "CANCELLED", "FAILED"
4818
+ # resp.bulk_operations_summary_list[0].start_time #=> Time
4819
+ # resp.bulk_operations_summary_list[0].end_time #=> Time
4820
+ # resp.next_token #=> String
4821
+ #
4822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBulkOperations AWS API Documentation
4823
+ #
4824
+ # @overload list_bulk_operations(params = {})
4825
+ # @param [Hash] params ({})
4826
+ def list_bulk_operations(params = {}, options = {})
4827
+ req = build_request(:list_bulk_operations, params)
4828
+ req.send_request(options)
4829
+ end
4830
+
4682
4831
  # Returns a list of ContributorInsightsSummary for a table and all its
4683
4832
  # global secondary indexes.
4684
4833
  #
@@ -7132,10 +7281,9 @@ module Aws::DynamoDB
7132
7281
  # expression can reference attributes defined in the vector index search
7133
7282
  # schema, including `HASH` and `INLINE_FILTER` key elements.
7134
7283
  #
7135
- # Only the equality operator (`=`) is supported for `HASH` attributes.
7136
- # Comparison and range operators are supported for `INLINE_FILTER`
7137
- # attributes. Only top-level attributes from the search schema can be
7138
- # referenced.
7284
+ # The `HASH` and `INLINE_FILTER` attributes support only the equality
7285
+ # operator (`=`). You can reference only top-level attributes from the
7286
+ # search schema.
7139
7287
  #
7140
7288
  # @option params [required, Integer] :top_k
7141
7289
  # The number of most similar results to return.
@@ -7236,6 +7384,124 @@ module Aws::DynamoDB
7236
7384
  req.send_request(options)
7237
7385
  end
7238
7386
 
7387
+ # Starts an asynchronous bulk operation that reads items from Amazon S3
7388
+ # and writes them to an existing DynamoDB table, so you can efficiently
7389
+ # load or migrate large datasets.
7390
+ #
7391
+ # @option params [String] :client_token
7392
+ # A unique, case-sensitive identifier that ensures the bulk operation
7393
+ # starts no more than one time. During the 8 hours after the initial
7394
+ # request, repeated requests that use the same token and parameters
7395
+ # return the same bulk operation. If a request reuses the token with
7396
+ # different parameters, DynamoDB returns an
7397
+ # `IdempotentParameterMismatchException`. If you omit the token, an
7398
+ # Amazon Web Services SDK automatically generates one.
7399
+ #
7400
+ # **A suitable default value is auto-generated.** You should normally
7401
+ # not need to pass this option.**
7402
+ #
7403
+ # @option params [required, Types::InputS3Configuration] :input_s3_configuration
7404
+ # The Amazon S3 location, data format, and compression settings for the
7405
+ # input objects.
7406
+ #
7407
+ # @option params [required, Types::OutputS3Configuration] :output_s3_configuration
7408
+ # The Amazon S3 location, encryption settings, and output types for the
7409
+ # bulk operation.
7410
+ #
7411
+ # @option params [required, String] :table_name
7412
+ # The name or ARN of the existing DynamoDB table that receives the
7413
+ # items.
7414
+ #
7415
+ # @option params [Integer] :max_write_request_units
7416
+ # The maximum rate, in write request units per second, at which the bulk
7417
+ # operation attempts to write. The value must be at least 1,024. With
7418
+ # this setting, you limit only the bulk operation; the table's
7419
+ # provisioned or on-demand capacity settings don't change. The actual
7420
+ # write rate can be lower.
7421
+ #
7422
+ # @option params [String] :performance_tier
7423
+ # The performance tier for the bulk operation. Valid values are
7424
+ # `STANDARD` and `ACCELERATED`. If you don't specify a value, the
7425
+ # operation uses `STANDARD`.
7426
+ #
7427
+ # @return [Types::StartBulkPutItemsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7428
+ #
7429
+ # * {Types::StartBulkPutItemsOutput#bulk_operation_description #bulk_operation_description} => Types::BulkOperationDescription
7430
+ #
7431
+ # @example Request syntax with placeholder values
7432
+ #
7433
+ # resp = client.start_bulk_put_items({
7434
+ # client_token: "ClientToken",
7435
+ # input_s3_configuration: { # required
7436
+ # s3_bucket_owner: "S3BucketOwner",
7437
+ # s3_bucket: "S3Bucket", # required
7438
+ # s3_key_prefix: "S3Prefix",
7439
+ # input_format: "DYNAMODB_JSON", # required, accepts DYNAMODB_JSON, ION
7440
+ # input_compression_type: "GZIP", # accepts GZIP, ZSTD, NONE
7441
+ # },
7442
+ # output_s3_configuration: { # required
7443
+ # s3_bucket_owner: "S3BucketOwner",
7444
+ # s3_bucket: "S3Bucket",
7445
+ # s3_key_prefix: "S3Prefix",
7446
+ # s3_sse_algorithm: "AES256", # accepts AES256, KMS
7447
+ # s3_sse_kms_key_id: "S3SseKmsKeyId",
7448
+ # output_type: ["ERROR"], # required, accepts ERROR, CONDITION_CHECK_FAILURE
7449
+ # },
7450
+ # table_name: "TableArn", # required
7451
+ # max_write_request_units: 1,
7452
+ # performance_tier: "STANDARD", # accepts STANDARD, ACCELERATED
7453
+ # })
7454
+ #
7455
+ # @example Response structure
7456
+ #
7457
+ # resp.bulk_operation_description.bulk_operation_arn #=> String
7458
+ # resp.bulk_operation_description.bulk_operation_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "CANCELLING", "CANCELLED", "FAILED"
7459
+ # resp.bulk_operation_description.table_details #=> Array
7460
+ # resp.bulk_operation_description.table_details[0].table_name #=> String
7461
+ # resp.bulk_operation_description.table_details[0].table_id #=> String
7462
+ # resp.bulk_operation_description.client_token #=> String
7463
+ # resp.bulk_operation_description.input_s3_configuration.s3_bucket_owner #=> String
7464
+ # resp.bulk_operation_description.input_s3_configuration.s3_bucket #=> String
7465
+ # resp.bulk_operation_description.input_s3_configuration.s3_key_prefix #=> String
7466
+ # resp.bulk_operation_description.input_s3_configuration.input_format #=> String, one of "DYNAMODB_JSON", "ION"
7467
+ # resp.bulk_operation_description.input_s3_configuration.input_compression_type #=> String, one of "GZIP", "ZSTD", "NONE"
7468
+ # resp.bulk_operation_description.output_s3_configuration.s3_bucket_owner #=> String
7469
+ # resp.bulk_operation_description.output_s3_configuration.s3_bucket #=> String
7470
+ # resp.bulk_operation_description.output_s3_configuration.s3_key_prefix #=> String
7471
+ # resp.bulk_operation_description.output_s3_configuration.s3_sse_algorithm #=> String, one of "AES256", "KMS"
7472
+ # resp.bulk_operation_description.output_s3_configuration.s3_sse_kms_key_id #=> String
7473
+ # resp.bulk_operation_description.output_s3_configuration.output_type #=> Array
7474
+ # resp.bulk_operation_description.output_s3_configuration.output_type[0] #=> String, one of "ERROR", "CONDITION_CHECK_FAILURE"
7475
+ # resp.bulk_operation_description.start_time #=> Time
7476
+ # resp.bulk_operation_description.end_time #=> Time
7477
+ # resp.bulk_operation_description.processed_item_count #=> Integer
7478
+ # resp.bulk_operation_description.processed_input_bytes #=> Integer
7479
+ # resp.bulk_operation_description.total_input_bytes #=> Integer
7480
+ # resp.bulk_operation_description.bulk_operation_usage #=> Array
7481
+ # resp.bulk_operation_description.bulk_operation_usage[0].table_name #=> String
7482
+ # resp.bulk_operation_description.bulk_operation_usage[0].bulk_put_bytes #=> Integer
7483
+ # resp.bulk_operation_description.bulk_operation_usage[0].table.bulk_put_bytes #=> Integer
7484
+ # resp.bulk_operation_description.bulk_operation_usage[0].local_secondary_indexes #=> Hash
7485
+ # resp.bulk_operation_description.bulk_operation_usage[0].local_secondary_indexes["IndexName"].bulk_put_bytes #=> Integer
7486
+ # resp.bulk_operation_description.bulk_operation_usage[0].global_secondary_indexes #=> Hash
7487
+ # resp.bulk_operation_description.bulk_operation_usage[0].global_secondary_indexes["IndexName"].bulk_put_bytes #=> Integer
7488
+ # resp.bulk_operation_description.bulk_operation_usage[0].vector_indexes #=> Hash
7489
+ # resp.bulk_operation_description.bulk_operation_usage[0].vector_indexes["IndexName"].bulk_put_vector_bytes #=> Integer
7490
+ # resp.bulk_operation_description.failed_item_count #=> Integer
7491
+ # resp.bulk_operation_description.failure_code #=> String
7492
+ # resp.bulk_operation_description.failure_message #=> String
7493
+ # resp.bulk_operation_description.max_write_request_units #=> Integer
7494
+ # resp.bulk_operation_description.performance_tier #=> String, one of "STANDARD", "ACCELERATED"
7495
+ #
7496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StartBulkPutItems AWS API Documentation
7497
+ #
7498
+ # @overload start_bulk_put_items(params = {})
7499
+ # @param [Hash] params ({})
7500
+ def start_bulk_put_items(params = {}, options = {})
7501
+ req = build_request(:start_bulk_put_items, params)
7502
+ req.send_request(options)
7503
+ end
7504
+
7239
7505
  # Associate a set of tags with an Amazon DynamoDB resource. You can then
7240
7506
  # activate these user-defined tags so that they appear on the Billing
7241
7507
  # and Cost Management console for cost allocation tracking. You can call
@@ -9433,7 +9699,7 @@ module Aws::DynamoDB
9433
9699
  tracer: tracer
9434
9700
  )
9435
9701
  context[:gem_name] = 'aws-sdk-dynamodb'
9436
- context[:gem_version] = '1.180.0'
9702
+ context[:gem_version] = '1.181.0'
9437
9703
  Seahorse::Client::Request.new(handlers, context)
9438
9704
  end
9439
9705
 
@@ -9501,6 +9767,7 @@ module Aws::DynamoDB
9501
9767
  #
9502
9768
  # | waiter_name | params | :delay | :max_attempts |
9503
9769
  # | ------------------------------------ | ----------------------------------------------- | -------- | ------------- |
9770
+ # | bulk_operation_completed | {Client#describe_bulk_operation} | 20 | 180 |
9504
9771
  # | contributor_insights_enabled | {Client#describe_contributor_insights} | 20 | 30 |
9505
9772
  # | export_completed | {Client#describe_export} | 20 | 60 |
9506
9773
  # | import_completed | {Client#describe_import} | 20 | 60 |
@@ -9557,6 +9824,7 @@ module Aws::DynamoDB
9557
9824
 
9558
9825
  def waiters
9559
9826
  {
9827
+ bulk_operation_completed: Waiters::BulkOperationCompleted,
9560
9828
  contributor_insights_enabled: Waiters::ContributorInsightsEnabled,
9561
9829
  export_completed: Waiters::ExportCompleted,
9562
9830
  import_completed: Waiters::ImportCompleted,