aws-sdk-sqs 1.60.0 → 1.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::SQS
11
12
  # @api private
12
13
  module ClientApi
@@ -45,15 +46,25 @@ module Aws::SQS
45
46
  DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
46
47
  DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
47
48
  EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
49
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
48
50
  GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
49
51
  GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
50
52
  GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
51
53
  GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
52
- Integer = Shapes::IntegerShape.new(name: 'Integer')
54
+ InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
53
55
  InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
56
+ InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
54
57
  InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
55
58
  InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
56
59
  InvalidMessageContents = Shapes::StructureShape.new(name: 'InvalidMessageContents')
60
+ InvalidSecurity = Shapes::StructureShape.new(name: 'InvalidSecurity')
61
+ KmsAccessDenied = Shapes::StructureShape.new(name: 'KmsAccessDenied')
62
+ KmsDisabled = Shapes::StructureShape.new(name: 'KmsDisabled')
63
+ KmsInvalidKeyUsage = Shapes::StructureShape.new(name: 'KmsInvalidKeyUsage')
64
+ KmsInvalidState = Shapes::StructureShape.new(name: 'KmsInvalidState')
65
+ KmsNotFound = Shapes::StructureShape.new(name: 'KmsNotFound')
66
+ KmsOptInRequired = Shapes::StructureShape.new(name: 'KmsOptInRequired')
67
+ KmsThrottled = Shapes::StructureShape.new(name: 'KmsThrottled')
57
68
  ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
58
69
  ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
59
70
  ListMessageMoveTasksRequest = Shapes::StructureShape.new(name: 'ListMessageMoveTasksRequest')
@@ -73,10 +84,13 @@ module Aws::SQS
73
84
  MessageBodySystemAttributeMap = Shapes::MapShape.new(name: 'MessageBodySystemAttributeMap', flattened: true)
74
85
  MessageList = Shapes::ListShape.new(name: 'MessageList', flattened: true)
75
86
  MessageNotInflight = Shapes::StructureShape.new(name: 'MessageNotInflight')
87
+ MessageSystemAttributeList = Shapes::ListShape.new(name: 'MessageSystemAttributeList', flattened: true)
76
88
  MessageSystemAttributeMap = Shapes::MapShape.new(name: 'MessageSystemAttributeMap', flattened: true)
77
89
  MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
78
90
  MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
79
91
  MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
92
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
93
+ NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
80
94
  OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
81
95
  PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
82
96
  PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
@@ -90,6 +104,7 @@ module Aws::SQS
90
104
  ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
91
105
  ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
92
106
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
107
+ RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
93
108
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
94
109
  SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
95
110
  SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
@@ -114,9 +129,9 @@ module Aws::SQS
114
129
  UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
115
130
  UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
116
131
 
117
- AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "AWSAccountId")
132
+ AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
118
133
 
119
- ActionNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "ActionName")
134
+ ActionNameList.member = Shapes::ShapeRef.new(shape: String)
120
135
 
121
136
  AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
122
137
  AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
@@ -124,10 +139,12 @@ module Aws::SQS
124
139
  AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
125
140
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
126
141
 
127
- AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "AttributeName")
142
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
128
143
 
144
+ BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
129
145
  BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
130
146
 
147
+ BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
131
148
  BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
132
149
 
133
150
  BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
@@ -136,9 +153,9 @@ module Aws::SQS
136
153
  BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
137
154
  BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
138
155
 
139
- BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry, location_name: "BatchResultErrorEntry")
156
+ BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
140
157
 
141
- BinaryList.member = Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryListValue")
158
+ BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
142
159
 
143
160
  CancelMessageMoveTaskRequest.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TaskHandle"))
144
161
  CancelMessageMoveTaskRequest.struct_class = Types::CancelMessageMoveTaskRequest
@@ -152,10 +169,10 @@ module Aws::SQS
152
169
 
153
170
  ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
154
171
  ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
155
- ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
172
+ ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
156
173
  ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
157
174
 
158
- ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry, location_name: "ChangeMessageVisibilityBatchRequestEntry")
175
+ ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
159
176
 
160
177
  ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
161
178
  ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -164,16 +181,16 @@ module Aws::SQS
164
181
  ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
165
182
  ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
166
183
 
167
- ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry, location_name: "ChangeMessageVisibilityBatchResultEntry")
184
+ ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
168
185
 
169
186
  ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
170
187
  ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
171
- ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "VisibilityTimeout"))
188
+ ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, required: true, location_name: "VisibilityTimeout"))
172
189
  ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
173
190
 
174
191
  CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
175
- CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
176
- CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
192
+ CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
193
+ CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
177
194
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
178
195
 
179
196
  CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
@@ -187,7 +204,7 @@ module Aws::SQS
187
204
  DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
188
205
  DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
189
206
 
190
- DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry, location_name: "DeleteMessageBatchRequestEntry")
207
+ DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
191
208
 
192
209
  DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
193
210
  DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -196,7 +213,7 @@ module Aws::SQS
196
213
  DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
197
214
  DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
198
215
 
199
- DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry, location_name: "DeleteMessageBatchResultEntry")
216
+ DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
200
217
 
201
218
  DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
202
219
  DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
@@ -205,13 +222,14 @@ module Aws::SQS
205
222
  DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
206
223
  DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
207
224
 
225
+ EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
208
226
  EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
209
227
 
210
228
  GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
211
229
  GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
212
230
  GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
213
231
 
214
- GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
232
+ GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
215
233
  GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
216
234
 
217
235
  GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
@@ -221,14 +239,47 @@ module Aws::SQS
221
239
  GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
222
240
  GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
223
241
 
242
+ InvalidAddress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
243
+ InvalidAddress.struct_class = Types::InvalidAddress
244
+
245
+ InvalidAttributeName.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
224
246
  InvalidAttributeName.struct_class = Types::InvalidAttributeName
225
247
 
248
+ InvalidAttributeValue.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
249
+ InvalidAttributeValue.struct_class = Types::InvalidAttributeValue
250
+
251
+ InvalidBatchEntryId.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
226
252
  InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
227
253
 
228
254
  InvalidIdFormat.struct_class = Types::InvalidIdFormat
229
255
 
256
+ InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
230
257
  InvalidMessageContents.struct_class = Types::InvalidMessageContents
231
258
 
259
+ InvalidSecurity.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
260
+ InvalidSecurity.struct_class = Types::InvalidSecurity
261
+
262
+ KmsAccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
263
+ KmsAccessDenied.struct_class = Types::KmsAccessDenied
264
+
265
+ KmsDisabled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
266
+ KmsDisabled.struct_class = Types::KmsDisabled
267
+
268
+ KmsInvalidKeyUsage.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
269
+ KmsInvalidKeyUsage.struct_class = Types::KmsInvalidKeyUsage
270
+
271
+ KmsInvalidState.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
272
+ KmsInvalidState.struct_class = Types::KmsInvalidState
273
+
274
+ KmsNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
275
+ KmsNotFound.struct_class = Types::KmsNotFound
276
+
277
+ KmsOptInRequired.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
278
+ KmsOptInRequired.struct_class = Types::KmsOptInRequired
279
+
280
+ KmsThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
281
+ KmsThrottled.struct_class = Types::KmsThrottled
282
+
232
283
  ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
233
284
  ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
234
285
  ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
@@ -239,29 +290,29 @@ module Aws::SQS
239
290
  ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
240
291
 
241
292
  ListMessageMoveTasksRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
242
- ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
293
+ ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
243
294
  ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
244
295
 
245
- ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results"))
296
+ ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
246
297
  ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
247
298
 
248
299
  ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
249
300
  ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
250
301
  ListMessageMoveTasksResultEntry.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
251
302
  ListMessageMoveTasksResultEntry.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
252
- ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessagesPerSecond"))
303
+ ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
253
304
  ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
254
- ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesToMove"))
305
+ ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ApproximateNumberOfMessagesToMove"))
255
306
  ListMessageMoveTasksResultEntry.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
256
307
  ListMessageMoveTasksResultEntry.add_member(:started_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "StartedTimestamp"))
257
308
  ListMessageMoveTasksResultEntry.struct_class = Types::ListMessageMoveTasksResultEntry
258
309
 
259
- ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry, location_name: "ListMessageMoveTasksResultEntry")
310
+ ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry)
260
311
 
261
312
  ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
262
313
  ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
263
314
 
264
- ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
315
+ ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
265
316
  ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
266
317
 
267
318
  ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
@@ -277,66 +328,75 @@ module Aws::SQS
277
328
  Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
278
329
  Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
279
330
  Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
280
- Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attribute"))
331
+ Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attributes"))
281
332
  Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
282
- Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
333
+ Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
283
334
  Message.struct_class = Types::Message
284
335
 
285
- MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName, location_name: "MessageAttributeName")
336
+ MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
286
337
 
287
338
  MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
288
339
  MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
289
- MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue"))
290
- MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValue"))
340
+ MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues"))
341
+ MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues"))
291
342
  MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
292
343
  MessageAttributeValue.struct_class = Types::MessageAttributeValue
293
344
 
294
- MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
295
- MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue, location_name: "Value")
345
+ MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String)
346
+ MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue)
296
347
 
297
- MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends, location_name: "Name")
298
- MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue, location_name: "Value")
348
+ MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
349
+ MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
299
350
 
300
- MessageList.member = Shapes::ShapeRef.new(shape: Message, location_name: "Message")
351
+ MessageList.member = Shapes::ShapeRef.new(shape: Message)
301
352
 
302
353
  MessageNotInflight.struct_class = Types::MessageNotInflight
303
354
 
304
- MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName, location_name: "Name")
305
- MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
355
+ MessageSystemAttributeList.member = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
356
+
357
+ MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
358
+ MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
306
359
 
307
360
  MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
308
361
  MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
309
- MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue", metadata: {"flattened"=>true}))
310
- MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValue", metadata: {"flattened"=>true}))
362
+ MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
363
+ MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
311
364
  MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
312
365
  MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
313
366
 
367
+ OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
314
368
  OverLimit.struct_class = Types::OverLimit
315
369
 
370
+ PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
316
371
  PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
317
372
 
318
373
  PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
319
374
  PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
320
375
 
321
- QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "Name")
322
- QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
376
+ QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
377
+ QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
323
378
 
379
+ QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
324
380
  QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
325
381
 
382
+ QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
326
383
  QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
327
384
 
385
+ QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
328
386
  QueueNameExists.struct_class = Types::QueueNameExists
329
387
 
330
- QueueUrlList.member = Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl")
388
+ QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
331
389
 
390
+ ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
332
391
  ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
333
392
 
334
393
  ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
335
- ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
394
+ ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, deprecated: true, location_name: "AttributeNames", metadata: {"deprecatedMessage"=>"AttributeNames has been replaced by MessageSystemAttributeNames"}))
395
+ ReceiveMessageRequest.add_member(:message_system_attribute_names, Shapes::ShapeRef.new(shape: MessageSystemAttributeList, location_name: "MessageSystemAttributeNames"))
336
396
  ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
337
- ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessages"))
338
- ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
339
- ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "WaitTimeSeconds"))
397
+ ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
398
+ ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
399
+ ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "WaitTimeSeconds"))
340
400
  ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
341
401
  ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
342
402
 
@@ -347,6 +407,10 @@ module Aws::SQS
347
407
  RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
348
408
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
349
409
 
410
+ RequestThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
411
+ RequestThrottled.struct_class = Types::RequestThrottled
412
+
413
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
350
414
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
351
415
 
352
416
  SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
@@ -355,14 +419,14 @@ module Aws::SQS
355
419
 
356
420
  SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
357
421
  SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
358
- SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
359
- SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
360
- SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
422
+ SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
423
+ SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
424
+ SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
361
425
  SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
362
426
  SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
363
427
  SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
364
428
 
365
- SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry, location_name: "SendMessageBatchRequestEntry")
429
+ SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
366
430
 
367
431
  SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
368
432
  SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -376,13 +440,13 @@ module Aws::SQS
376
440
  SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
377
441
  SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
378
442
 
379
- SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry, location_name: "SendMessageBatchResultEntry")
443
+ SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
380
444
 
381
445
  SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
382
446
  SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
383
- SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
384
- SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
385
- SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
447
+ SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
448
+ SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
449
+ SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
386
450
  SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
387
451
  SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
388
452
  SendMessageRequest.struct_class = Types::SendMessageRequest
@@ -395,30 +459,32 @@ module Aws::SQS
395
459
  SendMessageResult.struct_class = Types::SendMessageResult
396
460
 
397
461
  SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
398
- SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attribute"))
462
+ SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
399
463
  SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
400
464
 
401
465
  StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
402
466
  StartMessageMoveTaskRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
403
- StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessagesPerSecond"))
467
+ StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
404
468
  StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
405
469
 
406
470
  StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
407
471
  StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
408
472
 
409
- StringList.member = Shapes::ShapeRef.new(shape: String, location_name: "StringListValue")
473
+ StringList.member = Shapes::ShapeRef.new(shape: String)
410
474
 
411
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")
475
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
412
476
 
413
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey, location_name: "Key")
414
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue, location_name: "Value")
477
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
478
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
415
479
 
416
480
  TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
417
481
  TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
418
482
  TagQueueRequest.struct_class = Types::TagQueueRequest
419
483
 
484
+ TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
420
485
  TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
421
486
 
487
+ UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
422
488
  UnsupportedOperation.struct_class = Types::UnsupportedOperation
423
489
 
424
490
  UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
@@ -433,15 +499,19 @@ module Aws::SQS
433
499
 
434
500
  api.metadata = {
435
501
  "apiVersion" => "2012-11-05",
502
+ "auth" => ["aws.auth#sigv4"],
503
+ "awsQueryCompatible" => {},
436
504
  "endpointPrefix" => "sqs",
437
505
  "errorPrefix" => "AWS.SimpleQueueService.",
438
- "protocol" => "query",
506
+ "jsonVersion" => "1.0",
507
+ "protocol" => "json",
508
+ "protocols" => ["json"],
439
509
  "serviceAbbreviation" => "Amazon SQS",
440
510
  "serviceFullName" => "Amazon Simple Queue Service",
441
511
  "serviceId" => "SQS",
442
512
  "signatureVersion" => "v4",
513
+ "targetPrefix" => "AmazonSQS",
443
514
  "uid" => "sqs-2012-11-05",
444
- "xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
445
515
  }
446
516
 
447
517
  api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -451,6 +521,11 @@ module Aws::SQS
451
521
  o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
452
522
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
453
523
  o.errors << Shapes::ShapeRef.new(shape: OverLimit)
524
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
525
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
528
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
454
529
  end)
455
530
 
456
531
  api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
@@ -460,6 +535,9 @@ module Aws::SQS
460
535
  o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
461
536
  o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
462
537
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
538
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
539
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
540
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
463
541
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
464
542
  end)
465
543
 
@@ -471,6 +549,11 @@ module Aws::SQS
471
549
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
472
550
  o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
473
551
  o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
552
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
553
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
554
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
555
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
556
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
474
557
  end)
475
558
 
476
559
  api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -483,6 +566,11 @@ module Aws::SQS
483
566
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
484
567
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
485
568
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
569
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
570
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
571
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
572
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
573
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
486
574
  end)
487
575
 
488
576
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -493,6 +581,12 @@ module Aws::SQS
493
581
  o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
494
582
  o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
495
583
  o.errors << Shapes::ShapeRef.new(shape: QueueNameExists)
584
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
585
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
586
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
587
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
588
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
589
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
496
590
  end)
497
591
 
498
592
  api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
@@ -503,6 +597,11 @@ module Aws::SQS
503
597
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
504
598
  o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
505
599
  o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
600
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
601
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
602
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
603
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
604
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
506
605
  end)
507
606
 
508
607
  api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -515,6 +614,11 @@ module Aws::SQS
515
614
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
516
615
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
517
616
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
617
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
618
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
619
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
620
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
621
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
518
622
  end)
519
623
 
520
624
  api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -523,6 +627,11 @@ module Aws::SQS
523
627
  o.http_request_uri = "/"
524
628
  o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
525
629
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
630
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
631
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
632
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
633
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
526
635
  end)
527
636
 
528
637
  api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -532,6 +641,11 @@ module Aws::SQS
532
641
  o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
533
642
  o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
534
643
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
644
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
645
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
646
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
648
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
535
649
  end)
536
650
 
537
651
  api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
@@ -540,7 +654,11 @@ module Aws::SQS
540
654
  o.http_request_uri = "/"
541
655
  o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
542
656
  o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
657
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
543
658
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
659
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
660
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
661
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
544
662
  end)
545
663
 
546
664
  api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -550,6 +668,10 @@ module Aws::SQS
550
668
  o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
551
669
  o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
552
670
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
671
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
672
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
673
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
674
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
553
675
  o[:pager] = Aws::Pager.new(
554
676
  limit_key: "max_results",
555
677
  tokens: {
@@ -565,6 +687,9 @@ module Aws::SQS
565
687
  o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
566
688
  o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
567
689
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
690
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
691
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
568
693
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
569
694
  end)
570
695
 
@@ -574,6 +699,11 @@ module Aws::SQS
574
699
  o.http_request_uri = "/"
575
700
  o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
576
701
  o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
702
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
703
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
704
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
705
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
706
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
577
707
  end)
578
708
 
579
709
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -582,6 +712,10 @@ module Aws::SQS
582
712
  o.http_request_uri = "/"
583
713
  o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
584
714
  o.output = Shapes::ShapeRef.new(shape: ListQueuesResult)
715
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
716
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
717
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
718
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
585
719
  o[:pager] = Aws::Pager.new(
586
720
  limit_key: "max_results",
587
721
  tokens: {
@@ -598,6 +732,10 @@ module Aws::SQS
598
732
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
599
733
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
600
734
  o.errors << Shapes::ShapeRef.new(shape: PurgeQueueInProgress)
735
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
736
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
737
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
738
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
601
739
  end)
602
740
 
603
741
  api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
@@ -606,7 +744,19 @@ module Aws::SQS
606
744
  o.http_request_uri = "/"
607
745
  o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
608
746
  o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
747
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
609
748
  o.errors << Shapes::ShapeRef.new(shape: OverLimit)
749
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
750
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
751
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
752
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
753
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
754
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
755
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
756
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
757
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
758
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
759
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
610
760
  end)
611
761
 
612
762
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -615,6 +765,11 @@ module Aws::SQS
615
765
  o.http_request_uri = "/"
616
766
  o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
617
767
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
768
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
769
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
770
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
771
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
772
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
618
773
  end)
619
774
 
620
775
  api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
@@ -625,6 +780,17 @@ module Aws::SQS
625
780
  o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
626
781
  o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
627
782
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
783
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
784
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
785
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
786
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
787
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
788
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
789
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
790
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
791
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
792
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
793
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
628
794
  end)
629
795
 
630
796
  api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -639,6 +805,17 @@ module Aws::SQS
639
805
  o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
640
806
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
641
807
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
808
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
809
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
810
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
811
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
812
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
813
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
814
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
815
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
816
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
817
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
818
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
642
819
  end)
643
820
 
644
821
  api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -648,6 +825,13 @@ module Aws::SQS
648
825
  o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
649
826
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
650
827
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
828
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
829
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
830
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
831
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
832
+ o.errors << Shapes::ShapeRef.new(shape: OverLimit)
833
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
834
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
651
835
  end)
652
836
 
653
837
  api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
@@ -657,6 +841,9 @@ module Aws::SQS
657
841
  o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
658
842
  o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
659
843
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
844
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
845
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
846
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
660
847
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
661
848
  end)
662
849
 
@@ -666,6 +853,11 @@ module Aws::SQS
666
853
  o.http_request_uri = "/"
667
854
  o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
668
855
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
856
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
857
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
858
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
859
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
860
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
669
861
  end)
670
862
 
671
863
  api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -674,6 +866,11 @@ module Aws::SQS
674
866
  o.http_request_uri = "/"
675
867
  o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
676
868
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
869
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
870
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
871
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
872
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
873
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
677
874
  end)
678
875
  end
679
876