aws-sdk-dynamodb 1.3.0 → 1.4.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
  SHA1:
3
- metadata.gz: c297fd9c2cba62284e16a8037c25c2a707254b35
4
- data.tar.gz: fd20ab0c77b14576086037e986d57a9aa494169e
3
+ metadata.gz: dfb22b56fccb5b34528350e2f125f37cc418cd9d
4
+ data.tar.gz: 8896252fc86aee9475d84a6c9cce3f4d3e459375
5
5
  SHA512:
6
- metadata.gz: f44bfdd581a8983b9b7ffcdf04b6b03d98401a1c36942aaf1c59d136c3b6395b3a0a764268717aef6669988d8946226b413ebbe88334c48b7c999c9bdf42ab50
7
- data.tar.gz: b52d8a140664fa5de5bafe6349318edb9052d06b1a56c8017d812601f5cf99708e24e592ff28296ae591db98ff2e02a7c216a6999541e82e7c0a28b343d35c86
6
+ metadata.gz: 07c741b8b9b4b53a0072e7d4fc61e698c6e5905cccbb0528bc76de3f3c07468120fd246dd192f6103b37320152aaaa3c3afefa551dd632481177db4a087f38b2
7
+ data.tar.gz: 3167ff87b108ce2e5498f46dcd18ed5f40c7ec531043dac0644325373336b0141d98574385961e9d294b7b9a9281a0558a09e739be3031ddd8491a8df375a894
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.3.0'
47
+ GEM_VERSION = '1.4.0'
48
48
 
49
49
  end
@@ -738,25 +738,22 @@ module Aws::DynamoDB
738
738
  # backed up. There is no limit to the number of on-demand backups that
739
739
  # can be taken.
740
740
  #
741
+ # When you create an On-Demand Backup, a time marker of the request is
742
+ # cataloged, and the backup is created asynchronously, by applying all
743
+ # changes until the time of the request to the last full table snapshot.
744
+ # Backup requests are processed instantaneously and become available for
745
+ # restore within minutes.
746
+ #
741
747
  # You can call `CreateBackup` at a maximum rate of 50 times per second.
742
748
  #
743
749
  # All backups in DynamoDB work without consuming any provisioned
744
- # throughput on the table. This results in a fast, low-cost, and
745
- # scalable backup process. In general, the larger the table, the more
746
- # time it takes to back up. The backup is stored in an S3 data store
747
- # that is maintained and managed by DynamoDB.
748
- #
749
- # Backups incorporate all writes (delete, put, update) that were
750
- # completed within the last minute before the backup request was
751
- # initiated. Backups might include some writes (delete, put, update)
752
- # that were completed before the backup request was finished.
753
- #
754
- # For example, if you submit the backup request on 2018-12-14 at
755
- # 14:25:00, the backup is guaranteed to contain all data committed to
756
- # the table up to 14:24:00, and data committed after 14:26:00 will not
757
- # be. The backup may or may not contain data modifications made between
758
- # 14:24:00 and 14:26:00. On-Demand Backup does not support causal
759
- # consistency.
750
+ # throughput on the table.
751
+ #
752
+ # If you submit a backup request on 2018-12-14 at 14:25:00, the backup
753
+ # is guaranteed to contain all data committed to the table up to
754
+ # 14:24:00, and data committed after 14:26:00 will not be. The backup
755
+ # may or may not contain data modifications made between 14:24:00 and
756
+ # 14:26:00. On-Demand Backup does not support causal consistency.
760
757
  #
761
758
  # Along with data, the following are also included on the backups:
762
759
  #
@@ -1044,6 +1041,9 @@ module Aws::DynamoDB
1044
1041
  # * `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the
1045
1042
  # item are written to the stream.
1046
1043
  #
1044
+ # @option params [Types::SSESpecification] :sse_specification
1045
+ # Represents the settings used to enable server-side encryption.
1046
+ #
1047
1047
  # @return [Types::CreateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1048
1048
  #
1049
1049
  # * {Types::CreateTableOutput#table_description #table_description} => Types::TableDescription
@@ -1174,6 +1174,9 @@ module Aws::DynamoDB
1174
1174
  # stream_enabled: false,
1175
1175
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
1176
1176
  # },
1177
+ # sse_specification: {
1178
+ # enabled: false, # required
1179
+ # },
1177
1180
  # })
1178
1181
  #
1179
1182
  # @example Response structure
@@ -1233,6 +1236,7 @@ module Aws::DynamoDB
1233
1236
  # resp.table_description.restore_summary.source_table_arn #=> String
1234
1237
  # resp.table_description.restore_summary.restore_date_time #=> Time
1235
1238
  # resp.table_description.restore_summary.restore_in_progress #=> Boolean
1239
+ # resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1236
1240
  #
1237
1241
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
1238
1242
  #
@@ -1300,6 +1304,7 @@ module Aws::DynamoDB
1300
1304
  # resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1301
1305
  # resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
1302
1306
  # resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
1307
+ # resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1303
1308
  #
1304
1309
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup AWS API Documentation
1305
1310
  #
@@ -1696,6 +1701,7 @@ module Aws::DynamoDB
1696
1701
  # resp.table_description.restore_summary.source_table_arn #=> String
1697
1702
  # resp.table_description.restore_summary.restore_date_time #=> Time
1698
1703
  # resp.table_description.restore_summary.restore_in_progress #=> Boolean
1704
+ # resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1699
1705
  #
1700
1706
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
1701
1707
  #
@@ -1764,6 +1770,7 @@ module Aws::DynamoDB
1764
1770
  # resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1765
1771
  # resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
1766
1772
  # resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
1773
+ # resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1767
1774
  #
1768
1775
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup AWS API Documentation
1769
1776
  #
@@ -1808,7 +1815,7 @@ module Aws::DynamoDB
1808
1815
  req.send_request(options)
1809
1816
  end
1810
1817
 
1811
- # Returns information about the global table.
1818
+ # Returns information about the specified global table.
1812
1819
  #
1813
1820
  # @option params [required, String] :global_table_name
1814
1821
  # The name of the global table.
@@ -2078,6 +2085,7 @@ module Aws::DynamoDB
2078
2085
  # resp.table.restore_summary.source_table_arn #=> String
2079
2086
  # resp.table.restore_summary.restore_date_time #=> Time
2080
2087
  # resp.table.restore_summary.restore_in_progress #=> Boolean
2088
+ # resp.table.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
2081
2089
  #
2082
2090
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable AWS API Documentation
2083
2091
  #
@@ -2381,8 +2389,7 @@ module Aws::DynamoDB
2381
2389
  req.send_request(options)
2382
2390
  end
2383
2391
 
2384
- # Lists all the global tables. Only those global tables that have
2385
- # replicas in the region specified as input are returned.
2392
+ # Lists all global tables that have a replica in the specified region.
2386
2393
  #
2387
2394
  # @option params [String] :exclusive_start_global_table_name
2388
2395
  # The first global table name that this operation will evaluate.
@@ -3131,11 +3138,12 @@ module Aws::DynamoDB
3131
3138
  # retrieved by the `Query` action.
3132
3139
  #
3133
3140
  # The condition must perform an equality test on a single partition key
3134
- # value. The condition can also perform one of several comparison tests
3135
- # on a single sort key value. `Query` can use `KeyConditionExpression`
3136
- # to retrieve one item with a given partition key value and sort key
3137
- # value, or several items that have the same partition key value but
3138
- # different sort key values.
3141
+ # value.
3142
+ #
3143
+ # The condition can optionally perform one of several comparison tests
3144
+ # on a single sort key value. This allows `Query` to retrieve one item
3145
+ # with a given partition key value and sort key value, or several items
3146
+ # that have the same partition key value but different sort key values.
3139
3147
  #
3140
3148
  # The partition key equality test is required, and must be specified in
3141
3149
  # the following format:
@@ -3406,6 +3414,8 @@ module Aws::DynamoDB
3406
3414
  #
3407
3415
  # * Tags
3408
3416
  #
3417
+ # * Stream settings
3418
+ #
3409
3419
  # * Time to Live (TTL) settings
3410
3420
  #
3411
3421
  # @option params [required, String] :target_table_name
@@ -3482,6 +3492,7 @@ module Aws::DynamoDB
3482
3492
  # resp.table_description.restore_summary.source_table_arn #=> String
3483
3493
  # resp.table_description.restore_summary.restore_date_time #=> Time
3484
3494
  # resp.table_description.restore_summary.restore_in_progress #=> Boolean
3495
+ # resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
3485
3496
  #
3486
3497
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
3487
3498
  #
@@ -4013,9 +4024,17 @@ module Aws::DynamoDB
4013
4024
  req.send_request(options)
4014
4025
  end
4015
4026
 
4016
- # Adds or removes replicas to the specified global table. The global
4017
- # table should already exist to be able to use this operation.
4018
- # Currently, the replica to be added should be empty.
4027
+ # Adds or removes replicas in the specified global table. The global
4028
+ # table must already exist to be able to use this operation. Any replica
4029
+ # to be added must be empty, must have the same name as the global
4030
+ # table, must have the same key schema, must have DynamoDB Streams
4031
+ # enabled, and cannot have any local secondary indexes (LSIs).
4032
+ #
4033
+ # <note markdown="1"> Although you can use `UpdateGlobalTable` to add replicas and remove
4034
+ # replicas in a single request, for simplicity we recommend that you
4035
+ # issue separate requests for adding or removing replicas.
4036
+ #
4037
+ # </note>
4019
4038
  #
4020
4039
  # @option params [required, String] :global_table_name
4021
4040
  # The global table name.
@@ -4687,6 +4706,7 @@ module Aws::DynamoDB
4687
4706
  # resp.table_description.restore_summary.source_table_arn #=> String
4688
4707
  # resp.table_description.restore_summary.restore_date_time #=> Time
4689
4708
  # resp.table_description.restore_summary.restore_in_progress #=> Boolean
4709
+ # resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
4690
4710
  #
4691
4711
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
4692
4712
  #
@@ -4782,7 +4802,7 @@ module Aws::DynamoDB
4782
4802
  params: params,
4783
4803
  config: config)
4784
4804
  context[:gem_name] = 'aws-sdk-dynamodb'
4785
- context[:gem_version] = '1.3.0'
4805
+ context[:gem_version] = '1.4.0'
4786
4806
  Seahorse::Client::Request.new(handlers, context)
4787
4807
  end
4788
4808
 
@@ -194,6 +194,10 @@ module Aws::DynamoDB
194
194
  ReturnConsumedCapacity = Shapes::StringShape.new(name: 'ReturnConsumedCapacity')
195
195
  ReturnItemCollectionMetrics = Shapes::StringShape.new(name: 'ReturnItemCollectionMetrics')
196
196
  ReturnValue = Shapes::StringShape.new(name: 'ReturnValue')
197
+ SSEDescription = Shapes::StructureShape.new(name: 'SSEDescription')
198
+ SSEEnabled = Shapes::BooleanShape.new(name: 'SSEEnabled')
199
+ SSESpecification = Shapes::StructureShape.new(name: 'SSESpecification')
200
+ SSEStatus = Shapes::StringShape.new(name: 'SSEStatus')
197
201
  ScalarAttributeType = Shapes::StringShape.new(name: 'ScalarAttributeType')
198
202
  ScanInput = Shapes::StructureShape.new(name: 'ScanInput')
199
203
  ScanOutput = Shapes::StructureShape.new(name: 'ScanOutput')
@@ -382,6 +386,7 @@ module Aws::DynamoDB
382
386
  CreateTableInput.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
383
387
  CreateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
384
388
  CreateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
389
+ CreateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
385
390
  CreateTableInput.struct_class = Types::CreateTableInput
386
391
 
387
392
  CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
@@ -742,6 +747,12 @@ module Aws::DynamoDB
742
747
  RestoreTableFromBackupOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
743
748
  RestoreTableFromBackupOutput.struct_class = Types::RestoreTableFromBackupOutput
744
749
 
750
+ SSEDescription.add_member(:status, Shapes::ShapeRef.new(shape: SSEStatus, location_name: "Status"))
751
+ SSEDescription.struct_class = Types::SSEDescription
752
+
753
+ SSESpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: SSEEnabled, required: true, location_name: "Enabled"))
754
+ SSESpecification.struct_class = Types::SSESpecification
755
+
745
756
  ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
746
757
  ScanInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
747
758
  ScanInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
@@ -784,6 +795,7 @@ module Aws::DynamoDB
784
795
  SourceTableFeatureDetails.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexes, location_name: "GlobalSecondaryIndexes"))
785
796
  SourceTableFeatureDetails.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamDescription"))
786
797
  SourceTableFeatureDetails.add_member(:time_to_live_description, Shapes::ShapeRef.new(shape: TimeToLiveDescription, location_name: "TimeToLiveDescription"))
798
+ SourceTableFeatureDetails.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
787
799
  SourceTableFeatureDetails.struct_class = Types::SourceTableFeatureDetails
788
800
 
789
801
  StreamSpecification.add_member(:stream_enabled, Shapes::ShapeRef.new(shape: StreamEnabled, location_name: "StreamEnabled"))
@@ -808,6 +820,7 @@ module Aws::DynamoDB
808
820
  TableDescription.add_member(:latest_stream_label, Shapes::ShapeRef.new(shape: String, location_name: "LatestStreamLabel"))
809
821
  TableDescription.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "LatestStreamArn"))
810
822
  TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
823
+ TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
811
824
  TableDescription.struct_class = Types::TableDescription
812
825
 
813
826
  TableNameList.member = Shapes::ShapeRef.new(shape: TableName)
@@ -288,6 +288,9 @@ module Aws::DynamoDB
288
288
  # stream_enabled: false,
289
289
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
290
290
  # },
291
+ # sse_specification: {
292
+ # enabled: false, # required
293
+ # },
291
294
  # })
292
295
  # @param [Hash] options ({})
293
296
  # @option options [required, Array<Types::AttributeDefinition>] :attribute_definitions
@@ -451,6 +454,8 @@ module Aws::DynamoDB
451
454
  #
452
455
  # * `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the
453
456
  # item are written to the stream.
457
+ # @option options [Types::SSESpecification] :sse_specification
458
+ # Represents the settings used to enable server-side encryption.
454
459
  # @return [Table]
455
460
  def create_table(options = {})
456
461
  resp = @client.create_table(options)
@@ -297,6 +297,13 @@ module Aws::DynamoDB
297
297
  data[:restore_summary]
298
298
  end
299
299
 
300
+ # The description of the server-side encryption status on the specified
301
+ # table.
302
+ # @return [Types::SSEDescription]
303
+ def sse_description
304
+ data[:sse_description]
305
+ end
306
+
300
307
  # @!endgroup
301
308
 
302
309
  # @return [Client]
@@ -1187,11 +1194,12 @@ module Aws::DynamoDB
1187
1194
  # retrieved by the `Query` action.
1188
1195
  #
1189
1196
  # The condition must perform an equality test on a single partition key
1190
- # value. The condition can also perform one of several comparison tests
1191
- # on a single sort key value. `Query` can use `KeyConditionExpression`
1192
- # to retrieve one item with a given partition key value and sort key
1193
- # value, or several items that have the same partition key value but
1194
- # different sort key values.
1197
+ # value.
1198
+ #
1199
+ # The condition can optionally perform one of several comparison tests
1200
+ # on a single sort key value. This allows `Query` to retrieve one item
1201
+ # with a given partition key value and sort key value, or several items
1202
+ # that have the same partition key value but different sort key values.
1195
1203
  #
1196
1204
  # The partition key equality test is required, and must be specified in
1197
1205
  # the following format:
@@ -185,7 +185,7 @@ module Aws::DynamoDB
185
185
  # Each attribute value is described as a name-value pair. The name is
186
186
  # the data type, and the value is the data itself.
187
187
  #
188
- # For more information, see [Data TYpes][1] in the *Amazon DynamoDB
188
+ # For more information, see [Data Types][1] in the *Amazon DynamoDB
189
189
  # Developer Guide*.
190
190
  #
191
191
  #
@@ -1277,6 +1277,9 @@ module Aws::DynamoDB
1277
1277
  # stream_enabled: false,
1278
1278
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
1279
1279
  # },
1280
+ # sse_specification: {
1281
+ # enabled: false, # required
1282
+ # },
1280
1283
  # }
1281
1284
  #
1282
1285
  # @!attribute [rw] attribute_definitions
@@ -1456,6 +1459,10 @@ module Aws::DynamoDB
1456
1459
  # the item are written to the stream.
1457
1460
  # @return [Types::StreamSpecification]
1458
1461
  #
1462
+ # @!attribute [rw] sse_specification
1463
+ # Represents the settings used to enable server-side encryption.
1464
+ # @return [Types::SSESpecification]
1465
+ #
1459
1466
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
1460
1467
  #
1461
1468
  class CreateTableInput < Struct.new(
@@ -1465,7 +1472,8 @@ module Aws::DynamoDB
1465
1472
  :local_secondary_indexes,
1466
1473
  :global_secondary_indexes,
1467
1474
  :provisioned_throughput,
1468
- :stream_specification)
1475
+ :stream_specification,
1476
+ :sse_specification)
1469
1477
  include Aws::Structure
1470
1478
  end
1471
1479
 
@@ -4243,11 +4251,13 @@ module Aws::DynamoDB
4243
4251
  # retrieved by the `Query` action.
4244
4252
  #
4245
4253
  # The condition must perform an equality test on a single partition
4246
- # key value. The condition can also perform one of several comparison
4247
- # tests on a single sort key value. `Query` can use
4248
- # `KeyConditionExpression` to retrieve one item with a given partition
4249
- # key value and sort key value, or several items that have the same
4250
- # partition key value but different sort key values.
4254
+ # key value.
4255
+ #
4256
+ # The condition can optionally perform one of several comparison tests
4257
+ # on a single sort key value. This allows `Query` to retrieve one item
4258
+ # with a given partition key value and sort key value, or several
4259
+ # items that have the same partition key value but different sort key
4260
+ # values.
4251
4261
  #
4252
4262
  # The partition key equality test is required, and must be specified
4253
4263
  # in the following format:
@@ -4633,6 +4643,49 @@ module Aws::DynamoDB
4633
4643
  include Aws::Structure
4634
4644
  end
4635
4645
 
4646
+ # The description of the server-side encryption status on the specified
4647
+ # table.
4648
+ #
4649
+ # @!attribute [rw] status
4650
+ # The current state of server-side encryption:
4651
+ #
4652
+ # * `ENABLING` - Server-side encryption is being enabled.
4653
+ #
4654
+ # * `ENABLED` - Server-side encryption is enabled.
4655
+ #
4656
+ # * `DISABLING` - Server-side encryption is being disabled.
4657
+ #
4658
+ # * `DISABLED` - Server-side encryption is disabled.
4659
+ # @return [String]
4660
+ #
4661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
4662
+ #
4663
+ class SSEDescription < Struct.new(
4664
+ :status)
4665
+ include Aws::Structure
4666
+ end
4667
+
4668
+ # Represents the settings used to enable server-side encryption.
4669
+ #
4670
+ # @note When making an API call, you may pass SSESpecification
4671
+ # data as a hash:
4672
+ #
4673
+ # {
4674
+ # enabled: false, # required
4675
+ # }
4676
+ #
4677
+ # @!attribute [rw] enabled
4678
+ # Indicates whether server-side encryption is enabled (true) or
4679
+ # disabled (false) on the table.
4680
+ # @return [Boolean]
4681
+ #
4682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
4683
+ #
4684
+ class SSESpecification < Struct.new(
4685
+ :enabled)
4686
+ include Aws::Structure
4687
+ end
4688
+
4636
4689
  # Represents the input of a `Scan` operation.
4637
4690
  #
4638
4691
  # @note When making an API call, you may pass ScanInput
@@ -5154,13 +5207,19 @@ module Aws::DynamoDB
5154
5207
  # Time to Live settings on the table when the backup was created.
5155
5208
  # @return [Types::TimeToLiveDescription]
5156
5209
  #
5210
+ # @!attribute [rw] sse_description
5211
+ # The description of the server-side encryption status on the table
5212
+ # when the backup was created.
5213
+ # @return [Types::SSEDescription]
5214
+ #
5157
5215
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SourceTableFeatureDetails AWS API Documentation
5158
5216
  #
5159
5217
  class SourceTableFeatureDetails < Struct.new(
5160
5218
  :local_secondary_indexes,
5161
5219
  :global_secondary_indexes,
5162
5220
  :stream_description,
5163
- :time_to_live_description)
5221
+ :time_to_live_description,
5222
+ :sse_description)
5164
5223
  include Aws::Structure
5165
5224
  end
5166
5225
 
@@ -5449,6 +5508,11 @@ module Aws::DynamoDB
5449
5508
  # Contains details for the restore.
5450
5509
  # @return [Types::RestoreSummary]
5451
5510
  #
5511
+ # @!attribute [rw] sse_description
5512
+ # The description of the server-side encryption status on the
5513
+ # specified table.
5514
+ # @return [Types::SSEDescription]
5515
+ #
5452
5516
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
5453
5517
  #
5454
5518
  class TableDescription < Struct.new(
@@ -5467,7 +5531,8 @@ module Aws::DynamoDB
5467
5531
  :stream_specification,
5468
5532
  :latest_stream_label,
5469
5533
  :latest_stream_arn,
5470
- :restore_summary)
5534
+ :restore_summary,
5535
+ :sse_description)
5471
5536
  include Aws::Structure
5472
5537
  end
5473
5538
 
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.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2018-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core