aws-sdk-dynamodb 1.93.0 → 1.100.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 591f7a25a729e45748300b716eb15b1e7af8312fe995899af2004f0e7f6eb2b2
4
- data.tar.gz: 6e85f3e9910e962f4dae28562647d673fee7063bc9aba8d69a2c9e50b1b5a953
3
+ metadata.gz: af1af842758a69a359dd248d005a3bdbd90bfb151fa3c3eb6059e809227336b0
4
+ data.tar.gz: 2c8fdadb7de2dc724ec2d81339f499c8cfcd5f6782e2e3ba5372802ba59ed4aa
5
5
  SHA512:
6
- metadata.gz: a5903f7ba1725e52d5c6be5c59c38d41d806cfccbf4a1965bcc85e5a8d1fe3accdd9288164704a583471875ca65b0a5e98053075592a0b2ee6dd3e805f3a406f
7
- data.tar.gz: 3e192fc8c4febf19f4555616123433d4c8a65a25121e74b3ed50732ddf6db87342a03ab6500fea0a45d17befcc53d9644767da03e990c6b238bded41ae215578
6
+ metadata.gz: 494cf29d5f19061b07e2d5393370abfd777ee41bb958cdd746c0b49aecd0db961d99efc3ca545bee5b0e26cc33a94d67ea0b596602d7abd1220f45f43f06f6ad
7
+ data.tar.gz: b0a735c52071b1d5261bb90263c01722401521c0fd6e15f86bd4a6b4382f850ad1c2dc5385bff7b770a5506f1285c47b73b2993dceac128f9dbb9e2b6eaa9381
data/CHANGELOG.md CHANGED
@@ -1,6 +1,48 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2024-01-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for including ApproximateCreationDateTimePrecision configurations in EnableKinesisStreamingDestination API, adds the same as an optional field in the response of DescribeKinesisStreamingDestination, and adds support for a new UpdateKinesisStreamingDestination API.
8
+
9
+ 1.99.0 (2024-01-17)
10
+ ------------------
11
+
12
+ * Feature - Updating note for enabling streams for UpdateTable.
13
+
14
+ 1.98.0 (2023-11-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.97.0 (2023-11-22)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.96.0 (2023-10-18)
25
+ ------------------
26
+
27
+ * Feature - Updating descriptions for several APIs.
28
+
29
+ 1.95.0 (2023-09-27)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ * Feature - Simple attributes conversion for item data returned in `ConditionalCheckFailedException` and other exceptions. (Breaking change / bug fix)
35
+
36
+ 1.94.0 (2023-09-26)
37
+ ------------------
38
+
39
+ * Feature - Amazon DynamoDB now supports Incremental Export as an enhancement to the existing Export Table
40
+
41
+ 1.93.1 (2023-08-07)
42
+ ------------------
43
+
44
+ * Issue - Fix inconsistent behavior of `stub_responses` when `simple_attributes` is disabled.
45
+
4
46
  1.93.0 (2023-07-25)
5
47
  ------------------
6
48
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.100.0
@@ -2446,6 +2446,10 @@ module Aws::DynamoDB
2446
2446
  # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
2447
2447
  # resp.export_description.billed_size_bytes #=> Integer
2448
2448
  # resp.export_description.item_count #=> Integer
2449
+ # resp.export_description.export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
2450
+ # resp.export_description.incremental_export_specification.export_from_time #=> Time
2451
+ # resp.export_description.incremental_export_specification.export_to_time #=> Time
2452
+ # resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
2449
2453
  #
2450
2454
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport AWS API Documentation
2451
2455
  #
@@ -2709,8 +2713,9 @@ module Aws::DynamoDB
2709
2713
  # resp.table_name #=> String
2710
2714
  # resp.kinesis_data_stream_destinations #=> Array
2711
2715
  # resp.kinesis_data_stream_destinations[0].stream_arn #=> String
2712
- # resp.kinesis_data_stream_destinations[0].destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
2716
+ # resp.kinesis_data_stream_destinations[0].destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED", "UPDATING"
2713
2717
  # resp.kinesis_data_stream_destinations[0].destination_status_description #=> String
2718
+ # resp.kinesis_data_stream_destinations[0].approximate_creation_date_time_precision #=> String, one of "MILLISECOND", "MICROSECOND"
2714
2719
  #
2715
2720
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestination AWS API Documentation
2716
2721
  #
@@ -3130,24 +3135,33 @@ module Aws::DynamoDB
3130
3135
  # @option params [required, String] :stream_arn
3131
3136
  # The ARN for a Kinesis data stream.
3132
3137
  #
3138
+ # @option params [Types::EnableKinesisStreamingConfiguration] :enable_kinesis_streaming_configuration
3139
+ # The source for the Kinesis streaming information that is being
3140
+ # enabled.
3141
+ #
3133
3142
  # @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3134
3143
  #
3135
3144
  # * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
3136
3145
  # * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
3137
3146
  # * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
3147
+ # * {Types::KinesisStreamingDestinationOutput#enable_kinesis_streaming_configuration #enable_kinesis_streaming_configuration} => Types::EnableKinesisStreamingConfiguration
3138
3148
  #
3139
3149
  # @example Request syntax with placeholder values
3140
3150
  #
3141
3151
  # resp = client.disable_kinesis_streaming_destination({
3142
3152
  # table_name: "TableName", # required
3143
3153
  # stream_arn: "StreamArn", # required
3154
+ # enable_kinesis_streaming_configuration: {
3155
+ # approximate_creation_date_time_precision: "MILLISECOND", # accepts MILLISECOND, MICROSECOND
3156
+ # },
3144
3157
  # })
3145
3158
  #
3146
3159
  # @example Response structure
3147
3160
  #
3148
3161
  # resp.table_name #=> String
3149
3162
  # resp.stream_arn #=> String
3150
- # resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
3163
+ # resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED", "UPDATING"
3164
+ # resp.enable_kinesis_streaming_configuration.approximate_creation_date_time_precision #=> String, one of "MILLISECOND", "MICROSECOND"
3151
3165
  #
3152
3166
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DisableKinesisStreamingDestination AWS API Documentation
3153
3167
  #
@@ -3170,24 +3184,33 @@ module Aws::DynamoDB
3170
3184
  # @option params [required, String] :stream_arn
3171
3185
  # The ARN for a Kinesis data stream.
3172
3186
  #
3187
+ # @option params [Types::EnableKinesisStreamingConfiguration] :enable_kinesis_streaming_configuration
3188
+ # The source for the Kinesis streaming information that is being
3189
+ # enabled.
3190
+ #
3173
3191
  # @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3174
3192
  #
3175
3193
  # * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
3176
3194
  # * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
3177
3195
  # * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
3196
+ # * {Types::KinesisStreamingDestinationOutput#enable_kinesis_streaming_configuration #enable_kinesis_streaming_configuration} => Types::EnableKinesisStreamingConfiguration
3178
3197
  #
3179
3198
  # @example Request syntax with placeholder values
3180
3199
  #
3181
3200
  # resp = client.enable_kinesis_streaming_destination({
3182
3201
  # table_name: "TableName", # required
3183
3202
  # stream_arn: "StreamArn", # required
3203
+ # enable_kinesis_streaming_configuration: {
3204
+ # approximate_creation_date_time_precision: "MILLISECOND", # accepts MILLISECOND, MICROSECOND
3205
+ # },
3184
3206
  # })
3185
3207
  #
3186
3208
  # @example Response structure
3187
3209
  #
3188
3210
  # resp.table_name #=> String
3189
3211
  # resp.stream_arn #=> String
3190
- # resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
3212
+ # resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED", "UPDATING"
3213
+ # resp.enable_kinesis_streaming_configuration.approximate_creation_date_time_precision #=> String, one of "MILLISECOND", "MICROSECOND"
3191
3214
  #
3192
3215
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingDestination AWS API Documentation
3193
3216
  #
@@ -3461,6 +3484,16 @@ module Aws::DynamoDB
3461
3484
  # The format for the exported data. Valid values for `ExportFormat` are
3462
3485
  # `DYNAMODB_JSON` or `ION`.
3463
3486
  #
3487
+ # @option params [String] :export_type
3488
+ # Choice of whether to execute as a full export or incremental export.
3489
+ # Valid values are FULL\_EXPORT or INCREMENTAL\_EXPORT. The default
3490
+ # value is FULL\_EXPORT. If INCREMENTAL\_EXPORT is provided, the
3491
+ # IncrementalExportSpecification must also be used.
3492
+ #
3493
+ # @option params [Types::IncrementalExportSpecification] :incremental_export_specification
3494
+ # Optional object containing the parameters specific to an incremental
3495
+ # export.
3496
+ #
3464
3497
  # @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3465
3498
  #
3466
3499
  # * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
@@ -3477,6 +3510,12 @@ module Aws::DynamoDB
3477
3510
  # s3_sse_algorithm: "AES256", # accepts AES256, KMS
3478
3511
  # s3_sse_kms_key_id: "S3SseKmsKeyId",
3479
3512
  # export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
3513
+ # export_type: "FULL_EXPORT", # accepts FULL_EXPORT, INCREMENTAL_EXPORT
3514
+ # incremental_export_specification: {
3515
+ # export_from_time: Time.now,
3516
+ # export_to_time: Time.now,
3517
+ # export_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, NEW_AND_OLD_IMAGES
3518
+ # },
3480
3519
  # })
3481
3520
  #
3482
3521
  # @example Response structure
@@ -3500,6 +3539,10 @@ module Aws::DynamoDB
3500
3539
  # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
3501
3540
  # resp.export_description.billed_size_bytes #=> Integer
3502
3541
  # resp.export_description.item_count #=> Integer
3542
+ # resp.export_description.export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
3543
+ # resp.export_description.incremental_export_specification.export_from_time #=> Time
3544
+ # resp.export_description.incremental_export_specification.export_to_time #=> Time
3545
+ # resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
3503
3546
  #
3504
3547
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
3505
3548
  #
@@ -3865,11 +3908,12 @@ module Aws::DynamoDB
3865
3908
  req.send_request(options)
3866
3909
  end
3867
3910
 
3868
- # List backups associated with an Amazon Web Services account. To list
3869
- # backups for a given table, specify `TableName`. `ListBackups` returns
3870
- # a paginated list of results with at most 1 MB worth of items in a
3871
- # page. You can also specify a maximum number of entries to be returned
3872
- # in a page.
3911
+ # List DynamoDB backups that are associated with an Amazon Web Services
3912
+ # account and weren't made with Amazon Web Services Backup. To list
3913
+ # these backups for a given table, specify `TableName`. `ListBackups`
3914
+ # returns a paginated list of results with at most 1 MB worth of items
3915
+ # in a page. You can also specify a maximum number of entries to be
3916
+ # returned in a page.
3873
3917
  #
3874
3918
  # In the request, start time is inclusive, but end time is exclusive.
3875
3919
  # Note that these boundaries are for the time at which the original
@@ -3877,6 +3921,13 @@ module Aws::DynamoDB
3877
3921
  #
3878
3922
  # You can call `ListBackups` a maximum of five times per second.
3879
3923
  #
3924
+ # If you want to retrieve the complete list of backups made with Amazon
3925
+ # Web Services Backup, use the [Amazon Web Services Backup list API.][1]
3926
+ #
3927
+ #
3928
+ #
3929
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ListBackupJobs.html
3930
+ #
3880
3931
  # @option params [String] :table_name
3881
3932
  # The backups from the table specified by `TableName` are listed.
3882
3933
  #
@@ -4027,6 +4078,7 @@ module Aws::DynamoDB
4027
4078
  # resp.export_summaries #=> Array
4028
4079
  # resp.export_summaries[0].export_arn #=> String
4029
4080
  # resp.export_summaries[0].export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
4081
+ # resp.export_summaries[0].export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
4030
4082
  # resp.next_token #=> String
4031
4083
  #
4032
4084
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports AWS API Documentation
@@ -5806,7 +5858,7 @@ module Aws::DynamoDB
5806
5858
  #
5807
5859
  #
5808
5860
  #
5809
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
5861
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression
5810
5862
  #
5811
5863
  # @option params [Hash<String,String>] :expression_attribute_names
5812
5864
  # One or more substitution tokens for attribute names in an expression.
@@ -7215,6 +7267,50 @@ module Aws::DynamoDB
7215
7267
  req.send_request(options)
7216
7268
  end
7217
7269
 
7270
+ # The command to update the Kinesis stream destination.
7271
+ #
7272
+ # @option params [required, String] :table_name
7273
+ # The table name for the Kinesis streaming destination input.
7274
+ #
7275
+ # @option params [required, String] :stream_arn
7276
+ # The ARN for the Kinesis stream input.
7277
+ #
7278
+ # @option params [Types::UpdateKinesisStreamingConfiguration] :update_kinesis_streaming_configuration
7279
+ # The command to update the Kinesis stream configuration.
7280
+ #
7281
+ # @return [Types::UpdateKinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7282
+ #
7283
+ # * {Types::UpdateKinesisStreamingDestinationOutput#table_name #table_name} => String
7284
+ # * {Types::UpdateKinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
7285
+ # * {Types::UpdateKinesisStreamingDestinationOutput#destination_status #destination_status} => String
7286
+ # * {Types::UpdateKinesisStreamingDestinationOutput#update_kinesis_streaming_configuration #update_kinesis_streaming_configuration} => Types::UpdateKinesisStreamingConfiguration
7287
+ #
7288
+ # @example Request syntax with placeholder values
7289
+ #
7290
+ # resp = client.update_kinesis_streaming_destination({
7291
+ # table_name: "TableName", # required
7292
+ # stream_arn: "StreamArn", # required
7293
+ # update_kinesis_streaming_configuration: {
7294
+ # approximate_creation_date_time_precision: "MILLISECOND", # accepts MILLISECOND, MICROSECOND
7295
+ # },
7296
+ # })
7297
+ #
7298
+ # @example Response structure
7299
+ #
7300
+ # resp.table_name #=> String
7301
+ # resp.stream_arn #=> String
7302
+ # resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED", "UPDATING"
7303
+ # resp.update_kinesis_streaming_configuration.approximate_creation_date_time_precision #=> String, one of "MILLISECOND", "MICROSECOND"
7304
+ #
7305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingDestination AWS API Documentation
7306
+ #
7307
+ # @overload update_kinesis_streaming_destination(params = {})
7308
+ # @param [Hash] params ({})
7309
+ def update_kinesis_streaming_destination(params = {}, options = {})
7310
+ req = build_request(:update_kinesis_streaming_destination, params)
7311
+ req.send_request(options)
7312
+ end
7313
+
7218
7314
  # Modifies the provisioned throughput settings, global secondary
7219
7315
  # indexes, or DynamoDB Streams settings for a given table.
7220
7316
  #
@@ -7828,7 +7924,7 @@ module Aws::DynamoDB
7828
7924
  params: params,
7829
7925
  config: config)
7830
7926
  context[:gem_name] = 'aws-sdk-dynamodb'
7831
- context[:gem_version] = '1.93.0'
7927
+ context[:gem_version] = '1.100.0'
7832
7928
  Seahorse::Client::Request.new(handlers, context)
7833
7929
  end
7834
7930
 
@@ -13,6 +13,7 @@ module Aws::DynamoDB
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ ApproximateCreationDateTimePrecision = Shapes::StringShape.new(name: 'ApproximateCreationDateTimePrecision')
16
17
  ArchivalReason = Shapes::StringShape.new(name: 'ArchivalReason')
17
18
  ArchivalSummary = Shapes::StructureShape.new(name: 'ArchivalSummary')
18
19
  AttributeAction = Shapes::StringShape.new(name: 'AttributeAction')
@@ -150,6 +151,7 @@ module Aws::DynamoDB
150
151
  DestinationStatus = Shapes::StringShape.new(name: 'DestinationStatus')
151
152
  DoubleObject = Shapes::FloatShape.new(name: 'DoubleObject')
152
153
  DuplicateItemException = Shapes::StructureShape.new(name: 'DuplicateItemException')
154
+ EnableKinesisStreamingConfiguration = Shapes::StructureShape.new(name: 'EnableKinesisStreamingConfiguration')
153
155
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
154
156
  Endpoints = Shapes::ListShape.new(name: 'Endpoints')
155
157
  ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
@@ -167,6 +169,7 @@ module Aws::DynamoDB
167
169
  ExportDescription = Shapes::StructureShape.new(name: 'ExportDescription')
168
170
  ExportEndTime = Shapes::TimestampShape.new(name: 'ExportEndTime')
169
171
  ExportFormat = Shapes::StringShape.new(name: 'ExportFormat')
172
+ ExportFromTime = Shapes::TimestampShape.new(name: 'ExportFromTime')
170
173
  ExportManifest = Shapes::StringShape.new(name: 'ExportManifest')
171
174
  ExportNextToken = Shapes::StringShape.new(name: 'ExportNextToken')
172
175
  ExportNotFoundException = Shapes::StructureShape.new(name: 'ExportNotFoundException')
@@ -177,6 +180,9 @@ module Aws::DynamoDB
177
180
  ExportTableToPointInTimeInput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeInput')
178
181
  ExportTableToPointInTimeOutput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeOutput')
179
182
  ExportTime = Shapes::TimestampShape.new(name: 'ExportTime')
183
+ ExportToTime = Shapes::TimestampShape.new(name: 'ExportToTime')
184
+ ExportType = Shapes::StringShape.new(name: 'ExportType')
185
+ ExportViewType = Shapes::StringShape.new(name: 'ExportViewType')
180
186
  ExpressionAttributeNameMap = Shapes::MapShape.new(name: 'ExpressionAttributeNameMap')
181
187
  ExpressionAttributeNameVariable = Shapes::StringShape.new(name: 'ExpressionAttributeNameVariable')
182
188
  ExpressionAttributeValueMap = Shapes::MapShape.new(name: 'ExpressionAttributeValueMap')
@@ -221,6 +227,7 @@ module Aws::DynamoDB
221
227
  ImportTableInput = Shapes::StructureShape.new(name: 'ImportTableInput')
222
228
  ImportTableOutput = Shapes::StructureShape.new(name: 'ImportTableOutput')
223
229
  ImportedItemCount = Shapes::IntegerShape.new(name: 'ImportedItemCount')
230
+ IncrementalExportSpecification = Shapes::StructureShape.new(name: 'IncrementalExportSpecification')
224
231
  IndexName = Shapes::StringShape.new(name: 'IndexName')
225
232
  IndexNotFoundException = Shapes::StructureShape.new(name: 'IndexNotFoundException')
226
233
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
@@ -450,6 +457,9 @@ module Aws::DynamoDB
450
457
  UpdateGlobalTableSettingsOutput = Shapes::StructureShape.new(name: 'UpdateGlobalTableSettingsOutput')
451
458
  UpdateItemInput = Shapes::StructureShape.new(name: 'UpdateItemInput')
452
459
  UpdateItemOutput = Shapes::StructureShape.new(name: 'UpdateItemOutput')
460
+ UpdateKinesisStreamingConfiguration = Shapes::StructureShape.new(name: 'UpdateKinesisStreamingConfiguration')
461
+ UpdateKinesisStreamingDestinationInput = Shapes::StructureShape.new(name: 'UpdateKinesisStreamingDestinationInput')
462
+ UpdateKinesisStreamingDestinationOutput = Shapes::StructureShape.new(name: 'UpdateKinesisStreamingDestinationOutput')
453
463
  UpdateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'UpdateReplicationGroupMemberAction')
454
464
  UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
455
465
  UpdateTableOutput = Shapes::StructureShape.new(name: 'UpdateTableOutput')
@@ -873,6 +883,9 @@ module Aws::DynamoDB
873
883
  DuplicateItemException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
874
884
  DuplicateItemException.struct_class = Types::DuplicateItemException
875
885
 
886
+ EnableKinesisStreamingConfiguration.add_member(:approximate_creation_date_time_precision, Shapes::ShapeRef.new(shape: ApproximateCreationDateTimePrecision, location_name: "ApproximateCreationDateTimePrecision"))
887
+ EnableKinesisStreamingConfiguration.struct_class = Types::EnableKinesisStreamingConfiguration
888
+
876
889
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
877
890
  Endpoint.add_member(:cache_period_in_minutes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "CachePeriodInMinutes"))
878
891
  Endpoint.struct_class = Types::Endpoint
@@ -934,6 +947,8 @@ module Aws::DynamoDB
934
947
  ExportDescription.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
935
948
  ExportDescription.add_member(:billed_size_bytes, Shapes::ShapeRef.new(shape: BilledSizeBytes, location_name: "BilledSizeBytes"))
936
949
  ExportDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: ItemCount, location_name: "ItemCount"))
950
+ ExportDescription.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
951
+ ExportDescription.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
937
952
  ExportDescription.struct_class = Types::ExportDescription
938
953
 
939
954
  ExportNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -943,6 +958,7 @@ module Aws::DynamoDB
943
958
 
944
959
  ExportSummary.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, location_name: "ExportArn"))
945
960
  ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "ExportStatus"))
961
+ ExportSummary.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
946
962
  ExportSummary.struct_class = Types::ExportSummary
947
963
 
948
964
  ExportTableToPointInTimeInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableArn"))
@@ -954,6 +970,8 @@ module Aws::DynamoDB
954
970
  ExportTableToPointInTimeInput.add_member(:s3_sse_algorithm, Shapes::ShapeRef.new(shape: S3SseAlgorithm, location_name: "S3SseAlgorithm"))
955
971
  ExportTableToPointInTimeInput.add_member(:s3_sse_kms_key_id, Shapes::ShapeRef.new(shape: S3SseKmsKeyId, location_name: "S3SseKmsKeyId"))
956
972
  ExportTableToPointInTimeInput.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
973
+ ExportTableToPointInTimeInput.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
974
+ ExportTableToPointInTimeInput.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
957
975
  ExportTableToPointInTimeInput.struct_class = Types::ExportTableToPointInTimeInput
958
976
 
959
977
  ExportTableToPointInTimeOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
@@ -1112,6 +1130,11 @@ module Aws::DynamoDB
1112
1130
  ImportTableOutput.add_member(:import_table_description, Shapes::ShapeRef.new(shape: ImportTableDescription, required: true, location_name: "ImportTableDescription"))
1113
1131
  ImportTableOutput.struct_class = Types::ImportTableOutput
1114
1132
 
1133
+ IncrementalExportSpecification.add_member(:export_from_time, Shapes::ShapeRef.new(shape: ExportFromTime, location_name: "ExportFromTime"))
1134
+ IncrementalExportSpecification.add_member(:export_to_time, Shapes::ShapeRef.new(shape: ExportToTime, location_name: "ExportToTime"))
1135
+ IncrementalExportSpecification.add_member(:export_view_type, Shapes::ShapeRef.new(shape: ExportViewType, location_name: "ExportViewType"))
1136
+ IncrementalExportSpecification.struct_class = Types::IncrementalExportSpecification
1137
+
1115
1138
  IndexNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1116
1139
  IndexNotFoundException.struct_class = Types::IndexNotFoundException
1117
1140
 
@@ -1175,17 +1198,20 @@ module Aws::DynamoDB
1175
1198
  KinesisDataStreamDestination.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
1176
1199
  KinesisDataStreamDestination.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
1177
1200
  KinesisDataStreamDestination.add_member(:destination_status_description, Shapes::ShapeRef.new(shape: String, location_name: "DestinationStatusDescription"))
1201
+ KinesisDataStreamDestination.add_member(:approximate_creation_date_time_precision, Shapes::ShapeRef.new(shape: ApproximateCreationDateTimePrecision, location_name: "ApproximateCreationDateTimePrecision"))
1178
1202
  KinesisDataStreamDestination.struct_class = Types::KinesisDataStreamDestination
1179
1203
 
1180
1204
  KinesisDataStreamDestinations.member = Shapes::ShapeRef.new(shape: KinesisDataStreamDestination)
1181
1205
 
1182
1206
  KinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1183
1207
  KinesisStreamingDestinationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
1208
+ KinesisStreamingDestinationInput.add_member(:enable_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: EnableKinesisStreamingConfiguration, location_name: "EnableKinesisStreamingConfiguration"))
1184
1209
  KinesisStreamingDestinationInput.struct_class = Types::KinesisStreamingDestinationInput
1185
1210
 
1186
1211
  KinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1187
1212
  KinesisStreamingDestinationOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
1188
1213
  KinesisStreamingDestinationOutput.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
1214
+ KinesisStreamingDestinationOutput.add_member(:enable_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: EnableKinesisStreamingConfiguration, location_name: "EnableKinesisStreamingConfiguration"))
1189
1215
  KinesisStreamingDestinationOutput.struct_class = Types::KinesisStreamingDestinationOutput
1190
1216
 
1191
1217
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1807,6 +1833,20 @@ module Aws::DynamoDB
1807
1833
  UpdateItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
1808
1834
  UpdateItemOutput.struct_class = Types::UpdateItemOutput
1809
1835
 
1836
+ UpdateKinesisStreamingConfiguration.add_member(:approximate_creation_date_time_precision, Shapes::ShapeRef.new(shape: ApproximateCreationDateTimePrecision, location_name: "ApproximateCreationDateTimePrecision"))
1837
+ UpdateKinesisStreamingConfiguration.struct_class = Types::UpdateKinesisStreamingConfiguration
1838
+
1839
+ UpdateKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1840
+ UpdateKinesisStreamingDestinationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
1841
+ UpdateKinesisStreamingDestinationInput.add_member(:update_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: UpdateKinesisStreamingConfiguration, location_name: "UpdateKinesisStreamingConfiguration"))
1842
+ UpdateKinesisStreamingDestinationInput.struct_class = Types::UpdateKinesisStreamingDestinationInput
1843
+
1844
+ UpdateKinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1845
+ UpdateKinesisStreamingDestinationOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
1846
+ UpdateKinesisStreamingDestinationOutput.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
1847
+ UpdateKinesisStreamingDestinationOutput.add_member(:update_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: UpdateKinesisStreamingConfiguration, location_name: "UpdateKinesisStreamingConfiguration"))
1848
+ UpdateKinesisStreamingDestinationOutput.struct_class = Types::UpdateKinesisStreamingDestinationOutput
1849
+
1810
1850
  UpdateReplicationGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
1811
1851
  UpdateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
1812
1852
  UpdateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
@@ -2564,6 +2604,20 @@ module Aws::DynamoDB
2564
2604
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2565
2605
  end)
2566
2606
 
2607
+ api.add_operation(:update_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
2608
+ o.name = "UpdateKinesisStreamingDestination"
2609
+ o.http_method = "POST"
2610
+ o.http_request_uri = "/"
2611
+ o.endpoint_discovery = {
2612
+ }
2613
+ o.input = Shapes::ShapeRef.new(shape: UpdateKinesisStreamingDestinationInput)
2614
+ o.output = Shapes::ShapeRef.new(shape: UpdateKinesisStreamingDestinationOutput)
2615
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2616
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2617
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2618
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2619
+ end)
2620
+
2567
2621
  api.add_operation(:update_table, Seahorse::Model::Operation.new.tap do |o|
2568
2622
  o.name = "UpdateTable"
2569
2623
  o.http_method = "POST"
@@ -21,9 +21,11 @@ module Aws
21
21
  def data_to_http_resp(operation_name, data)
22
22
  api = config.api
23
23
  operation = api.operation(operation_name)
24
- translator = Plugins::SimpleAttributes::ValueTranslator
25
- translator = translator.new(operation.output, :marshal)
26
- data = translator.apply(data)
24
+ if config.simple_attributes
25
+ translator = Plugins::SimpleAttributes::ValueTranslator
26
+ translator = translator.new(operation.output, :marshal)
27
+ data = translator.apply(data)
28
+ end
27
29
  ParamValidator.validate!(operation.output, data)
28
30
  protocol_helper.stub_data(api, operation, data)
29
31
  end
@@ -32,8 +32,8 @@ module Aws::DynamoDB
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -712,6 +712,20 @@ module Aws::DynamoDB
712
712
  end
713
713
  end
714
714
 
715
+ class UpdateKinesisStreamingDestination
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::DynamoDB::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
715
729
  class UpdateTable
716
730
  def self.build(context)
717
731
  unless context.config.regional_endpoint
@@ -25,16 +25,17 @@ module Aws::DynamoDB
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -156,6 +157,8 @@ module Aws::DynamoDB
156
157
  Aws::DynamoDB::Endpoints::UpdateGlobalTableSettings.build(context)
157
158
  when :update_item
158
159
  Aws::DynamoDB::Endpoints::UpdateItem.build(context)
160
+ when :update_kinesis_streaming_destination
161
+ Aws::DynamoDB::Endpoints::UpdateKinesisStreamingDestination.build(context)
159
162
  when :update_table
160
163
  Aws::DynamoDB::Endpoints::UpdateTable.build(context)
161
164
  when :update_table_replica_auto_scaling
@@ -83,11 +83,11 @@ module Aws
83
83
  # # note that the request `:key` had to be type prefixed
84
84
  # resp = dynamodb.get(table_name: 'aws-sdk', key: { 'id' => { s: 'uuid' }})
85
85
  # resp.item
86
- # # {
87
- # # "id"=> <struct s='uuid', n=nil, b=nil, ss=nil, ns=nil, bs=nil, m=nil, l=nil, null=nil, bool=nil>
88
- # # "age"=> <struct s=nil, n="35", b=nil, ss=nil, ns=nil, bs=nil, m=nil, l=nil, null=nil, bool=nil>
89
- # # ...
90
- # # }
86
+ # {
87
+ # "id"=> <struct s='uuid', n=nil, b=nil, ss=nil, ns=nil, bs=nil, m=nil, l=nil, null=nil, bool=nil>
88
+ # "age"=> <struct s=nil, n="35", b=nil, ss=nil, ns=nil, bs=nil, m=nil, l=nil, null=nil, bool=nil>
89
+ # ...
90
+ # }
91
91
  #
92
92
  class SimpleAttributes < Seahorse::Client::Plugin
93
93
 
@@ -119,12 +119,15 @@ their types specified, e.g. `{ s: 'abc' }` instead of simply
119
119
  @handler.call(context).on(200) do |response|
120
120
  response.data = translate_output(response)
121
121
  end
122
+ rescue Aws::Errors::ServiceError => e
123
+ e.data = translate_error_data(context, e.data)
124
+ raise e
122
125
  end
123
126
 
124
127
  private
125
128
 
126
129
  def translate_input(context)
127
- if shape = context.operation.input
130
+ if (shape = context.operation.input)
128
131
  ValueTranslator.new(shape, :marshal).apply(context.params)
129
132
  else
130
133
  context.params
@@ -132,13 +135,24 @@ their types specified, e.g. `{ s: 'abc' }` instead of simply
132
135
  end
133
136
 
134
137
  def translate_output(response)
135
- if shape = response.context.operation.output
138
+ if (shape = response.context.operation.output)
136
139
  ValueTranslator.new(shape, :unmarshal).apply(response.data)
137
140
  else
138
141
  response.data
139
142
  end
140
143
  end
141
144
 
145
+ def translate_error_data(context, error_data)
146
+ shape = context.operation.errors.find do |e|
147
+ error_data.is_a?(e.shape.struct_class)
148
+ end
149
+ if shape
150
+ ValueTranslator.new(shape, :unmarshal).apply(error_data)
151
+ else
152
+ error_data
153
+ end
154
+ end
155
+
142
156
  end
143
157
 
144
158
  # @api private
@@ -1681,7 +1681,7 @@ module Aws::DynamoDB
1681
1681
  #
1682
1682
  #
1683
1683
  #
1684
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
1684
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression
1685
1685
  # @option options [Hash<String,String>] :expression_attribute_names
1686
1686
  # One or more substitution tokens for attribute names in an expression.
1687
1687
  # The following are some use cases for using `ExpressionAttributeNames`:
@@ -2935,6 +2935,21 @@ module Aws::DynamoDB
2935
2935
  include Aws::Structure
2936
2936
  end
2937
2937
 
2938
+ # Enables setting the configuration for Kinesis Streaming.
2939
+ #
2940
+ # @!attribute [rw] approximate_creation_date_time_precision
2941
+ # Toggle for the precision of Kinesis data stream timestamp. The
2942
+ # values are either `MILLISECOND` or `MICROSECOND`.
2943
+ # @return [String]
2944
+ #
2945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingConfiguration AWS API Documentation
2946
+ #
2947
+ class EnableKinesisStreamingConfiguration < Struct.new(
2948
+ :approximate_creation_date_time_precision)
2949
+ SENSITIVE = []
2950
+ include Aws::Structure
2951
+ end
2952
+
2938
2953
  # An endpoint information details.
2939
2954
  #
2940
2955
  # @!attribute [rw] address
@@ -3500,6 +3515,16 @@ module Aws::DynamoDB
3500
3515
  # The number of items exported.
3501
3516
  # @return [Integer]
3502
3517
  #
3518
+ # @!attribute [rw] export_type
3519
+ # The type of export that was performed. Valid values are
3520
+ # `FULL_EXPORT` or `INCREMENTAL_EXPORT`.
3521
+ # @return [String]
3522
+ #
3523
+ # @!attribute [rw] incremental_export_specification
3524
+ # Optional object containing the parameters specific to an incremental
3525
+ # export.
3526
+ # @return [Types::IncrementalExportSpecification]
3527
+ #
3503
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
3504
3529
  #
3505
3530
  class ExportDescription < Struct.new(
@@ -3521,7 +3546,9 @@ module Aws::DynamoDB
3521
3546
  :failure_message,
3522
3547
  :export_format,
3523
3548
  :billed_size_bytes,
3524
- :item_count)
3549
+ :item_count,
3550
+ :export_type,
3551
+ :incremental_export_specification)
3525
3552
  SENSITIVE = []
3526
3553
  include Aws::Structure
3527
3554
  end
@@ -3550,11 +3577,17 @@ module Aws::DynamoDB
3550
3577
  # COMPLETED, or FAILED.
3551
3578
  # @return [String]
3552
3579
  #
3580
+ # @!attribute [rw] export_type
3581
+ # The type of export that was performed. Valid values are
3582
+ # `FULL_EXPORT` or `INCREMENTAL_EXPORT`.
3583
+ # @return [String]
3584
+ #
3553
3585
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation
3554
3586
  #
3555
3587
  class ExportSummary < Struct.new(
3556
3588
  :export_arn,
3557
- :export_status)
3589
+ :export_status,
3590
+ :export_type)
3558
3591
  SENSITIVE = []
3559
3592
  include Aws::Structure
3560
3593
  end
@@ -3621,6 +3654,18 @@ module Aws::DynamoDB
3621
3654
  # are `DYNAMODB_JSON` or `ION`.
3622
3655
  # @return [String]
3623
3656
  #
3657
+ # @!attribute [rw] export_type
3658
+ # Choice of whether to execute as a full export or incremental export.
3659
+ # Valid values are FULL\_EXPORT or INCREMENTAL\_EXPORT. The default
3660
+ # value is FULL\_EXPORT. If INCREMENTAL\_EXPORT is provided, the
3661
+ # IncrementalExportSpecification must also be used.
3662
+ # @return [String]
3663
+ #
3664
+ # @!attribute [rw] incremental_export_specification
3665
+ # Optional object containing the parameters specific to an incremental
3666
+ # export.
3667
+ # @return [Types::IncrementalExportSpecification]
3668
+ #
3624
3669
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
3625
3670
  #
3626
3671
  class ExportTableToPointInTimeInput < Struct.new(
@@ -3632,7 +3677,9 @@ module Aws::DynamoDB
3632
3677
  :s3_prefix,
3633
3678
  :s3_sse_algorithm,
3634
3679
  :s3_sse_kms_key_id,
3635
- :export_format)
3680
+ :export_format,
3681
+ :export_type,
3682
+ :incremental_export_specification)
3636
3683
  SENSITIVE = []
3637
3684
  include Aws::Structure
3638
3685
  end
@@ -4557,6 +4604,40 @@ module Aws::DynamoDB
4557
4604
  include Aws::Structure
4558
4605
  end
4559
4606
 
4607
+ # Optional object containing the parameters specific to an incremental
4608
+ # export.
4609
+ #
4610
+ # @!attribute [rw] export_from_time
4611
+ # Time in the past which provides the inclusive start range for the
4612
+ # export table's data, counted in seconds from the start of the Unix
4613
+ # epoch. The incremental export will reflect the table's state
4614
+ # including and after this point in time.
4615
+ # @return [Time]
4616
+ #
4617
+ # @!attribute [rw] export_to_time
4618
+ # Time in the past which provides the exclusive end range for the
4619
+ # export table's data, counted in seconds from the start of the Unix
4620
+ # epoch. The incremental export will reflect the table's state just
4621
+ # prior to this point in time. If this is not provided, the latest
4622
+ # time with data available will be used.
4623
+ # @return [Time]
4624
+ #
4625
+ # @!attribute [rw] export_view_type
4626
+ # The view type that was chosen for the export. Valid values are
4627
+ # `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. The default value is
4628
+ # `NEW_AND_OLD_IMAGES`.
4629
+ # @return [String]
4630
+ #
4631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IncrementalExportSpecification AWS API Documentation
4632
+ #
4633
+ class IncrementalExportSpecification < Struct.new(
4634
+ :export_from_time,
4635
+ :export_to_time,
4636
+ :export_view_type)
4637
+ SENSITIVE = []
4638
+ include Aws::Structure
4639
+ end
4640
+
4560
4641
  # The operation tried to access a nonexistent index.
4561
4642
  #
4562
4643
  # @!attribute [rw] message
@@ -4864,12 +4945,18 @@ module Aws::DynamoDB
4864
4945
  # The human-readable string that corresponds to the replica status.
4865
4946
  # @return [String]
4866
4947
  #
4948
+ # @!attribute [rw] approximate_creation_date_time_precision
4949
+ # The precision of the Kinesis data stream timestamp. The values are
4950
+ # either `MILLISECOND` or `MICROSECOND`.
4951
+ # @return [String]
4952
+ #
4867
4953
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisDataStreamDestination AWS API Documentation
4868
4954
  #
4869
4955
  class KinesisDataStreamDestination < Struct.new(
4870
4956
  :stream_arn,
4871
4957
  :destination_status,
4872
- :destination_status_description)
4958
+ :destination_status_description,
4959
+ :approximate_creation_date_time_precision)
4873
4960
  SENSITIVE = []
4874
4961
  include Aws::Structure
4875
4962
  end
@@ -4882,11 +4969,17 @@ module Aws::DynamoDB
4882
4969
  # The ARN for a Kinesis data stream.
4883
4970
  # @return [String]
4884
4971
  #
4972
+ # @!attribute [rw] enable_kinesis_streaming_configuration
4973
+ # The source for the Kinesis streaming information that is being
4974
+ # enabled.
4975
+ # @return [Types::EnableKinesisStreamingConfiguration]
4976
+ #
4885
4977
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationInput AWS API Documentation
4886
4978
  #
4887
4979
  class KinesisStreamingDestinationInput < Struct.new(
4888
4980
  :table_name,
4889
- :stream_arn)
4981
+ :stream_arn,
4982
+ :enable_kinesis_streaming_configuration)
4890
4983
  SENSITIVE = []
4891
4984
  include Aws::Structure
4892
4985
  end
@@ -4903,12 +4996,18 @@ module Aws::DynamoDB
4903
4996
  # The current status of the replication.
4904
4997
  # @return [String]
4905
4998
  #
4999
+ # @!attribute [rw] enable_kinesis_streaming_configuration
5000
+ # The destination for the Kinesis streaming information that is being
5001
+ # enabled.
5002
+ # @return [Types::EnableKinesisStreamingConfiguration]
5003
+ #
4906
5004
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationOutput AWS API Documentation
4907
5005
  #
4908
5006
  class KinesisStreamingDestinationOutput < Struct.new(
4909
5007
  :table_name,
4910
5008
  :stream_arn,
4911
- :destination_status)
5009
+ :destination_status,
5010
+ :enable_kinesis_streaming_configuration)
4912
5011
  SENSITIVE = []
4913
5012
  include Aws::Structure
4914
5013
  end
@@ -5445,10 +5544,10 @@ module Aws::DynamoDB
5445
5544
  include Aws::Structure
5446
5545
  end
5447
5546
 
5448
- # Represents a PartiQL statment that uses parameters.
5547
+ # Represents a PartiQL statement that uses parameters.
5449
5548
  #
5450
5549
  # @!attribute [rw] statement
5451
- # A PartiQL statment that uses parameters.
5550
+ # A PartiQL statement that uses parameters.
5452
5551
  # @return [String]
5453
5552
  #
5454
5553
  # @!attribute [rw] parameters
@@ -7673,7 +7772,7 @@ module Aws::DynamoDB
7673
7772
  #
7674
7773
  #
7675
7774
  #
7676
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
7775
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression
7677
7776
  # @return [String]
7678
7777
  #
7679
7778
  # @!attribute [rw] expression_attribute_names
@@ -8802,6 +8901,11 @@ module Aws::DynamoDB
8802
8901
  #
8803
8902
  # * There is a user error, such as an invalid data format.
8804
8903
  #
8904
+ # * There is an ongoing `TransactWriteItems` operation that conflicts
8905
+ # with a concurrent `TransactWriteItems` request. In this case the
8906
+ # `TransactWriteItems` operation fails with a
8907
+ # `TransactionCanceledException`.
8908
+ #
8805
8909
  # DynamoDB cancels a `TransactGetItems` request under the following
8806
8910
  # circumstances:
8807
8911
  #
@@ -9692,6 +9796,71 @@ module Aws::DynamoDB
9692
9796
  include Aws::Structure
9693
9797
  end
9694
9798
 
9799
+ # Enables updating the configuration for Kinesis Streaming.
9800
+ #
9801
+ # @!attribute [rw] approximate_creation_date_time_precision
9802
+ # Enables updating the precision of Kinesis data stream timestamp.
9803
+ # @return [String]
9804
+ #
9805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingConfiguration AWS API Documentation
9806
+ #
9807
+ class UpdateKinesisStreamingConfiguration < Struct.new(
9808
+ :approximate_creation_date_time_precision)
9809
+ SENSITIVE = []
9810
+ include Aws::Structure
9811
+ end
9812
+
9813
+ # @!attribute [rw] table_name
9814
+ # The table name for the Kinesis streaming destination input.
9815
+ # @return [String]
9816
+ #
9817
+ # @!attribute [rw] stream_arn
9818
+ # The ARN for the Kinesis stream input.
9819
+ # @return [String]
9820
+ #
9821
+ # @!attribute [rw] update_kinesis_streaming_configuration
9822
+ # The command to update the Kinesis stream configuration.
9823
+ # @return [Types::UpdateKinesisStreamingConfiguration]
9824
+ #
9825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingDestinationInput AWS API Documentation
9826
+ #
9827
+ class UpdateKinesisStreamingDestinationInput < Struct.new(
9828
+ :table_name,
9829
+ :stream_arn,
9830
+ :update_kinesis_streaming_configuration)
9831
+ SENSITIVE = []
9832
+ include Aws::Structure
9833
+ end
9834
+
9835
+ # @!attribute [rw] table_name
9836
+ # The table name for the Kinesis streaming destination output.
9837
+ # @return [String]
9838
+ #
9839
+ # @!attribute [rw] stream_arn
9840
+ # The ARN for the Kinesis stream input.
9841
+ # @return [String]
9842
+ #
9843
+ # @!attribute [rw] destination_status
9844
+ # The status of the attempt to update the Kinesis streaming
9845
+ # destination output.
9846
+ # @return [String]
9847
+ #
9848
+ # @!attribute [rw] update_kinesis_streaming_configuration
9849
+ # The command to update the Kinesis streaming destination
9850
+ # configuration.
9851
+ # @return [Types::UpdateKinesisStreamingConfiguration]
9852
+ #
9853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingDestinationOutput AWS API Documentation
9854
+ #
9855
+ class UpdateKinesisStreamingDestinationOutput < Struct.new(
9856
+ :table_name,
9857
+ :stream_arn,
9858
+ :destination_status,
9859
+ :update_kinesis_streaming_configuration)
9860
+ SENSITIVE = []
9861
+ include Aws::Structure
9862
+ end
9863
+
9695
9864
  # Represents a replica to be modified.
9696
9865
  #
9697
9866
  # @!attribute [rw] region_name
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
54
54
  # @!group service
55
55
  module Aws::DynamoDB
56
56
 
57
- GEM_VERSION = '1.93.0'
57
+ GEM_VERSION = '1.100.0'
58
58
 
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.93.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -79,7 +79,7 @@ licenses:
79
79
  metadata:
80
80
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dynamodb
81
81
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dynamodb/CHANGELOG.md
82
- post_install_message:
82
+ post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths:
85
85
  - lib
@@ -87,15 +87,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: '2.3'
90
+ version: '2.5'
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.1.6
98
- signing_key:
97
+ rubygems_version: 3.4.10
98
+ signing_key:
99
99
  specification_version: 4
100
100
  summary: AWS SDK for Ruby - DynamoDB
101
101
  test_files: []