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