aws-sdk-dynamodb 1.99.0 → 1.101.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: c967d2c65b02ae88b7ded0ebe2c52e28eb0790e4891916a6570cd03af7decedc
4
- data.tar.gz: 60a81edee05ad4c851c1cab53087494e67f833f507a74431e88a9342a54f29f0
3
+ metadata.gz: e1cabd9c6378fa60232d67e1a5d4ebcc80a18d28a65bec5b4bcc54ebd0fed5dc
4
+ data.tar.gz: 154b53e7d4d0a8bccd3f69378f2631838ed4fd1abb42fbf4aeccb83399f3c7bf
5
5
  SHA512:
6
- metadata.gz: bfdd8d2ea4db98db8590cf6c6fbb6e903d91448f99b22e66e1af82068d51fb8bb38defab33b381129af7a637dd8d79c82359510fdb521948adc7036efbecded9
7
- data.tar.gz: e5bb0c9689f58bdd7e93425cf4957bce7b8a1436d629308f4fcf92303ba7ed89601c4d33cc9a85e3eac3bc60b78cb6d9c99d72dd7c6aa3c7176ef292c920fd2a
6
+ metadata.gz: fcce2e707f3879967bd40c71891bb376df89fd35d82e12da87f0774dd2b7a9259ae8e51a843b4c91eb6ad8c962c0479951ba6ae094fdbb3125dae8ce0d172559
7
+ data.tar.gz: 6a3a7a554ed60341e02e786ef356ee90838c41c3bac25c80f7950622f51226a32cc1dd2290a924d9f57065dab8fe3be544472483427de00ce93902af077ac727
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.101.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.100.0 (2024-01-19)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.99.0 (2024-01-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.101.0
@@ -2713,8 +2713,9 @@ module Aws::DynamoDB
2713
2713
  # resp.table_name #=> String
2714
2714
  # resp.kinesis_data_stream_destinations #=> Array
2715
2715
  # resp.kinesis_data_stream_destinations[0].stream_arn #=> String
2716
- # 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"
2717
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"
2718
2719
  #
2719
2720
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestination AWS API Documentation
2720
2721
  #
@@ -3134,24 +3135,33 @@ module Aws::DynamoDB
3134
3135
  # @option params [required, String] :stream_arn
3135
3136
  # The ARN for a Kinesis data stream.
3136
3137
  #
3138
+ # @option params [Types::EnableKinesisStreamingConfiguration] :enable_kinesis_streaming_configuration
3139
+ # The source for the Kinesis streaming information that is being
3140
+ # enabled.
3141
+ #
3137
3142
  # @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3138
3143
  #
3139
3144
  # * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
3140
3145
  # * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
3141
3146
  # * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
3147
+ # * {Types::KinesisStreamingDestinationOutput#enable_kinesis_streaming_configuration #enable_kinesis_streaming_configuration} => Types::EnableKinesisStreamingConfiguration
3142
3148
  #
3143
3149
  # @example Request syntax with placeholder values
3144
3150
  #
3145
3151
  # resp = client.disable_kinesis_streaming_destination({
3146
3152
  # table_name: "TableName", # required
3147
3153
  # stream_arn: "StreamArn", # required
3154
+ # enable_kinesis_streaming_configuration: {
3155
+ # approximate_creation_date_time_precision: "MILLISECOND", # accepts MILLISECOND, MICROSECOND
3156
+ # },
3148
3157
  # })
3149
3158
  #
3150
3159
  # @example Response structure
3151
3160
  #
3152
3161
  # resp.table_name #=> String
3153
3162
  # resp.stream_arn #=> String
3154
- # 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"
3155
3165
  #
3156
3166
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DisableKinesisStreamingDestination AWS API Documentation
3157
3167
  #
@@ -3174,24 +3184,33 @@ module Aws::DynamoDB
3174
3184
  # @option params [required, String] :stream_arn
3175
3185
  # The ARN for a Kinesis data stream.
3176
3186
  #
3187
+ # @option params [Types::EnableKinesisStreamingConfiguration] :enable_kinesis_streaming_configuration
3188
+ # The source for the Kinesis streaming information that is being
3189
+ # enabled.
3190
+ #
3177
3191
  # @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3178
3192
  #
3179
3193
  # * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
3180
3194
  # * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
3181
3195
  # * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
3196
+ # * {Types::KinesisStreamingDestinationOutput#enable_kinesis_streaming_configuration #enable_kinesis_streaming_configuration} => Types::EnableKinesisStreamingConfiguration
3182
3197
  #
3183
3198
  # @example Request syntax with placeholder values
3184
3199
  #
3185
3200
  # resp = client.enable_kinesis_streaming_destination({
3186
3201
  # table_name: "TableName", # required
3187
3202
  # stream_arn: "StreamArn", # required
3203
+ # enable_kinesis_streaming_configuration: {
3204
+ # approximate_creation_date_time_precision: "MILLISECOND", # accepts MILLISECOND, MICROSECOND
3205
+ # },
3188
3206
  # })
3189
3207
  #
3190
3208
  # @example Response structure
3191
3209
  #
3192
3210
  # resp.table_name #=> String
3193
3211
  # resp.stream_arn #=> String
3194
- # 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"
3195
3214
  #
3196
3215
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingDestination AWS API Documentation
3197
3216
  #
@@ -7248,6 +7267,50 @@ module Aws::DynamoDB
7248
7267
  req.send_request(options)
7249
7268
  end
7250
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
+
7251
7314
  # Modifies the provisioned throughput settings, global secondary
7252
7315
  # indexes, or DynamoDB Streams settings for a given table.
7253
7316
  #
@@ -7332,9 +7395,9 @@ module Aws::DynamoDB
7332
7395
  # @option params [Types::StreamSpecification] :stream_specification
7333
7396
  # Represents the DynamoDB Streams configuration for the table.
7334
7397
  #
7335
- # <note markdown="1"> You receive a `ValidationException` if you try to enable a stream on a
7336
- # table that already has a stream, or if you try to disable a stream on
7337
- # a table that doesn't have a stream.
7398
+ # <note markdown="1"> You receive a `ResourceInUseException` if you try to enable a stream
7399
+ # on a table that already has a stream, or if you try to disable a
7400
+ # stream on a table that doesn't have a stream.
7338
7401
  #
7339
7402
  # </note>
7340
7403
  #
@@ -7861,7 +7924,7 @@ module Aws::DynamoDB
7861
7924
  params: params,
7862
7925
  config: config)
7863
7926
  context[:gem_name] = 'aws-sdk-dynamodb'
7864
- context[:gem_version] = '1.99.0'
7927
+ context[:gem_version] = '1.101.0'
7865
7928
  Seahorse::Client::Request.new(handlers, context)
7866
7929
  end
7867
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')
@@ -455,6 +457,9 @@ module Aws::DynamoDB
455
457
  UpdateGlobalTableSettingsOutput = Shapes::StructureShape.new(name: 'UpdateGlobalTableSettingsOutput')
456
458
  UpdateItemInput = Shapes::StructureShape.new(name: 'UpdateItemInput')
457
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')
458
463
  UpdateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'UpdateReplicationGroupMemberAction')
459
464
  UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
460
465
  UpdateTableOutput = Shapes::StructureShape.new(name: 'UpdateTableOutput')
@@ -878,6 +883,9 @@ module Aws::DynamoDB
878
883
  DuplicateItemException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
879
884
  DuplicateItemException.struct_class = Types::DuplicateItemException
880
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
+
881
889
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
882
890
  Endpoint.add_member(:cache_period_in_minutes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "CachePeriodInMinutes"))
883
891
  Endpoint.struct_class = Types::Endpoint
@@ -1190,17 +1198,20 @@ module Aws::DynamoDB
1190
1198
  KinesisDataStreamDestination.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
1191
1199
  KinesisDataStreamDestination.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
1192
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"))
1193
1202
  KinesisDataStreamDestination.struct_class = Types::KinesisDataStreamDestination
1194
1203
 
1195
1204
  KinesisDataStreamDestinations.member = Shapes::ShapeRef.new(shape: KinesisDataStreamDestination)
1196
1205
 
1197
1206
  KinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1198
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"))
1199
1209
  KinesisStreamingDestinationInput.struct_class = Types::KinesisStreamingDestinationInput
1200
1210
 
1201
1211
  KinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1202
1212
  KinesisStreamingDestinationOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
1203
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"))
1204
1215
  KinesisStreamingDestinationOutput.struct_class = Types::KinesisStreamingDestinationOutput
1205
1216
 
1206
1217
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1822,6 +1833,20 @@ module Aws::DynamoDB
1822
1833
  UpdateItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
1823
1834
  UpdateItemOutput.struct_class = Types::UpdateItemOutput
1824
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
+
1825
1850
  UpdateReplicationGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
1826
1851
  UpdateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
1827
1852
  UpdateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
@@ -2579,6 +2604,20 @@ module Aws::DynamoDB
2579
2604
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2580
2605
  end)
2581
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
+
2582
2621
  api.add_operation(:update_table, Seahorse::Model::Operation.new.tap do |o|
2583
2622
  o.name = "UpdateTable"
2584
2623
  o.http_method = "POST"
@@ -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
@@ -14,6 +14,7 @@ module Aws::DynamoDB
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::DynamoDB::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -157,6 +158,8 @@ module Aws::DynamoDB
157
158
  Aws::DynamoDB::Endpoints::UpdateGlobalTableSettings.build(context)
158
159
  when :update_item
159
160
  Aws::DynamoDB::Endpoints::UpdateItem.build(context)
161
+ when :update_kinesis_streaming_destination
162
+ Aws::DynamoDB::Endpoints::UpdateKinesisStreamingDestination.build(context)
160
163
  when :update_table
161
164
  Aws::DynamoDB::Endpoints::UpdateTable.build(context)
162
165
  when :update_table_replica_auto_scaling
@@ -1930,9 +1930,9 @@ module Aws::DynamoDB
1930
1930
  # @option options [Types::StreamSpecification] :stream_specification
1931
1931
  # Represents the DynamoDB Streams configuration for the table.
1932
1932
  #
1933
- # <note markdown="1"> You receive a `ValidationException` if you try to enable a stream on a
1934
- # table that already has a stream, or if you try to disable a stream on
1935
- # a table that doesn't have a stream.
1933
+ # <note markdown="1"> You receive a `ResourceInUseException` if you try to enable a stream
1934
+ # on a table that already has a stream, or if you try to disable a
1935
+ # stream on a table that doesn't have a stream.
1936
1936
  #
1937
1937
  # </note>
1938
1938
  # @option options [Types::SSESpecification] :sse_specification
@@ -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
@@ -4930,12 +4945,18 @@ module Aws::DynamoDB
4930
4945
  # The human-readable string that corresponds to the replica status.
4931
4946
  # @return [String]
4932
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
+ #
4933
4953
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisDataStreamDestination AWS API Documentation
4934
4954
  #
4935
4955
  class KinesisDataStreamDestination < Struct.new(
4936
4956
  :stream_arn,
4937
4957
  :destination_status,
4938
- :destination_status_description)
4958
+ :destination_status_description,
4959
+ :approximate_creation_date_time_precision)
4939
4960
  SENSITIVE = []
4940
4961
  include Aws::Structure
4941
4962
  end
@@ -4948,11 +4969,17 @@ module Aws::DynamoDB
4948
4969
  # The ARN for a Kinesis data stream.
4949
4970
  # @return [String]
4950
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
+ #
4951
4977
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationInput AWS API Documentation
4952
4978
  #
4953
4979
  class KinesisStreamingDestinationInput < Struct.new(
4954
4980
  :table_name,
4955
- :stream_arn)
4981
+ :stream_arn,
4982
+ :enable_kinesis_streaming_configuration)
4956
4983
  SENSITIVE = []
4957
4984
  include Aws::Structure
4958
4985
  end
@@ -4969,12 +4996,18 @@ module Aws::DynamoDB
4969
4996
  # The current status of the replication.
4970
4997
  # @return [String]
4971
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
+ #
4972
5004
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationOutput AWS API Documentation
4973
5005
  #
4974
5006
  class KinesisStreamingDestinationOutput < Struct.new(
4975
5007
  :table_name,
4976
5008
  :stream_arn,
4977
- :destination_status)
5009
+ :destination_status,
5010
+ :enable_kinesis_streaming_configuration)
4978
5011
  SENSITIVE = []
4979
5012
  include Aws::Structure
4980
5013
  end
@@ -5511,10 +5544,10 @@ module Aws::DynamoDB
5511
5544
  include Aws::Structure
5512
5545
  end
5513
5546
 
5514
- # Represents a PartiQL statment that uses parameters.
5547
+ # Represents a PartiQL statement that uses parameters.
5515
5548
  #
5516
5549
  # @!attribute [rw] statement
5517
- # A PartiQL statment that uses parameters.
5550
+ # A PartiQL statement that uses parameters.
5518
5551
  # @return [String]
5519
5552
  #
5520
5553
  # @!attribute [rw] parameters
@@ -9763,6 +9796,71 @@ module Aws::DynamoDB
9763
9796
  include Aws::Structure
9764
9797
  end
9765
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
+
9766
9864
  # Represents a replica to be modified.
9767
9865
  #
9768
9866
  # @!attribute [rw] region_name
@@ -9868,9 +9966,9 @@ module Aws::DynamoDB
9868
9966
  # @!attribute [rw] stream_specification
9869
9967
  # Represents the DynamoDB Streams configuration for the table.
9870
9968
  #
9871
- # <note markdown="1"> You receive a `ValidationException` if you try to enable a stream on
9872
- # a table that already has a stream, or if you try to disable a stream
9873
- # on a table that doesn't have a stream.
9969
+ # <note markdown="1"> You receive a `ResourceInUseException` if you try to enable a stream
9970
+ # on a table that already has a stream, or if you try to disable a
9971
+ # stream on a table that doesn't have a stream.
9874
9972
  #
9875
9973
  # </note>
9876
9974
  # @return [Types::StreamSpecification]
@@ -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.99.0'
57
+ GEM_VERSION = '1.101.0'
58
58
 
59
59
  end