aws-sdk-sqs 1.24.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
@@ -22,6 +24,9 @@ module Aws::SQS
22
24
  Binary = Shapes::BlobShape.new(name: 'Binary')
23
25
  BinaryList = Shapes::ListShape.new(name: 'BinaryList', flattened: true)
24
26
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
27
+ BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
28
+ CancelMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskRequest')
29
+ CancelMessageMoveTaskResult = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskResult')
25
30
  ChangeMessageVisibilityBatchRequest = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequest')
26
31
  ChangeMessageVisibilityBatchRequestEntry = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequestEntry')
27
32
  ChangeMessageVisibilityBatchRequestEntryList = Shapes::ListShape.new(name: 'ChangeMessageVisibilityBatchRequestEntryList', flattened: true)
@@ -40,21 +45,36 @@ module Aws::SQS
40
45
  DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
41
46
  DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
42
47
  EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
48
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
43
49
  GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
44
50
  GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
45
51
  GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
46
52
  GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
47
- Integer = Shapes::IntegerShape.new(name: 'Integer')
53
+ InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
48
54
  InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
55
+ InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
49
56
  InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
50
57
  InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
51
58
  InvalidMessageContents = Shapes::StructureShape.new(name: 'InvalidMessageContents')
59
+ InvalidSecurity = Shapes::StructureShape.new(name: 'InvalidSecurity')
60
+ KmsAccessDenied = Shapes::StructureShape.new(name: 'KmsAccessDenied')
61
+ KmsDisabled = Shapes::StructureShape.new(name: 'KmsDisabled')
62
+ KmsInvalidKeyUsage = Shapes::StructureShape.new(name: 'KmsInvalidKeyUsage')
63
+ KmsInvalidState = Shapes::StructureShape.new(name: 'KmsInvalidState')
64
+ KmsNotFound = Shapes::StructureShape.new(name: 'KmsNotFound')
65
+ KmsOptInRequired = Shapes::StructureShape.new(name: 'KmsOptInRequired')
66
+ KmsThrottled = Shapes::StructureShape.new(name: 'KmsThrottled')
52
67
  ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
53
68
  ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
69
+ ListMessageMoveTasksRequest = Shapes::StructureShape.new(name: 'ListMessageMoveTasksRequest')
70
+ ListMessageMoveTasksResult = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResult')
71
+ ListMessageMoveTasksResultEntry = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResultEntry')
72
+ ListMessageMoveTasksResultEntryList = Shapes::ListShape.new(name: 'ListMessageMoveTasksResultEntryList', flattened: true)
54
73
  ListQueueTagsRequest = Shapes::StructureShape.new(name: 'ListQueueTagsRequest')
55
74
  ListQueueTagsResult = Shapes::StructureShape.new(name: 'ListQueueTagsResult')
56
75
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
57
76
  ListQueuesResult = Shapes::StructureShape.new(name: 'ListQueuesResult')
77
+ Long = Shapes::IntegerShape.new(name: 'Long')
58
78
  Message = Shapes::StructureShape.new(name: 'Message')
59
79
  MessageAttributeName = Shapes::StringShape.new(name: 'MessageAttributeName')
60
80
  MessageAttributeNameList = Shapes::ListShape.new(name: 'MessageAttributeNameList', flattened: true)
@@ -67,6 +87,8 @@ module Aws::SQS
67
87
  MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
68
88
  MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
69
89
  MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
90
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
91
+ NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
70
92
  OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
71
93
  PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
72
94
  PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
@@ -80,6 +102,8 @@ module Aws::SQS
80
102
  ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
81
103
  ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
82
104
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
105
+ RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
106
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
107
  SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
84
108
  SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
85
109
  SendMessageBatchRequestEntryList = Shapes::ListShape.new(name: 'SendMessageBatchRequestEntryList', flattened: true)
@@ -89,6 +113,8 @@ module Aws::SQS
89
113
  SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
90
114
  SendMessageResult = Shapes::StructureShape.new(name: 'SendMessageResult')
91
115
  SetQueueAttributesRequest = Shapes::StructureShape.new(name: 'SetQueueAttributesRequest')
116
+ StartMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'StartMessageMoveTaskRequest')
117
+ StartMessageMoveTaskResult = Shapes::StructureShape.new(name: 'StartMessageMoveTaskResult')
92
118
  String = Shapes::StringShape.new(name: 'String')
93
119
  StringList = Shapes::ListShape.new(name: 'StringList', flattened: true)
94
120
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -96,13 +122,14 @@ module Aws::SQS
96
122
  TagMap = Shapes::MapShape.new(name: 'TagMap', flattened: true)
97
123
  TagQueueRequest = Shapes::StructureShape.new(name: 'TagQueueRequest')
98
124
  TagValue = Shapes::StringShape.new(name: 'TagValue')
125
+ Token = Shapes::StringShape.new(name: 'Token')
99
126
  TooManyEntriesInBatchRequest = Shapes::StructureShape.new(name: 'TooManyEntriesInBatchRequest')
100
127
  UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
101
128
  UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
102
129
 
103
- AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "AWSAccountId")
130
+ AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
104
131
 
105
- ActionNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "ActionName")
132
+ ActionNameList.member = Shapes::ShapeRef.new(shape: String)
106
133
 
107
134
  AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
108
135
  AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
@@ -110,10 +137,12 @@ module Aws::SQS
110
137
  AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
111
138
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
112
139
 
113
- AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "AttributeName")
140
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
114
141
 
142
+ BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
115
143
  BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
116
144
 
145
+ BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
117
146
  BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
118
147
 
119
148
  BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
@@ -122,9 +151,15 @@ module Aws::SQS
122
151
  BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
123
152
  BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
124
153
 
125
- BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry, location_name: "BatchResultErrorEntry")
154
+ BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
155
+
156
+ BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
157
+
158
+ CancelMessageMoveTaskRequest.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TaskHandle"))
159
+ CancelMessageMoveTaskRequest.struct_class = Types::CancelMessageMoveTaskRequest
126
160
 
127
- BinaryList.member = Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryListValue")
161
+ CancelMessageMoveTaskResult.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
162
+ CancelMessageMoveTaskResult.struct_class = Types::CancelMessageMoveTaskResult
128
163
 
129
164
  ChangeMessageVisibilityBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
130
165
  ChangeMessageVisibilityBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntryList, required: true, location_name: "Entries"))
@@ -132,10 +167,10 @@ module Aws::SQS
132
167
 
133
168
  ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
134
169
  ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
135
- ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
170
+ ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
136
171
  ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
137
172
 
138
- ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry, location_name: "ChangeMessageVisibilityBatchRequestEntry")
173
+ ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
139
174
 
140
175
  ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
141
176
  ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -144,16 +179,16 @@ module Aws::SQS
144
179
  ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
145
180
  ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
146
181
 
147
- ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry, location_name: "ChangeMessageVisibilityBatchResultEntry")
182
+ ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
148
183
 
149
184
  ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
150
185
  ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
151
- ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "VisibilityTimeout"))
186
+ ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, required: true, location_name: "VisibilityTimeout"))
152
187
  ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
153
188
 
154
189
  CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
155
- CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
156
- CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
190
+ CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
191
+ CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
157
192
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
158
193
 
159
194
  CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
@@ -167,7 +202,7 @@ module Aws::SQS
167
202
  DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
168
203
  DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
169
204
 
170
- DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry, location_name: "DeleteMessageBatchRequestEntry")
205
+ DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
171
206
 
172
207
  DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
173
208
  DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -176,7 +211,7 @@ module Aws::SQS
176
211
  DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
177
212
  DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
178
213
 
179
- DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry, location_name: "DeleteMessageBatchResultEntry")
214
+ DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
180
215
 
181
216
  DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
182
217
  DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
@@ -185,13 +220,14 @@ module Aws::SQS
185
220
  DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
186
221
  DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
187
222
 
223
+ EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
188
224
  EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
189
225
 
190
226
  GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
191
227
  GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
192
228
  GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
193
229
 
194
- GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
230
+ GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
195
231
  GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
196
232
 
197
233
  GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
@@ -201,96 +237,161 @@ module Aws::SQS
201
237
  GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
202
238
  GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
203
239
 
240
+ InvalidAddress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
241
+ InvalidAddress.struct_class = Types::InvalidAddress
242
+
243
+ InvalidAttributeName.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
204
244
  InvalidAttributeName.struct_class = Types::InvalidAttributeName
205
245
 
246
+ InvalidAttributeValue.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
247
+ InvalidAttributeValue.struct_class = Types::InvalidAttributeValue
248
+
249
+ InvalidBatchEntryId.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
206
250
  InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
207
251
 
208
252
  InvalidIdFormat.struct_class = Types::InvalidIdFormat
209
253
 
254
+ InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
210
255
  InvalidMessageContents.struct_class = Types::InvalidMessageContents
211
256
 
257
+ InvalidSecurity.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
258
+ InvalidSecurity.struct_class = Types::InvalidSecurity
259
+
260
+ KmsAccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
261
+ KmsAccessDenied.struct_class = Types::KmsAccessDenied
262
+
263
+ KmsDisabled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
264
+ KmsDisabled.struct_class = Types::KmsDisabled
265
+
266
+ KmsInvalidKeyUsage.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
267
+ KmsInvalidKeyUsage.struct_class = Types::KmsInvalidKeyUsage
268
+
269
+ KmsInvalidState.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
270
+ KmsInvalidState.struct_class = Types::KmsInvalidState
271
+
272
+ KmsNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
273
+ KmsNotFound.struct_class = Types::KmsNotFound
274
+
275
+ KmsOptInRequired.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
276
+ KmsOptInRequired.struct_class = Types::KmsOptInRequired
277
+
278
+ KmsThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
279
+ KmsThrottled.struct_class = Types::KmsThrottled
280
+
212
281
  ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
282
+ ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
283
+ ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
213
284
  ListDeadLetterSourceQueuesRequest.struct_class = Types::ListDeadLetterSourceQueuesRequest
214
285
 
215
286
  ListDeadLetterSourceQueuesResult.add_member(:queue_urls, Shapes::ShapeRef.new(shape: QueueUrlList, required: true, location_name: "queueUrls"))
287
+ ListDeadLetterSourceQueuesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
216
288
  ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
217
289
 
290
+ ListMessageMoveTasksRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
291
+ ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
292
+ ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
293
+
294
+ ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
295
+ ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
296
+
297
+ ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
298
+ ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
299
+ ListMessageMoveTasksResultEntry.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
300
+ ListMessageMoveTasksResultEntry.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
301
+ ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
302
+ ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
303
+ ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ApproximateNumberOfMessagesToMove"))
304
+ ListMessageMoveTasksResultEntry.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
305
+ ListMessageMoveTasksResultEntry.add_member(:started_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "StartedTimestamp"))
306
+ ListMessageMoveTasksResultEntry.struct_class = Types::ListMessageMoveTasksResultEntry
307
+
308
+ ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry)
309
+
218
310
  ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
219
311
  ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
220
312
 
221
- ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tag"))
313
+ ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
222
314
  ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
223
315
 
224
316
  ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
317
+ ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
318
+ ListQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
225
319
  ListQueuesRequest.struct_class = Types::ListQueuesRequest
226
320
 
227
321
  ListQueuesResult.add_member(:queue_urls, Shapes::ShapeRef.new(shape: QueueUrlList, location_name: "QueueUrls"))
322
+ ListQueuesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
228
323
  ListQueuesResult.struct_class = Types::ListQueuesResult
229
324
 
230
325
  Message.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
231
326
  Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
232
327
  Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
233
328
  Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
234
- Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attribute"))
329
+ Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attributes"))
235
330
  Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
236
- Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
331
+ Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
237
332
  Message.struct_class = Types::Message
238
333
 
239
- MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName, location_name: "MessageAttributeName")
334
+ MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
240
335
 
241
336
  MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
242
337
  MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
243
- MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue"))
244
- MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValue"))
338
+ MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues"))
339
+ MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues"))
245
340
  MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
246
341
  MessageAttributeValue.struct_class = Types::MessageAttributeValue
247
342
 
248
- MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
249
- MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue, location_name: "Value")
343
+ MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String)
344
+ MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue)
250
345
 
251
- MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends, location_name: "Name")
252
- MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue, location_name: "Value")
346
+ MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
347
+ MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
253
348
 
254
- MessageList.member = Shapes::ShapeRef.new(shape: Message, location_name: "Message")
349
+ MessageList.member = Shapes::ShapeRef.new(shape: Message)
255
350
 
256
351
  MessageNotInflight.struct_class = Types::MessageNotInflight
257
352
 
258
- MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName, location_name: "Name")
259
- MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
353
+ MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
354
+ MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
260
355
 
261
356
  MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
262
357
  MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
263
- MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue", metadata: {"flattened"=>true}))
264
- MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValue", metadata: {"flattened"=>true}))
358
+ MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
359
+ MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
265
360
  MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
266
361
  MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
267
362
 
363
+ OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
268
364
  OverLimit.struct_class = Types::OverLimit
269
365
 
366
+ PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
270
367
  PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
271
368
 
272
369
  PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
273
370
  PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
274
371
 
275
- QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "Name")
276
- QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
372
+ QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
373
+ QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
277
374
 
375
+ QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
278
376
  QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
279
377
 
378
+ QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
280
379
  QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
281
380
 
381
+ QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
282
382
  QueueNameExists.struct_class = Types::QueueNameExists
283
383
 
284
- QueueUrlList.member = Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl")
384
+ QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
285
385
 
386
+ ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
286
387
  ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
287
388
 
288
389
  ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
289
390
  ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
290
391
  ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
291
- ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessages"))
292
- ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
293
- ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "WaitTimeSeconds"))
392
+ ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
393
+ ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
394
+ ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "WaitTimeSeconds"))
294
395
  ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
295
396
  ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
296
397
 
@@ -301,20 +402,26 @@ module Aws::SQS
301
402
  RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
302
403
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
303
404
 
405
+ RequestThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
406
+ RequestThrottled.struct_class = Types::RequestThrottled
407
+
408
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
409
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
410
+
304
411
  SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
305
412
  SendMessageBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntryList, required: true, location_name: "Entries"))
306
413
  SendMessageBatchRequest.struct_class = Types::SendMessageBatchRequest
307
414
 
308
415
  SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
309
416
  SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
310
- SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
311
- SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
312
- SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
417
+ SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
418
+ SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
419
+ SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
313
420
  SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
314
421
  SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
315
422
  SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
316
423
 
317
- SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry, location_name: "SendMessageBatchRequestEntry")
424
+ SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
318
425
 
319
426
  SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
320
427
  SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -328,13 +435,13 @@ module Aws::SQS
328
435
  SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
329
436
  SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
330
437
 
331
- SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry, location_name: "SendMessageBatchResultEntry")
438
+ SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
332
439
 
333
440
  SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
334
441
  SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
335
- SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
336
- SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
337
- SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttribute"))
442
+ SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
443
+ SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
444
+ SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
338
445
  SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
339
446
  SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
340
447
  SendMessageRequest.struct_class = Types::SendMessageRequest
@@ -347,22 +454,32 @@ module Aws::SQS
347
454
  SendMessageResult.struct_class = Types::SendMessageResult
348
455
 
349
456
  SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
350
- SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attribute"))
457
+ SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
351
458
  SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
352
459
 
353
- StringList.member = Shapes::ShapeRef.new(shape: String, location_name: "StringListValue")
460
+ StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
461
+ StartMessageMoveTaskRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
462
+ StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
463
+ StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
464
+
465
+ StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
466
+ StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
467
+
468
+ StringList.member = Shapes::ShapeRef.new(shape: String)
354
469
 
355
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")
470
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
356
471
 
357
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey, location_name: "Key")
358
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue, location_name: "Value")
472
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
473
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
359
474
 
360
475
  TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
361
476
  TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
362
477
  TagQueueRequest.struct_class = Types::TagQueueRequest
363
478
 
479
+ TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
364
480
  TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
365
481
 
482
+ UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
366
483
  UnsupportedOperation.struct_class = Types::UnsupportedOperation
367
484
 
368
485
  UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
@@ -377,15 +494,17 @@ module Aws::SQS
377
494
 
378
495
  api.metadata = {
379
496
  "apiVersion" => "2012-11-05",
497
+ "awsQueryCompatible" => {},
380
498
  "endpointPrefix" => "sqs",
381
499
  "errorPrefix" => "AWS.SimpleQueueService.",
382
- "protocol" => "query",
500
+ "jsonVersion" => "1.0",
501
+ "protocol" => "json",
383
502
  "serviceAbbreviation" => "Amazon SQS",
384
503
  "serviceFullName" => "Amazon Simple Queue Service",
385
504
  "serviceId" => "SQS",
386
505
  "signatureVersion" => "v4",
506
+ "targetPrefix" => "AmazonSQS",
387
507
  "uid" => "sqs-2012-11-05",
388
- "xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
389
508
  }
390
509
 
391
510
  api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -395,6 +514,24 @@ module Aws::SQS
395
514
  o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
396
515
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
397
516
  o.errors << Shapes::ShapeRef.new(shape: OverLimit)
517
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
518
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
519
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
520
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
521
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
522
+ end)
523
+
524
+ api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "CancelMessageMoveTask"
526
+ o.http_method = "POST"
527
+ o.http_request_uri = "/"
528
+ o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
529
+ o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
530
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
531
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
532
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
533
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
534
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
398
535
  end)
399
536
 
400
537
  api.add_operation(:change_message_visibility, Seahorse::Model::Operation.new.tap do |o|
@@ -405,6 +542,11 @@ module Aws::SQS
405
542
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
406
543
  o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
407
544
  o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
545
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
546
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
547
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
548
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
408
550
  end)
409
551
 
410
552
  api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -417,6 +559,11 @@ module Aws::SQS
417
559
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
418
560
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
419
561
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
562
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
563
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
564
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
565
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
566
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
420
567
  end)
421
568
 
422
569
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -427,6 +574,12 @@ module Aws::SQS
427
574
  o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
428
575
  o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
429
576
  o.errors << Shapes::ShapeRef.new(shape: QueueNameExists)
577
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
578
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
579
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
580
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
581
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
582
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
430
583
  end)
431
584
 
432
585
  api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
@@ -437,6 +590,11 @@ module Aws::SQS
437
590
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
438
591
  o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
439
592
  o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
593
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
594
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
595
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
596
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
597
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
440
598
  end)
441
599
 
442
600
  api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -449,6 +607,11 @@ module Aws::SQS
449
607
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
450
608
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
451
609
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
610
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
611
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
612
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
613
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
452
615
  end)
453
616
 
454
617
  api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -457,6 +620,11 @@ module Aws::SQS
457
620
  o.http_request_uri = "/"
458
621
  o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
459
622
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
623
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
624
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
625
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
626
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
627
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
460
628
  end)
461
629
 
462
630
  api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -466,6 +634,11 @@ module Aws::SQS
466
634
  o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
467
635
  o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
468
636
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
637
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
638
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
639
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
469
642
  end)
470
643
 
471
644
  api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
@@ -474,7 +647,11 @@ module Aws::SQS
474
647
  o.http_request_uri = "/"
475
648
  o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
476
649
  o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
650
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
477
651
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
654
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
478
655
  end)
479
656
 
480
657
  api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -484,6 +661,29 @@ module Aws::SQS
484
661
  o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
485
662
  o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
486
663
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
664
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
666
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
667
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
668
+ o[:pager] = Aws::Pager.new(
669
+ limit_key: "max_results",
670
+ tokens: {
671
+ "next_token" => "next_token"
672
+ }
673
+ )
674
+ end)
675
+
676
+ api.add_operation(:list_message_move_tasks, Seahorse::Model::Operation.new.tap do |o|
677
+ o.name = "ListMessageMoveTasks"
678
+ o.http_method = "POST"
679
+ o.http_request_uri = "/"
680
+ o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
681
+ o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
683
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
684
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
685
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
686
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
487
687
  end)
488
688
 
489
689
  api.add_operation(:list_queue_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -492,6 +692,11 @@ module Aws::SQS
492
692
  o.http_request_uri = "/"
493
693
  o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
494
694
  o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
695
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
696
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
697
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
698
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
699
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
495
700
  end)
496
701
 
497
702
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -500,6 +705,16 @@ module Aws::SQS
500
705
  o.http_request_uri = "/"
501
706
  o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
502
707
  o.output = Shapes::ShapeRef.new(shape: ListQueuesResult)
708
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
709
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
710
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
711
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
712
+ o[:pager] = Aws::Pager.new(
713
+ limit_key: "max_results",
714
+ tokens: {
715
+ "next_token" => "next_token"
716
+ }
717
+ )
503
718
  end)
504
719
 
505
720
  api.add_operation(:purge_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -510,6 +725,10 @@ module Aws::SQS
510
725
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
511
726
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
512
727
  o.errors << Shapes::ShapeRef.new(shape: PurgeQueueInProgress)
728
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
729
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
731
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
513
732
  end)
514
733
 
515
734
  api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
@@ -518,7 +737,19 @@ module Aws::SQS
518
737
  o.http_request_uri = "/"
519
738
  o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
520
739
  o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
740
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
521
741
  o.errors << Shapes::ShapeRef.new(shape: OverLimit)
742
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
743
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
744
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
745
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
746
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
747
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
748
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
749
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
750
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
751
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
752
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
522
753
  end)
523
754
 
524
755
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -527,6 +758,11 @@ module Aws::SQS
527
758
  o.http_request_uri = "/"
528
759
  o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
529
760
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
762
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
763
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
764
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
765
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
530
766
  end)
531
767
 
532
768
  api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
@@ -537,6 +773,17 @@ module Aws::SQS
537
773
  o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
538
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
539
775
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
776
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
777
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
778
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
779
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
780
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
781
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
782
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
783
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
784
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
785
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
786
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
540
787
  end)
541
788
 
542
789
  api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -551,6 +798,17 @@ module Aws::SQS
551
798
  o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
552
799
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
553
800
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
801
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
802
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
803
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
804
+ o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
805
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
806
+ o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
807
+ o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
808
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
809
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
810
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
811
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
554
812
  end)
555
813
 
556
814
  api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -560,6 +818,26 @@ module Aws::SQS
560
818
  o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
561
819
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
562
820
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
821
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
822
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
823
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
824
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
825
+ o.errors << Shapes::ShapeRef.new(shape: OverLimit)
826
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
827
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
828
+ end)
829
+
830
+ api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
831
+ o.name = "StartMessageMoveTask"
832
+ o.http_method = "POST"
833
+ o.http_request_uri = "/"
834
+ o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
835
+ o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
836
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
837
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
838
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
839
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
840
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
563
841
  end)
564
842
 
565
843
  api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -568,6 +846,11 @@ module Aws::SQS
568
846
  o.http_request_uri = "/"
569
847
  o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
570
848
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
850
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
851
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
852
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
853
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
571
854
  end)
572
855
 
573
856
  api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -576,6 +859,11 @@ module Aws::SQS
576
859
  o.http_request_uri = "/"
577
860
  o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
578
861
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
862
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
863
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
864
+ o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
865
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
866
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
579
867
  end)
580
868
  end
581
869