aws-sdk-dynamodb 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +607 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +357 -0
- data/lib/aws-sdk-dynamodb/table.rb +12 -0
- data/lib/aws-sdk-dynamodb/types.rb +891 -5
- metadata +2 -2
@@ -22,6 +22,18 @@ module Aws::DynamoDB
|
|
22
22
|
AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
|
23
23
|
AttributeValueUpdate = Shapes::StructureShape.new(name: 'AttributeValueUpdate')
|
24
24
|
Backfilling = Shapes::BooleanShape.new(name: 'Backfilling')
|
25
|
+
BackupArn = Shapes::StringShape.new(name: 'BackupArn')
|
26
|
+
BackupCreationDateTime = Shapes::TimestampShape.new(name: 'BackupCreationDateTime')
|
27
|
+
BackupDescription = Shapes::StructureShape.new(name: 'BackupDescription')
|
28
|
+
BackupDetails = Shapes::StructureShape.new(name: 'BackupDetails')
|
29
|
+
BackupInUseException = Shapes::StructureShape.new(name: 'BackupInUseException')
|
30
|
+
BackupName = Shapes::StringShape.new(name: 'BackupName')
|
31
|
+
BackupNotFoundException = Shapes::StructureShape.new(name: 'BackupNotFoundException')
|
32
|
+
BackupSizeBytes = Shapes::IntegerShape.new(name: 'BackupSizeBytes')
|
33
|
+
BackupStatus = Shapes::StringShape.new(name: 'BackupStatus')
|
34
|
+
BackupSummaries = Shapes::ListShape.new(name: 'BackupSummaries')
|
35
|
+
BackupSummary = Shapes::StructureShape.new(name: 'BackupSummary')
|
36
|
+
BackupsInputLimit = Shapes::IntegerShape.new(name: 'BackupsInputLimit')
|
25
37
|
BatchGetItemInput = Shapes::StructureShape.new(name: 'BatchGetItemInput')
|
26
38
|
BatchGetItemOutput = Shapes::StructureShape.new(name: 'BatchGetItemOutput')
|
27
39
|
BatchGetRequestMap = Shapes::MapShape.new(name: 'BatchGetRequestMap')
|
@@ -43,16 +55,33 @@ module Aws::DynamoDB
|
|
43
55
|
ConsumedCapacity = Shapes::StructureShape.new(name: 'ConsumedCapacity')
|
44
56
|
ConsumedCapacityMultiple = Shapes::ListShape.new(name: 'ConsumedCapacityMultiple')
|
45
57
|
ConsumedCapacityUnits = Shapes::FloatShape.new(name: 'ConsumedCapacityUnits')
|
58
|
+
ContinuousBackupsDescription = Shapes::StructureShape.new(name: 'ContinuousBackupsDescription')
|
59
|
+
ContinuousBackupsStatus = Shapes::StringShape.new(name: 'ContinuousBackupsStatus')
|
60
|
+
ContinuousBackupsUnavailableException = Shapes::StructureShape.new(name: 'ContinuousBackupsUnavailableException')
|
61
|
+
CreateBackupInput = Shapes::StructureShape.new(name: 'CreateBackupInput')
|
62
|
+
CreateBackupOutput = Shapes::StructureShape.new(name: 'CreateBackupOutput')
|
46
63
|
CreateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'CreateGlobalSecondaryIndexAction')
|
64
|
+
CreateGlobalTableInput = Shapes::StructureShape.new(name: 'CreateGlobalTableInput')
|
65
|
+
CreateGlobalTableOutput = Shapes::StructureShape.new(name: 'CreateGlobalTableOutput')
|
66
|
+
CreateReplicaAction = Shapes::StructureShape.new(name: 'CreateReplicaAction')
|
47
67
|
CreateTableInput = Shapes::StructureShape.new(name: 'CreateTableInput')
|
48
68
|
CreateTableOutput = Shapes::StructureShape.new(name: 'CreateTableOutput')
|
49
69
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
70
|
+
DeleteBackupInput = Shapes::StructureShape.new(name: 'DeleteBackupInput')
|
71
|
+
DeleteBackupOutput = Shapes::StructureShape.new(name: 'DeleteBackupOutput')
|
50
72
|
DeleteGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'DeleteGlobalSecondaryIndexAction')
|
51
73
|
DeleteItemInput = Shapes::StructureShape.new(name: 'DeleteItemInput')
|
52
74
|
DeleteItemOutput = Shapes::StructureShape.new(name: 'DeleteItemOutput')
|
75
|
+
DeleteReplicaAction = Shapes::StructureShape.new(name: 'DeleteReplicaAction')
|
53
76
|
DeleteRequest = Shapes::StructureShape.new(name: 'DeleteRequest')
|
54
77
|
DeleteTableInput = Shapes::StructureShape.new(name: 'DeleteTableInput')
|
55
78
|
DeleteTableOutput = Shapes::StructureShape.new(name: 'DeleteTableOutput')
|
79
|
+
DescribeBackupInput = Shapes::StructureShape.new(name: 'DescribeBackupInput')
|
80
|
+
DescribeBackupOutput = Shapes::StructureShape.new(name: 'DescribeBackupOutput')
|
81
|
+
DescribeContinuousBackupsInput = Shapes::StructureShape.new(name: 'DescribeContinuousBackupsInput')
|
82
|
+
DescribeContinuousBackupsOutput = Shapes::StructureShape.new(name: 'DescribeContinuousBackupsOutput')
|
83
|
+
DescribeGlobalTableInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableInput')
|
84
|
+
DescribeGlobalTableOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableOutput')
|
56
85
|
DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
|
57
86
|
DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
|
58
87
|
DescribeTableInput = Shapes::StructureShape.new(name: 'DescribeTableInput')
|
@@ -72,9 +101,18 @@ module Aws::DynamoDB
|
|
72
101
|
GlobalSecondaryIndex = Shapes::StructureShape.new(name: 'GlobalSecondaryIndex')
|
73
102
|
GlobalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexDescription')
|
74
103
|
GlobalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexDescriptionList')
|
104
|
+
GlobalSecondaryIndexInfo = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexInfo')
|
75
105
|
GlobalSecondaryIndexList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexList')
|
76
106
|
GlobalSecondaryIndexUpdate = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexUpdate')
|
77
107
|
GlobalSecondaryIndexUpdateList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexUpdateList')
|
108
|
+
GlobalSecondaryIndexes = Shapes::ListShape.new(name: 'GlobalSecondaryIndexes')
|
109
|
+
GlobalTable = Shapes::StructureShape.new(name: 'GlobalTable')
|
110
|
+
GlobalTableAlreadyExistsException = Shapes::StructureShape.new(name: 'GlobalTableAlreadyExistsException')
|
111
|
+
GlobalTableArnString = Shapes::StringShape.new(name: 'GlobalTableArnString')
|
112
|
+
GlobalTableDescription = Shapes::StructureShape.new(name: 'GlobalTableDescription')
|
113
|
+
GlobalTableList = Shapes::ListShape.new(name: 'GlobalTableList')
|
114
|
+
GlobalTableNotFoundException = Shapes::StructureShape.new(name: 'GlobalTableNotFoundException')
|
115
|
+
GlobalTableStatus = Shapes::StringShape.new(name: 'GlobalTableStatus')
|
78
116
|
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
79
117
|
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
|
80
118
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
@@ -86,6 +124,7 @@ module Aws::DynamoDB
|
|
86
124
|
ItemCollectionSizeEstimateBound = Shapes::FloatShape.new(name: 'ItemCollectionSizeEstimateBound')
|
87
125
|
ItemCollectionSizeEstimateRange = Shapes::ListShape.new(name: 'ItemCollectionSizeEstimateRange')
|
88
126
|
ItemCollectionSizeLimitExceededException = Shapes::StructureShape.new(name: 'ItemCollectionSizeLimitExceededException')
|
127
|
+
ItemCount = Shapes::IntegerShape.new(name: 'ItemCount')
|
89
128
|
ItemList = Shapes::ListShape.new(name: 'ItemList')
|
90
129
|
Key = Shapes::MapShape.new(name: 'Key')
|
91
130
|
KeyConditions = Shapes::MapShape.new(name: 'KeyConditions')
|
@@ -98,6 +137,10 @@ module Aws::DynamoDB
|
|
98
137
|
KeysAndAttributes = Shapes::StructureShape.new(name: 'KeysAndAttributes')
|
99
138
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
100
139
|
ListAttributeValue = Shapes::ListShape.new(name: 'ListAttributeValue')
|
140
|
+
ListBackupsInput = Shapes::StructureShape.new(name: 'ListBackupsInput')
|
141
|
+
ListBackupsOutput = Shapes::StructureShape.new(name: 'ListBackupsOutput')
|
142
|
+
ListGlobalTablesInput = Shapes::StructureShape.new(name: 'ListGlobalTablesInput')
|
143
|
+
ListGlobalTablesOutput = Shapes::StructureShape.new(name: 'ListGlobalTablesOutput')
|
101
144
|
ListTablesInput = Shapes::StructureShape.new(name: 'ListTablesInput')
|
102
145
|
ListTablesInputLimit = Shapes::IntegerShape.new(name: 'ListTablesInputLimit')
|
103
146
|
ListTablesOutput = Shapes::StructureShape.new(name: 'ListTablesOutput')
|
@@ -106,7 +149,9 @@ module Aws::DynamoDB
|
|
106
149
|
LocalSecondaryIndex = Shapes::StructureShape.new(name: 'LocalSecondaryIndex')
|
107
150
|
LocalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'LocalSecondaryIndexDescription')
|
108
151
|
LocalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'LocalSecondaryIndexDescriptionList')
|
152
|
+
LocalSecondaryIndexInfo = Shapes::StructureShape.new(name: 'LocalSecondaryIndexInfo')
|
109
153
|
LocalSecondaryIndexList = Shapes::ListShape.new(name: 'LocalSecondaryIndexList')
|
154
|
+
LocalSecondaryIndexes = Shapes::ListShape.new(name: 'LocalSecondaryIndexes')
|
110
155
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
111
156
|
MapAttributeValue = Shapes::MapShape.new(name: 'MapAttributeValue')
|
112
157
|
NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
|
@@ -129,9 +174,23 @@ module Aws::DynamoDB
|
|
129
174
|
PutRequest = Shapes::StructureShape.new(name: 'PutRequest')
|
130
175
|
QueryInput = Shapes::StructureShape.new(name: 'QueryInput')
|
131
176
|
QueryOutput = Shapes::StructureShape.new(name: 'QueryOutput')
|
177
|
+
RegionName = Shapes::StringShape.new(name: 'RegionName')
|
178
|
+
Replica = Shapes::StructureShape.new(name: 'Replica')
|
179
|
+
ReplicaAlreadyExistsException = Shapes::StructureShape.new(name: 'ReplicaAlreadyExistsException')
|
180
|
+
ReplicaDescription = Shapes::StructureShape.new(name: 'ReplicaDescription')
|
181
|
+
ReplicaDescriptionList = Shapes::ListShape.new(name: 'ReplicaDescriptionList')
|
182
|
+
ReplicaList = Shapes::ListShape.new(name: 'ReplicaList')
|
183
|
+
ReplicaNotFoundException = Shapes::StructureShape.new(name: 'ReplicaNotFoundException')
|
184
|
+
ReplicaUpdate = Shapes::StructureShape.new(name: 'ReplicaUpdate')
|
185
|
+
ReplicaUpdateList = Shapes::ListShape.new(name: 'ReplicaUpdateList')
|
132
186
|
ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
|
133
187
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
134
188
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
189
|
+
RestoreDateTime = Shapes::TimestampShape.new(name: 'RestoreDateTime')
|
190
|
+
RestoreInProgress = Shapes::BooleanShape.new(name: 'RestoreInProgress')
|
191
|
+
RestoreSummary = Shapes::StructureShape.new(name: 'RestoreSummary')
|
192
|
+
RestoreTableFromBackupInput = Shapes::StructureShape.new(name: 'RestoreTableFromBackupInput')
|
193
|
+
RestoreTableFromBackupOutput = Shapes::StructureShape.new(name: 'RestoreTableFromBackupOutput')
|
135
194
|
ReturnConsumedCapacity = Shapes::StringShape.new(name: 'ReturnConsumedCapacity')
|
136
195
|
ReturnItemCollectionMetrics = Shapes::StringShape.new(name: 'ReturnItemCollectionMetrics')
|
137
196
|
ReturnValue = Shapes::StringShape.new(name: 'ReturnValue')
|
@@ -142,6 +201,8 @@ module Aws::DynamoDB
|
|
142
201
|
ScanTotalSegments = Shapes::IntegerShape.new(name: 'ScanTotalSegments')
|
143
202
|
SecondaryIndexesCapacityMap = Shapes::MapShape.new(name: 'SecondaryIndexesCapacityMap')
|
144
203
|
Select = Shapes::StringShape.new(name: 'Select')
|
204
|
+
SourceTableDetails = Shapes::StructureShape.new(name: 'SourceTableDetails')
|
205
|
+
SourceTableFeatureDetails = Shapes::StructureShape.new(name: 'SourceTableFeatureDetails')
|
145
206
|
StreamArn = Shapes::StringShape.new(name: 'StreamArn')
|
146
207
|
StreamEnabled = Shapes::BooleanShape.new(name: 'StreamEnabled')
|
147
208
|
StreamSpecification = Shapes::StructureShape.new(name: 'StreamSpecification')
|
@@ -149,9 +210,15 @@ module Aws::DynamoDB
|
|
149
210
|
String = Shapes::StringShape.new(name: 'String')
|
150
211
|
StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
|
151
212
|
StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
|
213
|
+
TableAlreadyExistsException = Shapes::StructureShape.new(name: 'TableAlreadyExistsException')
|
214
|
+
TableArn = Shapes::StringShape.new(name: 'TableArn')
|
215
|
+
TableCreationDateTime = Shapes::TimestampShape.new(name: 'TableCreationDateTime')
|
152
216
|
TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
|
217
|
+
TableId = Shapes::StringShape.new(name: 'TableId')
|
218
|
+
TableInUseException = Shapes::StructureShape.new(name: 'TableInUseException')
|
153
219
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
154
220
|
TableNameList = Shapes::ListShape.new(name: 'TableNameList')
|
221
|
+
TableNotFoundException = Shapes::StructureShape.new(name: 'TableNotFoundException')
|
155
222
|
TableStatus = Shapes::StringShape.new(name: 'TableStatus')
|
156
223
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
157
224
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -159,6 +226,8 @@ module Aws::DynamoDB
|
|
159
226
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
160
227
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
161
228
|
TagValueString = Shapes::StringShape.new(name: 'TagValueString')
|
229
|
+
TimeRangeLowerBound = Shapes::TimestampShape.new(name: 'TimeRangeLowerBound')
|
230
|
+
TimeRangeUpperBound = Shapes::TimestampShape.new(name: 'TimeRangeUpperBound')
|
162
231
|
TimeToLiveAttributeName = Shapes::StringShape.new(name: 'TimeToLiveAttributeName')
|
163
232
|
TimeToLiveDescription = Shapes::StructureShape.new(name: 'TimeToLiveDescription')
|
164
233
|
TimeToLiveEnabled = Shapes::BooleanShape.new(name: 'TimeToLiveEnabled')
|
@@ -167,6 +236,8 @@ module Aws::DynamoDB
|
|
167
236
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
168
237
|
UpdateExpression = Shapes::StringShape.new(name: 'UpdateExpression')
|
169
238
|
UpdateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'UpdateGlobalSecondaryIndexAction')
|
239
|
+
UpdateGlobalTableInput = Shapes::StructureShape.new(name: 'UpdateGlobalTableInput')
|
240
|
+
UpdateGlobalTableOutput = Shapes::StructureShape.new(name: 'UpdateGlobalTableOutput')
|
170
241
|
UpdateItemInput = Shapes::StructureShape.new(name: 'UpdateItemInput')
|
171
242
|
UpdateItemOutput = Shapes::StructureShape.new(name: 'UpdateItemOutput')
|
172
243
|
UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
|
@@ -208,6 +279,30 @@ module Aws::DynamoDB
|
|
208
279
|
AttributeValueUpdate.add_member(:action, Shapes::ShapeRef.new(shape: AttributeAction, location_name: "Action"))
|
209
280
|
AttributeValueUpdate.struct_class = Types::AttributeValueUpdate
|
210
281
|
|
282
|
+
BackupDescription.add_member(:backup_details, Shapes::ShapeRef.new(shape: BackupDetails, location_name: "BackupDetails"))
|
283
|
+
BackupDescription.add_member(:source_table_details, Shapes::ShapeRef.new(shape: SourceTableDetails, location_name: "SourceTableDetails"))
|
284
|
+
BackupDescription.add_member(:source_table_feature_details, Shapes::ShapeRef.new(shape: SourceTableFeatureDetails, location_name: "SourceTableFeatureDetails"))
|
285
|
+
BackupDescription.struct_class = Types::BackupDescription
|
286
|
+
|
287
|
+
BackupDetails.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
288
|
+
BackupDetails.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
|
289
|
+
BackupDetails.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: BackupSizeBytes, location_name: "BackupSizeBytes"))
|
290
|
+
BackupDetails.add_member(:backup_status, Shapes::ShapeRef.new(shape: BackupStatus, required: true, location_name: "BackupStatus"))
|
291
|
+
BackupDetails.add_member(:backup_creation_date_time, Shapes::ShapeRef.new(shape: BackupCreationDateTime, required: true, location_name: "BackupCreationDateTime"))
|
292
|
+
BackupDetails.struct_class = Types::BackupDetails
|
293
|
+
|
294
|
+
BackupSummaries.member = Shapes::ShapeRef.new(shape: BackupSummary)
|
295
|
+
|
296
|
+
BackupSummary.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
297
|
+
BackupSummary.add_member(:table_id, Shapes::ShapeRef.new(shape: TableId, location_name: "TableId"))
|
298
|
+
BackupSummary.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
299
|
+
BackupSummary.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "BackupArn"))
|
300
|
+
BackupSummary.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, location_name: "BackupName"))
|
301
|
+
BackupSummary.add_member(:backup_creation_date_time, Shapes::ShapeRef.new(shape: BackupCreationDateTime, location_name: "BackupCreationDateTime"))
|
302
|
+
BackupSummary.add_member(:backup_status, Shapes::ShapeRef.new(shape: BackupStatus, location_name: "BackupStatus"))
|
303
|
+
BackupSummary.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: BackupSizeBytes, location_name: "BackupSizeBytes"))
|
304
|
+
BackupSummary.struct_class = Types::BackupSummary
|
305
|
+
|
211
306
|
BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
|
212
307
|
BatchGetItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
213
308
|
BatchGetItemInput.struct_class = Types::BatchGetItemInput
|
@@ -254,12 +349,32 @@ module Aws::DynamoDB
|
|
254
349
|
|
255
350
|
ConsumedCapacityMultiple.member = Shapes::ShapeRef.new(shape: ConsumedCapacity)
|
256
351
|
|
352
|
+
ContinuousBackupsDescription.add_member(:continuous_backups_status, Shapes::ShapeRef.new(shape: ContinuousBackupsStatus, required: true, location_name: "ContinuousBackupsStatus"))
|
353
|
+
ContinuousBackupsDescription.struct_class = Types::ContinuousBackupsDescription
|
354
|
+
|
355
|
+
CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
356
|
+
CreateBackupInput.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
|
357
|
+
CreateBackupInput.struct_class = Types::CreateBackupInput
|
358
|
+
|
359
|
+
CreateBackupOutput.add_member(:backup_details, Shapes::ShapeRef.new(shape: BackupDetails, location_name: "BackupDetails"))
|
360
|
+
CreateBackupOutput.struct_class = Types::CreateBackupOutput
|
361
|
+
|
257
362
|
CreateGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
258
363
|
CreateGlobalSecondaryIndexAction.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
|
259
364
|
CreateGlobalSecondaryIndexAction.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, required: true, location_name: "Projection"))
|
260
365
|
CreateGlobalSecondaryIndexAction.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
|
261
366
|
CreateGlobalSecondaryIndexAction.struct_class = Types::CreateGlobalSecondaryIndexAction
|
262
367
|
|
368
|
+
CreateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
369
|
+
CreateGlobalTableInput.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaList, required: true, location_name: "ReplicationGroup"))
|
370
|
+
CreateGlobalTableInput.struct_class = Types::CreateGlobalTableInput
|
371
|
+
|
372
|
+
CreateGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
373
|
+
CreateGlobalTableOutput.struct_class = Types::CreateGlobalTableOutput
|
374
|
+
|
375
|
+
CreateReplicaAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
|
376
|
+
CreateReplicaAction.struct_class = Types::CreateReplicaAction
|
377
|
+
|
263
378
|
CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
|
264
379
|
CreateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
265
380
|
CreateTableInput.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
|
@@ -272,6 +387,12 @@ module Aws::DynamoDB
|
|
272
387
|
CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
273
388
|
CreateTableOutput.struct_class = Types::CreateTableOutput
|
274
389
|
|
390
|
+
DeleteBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
391
|
+
DeleteBackupInput.struct_class = Types::DeleteBackupInput
|
392
|
+
|
393
|
+
DeleteBackupOutput.add_member(:backup_description, Shapes::ShapeRef.new(shape: BackupDescription, location_name: "BackupDescription"))
|
394
|
+
DeleteBackupOutput.struct_class = Types::DeleteBackupOutput
|
395
|
+
|
275
396
|
DeleteGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
276
397
|
DeleteGlobalSecondaryIndexAction.struct_class = Types::DeleteGlobalSecondaryIndexAction
|
277
398
|
|
@@ -292,6 +413,9 @@ module Aws::DynamoDB
|
|
292
413
|
DeleteItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
|
293
414
|
DeleteItemOutput.struct_class = Types::DeleteItemOutput
|
294
415
|
|
416
|
+
DeleteReplicaAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
|
417
|
+
DeleteReplicaAction.struct_class = Types::DeleteReplicaAction
|
418
|
+
|
295
419
|
DeleteRequest.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
296
420
|
DeleteRequest.struct_class = Types::DeleteRequest
|
297
421
|
|
@@ -301,6 +425,24 @@ module Aws::DynamoDB
|
|
301
425
|
DeleteTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
302
426
|
DeleteTableOutput.struct_class = Types::DeleteTableOutput
|
303
427
|
|
428
|
+
DescribeBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
429
|
+
DescribeBackupInput.struct_class = Types::DescribeBackupInput
|
430
|
+
|
431
|
+
DescribeBackupOutput.add_member(:backup_description, Shapes::ShapeRef.new(shape: BackupDescription, location_name: "BackupDescription"))
|
432
|
+
DescribeBackupOutput.struct_class = Types::DescribeBackupOutput
|
433
|
+
|
434
|
+
DescribeContinuousBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
435
|
+
DescribeContinuousBackupsInput.struct_class = Types::DescribeContinuousBackupsInput
|
436
|
+
|
437
|
+
DescribeContinuousBackupsOutput.add_member(:continuous_backups_description, Shapes::ShapeRef.new(shape: ContinuousBackupsDescription, location_name: "ContinuousBackupsDescription"))
|
438
|
+
DescribeContinuousBackupsOutput.struct_class = Types::DescribeContinuousBackupsOutput
|
439
|
+
|
440
|
+
DescribeGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
441
|
+
DescribeGlobalTableInput.struct_class = Types::DescribeGlobalTableInput
|
442
|
+
|
443
|
+
DescribeGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
444
|
+
DescribeGlobalTableOutput.struct_class = Types::DescribeGlobalTableOutput
|
445
|
+
|
304
446
|
DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
|
305
447
|
|
306
448
|
DescribeLimitsOutput.add_member(:account_max_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "AccountMaxReadCapacityUnits"))
|
@@ -371,6 +513,12 @@ module Aws::DynamoDB
|
|
371
513
|
|
372
514
|
GlobalSecondaryIndexDescriptionList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexDescription)
|
373
515
|
|
516
|
+
GlobalSecondaryIndexInfo.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
517
|
+
GlobalSecondaryIndexInfo.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
|
518
|
+
GlobalSecondaryIndexInfo.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, location_name: "Projection"))
|
519
|
+
GlobalSecondaryIndexInfo.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
|
520
|
+
GlobalSecondaryIndexInfo.struct_class = Types::GlobalSecondaryIndexInfo
|
521
|
+
|
374
522
|
GlobalSecondaryIndexList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndex)
|
375
523
|
|
376
524
|
GlobalSecondaryIndexUpdate.add_member(:update, Shapes::ShapeRef.new(shape: UpdateGlobalSecondaryIndexAction, location_name: "Update"))
|
@@ -380,6 +528,21 @@ module Aws::DynamoDB
|
|
380
528
|
|
381
529
|
GlobalSecondaryIndexUpdateList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdate)
|
382
530
|
|
531
|
+
GlobalSecondaryIndexes.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexInfo)
|
532
|
+
|
533
|
+
GlobalTable.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "GlobalTableName"))
|
534
|
+
GlobalTable.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaList, location_name: "ReplicationGroup"))
|
535
|
+
GlobalTable.struct_class = Types::GlobalTable
|
536
|
+
|
537
|
+
GlobalTableDescription.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaDescriptionList, location_name: "ReplicationGroup"))
|
538
|
+
GlobalTableDescription.add_member(:global_table_arn, Shapes::ShapeRef.new(shape: GlobalTableArnString, location_name: "GlobalTableArn"))
|
539
|
+
GlobalTableDescription.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationDateTime"))
|
540
|
+
GlobalTableDescription.add_member(:global_table_status, Shapes::ShapeRef.new(shape: GlobalTableStatus, location_name: "GlobalTableStatus"))
|
541
|
+
GlobalTableDescription.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "GlobalTableName"))
|
542
|
+
GlobalTableDescription.struct_class = Types::GlobalTableDescription
|
543
|
+
|
544
|
+
GlobalTableList.member = Shapes::ShapeRef.new(shape: GlobalTable)
|
545
|
+
|
383
546
|
ItemCollectionKeyAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
384
547
|
ItemCollectionKeyAttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
385
548
|
|
@@ -419,6 +582,26 @@ module Aws::DynamoDB
|
|
419
582
|
|
420
583
|
ListAttributeValue.member = Shapes::ShapeRef.new(shape: AttributeValue)
|
421
584
|
|
585
|
+
ListBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
586
|
+
ListBackupsInput.add_member(:limit, Shapes::ShapeRef.new(shape: BackupsInputLimit, location_name: "Limit"))
|
587
|
+
ListBackupsInput.add_member(:time_range_lower_bound, Shapes::ShapeRef.new(shape: TimeRangeLowerBound, location_name: "TimeRangeLowerBound"))
|
588
|
+
ListBackupsInput.add_member(:time_range_upper_bound, Shapes::ShapeRef.new(shape: TimeRangeUpperBound, location_name: "TimeRangeUpperBound"))
|
589
|
+
ListBackupsInput.add_member(:exclusive_start_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "ExclusiveStartBackupArn"))
|
590
|
+
ListBackupsInput.struct_class = Types::ListBackupsInput
|
591
|
+
|
592
|
+
ListBackupsOutput.add_member(:backup_summaries, Shapes::ShapeRef.new(shape: BackupSummaries, location_name: "BackupSummaries"))
|
593
|
+
ListBackupsOutput.add_member(:last_evaluated_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "LastEvaluatedBackupArn"))
|
594
|
+
ListBackupsOutput.struct_class = Types::ListBackupsOutput
|
595
|
+
|
596
|
+
ListGlobalTablesInput.add_member(:exclusive_start_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartGlobalTableName"))
|
597
|
+
ListGlobalTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
598
|
+
ListGlobalTablesInput.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
599
|
+
ListGlobalTablesInput.struct_class = Types::ListGlobalTablesInput
|
600
|
+
|
601
|
+
ListGlobalTablesOutput.add_member(:global_tables, Shapes::ShapeRef.new(shape: GlobalTableList, location_name: "GlobalTables"))
|
602
|
+
ListGlobalTablesOutput.add_member(:last_evaluated_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedGlobalTableName"))
|
603
|
+
ListGlobalTablesOutput.struct_class = Types::ListGlobalTablesOutput
|
604
|
+
|
422
605
|
ListTablesInput.add_member(:exclusive_start_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartTableName"))
|
423
606
|
ListTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTablesInputLimit, location_name: "Limit"))
|
424
607
|
ListTablesInput.struct_class = Types::ListTablesInput
|
@@ -450,8 +633,15 @@ module Aws::DynamoDB
|
|
450
633
|
|
451
634
|
LocalSecondaryIndexDescriptionList.member = Shapes::ShapeRef.new(shape: LocalSecondaryIndexDescription)
|
452
635
|
|
636
|
+
LocalSecondaryIndexInfo.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
637
|
+
LocalSecondaryIndexInfo.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
|
638
|
+
LocalSecondaryIndexInfo.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, location_name: "Projection"))
|
639
|
+
LocalSecondaryIndexInfo.struct_class = Types::LocalSecondaryIndexInfo
|
640
|
+
|
453
641
|
LocalSecondaryIndexList.member = Shapes::ShapeRef.new(shape: LocalSecondaryIndex)
|
454
642
|
|
643
|
+
LocalSecondaryIndexes.member = Shapes::ShapeRef.new(shape: LocalSecondaryIndexInfo)
|
644
|
+
|
455
645
|
MapAttributeValue.key = Shapes::ShapeRef.new(shape: AttributeName)
|
456
646
|
MapAttributeValue.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
457
647
|
|
@@ -523,6 +713,35 @@ module Aws::DynamoDB
|
|
523
713
|
QueryOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
|
524
714
|
QueryOutput.struct_class = Types::QueryOutput
|
525
715
|
|
716
|
+
Replica.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
717
|
+
Replica.struct_class = Types::Replica
|
718
|
+
|
719
|
+
ReplicaDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
720
|
+
ReplicaDescription.struct_class = Types::ReplicaDescription
|
721
|
+
|
722
|
+
ReplicaDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaDescription)
|
723
|
+
|
724
|
+
ReplicaList.member = Shapes::ShapeRef.new(shape: Replica)
|
725
|
+
|
726
|
+
ReplicaUpdate.add_member(:create, Shapes::ShapeRef.new(shape: CreateReplicaAction, location_name: "Create"))
|
727
|
+
ReplicaUpdate.add_member(:delete, Shapes::ShapeRef.new(shape: DeleteReplicaAction, location_name: "Delete"))
|
728
|
+
ReplicaUpdate.struct_class = Types::ReplicaUpdate
|
729
|
+
|
730
|
+
ReplicaUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaUpdate)
|
731
|
+
|
732
|
+
RestoreSummary.add_member(:source_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "SourceBackupArn"))
|
733
|
+
RestoreSummary.add_member(:source_table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "SourceTableArn"))
|
734
|
+
RestoreSummary.add_member(:restore_date_time, Shapes::ShapeRef.new(shape: RestoreDateTime, required: true, location_name: "RestoreDateTime"))
|
735
|
+
RestoreSummary.add_member(:restore_in_progress, Shapes::ShapeRef.new(shape: RestoreInProgress, required: true, location_name: "RestoreInProgress"))
|
736
|
+
RestoreSummary.struct_class = Types::RestoreSummary
|
737
|
+
|
738
|
+
RestoreTableFromBackupInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName"))
|
739
|
+
RestoreTableFromBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
740
|
+
RestoreTableFromBackupInput.struct_class = Types::RestoreTableFromBackupInput
|
741
|
+
|
742
|
+
RestoreTableFromBackupOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
743
|
+
RestoreTableFromBackupOutput.struct_class = Types::RestoreTableFromBackupOutput
|
744
|
+
|
526
745
|
ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
527
746
|
ScanInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
528
747
|
ScanInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
|
@@ -551,6 +770,22 @@ module Aws::DynamoDB
|
|
551
770
|
SecondaryIndexesCapacityMap.key = Shapes::ShapeRef.new(shape: IndexName)
|
552
771
|
SecondaryIndexesCapacityMap.value = Shapes::ShapeRef.new(shape: Capacity)
|
553
772
|
|
773
|
+
SourceTableDetails.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
774
|
+
SourceTableDetails.add_member(:table_id, Shapes::ShapeRef.new(shape: TableId, required: true, location_name: "TableId"))
|
775
|
+
SourceTableDetails.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
776
|
+
SourceTableDetails.add_member(:table_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TableSizeBytes"))
|
777
|
+
SourceTableDetails.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
|
778
|
+
SourceTableDetails.add_member(:table_creation_date_time, Shapes::ShapeRef.new(shape: TableCreationDateTime, required: true, location_name: "TableCreationDateTime"))
|
779
|
+
SourceTableDetails.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
|
780
|
+
SourceTableDetails.add_member(:item_count, Shapes::ShapeRef.new(shape: ItemCount, location_name: "ItemCount"))
|
781
|
+
SourceTableDetails.struct_class = Types::SourceTableDetails
|
782
|
+
|
783
|
+
SourceTableFeatureDetails.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: LocalSecondaryIndexes, location_name: "LocalSecondaryIndexes"))
|
784
|
+
SourceTableFeatureDetails.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexes, location_name: "GlobalSecondaryIndexes"))
|
785
|
+
SourceTableFeatureDetails.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamDescription"))
|
786
|
+
SourceTableFeatureDetails.add_member(:time_to_live_description, Shapes::ShapeRef.new(shape: TimeToLiveDescription, location_name: "TimeToLiveDescription"))
|
787
|
+
SourceTableFeatureDetails.struct_class = Types::SourceTableFeatureDetails
|
788
|
+
|
554
789
|
StreamSpecification.add_member(:stream_enabled, Shapes::ShapeRef.new(shape: StreamEnabled, location_name: "StreamEnabled"))
|
555
790
|
StreamSpecification.add_member(:stream_view_type, Shapes::ShapeRef.new(shape: StreamViewType, location_name: "StreamViewType"))
|
556
791
|
StreamSpecification.struct_class = Types::StreamSpecification
|
@@ -566,11 +801,13 @@ module Aws::DynamoDB
|
|
566
801
|
TableDescription.add_member(:table_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TableSizeBytes"))
|
567
802
|
TableDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemCount"))
|
568
803
|
TableDescription.add_member(:table_arn, Shapes::ShapeRef.new(shape: String, location_name: "TableArn"))
|
804
|
+
TableDescription.add_member(:table_id, Shapes::ShapeRef.new(shape: TableId, location_name: "TableId"))
|
569
805
|
TableDescription.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: LocalSecondaryIndexDescriptionList, location_name: "LocalSecondaryIndexes"))
|
570
806
|
TableDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexDescriptionList, location_name: "GlobalSecondaryIndexes"))
|
571
807
|
TableDescription.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
572
808
|
TableDescription.add_member(:latest_stream_label, Shapes::ShapeRef.new(shape: String, location_name: "LatestStreamLabel"))
|
573
809
|
TableDescription.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "LatestStreamArn"))
|
810
|
+
TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
|
574
811
|
TableDescription.struct_class = Types::TableDescription
|
575
812
|
|
576
813
|
TableNameList.member = Shapes::ShapeRef.new(shape: TableName)
|
@@ -603,6 +840,13 @@ module Aws::DynamoDB
|
|
603
840
|
UpdateGlobalSecondaryIndexAction.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
|
604
841
|
UpdateGlobalSecondaryIndexAction.struct_class = Types::UpdateGlobalSecondaryIndexAction
|
605
842
|
|
843
|
+
UpdateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
844
|
+
UpdateGlobalTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicaUpdateList, required: true, location_name: "ReplicaUpdates"))
|
845
|
+
UpdateGlobalTableInput.struct_class = Types::UpdateGlobalTableInput
|
846
|
+
|
847
|
+
UpdateGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
848
|
+
UpdateGlobalTableOutput.struct_class = Types::UpdateGlobalTableOutput
|
849
|
+
|
606
850
|
UpdateItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
607
851
|
UpdateItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
608
852
|
UpdateItemInput.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: AttributeUpdates, location_name: "AttributeUpdates"))
|
@@ -688,6 +932,32 @@ module Aws::DynamoDB
|
|
688
932
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
689
933
|
end)
|
690
934
|
|
935
|
+
api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
|
936
|
+
o.name = "CreateBackup"
|
937
|
+
o.http_method = "POST"
|
938
|
+
o.http_request_uri = "/"
|
939
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBackupInput)
|
940
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBackupOutput)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: TableNotFoundException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: TableInUseException)
|
943
|
+
o.errors << Shapes::ShapeRef.new(shape: ContinuousBackupsUnavailableException)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupInUseException)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
947
|
+
end)
|
948
|
+
|
949
|
+
api.add_operation(:create_global_table, Seahorse::Model::Operation.new.tap do |o|
|
950
|
+
o.name = "CreateGlobalTable"
|
951
|
+
o.http_method = "POST"
|
952
|
+
o.http_request_uri = "/"
|
953
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGlobalTableInput)
|
954
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGlobalTableOutput)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
956
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
957
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalTableAlreadyExistsException)
|
958
|
+
o.errors << Shapes::ShapeRef.new(shape: TableNotFoundException)
|
959
|
+
end)
|
960
|
+
|
691
961
|
api.add_operation(:create_table, Seahorse::Model::Operation.new.tap do |o|
|
692
962
|
o.name = "CreateTable"
|
693
963
|
o.http_method = "POST"
|
@@ -699,6 +969,18 @@ module Aws::DynamoDB
|
|
699
969
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
700
970
|
end)
|
701
971
|
|
972
|
+
api.add_operation(:delete_backup, Seahorse::Model::Operation.new.tap do |o|
|
973
|
+
o.name = "DeleteBackup"
|
974
|
+
o.http_method = "POST"
|
975
|
+
o.http_request_uri = "/"
|
976
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupInput)
|
977
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBackupOutput)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupNotFoundException)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupInUseException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
982
|
+
end)
|
983
|
+
|
702
984
|
api.add_operation(:delete_item, Seahorse::Model::Operation.new.tap do |o|
|
703
985
|
o.name = "DeleteItem"
|
704
986
|
o.http_method = "POST"
|
@@ -724,6 +1006,36 @@ module Aws::DynamoDB
|
|
724
1006
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
725
1007
|
end)
|
726
1008
|
|
1009
|
+
api.add_operation(:describe_backup, Seahorse::Model::Operation.new.tap do |o|
|
1010
|
+
o.name = "DescribeBackup"
|
1011
|
+
o.http_method = "POST"
|
1012
|
+
o.http_request_uri = "/"
|
1013
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBackupInput)
|
1014
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBackupOutput)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupNotFoundException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1017
|
+
end)
|
1018
|
+
|
1019
|
+
api.add_operation(:describe_continuous_backups, Seahorse::Model::Operation.new.tap do |o|
|
1020
|
+
o.name = "DescribeContinuousBackups"
|
1021
|
+
o.http_method = "POST"
|
1022
|
+
o.http_request_uri = "/"
|
1023
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeContinuousBackupsInput)
|
1024
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeContinuousBackupsOutput)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: TableNotFoundException)
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1027
|
+
end)
|
1028
|
+
|
1029
|
+
api.add_operation(:describe_global_table, Seahorse::Model::Operation.new.tap do |o|
|
1030
|
+
o.name = "DescribeGlobalTable"
|
1031
|
+
o.http_method = "POST"
|
1032
|
+
o.http_request_uri = "/"
|
1033
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalTableInput)
|
1034
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeGlobalTableOutput)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalTableNotFoundException)
|
1037
|
+
end)
|
1038
|
+
|
727
1039
|
api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
|
728
1040
|
o.name = "DescribeLimits"
|
729
1041
|
o.http_method = "POST"
|
@@ -764,6 +1076,24 @@ module Aws::DynamoDB
|
|
764
1076
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
765
1077
|
end)
|
766
1078
|
|
1079
|
+
api.add_operation(:list_backups, Seahorse::Model::Operation.new.tap do |o|
|
1080
|
+
o.name = "ListBackups"
|
1081
|
+
o.http_method = "POST"
|
1082
|
+
o.http_request_uri = "/"
|
1083
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupsInput)
|
1084
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupsOutput)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1086
|
+
end)
|
1087
|
+
|
1088
|
+
api.add_operation(:list_global_tables, Seahorse::Model::Operation.new.tap do |o|
|
1089
|
+
o.name = "ListGlobalTables"
|
1090
|
+
o.http_method = "POST"
|
1091
|
+
o.http_request_uri = "/"
|
1092
|
+
o.input = Shapes::ShapeRef.new(shape: ListGlobalTablesInput)
|
1093
|
+
o.output = Shapes::ShapeRef.new(shape: ListGlobalTablesOutput)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1095
|
+
end)
|
1096
|
+
|
767
1097
|
api.add_operation(:list_tables, Seahorse::Model::Operation.new.tap do |o|
|
768
1098
|
o.name = "ListTables"
|
769
1099
|
o.http_method = "POST"
|
@@ -819,6 +1149,20 @@ module Aws::DynamoDB
|
|
819
1149
|
)
|
820
1150
|
end)
|
821
1151
|
|
1152
|
+
api.add_operation(:restore_table_from_backup, Seahorse::Model::Operation.new.tap do |o|
|
1153
|
+
o.name = "RestoreTableFromBackup"
|
1154
|
+
o.http_method = "POST"
|
1155
|
+
o.http_request_uri = "/"
|
1156
|
+
o.input = Shapes::ShapeRef.new(shape: RestoreTableFromBackupInput)
|
1157
|
+
o.output = Shapes::ShapeRef.new(shape: RestoreTableFromBackupOutput)
|
1158
|
+
o.errors << Shapes::ShapeRef.new(shape: TableAlreadyExistsException)
|
1159
|
+
o.errors << Shapes::ShapeRef.new(shape: TableInUseException)
|
1160
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupNotFoundException)
|
1161
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupInUseException)
|
1162
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1163
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1164
|
+
end)
|
1165
|
+
|
822
1166
|
api.add_operation(:scan, Seahorse::Model::Operation.new.tap do |o|
|
823
1167
|
o.name = "Scan"
|
824
1168
|
o.http_method = "POST"
|
@@ -860,6 +1204,19 @@ module Aws::DynamoDB
|
|
860
1204
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
861
1205
|
end)
|
862
1206
|
|
1207
|
+
api.add_operation(:update_global_table, Seahorse::Model::Operation.new.tap do |o|
|
1208
|
+
o.name = "UpdateGlobalTable"
|
1209
|
+
o.http_method = "POST"
|
1210
|
+
o.http_request_uri = "/"
|
1211
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateGlobalTableInput)
|
1212
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateGlobalTableOutput)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalTableNotFoundException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicaAlreadyExistsException)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicaNotFoundException)
|
1217
|
+
o.errors << Shapes::ShapeRef.new(shape: TableNotFoundException)
|
1218
|
+
end)
|
1219
|
+
|
863
1220
|
api.add_operation(:update_item, Seahorse::Model::Operation.new.tap do |o|
|
864
1221
|
o.name = "UpdateItem"
|
865
1222
|
o.http_method = "POST"
|