aws-sdk-sqs 1.50.0 → 1.54.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 +33 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +261 -151
- data/lib/aws-sdk-sqs/client_api.rb +219 -51
- data/lib/aws-sdk-sqs/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-sqs/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-sqs/endpoints.rb +295 -0
- data/lib/aws-sdk-sqs/errors.rb +246 -0
- data/lib/aws-sdk-sqs/plugins/endpoints.rb +108 -0
- data/lib/aws-sdk-sqs/plugins/queue_urls.rb +20 -18
- data/lib/aws-sdk-sqs/queue.rb +60 -26
- data/lib/aws-sdk-sqs/queue_poller.rb +6 -0
- data/lib/aws-sdk-sqs/resource.rb +61 -27
- data/lib/aws-sdk-sqs/types.rb +449 -391
- data/lib/aws-sdk-sqs.rb +5 -1
- metadata +8 -4
@@ -43,15 +43,25 @@ module Aws::SQS
|
|
43
43
|
DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
|
44
44
|
DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
|
45
45
|
EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
|
46
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
46
47
|
GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
|
47
48
|
GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
|
48
49
|
GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
|
49
50
|
GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
|
50
|
-
|
51
|
+
InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
|
51
52
|
InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
|
53
|
+
InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
|
52
54
|
InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
|
53
55
|
InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
|
54
56
|
InvalidMessageContents = Shapes::StructureShape.new(name: 'InvalidMessageContents')
|
57
|
+
InvalidSecurity = Shapes::StructureShape.new(name: 'InvalidSecurity')
|
58
|
+
KmsAccessDenied = Shapes::StructureShape.new(name: 'KmsAccessDenied')
|
59
|
+
KmsDisabled = Shapes::StructureShape.new(name: 'KmsDisabled')
|
60
|
+
KmsInvalidKeyUsage = Shapes::StructureShape.new(name: 'KmsInvalidKeyUsage')
|
61
|
+
KmsInvalidState = Shapes::StructureShape.new(name: 'KmsInvalidState')
|
62
|
+
KmsNotFound = Shapes::StructureShape.new(name: 'KmsNotFound')
|
63
|
+
KmsOptInRequired = Shapes::StructureShape.new(name: 'KmsOptInRequired')
|
64
|
+
KmsThrottled = Shapes::StructureShape.new(name: 'KmsThrottled')
|
55
65
|
ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
|
56
66
|
ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
|
57
67
|
ListQueueTagsRequest = Shapes::StructureShape.new(name: 'ListQueueTagsRequest')
|
@@ -70,6 +80,7 @@ module Aws::SQS
|
|
70
80
|
MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
|
71
81
|
MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
|
72
82
|
MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
|
83
|
+
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
73
84
|
OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
|
74
85
|
PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
|
75
86
|
PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
|
@@ -83,6 +94,7 @@ module Aws::SQS
|
|
83
94
|
ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
|
84
95
|
ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
|
85
96
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
97
|
+
RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
|
86
98
|
SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
|
87
99
|
SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
|
88
100
|
SendMessageBatchRequestEntryList = Shapes::ListShape.new(name: 'SendMessageBatchRequestEntryList', flattened: true)
|
@@ -104,9 +116,9 @@ module Aws::SQS
|
|
104
116
|
UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
|
105
117
|
UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
|
106
118
|
|
107
|
-
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String
|
119
|
+
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
|
108
120
|
|
109
|
-
ActionNameList.member = Shapes::ShapeRef.new(shape: String
|
121
|
+
ActionNameList.member = Shapes::ShapeRef.new(shape: String)
|
110
122
|
|
111
123
|
AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
112
124
|
AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
@@ -114,10 +126,12 @@ module Aws::SQS
|
|
114
126
|
AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
|
115
127
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
116
128
|
|
117
|
-
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName
|
129
|
+
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
118
130
|
|
131
|
+
BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
119
132
|
BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
|
120
133
|
|
134
|
+
BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
121
135
|
BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
|
122
136
|
|
123
137
|
BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
@@ -126,9 +140,9 @@ module Aws::SQS
|
|
126
140
|
BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
127
141
|
BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
|
128
142
|
|
129
|
-
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry
|
143
|
+
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
|
130
144
|
|
131
|
-
BinaryList.member = Shapes::ShapeRef.new(shape: Binary
|
145
|
+
BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
|
132
146
|
|
133
147
|
ChangeMessageVisibilityBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
134
148
|
ChangeMessageVisibilityBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntryList, required: true, location_name: "Entries"))
|
@@ -136,10 +150,10 @@ module Aws::SQS
|
|
136
150
|
|
137
151
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
138
152
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
139
|
-
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
153
|
+
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
140
154
|
ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
|
141
155
|
|
142
|
-
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry
|
156
|
+
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
|
143
157
|
|
144
158
|
ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
|
145
159
|
ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -148,16 +162,16 @@ module Aws::SQS
|
|
148
162
|
ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
149
163
|
ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
|
150
164
|
|
151
|
-
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry
|
165
|
+
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
|
152
166
|
|
153
167
|
ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
154
168
|
ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
155
|
-
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
169
|
+
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, required: true, location_name: "VisibilityTimeout"))
|
156
170
|
ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
|
157
171
|
|
158
172
|
CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
159
|
-
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
160
|
-
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "
|
173
|
+
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
|
174
|
+
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
161
175
|
CreateQueueRequest.struct_class = Types::CreateQueueRequest
|
162
176
|
|
163
177
|
CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
@@ -171,7 +185,7 @@ module Aws::SQS
|
|
171
185
|
DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
172
186
|
DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
|
173
187
|
|
174
|
-
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry
|
188
|
+
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
|
175
189
|
|
176
190
|
DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
177
191
|
DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -180,7 +194,7 @@ module Aws::SQS
|
|
180
194
|
DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
181
195
|
DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
|
182
196
|
|
183
|
-
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry
|
197
|
+
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
|
184
198
|
|
185
199
|
DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
186
200
|
DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
@@ -189,13 +203,14 @@ module Aws::SQS
|
|
189
203
|
DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
190
204
|
DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
|
191
205
|
|
206
|
+
EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
192
207
|
EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
|
193
208
|
|
194
209
|
GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
195
210
|
GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
196
211
|
GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
|
197
212
|
|
198
|
-
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
213
|
+
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
|
199
214
|
GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
|
200
215
|
|
201
216
|
GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
@@ -205,14 +220,47 @@ module Aws::SQS
|
|
205
220
|
GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
206
221
|
GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
|
207
222
|
|
223
|
+
InvalidAddress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
224
|
+
InvalidAddress.struct_class = Types::InvalidAddress
|
225
|
+
|
226
|
+
InvalidAttributeName.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
208
227
|
InvalidAttributeName.struct_class = Types::InvalidAttributeName
|
209
228
|
|
229
|
+
InvalidAttributeValue.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
230
|
+
InvalidAttributeValue.struct_class = Types::InvalidAttributeValue
|
231
|
+
|
232
|
+
InvalidBatchEntryId.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
210
233
|
InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
|
211
234
|
|
212
235
|
InvalidIdFormat.struct_class = Types::InvalidIdFormat
|
213
236
|
|
237
|
+
InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
214
238
|
InvalidMessageContents.struct_class = Types::InvalidMessageContents
|
215
239
|
|
240
|
+
InvalidSecurity.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
241
|
+
InvalidSecurity.struct_class = Types::InvalidSecurity
|
242
|
+
|
243
|
+
KmsAccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
244
|
+
KmsAccessDenied.struct_class = Types::KmsAccessDenied
|
245
|
+
|
246
|
+
KmsDisabled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
247
|
+
KmsDisabled.struct_class = Types::KmsDisabled
|
248
|
+
|
249
|
+
KmsInvalidKeyUsage.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
250
|
+
KmsInvalidKeyUsage.struct_class = Types::KmsInvalidKeyUsage
|
251
|
+
|
252
|
+
KmsInvalidState.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
253
|
+
KmsInvalidState.struct_class = Types::KmsInvalidState
|
254
|
+
|
255
|
+
KmsNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
256
|
+
KmsNotFound.struct_class = Types::KmsNotFound
|
257
|
+
|
258
|
+
KmsOptInRequired.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
259
|
+
KmsOptInRequired.struct_class = Types::KmsOptInRequired
|
260
|
+
|
261
|
+
KmsThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
262
|
+
KmsThrottled.struct_class = Types::KmsThrottled
|
263
|
+
|
216
264
|
ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
217
265
|
ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
218
266
|
ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
@@ -225,7 +273,7 @@ module Aws::SQS
|
|
225
273
|
ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
226
274
|
ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
|
227
275
|
|
228
|
-
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "
|
276
|
+
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
229
277
|
ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
|
230
278
|
|
231
279
|
ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
|
@@ -241,66 +289,72 @@ module Aws::SQS
|
|
241
289
|
Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
|
242
290
|
Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
|
243
291
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
|
244
|
-
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "
|
292
|
+
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attributes"))
|
245
293
|
Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
|
246
|
-
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
294
|
+
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
247
295
|
Message.struct_class = Types::Message
|
248
296
|
|
249
|
-
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName
|
297
|
+
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
|
250
298
|
|
251
299
|
MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
252
300
|
MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
253
|
-
MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "
|
254
|
-
MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "
|
301
|
+
MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues"))
|
302
|
+
MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues"))
|
255
303
|
MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
256
304
|
MessageAttributeValue.struct_class = Types::MessageAttributeValue
|
257
305
|
|
258
|
-
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String
|
259
|
-
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue
|
306
|
+
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String)
|
307
|
+
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue)
|
260
308
|
|
261
|
-
MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends
|
262
|
-
MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue
|
309
|
+
MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
|
310
|
+
MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
|
263
311
|
|
264
|
-
MessageList.member = Shapes::ShapeRef.new(shape: Message
|
312
|
+
MessageList.member = Shapes::ShapeRef.new(shape: Message)
|
265
313
|
|
266
314
|
MessageNotInflight.struct_class = Types::MessageNotInflight
|
267
315
|
|
268
|
-
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName
|
269
|
-
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
316
|
+
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
|
317
|
+
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
270
318
|
|
271
319
|
MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
272
320
|
MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
273
|
-
MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "
|
274
|
-
MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "
|
321
|
+
MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
|
322
|
+
MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
|
275
323
|
MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
276
324
|
MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
|
277
325
|
|
326
|
+
OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
278
327
|
OverLimit.struct_class = Types::OverLimit
|
279
328
|
|
329
|
+
PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
280
330
|
PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
|
281
331
|
|
282
332
|
PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
283
333
|
PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
|
284
334
|
|
285
|
-
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName
|
286
|
-
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
335
|
+
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
336
|
+
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
287
337
|
|
338
|
+
QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
288
339
|
QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
|
289
340
|
|
341
|
+
QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
290
342
|
QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
|
291
343
|
|
344
|
+
QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
292
345
|
QueueNameExists.struct_class = Types::QueueNameExists
|
293
346
|
|
294
|
-
QueueUrlList.member = Shapes::ShapeRef.new(shape: String
|
347
|
+
QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
|
295
348
|
|
349
|
+
ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
296
350
|
ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
|
297
351
|
|
298
352
|
ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
299
353
|
ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
300
354
|
ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
|
301
|
-
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape:
|
302
|
-
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
303
|
-
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape:
|
355
|
+
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
|
356
|
+
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
357
|
+
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "WaitTimeSeconds"))
|
304
358
|
ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
|
305
359
|
ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
|
306
360
|
|
@@ -311,20 +365,23 @@ module Aws::SQS
|
|
311
365
|
RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
312
366
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
313
367
|
|
368
|
+
RequestThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
369
|
+
RequestThrottled.struct_class = Types::RequestThrottled
|
370
|
+
|
314
371
|
SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
315
372
|
SendMessageBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntryList, required: true, location_name: "Entries"))
|
316
373
|
SendMessageBatchRequest.struct_class = Types::SendMessageBatchRequest
|
317
374
|
|
318
375
|
SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
319
376
|
SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
320
|
-
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
321
|
-
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
322
|
-
SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "
|
377
|
+
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
378
|
+
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
379
|
+
SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
323
380
|
SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
324
381
|
SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
325
382
|
SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
|
326
383
|
|
327
|
-
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry
|
384
|
+
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
|
328
385
|
|
329
386
|
SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
330
387
|
SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -338,13 +395,13 @@ module Aws::SQS
|
|
338
395
|
SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
|
339
396
|
SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
|
340
397
|
|
341
|
-
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry
|
398
|
+
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
|
342
399
|
|
343
400
|
SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
344
401
|
SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
345
|
-
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
346
|
-
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
347
|
-
SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "
|
402
|
+
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
403
|
+
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
404
|
+
SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
348
405
|
SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
349
406
|
SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
350
407
|
SendMessageRequest.struct_class = Types::SendMessageRequest
|
@@ -357,22 +414,24 @@ module Aws::SQS
|
|
357
414
|
SendMessageResult.struct_class = Types::SendMessageResult
|
358
415
|
|
359
416
|
SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
360
|
-
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "
|
417
|
+
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
|
361
418
|
SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
|
362
419
|
|
363
|
-
StringList.member = Shapes::ShapeRef.new(shape: String
|
420
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
364
421
|
|
365
|
-
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey
|
422
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
366
423
|
|
367
|
-
TagMap.key = Shapes::ShapeRef.new(shape: TagKey
|
368
|
-
TagMap.value = Shapes::ShapeRef.new(shape: TagValue
|
424
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
425
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
369
426
|
|
370
427
|
TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
371
428
|
TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
372
429
|
TagQueueRequest.struct_class = Types::TagQueueRequest
|
373
430
|
|
431
|
+
TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
374
432
|
TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
|
375
433
|
|
434
|
+
UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
376
435
|
UnsupportedOperation.struct_class = Types::UnsupportedOperation
|
377
436
|
|
378
437
|
UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
@@ -387,15 +446,17 @@ module Aws::SQS
|
|
387
446
|
|
388
447
|
api.metadata = {
|
389
448
|
"apiVersion" => "2012-11-05",
|
449
|
+
"awsQueryCompatible" => {},
|
390
450
|
"endpointPrefix" => "sqs",
|
391
451
|
"errorPrefix" => "AWS.SimpleQueueService.",
|
392
|
-
"
|
452
|
+
"jsonVersion" => "1.0",
|
453
|
+
"protocol" => "json",
|
393
454
|
"serviceAbbreviation" => "Amazon SQS",
|
394
455
|
"serviceFullName" => "Amazon Simple Queue Service",
|
395
456
|
"serviceId" => "SQS",
|
396
457
|
"signatureVersion" => "v4",
|
458
|
+
"targetPrefix" => "AmazonSQS",
|
397
459
|
"uid" => "sqs-2012-11-05",
|
398
|
-
"xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
|
399
460
|
}
|
400
461
|
|
401
462
|
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -405,6 +466,11 @@ module Aws::SQS
|
|
405
466
|
o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
|
406
467
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
407
468
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
408
474
|
end)
|
409
475
|
|
410
476
|
api.add_operation(:change_message_visibility, Seahorse::Model::Operation.new.tap do |o|
|
@@ -415,6 +481,9 @@ module Aws::SQS
|
|
415
481
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
416
482
|
o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
|
417
483
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
418
487
|
end)
|
419
488
|
|
420
489
|
api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -427,6 +496,9 @@ module Aws::SQS
|
|
427
496
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
428
497
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
429
498
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
430
502
|
end)
|
431
503
|
|
432
504
|
api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -437,6 +509,12 @@ module Aws::SQS
|
|
437
509
|
o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
|
438
510
|
o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
|
439
511
|
o.errors << Shapes::ShapeRef.new(shape: QueueNameExists)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
440
518
|
end)
|
441
519
|
|
442
520
|
api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -447,6 +525,10 @@ module Aws::SQS
|
|
447
525
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
448
526
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
|
449
527
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
450
532
|
end)
|
451
533
|
|
452
534
|
api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -459,6 +541,9 @@ module Aws::SQS
|
|
459
541
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
460
542
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
461
543
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
462
547
|
end)
|
463
548
|
|
464
549
|
api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -467,6 +552,11 @@ module Aws::SQS
|
|
467
552
|
o.http_request_uri = "/"
|
468
553
|
o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
|
469
554
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
470
560
|
end)
|
471
561
|
|
472
562
|
api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -476,6 +566,10 @@ module Aws::SQS
|
|
476
566
|
o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
|
477
567
|
o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
|
478
568
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
479
573
|
end)
|
480
574
|
|
481
575
|
api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
|
@@ -484,7 +578,11 @@ module Aws::SQS
|
|
484
578
|
o.http_request_uri = "/"
|
485
579
|
o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
|
486
580
|
o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
487
582
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
488
586
|
end)
|
489
587
|
|
490
588
|
api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -494,6 +592,10 @@ module Aws::SQS
|
|
494
592
|
o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
|
495
593
|
o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
|
496
594
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
497
599
|
o[:pager] = Aws::Pager.new(
|
498
600
|
limit_key: "max_results",
|
499
601
|
tokens: {
|
@@ -508,6 +610,11 @@ module Aws::SQS
|
|
508
610
|
o.http_request_uri = "/"
|
509
611
|
o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
|
510
612
|
o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
511
618
|
end)
|
512
619
|
|
513
620
|
api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -516,6 +623,10 @@ module Aws::SQS
|
|
516
623
|
o.http_request_uri = "/"
|
517
624
|
o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
|
518
625
|
o.output = Shapes::ShapeRef.new(shape: ListQueuesResult)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
519
630
|
o[:pager] = Aws::Pager.new(
|
520
631
|
limit_key: "max_results",
|
521
632
|
tokens: {
|
@@ -532,6 +643,10 @@ module Aws::SQS
|
|
532
643
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
533
644
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
534
645
|
o.errors << Shapes::ShapeRef.new(shape: PurgeQueueInProgress)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
535
650
|
end)
|
536
651
|
|
537
652
|
api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -540,7 +655,18 @@ module Aws::SQS
|
|
540
655
|
o.http_request_uri = "/"
|
541
656
|
o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
|
542
657
|
o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
543
659
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
544
670
|
end)
|
545
671
|
|
546
672
|
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -549,6 +675,11 @@ module Aws::SQS
|
|
549
675
|
o.http_request_uri = "/"
|
550
676
|
o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
|
551
677
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
552
683
|
end)
|
553
684
|
|
554
685
|
api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -559,6 +690,16 @@ module Aws::SQS
|
|
559
690
|
o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
|
560
691
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
|
561
692
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
562
703
|
end)
|
563
704
|
|
564
705
|
api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -573,6 +714,16 @@ module Aws::SQS
|
|
573
714
|
o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
|
574
715
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
575
716
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
576
727
|
end)
|
577
728
|
|
578
729
|
api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -582,6 +733,13 @@ module Aws::SQS
|
|
582
733
|
o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
|
583
734
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
584
735
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
585
743
|
end)
|
586
744
|
|
587
745
|
api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -590,6 +748,11 @@ module Aws::SQS
|
|
590
748
|
o.http_request_uri = "/"
|
591
749
|
o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
|
592
750
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
593
756
|
end)
|
594
757
|
|
595
758
|
api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -598,6 +761,11 @@ module Aws::SQS
|
|
598
761
|
o.http_request_uri = "/"
|
599
762
|
o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
|
600
763
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
764
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
601
769
|
end)
|
602
770
|
end
|
603
771
|
|