aws-sdk-dynamodb 1.38.0 → 1.39.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.
@@ -82,6 +82,7 @@ module Aws::DynamoDB
82
82
  CreateGlobalTableInput = Shapes::StructureShape.new(name: 'CreateGlobalTableInput')
83
83
  CreateGlobalTableOutput = Shapes::StructureShape.new(name: 'CreateGlobalTableOutput')
84
84
  CreateReplicaAction = Shapes::StructureShape.new(name: 'CreateReplicaAction')
85
+ CreateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'CreateReplicationGroupMemberAction')
85
86
  CreateTableInput = Shapes::StructureShape.new(name: 'CreateTableInput')
86
87
  CreateTableOutput = Shapes::StructureShape.new(name: 'CreateTableOutput')
87
88
  Date = Shapes::TimestampShape.new(name: 'Date')
@@ -92,6 +93,7 @@ module Aws::DynamoDB
92
93
  DeleteItemInput = Shapes::StructureShape.new(name: 'DeleteItemInput')
93
94
  DeleteItemOutput = Shapes::StructureShape.new(name: 'DeleteItemOutput')
94
95
  DeleteReplicaAction = Shapes::StructureShape.new(name: 'DeleteReplicaAction')
96
+ DeleteReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'DeleteReplicationGroupMemberAction')
95
97
  DeleteRequest = Shapes::StructureShape.new(name: 'DeleteRequest')
96
98
  DeleteTableInput = Shapes::StructureShape.new(name: 'DeleteTableInput')
97
99
  DeleteTableOutput = Shapes::StructureShape.new(name: 'DeleteTableOutput')
@@ -109,6 +111,8 @@ module Aws::DynamoDB
109
111
  DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
110
112
  DescribeTableInput = Shapes::StructureShape.new(name: 'DescribeTableInput')
111
113
  DescribeTableOutput = Shapes::StructureShape.new(name: 'DescribeTableOutput')
114
+ DescribeTableReplicaAutoScalingInput = Shapes::StructureShape.new(name: 'DescribeTableReplicaAutoScalingInput')
115
+ DescribeTableReplicaAutoScalingOutput = Shapes::StructureShape.new(name: 'DescribeTableReplicaAutoScalingOutput')
112
116
  DescribeTimeToLiveInput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveInput')
113
117
  DescribeTimeToLiveOutput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveOutput')
114
118
  Double = Shapes::FloatShape.new(name: 'Double')
@@ -126,6 +130,8 @@ module Aws::DynamoDB
126
130
  GetItemInput = Shapes::StructureShape.new(name: 'GetItemInput')
127
131
  GetItemOutput = Shapes::StructureShape.new(name: 'GetItemOutput')
128
132
  GlobalSecondaryIndex = Shapes::StructureShape.new(name: 'GlobalSecondaryIndex')
133
+ GlobalSecondaryIndexAutoScalingUpdate = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexAutoScalingUpdate')
134
+ GlobalSecondaryIndexAutoScalingUpdateList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexAutoScalingUpdateList')
129
135
  GlobalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexDescription')
130
136
  GlobalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexDescriptionList')
131
137
  GlobalSecondaryIndexInfo = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexInfo')
@@ -210,6 +216,7 @@ module Aws::DynamoDB
210
216
  ProvisionedThroughput = Shapes::StructureShape.new(name: 'ProvisionedThroughput')
211
217
  ProvisionedThroughputDescription = Shapes::StructureShape.new(name: 'ProvisionedThroughputDescription')
212
218
  ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
219
+ ProvisionedThroughputOverride = Shapes::StructureShape.new(name: 'ProvisionedThroughputOverride')
213
220
  Put = Shapes::StructureShape.new(name: 'Put')
214
221
  PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
215
222
  PutItemInputAttributeMap = Shapes::MapShape.new(name: 'PutItemInputAttributeMap')
@@ -220,8 +227,20 @@ module Aws::DynamoDB
220
227
  RegionName = Shapes::StringShape.new(name: 'RegionName')
221
228
  Replica = Shapes::StructureShape.new(name: 'Replica')
222
229
  ReplicaAlreadyExistsException = Shapes::StructureShape.new(name: 'ReplicaAlreadyExistsException')
230
+ ReplicaAutoScalingDescription = Shapes::StructureShape.new(name: 'ReplicaAutoScalingDescription')
231
+ ReplicaAutoScalingDescriptionList = Shapes::ListShape.new(name: 'ReplicaAutoScalingDescriptionList')
232
+ ReplicaAutoScalingUpdate = Shapes::StructureShape.new(name: 'ReplicaAutoScalingUpdate')
233
+ ReplicaAutoScalingUpdateList = Shapes::ListShape.new(name: 'ReplicaAutoScalingUpdateList')
223
234
  ReplicaDescription = Shapes::StructureShape.new(name: 'ReplicaDescription')
224
235
  ReplicaDescriptionList = Shapes::ListShape.new(name: 'ReplicaDescriptionList')
236
+ ReplicaGlobalSecondaryIndex = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndex')
237
+ ReplicaGlobalSecondaryIndexAutoScalingDescription = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndexAutoScalingDescription')
238
+ ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = Shapes::ListShape.new(name: 'ReplicaGlobalSecondaryIndexAutoScalingDescriptionList')
239
+ ReplicaGlobalSecondaryIndexAutoScalingUpdate = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndexAutoScalingUpdate')
240
+ ReplicaGlobalSecondaryIndexAutoScalingUpdateList = Shapes::ListShape.new(name: 'ReplicaGlobalSecondaryIndexAutoScalingUpdateList')
241
+ ReplicaGlobalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndexDescription')
242
+ ReplicaGlobalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'ReplicaGlobalSecondaryIndexDescriptionList')
243
+ ReplicaGlobalSecondaryIndexList = Shapes::ListShape.new(name: 'ReplicaGlobalSecondaryIndexList')
225
244
  ReplicaGlobalSecondaryIndexSettingsDescription = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndexSettingsDescription')
226
245
  ReplicaGlobalSecondaryIndexSettingsDescriptionList = Shapes::ListShape.new(name: 'ReplicaGlobalSecondaryIndexSettingsDescriptionList')
227
246
  ReplicaGlobalSecondaryIndexSettingsUpdate = Shapes::StructureShape.new(name: 'ReplicaGlobalSecondaryIndexSettingsUpdate')
@@ -233,8 +252,12 @@ module Aws::DynamoDB
233
252
  ReplicaSettingsUpdate = Shapes::StructureShape.new(name: 'ReplicaSettingsUpdate')
234
253
  ReplicaSettingsUpdateList = Shapes::ListShape.new(name: 'ReplicaSettingsUpdateList')
235
254
  ReplicaStatus = Shapes::StringShape.new(name: 'ReplicaStatus')
255
+ ReplicaStatusDescription = Shapes::StringShape.new(name: 'ReplicaStatusDescription')
256
+ ReplicaStatusPercentProgress = Shapes::StringShape.new(name: 'ReplicaStatusPercentProgress')
236
257
  ReplicaUpdate = Shapes::StructureShape.new(name: 'ReplicaUpdate')
237
258
  ReplicaUpdateList = Shapes::ListShape.new(name: 'ReplicaUpdateList')
259
+ ReplicationGroupUpdate = Shapes::StructureShape.new(name: 'ReplicationGroupUpdate')
260
+ ReplicationGroupUpdateList = Shapes::ListShape.new(name: 'ReplicationGroupUpdateList')
238
261
  RequestLimitExceeded = Shapes::StructureShape.new(name: 'RequestLimitExceeded')
239
262
  ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
240
263
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -272,6 +295,7 @@ module Aws::DynamoDB
272
295
  StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
273
296
  TableAlreadyExistsException = Shapes::StructureShape.new(name: 'TableAlreadyExistsException')
274
297
  TableArn = Shapes::StringShape.new(name: 'TableArn')
298
+ TableAutoScalingDescription = Shapes::StructureShape.new(name: 'TableAutoScalingDescription')
275
299
  TableCreationDateTime = Shapes::TimestampShape.new(name: 'TableCreationDateTime')
276
300
  TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
277
301
  TableId = Shapes::StringShape.new(name: 'TableId')
@@ -316,8 +340,11 @@ module Aws::DynamoDB
316
340
  UpdateGlobalTableSettingsOutput = Shapes::StructureShape.new(name: 'UpdateGlobalTableSettingsOutput')
317
341
  UpdateItemInput = Shapes::StructureShape.new(name: 'UpdateItemInput')
318
342
  UpdateItemOutput = Shapes::StructureShape.new(name: 'UpdateItemOutput')
343
+ UpdateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'UpdateReplicationGroupMemberAction')
319
344
  UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
320
345
  UpdateTableOutput = Shapes::StructureShape.new(name: 'UpdateTableOutput')
346
+ UpdateTableReplicaAutoScalingInput = Shapes::StructureShape.new(name: 'UpdateTableReplicaAutoScalingInput')
347
+ UpdateTableReplicaAutoScalingOutput = Shapes::StructureShape.new(name: 'UpdateTableReplicaAutoScalingOutput')
321
348
  UpdateTimeToLiveInput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveInput')
322
349
  UpdateTimeToLiveOutput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveOutput')
323
350
  WriteRequest = Shapes::StructureShape.new(name: 'WriteRequest')
@@ -527,6 +554,12 @@ module Aws::DynamoDB
527
554
  CreateReplicaAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
528
555
  CreateReplicaAction.struct_class = Types::CreateReplicaAction
529
556
 
557
+ CreateReplicationGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
558
+ CreateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
559
+ CreateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
560
+ CreateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
561
+ CreateReplicationGroupMemberAction.struct_class = Types::CreateReplicationGroupMemberAction
562
+
530
563
  CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
531
564
  CreateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
532
565
  CreateTableInput.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
@@ -579,6 +612,9 @@ module Aws::DynamoDB
579
612
  DeleteReplicaAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
580
613
  DeleteReplicaAction.struct_class = Types::DeleteReplicaAction
581
614
 
615
+ DeleteReplicationGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
616
+ DeleteReplicationGroupMemberAction.struct_class = Types::DeleteReplicationGroupMemberAction
617
+
582
618
  DeleteRequest.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
583
619
  DeleteRequest.struct_class = Types::DeleteRequest
584
620
 
@@ -632,6 +668,12 @@ module Aws::DynamoDB
632
668
  DescribeTableOutput.add_member(:table, Shapes::ShapeRef.new(shape: TableDescription, location_name: "Table"))
633
669
  DescribeTableOutput.struct_class = Types::DescribeTableOutput
634
670
 
671
+ DescribeTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
672
+ DescribeTableReplicaAutoScalingInput.struct_class = Types::DescribeTableReplicaAutoScalingInput
673
+
674
+ DescribeTableReplicaAutoScalingOutput.add_member(:table_auto_scaling_description, Shapes::ShapeRef.new(shape: TableAutoScalingDescription, location_name: "TableAutoScalingDescription"))
675
+ DescribeTableReplicaAutoScalingOutput.struct_class = Types::DescribeTableReplicaAutoScalingOutput
676
+
635
677
  DescribeTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
636
678
  DescribeTimeToLiveInput.struct_class = Types::DescribeTimeToLiveInput
637
679
 
@@ -687,6 +729,12 @@ module Aws::DynamoDB
687
729
  GlobalSecondaryIndex.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
688
730
  GlobalSecondaryIndex.struct_class = Types::GlobalSecondaryIndex
689
731
 
732
+ GlobalSecondaryIndexAutoScalingUpdate.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
733
+ GlobalSecondaryIndexAutoScalingUpdate.add_member(:provisioned_write_capacity_auto_scaling_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedWriteCapacityAutoScalingUpdate"))
734
+ GlobalSecondaryIndexAutoScalingUpdate.struct_class = Types::GlobalSecondaryIndexAutoScalingUpdate
735
+
736
+ GlobalSecondaryIndexAutoScalingUpdateList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexAutoScalingUpdate)
737
+
690
738
  GlobalSecondaryIndexDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
691
739
  GlobalSecondaryIndexDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
692
740
  GlobalSecondaryIndexDescription.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, location_name: "Projection"))
@@ -902,6 +950,9 @@ module Aws::DynamoDB
902
950
  ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
903
951
  ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
904
952
 
953
+ ProvisionedThroughputOverride.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReadCapacityUnits"))
954
+ ProvisionedThroughputOverride.struct_class = Types::ProvisionedThroughputOverride
955
+
905
956
  Put.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
906
957
  Put.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
907
958
  Put.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
@@ -965,11 +1016,59 @@ module Aws::DynamoDB
965
1016
  ReplicaAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
966
1017
  ReplicaAlreadyExistsException.struct_class = Types::ReplicaAlreadyExistsException
967
1018
 
1019
+ ReplicaAutoScalingDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
1020
+ ReplicaAutoScalingDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexAutoScalingDescriptionList, location_name: "GlobalSecondaryIndexes"))
1021
+ ReplicaAutoScalingDescription.add_member(:replica_provisioned_read_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedReadCapacityAutoScalingSettings"))
1022
+ ReplicaAutoScalingDescription.add_member(:replica_provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedWriteCapacityAutoScalingSettings"))
1023
+ ReplicaAutoScalingDescription.add_member(:replica_status, Shapes::ShapeRef.new(shape: ReplicaStatus, location_name: "ReplicaStatus"))
1024
+ ReplicaAutoScalingDescription.struct_class = Types::ReplicaAutoScalingDescription
1025
+
1026
+ ReplicaAutoScalingDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaAutoScalingDescription)
1027
+
1028
+ ReplicaAutoScalingUpdate.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
1029
+ ReplicaAutoScalingUpdate.add_member(:replica_global_secondary_index_updates, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexAutoScalingUpdateList, location_name: "ReplicaGlobalSecondaryIndexUpdates"))
1030
+ ReplicaAutoScalingUpdate.add_member(:replica_provisioned_read_capacity_auto_scaling_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ReplicaProvisionedReadCapacityAutoScalingUpdate"))
1031
+ ReplicaAutoScalingUpdate.struct_class = Types::ReplicaAutoScalingUpdate
1032
+
1033
+ ReplicaAutoScalingUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaAutoScalingUpdate)
1034
+
968
1035
  ReplicaDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
1036
+ ReplicaDescription.add_member(:replica_status, Shapes::ShapeRef.new(shape: ReplicaStatus, location_name: "ReplicaStatus"))
1037
+ ReplicaDescription.add_member(:replica_status_description, Shapes::ShapeRef.new(shape: ReplicaStatusDescription, location_name: "ReplicaStatusDescription"))
1038
+ ReplicaDescription.add_member(:replica_status_percent_progress, Shapes::ShapeRef.new(shape: ReplicaStatusPercentProgress, location_name: "ReplicaStatusPercentProgress"))
1039
+ ReplicaDescription.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
1040
+ ReplicaDescription.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
1041
+ ReplicaDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexDescriptionList, location_name: "GlobalSecondaryIndexes"))
969
1042
  ReplicaDescription.struct_class = Types::ReplicaDescription
970
1043
 
971
1044
  ReplicaDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaDescription)
972
1045
 
1046
+ ReplicaGlobalSecondaryIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
1047
+ ReplicaGlobalSecondaryIndex.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
1048
+ ReplicaGlobalSecondaryIndex.struct_class = Types::ReplicaGlobalSecondaryIndex
1049
+
1050
+ ReplicaGlobalSecondaryIndexAutoScalingDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
1051
+ ReplicaGlobalSecondaryIndexAutoScalingDescription.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1052
+ ReplicaGlobalSecondaryIndexAutoScalingDescription.add_member(:provisioned_read_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ProvisionedReadCapacityAutoScalingSettings"))
1053
+ ReplicaGlobalSecondaryIndexAutoScalingDescription.add_member(:provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ProvisionedWriteCapacityAutoScalingSettings"))
1054
+ ReplicaGlobalSecondaryIndexAutoScalingDescription.struct_class = Types::ReplicaGlobalSecondaryIndexAutoScalingDescription
1055
+
1056
+ ReplicaGlobalSecondaryIndexAutoScalingDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexAutoScalingDescription)
1057
+
1058
+ ReplicaGlobalSecondaryIndexAutoScalingUpdate.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
1059
+ ReplicaGlobalSecondaryIndexAutoScalingUpdate.add_member(:provisioned_read_capacity_auto_scaling_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedReadCapacityAutoScalingUpdate"))
1060
+ ReplicaGlobalSecondaryIndexAutoScalingUpdate.struct_class = Types::ReplicaGlobalSecondaryIndexAutoScalingUpdate
1061
+
1062
+ ReplicaGlobalSecondaryIndexAutoScalingUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexAutoScalingUpdate)
1063
+
1064
+ ReplicaGlobalSecondaryIndexDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
1065
+ ReplicaGlobalSecondaryIndexDescription.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
1066
+ ReplicaGlobalSecondaryIndexDescription.struct_class = Types::ReplicaGlobalSecondaryIndexDescription
1067
+
1068
+ ReplicaGlobalSecondaryIndexDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexDescription)
1069
+
1070
+ ReplicaGlobalSecondaryIndexList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndex)
1071
+
973
1072
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
974
1073
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
975
1074
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ProvisionedReadCapacityUnits"))
@@ -1018,6 +1117,13 @@ module Aws::DynamoDB
1018
1117
 
1019
1118
  ReplicaUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaUpdate)
1020
1119
 
1120
+ ReplicationGroupUpdate.add_member(:create, Shapes::ShapeRef.new(shape: CreateReplicationGroupMemberAction, location_name: "Create"))
1121
+ ReplicationGroupUpdate.add_member(:update, Shapes::ShapeRef.new(shape: UpdateReplicationGroupMemberAction, location_name: "Update"))
1122
+ ReplicationGroupUpdate.add_member(:delete, Shapes::ShapeRef.new(shape: DeleteReplicationGroupMemberAction, location_name: "Delete"))
1123
+ ReplicationGroupUpdate.struct_class = Types::ReplicationGroupUpdate
1124
+
1125
+ ReplicationGroupUpdateList.member = Shapes::ShapeRef.new(shape: ReplicationGroupUpdate)
1126
+
1021
1127
  RequestLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1022
1128
  RequestLimitExceeded.struct_class = Types::RequestLimitExceeded
1023
1129
 
@@ -1113,7 +1219,7 @@ module Aws::DynamoDB
1113
1219
  SourceTableFeatureDetails.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
1114
1220
  SourceTableFeatureDetails.struct_class = Types::SourceTableFeatureDetails
1115
1221
 
1116
- StreamSpecification.add_member(:stream_enabled, Shapes::ShapeRef.new(shape: StreamEnabled, location_name: "StreamEnabled"))
1222
+ StreamSpecification.add_member(:stream_enabled, Shapes::ShapeRef.new(shape: StreamEnabled, required: true, location_name: "StreamEnabled"))
1117
1223
  StreamSpecification.add_member(:stream_view_type, Shapes::ShapeRef.new(shape: StreamViewType, location_name: "StreamViewType"))
1118
1224
  StreamSpecification.struct_class = Types::StreamSpecification
1119
1225
 
@@ -1122,6 +1228,11 @@ module Aws::DynamoDB
1122
1228
  TableAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1123
1229
  TableAlreadyExistsException.struct_class = Types::TableAlreadyExistsException
1124
1230
 
1231
+ TableAutoScalingDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1232
+ TableAutoScalingDescription.add_member(:table_status, Shapes::ShapeRef.new(shape: TableStatus, location_name: "TableStatus"))
1233
+ TableAutoScalingDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaAutoScalingDescriptionList, location_name: "Replicas"))
1234
+ TableAutoScalingDescription.struct_class = Types::TableAutoScalingDescription
1235
+
1125
1236
  TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
1126
1237
  TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1127
1238
  TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
@@ -1138,6 +1249,8 @@ module Aws::DynamoDB
1138
1249
  TableDescription.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
1139
1250
  TableDescription.add_member(:latest_stream_label, Shapes::ShapeRef.new(shape: String, location_name: "LatestStreamLabel"))
1140
1251
  TableDescription.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "LatestStreamArn"))
1252
+ TableDescription.add_member(:global_table_version, Shapes::ShapeRef.new(shape: String, location_name: "GlobalTableVersion"))
1253
+ TableDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaDescriptionList, location_name: "Replicas"))
1141
1254
  TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
1142
1255
  TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
1143
1256
  TableDescription.struct_class = Types::TableDescription
@@ -1273,6 +1386,12 @@ module Aws::DynamoDB
1273
1386
  UpdateItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
1274
1387
  UpdateItemOutput.struct_class = Types::UpdateItemOutput
1275
1388
 
1389
+ UpdateReplicationGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
1390
+ UpdateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
1391
+ UpdateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
1392
+ UpdateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
1393
+ UpdateReplicationGroupMemberAction.struct_class = Types::UpdateReplicationGroupMemberAction
1394
+
1276
1395
  UpdateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
1277
1396
  UpdateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1278
1397
  UpdateTableInput.add_member(:billing_mode, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingMode"))
@@ -1280,11 +1399,21 @@ module Aws::DynamoDB
1280
1399
  UpdateTableInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
1281
1400
  UpdateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
1282
1401
  UpdateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
1402
+ UpdateTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicationGroupUpdateList, location_name: "ReplicaUpdates"))
1283
1403
  UpdateTableInput.struct_class = Types::UpdateTableInput
1284
1404
 
1285
1405
  UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
1286
1406
  UpdateTableOutput.struct_class = Types::UpdateTableOutput
1287
1407
 
1408
+ UpdateTableReplicaAutoScalingInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexAutoScalingUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
1409
+ UpdateTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1410
+ UpdateTableReplicaAutoScalingInput.add_member(:provisioned_write_capacity_auto_scaling_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedWriteCapacityAutoScalingUpdate"))
1411
+ UpdateTableReplicaAutoScalingInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicaAutoScalingUpdateList, location_name: "ReplicaUpdates"))
1412
+ UpdateTableReplicaAutoScalingInput.struct_class = Types::UpdateTableReplicaAutoScalingInput
1413
+
1414
+ UpdateTableReplicaAutoScalingOutput.add_member(:table_auto_scaling_description, Shapes::ShapeRef.new(shape: TableAutoScalingDescription, location_name: "TableAutoScalingDescription"))
1415
+ UpdateTableReplicaAutoScalingOutput.struct_class = Types::UpdateTableReplicaAutoScalingOutput
1416
+
1288
1417
  UpdateTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
1289
1418
  UpdateTimeToLiveInput.add_member(:time_to_live_specification, Shapes::ShapeRef.new(shape: TimeToLiveSpecification, required: true, location_name: "TimeToLiveSpecification"))
1290
1419
  UpdateTimeToLiveInput.struct_class = Types::UpdateTimeToLiveInput
@@ -1520,6 +1649,16 @@ module Aws::DynamoDB
1520
1649
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1521
1650
  end)
1522
1651
 
1652
+ api.add_operation(:describe_table_replica_auto_scaling, Seahorse::Model::Operation.new.tap do |o|
1653
+ o.name = "DescribeTableReplicaAutoScaling"
1654
+ o.http_method = "POST"
1655
+ o.http_request_uri = "/"
1656
+ o.input = Shapes::ShapeRef.new(shape: DescribeTableReplicaAutoScalingInput)
1657
+ o.output = Shapes::ShapeRef.new(shape: DescribeTableReplicaAutoScalingOutput)
1658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1660
+ end)
1661
+
1523
1662
  api.add_operation(:describe_time_to_live, Seahorse::Model::Operation.new.tap do |o|
1524
1663
  o.name = "DescribeTimeToLive"
1525
1664
  o.http_method = "POST"
@@ -1822,6 +1961,18 @@ module Aws::DynamoDB
1822
1961
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1823
1962
  end)
1824
1963
 
1964
+ api.add_operation(:update_table_replica_auto_scaling, Seahorse::Model::Operation.new.tap do |o|
1965
+ o.name = "UpdateTableReplicaAutoScaling"
1966
+ o.http_method = "POST"
1967
+ o.http_request_uri = "/"
1968
+ o.input = Shapes::ShapeRef.new(shape: UpdateTableReplicaAutoScalingInput)
1969
+ o.output = Shapes::ShapeRef.new(shape: UpdateTableReplicaAutoScalingOutput)
1970
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1972
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1974
+ end)
1975
+
1825
1976
  api.add_operation(:update_time_to_live, Seahorse::Model::Operation.new.tap do |o|
1826
1977
  o.name = "UpdateTimeToLive"
1827
1978
  o.http_method = "POST"
@@ -287,7 +287,7 @@ module Aws::DynamoDB
287
287
  # write_capacity_units: 1, # required
288
288
  # },
289
289
  # stream_specification: {
290
- # stream_enabled: false,
290
+ # stream_enabled: false, # required
291
291
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
292
292
  # },
293
293
  # sse_specification: {
@@ -304,6 +304,23 @@ module Aws::DynamoDB
304
304
  data[:latest_stream_arn]
305
305
  end
306
306
 
307
+ # Represents the version of [global tables][1] in use, if the table is
308
+ # replicated across AWS Regions.
309
+ #
310
+ #
311
+ #
312
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html
313
+ # @return [String]
314
+ def global_table_version
315
+ data[:global_table_version]
316
+ end
317
+
318
+ # Represents replicas of the table.
319
+ # @return [Array<Types::ReplicaDescription>]
320
+ def replicas
321
+ data[:replicas]
322
+ end
323
+
307
324
  # Contains details for the restore.
308
325
  # @return [Types::RestoreSummary]
309
326
  def restore_summary
@@ -1726,7 +1743,7 @@ module Aws::DynamoDB
1726
1743
  # },
1727
1744
  # ],
1728
1745
  # stream_specification: {
1729
- # stream_enabled: false,
1746
+ # stream_enabled: false, # required
1730
1747
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
1731
1748
  # },
1732
1749
  # sse_specification: {
@@ -1734,6 +1751,43 @@ module Aws::DynamoDB
1734
1751
  # sse_type: "AES256", # accepts AES256, KMS
1735
1752
  # kms_master_key_id: "KMSMasterKeyId",
1736
1753
  # },
1754
+ # replica_updates: [
1755
+ # {
1756
+ # create: {
1757
+ # region_name: "RegionName", # required
1758
+ # kms_master_key_id: "KMSMasterKeyId",
1759
+ # provisioned_throughput_override: {
1760
+ # read_capacity_units: 1,
1761
+ # },
1762
+ # global_secondary_indexes: [
1763
+ # {
1764
+ # index_name: "IndexName", # required
1765
+ # provisioned_throughput_override: {
1766
+ # read_capacity_units: 1,
1767
+ # },
1768
+ # },
1769
+ # ],
1770
+ # },
1771
+ # update: {
1772
+ # region_name: "RegionName", # required
1773
+ # kms_master_key_id: "KMSMasterKeyId",
1774
+ # provisioned_throughput_override: {
1775
+ # read_capacity_units: 1,
1776
+ # },
1777
+ # global_secondary_indexes: [
1778
+ # {
1779
+ # index_name: "IndexName", # required
1780
+ # provisioned_throughput_override: {
1781
+ # read_capacity_units: 1,
1782
+ # },
1783
+ # },
1784
+ # ],
1785
+ # },
1786
+ # delete: {
1787
+ # region_name: "RegionName", # required
1788
+ # },
1789
+ # },
1790
+ # ],
1737
1791
  # })
1738
1792
  # @param [Hash] options ({})
1739
1793
  # @option options [Array<Types::AttributeDefinition>] :attribute_definitions
@@ -1794,6 +1848,18 @@ module Aws::DynamoDB
1794
1848
  # </note>
1795
1849
  # @option options [Types::SSESpecification] :sse_specification
1796
1850
  # The new server-side encryption settings for the specified table.
1851
+ # @option options [Array<Types::ReplicationGroupUpdate>] :replica_updates
1852
+ # A list of replica update actions (create, delete, or update) for the
1853
+ # table.
1854
+ #
1855
+ # <note markdown="1"> This property only applies to [Version 2019.11.21][1] of global
1856
+ # tables.
1857
+ #
1858
+ # </note>
1859
+ #
1860
+ #
1861
+ #
1862
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
1797
1863
  # @return [Table]
1798
1864
  def update(options = {})
1799
1865
  options = options.merge(table_name: @name)
@@ -1706,6 +1706,58 @@ module Aws::DynamoDB
1706
1706
  include Aws::Structure
1707
1707
  end
1708
1708
 
1709
+ # Represents a replica to be created.
1710
+ #
1711
+ # @note When making an API call, you may pass CreateReplicationGroupMemberAction
1712
+ # data as a hash:
1713
+ #
1714
+ # {
1715
+ # region_name: "RegionName", # required
1716
+ # kms_master_key_id: "KMSMasterKeyId",
1717
+ # provisioned_throughput_override: {
1718
+ # read_capacity_units: 1,
1719
+ # },
1720
+ # global_secondary_indexes: [
1721
+ # {
1722
+ # index_name: "IndexName", # required
1723
+ # provisioned_throughput_override: {
1724
+ # read_capacity_units: 1,
1725
+ # },
1726
+ # },
1727
+ # ],
1728
+ # }
1729
+ #
1730
+ # @!attribute [rw] region_name
1731
+ # The Region where the new replica will be created.
1732
+ # @return [String]
1733
+ #
1734
+ # @!attribute [rw] kms_master_key_id
1735
+ # The AWS KMS customer master key (CMK) that should be used for AWS
1736
+ # KMS encryption in the new replica. To specify a CMK, use its key ID,
1737
+ # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
1738
+ # should only provide this parameter if the key is different from the
1739
+ # default DynamoDB KMS master key alias/aws/dynamodb.
1740
+ # @return [String]
1741
+ #
1742
+ # @!attribute [rw] provisioned_throughput_override
1743
+ # Replica-specific provisioned throughput. If not specified, uses the
1744
+ # source table's provisioned throughput settings.
1745
+ # @return [Types::ProvisionedThroughputOverride]
1746
+ #
1747
+ # @!attribute [rw] global_secondary_indexes
1748
+ # Replica-specific global secondary index settings.
1749
+ # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
1750
+ #
1751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateReplicationGroupMemberAction AWS API Documentation
1752
+ #
1753
+ class CreateReplicationGroupMemberAction < Struct.new(
1754
+ :region_name,
1755
+ :kms_master_key_id,
1756
+ :provisioned_throughput_override,
1757
+ :global_secondary_indexes)
1758
+ include Aws::Structure
1759
+ end
1760
+
1709
1761
  # Represents the input of a `CreateTable` operation.
1710
1762
  #
1711
1763
  # @note When making an API call, you may pass CreateTableInput
@@ -1765,7 +1817,7 @@ module Aws::DynamoDB
1765
1817
  # write_capacity_units: 1, # required
1766
1818
  # },
1767
1819
  # stream_specification: {
1768
- # stream_enabled: false,
1820
+ # stream_enabled: false, # required
1769
1821
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
1770
1822
  # },
1771
1823
  # sse_specification: {
@@ -2442,6 +2494,26 @@ module Aws::DynamoDB
2442
2494
  include Aws::Structure
2443
2495
  end
2444
2496
 
2497
+ # Represents a replica to be deleted.
2498
+ #
2499
+ # @note When making an API call, you may pass DeleteReplicationGroupMemberAction
2500
+ # data as a hash:
2501
+ #
2502
+ # {
2503
+ # region_name: "RegionName", # required
2504
+ # }
2505
+ #
2506
+ # @!attribute [rw] region_name
2507
+ # The Region where the replica exists.
2508
+ # @return [String]
2509
+ #
2510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteReplicationGroupMemberAction AWS API Documentation
2511
+ #
2512
+ class DeleteReplicationGroupMemberAction < Struct.new(
2513
+ :region_name)
2514
+ include Aws::Structure
2515
+ end
2516
+
2445
2517
  # Represents a request to perform a `DeleteItem` operation on an item.
2446
2518
  #
2447
2519
  # @note When making an API call, you may pass DeleteRequest
@@ -2717,6 +2789,35 @@ module Aws::DynamoDB
2717
2789
  include Aws::Structure
2718
2790
  end
2719
2791
 
2792
+ # @note When making an API call, you may pass DescribeTableReplicaAutoScalingInput
2793
+ # data as a hash:
2794
+ #
2795
+ # {
2796
+ # table_name: "TableName", # required
2797
+ # }
2798
+ #
2799
+ # @!attribute [rw] table_name
2800
+ # The name of the table.
2801
+ # @return [String]
2802
+ #
2803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScalingInput AWS API Documentation
2804
+ #
2805
+ class DescribeTableReplicaAutoScalingInput < Struct.new(
2806
+ :table_name)
2807
+ include Aws::Structure
2808
+ end
2809
+
2810
+ # @!attribute [rw] table_auto_scaling_description
2811
+ # Represents the auto scaling properties of the table.
2812
+ # @return [Types::TableAutoScalingDescription]
2813
+ #
2814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScalingOutput AWS API Documentation
2815
+ #
2816
+ class DescribeTableReplicaAutoScalingOutput < Struct.new(
2817
+ :table_auto_scaling_description)
2818
+ include Aws::Structure
2819
+ end
2820
+
2720
2821
  # @note When making an API call, you may pass DescribeTimeToLiveInput
2721
2822
  # data as a hash:
2722
2823
  #
@@ -3350,6 +3451,48 @@ module Aws::DynamoDB
3350
3451
  include Aws::Structure
3351
3452
  end
3352
3453
 
3454
+ # Represents the auto scaling settings of a global secondary index for a
3455
+ # global table that will be modified.
3456
+ #
3457
+ # @note When making an API call, you may pass GlobalSecondaryIndexAutoScalingUpdate
3458
+ # data as a hash:
3459
+ #
3460
+ # {
3461
+ # index_name: "IndexName",
3462
+ # provisioned_write_capacity_auto_scaling_update: {
3463
+ # minimum_units: 1,
3464
+ # maximum_units: 1,
3465
+ # auto_scaling_disabled: false,
3466
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
3467
+ # scaling_policy_update: {
3468
+ # policy_name: "AutoScalingPolicyName",
3469
+ # target_tracking_scaling_policy_configuration: { # required
3470
+ # disable_scale_in: false,
3471
+ # scale_in_cooldown: 1,
3472
+ # scale_out_cooldown: 1,
3473
+ # target_value: 1.0, # required
3474
+ # },
3475
+ # },
3476
+ # },
3477
+ # }
3478
+ #
3479
+ # @!attribute [rw] index_name
3480
+ # The name of the global secondary index.
3481
+ # @return [String]
3482
+ #
3483
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_update
3484
+ # Represents the auto scaling settings to be modified for a global
3485
+ # table or global secondary index.
3486
+ # @return [Types::AutoScalingSettingsUpdate]
3487
+ #
3488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexAutoScalingUpdate AWS API Documentation
3489
+ #
3490
+ class GlobalSecondaryIndexAutoScalingUpdate < Struct.new(
3491
+ :index_name,
3492
+ :provisioned_write_capacity_auto_scaling_update)
3493
+ include Aws::Structure
3494
+ end
3495
+
3353
3496
  # Represents the properties of a global secondary index.
3354
3497
  #
3355
3498
  # @!attribute [rw] index_name
@@ -4678,6 +4821,28 @@ module Aws::DynamoDB
4678
4821
  include Aws::Structure
4679
4822
  end
4680
4823
 
4824
+ # Replica-specific provisioned throughput settings. If not specified,
4825
+ # uses the source table's provisioned throughput settings.
4826
+ #
4827
+ # @note When making an API call, you may pass ProvisionedThroughputOverride
4828
+ # data as a hash:
4829
+ #
4830
+ # {
4831
+ # read_capacity_units: 1,
4832
+ # }
4833
+ #
4834
+ # @!attribute [rw] read_capacity_units
4835
+ # Replica-specific read capacity units. If not specified, uses the
4836
+ # source table's read capacity settings.
4837
+ # @return [Integer]
4838
+ #
4839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputOverride AWS API Documentation
4840
+ #
4841
+ class ProvisionedThroughputOverride < Struct.new(
4842
+ :read_capacity_units)
4843
+ include Aws::Structure
4844
+ end
4845
+
4681
4846
  # Represents a request to perform a `PutItem` operation.
4682
4847
  #
4683
4848
  # @note When making an API call, you may pass Put
@@ -5629,80 +5794,78 @@ module Aws::DynamoDB
5629
5794
  include Aws::Structure
5630
5795
  end
5631
5796
 
5632
- # Contains the details of the replica.
5797
+ # Represents the auto scaling settings of the replica.
5633
5798
  #
5634
5799
  # @!attribute [rw] region_name
5635
- # The name of the Region.
5800
+ # The Region where the replica exists.
5636
5801
  # @return [String]
5637
5802
  #
5638
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
5803
+ # @!attribute [rw] global_secondary_indexes
5804
+ # Replica-specific global secondary index auto scaling settings.
5805
+ # @return [Array<Types::ReplicaGlobalSecondaryIndexAutoScalingDescription>]
5639
5806
  #
5640
- class ReplicaDescription < Struct.new(
5641
- :region_name)
5642
- include Aws::Structure
5643
- end
5644
-
5645
- # Represents the properties of a global secondary index.
5807
+ # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings
5808
+ # Represents the auto scaling settings for a global table or global
5809
+ # secondary index.
5810
+ # @return [Types::AutoScalingSettingsDescription]
5646
5811
  #
5647
- # @!attribute [rw] index_name
5648
- # The name of the global secondary index. The name must be unique
5649
- # among all other indexes on this table.
5650
- # @return [String]
5812
+ # @!attribute [rw] replica_provisioned_write_capacity_auto_scaling_settings
5813
+ # Represents the auto scaling settings for a global table or global
5814
+ # secondary index.
5815
+ # @return [Types::AutoScalingSettingsDescription]
5651
5816
  #
5652
- # @!attribute [rw] index_status
5653
- # The current status of the global secondary index:
5817
+ # @!attribute [rw] replica_status
5818
+ # The current state of the replica:
5654
5819
  #
5655
- # * `CREATING` - The global secondary index is being created.
5820
+ # * `CREATING` - The replica is being created.
5656
5821
  #
5657
- # * `UPDATING` - The global secondary index is being updated.
5822
+ # * `UPDATING` - The replica is being updated.
5658
5823
  #
5659
- # * `DELETING` - The global secondary index is being deleted.
5824
+ # * `DELETING` - The replica is being deleted.
5660
5825
  #
5661
- # * `ACTIVE` - The global secondary index is ready for use.
5826
+ # * `ACTIVE` - The replica is ready for use.
5662
5827
  # @return [String]
5663
5828
  #
5664
- # @!attribute [rw] provisioned_read_capacity_units
5665
- # The maximum number of strongly consistent reads consumed per second
5666
- # before DynamoDB returns a `ThrottlingException`.
5667
- # @return [Integer]
5668
- #
5669
- # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings
5670
- # Auto scaling settings for a global secondary index replica's read
5671
- # capacity units.
5672
- # @return [Types::AutoScalingSettingsDescription]
5673
- #
5674
- # @!attribute [rw] provisioned_write_capacity_units
5675
- # The maximum number of writes consumed per second before DynamoDB
5676
- # returns a `ThrottlingException`.
5677
- # @return [Integer]
5678
- #
5679
- # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings
5680
- # Auto scaling settings for a global secondary index replica's write
5681
- # capacity units.
5682
- # @return [Types::AutoScalingSettingsDescription]
5683
- #
5684
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsDescription AWS API Documentation
5829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaAutoScalingDescription AWS API Documentation
5685
5830
  #
5686
- class ReplicaGlobalSecondaryIndexSettingsDescription < Struct.new(
5687
- :index_name,
5688
- :index_status,
5689
- :provisioned_read_capacity_units,
5690
- :provisioned_read_capacity_auto_scaling_settings,
5691
- :provisioned_write_capacity_units,
5692
- :provisioned_write_capacity_auto_scaling_settings)
5831
+ class ReplicaAutoScalingDescription < Struct.new(
5832
+ :region_name,
5833
+ :global_secondary_indexes,
5834
+ :replica_provisioned_read_capacity_auto_scaling_settings,
5835
+ :replica_provisioned_write_capacity_auto_scaling_settings,
5836
+ :replica_status)
5693
5837
  include Aws::Structure
5694
5838
  end
5695
5839
 
5696
- # Represents the settings of a global secondary index for a global table
5697
- # that will be modified.
5840
+ # Represents the auto scaling settings of a replica that will be
5841
+ # modified.
5698
5842
  #
5699
- # @note When making an API call, you may pass ReplicaGlobalSecondaryIndexSettingsUpdate
5843
+ # @note When making an API call, you may pass ReplicaAutoScalingUpdate
5700
5844
  # data as a hash:
5701
5845
  #
5702
5846
  # {
5703
- # index_name: "IndexName", # required
5704
- # provisioned_read_capacity_units: 1,
5705
- # provisioned_read_capacity_auto_scaling_settings_update: {
5847
+ # region_name: "RegionName", # required
5848
+ # replica_global_secondary_index_updates: [
5849
+ # {
5850
+ # index_name: "IndexName",
5851
+ # provisioned_read_capacity_auto_scaling_update: {
5852
+ # minimum_units: 1,
5853
+ # maximum_units: 1,
5854
+ # auto_scaling_disabled: false,
5855
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
5856
+ # scaling_policy_update: {
5857
+ # policy_name: "AutoScalingPolicyName",
5858
+ # target_tracking_scaling_policy_configuration: { # required
5859
+ # disable_scale_in: false,
5860
+ # scale_in_cooldown: 1,
5861
+ # scale_out_cooldown: 1,
5862
+ # target_value: 1.0, # required
5863
+ # },
5864
+ # },
5865
+ # },
5866
+ # },
5867
+ # ],
5868
+ # replica_provisioned_read_capacity_auto_scaling_update: {
5706
5869
  # minimum_units: 1,
5707
5870
  # maximum_units: 1,
5708
5871
  # auto_scaling_disabled: false,
@@ -5719,81 +5882,364 @@ module Aws::DynamoDB
5719
5882
  # },
5720
5883
  # }
5721
5884
  #
5722
- # @!attribute [rw] index_name
5723
- # The name of the global secondary index. The name must be unique
5724
- # among all other indexes on this table.
5885
+ # @!attribute [rw] region_name
5886
+ # The Region where the replica exists.
5725
5887
  # @return [String]
5726
5888
  #
5727
- # @!attribute [rw] provisioned_read_capacity_units
5728
- # The maximum number of strongly consistent reads consumed per second
5729
- # before DynamoDB returns a `ThrottlingException`.
5730
- # @return [Integer]
5889
+ # @!attribute [rw] replica_global_secondary_index_updates
5890
+ # Represents the auto scaling settings of global secondary indexes
5891
+ # that will be modified.
5892
+ # @return [Array<Types::ReplicaGlobalSecondaryIndexAutoScalingUpdate>]
5731
5893
  #
5732
- # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings_update
5733
- # Auto scaling settings for managing a global secondary index
5734
- # replica's read capacity units.
5894
+ # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_update
5895
+ # Represents the auto scaling settings to be modified for a global
5896
+ # table or global secondary index.
5735
5897
  # @return [Types::AutoScalingSettingsUpdate]
5736
5898
  #
5737
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsUpdate AWS API Documentation
5738
- #
5739
- class ReplicaGlobalSecondaryIndexSettingsUpdate < Struct.new(
5740
- :index_name,
5741
- :provisioned_read_capacity_units,
5742
- :provisioned_read_capacity_auto_scaling_settings_update)
5743
- include Aws::Structure
5744
- end
5745
-
5746
- # The specified replica is no longer part of the global table.
5747
- #
5748
- # @!attribute [rw] message
5749
- # @return [String]
5750
- #
5751
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaNotFoundException AWS API Documentation
5899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaAutoScalingUpdate AWS API Documentation
5752
5900
  #
5753
- class ReplicaNotFoundException < Struct.new(
5754
- :message)
5901
+ class ReplicaAutoScalingUpdate < Struct.new(
5902
+ :region_name,
5903
+ :replica_global_secondary_index_updates,
5904
+ :replica_provisioned_read_capacity_auto_scaling_update)
5755
5905
  include Aws::Structure
5756
5906
  end
5757
5907
 
5758
- # Represents the properties of a replica.
5908
+ # Contains the details of the replica.
5759
5909
  #
5760
5910
  # @!attribute [rw] region_name
5761
- # The Region name of the replica.
5911
+ # The name of the Region.
5762
5912
  # @return [String]
5763
5913
  #
5764
5914
  # @!attribute [rw] replica_status
5765
- # The current state of the Region:
5915
+ # The current state of the replica:
5766
5916
  #
5767
- # * `CREATING` - The Region is being created.
5917
+ # * `CREATING` - The replica is being created.
5768
5918
  #
5769
- # * `UPDATING` - The Region is being updated.
5919
+ # * `UPDATING` - The replica is being updated.
5770
5920
  #
5771
- # * `DELETING` - The Region is being deleted.
5921
+ # * `DELETING` - The replica is being deleted.
5772
5922
  #
5773
- # * `ACTIVE` - The Region is ready for use.
5923
+ # * `ACTIVE` - The replica is ready for use.
5774
5924
  # @return [String]
5775
5925
  #
5776
- # @!attribute [rw] replica_billing_mode_summary
5777
- # The read/write capacity mode of the replica.
5778
- # @return [Types::BillingModeSummary]
5926
+ # @!attribute [rw] replica_status_description
5927
+ # Detailed information about the replica status.
5928
+ # @return [String]
5779
5929
  #
5780
- # @!attribute [rw] replica_provisioned_read_capacity_units
5781
- # The maximum number of strongly consistent reads consumed per second
5782
- # before DynamoDB returns a `ThrottlingException`. For more
5783
- # information, see [Specifying Read and Write Requirements][1] in the
5784
- # *Amazon DynamoDB Developer Guide*.
5930
+ # @!attribute [rw] replica_status_percent_progress
5931
+ # Specifies the progress of a Create, Update, or Delete action on the
5932
+ # replica as a percentage.
5933
+ # @return [String]
5785
5934
  #
5935
+ # @!attribute [rw] kms_master_key_id
5936
+ # The AWS KMS customer master key (CMK) of the replica that will be
5937
+ # used for AWS KMS encryption.
5938
+ # @return [String]
5786
5939
  #
5940
+ # @!attribute [rw] provisioned_throughput_override
5941
+ # Replica-specific provisioned throughput. If not described, uses the
5942
+ # source table's provisioned throughput settings.
5943
+ # @return [Types::ProvisionedThroughputOverride]
5787
5944
  #
5788
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
5789
- # @return [Integer]
5945
+ # @!attribute [rw] global_secondary_indexes
5946
+ # Replica-specific global secondary index settings.
5947
+ # @return [Array<Types::ReplicaGlobalSecondaryIndexDescription>]
5790
5948
  #
5791
- # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings
5792
- # Auto scaling settings for a global table replica's read capacity
5793
- # units.
5794
- # @return [Types::AutoScalingSettingsDescription]
5949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
5795
5950
  #
5796
- # @!attribute [rw] replica_provisioned_write_capacity_units
5951
+ class ReplicaDescription < Struct.new(
5952
+ :region_name,
5953
+ :replica_status,
5954
+ :replica_status_description,
5955
+ :replica_status_percent_progress,
5956
+ :kms_master_key_id,
5957
+ :provisioned_throughput_override,
5958
+ :global_secondary_indexes)
5959
+ include Aws::Structure
5960
+ end
5961
+
5962
+ # Represents the properties of a replica global secondary index.
5963
+ #
5964
+ # @note When making an API call, you may pass ReplicaGlobalSecondaryIndex
5965
+ # data as a hash:
5966
+ #
5967
+ # {
5968
+ # index_name: "IndexName", # required
5969
+ # provisioned_throughput_override: {
5970
+ # read_capacity_units: 1,
5971
+ # },
5972
+ # }
5973
+ #
5974
+ # @!attribute [rw] index_name
5975
+ # The name of the global secondary index.
5976
+ # @return [String]
5977
+ #
5978
+ # @!attribute [rw] provisioned_throughput_override
5979
+ # Replica table GSI-specific provisioned throughput. If not specified,
5980
+ # uses the source table GSI's read capacity settings.
5981
+ # @return [Types::ProvisionedThroughputOverride]
5982
+ #
5983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndex AWS API Documentation
5984
+ #
5985
+ class ReplicaGlobalSecondaryIndex < Struct.new(
5986
+ :index_name,
5987
+ :provisioned_throughput_override)
5988
+ include Aws::Structure
5989
+ end
5990
+
5991
+ # Represents the auto scaling configuration for a replica global
5992
+ # secondary index.
5993
+ #
5994
+ # @!attribute [rw] index_name
5995
+ # The name of the global secondary index.
5996
+ # @return [String]
5997
+ #
5998
+ # @!attribute [rw] index_status
5999
+ # The current state of the replica global secondary index:
6000
+ #
6001
+ # * `CREATING` - The index is being created.
6002
+ #
6003
+ # * `UPDATING` - The index is being updated.
6004
+ #
6005
+ # * `DELETING` - The index is being deleted.
6006
+ #
6007
+ # * `ACTIVE` - The index is ready for use.
6008
+ # @return [String]
6009
+ #
6010
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings
6011
+ # Represents the auto scaling settings for a global table or global
6012
+ # secondary index.
6013
+ # @return [Types::AutoScalingSettingsDescription]
6014
+ #
6015
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings
6016
+ # Represents the auto scaling settings for a global table or global
6017
+ # secondary index.
6018
+ # @return [Types::AutoScalingSettingsDescription]
6019
+ #
6020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexAutoScalingDescription AWS API Documentation
6021
+ #
6022
+ class ReplicaGlobalSecondaryIndexAutoScalingDescription < Struct.new(
6023
+ :index_name,
6024
+ :index_status,
6025
+ :provisioned_read_capacity_auto_scaling_settings,
6026
+ :provisioned_write_capacity_auto_scaling_settings)
6027
+ include Aws::Structure
6028
+ end
6029
+
6030
+ # Represents the auto scaling settings of a global secondary index for a
6031
+ # replica that will be modified.
6032
+ #
6033
+ # @note When making an API call, you may pass ReplicaGlobalSecondaryIndexAutoScalingUpdate
6034
+ # data as a hash:
6035
+ #
6036
+ # {
6037
+ # index_name: "IndexName",
6038
+ # provisioned_read_capacity_auto_scaling_update: {
6039
+ # minimum_units: 1,
6040
+ # maximum_units: 1,
6041
+ # auto_scaling_disabled: false,
6042
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6043
+ # scaling_policy_update: {
6044
+ # policy_name: "AutoScalingPolicyName",
6045
+ # target_tracking_scaling_policy_configuration: { # required
6046
+ # disable_scale_in: false,
6047
+ # scale_in_cooldown: 1,
6048
+ # scale_out_cooldown: 1,
6049
+ # target_value: 1.0, # required
6050
+ # },
6051
+ # },
6052
+ # },
6053
+ # }
6054
+ #
6055
+ # @!attribute [rw] index_name
6056
+ # The name of the global secondary index.
6057
+ # @return [String]
6058
+ #
6059
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_update
6060
+ # Represents the auto scaling settings to be modified for a global
6061
+ # table or global secondary index.
6062
+ # @return [Types::AutoScalingSettingsUpdate]
6063
+ #
6064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexAutoScalingUpdate AWS API Documentation
6065
+ #
6066
+ class ReplicaGlobalSecondaryIndexAutoScalingUpdate < Struct.new(
6067
+ :index_name,
6068
+ :provisioned_read_capacity_auto_scaling_update)
6069
+ include Aws::Structure
6070
+ end
6071
+
6072
+ # Represents the properties of a replica global secondary index.
6073
+ #
6074
+ # @!attribute [rw] index_name
6075
+ # The name of the global secondary index.
6076
+ # @return [String]
6077
+ #
6078
+ # @!attribute [rw] provisioned_throughput_override
6079
+ # If not described, uses the source table GSI's read capacity
6080
+ # settings.
6081
+ # @return [Types::ProvisionedThroughputOverride]
6082
+ #
6083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexDescription AWS API Documentation
6084
+ #
6085
+ class ReplicaGlobalSecondaryIndexDescription < Struct.new(
6086
+ :index_name,
6087
+ :provisioned_throughput_override)
6088
+ include Aws::Structure
6089
+ end
6090
+
6091
+ # Represents the properties of a global secondary index.
6092
+ #
6093
+ # @!attribute [rw] index_name
6094
+ # The name of the global secondary index. The name must be unique
6095
+ # among all other indexes on this table.
6096
+ # @return [String]
6097
+ #
6098
+ # @!attribute [rw] index_status
6099
+ # The current status of the global secondary index:
6100
+ #
6101
+ # * `CREATING` - The global secondary index is being created.
6102
+ #
6103
+ # * `UPDATING` - The global secondary index is being updated.
6104
+ #
6105
+ # * `DELETING` - The global secondary index is being deleted.
6106
+ #
6107
+ # * `ACTIVE` - The global secondary index is ready for use.
6108
+ # @return [String]
6109
+ #
6110
+ # @!attribute [rw] provisioned_read_capacity_units
6111
+ # The maximum number of strongly consistent reads consumed per second
6112
+ # before DynamoDB returns a `ThrottlingException`.
6113
+ # @return [Integer]
6114
+ #
6115
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings
6116
+ # Auto scaling settings for a global secondary index replica's read
6117
+ # capacity units.
6118
+ # @return [Types::AutoScalingSettingsDescription]
6119
+ #
6120
+ # @!attribute [rw] provisioned_write_capacity_units
6121
+ # The maximum number of writes consumed per second before DynamoDB
6122
+ # returns a `ThrottlingException`.
6123
+ # @return [Integer]
6124
+ #
6125
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings
6126
+ # Auto scaling settings for a global secondary index replica's write
6127
+ # capacity units.
6128
+ # @return [Types::AutoScalingSettingsDescription]
6129
+ #
6130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsDescription AWS API Documentation
6131
+ #
6132
+ class ReplicaGlobalSecondaryIndexSettingsDescription < Struct.new(
6133
+ :index_name,
6134
+ :index_status,
6135
+ :provisioned_read_capacity_units,
6136
+ :provisioned_read_capacity_auto_scaling_settings,
6137
+ :provisioned_write_capacity_units,
6138
+ :provisioned_write_capacity_auto_scaling_settings)
6139
+ include Aws::Structure
6140
+ end
6141
+
6142
+ # Represents the settings of a global secondary index for a global table
6143
+ # that will be modified.
6144
+ #
6145
+ # @note When making an API call, you may pass ReplicaGlobalSecondaryIndexSettingsUpdate
6146
+ # data as a hash:
6147
+ #
6148
+ # {
6149
+ # index_name: "IndexName", # required
6150
+ # provisioned_read_capacity_units: 1,
6151
+ # provisioned_read_capacity_auto_scaling_settings_update: {
6152
+ # minimum_units: 1,
6153
+ # maximum_units: 1,
6154
+ # auto_scaling_disabled: false,
6155
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6156
+ # scaling_policy_update: {
6157
+ # policy_name: "AutoScalingPolicyName",
6158
+ # target_tracking_scaling_policy_configuration: { # required
6159
+ # disable_scale_in: false,
6160
+ # scale_in_cooldown: 1,
6161
+ # scale_out_cooldown: 1,
6162
+ # target_value: 1.0, # required
6163
+ # },
6164
+ # },
6165
+ # },
6166
+ # }
6167
+ #
6168
+ # @!attribute [rw] index_name
6169
+ # The name of the global secondary index. The name must be unique
6170
+ # among all other indexes on this table.
6171
+ # @return [String]
6172
+ #
6173
+ # @!attribute [rw] provisioned_read_capacity_units
6174
+ # The maximum number of strongly consistent reads consumed per second
6175
+ # before DynamoDB returns a `ThrottlingException`.
6176
+ # @return [Integer]
6177
+ #
6178
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings_update
6179
+ # Auto scaling settings for managing a global secondary index
6180
+ # replica's read capacity units.
6181
+ # @return [Types::AutoScalingSettingsUpdate]
6182
+ #
6183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsUpdate AWS API Documentation
6184
+ #
6185
+ class ReplicaGlobalSecondaryIndexSettingsUpdate < Struct.new(
6186
+ :index_name,
6187
+ :provisioned_read_capacity_units,
6188
+ :provisioned_read_capacity_auto_scaling_settings_update)
6189
+ include Aws::Structure
6190
+ end
6191
+
6192
+ # The specified replica is no longer part of the global table.
6193
+ #
6194
+ # @!attribute [rw] message
6195
+ # @return [String]
6196
+ #
6197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaNotFoundException AWS API Documentation
6198
+ #
6199
+ class ReplicaNotFoundException < Struct.new(
6200
+ :message)
6201
+ include Aws::Structure
6202
+ end
6203
+
6204
+ # Represents the properties of a replica.
6205
+ #
6206
+ # @!attribute [rw] region_name
6207
+ # The Region name of the replica.
6208
+ # @return [String]
6209
+ #
6210
+ # @!attribute [rw] replica_status
6211
+ # The current state of the Region:
6212
+ #
6213
+ # * `CREATING` - The Region is being created.
6214
+ #
6215
+ # * `UPDATING` - The Region is being updated.
6216
+ #
6217
+ # * `DELETING` - The Region is being deleted.
6218
+ #
6219
+ # * `ACTIVE` - The Region is ready for use.
6220
+ # @return [String]
6221
+ #
6222
+ # @!attribute [rw] replica_billing_mode_summary
6223
+ # The read/write capacity mode of the replica.
6224
+ # @return [Types::BillingModeSummary]
6225
+ #
6226
+ # @!attribute [rw] replica_provisioned_read_capacity_units
6227
+ # The maximum number of strongly consistent reads consumed per second
6228
+ # before DynamoDB returns a `ThrottlingException`. For more
6229
+ # information, see [Specifying Read and Write Requirements][1] in the
6230
+ # *Amazon DynamoDB Developer Guide*.
6231
+ #
6232
+ #
6233
+ #
6234
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
6235
+ # @return [Integer]
6236
+ #
6237
+ # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings
6238
+ # Auto scaling settings for a global table replica's read capacity
6239
+ # units.
6240
+ # @return [Types::AutoScalingSettingsDescription]
6241
+ #
6242
+ # @!attribute [rw] replica_provisioned_write_capacity_units
5797
6243
  # The maximum number of writes consumed per second before DynamoDB
5798
6244
  # returns a `ThrottlingException`. For more information, see
5799
6245
  # [Specifying Read and Write Requirements][1] in the *Amazon DynamoDB
@@ -5946,6 +6392,79 @@ module Aws::DynamoDB
5946
6392
  include Aws::Structure
5947
6393
  end
5948
6394
 
6395
+ # Represents one of the following:
6396
+ #
6397
+ # * A new replica to be added to an existing regional table or global
6398
+ # table. This request invokes the `CreateTableReplica` action in the
6399
+ # destination Region.
6400
+ #
6401
+ # * New parameters for an existing replica. This request invokes the
6402
+ # `UpdateTable` action in the destination Region.
6403
+ #
6404
+ # * An existing replica to be deleted. The request invokes the
6405
+ # `DeleteTableReplica` action in the destination Region, deleting the
6406
+ # replica and all if its items in the destination Region.
6407
+ #
6408
+ # @note When making an API call, you may pass ReplicationGroupUpdate
6409
+ # data as a hash:
6410
+ #
6411
+ # {
6412
+ # create: {
6413
+ # region_name: "RegionName", # required
6414
+ # kms_master_key_id: "KMSMasterKeyId",
6415
+ # provisioned_throughput_override: {
6416
+ # read_capacity_units: 1,
6417
+ # },
6418
+ # global_secondary_indexes: [
6419
+ # {
6420
+ # index_name: "IndexName", # required
6421
+ # provisioned_throughput_override: {
6422
+ # read_capacity_units: 1,
6423
+ # },
6424
+ # },
6425
+ # ],
6426
+ # },
6427
+ # update: {
6428
+ # region_name: "RegionName", # required
6429
+ # kms_master_key_id: "KMSMasterKeyId",
6430
+ # provisioned_throughput_override: {
6431
+ # read_capacity_units: 1,
6432
+ # },
6433
+ # global_secondary_indexes: [
6434
+ # {
6435
+ # index_name: "IndexName", # required
6436
+ # provisioned_throughput_override: {
6437
+ # read_capacity_units: 1,
6438
+ # },
6439
+ # },
6440
+ # ],
6441
+ # },
6442
+ # delete: {
6443
+ # region_name: "RegionName", # required
6444
+ # },
6445
+ # }
6446
+ #
6447
+ # @!attribute [rw] create
6448
+ # The parameters required for creating a replica for the table.
6449
+ # @return [Types::CreateReplicationGroupMemberAction]
6450
+ #
6451
+ # @!attribute [rw] update
6452
+ # The parameters required for updating a replica for the table.
6453
+ # @return [Types::UpdateReplicationGroupMemberAction]
6454
+ #
6455
+ # @!attribute [rw] delete
6456
+ # The parameters required for deleting a replica for the table.
6457
+ # @return [Types::DeleteReplicationGroupMemberAction]
6458
+ #
6459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicationGroupUpdate AWS API Documentation
6460
+ #
6461
+ class ReplicationGroupUpdate < Struct.new(
6462
+ :create,
6463
+ :update,
6464
+ :delete)
6465
+ include Aws::Structure
6466
+ end
6467
+
5949
6468
  # Throughput exceeds the current throughput limit for your account.
5950
6469
  # Please contact AWS Support at [AWS Support][1] to request a limit
5951
6470
  # increase.
@@ -6256,7 +6775,7 @@ module Aws::DynamoDB
6256
6775
  # @return [String]
6257
6776
  #
6258
6777
  # @!attribute [rw] kms_master_key_arn
6259
- # The KMS customer master key (CMK) ARN used for the AWS KMS
6778
+ # The AWS KMS customer master key (CMK) ARN used for the AWS KMS
6260
6779
  # encryption.
6261
6780
  # @return [String]
6262
6781
  #
@@ -6299,10 +6818,10 @@ module Aws::DynamoDB
6299
6818
  # @return [String]
6300
6819
  #
6301
6820
  # @!attribute [rw] kms_master_key_id
6302
- # The KMS customer master key (CMK) that should be used for the AWS
6303
- # KMS encryption. To specify a CMK, use its key ID, Amazon Resource
6304
- # Name (ARN), alias name, or alias ARN. Note that you should only
6305
- # provide this parameter if the key is different from the default
6821
+ # The AWS KMS customer master key (CMK) that should be used for the
6822
+ # AWS KMS encryption. To specify a CMK, use its key ID, Amazon
6823
+ # Resource Name (ARN), alias name, or alias ARN. Note that you should
6824
+ # only provide this parameter if the key is different from the default
6306
6825
  # DynamoDB customer master key alias/aws/dynamodb.
6307
6826
  # @return [String]
6308
6827
  #
@@ -6870,7 +7389,7 @@ module Aws::DynamoDB
6870
7389
  # data as a hash:
6871
7390
  #
6872
7391
  # {
6873
- # stream_enabled: false,
7392
+ # stream_enabled: false, # required
6874
7393
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
6875
7394
  # }
6876
7395
  #
@@ -6917,6 +7436,37 @@ module Aws::DynamoDB
6917
7436
  include Aws::Structure
6918
7437
  end
6919
7438
 
7439
+ # Represents the auto scaling configuration for a global table.
7440
+ #
7441
+ # @!attribute [rw] table_name
7442
+ # The name of the table.
7443
+ # @return [String]
7444
+ #
7445
+ # @!attribute [rw] table_status
7446
+ # The current state of the table:
7447
+ #
7448
+ # * `CREATING` - The table is being created.
7449
+ #
7450
+ # * `UPDATING` - The table is being updated.
7451
+ #
7452
+ # * `DELETING` - The table is being deleted.
7453
+ #
7454
+ # * `ACTIVE` - The table is ready for use.
7455
+ # @return [String]
7456
+ #
7457
+ # @!attribute [rw] replicas
7458
+ # Represents replicas of the global table.
7459
+ # @return [Array<Types::ReplicaAutoScalingDescription>]
7460
+ #
7461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableAutoScalingDescription AWS API Documentation
7462
+ #
7463
+ class TableAutoScalingDescription < Struct.new(
7464
+ :table_name,
7465
+ :table_status,
7466
+ :replicas)
7467
+ include Aws::Structure
7468
+ end
7469
+
6920
7470
  # Represents the properties of a table.
6921
7471
  #
6922
7472
  # @!attribute [rw] attribute_definitions
@@ -7168,6 +7718,19 @@ module Aws::DynamoDB
7168
7718
  # stream for this table.
7169
7719
  # @return [String]
7170
7720
  #
7721
+ # @!attribute [rw] global_table_version
7722
+ # Represents the version of [global tables][1] in use, if the table is
7723
+ # replicated across AWS Regions.
7724
+ #
7725
+ #
7726
+ #
7727
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html
7728
+ # @return [String]
7729
+ #
7730
+ # @!attribute [rw] replicas
7731
+ # Represents replicas of the table.
7732
+ # @return [Array<Types::ReplicaDescription>]
7733
+ #
7171
7734
  # @!attribute [rw] restore_summary
7172
7735
  # Contains details for the restore.
7173
7736
  # @return [Types::RestoreSummary]
@@ -7196,6 +7759,8 @@ module Aws::DynamoDB
7196
7759
  :stream_specification,
7197
7760
  :latest_stream_label,
7198
7761
  :latest_stream_arn,
7762
+ :global_table_version,
7763
+ :replicas,
7199
7764
  :restore_summary,
7200
7765
  :sse_description)
7201
7766
  include Aws::Structure
@@ -8688,6 +9253,58 @@ module Aws::DynamoDB
8688
9253
  include Aws::Structure
8689
9254
  end
8690
9255
 
9256
+ # Represents a replica to be modified.
9257
+ #
9258
+ # @note When making an API call, you may pass UpdateReplicationGroupMemberAction
9259
+ # data as a hash:
9260
+ #
9261
+ # {
9262
+ # region_name: "RegionName", # required
9263
+ # kms_master_key_id: "KMSMasterKeyId",
9264
+ # provisioned_throughput_override: {
9265
+ # read_capacity_units: 1,
9266
+ # },
9267
+ # global_secondary_indexes: [
9268
+ # {
9269
+ # index_name: "IndexName", # required
9270
+ # provisioned_throughput_override: {
9271
+ # read_capacity_units: 1,
9272
+ # },
9273
+ # },
9274
+ # ],
9275
+ # }
9276
+ #
9277
+ # @!attribute [rw] region_name
9278
+ # The Region where the replica exists.
9279
+ # @return [String]
9280
+ #
9281
+ # @!attribute [rw] kms_master_key_id
9282
+ # The AWS KMS customer master key (CMK) of the replica that should be
9283
+ # used for AWS KMS encryption. To specify a CMK, use its key ID,
9284
+ # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
9285
+ # should only provide this parameter if the key is different from the
9286
+ # default DynamoDB KMS master key alias/aws/dynamodb.
9287
+ # @return [String]
9288
+ #
9289
+ # @!attribute [rw] provisioned_throughput_override
9290
+ # Replica-specific provisioned throughput. If not specified, uses the
9291
+ # source table's provisioned throughput settings.
9292
+ # @return [Types::ProvisionedThroughputOverride]
9293
+ #
9294
+ # @!attribute [rw] global_secondary_indexes
9295
+ # Replica-specific global secondary index settings.
9296
+ # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
9297
+ #
9298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateReplicationGroupMemberAction AWS API Documentation
9299
+ #
9300
+ class UpdateReplicationGroupMemberAction < Struct.new(
9301
+ :region_name,
9302
+ :kms_master_key_id,
9303
+ :provisioned_throughput_override,
9304
+ :global_secondary_indexes)
9305
+ include Aws::Structure
9306
+ end
9307
+
8691
9308
  # Represents the input of an `UpdateTable` operation.
8692
9309
  #
8693
9310
  # @note When making an API call, you may pass UpdateTableInput
@@ -8738,7 +9355,7 @@ module Aws::DynamoDB
8738
9355
  # },
8739
9356
  # ],
8740
9357
  # stream_specification: {
8741
- # stream_enabled: false,
9358
+ # stream_enabled: false, # required
8742
9359
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
8743
9360
  # },
8744
9361
  # sse_specification: {
@@ -8746,6 +9363,43 @@ module Aws::DynamoDB
8746
9363
  # sse_type: "AES256", # accepts AES256, KMS
8747
9364
  # kms_master_key_id: "KMSMasterKeyId",
8748
9365
  # },
9366
+ # replica_updates: [
9367
+ # {
9368
+ # create: {
9369
+ # region_name: "RegionName", # required
9370
+ # kms_master_key_id: "KMSMasterKeyId",
9371
+ # provisioned_throughput_override: {
9372
+ # read_capacity_units: 1,
9373
+ # },
9374
+ # global_secondary_indexes: [
9375
+ # {
9376
+ # index_name: "IndexName", # required
9377
+ # provisioned_throughput_override: {
9378
+ # read_capacity_units: 1,
9379
+ # },
9380
+ # },
9381
+ # ],
9382
+ # },
9383
+ # update: {
9384
+ # region_name: "RegionName", # required
9385
+ # kms_master_key_id: "KMSMasterKeyId",
9386
+ # provisioned_throughput_override: {
9387
+ # read_capacity_units: 1,
9388
+ # },
9389
+ # global_secondary_indexes: [
9390
+ # {
9391
+ # index_name: "IndexName", # required
9392
+ # provisioned_throughput_override: {
9393
+ # read_capacity_units: 1,
9394
+ # },
9395
+ # },
9396
+ # ],
9397
+ # },
9398
+ # delete: {
9399
+ # region_name: "RegionName", # required
9400
+ # },
9401
+ # },
9402
+ # ],
8749
9403
  # }
8750
9404
  #
8751
9405
  # @!attribute [rw] attribute_definitions
@@ -8822,6 +9476,20 @@ module Aws::DynamoDB
8822
9476
  # The new server-side encryption settings for the specified table.
8823
9477
  # @return [Types::SSESpecification]
8824
9478
  #
9479
+ # @!attribute [rw] replica_updates
9480
+ # A list of replica update actions (create, delete, or update) for the
9481
+ # table.
9482
+ #
9483
+ # <note markdown="1"> This property only applies to [Version 2019.11.21][1] of global
9484
+ # tables.
9485
+ #
9486
+ # </note>
9487
+ #
9488
+ #
9489
+ #
9490
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
9491
+ # @return [Array<Types::ReplicationGroupUpdate>]
9492
+ #
8825
9493
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
8826
9494
  #
8827
9495
  class UpdateTableInput < Struct.new(
@@ -8831,7 +9499,8 @@ module Aws::DynamoDB
8831
9499
  :provisioned_throughput,
8832
9500
  :global_secondary_index_updates,
8833
9501
  :stream_specification,
8834
- :sse_specification)
9502
+ :sse_specification,
9503
+ :replica_updates)
8835
9504
  include Aws::Structure
8836
9505
  end
8837
9506
 
@@ -8848,6 +9517,129 @@ module Aws::DynamoDB
8848
9517
  include Aws::Structure
8849
9518
  end
8850
9519
 
9520
+ # @note When making an API call, you may pass UpdateTableReplicaAutoScalingInput
9521
+ # data as a hash:
9522
+ #
9523
+ # {
9524
+ # global_secondary_index_updates: [
9525
+ # {
9526
+ # index_name: "IndexName",
9527
+ # provisioned_write_capacity_auto_scaling_update: {
9528
+ # minimum_units: 1,
9529
+ # maximum_units: 1,
9530
+ # auto_scaling_disabled: false,
9531
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
9532
+ # scaling_policy_update: {
9533
+ # policy_name: "AutoScalingPolicyName",
9534
+ # target_tracking_scaling_policy_configuration: { # required
9535
+ # disable_scale_in: false,
9536
+ # scale_in_cooldown: 1,
9537
+ # scale_out_cooldown: 1,
9538
+ # target_value: 1.0, # required
9539
+ # },
9540
+ # },
9541
+ # },
9542
+ # },
9543
+ # ],
9544
+ # table_name: "TableName", # required
9545
+ # provisioned_write_capacity_auto_scaling_update: {
9546
+ # minimum_units: 1,
9547
+ # maximum_units: 1,
9548
+ # auto_scaling_disabled: false,
9549
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
9550
+ # scaling_policy_update: {
9551
+ # policy_name: "AutoScalingPolicyName",
9552
+ # target_tracking_scaling_policy_configuration: { # required
9553
+ # disable_scale_in: false,
9554
+ # scale_in_cooldown: 1,
9555
+ # scale_out_cooldown: 1,
9556
+ # target_value: 1.0, # required
9557
+ # },
9558
+ # },
9559
+ # },
9560
+ # replica_updates: [
9561
+ # {
9562
+ # region_name: "RegionName", # required
9563
+ # replica_global_secondary_index_updates: [
9564
+ # {
9565
+ # index_name: "IndexName",
9566
+ # provisioned_read_capacity_auto_scaling_update: {
9567
+ # minimum_units: 1,
9568
+ # maximum_units: 1,
9569
+ # auto_scaling_disabled: false,
9570
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
9571
+ # scaling_policy_update: {
9572
+ # policy_name: "AutoScalingPolicyName",
9573
+ # target_tracking_scaling_policy_configuration: { # required
9574
+ # disable_scale_in: false,
9575
+ # scale_in_cooldown: 1,
9576
+ # scale_out_cooldown: 1,
9577
+ # target_value: 1.0, # required
9578
+ # },
9579
+ # },
9580
+ # },
9581
+ # },
9582
+ # ],
9583
+ # replica_provisioned_read_capacity_auto_scaling_update: {
9584
+ # minimum_units: 1,
9585
+ # maximum_units: 1,
9586
+ # auto_scaling_disabled: false,
9587
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
9588
+ # scaling_policy_update: {
9589
+ # policy_name: "AutoScalingPolicyName",
9590
+ # target_tracking_scaling_policy_configuration: { # required
9591
+ # disable_scale_in: false,
9592
+ # scale_in_cooldown: 1,
9593
+ # scale_out_cooldown: 1,
9594
+ # target_value: 1.0, # required
9595
+ # },
9596
+ # },
9597
+ # },
9598
+ # },
9599
+ # ],
9600
+ # }
9601
+ #
9602
+ # @!attribute [rw] global_secondary_index_updates
9603
+ # Represents the auto scaling settings of the global secondary indexes
9604
+ # of the replica to be updated.
9605
+ # @return [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>]
9606
+ #
9607
+ # @!attribute [rw] table_name
9608
+ # The name of the global table to be updated.
9609
+ # @return [String]
9610
+ #
9611
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_update
9612
+ # Represents the auto scaling settings to be modified for a global
9613
+ # table or global secondary index.
9614
+ # @return [Types::AutoScalingSettingsUpdate]
9615
+ #
9616
+ # @!attribute [rw] replica_updates
9617
+ # Represents the auto scaling settings of replicas of the table that
9618
+ # will be modified.
9619
+ # @return [Array<Types::ReplicaAutoScalingUpdate>]
9620
+ #
9621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScalingInput AWS API Documentation
9622
+ #
9623
+ class UpdateTableReplicaAutoScalingInput < Struct.new(
9624
+ :global_secondary_index_updates,
9625
+ :table_name,
9626
+ :provisioned_write_capacity_auto_scaling_update,
9627
+ :replica_updates)
9628
+ include Aws::Structure
9629
+ end
9630
+
9631
+ # @!attribute [rw] table_auto_scaling_description
9632
+ # Returns information about the auto scaling settings of a table with
9633
+ # replicas.
9634
+ # @return [Types::TableAutoScalingDescription]
9635
+ #
9636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScalingOutput AWS API Documentation
9637
+ #
9638
+ class UpdateTableReplicaAutoScalingOutput < Struct.new(
9639
+ :table_auto_scaling_description)
9640
+ include Aws::Structure
9641
+ end
9642
+
8851
9643
  # Represents the input of an `UpdateTimeToLive` operation.
8852
9644
  #
8853
9645
  # @note When making an API call, you may pass UpdateTimeToLiveInput