aws-sdk-sqs 1.65.0 → 1.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +13 -3
- data/lib/aws-sdk-sqs/client_api.rb +247 -57
- data/lib/aws-sdk-sqs/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-sqs/errors.rb +251 -0
- data/lib/aws-sdk-sqs/types.rb +287 -15
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +2 -2
@@ -45,15 +45,25 @@ module Aws::SQS
|
|
45
45
|
DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
|
46
46
|
DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
|
47
47
|
EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
|
48
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
48
49
|
GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
|
49
50
|
GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
|
50
51
|
GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
|
51
52
|
GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
|
52
|
-
|
53
|
+
InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
|
53
54
|
InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
|
55
|
+
InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
|
54
56
|
InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
|
55
57
|
InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
|
56
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')
|
57
67
|
ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
|
58
68
|
ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
|
59
69
|
ListMessageMoveTasksRequest = Shapes::StructureShape.new(name: 'ListMessageMoveTasksRequest')
|
@@ -77,6 +87,8 @@ module Aws::SQS
|
|
77
87
|
MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
|
78
88
|
MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
|
79
89
|
MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
|
90
|
+
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
91
|
+
NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
|
80
92
|
OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
|
81
93
|
PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
|
82
94
|
PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
|
@@ -90,6 +102,7 @@ module Aws::SQS
|
|
90
102
|
ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
|
91
103
|
ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
|
92
104
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
105
|
+
RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
|
93
106
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
94
107
|
SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
|
95
108
|
SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
|
@@ -114,9 +127,9 @@ module Aws::SQS
|
|
114
127
|
UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
|
115
128
|
UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
|
116
129
|
|
117
|
-
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String
|
130
|
+
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
|
118
131
|
|
119
|
-
ActionNameList.member = Shapes::ShapeRef.new(shape: String
|
132
|
+
ActionNameList.member = Shapes::ShapeRef.new(shape: String)
|
120
133
|
|
121
134
|
AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
122
135
|
AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
@@ -124,10 +137,12 @@ module Aws::SQS
|
|
124
137
|
AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
|
125
138
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
126
139
|
|
127
|
-
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName
|
140
|
+
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
128
141
|
|
142
|
+
BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
129
143
|
BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
|
130
144
|
|
145
|
+
BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
131
146
|
BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
|
132
147
|
|
133
148
|
BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
@@ -136,9 +151,9 @@ module Aws::SQS
|
|
136
151
|
BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
137
152
|
BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
|
138
153
|
|
139
|
-
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry
|
154
|
+
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
|
140
155
|
|
141
|
-
BinaryList.member = Shapes::ShapeRef.new(shape: Binary
|
156
|
+
BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
|
142
157
|
|
143
158
|
CancelMessageMoveTaskRequest.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TaskHandle"))
|
144
159
|
CancelMessageMoveTaskRequest.struct_class = Types::CancelMessageMoveTaskRequest
|
@@ -152,10 +167,10 @@ module Aws::SQS
|
|
152
167
|
|
153
168
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
154
169
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
155
|
-
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
170
|
+
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
156
171
|
ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
|
157
172
|
|
158
|
-
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry
|
173
|
+
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
|
159
174
|
|
160
175
|
ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
|
161
176
|
ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -164,16 +179,16 @@ module Aws::SQS
|
|
164
179
|
ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
165
180
|
ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
|
166
181
|
|
167
|
-
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry
|
182
|
+
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
|
168
183
|
|
169
184
|
ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
170
185
|
ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
171
|
-
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
186
|
+
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, required: true, location_name: "VisibilityTimeout"))
|
172
187
|
ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
|
173
188
|
|
174
189
|
CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
175
|
-
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
176
|
-
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "
|
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"))
|
177
192
|
CreateQueueRequest.struct_class = Types::CreateQueueRequest
|
178
193
|
|
179
194
|
CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
@@ -187,7 +202,7 @@ module Aws::SQS
|
|
187
202
|
DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
188
203
|
DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
|
189
204
|
|
190
|
-
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry
|
205
|
+
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
|
191
206
|
|
192
207
|
DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
193
208
|
DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -196,7 +211,7 @@ module Aws::SQS
|
|
196
211
|
DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
197
212
|
DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
|
198
213
|
|
199
|
-
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry
|
214
|
+
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
|
200
215
|
|
201
216
|
DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
202
217
|
DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
@@ -205,13 +220,14 @@ module Aws::SQS
|
|
205
220
|
DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
206
221
|
DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
|
207
222
|
|
223
|
+
EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
208
224
|
EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
|
209
225
|
|
210
226
|
GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
211
227
|
GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
212
228
|
GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
|
213
229
|
|
214
|
-
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
230
|
+
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
|
215
231
|
GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
|
216
232
|
|
217
233
|
GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
@@ -221,14 +237,47 @@ module Aws::SQS
|
|
221
237
|
GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
222
238
|
GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
|
223
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"))
|
224
244
|
InvalidAttributeName.struct_class = Types::InvalidAttributeName
|
225
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"))
|
226
250
|
InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
|
227
251
|
|
228
252
|
InvalidIdFormat.struct_class = Types::InvalidIdFormat
|
229
253
|
|
254
|
+
InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
230
255
|
InvalidMessageContents.struct_class = Types::InvalidMessageContents
|
231
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
|
+
|
232
281
|
ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
233
282
|
ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
234
283
|
ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
@@ -239,29 +288,29 @@ module Aws::SQS
|
|
239
288
|
ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
|
240
289
|
|
241
290
|
ListMessageMoveTasksRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
|
242
|
-
ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
291
|
+
ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
|
243
292
|
ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
|
244
293
|
|
245
|
-
ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results"))
|
294
|
+
ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
|
246
295
|
ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
|
247
296
|
|
248
297
|
ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
|
249
298
|
ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
250
299
|
ListMessageMoveTasksResultEntry.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
|
251
300
|
ListMessageMoveTasksResultEntry.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
|
252
|
-
ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape:
|
301
|
+
ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
|
253
302
|
ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
|
254
|
-
ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape:
|
303
|
+
ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ApproximateNumberOfMessagesToMove"))
|
255
304
|
ListMessageMoveTasksResultEntry.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
|
256
305
|
ListMessageMoveTasksResultEntry.add_member(:started_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "StartedTimestamp"))
|
257
306
|
ListMessageMoveTasksResultEntry.struct_class = Types::ListMessageMoveTasksResultEntry
|
258
307
|
|
259
|
-
ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry
|
308
|
+
ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry)
|
260
309
|
|
261
310
|
ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
262
311
|
ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
|
263
312
|
|
264
|
-
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "
|
313
|
+
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
265
314
|
ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
|
266
315
|
|
267
316
|
ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
|
@@ -277,66 +326,72 @@ module Aws::SQS
|
|
277
326
|
Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
|
278
327
|
Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
|
279
328
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
|
280
|
-
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "
|
329
|
+
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attributes"))
|
281
330
|
Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
|
282
|
-
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
331
|
+
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
283
332
|
Message.struct_class = Types::Message
|
284
333
|
|
285
|
-
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName
|
334
|
+
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
|
286
335
|
|
287
336
|
MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
288
337
|
MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
289
|
-
MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "
|
290
|
-
MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "
|
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"))
|
291
340
|
MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
292
341
|
MessageAttributeValue.struct_class = Types::MessageAttributeValue
|
293
342
|
|
294
|
-
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String
|
295
|
-
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue
|
343
|
+
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String)
|
344
|
+
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue)
|
296
345
|
|
297
|
-
MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends
|
298
|
-
MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue
|
346
|
+
MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
|
347
|
+
MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
|
299
348
|
|
300
|
-
MessageList.member = Shapes::ShapeRef.new(shape: Message
|
349
|
+
MessageList.member = Shapes::ShapeRef.new(shape: Message)
|
301
350
|
|
302
351
|
MessageNotInflight.struct_class = Types::MessageNotInflight
|
303
352
|
|
304
|
-
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName
|
305
|
-
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
353
|
+
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
|
354
|
+
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
306
355
|
|
307
356
|
MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
308
357
|
MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
309
|
-
MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "
|
310
|
-
MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "
|
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}))
|
311
360
|
MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
312
361
|
MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
|
313
362
|
|
363
|
+
OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
314
364
|
OverLimit.struct_class = Types::OverLimit
|
315
365
|
|
366
|
+
PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
316
367
|
PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
|
317
368
|
|
318
369
|
PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
319
370
|
PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
|
320
371
|
|
321
|
-
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName
|
322
|
-
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
372
|
+
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
373
|
+
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
323
374
|
|
375
|
+
QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
324
376
|
QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
|
325
377
|
|
378
|
+
QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
326
379
|
QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
|
327
380
|
|
381
|
+
QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
328
382
|
QueueNameExists.struct_class = Types::QueueNameExists
|
329
383
|
|
330
|
-
QueueUrlList.member = Shapes::ShapeRef.new(shape: String
|
384
|
+
QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
|
331
385
|
|
386
|
+
ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
332
387
|
ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
|
333
388
|
|
334
389
|
ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
335
390
|
ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
336
391
|
ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
|
337
|
-
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape:
|
338
|
-
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
339
|
-
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape:
|
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"))
|
340
395
|
ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
|
341
396
|
ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
|
342
397
|
|
@@ -347,6 +402,10 @@ module Aws::SQS
|
|
347
402
|
RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
348
403
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
349
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"))
|
350
409
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
351
410
|
|
352
411
|
SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
@@ -355,14 +414,14 @@ module Aws::SQS
|
|
355
414
|
|
356
415
|
SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
357
416
|
SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
358
|
-
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
359
|
-
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
360
|
-
SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "
|
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"))
|
361
420
|
SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
362
421
|
SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
363
422
|
SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
|
364
423
|
|
365
|
-
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry
|
424
|
+
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
|
366
425
|
|
367
426
|
SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
368
427
|
SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -376,13 +435,13 @@ module Aws::SQS
|
|
376
435
|
SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
|
377
436
|
SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
|
378
437
|
|
379
|
-
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry
|
438
|
+
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
|
380
439
|
|
381
440
|
SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
382
441
|
SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
383
|
-
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
384
|
-
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
385
|
-
SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "
|
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"))
|
386
445
|
SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
387
446
|
SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
388
447
|
SendMessageRequest.struct_class = Types::SendMessageRequest
|
@@ -395,30 +454,32 @@ module Aws::SQS
|
|
395
454
|
SendMessageResult.struct_class = Types::SendMessageResult
|
396
455
|
|
397
456
|
SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
398
|
-
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "
|
457
|
+
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
|
399
458
|
SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
|
400
459
|
|
401
460
|
StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
|
402
461
|
StartMessageMoveTaskRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
|
403
|
-
StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape:
|
462
|
+
StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
|
404
463
|
StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
|
405
464
|
|
406
465
|
StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
|
407
466
|
StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
|
408
467
|
|
409
|
-
StringList.member = Shapes::ShapeRef.new(shape: String
|
468
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
410
469
|
|
411
|
-
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey
|
470
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
412
471
|
|
413
|
-
TagMap.key = Shapes::ShapeRef.new(shape: TagKey
|
414
|
-
TagMap.value = Shapes::ShapeRef.new(shape: TagValue
|
472
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
473
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
415
474
|
|
416
475
|
TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
417
476
|
TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
418
477
|
TagQueueRequest.struct_class = Types::TagQueueRequest
|
419
478
|
|
479
|
+
TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
420
480
|
TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
|
421
481
|
|
482
|
+
UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
422
483
|
UnsupportedOperation.struct_class = Types::UnsupportedOperation
|
423
484
|
|
424
485
|
UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
@@ -433,15 +494,17 @@ module Aws::SQS
|
|
433
494
|
|
434
495
|
api.metadata = {
|
435
496
|
"apiVersion" => "2012-11-05",
|
497
|
+
"awsQueryCompatible" => {},
|
436
498
|
"endpointPrefix" => "sqs",
|
437
499
|
"errorPrefix" => "AWS.SimpleQueueService.",
|
438
|
-
"
|
500
|
+
"jsonVersion" => "1.0",
|
501
|
+
"protocol" => "json",
|
439
502
|
"serviceAbbreviation" => "Amazon SQS",
|
440
503
|
"serviceFullName" => "Amazon Simple Queue Service",
|
441
504
|
"serviceId" => "SQS",
|
442
505
|
"signatureVersion" => "v4",
|
506
|
+
"targetPrefix" => "AmazonSQS",
|
443
507
|
"uid" => "sqs-2012-11-05",
|
444
|
-
"xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
|
445
508
|
}
|
446
509
|
|
447
510
|
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -451,6 +514,11 @@ module Aws::SQS
|
|
451
514
|
o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
|
452
515
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
453
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)
|
454
522
|
end)
|
455
523
|
|
456
524
|
api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
@@ -460,6 +528,9 @@ module Aws::SQS
|
|
460
528
|
o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
|
461
529
|
o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
|
462
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)
|
463
534
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
464
535
|
end)
|
465
536
|
|
@@ -471,6 +542,11 @@ module Aws::SQS
|
|
471
542
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
472
543
|
o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
|
473
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)
|
474
550
|
end)
|
475
551
|
|
476
552
|
api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -483,6 +559,11 @@ module Aws::SQS
|
|
483
559
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
484
560
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
485
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)
|
486
567
|
end)
|
487
568
|
|
488
569
|
api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -493,6 +574,12 @@ module Aws::SQS
|
|
493
574
|
o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
|
494
575
|
o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
|
495
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)
|
496
583
|
end)
|
497
584
|
|
498
585
|
api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -503,6 +590,11 @@ module Aws::SQS
|
|
503
590
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
504
591
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
|
505
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)
|
506
598
|
end)
|
507
599
|
|
508
600
|
api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -515,6 +607,11 @@ module Aws::SQS
|
|
515
607
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
516
608
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
517
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)
|
518
615
|
end)
|
519
616
|
|
520
617
|
api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -523,6 +620,11 @@ module Aws::SQS
|
|
523
620
|
o.http_request_uri = "/"
|
524
621
|
o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
|
525
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)
|
526
628
|
end)
|
527
629
|
|
528
630
|
api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -532,6 +634,11 @@ module Aws::SQS
|
|
532
634
|
o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
|
533
635
|
o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
|
534
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)
|
535
642
|
end)
|
536
643
|
|
537
644
|
api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
|
@@ -540,7 +647,11 @@ module Aws::SQS
|
|
540
647
|
o.http_request_uri = "/"
|
541
648
|
o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
|
542
649
|
o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
543
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)
|
544
655
|
end)
|
545
656
|
|
546
657
|
api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -550,6 +661,10 @@ module Aws::SQS
|
|
550
661
|
o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
|
551
662
|
o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
|
552
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)
|
553
668
|
o[:pager] = Aws::Pager.new(
|
554
669
|
limit_key: "max_results",
|
555
670
|
tokens: {
|
@@ -565,6 +680,9 @@ module Aws::SQS
|
|
565
680
|
o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
|
566
681
|
o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
|
567
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)
|
568
686
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
569
687
|
end)
|
570
688
|
|
@@ -574,6 +692,11 @@ module Aws::SQS
|
|
574
692
|
o.http_request_uri = "/"
|
575
693
|
o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
|
576
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)
|
577
700
|
end)
|
578
701
|
|
579
702
|
api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -582,6 +705,10 @@ module Aws::SQS
|
|
582
705
|
o.http_request_uri = "/"
|
583
706
|
o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
|
584
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)
|
585
712
|
o[:pager] = Aws::Pager.new(
|
586
713
|
limit_key: "max_results",
|
587
714
|
tokens: {
|
@@ -598,6 +725,10 @@ module Aws::SQS
|
|
598
725
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
599
726
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
600
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)
|
601
732
|
end)
|
602
733
|
|
603
734
|
api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -606,7 +737,19 @@ module Aws::SQS
|
|
606
737
|
o.http_request_uri = "/"
|
607
738
|
o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
|
608
739
|
o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
609
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)
|
610
753
|
end)
|
611
754
|
|
612
755
|
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -615,6 +758,11 @@ module Aws::SQS
|
|
615
758
|
o.http_request_uri = "/"
|
616
759
|
o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
|
617
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)
|
618
766
|
end)
|
619
767
|
|
620
768
|
api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -625,6 +773,17 @@ module Aws::SQS
|
|
625
773
|
o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
|
626
774
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
|
627
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)
|
628
787
|
end)
|
629
788
|
|
630
789
|
api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -639,6 +798,17 @@ module Aws::SQS
|
|
639
798
|
o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
|
640
799
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
641
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)
|
642
812
|
end)
|
643
813
|
|
644
814
|
api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -648,6 +818,13 @@ module Aws::SQS
|
|
648
818
|
o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
|
649
819
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
650
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)
|
651
828
|
end)
|
652
829
|
|
653
830
|
api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
@@ -657,6 +834,9 @@ module Aws::SQS
|
|
657
834
|
o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
|
658
835
|
o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
|
659
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)
|
660
840
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
661
841
|
end)
|
662
842
|
|
@@ -666,6 +846,11 @@ module Aws::SQS
|
|
666
846
|
o.http_request_uri = "/"
|
667
847
|
o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
|
668
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)
|
669
854
|
end)
|
670
855
|
|
671
856
|
api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -674,6 +859,11 @@ module Aws::SQS
|
|
674
859
|
o.http_request_uri = "/"
|
675
860
|
o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
|
676
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)
|
677
867
|
end)
|
678
868
|
end
|
679
869
|
|