1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2012-11-05",
|
5 | "endpointPrefix": "sqs",
|
6 | "protocol": "query",
|
7 | "serviceAbbreviation": "Amazon SQS",
|
8 | "serviceFullName": "Amazon Simple Queue Service",
|
9 | "signatureVersion": "v4",
|
10 | "uid": "sqs-2012-11-05",
|
11 | "xmlNamespace": "http://queue.amazonaws.com/doc/2012-11-05/"
|
12 | },
|
13 | "operations": {
|
14 | "AddPermission": {
|
15 | "input": {
|
16 | "type": "structure",
|
17 | "required": [
|
18 | "QueueUrl",
|
19 | "Label",
|
20 | "AWSAccountIds",
|
21 | "Actions"
|
22 | ],
|
23 | "members": {
|
24 | "QueueUrl": {},
|
25 | "Label": {},
|
26 | "AWSAccountIds": {
|
27 | "type": "list",
|
28 | "member": {
|
29 | "locationName": "AWSAccountId"
|
30 | },
|
31 | "flattened": true
|
32 | },
|
33 | "Actions": {
|
34 | "type": "list",
|
35 | "member": {
|
36 | "locationName": "ActionName"
|
37 | },
|
38 | "flattened": true
|
39 | }
|
40 | }
|
41 | }
|
42 | },
|
43 | "ChangeMessageVisibility": {
|
44 | "input": {
|
45 | "type": "structure",
|
46 | "required": [
|
47 | "QueueUrl",
|
48 | "ReceiptHandle",
|
49 | "VisibilityTimeout"
|
50 | ],
|
51 | "members": {
|
52 | "QueueUrl": {},
|
53 | "ReceiptHandle": {},
|
54 | "VisibilityTimeout": {
|
55 | "type": "integer"
|
56 | }
|
57 | }
|
58 | }
|
59 | },
|
60 | "ChangeMessageVisibilityBatch": {
|
61 | "input": {
|
62 | "type": "structure",
|
63 | "required": [
|
64 | "QueueUrl",
|
65 | "Entries"
|
66 | ],
|
67 | "members": {
|
68 | "QueueUrl": {},
|
69 | "Entries": {
|
70 | "type": "list",
|
71 | "member": {
|
72 | "locationName": "ChangeMessageVisibilityBatchRequestEntry",
|
73 | "type": "structure",
|
74 | "required": [
|
75 | "Id",
|
76 | "ReceiptHandle"
|
77 | ],
|
78 | "members": {
|
79 | "Id": {},
|
80 | "ReceiptHandle": {},
|
81 | "VisibilityTimeout": {
|
82 | "type": "integer"
|
83 | }
|
84 | }
|
85 | },
|
86 | "flattened": true
|
87 | }
|
88 | }
|
89 | },
|
90 | "output": {
|
91 | "resultWrapper": "ChangeMessageVisibilityBatchResult",
|
92 | "type": "structure",
|
93 | "required": [
|
94 | "Successful",
|
95 | "Failed"
|
96 | ],
|
97 | "members": {
|
98 | "Successful": {
|
99 | "type": "list",
|
100 | "member": {
|
101 | "locationName": "ChangeMessageVisibilityBatchResultEntry",
|
102 | "type": "structure",
|
103 | "required": [
|
104 | "Id"
|
105 | ],
|
106 | "members": {
|
107 | "Id": {}
|
108 | }
|
109 | },
|
110 | "flattened": true
|
111 | },
|
112 | "Failed": {
|
113 | "shape": "Sd"
|
114 | }
|
115 | }
|
116 | }
|
117 | },
|
118 | "CreateQueue": {
|
119 | "input": {
|
120 | "type": "structure",
|
121 | "required": [
|
122 | "QueueName"
|
123 | ],
|
124 | "members": {
|
125 | "QueueName": {},
|
126 | "Attributes": {
|
127 | "shape": "Sh",
|
128 | "locationName": "Attribute"
|
129 | }
|
130 | }
|
131 | },
|
132 | "output": {
|
133 | "resultWrapper": "CreateQueueResult",
|
134 | "type": "structure",
|
135 | "members": {
|
136 | "QueueUrl": {}
|
137 | }
|
138 | }
|
139 | },
|
140 | "DeleteMessage": {
|
141 | "input": {
|
142 | "type": "structure",
|
143 | "required": [
|
144 | "QueueUrl",
|
145 | "ReceiptHandle"
|
146 | ],
|
147 | "members": {
|
148 | "QueueUrl": {},
|
149 | "ReceiptHandle": {}
|
150 | }
|
151 | }
|
152 | },
|
153 | "DeleteMessageBatch": {
|
154 | "input": {
|
155 | "type": "structure",
|
156 | "required": [
|
157 | "QueueUrl",
|
158 | "Entries"
|
159 | ],
|
160 | "members": {
|
161 | "QueueUrl": {},
|
162 | "Entries": {
|
163 | "type": "list",
|
164 | "member": {
|
165 | "locationName": "DeleteMessageBatchRequestEntry",
|
166 | "type": "structure",
|
167 | "required": [
|
168 | "Id",
|
169 | "ReceiptHandle"
|
170 | ],
|
171 | "members": {
|
172 | "Id": {},
|
173 | "ReceiptHandle": {}
|
174 | }
|
175 | },
|
176 | "flattened": true
|
177 | }
|
178 | }
|
179 | },
|
180 | "output": {
|
181 | "resultWrapper": "DeleteMessageBatchResult",
|
182 | "type": "structure",
|
183 | "required": [
|
184 | "Successful",
|
185 | "Failed"
|
186 | ],
|
187 | "members": {
|
188 | "Successful": {
|
189 | "type": "list",
|
190 | "member": {
|
191 | "locationName": "DeleteMessageBatchResultEntry",
|
192 | "type": "structure",
|
193 | "required": [
|
194 | "Id"
|
195 | ],
|
196 | "members": {
|
197 | "Id": {}
|
198 | }
|
199 | },
|
200 | "flattened": true
|
201 | },
|
202 | "Failed": {
|
203 | "shape": "Sd"
|
204 | }
|
205 | }
|
206 | }
|
207 | },
|
208 | "DeleteQueue": {
|
209 | "input": {
|
210 | "type": "structure",
|
211 | "required": [
|
212 | "QueueUrl"
|
213 | ],
|
214 | "members": {
|
215 | "QueueUrl": {}
|
216 | }
|
217 | }
|
218 | },
|
219 | "GetQueueAttributes": {
|
220 | "input": {
|
221 | "type": "structure",
|
222 | "required": [
|
223 | "QueueUrl"
|
224 | ],
|
225 | "members": {
|
226 | "QueueUrl": {},
|
227 | "AttributeNames": {
|
228 | "shape": "St"
|
229 | }
|
230 | }
|
231 | },
|
232 | "output": {
|
233 | "resultWrapper": "GetQueueAttributesResult",
|
234 | "type": "structure",
|
235 | "members": {
|
236 | "Attributes": {
|
237 | "shape": "Sh",
|
238 | "locationName": "Attribute"
|
239 | }
|
240 | }
|
241 | }
|
242 | },
|
243 | "GetQueueUrl": {
|
244 | "input": {
|
245 | "type": "structure",
|
246 | "required": [
|
247 | "QueueName"
|
248 | ],
|
249 | "members": {
|
250 | "QueueName": {},
|
251 | "QueueOwnerAWSAccountId": {}
|
252 | }
|
253 | },
|
254 | "output": {
|
255 | "resultWrapper": "GetQueueUrlResult",
|
256 | "type": "structure",
|
257 | "members": {
|
258 | "QueueUrl": {}
|
259 | }
|
260 | }
|
261 | },
|
262 | "ListDeadLetterSourceQueues": {
|
263 | "input": {
|
264 | "type": "structure",
|
265 | "required": [
|
266 | "QueueUrl"
|
267 | ],
|
268 | "members": {
|
269 | "QueueUrl": {}
|
270 | }
|
271 | },
|
272 | "output": {
|
273 | "resultWrapper": "ListDeadLetterSourceQueuesResult",
|
274 | "type": "structure",
|
275 | "required": [
|
276 | "queueUrls"
|
277 | ],
|
278 | "members": {
|
279 | "queueUrls": {
|
280 | "shape": "Sz"
|
281 | }
|
282 | }
|
283 | }
|
284 | },
|
285 | "ListQueues": {
|
286 | "input": {
|
287 | "type": "structure",
|
288 | "members": {
|
289 | "QueueNamePrefix": {}
|
290 | }
|
291 | },
|
292 | "output": {
|
293 | "resultWrapper": "ListQueuesResult",
|
294 | "type": "structure",
|
295 | "members": {
|
296 | "QueueUrls": {
|
297 | "shape": "Sz"
|
298 | }
|
299 | }
|
300 | }
|
301 | },
|
302 | "PurgeQueue": {
|
303 | "input": {
|
304 | "type": "structure",
|
305 | "required": [
|
306 | "QueueUrl"
|
307 | ],
|
308 | "members": {
|
309 | "QueueUrl": {}
|
310 | }
|
311 | }
|
312 | },
|
313 | "ReceiveMessage": {
|
314 | "input": {
|
315 | "type": "structure",
|
316 | "required": [
|
317 | "QueueUrl"
|
318 | ],
|
319 | "members": {
|
320 | "QueueUrl": {},
|
321 | "AttributeNames": {
|
322 | "shape": "St"
|
323 | },
|
324 | "MessageAttributeNames": {
|
325 | "type": "list",
|
326 | "member": {
|
327 | "locationName": "MessageAttributeName"
|
328 | },
|
329 | "flattened": true
|
330 | },
|
331 | "MaxNumberOfMessages": {
|
332 | "type": "integer"
|
333 | },
|
334 | "VisibilityTimeout": {
|
335 | "type": "integer"
|
336 | },
|
337 | "WaitTimeSeconds": {
|
338 | "type": "integer"
|
339 | },
|
340 | "ReceiveRequestAttemptId": {}
|
341 | }
|
342 | },
|
343 | "output": {
|
344 | "resultWrapper": "ReceiveMessageResult",
|
345 | "type": "structure",
|
346 | "members": {
|
347 | "Messages": {
|
348 | "type": "list",
|
349 | "member": {
|
350 | "locationName": "Message",
|
351 | "type": "structure",
|
352 | "members": {
|
353 | "MessageId": {},
|
354 | "ReceiptHandle": {},
|
355 | "MD5OfBody": {},
|
356 | "Body": {},
|
357 | "Attributes": {
|
358 | "locationName": "Attribute",
|
359 | "type": "map",
|
360 | "key": {
|
361 | "locationName": "Name"
|
362 | },
|
363 | "value": {
|
364 | "locationName": "Value"
|
365 | },
|
366 | "flattened": true
|
367 | },
|
368 | "MD5OfMessageAttributes": {},
|
369 | "MessageAttributes": {
|
370 | "shape": "S1b",
|
371 | "locationName": "MessageAttribute"
|
372 | }
|
373 | }
|
374 | },
|
375 | "flattened": true
|
376 | }
|
377 | }
|
378 | }
|
379 | },
|
380 | "RemovePermission": {
|
381 | "input": {
|
382 | "type": "structure",
|
383 | "required": [
|
384 | "QueueUrl",
|
385 | "Label"
|
386 | ],
|
387 | "members": {
|
388 | "QueueUrl": {},
|
389 | "Label": {}
|
390 | }
|
391 | }
|
392 | },
|
393 | "SendMessage": {
|
394 | "input": {
|
395 | "type": "structure",
|
396 | "required": [
|
397 | "QueueUrl",
|
398 | "MessageBody"
|
399 | ],
|
400 | "members": {
|
401 | "QueueUrl": {},
|
402 | "MessageBody": {},
|
403 | "DelaySeconds": {
|
404 | "type": "integer"
|
405 | },
|
406 | "MessageAttributes": {
|
407 | "shape": "S1b",
|
408 | "locationName": "MessageAttribute"
|
409 | },
|
410 | "MessageDeduplicationId": {},
|
411 | "MessageGroupId": {}
|
412 | }
|
413 | },
|
414 | "output": {
|
415 | "resultWrapper": "SendMessageResult",
|
416 | "type": "structure",
|
417 | "members": {
|
418 | "MD5OfMessageBody": {},
|
419 | "MD5OfMessageAttributes": {},
|
420 | "MessageId": {},
|
421 | "SequenceNumber": {}
|
422 | }
|
423 | }
|
424 | },
|
425 | "SendMessageBatch": {
|
426 | "input": {
|
427 | "type": "structure",
|
428 | "required": [
|
429 | "QueueUrl",
|
430 | "Entries"
|
431 | ],
|
432 | "members": {
|
433 | "QueueUrl": {},
|
434 | "Entries": {
|
435 | "type": "list",
|
436 | "member": {
|
437 | "locationName": "SendMessageBatchRequestEntry",
|
438 | "type": "structure",
|
439 | "required": [
|
440 | "Id",
|
441 | "MessageBody"
|
442 | ],
|
443 | "members": {
|
444 | "Id": {},
|
445 | "MessageBody": {},
|
446 | "DelaySeconds": {
|
447 | "type": "integer"
|
448 | },
|
449 | "MessageAttributes": {
|
450 | "shape": "S1b",
|
451 | "locationName": "MessageAttribute"
|
452 | },
|
453 | "MessageDeduplicationId": {},
|
454 | "MessageGroupId": {}
|
455 | }
|
456 | },
|
457 | "flattened": true
|
458 | }
|
459 | }
|
460 | },
|
461 | "output": {
|
462 | "resultWrapper": "SendMessageBatchResult",
|
463 | "type": "structure",
|
464 | "required": [
|
465 | "Successful",
|
466 | "Failed"
|
467 | ],
|
468 | "members": {
|
469 | "Successful": {
|
470 | "type": "list",
|
471 | "member": {
|
472 | "locationName": "SendMessageBatchResultEntry",
|
473 | "type": "structure",
|
474 | "required": [
|
475 | "Id",
|
476 | "MessageId",
|
477 | "MD5OfMessageBody"
|
478 | ],
|
479 | "members": {
|
480 | "Id": {},
|
481 | "MessageId": {},
|
482 | "MD5OfMessageBody": {},
|
483 | "MD5OfMessageAttributes": {},
|
484 | "SequenceNumber": {}
|
485 | }
|
486 | },
|
487 | "flattened": true
|
488 | },
|
489 | "Failed": {
|
490 | "shape": "Sd"
|
491 | }
|
492 | }
|
493 | }
|
494 | },
|
495 | "SetQueueAttributes": {
|
496 | "input": {
|
497 | "type": "structure",
|
498 | "required": [
|
499 | "QueueUrl",
|
500 | "Attributes"
|
501 | ],
|
502 | "members": {
|
503 | "QueueUrl": {},
|
504 | "Attributes": {
|
505 | "shape": "Sh",
|
506 | "locationName": "Attribute"
|
507 | }
|
508 | }
|
509 | }
|
510 | }
|
511 | },
|
512 | "shapes": {
|
513 | "Sd": {
|
514 | "type": "list",
|
515 | "member": {
|
516 | "locationName": "BatchResultErrorEntry",
|
517 | "type": "structure",
|
518 | "required": [
|
519 | "Id",
|
520 | "SenderFault",
|
521 | "Code"
|
522 | ],
|
523 | "members": {
|
524 | "Id": {},
|
525 | "SenderFault": {
|
526 | "type": "boolean"
|
527 | },
|
528 | "Code": {},
|
529 | "Message": {}
|
530 | }
|
531 | },
|
532 | "flattened": true
|
533 | },
|
534 | "Sh": {
|
535 | "type": "map",
|
536 | "key": {
|
537 | "locationName": "Name"
|
538 | },
|
539 | "value": {
|
540 | "locationName": "Value"
|
541 | },
|
542 | "flattened": true,
|
543 | "locationName": "Attribute"
|
544 | },
|
545 | "St": {
|
546 | "type": "list",
|
547 | "member": {
|
548 | "locationName": "AttributeName"
|
549 | },
|
550 | "flattened": true
|
551 | },
|
552 | "Sz": {
|
553 | "type": "list",
|
554 | "member": {
|
555 | "locationName": "QueueUrl"
|
556 | },
|
557 | "flattened": true
|
558 | },
|
559 | "S1b": {
|
560 | "type": "map",
|
561 | "key": {
|
562 | "locationName": "Name"
|
563 | },
|
564 | "value": {
|
565 | "locationName": "Value",
|
566 | "type": "structure",
|
567 | "required": [
|
568 | "DataType"
|
569 | ],
|
570 | "members": {
|
571 | "StringValue": {},
|
572 | "BinaryValue": {
|
573 | "type": "blob"
|
574 | },
|
575 | "StringListValues": {
|
576 | "flattened": true,
|
577 | "locationName": "StringListValue",
|
578 | "type": "list",
|
579 | "member": {
|
580 | "locationName": "StringListValue"
|
581 | }
|
582 | },
|
583 | "BinaryListValues": {
|
584 | "flattened": true,
|
585 | "locationName": "BinaryListValue",
|
586 | "type": "list",
|
587 | "member": {
|
588 | "locationName": "BinaryListValue",
|
589 | "type": "blob"
|
590 | }
|
591 | },
|
592 | "DataType": {}
|
593 | }
|
594 | },
|
595 | "flattened": true
|
596 | }
|
597 | }
|
598 | } |
\ | No newline at end of file |