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