aws-sdk-dynamodb 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,783 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module DynamoDB
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AttributeAction = Shapes::StringShape.new(name: 'AttributeAction')
16
+ AttributeDefinition = Shapes::StructureShape.new(name: 'AttributeDefinition')
17
+ AttributeDefinitions = Shapes::ListShape.new(name: 'AttributeDefinitions')
18
+ AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
19
+ AttributeName = Shapes::StringShape.new(name: 'AttributeName')
20
+ AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList')
21
+ AttributeUpdates = Shapes::MapShape.new(name: 'AttributeUpdates')
22
+ AttributeValue = Shapes::StructureShape.new(name: 'AttributeValue')
23
+ AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
24
+ AttributeValueUpdate = Shapes::StructureShape.new(name: 'AttributeValueUpdate')
25
+ Backfilling = Shapes::BooleanShape.new(name: 'Backfilling')
26
+ BatchGetItemInput = Shapes::StructureShape.new(name: 'BatchGetItemInput')
27
+ BatchGetItemOutput = Shapes::StructureShape.new(name: 'BatchGetItemOutput')
28
+ BatchGetRequestMap = Shapes::MapShape.new(name: 'BatchGetRequestMap')
29
+ BatchGetResponseMap = Shapes::MapShape.new(name: 'BatchGetResponseMap')
30
+ BatchWriteItemInput = Shapes::StructureShape.new(name: 'BatchWriteItemInput')
31
+ BatchWriteItemOutput = Shapes::StructureShape.new(name: 'BatchWriteItemOutput')
32
+ BatchWriteItemRequestMap = Shapes::MapShape.new(name: 'BatchWriteItemRequestMap')
33
+ BinaryAttributeValue = Shapes::BlobShape.new(name: 'BinaryAttributeValue')
34
+ BinarySetAttributeValue = Shapes::ListShape.new(name: 'BinarySetAttributeValue')
35
+ BooleanAttributeValue = Shapes::BooleanShape.new(name: 'BooleanAttributeValue')
36
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
37
+ Capacity = Shapes::StructureShape.new(name: 'Capacity')
38
+ ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
39
+ Condition = Shapes::StructureShape.new(name: 'Condition')
40
+ ConditionExpression = Shapes::StringShape.new(name: 'ConditionExpression')
41
+ ConditionalCheckFailedException = Shapes::StructureShape.new(name: 'ConditionalCheckFailedException')
42
+ ConditionalOperator = Shapes::StringShape.new(name: 'ConditionalOperator')
43
+ ConsistentRead = Shapes::BooleanShape.new(name: 'ConsistentRead')
44
+ ConsumedCapacity = Shapes::StructureShape.new(name: 'ConsumedCapacity')
45
+ ConsumedCapacityMultiple = Shapes::ListShape.new(name: 'ConsumedCapacityMultiple')
46
+ ConsumedCapacityUnits = Shapes::FloatShape.new(name: 'ConsumedCapacityUnits')
47
+ CreateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'CreateGlobalSecondaryIndexAction')
48
+ CreateTableInput = Shapes::StructureShape.new(name: 'CreateTableInput')
49
+ CreateTableOutput = Shapes::StructureShape.new(name: 'CreateTableOutput')
50
+ Date = Shapes::TimestampShape.new(name: 'Date')
51
+ DeleteGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'DeleteGlobalSecondaryIndexAction')
52
+ DeleteItemInput = Shapes::StructureShape.new(name: 'DeleteItemInput')
53
+ DeleteItemOutput = Shapes::StructureShape.new(name: 'DeleteItemOutput')
54
+ DeleteRequest = Shapes::StructureShape.new(name: 'DeleteRequest')
55
+ DeleteTableInput = Shapes::StructureShape.new(name: 'DeleteTableInput')
56
+ DeleteTableOutput = Shapes::StructureShape.new(name: 'DeleteTableOutput')
57
+ DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
58
+ DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
59
+ DescribeTableInput = Shapes::StructureShape.new(name: 'DescribeTableInput')
60
+ DescribeTableOutput = Shapes::StructureShape.new(name: 'DescribeTableOutput')
61
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
62
+ ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
63
+ ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
64
+ ExpressionAttributeNameMap = Shapes::MapShape.new(name: 'ExpressionAttributeNameMap')
65
+ ExpressionAttributeNameVariable = Shapes::StringShape.new(name: 'ExpressionAttributeNameVariable')
66
+ ExpressionAttributeValueMap = Shapes::MapShape.new(name: 'ExpressionAttributeValueMap')
67
+ ExpressionAttributeValueVariable = Shapes::StringShape.new(name: 'ExpressionAttributeValueVariable')
68
+ FilterConditionMap = Shapes::MapShape.new(name: 'FilterConditionMap')
69
+ GetItemInput = Shapes::StructureShape.new(name: 'GetItemInput')
70
+ GetItemOutput = Shapes::StructureShape.new(name: 'GetItemOutput')
71
+ GlobalSecondaryIndex = Shapes::StructureShape.new(name: 'GlobalSecondaryIndex')
72
+ GlobalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexDescription')
73
+ GlobalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexDescriptionList')
74
+ GlobalSecondaryIndexList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexList')
75
+ GlobalSecondaryIndexUpdate = Shapes::StructureShape.new(name: 'GlobalSecondaryIndexUpdate')
76
+ GlobalSecondaryIndexUpdateList = Shapes::ListShape.new(name: 'GlobalSecondaryIndexUpdateList')
77
+ IndexName = Shapes::StringShape.new(name: 'IndexName')
78
+ IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
79
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
80
+ InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
81
+ ItemCollectionKeyAttributeMap = Shapes::MapShape.new(name: 'ItemCollectionKeyAttributeMap')
82
+ ItemCollectionMetrics = Shapes::StructureShape.new(name: 'ItemCollectionMetrics')
83
+ ItemCollectionMetricsMultiple = Shapes::ListShape.new(name: 'ItemCollectionMetricsMultiple')
84
+ ItemCollectionMetricsPerTable = Shapes::MapShape.new(name: 'ItemCollectionMetricsPerTable')
85
+ ItemCollectionSizeEstimateBound = Shapes::FloatShape.new(name: 'ItemCollectionSizeEstimateBound')
86
+ ItemCollectionSizeEstimateRange = Shapes::ListShape.new(name: 'ItemCollectionSizeEstimateRange')
87
+ ItemCollectionSizeLimitExceededException = Shapes::StructureShape.new(name: 'ItemCollectionSizeLimitExceededException')
88
+ ItemList = Shapes::ListShape.new(name: 'ItemList')
89
+ Key = Shapes::MapShape.new(name: 'Key')
90
+ KeyConditions = Shapes::MapShape.new(name: 'KeyConditions')
91
+ KeyExpression = Shapes::StringShape.new(name: 'KeyExpression')
92
+ KeyList = Shapes::ListShape.new(name: 'KeyList')
93
+ KeySchema = Shapes::ListShape.new(name: 'KeySchema')
94
+ KeySchemaAttributeName = Shapes::StringShape.new(name: 'KeySchemaAttributeName')
95
+ KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
96
+ KeyType = Shapes::StringShape.new(name: 'KeyType')
97
+ KeysAndAttributes = Shapes::StructureShape.new(name: 'KeysAndAttributes')
98
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
99
+ ListAttributeValue = Shapes::ListShape.new(name: 'ListAttributeValue')
100
+ ListTablesInput = Shapes::StructureShape.new(name: 'ListTablesInput')
101
+ ListTablesInputLimit = Shapes::IntegerShape.new(name: 'ListTablesInputLimit')
102
+ ListTablesOutput = Shapes::StructureShape.new(name: 'ListTablesOutput')
103
+ LocalSecondaryIndex = Shapes::StructureShape.new(name: 'LocalSecondaryIndex')
104
+ LocalSecondaryIndexDescription = Shapes::StructureShape.new(name: 'LocalSecondaryIndexDescription')
105
+ LocalSecondaryIndexDescriptionList = Shapes::ListShape.new(name: 'LocalSecondaryIndexDescriptionList')
106
+ LocalSecondaryIndexList = Shapes::ListShape.new(name: 'LocalSecondaryIndexList')
107
+ Long = Shapes::IntegerShape.new(name: 'Long')
108
+ MapAttributeValue = Shapes::MapShape.new(name: 'MapAttributeValue')
109
+ NonKeyAttributeName = Shapes::StringShape.new(name: 'NonKeyAttributeName')
110
+ NonKeyAttributeNameList = Shapes::ListShape.new(name: 'NonKeyAttributeNameList')
111
+ NullAttributeValue = Shapes::BooleanShape.new(name: 'NullAttributeValue')
112
+ NumberAttributeValue = Shapes::StringShape.new(name: 'NumberAttributeValue')
113
+ NumberSetAttributeValue = Shapes::ListShape.new(name: 'NumberSetAttributeValue')
114
+ PositiveIntegerObject = Shapes::IntegerShape.new(name: 'PositiveIntegerObject')
115
+ PositiveLongObject = Shapes::IntegerShape.new(name: 'PositiveLongObject')
116
+ Projection = Shapes::StructureShape.new(name: 'Projection')
117
+ ProjectionExpression = Shapes::StringShape.new(name: 'ProjectionExpression')
118
+ ProjectionType = Shapes::StringShape.new(name: 'ProjectionType')
119
+ ProvisionedThroughput = Shapes::StructureShape.new(name: 'ProvisionedThroughput')
120
+ ProvisionedThroughputDescription = Shapes::StructureShape.new(name: 'ProvisionedThroughputDescription')
121
+ ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
122
+ PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
123
+ PutItemInputAttributeMap = Shapes::MapShape.new(name: 'PutItemInputAttributeMap')
124
+ PutItemOutput = Shapes::StructureShape.new(name: 'PutItemOutput')
125
+ PutRequest = Shapes::StructureShape.new(name: 'PutRequest')
126
+ QueryInput = Shapes::StructureShape.new(name: 'QueryInput')
127
+ QueryOutput = Shapes::StructureShape.new(name: 'QueryOutput')
128
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
129
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
130
+ ReturnConsumedCapacity = Shapes::StringShape.new(name: 'ReturnConsumedCapacity')
131
+ ReturnItemCollectionMetrics = Shapes::StringShape.new(name: 'ReturnItemCollectionMetrics')
132
+ ReturnValue = Shapes::StringShape.new(name: 'ReturnValue')
133
+ ScalarAttributeType = Shapes::StringShape.new(name: 'ScalarAttributeType')
134
+ ScanInput = Shapes::StructureShape.new(name: 'ScanInput')
135
+ ScanOutput = Shapes::StructureShape.new(name: 'ScanOutput')
136
+ ScanSegment = Shapes::IntegerShape.new(name: 'ScanSegment')
137
+ ScanTotalSegments = Shapes::IntegerShape.new(name: 'ScanTotalSegments')
138
+ SecondaryIndexesCapacityMap = Shapes::MapShape.new(name: 'SecondaryIndexesCapacityMap')
139
+ Select = Shapes::StringShape.new(name: 'Select')
140
+ StreamArn = Shapes::StringShape.new(name: 'StreamArn')
141
+ StreamEnabled = Shapes::BooleanShape.new(name: 'StreamEnabled')
142
+ StreamSpecification = Shapes::StructureShape.new(name: 'StreamSpecification')
143
+ StreamViewType = Shapes::StringShape.new(name: 'StreamViewType')
144
+ String = Shapes::StringShape.new(name: 'String')
145
+ StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
146
+ StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
147
+ TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
148
+ TableName = Shapes::StringShape.new(name: 'TableName')
149
+ TableNameList = Shapes::ListShape.new(name: 'TableNameList')
150
+ TableStatus = Shapes::StringShape.new(name: 'TableStatus')
151
+ UpdateExpression = Shapes::StringShape.new(name: 'UpdateExpression')
152
+ UpdateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'UpdateGlobalSecondaryIndexAction')
153
+ UpdateItemInput = Shapes::StructureShape.new(name: 'UpdateItemInput')
154
+ UpdateItemOutput = Shapes::StructureShape.new(name: 'UpdateItemOutput')
155
+ UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
156
+ UpdateTableOutput = Shapes::StructureShape.new(name: 'UpdateTableOutput')
157
+ WriteRequest = Shapes::StructureShape.new(name: 'WriteRequest')
158
+ WriteRequests = Shapes::ListShape.new(name: 'WriteRequests')
159
+
160
+ AttributeDefinition.add_member(:attribute_name, Shapes::ShapeRef.new(shape: KeySchemaAttributeName, required: true, location_name: "AttributeName"))
161
+ AttributeDefinition.add_member(:attribute_type, Shapes::ShapeRef.new(shape: ScalarAttributeType, required: true, location_name: "AttributeType"))
162
+ AttributeDefinition.struct_class = Types::AttributeDefinition
163
+
164
+ AttributeDefinitions.member = Shapes::ShapeRef.new(shape: AttributeDefinition)
165
+
166
+ AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
167
+ AttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
168
+
169
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: AttributeName)
170
+
171
+ AttributeUpdates.key = Shapes::ShapeRef.new(shape: AttributeName)
172
+ AttributeUpdates.value = Shapes::ShapeRef.new(shape: AttributeValueUpdate)
173
+
174
+ AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
175
+ AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
176
+ AttributeValue.add_member(:b, Shapes::ShapeRef.new(shape: BinaryAttributeValue, location_name: "B"))
177
+ AttributeValue.add_member(:ss, Shapes::ShapeRef.new(shape: StringSetAttributeValue, location_name: "SS"))
178
+ AttributeValue.add_member(:ns, Shapes::ShapeRef.new(shape: NumberSetAttributeValue, location_name: "NS"))
179
+ AttributeValue.add_member(:bs, Shapes::ShapeRef.new(shape: BinarySetAttributeValue, location_name: "BS"))
180
+ AttributeValue.add_member(:m, Shapes::ShapeRef.new(shape: MapAttributeValue, location_name: "M"))
181
+ AttributeValue.add_member(:l, Shapes::ShapeRef.new(shape: ListAttributeValue, location_name: "L"))
182
+ AttributeValue.add_member(:null, Shapes::ShapeRef.new(shape: NullAttributeValue, location_name: "NULL"))
183
+ AttributeValue.add_member(:bool, Shapes::ShapeRef.new(shape: BooleanAttributeValue, location_name: "BOOL"))
184
+ AttributeValue.struct_class = Types::AttributeValue
185
+
186
+ AttributeValueList.member = Shapes::ShapeRef.new(shape: AttributeValue)
187
+
188
+ AttributeValueUpdate.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "Value"))
189
+ AttributeValueUpdate.add_member(:action, Shapes::ShapeRef.new(shape: AttributeAction, location_name: "Action"))
190
+ AttributeValueUpdate.struct_class = Types::AttributeValueUpdate
191
+
192
+ BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
193
+ BatchGetItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
194
+ BatchGetItemInput.struct_class = Types::BatchGetItemInput
195
+
196
+ BatchGetItemOutput.add_member(:responses, Shapes::ShapeRef.new(shape: BatchGetResponseMap, location_name: "Responses"))
197
+ BatchGetItemOutput.add_member(:unprocessed_keys, Shapes::ShapeRef.new(shape: BatchGetRequestMap, location_name: "UnprocessedKeys"))
198
+ BatchGetItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
199
+ BatchGetItemOutput.struct_class = Types::BatchGetItemOutput
200
+
201
+ BatchGetRequestMap.key = Shapes::ShapeRef.new(shape: TableName)
202
+ BatchGetRequestMap.value = Shapes::ShapeRef.new(shape: KeysAndAttributes)
203
+
204
+ BatchGetResponseMap.key = Shapes::ShapeRef.new(shape: TableName)
205
+ BatchGetResponseMap.value = Shapes::ShapeRef.new(shape: ItemList)
206
+
207
+ BatchWriteItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchWriteItemRequestMap, required: true, location_name: "RequestItems"))
208
+ BatchWriteItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
209
+ BatchWriteItemInput.add_member(:return_item_collection_metrics, Shapes::ShapeRef.new(shape: ReturnItemCollectionMetrics, location_name: "ReturnItemCollectionMetrics"))
210
+ BatchWriteItemInput.struct_class = Types::BatchWriteItemInput
211
+
212
+ BatchWriteItemOutput.add_member(:unprocessed_items, Shapes::ShapeRef.new(shape: BatchWriteItemRequestMap, location_name: "UnprocessedItems"))
213
+ BatchWriteItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetricsPerTable, location_name: "ItemCollectionMetrics"))
214
+ BatchWriteItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
215
+ BatchWriteItemOutput.struct_class = Types::BatchWriteItemOutput
216
+
217
+ BatchWriteItemRequestMap.key = Shapes::ShapeRef.new(shape: TableName)
218
+ BatchWriteItemRequestMap.value = Shapes::ShapeRef.new(shape: WriteRequests)
219
+
220
+ BinarySetAttributeValue.member = Shapes::ShapeRef.new(shape: BinaryAttributeValue)
221
+
222
+ Capacity.add_member(:capacity_units, Shapes::ShapeRef.new(shape: ConsumedCapacityUnits, location_name: "CapacityUnits"))
223
+ Capacity.struct_class = Types::Capacity
224
+
225
+ Condition.add_member(:attribute_value_list, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "AttributeValueList"))
226
+ Condition.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator"))
227
+ Condition.struct_class = Types::Condition
228
+
229
+ ConsumedCapacity.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
230
+ ConsumedCapacity.add_member(:capacity_units, Shapes::ShapeRef.new(shape: ConsumedCapacityUnits, location_name: "CapacityUnits"))
231
+ ConsumedCapacity.add_member(:table, Shapes::ShapeRef.new(shape: Capacity, location_name: "Table"))
232
+ ConsumedCapacity.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: SecondaryIndexesCapacityMap, location_name: "LocalSecondaryIndexes"))
233
+ ConsumedCapacity.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: SecondaryIndexesCapacityMap, location_name: "GlobalSecondaryIndexes"))
234
+ ConsumedCapacity.struct_class = Types::ConsumedCapacity
235
+
236
+ ConsumedCapacityMultiple.member = Shapes::ShapeRef.new(shape: ConsumedCapacity)
237
+
238
+ CreateGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
239
+ CreateGlobalSecondaryIndexAction.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
240
+ CreateGlobalSecondaryIndexAction.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, required: true, location_name: "Projection"))
241
+ CreateGlobalSecondaryIndexAction.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
242
+ CreateGlobalSecondaryIndexAction.struct_class = Types::CreateGlobalSecondaryIndexAction
243
+
244
+ CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
245
+ CreateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
246
+ CreateTableInput.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
247
+ CreateTableInput.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: LocalSecondaryIndexList, location_name: "LocalSecondaryIndexes"))
248
+ CreateTableInput.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
249
+ CreateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
250
+ CreateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
251
+ CreateTableInput.struct_class = Types::CreateTableInput
252
+
253
+ CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
254
+ CreateTableOutput.struct_class = Types::CreateTableOutput
255
+
256
+ DeleteGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
257
+ DeleteGlobalSecondaryIndexAction.struct_class = Types::DeleteGlobalSecondaryIndexAction
258
+
259
+ DeleteItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
260
+ DeleteItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
261
+ DeleteItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
262
+ DeleteItemInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
263
+ DeleteItemInput.add_member(:return_values, Shapes::ShapeRef.new(shape: ReturnValue, location_name: "ReturnValues"))
264
+ DeleteItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
265
+ DeleteItemInput.add_member(:return_item_collection_metrics, Shapes::ShapeRef.new(shape: ReturnItemCollectionMetrics, location_name: "ReturnItemCollectionMetrics"))
266
+ DeleteItemInput.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
267
+ DeleteItemInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
268
+ DeleteItemInput.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
269
+ DeleteItemInput.struct_class = Types::DeleteItemInput
270
+
271
+ DeleteItemOutput.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Attributes"))
272
+ DeleteItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
273
+ DeleteItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
274
+ DeleteItemOutput.struct_class = Types::DeleteItemOutput
275
+
276
+ DeleteRequest.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
277
+ DeleteRequest.struct_class = Types::DeleteRequest
278
+
279
+ DeleteTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
280
+ DeleteTableInput.struct_class = Types::DeleteTableInput
281
+
282
+ DeleteTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
283
+ DeleteTableOutput.struct_class = Types::DeleteTableOutput
284
+
285
+ DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
286
+
287
+ DescribeLimitsOutput.add_member(:account_max_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "AccountMaxReadCapacityUnits"))
288
+ DescribeLimitsOutput.add_member(:account_max_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "AccountMaxWriteCapacityUnits"))
289
+ DescribeLimitsOutput.add_member(:table_max_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "TableMaxReadCapacityUnits"))
290
+ DescribeLimitsOutput.add_member(:table_max_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "TableMaxWriteCapacityUnits"))
291
+ DescribeLimitsOutput.struct_class = Types::DescribeLimitsOutput
292
+
293
+ DescribeTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
294
+ DescribeTableInput.struct_class = Types::DescribeTableInput
295
+
296
+ DescribeTableOutput.add_member(:table, Shapes::ShapeRef.new(shape: TableDescription, location_name: "Table"))
297
+ DescribeTableOutput.struct_class = Types::DescribeTableOutput
298
+
299
+ ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
300
+ ExpectedAttributeMap.value = Shapes::ShapeRef.new(shape: ExpectedAttributeValue)
301
+
302
+ ExpectedAttributeValue.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "Value"))
303
+ ExpectedAttributeValue.add_member(:exists, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Exists"))
304
+ ExpectedAttributeValue.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "ComparisonOperator"))
305
+ ExpectedAttributeValue.add_member(:attribute_value_list, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "AttributeValueList"))
306
+ ExpectedAttributeValue.struct_class = Types::ExpectedAttributeValue
307
+
308
+ ExpressionAttributeNameMap.key = Shapes::ShapeRef.new(shape: ExpressionAttributeNameVariable)
309
+ ExpressionAttributeNameMap.value = Shapes::ShapeRef.new(shape: AttributeName)
310
+
311
+ ExpressionAttributeValueMap.key = Shapes::ShapeRef.new(shape: ExpressionAttributeValueVariable)
312
+ ExpressionAttributeValueMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
313
+
314
+ FilterConditionMap.key = Shapes::ShapeRef.new(shape: AttributeName)
315
+ FilterConditionMap.value = Shapes::ShapeRef.new(shape: Condition)
316
+
317
+ GetItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
318
+ GetItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
319
+ GetItemInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
320
+ GetItemInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
321
+ GetItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
322
+ GetItemInput.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
323
+ GetItemInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
324
+ GetItemInput.struct_class = Types::GetItemInput
325
+
326
+ GetItemOutput.add_member(:item, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Item"))
327
+ GetItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
328
+ GetItemOutput.struct_class = Types::GetItemOutput
329
+
330
+ GlobalSecondaryIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
331
+ GlobalSecondaryIndex.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
332
+ GlobalSecondaryIndex.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, required: true, location_name: "Projection"))
333
+ GlobalSecondaryIndex.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
334
+ GlobalSecondaryIndex.struct_class = Types::GlobalSecondaryIndex
335
+
336
+ GlobalSecondaryIndexDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
337
+ GlobalSecondaryIndexDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
338
+ GlobalSecondaryIndexDescription.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, location_name: "Projection"))
339
+ GlobalSecondaryIndexDescription.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
340
+ GlobalSecondaryIndexDescription.add_member(:backfilling, Shapes::ShapeRef.new(shape: Backfilling, location_name: "Backfilling"))
341
+ GlobalSecondaryIndexDescription.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughputDescription, location_name: "ProvisionedThroughput"))
342
+ GlobalSecondaryIndexDescription.add_member(:index_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "IndexSizeBytes"))
343
+ GlobalSecondaryIndexDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemCount"))
344
+ GlobalSecondaryIndexDescription.add_member(:index_arn, Shapes::ShapeRef.new(shape: String, location_name: "IndexArn"))
345
+ GlobalSecondaryIndexDescription.struct_class = Types::GlobalSecondaryIndexDescription
346
+
347
+ GlobalSecondaryIndexDescriptionList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexDescription)
348
+
349
+ GlobalSecondaryIndexList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndex)
350
+
351
+ GlobalSecondaryIndexUpdate.add_member(:update, Shapes::ShapeRef.new(shape: UpdateGlobalSecondaryIndexAction, location_name: "Update"))
352
+ GlobalSecondaryIndexUpdate.add_member(:create, Shapes::ShapeRef.new(shape: CreateGlobalSecondaryIndexAction, location_name: "Create"))
353
+ GlobalSecondaryIndexUpdate.add_member(:delete, Shapes::ShapeRef.new(shape: DeleteGlobalSecondaryIndexAction, location_name: "Delete"))
354
+ GlobalSecondaryIndexUpdate.struct_class = Types::GlobalSecondaryIndexUpdate
355
+
356
+ GlobalSecondaryIndexUpdateList.member = Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdate)
357
+
358
+ ItemCollectionKeyAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
359
+ ItemCollectionKeyAttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
360
+
361
+ ItemCollectionMetrics.add_member(:item_collection_key, Shapes::ShapeRef.new(shape: ItemCollectionKeyAttributeMap, location_name: "ItemCollectionKey"))
362
+ ItemCollectionMetrics.add_member(:size_estimate_range_gb, Shapes::ShapeRef.new(shape: ItemCollectionSizeEstimateRange, location_name: "SizeEstimateRangeGB"))
363
+ ItemCollectionMetrics.struct_class = Types::ItemCollectionMetrics
364
+
365
+ ItemCollectionMetricsMultiple.member = Shapes::ShapeRef.new(shape: ItemCollectionMetrics)
366
+
367
+ ItemCollectionMetricsPerTable.key = Shapes::ShapeRef.new(shape: TableName)
368
+ ItemCollectionMetricsPerTable.value = Shapes::ShapeRef.new(shape: ItemCollectionMetricsMultiple)
369
+
370
+ ItemCollectionSizeEstimateRange.member = Shapes::ShapeRef.new(shape: ItemCollectionSizeEstimateBound)
371
+
372
+ ItemList.member = Shapes::ShapeRef.new(shape: AttributeMap)
373
+
374
+ Key.key = Shapes::ShapeRef.new(shape: AttributeName)
375
+ Key.value = Shapes::ShapeRef.new(shape: AttributeValue)
376
+
377
+ KeyConditions.key = Shapes::ShapeRef.new(shape: AttributeName)
378
+ KeyConditions.value = Shapes::ShapeRef.new(shape: Condition)
379
+
380
+ KeyList.member = Shapes::ShapeRef.new(shape: Key)
381
+
382
+ KeySchema.member = Shapes::ShapeRef.new(shape: KeySchemaElement)
383
+
384
+ KeySchemaElement.add_member(:attribute_name, Shapes::ShapeRef.new(shape: KeySchemaAttributeName, required: true, location_name: "AttributeName"))
385
+ KeySchemaElement.add_member(:key_type, Shapes::ShapeRef.new(shape: KeyType, required: true, location_name: "KeyType"))
386
+ KeySchemaElement.struct_class = Types::KeySchemaElement
387
+
388
+ KeysAndAttributes.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "Keys"))
389
+ KeysAndAttributes.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
390
+ KeysAndAttributes.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
391
+ KeysAndAttributes.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
392
+ KeysAndAttributes.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
393
+ KeysAndAttributes.struct_class = Types::KeysAndAttributes
394
+
395
+ ListAttributeValue.member = Shapes::ShapeRef.new(shape: AttributeValue)
396
+
397
+ ListTablesInput.add_member(:exclusive_start_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartTableName"))
398
+ ListTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTablesInputLimit, location_name: "Limit"))
399
+ ListTablesInput.struct_class = Types::ListTablesInput
400
+
401
+ ListTablesOutput.add_member(:table_names, Shapes::ShapeRef.new(shape: TableNameList, location_name: "TableNames"))
402
+ ListTablesOutput.add_member(:last_evaluated_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedTableName"))
403
+ ListTablesOutput.struct_class = Types::ListTablesOutput
404
+
405
+ LocalSecondaryIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
406
+ LocalSecondaryIndex.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
407
+ LocalSecondaryIndex.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, required: true, location_name: "Projection"))
408
+ LocalSecondaryIndex.struct_class = Types::LocalSecondaryIndex
409
+
410
+ LocalSecondaryIndexDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
411
+ LocalSecondaryIndexDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
412
+ LocalSecondaryIndexDescription.add_member(:projection, Shapes::ShapeRef.new(shape: Projection, location_name: "Projection"))
413
+ LocalSecondaryIndexDescription.add_member(:index_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "IndexSizeBytes"))
414
+ LocalSecondaryIndexDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemCount"))
415
+ LocalSecondaryIndexDescription.add_member(:index_arn, Shapes::ShapeRef.new(shape: String, location_name: "IndexArn"))
416
+ LocalSecondaryIndexDescription.struct_class = Types::LocalSecondaryIndexDescription
417
+
418
+ LocalSecondaryIndexDescriptionList.member = Shapes::ShapeRef.new(shape: LocalSecondaryIndexDescription)
419
+
420
+ LocalSecondaryIndexList.member = Shapes::ShapeRef.new(shape: LocalSecondaryIndex)
421
+
422
+ MapAttributeValue.key = Shapes::ShapeRef.new(shape: AttributeName)
423
+ MapAttributeValue.value = Shapes::ShapeRef.new(shape: AttributeValue)
424
+
425
+ NonKeyAttributeNameList.member = Shapes::ShapeRef.new(shape: NonKeyAttributeName)
426
+
427
+ NumberSetAttributeValue.member = Shapes::ShapeRef.new(shape: NumberAttributeValue)
428
+
429
+ Projection.add_member(:projection_type, Shapes::ShapeRef.new(shape: ProjectionType, location_name: "ProjectionType"))
430
+ Projection.add_member(:non_key_attributes, Shapes::ShapeRef.new(shape: NonKeyAttributeNameList, location_name: "NonKeyAttributes"))
431
+ Projection.struct_class = Types::Projection
432
+
433
+ ProvisionedThroughput.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, required: true, location_name: "ReadCapacityUnits"))
434
+ ProvisionedThroughput.add_member(:write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, required: true, location_name: "WriteCapacityUnits"))
435
+ ProvisionedThroughput.struct_class = Types::ProvisionedThroughput
436
+
437
+ ProvisionedThroughputDescription.add_member(:last_increase_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastIncreaseDateTime"))
438
+ ProvisionedThroughputDescription.add_member(:last_decrease_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastDecreaseDateTime"))
439
+ ProvisionedThroughputDescription.add_member(:number_of_decreases_today, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "NumberOfDecreasesToday"))
440
+ ProvisionedThroughputDescription.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReadCapacityUnits"))
441
+ ProvisionedThroughputDescription.add_member(:write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "WriteCapacityUnits"))
442
+ ProvisionedThroughputDescription.struct_class = Types::ProvisionedThroughputDescription
443
+
444
+ PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
445
+ PutItemInput.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
446
+ PutItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
447
+ PutItemInput.add_member(:return_values, Shapes::ShapeRef.new(shape: ReturnValue, location_name: "ReturnValues"))
448
+ PutItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
449
+ PutItemInput.add_member(:return_item_collection_metrics, Shapes::ShapeRef.new(shape: ReturnItemCollectionMetrics, location_name: "ReturnItemCollectionMetrics"))
450
+ PutItemInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
451
+ PutItemInput.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
452
+ PutItemInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
453
+ PutItemInput.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
454
+ PutItemInput.struct_class = Types::PutItemInput
455
+
456
+ PutItemInputAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
457
+ PutItemInputAttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
458
+
459
+ PutItemOutput.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Attributes"))
460
+ PutItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
461
+ PutItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
462
+ PutItemOutput.struct_class = Types::PutItemOutput
463
+
464
+ PutRequest.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
465
+ PutRequest.struct_class = Types::PutRequest
466
+
467
+ QueryInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
468
+ QueryInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
469
+ QueryInput.add_member(:select, Shapes::ShapeRef.new(shape: Select, location_name: "Select"))
470
+ QueryInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
471
+ QueryInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
472
+ QueryInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
473
+ QueryInput.add_member(:key_conditions, Shapes::ShapeRef.new(shape: KeyConditions, location_name: "KeyConditions"))
474
+ QueryInput.add_member(:query_filter, Shapes::ShapeRef.new(shape: FilterConditionMap, location_name: "QueryFilter"))
475
+ QueryInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
476
+ QueryInput.add_member(:scan_index_forward, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "ScanIndexForward"))
477
+ QueryInput.add_member(:exclusive_start_key, Shapes::ShapeRef.new(shape: Key, location_name: "ExclusiveStartKey"))
478
+ QueryInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
479
+ QueryInput.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
480
+ QueryInput.add_member(:filter_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "FilterExpression"))
481
+ QueryInput.add_member(:key_condition_expression, Shapes::ShapeRef.new(shape: KeyExpression, location_name: "KeyConditionExpression"))
482
+ QueryInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
483
+ QueryInput.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
484
+ QueryInput.struct_class = Types::QueryInput
485
+
486
+ QueryOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
487
+ QueryOutput.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
488
+ QueryOutput.add_member(:scanned_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ScannedCount"))
489
+ QueryOutput.add_member(:last_evaluated_key, Shapes::ShapeRef.new(shape: Key, location_name: "LastEvaluatedKey"))
490
+ QueryOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
491
+ QueryOutput.struct_class = Types::QueryOutput
492
+
493
+ ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
494
+ ScanInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
495
+ ScanInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
496
+ ScanInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
497
+ ScanInput.add_member(:select, Shapes::ShapeRef.new(shape: Select, location_name: "Select"))
498
+ ScanInput.add_member(:scan_filter, Shapes::ShapeRef.new(shape: FilterConditionMap, location_name: "ScanFilter"))
499
+ ScanInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
500
+ ScanInput.add_member(:exclusive_start_key, Shapes::ShapeRef.new(shape: Key, location_name: "ExclusiveStartKey"))
501
+ ScanInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
502
+ ScanInput.add_member(:total_segments, Shapes::ShapeRef.new(shape: ScanTotalSegments, location_name: "TotalSegments"))
503
+ ScanInput.add_member(:segment, Shapes::ShapeRef.new(shape: ScanSegment, location_name: "Segment"))
504
+ ScanInput.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
505
+ ScanInput.add_member(:filter_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "FilterExpression"))
506
+ ScanInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
507
+ ScanInput.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
508
+ ScanInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
509
+ ScanInput.struct_class = Types::ScanInput
510
+
511
+ ScanOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
512
+ ScanOutput.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
513
+ ScanOutput.add_member(:scanned_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ScannedCount"))
514
+ ScanOutput.add_member(:last_evaluated_key, Shapes::ShapeRef.new(shape: Key, location_name: "LastEvaluatedKey"))
515
+ ScanOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
516
+ ScanOutput.struct_class = Types::ScanOutput
517
+
518
+ SecondaryIndexesCapacityMap.key = Shapes::ShapeRef.new(shape: IndexName)
519
+ SecondaryIndexesCapacityMap.value = Shapes::ShapeRef.new(shape: Capacity)
520
+
521
+ StreamSpecification.add_member(:stream_enabled, Shapes::ShapeRef.new(shape: StreamEnabled, location_name: "StreamEnabled"))
522
+ StreamSpecification.add_member(:stream_view_type, Shapes::ShapeRef.new(shape: StreamViewType, location_name: "StreamViewType"))
523
+ StreamSpecification.struct_class = Types::StreamSpecification
524
+
525
+ StringSetAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
526
+
527
+ TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
528
+ TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
529
+ TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
530
+ TableDescription.add_member(:table_status, Shapes::ShapeRef.new(shape: TableStatus, location_name: "TableStatus"))
531
+ TableDescription.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationDateTime"))
532
+ TableDescription.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughputDescription, location_name: "ProvisionedThroughput"))
533
+ TableDescription.add_member(:table_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TableSizeBytes"))
534
+ TableDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: Long, location_name: "ItemCount"))
535
+ TableDescription.add_member(:table_arn, Shapes::ShapeRef.new(shape: String, location_name: "TableArn"))
536
+ TableDescription.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: LocalSecondaryIndexDescriptionList, location_name: "LocalSecondaryIndexes"))
537
+ TableDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexDescriptionList, location_name: "GlobalSecondaryIndexes"))
538
+ TableDescription.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
539
+ TableDescription.add_member(:latest_stream_label, Shapes::ShapeRef.new(shape: String, location_name: "LatestStreamLabel"))
540
+ TableDescription.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "LatestStreamArn"))
541
+ TableDescription.struct_class = Types::TableDescription
542
+
543
+ TableNameList.member = Shapes::ShapeRef.new(shape: TableName)
544
+
545
+ UpdateGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
546
+ UpdateGlobalSecondaryIndexAction.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
547
+ UpdateGlobalSecondaryIndexAction.struct_class = Types::UpdateGlobalSecondaryIndexAction
548
+
549
+ UpdateItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
550
+ UpdateItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
551
+ UpdateItemInput.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: AttributeUpdates, location_name: "AttributeUpdates"))
552
+ UpdateItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
553
+ UpdateItemInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
554
+ UpdateItemInput.add_member(:return_values, Shapes::ShapeRef.new(shape: ReturnValue, location_name: "ReturnValues"))
555
+ UpdateItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
556
+ UpdateItemInput.add_member(:return_item_collection_metrics, Shapes::ShapeRef.new(shape: ReturnItemCollectionMetrics, location_name: "ReturnItemCollectionMetrics"))
557
+ UpdateItemInput.add_member(:update_expression, Shapes::ShapeRef.new(shape: UpdateExpression, location_name: "UpdateExpression"))
558
+ UpdateItemInput.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
559
+ UpdateItemInput.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
560
+ UpdateItemInput.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
561
+ UpdateItemInput.struct_class = Types::UpdateItemInput
562
+
563
+ UpdateItemOutput.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Attributes"))
564
+ UpdateItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
565
+ UpdateItemOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetrics, location_name: "ItemCollectionMetrics"))
566
+ UpdateItemOutput.struct_class = Types::UpdateItemOutput
567
+
568
+ UpdateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
569
+ UpdateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
570
+ UpdateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
571
+ UpdateTableInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
572
+ UpdateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
573
+ UpdateTableInput.struct_class = Types::UpdateTableInput
574
+
575
+ UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
576
+ UpdateTableOutput.struct_class = Types::UpdateTableOutput
577
+
578
+ WriteRequest.add_member(:put_request, Shapes::ShapeRef.new(shape: PutRequest, location_name: "PutRequest"))
579
+ WriteRequest.add_member(:delete_request, Shapes::ShapeRef.new(shape: DeleteRequest, location_name: "DeleteRequest"))
580
+ WriteRequest.struct_class = Types::WriteRequest
581
+
582
+ WriteRequests.member = Shapes::ShapeRef.new(shape: WriteRequest)
583
+
584
+
585
+ # @api private
586
+ API = Seahorse::Model::Api.new.tap do |api|
587
+
588
+ api.version = "2012-08-10"
589
+
590
+ api.metadata = {
591
+ "endpointPrefix" => "dynamodb",
592
+ "jsonVersion" => "1.0",
593
+ "protocol" => "json",
594
+ "serviceFullName" => "Amazon DynamoDB",
595
+ "signatureVersion" => "v4",
596
+ "targetPrefix" => "DynamoDB_20120810",
597
+ }
598
+
599
+ api.add_operation(:batch_get_item, Seahorse::Model::Operation.new.tap do |o|
600
+ o.name = "BatchGetItem"
601
+ o.http_method = "POST"
602
+ o.http_request_uri = "/"
603
+ o.input = Shapes::ShapeRef.new(shape: BatchGetItemInput)
604
+ o.output = Shapes::ShapeRef.new(shape: BatchGetItemOutput)
605
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
606
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
607
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
608
+ o[:pager] = Aws::Pager.new(
609
+ tokens: {
610
+ "unprocessed_keys" => "request_items"
611
+ }
612
+ )
613
+ end)
614
+
615
+ api.add_operation(:batch_write_item, Seahorse::Model::Operation.new.tap do |o|
616
+ o.name = "BatchWriteItem"
617
+ o.http_method = "POST"
618
+ o.http_request_uri = "/"
619
+ o.input = Shapes::ShapeRef.new(shape: BatchWriteItemInput)
620
+ o.output = Shapes::ShapeRef.new(shape: BatchWriteItemOutput)
621
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
624
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
625
+ end)
626
+
627
+ api.add_operation(:create_table, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "CreateTable"
629
+ o.http_method = "POST"
630
+ o.http_request_uri = "/"
631
+ o.input = Shapes::ShapeRef.new(shape: CreateTableInput)
632
+ o.output = Shapes::ShapeRef.new(shape: CreateTableOutput)
633
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
634
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
635
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
636
+ end)
637
+
638
+ api.add_operation(:delete_item, Seahorse::Model::Operation.new.tap do |o|
639
+ o.name = "DeleteItem"
640
+ o.http_method = "POST"
641
+ o.http_request_uri = "/"
642
+ o.input = Shapes::ShapeRef.new(shape: DeleteItemInput)
643
+ o.output = Shapes::ShapeRef.new(shape: DeleteItemOutput)
644
+ o.errors << Shapes::ShapeRef.new(shape: ConditionalCheckFailedException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
646
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
647
+ o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
648
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
649
+ end)
650
+
651
+ api.add_operation(:delete_table, Seahorse::Model::Operation.new.tap do |o|
652
+ o.name = "DeleteTable"
653
+ o.http_method = "POST"
654
+ o.http_request_uri = "/"
655
+ o.input = Shapes::ShapeRef.new(shape: DeleteTableInput)
656
+ o.output = Shapes::ShapeRef.new(shape: DeleteTableOutput)
657
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
659
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
660
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
661
+ end)
662
+
663
+ api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
664
+ o.name = "DescribeLimits"
665
+ o.http_method = "POST"
666
+ o.http_request_uri = "/"
667
+ o.input = Shapes::ShapeRef.new(shape: DescribeLimitsInput)
668
+ o.output = Shapes::ShapeRef.new(shape: DescribeLimitsOutput)
669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
670
+ end)
671
+
672
+ api.add_operation(:describe_table, Seahorse::Model::Operation.new.tap do |o|
673
+ o.name = "DescribeTable"
674
+ o.http_method = "POST"
675
+ o.http_request_uri = "/"
676
+ o.input = Shapes::ShapeRef.new(shape: DescribeTableInput)
677
+ o.output = Shapes::ShapeRef.new(shape: DescribeTableOutput)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
680
+ end)
681
+
682
+ api.add_operation(:get_item, Seahorse::Model::Operation.new.tap do |o|
683
+ o.name = "GetItem"
684
+ o.http_method = "POST"
685
+ o.http_request_uri = "/"
686
+ o.input = Shapes::ShapeRef.new(shape: GetItemInput)
687
+ o.output = Shapes::ShapeRef.new(shape: GetItemOutput)
688
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
691
+ end)
692
+
693
+ api.add_operation(:list_tables, Seahorse::Model::Operation.new.tap do |o|
694
+ o.name = "ListTables"
695
+ o.http_method = "POST"
696
+ o.http_request_uri = "/"
697
+ o.input = Shapes::ShapeRef.new(shape: ListTablesInput)
698
+ o.output = Shapes::ShapeRef.new(shape: ListTablesOutput)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
700
+ o[:pager] = Aws::Pager.new(
701
+ limit_key: "limit",
702
+ tokens: {
703
+ "last_evaluated_table_name" => "exclusive_start_table_name"
704
+ }
705
+ )
706
+ end)
707
+
708
+ api.add_operation(:put_item, Seahorse::Model::Operation.new.tap do |o|
709
+ o.name = "PutItem"
710
+ o.http_method = "POST"
711
+ o.http_request_uri = "/"
712
+ o.input = Shapes::ShapeRef.new(shape: PutItemInput)
713
+ o.output = Shapes::ShapeRef.new(shape: PutItemOutput)
714
+ o.errors << Shapes::ShapeRef.new(shape: ConditionalCheckFailedException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
718
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
719
+ end)
720
+
721
+ api.add_operation(:query, Seahorse::Model::Operation.new.tap do |o|
722
+ o.name = "Query"
723
+ o.http_method = "POST"
724
+ o.http_request_uri = "/"
725
+ o.input = Shapes::ShapeRef.new(shape: QueryInput)
726
+ o.output = Shapes::ShapeRef.new(shape: QueryOutput)
727
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
729
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
730
+ o[:pager] = Aws::Pager.new(
731
+ limit_key: "limit",
732
+ tokens: {
733
+ "last_evaluated_key" => "exclusive_start_key"
734
+ }
735
+ )
736
+ end)
737
+
738
+ api.add_operation(:scan, Seahorse::Model::Operation.new.tap do |o|
739
+ o.name = "Scan"
740
+ o.http_method = "POST"
741
+ o.http_request_uri = "/"
742
+ o.input = Shapes::ShapeRef.new(shape: ScanInput)
743
+ o.output = Shapes::ShapeRef.new(shape: ScanOutput)
744
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
746
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
747
+ o[:pager] = Aws::Pager.new(
748
+ limit_key: "limit",
749
+ tokens: {
750
+ "last_evaluated_key" => "exclusive_start_key"
751
+ }
752
+ )
753
+ end)
754
+
755
+ api.add_operation(:update_item, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "UpdateItem"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: UpdateItemInput)
760
+ o.output = Shapes::ShapeRef.new(shape: UpdateItemOutput)
761
+ o.errors << Shapes::ShapeRef.new(shape: ConditionalCheckFailedException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
765
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
766
+ end)
767
+
768
+ api.add_operation(:update_table, Seahorse::Model::Operation.new.tap do |o|
769
+ o.name = "UpdateTable"
770
+ o.http_method = "POST"
771
+ o.http_request_uri = "/"
772
+ o.input = Shapes::ShapeRef.new(shape: UpdateTableInput)
773
+ o.output = Shapes::ShapeRef.new(shape: UpdateTableOutput)
774
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
776
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
777
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
778
+ end)
779
+ end
780
+
781
+ end
782
+ end
783
+ end