aws-sdk-sqs 1.9.0 → 1.70.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,30 +45,50 @@ 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)
61
81
  MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
62
82
  MessageBodyAttributeMap = Shapes::MapShape.new(name: 'MessageBodyAttributeMap', flattened: true)
83
+ MessageBodySystemAttributeMap = Shapes::MapShape.new(name: 'MessageBodySystemAttributeMap', flattened: true)
63
84
  MessageList = Shapes::ListShape.new(name: 'MessageList', flattened: true)
64
85
  MessageNotInflight = Shapes::StructureShape.new(name: 'MessageNotInflight')
65
86
  MessageSystemAttributeMap = Shapes::MapShape.new(name: 'MessageSystemAttributeMap', flattened: true)
66
87
  MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
88
+ MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
89
+ MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
90
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
91
+ NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
67
92
  OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
68
93
  PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
69
94
  PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
@@ -77,6 +102,8 @@ module Aws::SQS
77
102
  ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
78
103
  ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
79
104
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
105
+ RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
106
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
80
107
  SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
81
108
  SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
82
109
  SendMessageBatchRequestEntryList = Shapes::ListShape.new(name: 'SendMessageBatchRequestEntryList', flattened: true)
@@ -86,6 +113,8 @@ module Aws::SQS
86
113
  SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
87
114
  SendMessageResult = Shapes::StructureShape.new(name: 'SendMessageResult')
88
115
  SetQueueAttributesRequest = Shapes::StructureShape.new(name: 'SetQueueAttributesRequest')
116
+ StartMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'StartMessageMoveTaskRequest')
117
+ StartMessageMoveTaskResult = Shapes::StructureShape.new(name: 'StartMessageMoveTaskResult')
89
118
  String = Shapes::StringShape.new(name: 'String')
90
119
  StringList = Shapes::ListShape.new(name: 'StringList', flattened: true)
91
120
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -93,13 +122,14 @@ module Aws::SQS
93
122
  TagMap = Shapes::MapShape.new(name: 'TagMap', flattened: true)
94
123
  TagQueueRequest = Shapes::StructureShape.new(name: 'TagQueueRequest')
95
124
  TagValue = Shapes::StringShape.new(name: 'TagValue')
125
+ Token = Shapes::StringShape.new(name: 'Token')
96
126
  TooManyEntriesInBatchRequest = Shapes::StructureShape.new(name: 'TooManyEntriesInBatchRequest')
97
127
  UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
98
128
  UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
99
129
 
100
- AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "AWSAccountId")
130
+ AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
101
131
 
102
- ActionNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "ActionName")
132
+ ActionNameList.member = Shapes::ShapeRef.new(shape: String)
103
133
 
104
134
  AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
105
135
  AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
@@ -107,7 +137,13 @@ module Aws::SQS
107
137
  AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
108
138
  AddPermissionRequest.struct_class = Types::AddPermissionRequest
109
139
 
110
- AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "AttributeName")
140
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
141
+
142
+ BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
143
+ BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
144
+
145
+ BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
146
+ BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
111
147
 
112
148
  BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
113
149
  BatchResultErrorEntry.add_member(:sender_fault, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "SenderFault"))
@@ -115,9 +151,15 @@ module Aws::SQS
115
151
  BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
116
152
  BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
117
153
 
118
- BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry, location_name: "BatchResultErrorEntry")
154
+ BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
119
155
 
120
- BinaryList.member = Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryListValue")
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
160
+
161
+ CancelMessageMoveTaskResult.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
162
+ CancelMessageMoveTaskResult.struct_class = Types::CancelMessageMoveTaskResult
121
163
 
122
164
  ChangeMessageVisibilityBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
123
165
  ChangeMessageVisibilityBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntryList, required: true, location_name: "Entries"))
@@ -125,10 +167,10 @@ module Aws::SQS
125
167
 
126
168
  ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
127
169
  ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
128
- 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"))
129
171
  ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
130
172
 
131
- ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry, location_name: "ChangeMessageVisibilityBatchRequestEntry")
173
+ ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
132
174
 
133
175
  ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
134
176
  ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -137,15 +179,16 @@ module Aws::SQS
137
179
  ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
138
180
  ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
139
181
 
140
- ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry, location_name: "ChangeMessageVisibilityBatchResultEntry")
182
+ ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
141
183
 
142
184
  ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
143
185
  ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
144
- 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"))
145
187
  ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
146
188
 
147
189
  CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
148
- CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attribute"))
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"))
149
192
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
150
193
 
151
194
  CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
@@ -159,7 +202,7 @@ module Aws::SQS
159
202
  DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
160
203
  DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
161
204
 
162
- DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry, location_name: "DeleteMessageBatchRequestEntry")
205
+ DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
163
206
 
164
207
  DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
165
208
  DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -168,7 +211,7 @@ module Aws::SQS
168
211
  DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
169
212
  DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
170
213
 
171
- DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry, location_name: "DeleteMessageBatchResultEntry")
214
+ DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
172
215
 
173
216
  DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
174
217
  DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
@@ -177,11 +220,14 @@ module Aws::SQS
177
220
  DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
178
221
  DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
179
222
 
223
+ EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
224
+ EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
225
+
180
226
  GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
181
227
  GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
182
228
  GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
183
229
 
184
- 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"))
185
231
  GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
186
232
 
187
233
  GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
@@ -191,64 +237,161 @@ module Aws::SQS
191
237
  GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
192
238
  GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
193
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"))
244
+ InvalidAttributeName.struct_class = Types::InvalidAttributeName
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"))
250
+ InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
251
+
252
+ InvalidIdFormat.struct_class = Types::InvalidIdFormat
253
+
254
+ InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
255
+ InvalidMessageContents.struct_class = Types::InvalidMessageContents
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
+
194
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"))
195
284
  ListDeadLetterSourceQueuesRequest.struct_class = Types::ListDeadLetterSourceQueuesRequest
196
285
 
197
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"))
198
288
  ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
199
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
+
200
310
  ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
201
311
  ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
202
312
 
203
- 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"))
204
314
  ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
205
315
 
206
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"))
207
319
  ListQueuesRequest.struct_class = Types::ListQueuesRequest
208
320
 
209
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"))
210
323
  ListQueuesResult.struct_class = Types::ListQueuesResult
211
324
 
212
325
  Message.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
213
326
  Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
214
327
  Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
215
328
  Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
216
- 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"))
217
330
  Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
218
- 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"))
219
332
  Message.struct_class = Types::Message
220
333
 
221
- MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName, location_name: "MessageAttributeName")
334
+ MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
222
335
 
223
336
  MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
224
337
  MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
225
- MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValue"))
226
- 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"))
227
340
  MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
228
341
  MessageAttributeValue.struct_class = Types::MessageAttributeValue
229
342
 
230
- MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
231
- 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)
345
+
346
+ MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
347
+ MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
348
+
349
+ MessageList.member = Shapes::ShapeRef.new(shape: Message)
350
+
351
+ MessageNotInflight.struct_class = Types::MessageNotInflight
352
+
353
+ MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
354
+ MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
355
+
356
+ MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
357
+ MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
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}))
360
+ MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
361
+ MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
232
362
 
233
- MessageList.member = Shapes::ShapeRef.new(shape: Message, location_name: "Message")
363
+ OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
364
+ OverLimit.struct_class = Types::OverLimit
234
365
 
235
- MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName, location_name: "Name")
236
- MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String, location_name: "Value")
366
+ PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
367
+ PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
237
368
 
238
369
  PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
239
370
  PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
240
371
 
241
- QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName, location_name: "Name")
242
- 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)
243
374
 
244
- QueueUrlList.member = Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl")
375
+ QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
376
+ QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
377
+
378
+ QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
379
+ QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
380
+
381
+ QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
382
+ QueueNameExists.struct_class = Types::QueueNameExists
383
+
384
+ QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
385
+
386
+ ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
387
+ ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
245
388
 
246
389
  ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
247
390
  ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
248
391
  ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
249
- ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfMessages"))
250
- ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: Integer, location_name: "VisibilityTimeout"))
251
- 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"))
252
395
  ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
253
396
  ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
254
397
 
@@ -259,19 +402,26 @@ module Aws::SQS
259
402
  RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
260
403
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
261
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
+
262
411
  SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
263
412
  SendMessageBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntryList, required: true, location_name: "Entries"))
264
413
  SendMessageBatchRequest.struct_class = Types::SendMessageBatchRequest
265
414
 
266
415
  SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
267
416
  SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
268
- SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
269
- SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
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"))
270
420
  SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
271
421
  SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
272
422
  SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
273
423
 
274
- SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry, location_name: "SendMessageBatchRequestEntry")
424
+ SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
275
425
 
276
426
  SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
277
427
  SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
@@ -281,40 +431,57 @@ module Aws::SQS
281
431
  SendMessageBatchResultEntry.add_member(:message_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageId"))
282
432
  SendMessageBatchResultEntry.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MD5OfMessageBody"))
283
433
  SendMessageBatchResultEntry.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
434
+ SendMessageBatchResultEntry.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
284
435
  SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
285
436
  SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
286
437
 
287
- SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry, location_name: "SendMessageBatchResultEntry")
438
+ SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
288
439
 
289
440
  SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
290
441
  SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
291
- SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DelaySeconds"))
292
- SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttribute"))
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"))
293
445
  SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
294
446
  SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
295
447
  SendMessageRequest.struct_class = Types::SendMessageRequest
296
448
 
297
449
  SendMessageResult.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageBody"))
298
450
  SendMessageResult.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
451
+ SendMessageResult.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
299
452
  SendMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
300
453
  SendMessageResult.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
301
454
  SendMessageResult.struct_class = Types::SendMessageResult
302
455
 
303
456
  SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
304
- 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"))
305
458
  SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
306
459
 
307
- 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)
308
469
 
309
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")
470
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
310
471
 
311
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey, location_name: "Key")
312
- 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)
313
474
 
314
475
  TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
315
476
  TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
316
477
  TagQueueRequest.struct_class = Types::TagQueueRequest
317
478
 
479
+ TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
480
+ TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
481
+
482
+ UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
483
+ UnsupportedOperation.struct_class = Types::UnsupportedOperation
484
+
318
485
  UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
319
486
  UntagQueueRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
320
487
  UntagQueueRequest.struct_class = Types::UntagQueueRequest
@@ -327,15 +494,17 @@ module Aws::SQS
327
494
 
328
495
  api.metadata = {
329
496
  "apiVersion" => "2012-11-05",
497
+ "awsQueryCompatible" => {},
330
498
  "endpointPrefix" => "sqs",
331
499
  "errorPrefix" => "AWS.SimpleQueueService.",
332
- "protocol" => "query",
500
+ "jsonVersion" => "1.0",
501
+ "protocol" => "json",
333
502
  "serviceAbbreviation" => "Amazon SQS",
334
503
  "serviceFullName" => "Amazon Simple Queue Service",
335
504
  "serviceId" => "SQS",
336
505
  "signatureVersion" => "v4",
506
+ "targetPrefix" => "AmazonSQS",
337
507
  "uid" => "sqs-2012-11-05",
338
- "xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
339
508
  }
340
509
 
341
510
  api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -345,6 +514,24 @@ module Aws::SQS
345
514
  o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
346
515
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
347
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)
348
535
  end)
349
536
 
350
537
  api.add_operation(:change_message_visibility, Seahorse::Model::Operation.new.tap do |o|
@@ -355,6 +542,11 @@ module Aws::SQS
355
542
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
356
543
  o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
357
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)
358
550
  end)
359
551
 
360
552
  api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -367,6 +559,11 @@ module Aws::SQS
367
559
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
368
560
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
369
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)
370
567
  end)
371
568
 
372
569
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -377,6 +574,12 @@ module Aws::SQS
377
574
  o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
378
575
  o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
379
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)
380
583
  end)
381
584
 
382
585
  api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
@@ -387,6 +590,11 @@ module Aws::SQS
387
590
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
388
591
  o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
389
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)
390
598
  end)
391
599
 
392
600
  api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -399,6 +607,11 @@ module Aws::SQS
399
607
  o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
400
608
  o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
401
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)
402
615
  end)
403
616
 
404
617
  api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -407,6 +620,11 @@ module Aws::SQS
407
620
  o.http_request_uri = "/"
408
621
  o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
409
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)
410
628
  end)
411
629
 
412
630
  api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -416,6 +634,11 @@ module Aws::SQS
416
634
  o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
417
635
  o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
418
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)
419
642
  end)
420
643
 
421
644
  api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
@@ -424,7 +647,11 @@ module Aws::SQS
424
647
  o.http_request_uri = "/"
425
648
  o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
426
649
  o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
650
+ o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
427
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)
428
655
  end)
429
656
 
430
657
  api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -434,6 +661,29 @@ module Aws::SQS
434
661
  o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
435
662
  o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
436
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)
437
687
  end)
438
688
 
439
689
  api.add_operation(:list_queue_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -442,6 +692,11 @@ module Aws::SQS
442
692
  o.http_request_uri = "/"
443
693
  o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
444
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)
445
700
  end)
446
701
 
447
702
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
@@ -450,6 +705,16 @@ module Aws::SQS
450
705
  o.http_request_uri = "/"
451
706
  o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
452
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
+ )
453
718
  end)
454
719
 
455
720
  api.add_operation(:purge_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -460,6 +725,10 @@ module Aws::SQS
460
725
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
461
726
  o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
462
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)
463
732
  end)
464
733
 
465
734
  api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
@@ -468,7 +737,19 @@ module Aws::SQS
468
737
  o.http_request_uri = "/"
469
738
  o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
470
739
  o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
740
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
471
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)
472
753
  end)
473
754
 
474
755
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -477,6 +758,11 @@ module Aws::SQS
477
758
  o.http_request_uri = "/"
478
759
  o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
479
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)
480
766
  end)
481
767
 
482
768
  api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
@@ -487,6 +773,17 @@ module Aws::SQS
487
773
  o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
488
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
489
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)
490
787
  end)
491
788
 
492
789
  api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
@@ -501,6 +798,17 @@ module Aws::SQS
501
798
  o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
502
799
  o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
503
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)
504
812
  end)
505
813
 
506
814
  api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -510,6 +818,26 @@ module Aws::SQS
510
818
  o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
511
819
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
512
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)
513
841
  end)
514
842
 
515
843
  api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -518,6 +846,11 @@ module Aws::SQS
518
846
  o.http_request_uri = "/"
519
847
  o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
520
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)
521
854
  end)
522
855
 
523
856
  api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
@@ -526,6 +859,11 @@ module Aws::SQS
526
859
  o.http_request_uri = "/"
527
860
  o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
528
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)
529
867
  end)
530
868
  end
531
869