aws-sdk-sqs 1.30.0 → 1.89.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,11 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::SQS
11
12
  # @api private
12
13
  module ClientApi
@@ -25,6 +26,8 @@ module Aws::SQS
25
26
  BinaryList = Shapes::ListShape.new(name: 'BinaryList', flattened: true)
26
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
27
28
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
29
+ CancelMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskRequest')
30
+ CancelMessageMoveTaskResult = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskResult')
28
31
  ChangeMessageVisibilityBatchRequest = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequest')
29
32
  ChangeMessageVisibilityBatchRequestEntry = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequestEntry')
30
33
  ChangeMessageVisibilityBatchRequestEntryList = Shapes::ListShape.new(name: 'ChangeMessageVisibilityBatchRequestEntryList', flattened: true)
@@ -43,21 +46,36 @@ module Aws::SQS
43
46
  DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
44
47
  DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
45
48
  EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
49
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
46
50
  GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
47
51
  GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
48
52
  GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
49
53
  GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
50
- Integer = Shapes::IntegerShape.new(name: 'Integer')
54
+ InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
51
55
  InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
56
+ InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
52
57
  InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
53
58
  InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
54
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')
55
68
  ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
56
69
  ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
70
+ ListMessageMoveTasksRequest = Shapes::StructureShape.new(name: 'ListMessageMoveTasksRequest')
71
+ ListMessageMoveTasksResult = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResult')
72
+ ListMessageMoveTasksResultEntry = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResultEntry')
73
+ ListMessageMoveTasksResultEntryList = Shapes::ListShape.new(name: 'ListMessageMoveTasksResultEntryList', flattened: true)
57
74
  ListQueueTagsRequest = Shapes::StructureShape.new(name: 'ListQueueTagsRequest')
58
75
  ListQueueTagsResult = Shapes::StructureShape.new(name: 'ListQueueTagsResult')
59
76
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
60
77
  ListQueuesResult = Shapes::StructureShape.new(name: 'ListQueuesResult')
78
+ Long = Shapes::IntegerShape.new(name: 'Long')
61
79
  Message = Shapes::StructureShape.new(name: 'Message')
62
80
  MessageAttributeName = Shapes::StringShape.new(name: 'MessageAttributeName')
63
81
  MessageAttributeNameList = Shapes::ListShape.new(name: 'MessageAttributeNameList', flattened: true)
@@ -66,10 +84,13 @@ module Aws::SQS
66
84
  MessageBodySystemAttributeMap = Shapes::MapShape.new(name: 'MessageBodySystemAttributeMap', flattened: true)
67
85
  MessageList = Shapes::ListShape.new(name: 'MessageList', flattened: true)
68
86
  MessageNotInflight = Shapes::StructureShape.new(name: 'MessageNotInflight')
87
+ MessageSystemAttributeList = Shapes::ListShape.new(name: 'MessageSystemAttributeList', flattened: true)
69
88
  MessageSystemAttributeMap = Shapes::MapShape.new(name: 'MessageSystemAttributeMap', flattened: true)
70
89
  MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
71
90
  MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
72
91
  MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
92
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
93
+ NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
73
94
  OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
74
95
  PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
75
96
  PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
@@ -83,6 +104,8 @@ module Aws::SQS
83
104
  ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
84
105
  ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
85
106
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
107
+ RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
108
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
86
109
  SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
87
110
  SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
88
111
  SendMessageBatchRequestEntryList = Shapes::ListShape.new(name: 'SendMessageBatchRequestEntryList', flattened: true)
@@ -92,6 +115,8 @@ module Aws::SQS
92
115
  SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
93
116
  SendMessageResult = Shapes::StructureShape.new(name: 'SendMessageResult')
94
117
  SetQueueAttributesRequest = Shapes::StructureShape.new(name: 'SetQueueAttributesRequest')
118
+ StartMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'StartMessageMoveTaskRequest')
119
+ StartMessageMoveTaskResult = Shapes::StructureShape.new(name: 'StartMessageMoveTaskResult')
95
120
  String = Shapes::StringShape.new(name: 'String')
96
121
  StringList = Shapes::ListShape.new(name: 'StringList', flattened: true)
97
122
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -104,9 +129,9 @@ module Aws::SQS
104
129
  UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
105
130
  UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
106
131
 
107
- AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "AWSAccountId")
132
+ AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
108
133
 
109
- ActionNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "ActionName")
134
+ ActionNameList.member = Shapes::ShapeRef.new(shape: String)
110
135
 
111
136
  AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
112
137
  AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
@@ -114,10 +139,12 @@ module Aws::SQS
114
139
  AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
115
140
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
116
141
 
117
- AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "AttributeName")
142
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
118
143
 
144
+ BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
119
145
  BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
120
146
 
147
+ BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
121
148
  BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
122
149
 
123
150
  BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
@@ -126,9 +153,15 @@ module Aws::SQS
126
153
  BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
127
154
  BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
128
155
 
129
- BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry, location_name: "BatchResultErrorEntry")
156
+ BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
157
+
158
+ BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
159
+
160
+ CancelMessageMoveTaskRequest.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TaskHandle"))
161
+ CancelMessageMoveTaskRequest.struct_class = Types::CancelMessageMoveTaskRequest
130
162
 
131
- BinaryList.member = Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryListValue")
163
+ CancelMessageMoveTaskResult.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
164
+ CancelMessageMoveTaskResult.struct_class = Types::CancelMessageMoveTaskResult
132
165
 
133
166
  ChangeMessageVisibilityBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
134
167
  ChangeMessageVisibilityBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntryList, required: true, location_name: "Entries"))
@@ -136,10 +169,10 @@ module Aws::SQS
136
169
 
137
170
  ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
138
171
  ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
139
- 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"))
140
173
  ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
141
174
 
142
- ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry, location_name: "ChangeMessageVisibilityBatchRequestEntry")
175
+ ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
143
176
 
144
177
  ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
145
178
  ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -148,16 +181,16 @@ module Aws::SQS
148
181
  ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
149
182
  ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
150
183
 
151
- ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry, location_name: "ChangeMessageVisibilityBatchResultEntry")
184
+ ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
152
185
 
153
186
  ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
154
187
  ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
155
- 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"))
156
189
  ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
157
190
 
158
191
  CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
159
- CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
160
- 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"))
161
194
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
162
195
 
163
196
  CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
@@ -171,7 +204,7 @@ module Aws::SQS
171
204
  DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
172
205
  DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
173
206
 
174
- DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry, location_name: "DeleteMessageBatchRequestEntry")
207
+ DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
175
208
 
176
209
  DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
177
210
  DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -180,7 +213,7 @@ module Aws::SQS
180
213
  DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
181
214
  DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
182
215
 
183
- DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry, location_name: "DeleteMessageBatchResultEntry")
216
+ DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
184
217
 
185
218
  DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
186
219
  DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
@@ -189,13 +222,14 @@ module Aws::SQS
189
222
  DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
190
223
  DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
191
224
 
225
+ EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
192
226
  EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
193
227
 
194
228
  GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
195
229
  GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
196
230
  GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
197
231
 
198
- 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"))
199
233
  GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
200
234
 
201
235
  GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
@@ -205,14 +239,47 @@ module Aws::SQS
205
239
  GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
206
240
  GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
207
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"))
208
246
  InvalidAttributeName.struct_class = Types::InvalidAttributeName
209
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"))
210
252
  InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
211
253
 
212
254
  InvalidIdFormat.struct_class = Types::InvalidIdFormat
213
255
 
256
+ InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
214
257
  InvalidMessageContents.struct_class = Types::InvalidMessageContents
215
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
+
216
283
  ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
217
284
  ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
218
285
  ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
@@ -222,10 +289,30 @@ module Aws::SQS
222
289
  ListDeadLetterSourceQueuesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
223
290
  ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
224
291
 
292
+ ListMessageMoveTasksRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
293
+ ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
294
+ ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
295
+
296
+ ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
297
+ ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
298
+
299
+ ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
300
+ ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
301
+ ListMessageMoveTasksResultEntry.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
302
+ ListMessageMoveTasksResultEntry.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
303
+ ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
304
+ ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
305
+ ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ApproximateNumberOfMessagesToMove"))
306
+ ListMessageMoveTasksResultEntry.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
307
+ ListMessageMoveTasksResultEntry.add_member(:started_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "StartedTimestamp"))
308
+ ListMessageMoveTasksResultEntry.struct_class = Types::ListMessageMoveTasksResultEntry
309
+
310
+ ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry)
311
+
225
312
  ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
226
313
  ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
227
314
 
228
- 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"))
229
316
  ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
230
317
 
231
318
  ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
@@ -241,66 +328,75 @@ module Aws::SQS
241
328
  Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
242
329
  Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
243
330
  Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
244
- 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"))
245
332
  Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
246
- 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"))
247
334
  Message.struct_class = Types::Message
248
335
 
249
- MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName, location_name: "MessageAttributeName")
336
+ MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
250
337
 
251
338
  MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
252
339
  MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
253
- MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue"))
254
- 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"))
255
342
  MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
256
343
  MessageAttributeValue.struct_class = Types::MessageAttributeValue
257
344
 
258
- MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
259
- 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)
260
347
 
261
- MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends, location_name: "Name")
262
- 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)
263
350
 
264
- MessageList.member = Shapes::ShapeRef.new(shape: Message, location_name: "Message")
351
+ MessageList.member = Shapes::ShapeRef.new(shape: Message)
265
352
 
266
353
  MessageNotInflight.struct_class = Types::MessageNotInflight
267
354
 
268
- MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName, location_name: "Name")
269
- 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)
270
359
 
271
360
  MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
272
361
  MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
273
- MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue", metadata: {"flattened"=>true}))
274
- 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}))
275
364
  MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
276
365
  MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
277
366
 
367
+ OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
278
368
  OverLimit.struct_class = Types::OverLimit
279
369
 
370
+ PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
280
371
  PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
281
372
 
282
373
  PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
283
374
  PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
284
375
 
285
- QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "Name")
286
- 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)
287
378
 
379
+ QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
288
380
  QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
289
381
 
382
+ QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
290
383
  QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
291
384
 
385
+ QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
292
386
  QueueNameExists.struct_class = Types::QueueNameExists
293
387
 
294
- QueueUrlList.member = Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl")
388
+ QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
295
389
 
390
+ ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
296
391
  ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
297
392
 
298
393
  ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
299
- 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"))
300
396
  ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
301
- ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessages"))
302
- ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
303
- 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"))
304
400
  ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
305
401
  ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
306
402
 
@@ -311,20 +407,26 @@ module Aws::SQS
311
407
  RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
312
408
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
313
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"))
414
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
415
+
314
416
  SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
315
417
  SendMessageBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntryList, required: true, location_name: "Entries"))
316
418
  SendMessageBatchRequest.struct_class = Types::SendMessageBatchRequest
317
419
 
318
420
  SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
319
421
  SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
320
- SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
321
- SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
322
- 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"))
323
425
  SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
324
426
  SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
325
427
  SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
326
428
 
327
- SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry, location_name: "SendMessageBatchRequestEntry")
429
+ SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
328
430
 
329
431
  SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
330
432
  SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -338,13 +440,13 @@ module Aws::SQS
338
440
  SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
339
441
  SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
340
442
 
341
- SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry, location_name: "SendMessageBatchResultEntry")
443
+ SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
342
444
 
343
445
  SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
344
446
  SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
345
- SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
346
- SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
347
- 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"))
348
450
  SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
349
451
  SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
350
452
  SendMessageRequest.struct_class = Types::SendMessageRequest
@@ -357,22 +459,32 @@ module Aws::SQS
357
459
  SendMessageResult.struct_class = Types::SendMessageResult
358
460
 
359
461
  SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
360
- 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"))
361
463
  SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
362
464
 
363
- StringList.member = Shapes::ShapeRef.new(shape: String, location_name: "StringListValue")
465
+ StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
466
+ StartMessageMoveTaskRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
467
+ StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
468
+ StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
469
+
470
+ StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
471
+ StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
364
472
 
365
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")
473
+ StringList.member = Shapes::ShapeRef.new(shape: String)
366
474
 
367
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey, location_name: "Key")
368
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue, location_name: "Value")
475
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
476
+
477
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
478
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
369
479
 
370
480
  TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
371
481
  TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
372
482
  TagQueueRequest.struct_class = Types::TagQueueRequest
373
483
 
484
+ TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
374
485
  TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
375
486
 
487
+ UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
376
488
  UnsupportedOperation.struct_class = Types::UnsupportedOperation
377
489
 
378
490
  UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
@@ -387,15 +499,19 @@ module Aws::SQS
387
499
 
388
500
  api.metadata = {
389
501
  "apiVersion" => "2012-11-05",
502
+ "auth" => ["aws.auth#sigv4"],
503
+ "awsQueryCompatible" => {},
390
504
  "endpointPrefix" => "sqs",
391
505
  "errorPrefix" => "AWS.SimpleQueueService.",
392
- "protocol" => "query",
506
+ "jsonVersion" => "1.0",
507
+ "protocol" => "json",
508
+ "protocols" => ["json"],
393
509
  "serviceAbbreviation" => "Amazon SQS",
394
510
  "serviceFullName" => "Amazon Simple Queue Service",
395
511
  "serviceId" => "SQS",
396
512
  "signatureVersion" => "v4",
513
+ "targetPrefix" => "AmazonSQS",
397
514
  "uid" => "sqs-2012-11-05",
398
- "xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
399
515
  }
400
516
 
401
517
  api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -405,6 +521,24 @@ module Aws::SQS
405
521
  o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
406
522
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
407
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)
529
+ end)
530
+
531
+ api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
532
+ o.name = "CancelMessageMoveTask"
533
+ o.http_method = "POST"
534
+ o.http_request_uri = "/"
535
+ o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
536
+ o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
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)
541
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
408
542
  end)
409
543
 
410
544
  api.add_operation(:change_message_visibility, Seahorse::Model::Operation.new.tap do |o|
@@ -415,6 +549,11 @@ module Aws::SQS
415
549
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
416
550
  o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
417
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)
418
557
  end)
419
558
 
420
559
  api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -427,6 +566,11 @@ module Aws::SQS
427
566
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
428
567
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
429
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)
430
574
  end)
431
575
 
432
576
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -437,6 +581,12 @@ module Aws::SQS
437
581
  o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
438
582
  o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
439
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)
440
590
  end)
441
591
 
442
592
  api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
@@ -447,6 +597,11 @@ module Aws::SQS
447
597
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
448
598
  o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
449
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)
450
605
  end)
451
606
 
452
607
  api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -459,6 +614,11 @@ module Aws::SQS
459
614
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
460
615
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
461
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)
462
622
  end)
463
623
 
464
624
  api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -467,6 +627,11 @@ module Aws::SQS
467
627
  o.http_request_uri = "/"
468
628
  o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
469
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)
470
635
  end)
471
636
 
472
637
  api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -476,6 +641,11 @@ module Aws::SQS
476
641
  o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
477
642
  o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
478
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)
479
649
  end)
480
650
 
481
651
  api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
@@ -484,7 +654,11 @@ module Aws::SQS
484
654
  o.http_request_uri = "/"
485
655
  o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
486
656
  o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
657
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
487
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)
488
662
  end)
489
663
 
490
664
  api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -494,6 +668,10 @@ module Aws::SQS
494
668
  o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
495
669
  o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
496
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)
497
675
  o[:pager] = Aws::Pager.new(
498
676
  limit_key: "max_results",
499
677
  tokens: {
@@ -502,12 +680,30 @@ module Aws::SQS
502
680
  )
503
681
  end)
504
682
 
683
+ api.add_operation(:list_message_move_tasks, Seahorse::Model::Operation.new.tap do |o|
684
+ o.name = "ListMessageMoveTasks"
685
+ o.http_method = "POST"
686
+ o.http_request_uri = "/"
687
+ o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
688
+ o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
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)
693
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
694
+ end)
695
+
505
696
  api.add_operation(:list_queue_tags, Seahorse::Model::Operation.new.tap do |o|
506
697
  o.name = "ListQueueTags"
507
698
  o.http_method = "POST"
508
699
  o.http_request_uri = "/"
509
700
  o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
510
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)
511
707
  end)
512
708
 
513
709
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -516,6 +712,10 @@ module Aws::SQS
516
712
  o.http_request_uri = "/"
517
713
  o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
518
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)
519
719
  o[:pager] = Aws::Pager.new(
520
720
  limit_key: "max_results",
521
721
  tokens: {
@@ -532,6 +732,10 @@ module Aws::SQS
532
732
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
533
733
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
534
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)
535
739
  end)
536
740
 
537
741
  api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
@@ -540,7 +744,19 @@ module Aws::SQS
540
744
  o.http_request_uri = "/"
541
745
  o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
542
746
  o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
747
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
543
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)
544
760
  end)
545
761
 
546
762
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -549,6 +765,11 @@ module Aws::SQS
549
765
  o.http_request_uri = "/"
550
766
  o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
551
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)
552
773
  end)
553
774
 
554
775
  api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
@@ -559,6 +780,17 @@ module Aws::SQS
559
780
  o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
560
781
  o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
561
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)
562
794
  end)
563
795
 
564
796
  api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -573,6 +805,17 @@ module Aws::SQS
573
805
  o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
574
806
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
575
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)
576
819
  end)
577
820
 
578
821
  api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -582,6 +825,26 @@ module Aws::SQS
582
825
  o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
583
826
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
584
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)
835
+ end)
836
+
837
+ api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
838
+ o.name = "StartMessageMoveTask"
839
+ o.http_method = "POST"
840
+ o.http_request_uri = "/"
841
+ o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
842
+ o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
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)
847
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
585
848
  end)
586
849
 
587
850
  api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -590,6 +853,11 @@ module Aws::SQS
590
853
  o.http_request_uri = "/"
591
854
  o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
592
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)
593
861
  end)
594
862
 
595
863
  api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -598,6 +866,11 @@ module Aws::SQS
598
866
  o.http_request_uri = "/"
599
867
  o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
600
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)
601
874
  end)
602
875
  end
603
876