aws-sdk-dynamodb 1.10.0 → 1.11.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 +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +26 -16
- data/lib/aws-sdk-dynamodb/client_api.rb +5 -1
- data/lib/aws-sdk-dynamodb/resource.rb +3 -1
- data/lib/aws-sdk-dynamodb/table.rb +7 -0
- data/lib/aws-sdk-dynamodb/types.rb +54 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e5e93546ebf69bf45feae291acbb308e1f2a30a
|
4
|
+
data.tar.gz: b385496a5361219e7882cd05da7791b00a6a3700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b197e3da299bfb1c8dade69e3a63f49dfa1119dc7cd2ed070de1874e58ee8e57ea5f2642029812f0b657acc1ca7ca73bc84c921e4358ebdccdf567fcc8d0c682
|
7
|
+
data.tar.gz: 369a21326d4e3d96f2269335b27609d987c3056ac9476a0b362f6d79b22d8146c241582eb2638de8c35533f96c0d6659fab14c1c7f22645413ff500c0b4dff45
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -1210,7 +1210,9 @@ module Aws::DynamoDB
|
|
1210
1210
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
1211
1211
|
# },
|
1212
1212
|
# sse_specification: {
|
1213
|
-
# enabled: false,
|
1213
|
+
# enabled: false,
|
1214
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
1215
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
1214
1216
|
# },
|
1215
1217
|
# })
|
1216
1218
|
#
|
@@ -1271,7 +1273,7 @@ module Aws::DynamoDB
|
|
1271
1273
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1272
1274
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
1273
1275
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
1274
|
-
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1276
|
+
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1275
1277
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1276
1278
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1277
1279
|
#
|
@@ -1343,7 +1345,7 @@ module Aws::DynamoDB
|
|
1343
1345
|
# 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"
|
1344
1346
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
1345
1347
|
# resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
|
1346
|
-
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1348
|
+
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1347
1349
|
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1348
1350
|
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1349
1351
|
#
|
@@ -1742,7 +1744,7 @@ module Aws::DynamoDB
|
|
1742
1744
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1743
1745
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
1744
1746
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
1745
|
-
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1747
|
+
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1746
1748
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1747
1749
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1748
1750
|
#
|
@@ -1815,7 +1817,7 @@ module Aws::DynamoDB
|
|
1815
1817
|
# 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"
|
1816
1818
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
1817
1819
|
# resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
|
1818
|
-
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1820
|
+
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1819
1821
|
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1820
1822
|
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1821
1823
|
#
|
@@ -2223,7 +2225,7 @@ module Aws::DynamoDB
|
|
2223
2225
|
# resp.table.restore_summary.source_table_arn #=> String
|
2224
2226
|
# resp.table.restore_summary.restore_date_time #=> Time
|
2225
2227
|
# resp.table.restore_summary.restore_in_progress #=> Boolean
|
2226
|
-
# resp.table.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2228
|
+
# resp.table.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
2227
2229
|
# resp.table.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
2228
2230
|
# resp.table.sse_description.kms_master_key_arn #=> String
|
2229
2231
|
#
|
@@ -2476,7 +2478,7 @@ module Aws::DynamoDB
|
|
2476
2478
|
# You can call `ListBackups` a maximum of 5 times per second.
|
2477
2479
|
#
|
2478
2480
|
# @option params [String] :table_name
|
2479
|
-
# The backups from the table specified by TableName are listed.
|
2481
|
+
# The backups from the table specified by `TableName` are listed.
|
2480
2482
|
#
|
2481
2483
|
# @option params [Integer] :limit
|
2482
2484
|
# Maximum number of backups to return at once.
|
@@ -2497,15 +2499,15 @@ module Aws::DynamoDB
|
|
2497
2499
|
# fetch the next page of results.
|
2498
2500
|
#
|
2499
2501
|
# @option params [String] :backup_type
|
2500
|
-
# The backups from the table specified by BackupType are listed.
|
2502
|
+
# The backups from the table specified by `BackupType` are listed.
|
2501
2503
|
#
|
2502
|
-
# Where BackupType can be:
|
2504
|
+
# Where `BackupType` can be:
|
2503
2505
|
#
|
2504
|
-
# * `USER` - On
|
2506
|
+
# * `USER` - On-demand backup created by you.
|
2505
2507
|
#
|
2506
|
-
# * `SYSTEM` - On
|
2508
|
+
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
2507
2509
|
#
|
2508
|
-
# * `ALL` - All types of on
|
2510
|
+
# * `ALL` - All types of on-demand backups (USER and SYSTEM).
|
2509
2511
|
#
|
2510
2512
|
# @return [Types::ListBackupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2511
2513
|
#
|
@@ -3651,7 +3653,7 @@ module Aws::DynamoDB
|
|
3651
3653
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
3652
3654
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
3653
3655
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
3654
|
-
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3656
|
+
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
3655
3657
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
3656
3658
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
3657
3659
|
#
|
@@ -3788,7 +3790,7 @@ module Aws::DynamoDB
|
|
3788
3790
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
3789
3791
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
3790
3792
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
3791
|
-
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3793
|
+
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
3792
3794
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
3793
3795
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
3794
3796
|
#
|
@@ -5078,6 +5080,9 @@ module Aws::DynamoDB
|
|
5078
5080
|
#
|
5079
5081
|
# </note>
|
5080
5082
|
#
|
5083
|
+
# @option params [Types::SSESpecification] :sse_specification
|
5084
|
+
# The new server-side encryption settings for the specified table.
|
5085
|
+
#
|
5081
5086
|
# @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5082
5087
|
#
|
5083
5088
|
# * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -5181,6 +5186,11 @@ module Aws::DynamoDB
|
|
5181
5186
|
# stream_enabled: false,
|
5182
5187
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
5183
5188
|
# },
|
5189
|
+
# sse_specification: {
|
5190
|
+
# enabled: false,
|
5191
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
5192
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
5193
|
+
# },
|
5184
5194
|
# })
|
5185
5195
|
#
|
5186
5196
|
# @example Response structure
|
@@ -5240,7 +5250,7 @@ module Aws::DynamoDB
|
|
5240
5250
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
5241
5251
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
5242
5252
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
5243
|
-
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
5253
|
+
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
5244
5254
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
5245
5255
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
5246
5256
|
#
|
@@ -5338,7 +5348,7 @@ module Aws::DynamoDB
|
|
5338
5348
|
params: params,
|
5339
5349
|
config: config)
|
5340
5350
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
5341
|
-
context[:gem_version] = '1.
|
5351
|
+
context[:gem_version] = '1.11.0'
|
5342
5352
|
Seahorse::Client::Request.new(handlers, context)
|
5343
5353
|
end
|
5344
5354
|
|
@@ -146,6 +146,7 @@ module Aws::DynamoDB
|
|
146
146
|
ItemCount = Shapes::IntegerShape.new(name: 'ItemCount')
|
147
147
|
ItemList = Shapes::ListShape.new(name: 'ItemList')
|
148
148
|
KMSMasterKeyArn = Shapes::StringShape.new(name: 'KMSMasterKeyArn')
|
149
|
+
KMSMasterKeyId = Shapes::StringShape.new(name: 'KMSMasterKeyId')
|
149
150
|
Key = Shapes::MapShape.new(name: 'Key')
|
150
151
|
KeyConditions = Shapes::MapShape.new(name: 'KeyConditions')
|
151
152
|
KeyExpression = Shapes::StringShape.new(name: 'KeyExpression')
|
@@ -900,7 +901,9 @@ module Aws::DynamoDB
|
|
900
901
|
SSEDescription.add_member(:kms_master_key_arn, Shapes::ShapeRef.new(shape: KMSMasterKeyArn, location_name: "KMSMasterKeyArn"))
|
901
902
|
SSEDescription.struct_class = Types::SSEDescription
|
902
903
|
|
903
|
-
SSESpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: SSEEnabled,
|
904
|
+
SSESpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: SSEEnabled, location_name: "Enabled"))
|
905
|
+
SSESpecification.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SSEType"))
|
906
|
+
SSESpecification.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
904
907
|
SSESpecification.struct_class = Types::SSESpecification
|
905
908
|
|
906
909
|
ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
@@ -1052,6 +1055,7 @@ module Aws::DynamoDB
|
|
1052
1055
|
UpdateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
|
1053
1056
|
UpdateTableInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
|
1054
1057
|
UpdateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
1058
|
+
UpdateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
1055
1059
|
UpdateTableInput.struct_class = Types::UpdateTableInput
|
1056
1060
|
|
1057
1061
|
UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -289,7 +289,9 @@ module Aws::DynamoDB
|
|
289
289
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
290
290
|
# },
|
291
291
|
# sse_specification: {
|
292
|
-
# enabled: false,
|
292
|
+
# enabled: false,
|
293
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
294
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
293
295
|
# },
|
294
296
|
# })
|
295
297
|
# @param [Hash] options ({})
|
@@ -1715,6 +1715,11 @@ module Aws::DynamoDB
|
|
1715
1715
|
# stream_enabled: false,
|
1716
1716
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
1717
1717
|
# },
|
1718
|
+
# sse_specification: {
|
1719
|
+
# enabled: false,
|
1720
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
1721
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
1722
|
+
# },
|
1718
1723
|
# })
|
1719
1724
|
# @param [Hash] options ({})
|
1720
1725
|
# @option options [Array<Types::AttributeDefinition>] :attribute_definitions
|
@@ -1750,6 +1755,8 @@ module Aws::DynamoDB
|
|
1750
1755
|
# disable a stream on a table which does not have a stream.
|
1751
1756
|
#
|
1752
1757
|
# </note>
|
1758
|
+
# @option options [Types::SSESpecification] :sse_specification
|
1759
|
+
# The new server-side encryption settings for the specified table.
|
1753
1760
|
# @return [Table]
|
1754
1761
|
def update(options = {})
|
1755
1762
|
options = options.merge(table_name: @name)
|
@@ -569,9 +569,9 @@ module Aws::DynamoDB
|
|
569
569
|
# @!attribute [rw] backup_type
|
570
570
|
# BackupType:
|
571
571
|
#
|
572
|
-
# * `USER` - On
|
572
|
+
# * `USER` - On-demand backup created by you.
|
573
573
|
#
|
574
|
-
# * `SYSTEM` - On
|
574
|
+
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
575
575
|
# @return [String]
|
576
576
|
#
|
577
577
|
# @!attribute [rw] backup_creation_date_time
|
@@ -580,8 +580,8 @@ module Aws::DynamoDB
|
|
580
580
|
# @return [Time]
|
581
581
|
#
|
582
582
|
# @!attribute [rw] backup_expiry_date_time
|
583
|
-
# Time at which the automatic on
|
584
|
-
# will expire. This `SYSTEM` on
|
583
|
+
# Time at which the automatic on-demand backup created by DynamoDB
|
584
|
+
# will expire. This `SYSTEM` on-demand backup expires automatically 35
|
585
585
|
# days after its creation.
|
586
586
|
# @return [Time]
|
587
587
|
#
|
@@ -625,8 +625,8 @@ module Aws::DynamoDB
|
|
625
625
|
# @return [Time]
|
626
626
|
#
|
627
627
|
# @!attribute [rw] backup_expiry_date_time
|
628
|
-
# Time at which the automatic on
|
629
|
-
# will expire. This `SYSTEM` on
|
628
|
+
# Time at which the automatic on-demand backup created by DynamoDB
|
629
|
+
# will expire. This `SYSTEM` on-demand backup expires automatically 35
|
630
630
|
# days after its creation.
|
631
631
|
# @return [Time]
|
632
632
|
#
|
@@ -638,9 +638,9 @@ module Aws::DynamoDB
|
|
638
638
|
# @!attribute [rw] backup_type
|
639
639
|
# BackupType:
|
640
640
|
#
|
641
|
-
# * `USER` - On
|
641
|
+
# * `USER` - On-demand backup created by you.
|
642
642
|
#
|
643
|
-
# * `SYSTEM` - On
|
643
|
+
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
644
644
|
# @return [String]
|
645
645
|
#
|
646
646
|
# @!attribute [rw] backup_size_bytes
|
@@ -1327,7 +1327,7 @@ module Aws::DynamoDB
|
|
1327
1327
|
# on the table.
|
1328
1328
|
#
|
1329
1329
|
# @!attribute [rw] continuous_backups_status
|
1330
|
-
# `ContinuousBackupsStatus` can be one of the following states
|
1330
|
+
# `ContinuousBackupsStatus` can be one of the following states:
|
1331
1331
|
# ENABLED, DISABLED
|
1332
1332
|
# @return [String]
|
1333
1333
|
#
|
@@ -1560,7 +1560,9 @@ module Aws::DynamoDB
|
|
1560
1560
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
1561
1561
|
# },
|
1562
1562
|
# sse_specification: {
|
1563
|
-
# enabled: false,
|
1563
|
+
# enabled: false,
|
1564
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
1565
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
1564
1566
|
# },
|
1565
1567
|
# }
|
1566
1568
|
#
|
@@ -3518,7 +3520,7 @@ module Aws::DynamoDB
|
|
3518
3520
|
# }
|
3519
3521
|
#
|
3520
3522
|
# @!attribute [rw] table_name
|
3521
|
-
# The backups from the table specified by TableName are listed.
|
3523
|
+
# The backups from the table specified by `TableName` are listed.
|
3522
3524
|
# @return [String]
|
3523
3525
|
#
|
3524
3526
|
# @!attribute [rw] limit
|
@@ -3544,15 +3546,15 @@ module Aws::DynamoDB
|
|
3544
3546
|
# @return [String]
|
3545
3547
|
#
|
3546
3548
|
# @!attribute [rw] backup_type
|
3547
|
-
# The backups from the table specified by BackupType are listed.
|
3549
|
+
# The backups from the table specified by `BackupType` are listed.
|
3548
3550
|
#
|
3549
|
-
# Where BackupType can be:
|
3551
|
+
# Where `BackupType` can be:
|
3550
3552
|
#
|
3551
|
-
# * `USER` - On
|
3553
|
+
# * `USER` - On-demand backup created by you.
|
3552
3554
|
#
|
3553
|
-
# * `SYSTEM` - On
|
3555
|
+
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
3554
3556
|
#
|
3555
|
-
# * `ALL` - All types of on
|
3557
|
+
# * `ALL` - All types of on-demand backups (USER and SYSTEM).
|
3556
3558
|
# @return [String]
|
3557
3559
|
#
|
3558
3560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsInput AWS API Documentation
|
@@ -5403,6 +5405,8 @@ module Aws::DynamoDB
|
|
5403
5405
|
# * `DISABLING` - Server-side encryption is being disabled.
|
5404
5406
|
#
|
5405
5407
|
# * `DISABLED` - Server-side encryption is disabled.
|
5408
|
+
#
|
5409
|
+
# * `UPDATING` - Server-side encryption is being updated.
|
5406
5410
|
# @return [String]
|
5407
5411
|
#
|
5408
5412
|
# @!attribute [rw] sse_type
|
@@ -5433,7 +5437,9 @@ module Aws::DynamoDB
|
|
5433
5437
|
# data as a hash:
|
5434
5438
|
#
|
5435
5439
|
# {
|
5436
|
-
# enabled: false,
|
5440
|
+
# enabled: false,
|
5441
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
5442
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
5437
5443
|
# }
|
5438
5444
|
#
|
5439
5445
|
# @!attribute [rw] enabled
|
@@ -5441,10 +5447,29 @@ module Aws::DynamoDB
|
|
5441
5447
|
# disabled (false) on the table.
|
5442
5448
|
# @return [Boolean]
|
5443
5449
|
#
|
5450
|
+
# @!attribute [rw] sse_type
|
5451
|
+
# Server-side encryption type:
|
5452
|
+
#
|
5453
|
+
# * `AES256` - Server-side encryption which uses the AES256 algorithm.
|
5454
|
+
#
|
5455
|
+
# * `KMS` - Server-side encryption which uses AWS Key Management
|
5456
|
+
# Service. (default)
|
5457
|
+
# @return [String]
|
5458
|
+
#
|
5459
|
+
# @!attribute [rw] kms_master_key_id
|
5460
|
+
# The KMS Master Key (CMK) which should be used for the KMS
|
5461
|
+
# encryption. To specify a CMK, use its key ID, Amazon Resource Name
|
5462
|
+
# (ARN), alias name, or alias ARN. Note that you should only provide
|
5463
|
+
# this parameter if the key is different from the default DynamoDB KMS
|
5464
|
+
# Master Key alias/aws/dynamodb.
|
5465
|
+
# @return [String]
|
5466
|
+
#
|
5444
5467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
|
5445
5468
|
#
|
5446
5469
|
class SSESpecification < Struct.new(
|
5447
|
-
:enabled
|
5470
|
+
:enabled,
|
5471
|
+
:sse_type,
|
5472
|
+
:kms_master_key_id)
|
5448
5473
|
include Aws::Structure
|
5449
5474
|
end
|
5450
5475
|
|
@@ -7170,6 +7195,11 @@ module Aws::DynamoDB
|
|
7170
7195
|
# stream_enabled: false,
|
7171
7196
|
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
7172
7197
|
# },
|
7198
|
+
# sse_specification: {
|
7199
|
+
# enabled: false,
|
7200
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
7201
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
7202
|
+
# },
|
7173
7203
|
# }
|
7174
7204
|
#
|
7175
7205
|
# @!attribute [rw] attribute_definitions
|
@@ -7217,6 +7247,10 @@ module Aws::DynamoDB
|
|
7217
7247
|
# </note>
|
7218
7248
|
# @return [Types::StreamSpecification]
|
7219
7249
|
#
|
7250
|
+
# @!attribute [rw] sse_specification
|
7251
|
+
# The new server-side encryption settings for the specified table.
|
7252
|
+
# @return [Types::SSESpecification]
|
7253
|
+
#
|
7220
7254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
|
7221
7255
|
#
|
7222
7256
|
class UpdateTableInput < Struct.new(
|
@@ -7224,7 +7258,8 @@ module Aws::DynamoDB
|
|
7224
7258
|
:table_name,
|
7225
7259
|
:provisioned_throughput,
|
7226
7260
|
:global_secondary_index_updates,
|
7227
|
-
:stream_specification
|
7261
|
+
:stream_specification,
|
7262
|
+
:sse_specification)
|
7228
7263
|
include Aws::Structure
|
7229
7264
|
end
|
7230
7265
|
|
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.
|
4
|
+
version: 1.11.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: 2018-08-
|
11
|
+
date: 2018-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|