aws-sdk-sqs 1.65.0 → 1.66.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +14 -4
- data/lib/aws-sdk-sqs/client_api.rb +249 -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/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')
|
@@ -109,14 +122,15 @@ module Aws::SQS
|
|
109
122
|
TagMap = Shapes::MapShape.new(name: 'TagMap', flattened: true)
|
110
123
|
TagQueueRequest = Shapes::StructureShape.new(name: 'TagQueueRequest')
|
111
124
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
125
|
+
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
112
126
|
Token = Shapes::StringShape.new(name: 'Token')
|
113
127
|
TooManyEntriesInBatchRequest = Shapes::StructureShape.new(name: 'TooManyEntriesInBatchRequest')
|
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
|
-
ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape:
|
299
|
+
ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: TaskStatus, 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,72 @@ 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
|
-
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName
|
305
|
-
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
354
|
+
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
|
355
|
+
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
306
356
|
|
307
357
|
MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
308
358
|
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: "
|
359
|
+
MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
|
360
|
+
MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
|
311
361
|
MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
312
362
|
MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
|
313
363
|
|
364
|
+
OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
314
365
|
OverLimit.struct_class = Types::OverLimit
|
315
366
|
|
367
|
+
PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
316
368
|
PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
|
317
369
|
|
318
370
|
PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
319
371
|
PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
|
320
372
|
|
321
|
-
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName
|
322
|
-
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
373
|
+
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
374
|
+
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
323
375
|
|
376
|
+
QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
324
377
|
QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
|
325
378
|
|
379
|
+
QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
326
380
|
QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
|
327
381
|
|
382
|
+
QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
328
383
|
QueueNameExists.struct_class = Types::QueueNameExists
|
329
384
|
|
330
|
-
QueueUrlList.member = Shapes::ShapeRef.new(shape: String
|
385
|
+
QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
|
331
386
|
|
387
|
+
ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
332
388
|
ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
|
333
389
|
|
334
390
|
ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
335
391
|
ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
336
392
|
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:
|
393
|
+
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
|
394
|
+
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
395
|
+
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "WaitTimeSeconds"))
|
340
396
|
ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
|
341
397
|
ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
|
342
398
|
|
@@ -347,6 +403,10 @@ module Aws::SQS
|
|
347
403
|
RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
348
404
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
349
405
|
|
406
|
+
RequestThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
407
|
+
RequestThrottled.struct_class = Types::RequestThrottled
|
408
|
+
|
409
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
350
410
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
351
411
|
|
352
412
|
SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
@@ -355,14 +415,14 @@ module Aws::SQS
|
|
355
415
|
|
356
416
|
SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
357
417
|
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: "
|
418
|
+
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
419
|
+
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
420
|
+
SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
361
421
|
SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
362
422
|
SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
363
423
|
SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
|
364
424
|
|
365
|
-
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry
|
425
|
+
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
|
366
426
|
|
367
427
|
SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
368
428
|
SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -376,13 +436,13 @@ module Aws::SQS
|
|
376
436
|
SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
|
377
437
|
SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
|
378
438
|
|
379
|
-
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry
|
439
|
+
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
|
380
440
|
|
381
441
|
SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
382
442
|
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: "
|
443
|
+
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
444
|
+
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
445
|
+
SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
386
446
|
SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
387
447
|
SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
388
448
|
SendMessageRequest.struct_class = Types::SendMessageRequest
|
@@ -395,30 +455,32 @@ module Aws::SQS
|
|
395
455
|
SendMessageResult.struct_class = Types::SendMessageResult
|
396
456
|
|
397
457
|
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: "
|
458
|
+
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
|
399
459
|
SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
|
400
460
|
|
401
461
|
StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
|
402
462
|
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:
|
463
|
+
StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
|
404
464
|
StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
|
405
465
|
|
406
466
|
StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
|
407
467
|
StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
|
408
468
|
|
409
|
-
StringList.member = Shapes::ShapeRef.new(shape: String
|
469
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
410
470
|
|
411
|
-
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey
|
471
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
412
472
|
|
413
|
-
TagMap.key = Shapes::ShapeRef.new(shape: TagKey
|
414
|
-
TagMap.value = Shapes::ShapeRef.new(shape: TagValue
|
473
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
474
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
415
475
|
|
416
476
|
TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
417
477
|
TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
418
478
|
TagQueueRequest.struct_class = Types::TagQueueRequest
|
419
479
|
|
480
|
+
TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
420
481
|
TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
|
421
482
|
|
483
|
+
UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
422
484
|
UnsupportedOperation.struct_class = Types::UnsupportedOperation
|
423
485
|
|
424
486
|
UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
@@ -433,15 +495,17 @@ module Aws::SQS
|
|
433
495
|
|
434
496
|
api.metadata = {
|
435
497
|
"apiVersion" => "2012-11-05",
|
498
|
+
"awsQueryCompatible" => {},
|
436
499
|
"endpointPrefix" => "sqs",
|
437
500
|
"errorPrefix" => "AWS.SimpleQueueService.",
|
438
|
-
"
|
501
|
+
"jsonVersion" => "1.0",
|
502
|
+
"protocol" => "json",
|
439
503
|
"serviceAbbreviation" => "Amazon SQS",
|
440
504
|
"serviceFullName" => "Amazon Simple Queue Service",
|
441
505
|
"serviceId" => "SQS",
|
442
506
|
"signatureVersion" => "v4",
|
507
|
+
"targetPrefix" => "AmazonSQS",
|
443
508
|
"uid" => "sqs-2012-11-05",
|
444
|
-
"xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
|
445
509
|
}
|
446
510
|
|
447
511
|
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -451,6 +515,11 @@ module Aws::SQS
|
|
451
515
|
o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
|
452
516
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
453
517
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
454
523
|
end)
|
455
524
|
|
456
525
|
api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
@@ -460,6 +529,9 @@ module Aws::SQS
|
|
460
529
|
o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
|
461
530
|
o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
|
462
531
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
463
535
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
464
536
|
end)
|
465
537
|
|
@@ -471,6 +543,11 @@ module Aws::SQS
|
|
471
543
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
472
544
|
o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
|
473
545
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
474
551
|
end)
|
475
552
|
|
476
553
|
api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -483,6 +560,11 @@ module Aws::SQS
|
|
483
560
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
484
561
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
485
562
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
486
568
|
end)
|
487
569
|
|
488
570
|
api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -493,6 +575,12 @@ module Aws::SQS
|
|
493
575
|
o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
|
494
576
|
o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
|
495
577
|
o.errors << Shapes::ShapeRef.new(shape: QueueNameExists)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
496
584
|
end)
|
497
585
|
|
498
586
|
api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -503,6 +591,11 @@ module Aws::SQS
|
|
503
591
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
504
592
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
|
505
593
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
506
599
|
end)
|
507
600
|
|
508
601
|
api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -515,6 +608,11 @@ module Aws::SQS
|
|
515
608
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
516
609
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
517
610
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
518
616
|
end)
|
519
617
|
|
520
618
|
api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -523,6 +621,11 @@ module Aws::SQS
|
|
523
621
|
o.http_request_uri = "/"
|
524
622
|
o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
|
525
623
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
526
629
|
end)
|
527
630
|
|
528
631
|
api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -532,6 +635,11 @@ module Aws::SQS
|
|
532
635
|
o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
|
533
636
|
o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
|
534
637
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
535
643
|
end)
|
536
644
|
|
537
645
|
api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
|
@@ -540,7 +648,11 @@ module Aws::SQS
|
|
540
648
|
o.http_request_uri = "/"
|
541
649
|
o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
|
542
650
|
o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
543
652
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
544
656
|
end)
|
545
657
|
|
546
658
|
api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -550,6 +662,10 @@ module Aws::SQS
|
|
550
662
|
o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
|
551
663
|
o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
|
552
664
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
553
669
|
o[:pager] = Aws::Pager.new(
|
554
670
|
limit_key: "max_results",
|
555
671
|
tokens: {
|
@@ -565,6 +681,9 @@ module Aws::SQS
|
|
565
681
|
o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
|
566
682
|
o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
|
567
683
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
568
687
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
569
688
|
end)
|
570
689
|
|
@@ -574,6 +693,11 @@ module Aws::SQS
|
|
574
693
|
o.http_request_uri = "/"
|
575
694
|
o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
|
576
695
|
o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
577
701
|
end)
|
578
702
|
|
579
703
|
api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -582,6 +706,10 @@ module Aws::SQS
|
|
582
706
|
o.http_request_uri = "/"
|
583
707
|
o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
|
584
708
|
o.output = Shapes::ShapeRef.new(shape: ListQueuesResult)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
585
713
|
o[:pager] = Aws::Pager.new(
|
586
714
|
limit_key: "max_results",
|
587
715
|
tokens: {
|
@@ -598,6 +726,10 @@ module Aws::SQS
|
|
598
726
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
599
727
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
600
728
|
o.errors << Shapes::ShapeRef.new(shape: PurgeQueueInProgress)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
601
733
|
end)
|
602
734
|
|
603
735
|
api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -606,7 +738,19 @@ module Aws::SQS
|
|
606
738
|
o.http_request_uri = "/"
|
607
739
|
o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
|
608
740
|
o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
609
742
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
744
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
747
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
610
754
|
end)
|
611
755
|
|
612
756
|
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -615,6 +759,11 @@ module Aws::SQS
|
|
615
759
|
o.http_request_uri = "/"
|
616
760
|
o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
|
617
761
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
762
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
764
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
618
767
|
end)
|
619
768
|
|
620
769
|
api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -625,6 +774,17 @@ module Aws::SQS
|
|
625
774
|
o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
|
626
775
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
|
627
776
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
628
788
|
end)
|
629
789
|
|
630
790
|
api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -639,6 +799,17 @@ module Aws::SQS
|
|
639
799
|
o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
|
640
800
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
641
801
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
642
813
|
end)
|
643
814
|
|
644
815
|
api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -648,6 +819,13 @@ module Aws::SQS
|
|
648
819
|
o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
|
649
820
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
650
821
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
651
829
|
end)
|
652
830
|
|
653
831
|
api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
@@ -657,6 +835,9 @@ module Aws::SQS
|
|
657
835
|
o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
|
658
836
|
o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
|
659
837
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
660
841
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
661
842
|
end)
|
662
843
|
|
@@ -666,6 +847,11 @@ module Aws::SQS
|
|
666
847
|
o.http_request_uri = "/"
|
667
848
|
o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
|
668
849
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
669
855
|
end)
|
670
856
|
|
671
857
|
api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -674,6 +860,11 @@ module Aws::SQS
|
|
674
860
|
o.http_request_uri = "/"
|
675
861
|
o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
|
676
862
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
677
868
|
end)
|
678
869
|
end
|
679
870
|
|