aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -0,0 +1,1113 @@
1
+ {
2
+ "metadata":{
3
+ "apiVersion":"2012-11-05",
4
+ "endpointPrefix":"sqs",
5
+ "serviceAbbreviation":"Amazon SQS",
6
+ "serviceFullName":"Amazon Simple Queue Service",
7
+ "signatureVersion":"v4",
8
+ "xmlNamespace":"http://queue.amazonaws.com/doc/2012-11-05/",
9
+ "protocol":"query"
10
+ },
11
+ "operations":{
12
+ "AddPermission":{
13
+ "name":"AddPermission",
14
+ "http":{
15
+ "method":"POST",
16
+ "requestUri":"/"
17
+ },
18
+ "input":{"shape":"AddPermissionRequest"},
19
+ "errors":[
20
+ {
21
+ "shape":"OverLimit",
22
+ "error":{
23
+ "code":"OverLimit",
24
+ "httpStatusCode":403,
25
+ "senderFault":true
26
+ },
27
+ "exception":true
28
+ }
29
+ ]
30
+ },
31
+ "ChangeMessageVisibility":{
32
+ "name":"ChangeMessageVisibility",
33
+ "http":{
34
+ "method":"POST",
35
+ "requestUri":"/"
36
+ },
37
+ "input":{"shape":"ChangeMessageVisibilityRequest"},
38
+ "errors":[
39
+ {
40
+ "shape":"MessageNotInflight",
41
+ "error":{
42
+ "code":"AWS.SimpleQueueService.MessageNotInflight",
43
+ "httpStatusCode":400,
44
+ "senderFault":true
45
+ },
46
+ "exception":true
47
+ },
48
+ {
49
+ "shape":"ReceiptHandleIsInvalid",
50
+ "exception":true
51
+ }
52
+ ]
53
+ },
54
+ "ChangeMessageVisibilityBatch":{
55
+ "name":"ChangeMessageVisibilityBatch",
56
+ "http":{
57
+ "method":"POST",
58
+ "requestUri":"/"
59
+ },
60
+ "input":{"shape":"ChangeMessageVisibilityBatchRequest"},
61
+ "output":{
62
+ "shape":"ChangeMessageVisibilityBatchResult",
63
+ "resultWrapper":"ChangeMessageVisibilityBatchResult"
64
+ },
65
+ "errors":[
66
+ {
67
+ "shape":"TooManyEntriesInBatchRequest",
68
+ "error":{
69
+ "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
70
+ "httpStatusCode":400,
71
+ "senderFault":true
72
+ },
73
+ "exception":true
74
+ },
75
+ {
76
+ "shape":"EmptyBatchRequest",
77
+ "error":{
78
+ "code":"AWS.SimpleQueueService.EmptyBatchRequest",
79
+ "httpStatusCode":400,
80
+ "senderFault":true
81
+ },
82
+ "exception":true
83
+ },
84
+ {
85
+ "shape":"BatchEntryIdsNotDistinct",
86
+ "error":{
87
+ "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
88
+ "httpStatusCode":400,
89
+ "senderFault":true
90
+ },
91
+ "exception":true
92
+ },
93
+ {
94
+ "shape":"InvalidBatchEntryId",
95
+ "error":{
96
+ "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
97
+ "httpStatusCode":400,
98
+ "senderFault":true
99
+ },
100
+ "exception":true
101
+ }
102
+ ]
103
+ },
104
+ "CreateQueue":{
105
+ "name":"CreateQueue",
106
+ "http":{
107
+ "method":"POST",
108
+ "requestUri":"/"
109
+ },
110
+ "input":{"shape":"CreateQueueRequest"},
111
+ "output":{
112
+ "shape":"CreateQueueResult",
113
+ "resultWrapper":"CreateQueueResult"
114
+ },
115
+ "errors":[
116
+ {
117
+ "shape":"QueueDeletedRecently",
118
+ "error":{
119
+ "code":"AWS.SimpleQueueService.QueueDeletedRecently",
120
+ "httpStatusCode":400,
121
+ "senderFault":true
122
+ },
123
+ "exception":true
124
+ },
125
+ {
126
+ "shape":"QueueNameExists",
127
+ "error":{
128
+ "code":"QueueAlreadyExists",
129
+ "httpStatusCode":400,
130
+ "senderFault":true
131
+ },
132
+ "exception":true
133
+ }
134
+ ]
135
+ },
136
+ "DeleteMessage":{
137
+ "name":"DeleteMessage",
138
+ "http":{
139
+ "method":"POST",
140
+ "requestUri":"/"
141
+ },
142
+ "input":{"shape":"DeleteMessageRequest"},
143
+ "errors":[
144
+ {
145
+ "shape":"InvalidIdFormat",
146
+ "exception":true
147
+ },
148
+ {
149
+ "shape":"ReceiptHandleIsInvalid",
150
+ "exception":true
151
+ }
152
+ ]
153
+ },
154
+ "DeleteMessageBatch":{
155
+ "name":"DeleteMessageBatch",
156
+ "http":{
157
+ "method":"POST",
158
+ "requestUri":"/"
159
+ },
160
+ "input":{"shape":"DeleteMessageBatchRequest"},
161
+ "output":{
162
+ "shape":"DeleteMessageBatchResult",
163
+ "resultWrapper":"DeleteMessageBatchResult"
164
+ },
165
+ "errors":[
166
+ {
167
+ "shape":"TooManyEntriesInBatchRequest",
168
+ "error":{
169
+ "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
170
+ "httpStatusCode":400,
171
+ "senderFault":true
172
+ },
173
+ "exception":true
174
+ },
175
+ {
176
+ "shape":"EmptyBatchRequest",
177
+ "error":{
178
+ "code":"AWS.SimpleQueueService.EmptyBatchRequest",
179
+ "httpStatusCode":400,
180
+ "senderFault":true
181
+ },
182
+ "exception":true
183
+ },
184
+ {
185
+ "shape":"BatchEntryIdsNotDistinct",
186
+ "error":{
187
+ "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
188
+ "httpStatusCode":400,
189
+ "senderFault":true
190
+ },
191
+ "exception":true
192
+ },
193
+ {
194
+ "shape":"InvalidBatchEntryId",
195
+ "error":{
196
+ "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
197
+ "httpStatusCode":400,
198
+ "senderFault":true
199
+ },
200
+ "exception":true
201
+ }
202
+ ]
203
+ },
204
+ "DeleteQueue":{
205
+ "name":"DeleteQueue",
206
+ "http":{
207
+ "method":"POST",
208
+ "requestUri":"/"
209
+ },
210
+ "input":{"shape":"DeleteQueueRequest"}
211
+ },
212
+ "GetQueueAttributes":{
213
+ "name":"GetQueueAttributes",
214
+ "http":{
215
+ "method":"POST",
216
+ "requestUri":"/"
217
+ },
218
+ "input":{"shape":"GetQueueAttributesRequest"},
219
+ "output":{
220
+ "shape":"GetQueueAttributesResult",
221
+ "resultWrapper":"GetQueueAttributesResult"
222
+ },
223
+ "errors":[
224
+ {
225
+ "shape":"InvalidAttributeName",
226
+ "exception":true
227
+ }
228
+ ]
229
+ },
230
+ "GetQueueUrl":{
231
+ "name":"GetQueueUrl",
232
+ "http":{
233
+ "method":"POST",
234
+ "requestUri":"/"
235
+ },
236
+ "input":{"shape":"GetQueueUrlRequest"},
237
+ "output":{
238
+ "shape":"GetQueueUrlResult",
239
+ "resultWrapper":"GetQueueUrlResult"
240
+ },
241
+ "errors":[
242
+ {
243
+ "shape":"QueueDoesNotExist",
244
+ "error":{
245
+ "code":"AWS.SimpleQueueService.NonExistentQueue",
246
+ "httpStatusCode":400,
247
+ "senderFault":true
248
+ },
249
+ "exception":true
250
+ }
251
+ ]
252
+ },
253
+ "ListDeadLetterSourceQueues":{
254
+ "name":"ListDeadLetterSourceQueues",
255
+ "http":{
256
+ "method":"POST",
257
+ "requestUri":"/"
258
+ },
259
+ "input":{"shape":"ListDeadLetterSourceQueuesRequest"},
260
+ "output":{
261
+ "shape":"ListDeadLetterSourceQueuesResult",
262
+ "resultWrapper":"ListDeadLetterSourceQueuesResult"
263
+ },
264
+ "errors":[
265
+ {
266
+ "shape":"QueueDoesNotExist",
267
+ "error":{
268
+ "code":"AWS.SimpleQueueService.NonExistentQueue",
269
+ "httpStatusCode":400,
270
+ "senderFault":true
271
+ },
272
+ "exception":true
273
+ }
274
+ ]
275
+ },
276
+ "ListQueues":{
277
+ "name":"ListQueues",
278
+ "http":{
279
+ "method":"POST",
280
+ "requestUri":"/"
281
+ },
282
+ "input":{"shape":"ListQueuesRequest"},
283
+ "output":{
284
+ "shape":"ListQueuesResult",
285
+ "resultWrapper":"ListQueuesResult"
286
+ }
287
+ },
288
+ "ReceiveMessage":{
289
+ "name":"ReceiveMessage",
290
+ "http":{
291
+ "method":"POST",
292
+ "requestUri":"/"
293
+ },
294
+ "input":{"shape":"ReceiveMessageRequest"},
295
+ "output":{
296
+ "shape":"ReceiveMessageResult",
297
+ "resultWrapper":"ReceiveMessageResult"
298
+ },
299
+ "errors":[
300
+ {
301
+ "shape":"OverLimit",
302
+ "error":{
303
+ "code":"OverLimit",
304
+ "httpStatusCode":403,
305
+ "senderFault":true
306
+ },
307
+ "exception":true
308
+ }
309
+ ]
310
+ },
311
+ "RemovePermission":{
312
+ "name":"RemovePermission",
313
+ "http":{
314
+ "method":"POST",
315
+ "requestUri":"/"
316
+ },
317
+ "input":{"shape":"RemovePermissionRequest"}
318
+ },
319
+ "SendMessage":{
320
+ "name":"SendMessage",
321
+ "http":{
322
+ "method":"POST",
323
+ "requestUri":"/"
324
+ },
325
+ "input":{"shape":"SendMessageRequest"},
326
+ "output":{
327
+ "shape":"SendMessageResult",
328
+ "resultWrapper":"SendMessageResult"
329
+ },
330
+ "errors":[
331
+ {
332
+ "shape":"InvalidMessageContents",
333
+ "exception":true
334
+ },
335
+ {
336
+ "shape":"UnsupportedOperation",
337
+ "error":{
338
+ "code":"AWS.SimpleQueueService.UnsupportedOperation",
339
+ "httpStatusCode":400,
340
+ "senderFault":true
341
+ },
342
+ "exception":true
343
+ }
344
+ ]
345
+ },
346
+ "SendMessageBatch":{
347
+ "name":"SendMessageBatch",
348
+ "http":{
349
+ "method":"POST",
350
+ "requestUri":"/"
351
+ },
352
+ "input":{"shape":"SendMessageBatchRequest"},
353
+ "output":{
354
+ "shape":"SendMessageBatchResult",
355
+ "resultWrapper":"SendMessageBatchResult"
356
+ },
357
+ "errors":[
358
+ {
359
+ "shape":"TooManyEntriesInBatchRequest",
360
+ "error":{
361
+ "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
362
+ "httpStatusCode":400,
363
+ "senderFault":true
364
+ },
365
+ "exception":true
366
+ },
367
+ {
368
+ "shape":"EmptyBatchRequest",
369
+ "error":{
370
+ "code":"AWS.SimpleQueueService.EmptyBatchRequest",
371
+ "httpStatusCode":400,
372
+ "senderFault":true
373
+ },
374
+ "exception":true
375
+ },
376
+ {
377
+ "shape":"BatchEntryIdsNotDistinct",
378
+ "error":{
379
+ "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
380
+ "httpStatusCode":400,
381
+ "senderFault":true
382
+ },
383
+ "exception":true
384
+ },
385
+ {
386
+ "shape":"BatchRequestTooLong",
387
+ "error":{
388
+ "code":"AWS.SimpleQueueService.BatchRequestTooLong",
389
+ "httpStatusCode":400,
390
+ "senderFault":true
391
+ },
392
+ "exception":true
393
+ },
394
+ {
395
+ "shape":"InvalidBatchEntryId",
396
+ "error":{
397
+ "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
398
+ "httpStatusCode":400,
399
+ "senderFault":true
400
+ },
401
+ "exception":true
402
+ },
403
+ {
404
+ "shape":"UnsupportedOperation",
405
+ "error":{
406
+ "code":"AWS.SimpleQueueService.UnsupportedOperation",
407
+ "httpStatusCode":400,
408
+ "senderFault":true
409
+ },
410
+ "exception":true
411
+ }
412
+ ]
413
+ },
414
+ "SetQueueAttributes":{
415
+ "name":"SetQueueAttributes",
416
+ "http":{
417
+ "method":"POST",
418
+ "requestUri":"/"
419
+ },
420
+ "input":{"shape":"SetQueueAttributesRequest"},
421
+ "errors":[
422
+ {
423
+ "shape":"InvalidAttributeName",
424
+ "exception":true
425
+ }
426
+ ]
427
+ }
428
+ },
429
+ "shapes":{
430
+ "AWSAccountIdList":{
431
+ "type":"list",
432
+ "member":{
433
+ "shape":"String",
434
+ "locationName":"AWSAccountId"
435
+ },
436
+ "flattened":true
437
+ },
438
+ "ActionNameList":{
439
+ "type":"list",
440
+ "member":{
441
+ "shape":"String",
442
+ "locationName":"ActionName"
443
+ },
444
+ "flattened":true
445
+ },
446
+ "AddPermissionRequest":{
447
+ "type":"structure",
448
+ "required":[
449
+ "QueueUrl",
450
+ "Label",
451
+ "AWSAccountIds",
452
+ "Actions"
453
+ ],
454
+ "members":{
455
+ "QueueUrl":{"shape":"String"},
456
+ "Label":{"shape":"String"},
457
+ "AWSAccountIds":{"shape":"AWSAccountIdList"},
458
+ "Actions":{"shape":"ActionNameList"}
459
+ }
460
+ },
461
+ "AttributeMap":{
462
+ "type":"map",
463
+ "key":{
464
+ "shape":"QueueAttributeName",
465
+ "locationName":"Name"
466
+ },
467
+ "value":{
468
+ "shape":"String",
469
+ "locationName":"Value"
470
+ },
471
+ "flattened":true,
472
+ "locationName":"Attribute"
473
+ },
474
+ "AttributeNameList":{
475
+ "type":"list",
476
+ "member":{
477
+ "shape":"QueueAttributeName",
478
+ "locationName":"AttributeName"
479
+ },
480
+ "flattened":true
481
+ },
482
+ "BatchEntryIdsNotDistinct":{
483
+ "type":"structure",
484
+ "members":{
485
+ },
486
+ "error":{
487
+ "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
488
+ "httpStatusCode":400,
489
+ "senderFault":true
490
+ },
491
+ "exception":true
492
+ },
493
+ "BatchRequestTooLong":{
494
+ "type":"structure",
495
+ "members":{
496
+ },
497
+ "error":{
498
+ "code":"AWS.SimpleQueueService.BatchRequestTooLong",
499
+ "httpStatusCode":400,
500
+ "senderFault":true
501
+ },
502
+ "exception":true
503
+ },
504
+ "BatchResultErrorEntry":{
505
+ "type":"structure",
506
+ "required":[
507
+ "Id",
508
+ "SenderFault",
509
+ "Code"
510
+ ],
511
+ "members":{
512
+ "Id":{"shape":"String"},
513
+ "SenderFault":{"shape":"Boolean"},
514
+ "Code":{"shape":"String"},
515
+ "Message":{"shape":"String"}
516
+ }
517
+ },
518
+ "BatchResultErrorEntryList":{
519
+ "type":"list",
520
+ "member":{
521
+ "shape":"BatchResultErrorEntry",
522
+ "locationName":"BatchResultErrorEntry"
523
+ },
524
+ "flattened":true
525
+ },
526
+ "Binary":{"type":"blob"},
527
+ "BinaryList":{
528
+ "type":"list",
529
+ "member":{
530
+ "shape":"Binary",
531
+ "locationName":"BinaryListValue"
532
+ }
533
+ },
534
+ "Boolean":{"type":"boolean"},
535
+ "ChangeMessageVisibilityBatchRequest":{
536
+ "type":"structure",
537
+ "required":[
538
+ "QueueUrl",
539
+ "Entries"
540
+ ],
541
+ "members":{
542
+ "QueueUrl":{"shape":"String"},
543
+ "Entries":{"shape":"ChangeMessageVisibilityBatchRequestEntryList"}
544
+ }
545
+ },
546
+ "ChangeMessageVisibilityBatchRequestEntry":{
547
+ "type":"structure",
548
+ "required":[
549
+ "Id",
550
+ "ReceiptHandle"
551
+ ],
552
+ "members":{
553
+ "Id":{"shape":"String"},
554
+ "ReceiptHandle":{"shape":"String"},
555
+ "VisibilityTimeout":{"shape":"Integer"}
556
+ }
557
+ },
558
+ "ChangeMessageVisibilityBatchRequestEntryList":{
559
+ "type":"list",
560
+ "member":{
561
+ "shape":"ChangeMessageVisibilityBatchRequestEntry",
562
+ "locationName":"ChangeMessageVisibilityBatchRequestEntry"
563
+ },
564
+ "flattened":true
565
+ },
566
+ "ChangeMessageVisibilityBatchResult":{
567
+ "type":"structure",
568
+ "required":[
569
+ "Successful",
570
+ "Failed"
571
+ ],
572
+ "members":{
573
+ "Successful":{"shape":"ChangeMessageVisibilityBatchResultEntryList"},
574
+ "Failed":{"shape":"BatchResultErrorEntryList"}
575
+ }
576
+ },
577
+ "ChangeMessageVisibilityBatchResultEntry":{
578
+ "type":"structure",
579
+ "required":["Id"],
580
+ "members":{
581
+ "Id":{"shape":"String"}
582
+ }
583
+ },
584
+ "ChangeMessageVisibilityBatchResultEntryList":{
585
+ "type":"list",
586
+ "member":{
587
+ "shape":"ChangeMessageVisibilityBatchResultEntry",
588
+ "locationName":"ChangeMessageVisibilityBatchResultEntry"
589
+ },
590
+ "flattened":true
591
+ },
592
+ "ChangeMessageVisibilityRequest":{
593
+ "type":"structure",
594
+ "required":[
595
+ "QueueUrl",
596
+ "ReceiptHandle",
597
+ "VisibilityTimeout"
598
+ ],
599
+ "members":{
600
+ "QueueUrl":{"shape":"String"},
601
+ "ReceiptHandle":{"shape":"String"},
602
+ "VisibilityTimeout":{"shape":"Integer"}
603
+ }
604
+ },
605
+ "CreateQueueRequest":{
606
+ "type":"structure",
607
+ "required":["QueueName"],
608
+ "members":{
609
+ "QueueName":{"shape":"String"},
610
+ "Attributes":{
611
+ "shape":"AttributeMap",
612
+ "locationName":"Attribute"
613
+ }
614
+ }
615
+ },
616
+ "CreateQueueResult":{
617
+ "type":"structure",
618
+ "members":{
619
+ "QueueUrl":{"shape":"String"}
620
+ }
621
+ },
622
+ "DeleteMessageBatchRequest":{
623
+ "type":"structure",
624
+ "required":[
625
+ "QueueUrl",
626
+ "Entries"
627
+ ],
628
+ "members":{
629
+ "QueueUrl":{"shape":"String"},
630
+ "Entries":{"shape":"DeleteMessageBatchRequestEntryList"}
631
+ }
632
+ },
633
+ "DeleteMessageBatchRequestEntry":{
634
+ "type":"structure",
635
+ "required":[
636
+ "Id",
637
+ "ReceiptHandle"
638
+ ],
639
+ "members":{
640
+ "Id":{"shape":"String"},
641
+ "ReceiptHandle":{"shape":"String"}
642
+ }
643
+ },
644
+ "DeleteMessageBatchRequestEntryList":{
645
+ "type":"list",
646
+ "member":{
647
+ "shape":"DeleteMessageBatchRequestEntry",
648
+ "locationName":"DeleteMessageBatchRequestEntry"
649
+ },
650
+ "flattened":true
651
+ },
652
+ "DeleteMessageBatchResult":{
653
+ "type":"structure",
654
+ "required":[
655
+ "Successful",
656
+ "Failed"
657
+ ],
658
+ "members":{
659
+ "Successful":{"shape":"DeleteMessageBatchResultEntryList"},
660
+ "Failed":{"shape":"BatchResultErrorEntryList"}
661
+ }
662
+ },
663
+ "DeleteMessageBatchResultEntry":{
664
+ "type":"structure",
665
+ "required":["Id"],
666
+ "members":{
667
+ "Id":{"shape":"String"}
668
+ }
669
+ },
670
+ "DeleteMessageBatchResultEntryList":{
671
+ "type":"list",
672
+ "member":{
673
+ "shape":"DeleteMessageBatchResultEntry",
674
+ "locationName":"DeleteMessageBatchResultEntry"
675
+ },
676
+ "flattened":true
677
+ },
678
+ "DeleteMessageRequest":{
679
+ "type":"structure",
680
+ "required":[
681
+ "QueueUrl",
682
+ "ReceiptHandle"
683
+ ],
684
+ "members":{
685
+ "QueueUrl":{"shape":"String"},
686
+ "ReceiptHandle":{"shape":"String"}
687
+ }
688
+ },
689
+ "DeleteQueueRequest":{
690
+ "type":"structure",
691
+ "required":["QueueUrl"],
692
+ "members":{
693
+ "QueueUrl":{"shape":"String"}
694
+ }
695
+ },
696
+ "EmptyBatchRequest":{
697
+ "type":"structure",
698
+ "members":{
699
+ },
700
+ "error":{
701
+ "code":"AWS.SimpleQueueService.EmptyBatchRequest",
702
+ "httpStatusCode":400,
703
+ "senderFault":true
704
+ },
705
+ "exception":true
706
+ },
707
+ "GetQueueAttributesRequest":{
708
+ "type":"structure",
709
+ "required":["QueueUrl"],
710
+ "members":{
711
+ "QueueUrl":{"shape":"String"},
712
+ "AttributeNames":{"shape":"AttributeNameList"}
713
+ }
714
+ },
715
+ "GetQueueAttributesResult":{
716
+ "type":"structure",
717
+ "members":{
718
+ "Attributes":{
719
+ "shape":"AttributeMap",
720
+ "locationName":"Attribute"
721
+ }
722
+ }
723
+ },
724
+ "GetQueueUrlRequest":{
725
+ "type":"structure",
726
+ "required":["QueueName"],
727
+ "members":{
728
+ "QueueName":{"shape":"String"},
729
+ "QueueOwnerAWSAccountId":{"shape":"String"}
730
+ }
731
+ },
732
+ "GetQueueUrlResult":{
733
+ "type":"structure",
734
+ "members":{
735
+ "QueueUrl":{"shape":"String"}
736
+ }
737
+ },
738
+ "Integer":{"type":"integer"},
739
+ "InvalidAttributeName":{
740
+ "type":"structure",
741
+ "members":{
742
+ },
743
+ "exception":true
744
+ },
745
+ "InvalidBatchEntryId":{
746
+ "type":"structure",
747
+ "members":{
748
+ },
749
+ "error":{
750
+ "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
751
+ "httpStatusCode":400,
752
+ "senderFault":true
753
+ },
754
+ "exception":true
755
+ },
756
+ "InvalidIdFormat":{
757
+ "type":"structure",
758
+ "members":{
759
+ },
760
+ "exception":true
761
+ },
762
+ "InvalidMessageContents":{
763
+ "type":"structure",
764
+ "members":{
765
+ },
766
+ "exception":true
767
+ },
768
+ "ListDeadLetterSourceQueuesRequest":{
769
+ "type":"structure",
770
+ "required":["QueueUrl"],
771
+ "members":{
772
+ "QueueUrl":{"shape":"String"}
773
+ }
774
+ },
775
+ "ListDeadLetterSourceQueuesResult":{
776
+ "type":"structure",
777
+ "required":["queueUrls"],
778
+ "members":{
779
+ "queueUrls":{"shape":"QueueUrlList"}
780
+ }
781
+ },
782
+ "ListQueuesRequest":{
783
+ "type":"structure",
784
+ "members":{
785
+ "QueueNamePrefix":{"shape":"String"}
786
+ }
787
+ },
788
+ "ListQueuesResult":{
789
+ "type":"structure",
790
+ "members":{
791
+ "QueueUrls":{"shape":"QueueUrlList"}
792
+ }
793
+ },
794
+ "Message":{
795
+ "type":"structure",
796
+ "members":{
797
+ "MessageId":{"shape":"String"},
798
+ "ReceiptHandle":{"shape":"String"},
799
+ "MD5OfBody":{"shape":"String"},
800
+ "Body":{"shape":"String"},
801
+ "Attributes":{
802
+ "shape":"AttributeMap",
803
+ "locationName":"Attribute"
804
+ },
805
+ "MD5OfMessageAttributes":{"shape":"String"},
806
+ "MessageAttributes":{
807
+ "shape":"MessageAttributeMap",
808
+ "locationName":"MessageAttribute"
809
+ }
810
+ }
811
+ },
812
+ "MessageAttributeMap":{
813
+ "type":"map",
814
+ "key":{
815
+ "shape":"String",
816
+ "locationName":"Name"
817
+ },
818
+ "value":{
819
+ "shape":"MessageAttributeValue",
820
+ "locationName":"Value"
821
+ },
822
+ "flattened":true
823
+ },
824
+ "MessageAttributeName":{"type":"string"},
825
+ "MessageAttributeNameList":{
826
+ "type":"list",
827
+ "member":{
828
+ "shape":"MessageAttributeName",
829
+ "locationName":"MessageAttributeName"
830
+ },
831
+ "flattened":true
832
+ },
833
+ "MessageAttributeValue":{
834
+ "type":"structure",
835
+ "required":["DataType"],
836
+ "members":{
837
+ "StringValue":{"shape":"String"},
838
+ "BinaryValue":{"shape":"Binary"},
839
+ "StringListValues":{
840
+ "shape":"StringList",
841
+ "flattened":true,
842
+ "locationName":"StringListValue"
843
+ },
844
+ "BinaryListValues":{
845
+ "shape":"BinaryList",
846
+ "flattened":true,
847
+ "locationName":"BinaryListValue"
848
+ },
849
+ "DataType":{"shape":"String"}
850
+ }
851
+ },
852
+ "MessageList":{
853
+ "type":"list",
854
+ "member":{
855
+ "shape":"Message",
856
+ "locationName":"Message"
857
+ },
858
+ "flattened":true
859
+ },
860
+ "MessageNotInflight":{
861
+ "type":"structure",
862
+ "members":{
863
+ },
864
+ "error":{
865
+ "code":"AWS.SimpleQueueService.MessageNotInflight",
866
+ "httpStatusCode":400,
867
+ "senderFault":true
868
+ },
869
+ "exception":true
870
+ },
871
+ "OverLimit":{
872
+ "type":"structure",
873
+ "members":{
874
+ },
875
+ "error":{
876
+ "code":"OverLimit",
877
+ "httpStatusCode":403,
878
+ "senderFault":true
879
+ },
880
+ "exception":true
881
+ },
882
+ "QueueAttributeName":{
883
+ "type":"string",
884
+ "enum":[
885
+ "Policy",
886
+ "VisibilityTimeout",
887
+ "MaximumMessageSize",
888
+ "MessageRetentionPeriod",
889
+ "ApproximateNumberOfMessages",
890
+ "ApproximateNumberOfMessagesNotVisible",
891
+ "CreatedTimestamp",
892
+ "LastModifiedTimestamp",
893
+ "QueueArn",
894
+ "ApproximateNumberOfMessagesDelayed",
895
+ "DelaySeconds",
896
+ "ReceiveMessageWaitTimeSeconds",
897
+ "RedrivePolicy"
898
+ ]
899
+ },
900
+ "QueueDeletedRecently":{
901
+ "type":"structure",
902
+ "members":{
903
+ },
904
+ "error":{
905
+ "code":"AWS.SimpleQueueService.QueueDeletedRecently",
906
+ "httpStatusCode":400,
907
+ "senderFault":true
908
+ },
909
+ "exception":true
910
+ },
911
+ "QueueDoesNotExist":{
912
+ "type":"structure",
913
+ "members":{
914
+ },
915
+ "error":{
916
+ "code":"AWS.SimpleQueueService.NonExistentQueue",
917
+ "httpStatusCode":400,
918
+ "senderFault":true
919
+ },
920
+ "exception":true
921
+ },
922
+ "QueueNameExists":{
923
+ "type":"structure",
924
+ "members":{
925
+ },
926
+ "error":{
927
+ "code":"QueueAlreadyExists",
928
+ "httpStatusCode":400,
929
+ "senderFault":true
930
+ },
931
+ "exception":true
932
+ },
933
+ "QueueUrlList":{
934
+ "type":"list",
935
+ "member":{
936
+ "shape":"String",
937
+ "locationName":"QueueUrl"
938
+ },
939
+ "flattened":true
940
+ },
941
+ "ReceiptHandleIsInvalid":{
942
+ "type":"structure",
943
+ "members":{
944
+ },
945
+ "exception":true
946
+ },
947
+ "ReceiveMessageRequest":{
948
+ "type":"structure",
949
+ "required":["QueueUrl"],
950
+ "members":{
951
+ "QueueUrl":{"shape":"String"},
952
+ "AttributeNames":{"shape":"AttributeNameList"},
953
+ "MessageAttributeNames":{"shape":"MessageAttributeNameList"},
954
+ "MaxNumberOfMessages":{"shape":"Integer"},
955
+ "VisibilityTimeout":{"shape":"Integer"},
956
+ "WaitTimeSeconds":{"shape":"Integer"}
957
+ }
958
+ },
959
+ "ReceiveMessageResult":{
960
+ "type":"structure",
961
+ "members":{
962
+ "Messages":{"shape":"MessageList"}
963
+ }
964
+ },
965
+ "RemovePermissionRequest":{
966
+ "type":"structure",
967
+ "required":[
968
+ "QueueUrl",
969
+ "Label"
970
+ ],
971
+ "members":{
972
+ "QueueUrl":{"shape":"String"},
973
+ "Label":{"shape":"String"}
974
+ }
975
+ },
976
+ "SendMessageBatchRequest":{
977
+ "type":"structure",
978
+ "required":[
979
+ "QueueUrl",
980
+ "Entries"
981
+ ],
982
+ "members":{
983
+ "QueueUrl":{"shape":"String"},
984
+ "Entries":{"shape":"SendMessageBatchRequestEntryList"}
985
+ }
986
+ },
987
+ "SendMessageBatchRequestEntry":{
988
+ "type":"structure",
989
+ "required":[
990
+ "Id",
991
+ "MessageBody"
992
+ ],
993
+ "members":{
994
+ "Id":{"shape":"String"},
995
+ "MessageBody":{"shape":"String"},
996
+ "DelaySeconds":{"shape":"Integer"},
997
+ "MessageAttributes":{
998
+ "shape":"MessageAttributeMap",
999
+ "locationName":"MessageAttribute"
1000
+ }
1001
+ }
1002
+ },
1003
+ "SendMessageBatchRequestEntryList":{
1004
+ "type":"list",
1005
+ "member":{
1006
+ "shape":"SendMessageBatchRequestEntry",
1007
+ "locationName":"SendMessageBatchRequestEntry"
1008
+ },
1009
+ "flattened":true
1010
+ },
1011
+ "SendMessageBatchResult":{
1012
+ "type":"structure",
1013
+ "required":[
1014
+ "Successful",
1015
+ "Failed"
1016
+ ],
1017
+ "members":{
1018
+ "Successful":{"shape":"SendMessageBatchResultEntryList"},
1019
+ "Failed":{"shape":"BatchResultErrorEntryList"}
1020
+ }
1021
+ },
1022
+ "SendMessageBatchResultEntry":{
1023
+ "type":"structure",
1024
+ "required":[
1025
+ "Id",
1026
+ "MessageId",
1027
+ "MD5OfMessageBody"
1028
+ ],
1029
+ "members":{
1030
+ "Id":{"shape":"String"},
1031
+ "MessageId":{"shape":"String"},
1032
+ "MD5OfMessageBody":{"shape":"String"},
1033
+ "MD5OfMessageAttributes":{"shape":"String"}
1034
+ }
1035
+ },
1036
+ "SendMessageBatchResultEntryList":{
1037
+ "type":"list",
1038
+ "member":{
1039
+ "shape":"SendMessageBatchResultEntry",
1040
+ "locationName":"SendMessageBatchResultEntry"
1041
+ },
1042
+ "flattened":true
1043
+ },
1044
+ "SendMessageRequest":{
1045
+ "type":"structure",
1046
+ "required":[
1047
+ "QueueUrl",
1048
+ "MessageBody"
1049
+ ],
1050
+ "members":{
1051
+ "QueueUrl":{"shape":"String"},
1052
+ "MessageBody":{"shape":"String"},
1053
+ "DelaySeconds":{"shape":"Integer"},
1054
+ "MessageAttributes":{
1055
+ "shape":"MessageAttributeMap",
1056
+ "locationName":"MessageAttribute"
1057
+ }
1058
+ }
1059
+ },
1060
+ "SendMessageResult":{
1061
+ "type":"structure",
1062
+ "members":{
1063
+ "MD5OfMessageBody":{"shape":"String"},
1064
+ "MD5OfMessageAttributes":{"shape":"String"},
1065
+ "MessageId":{"shape":"String"}
1066
+ }
1067
+ },
1068
+ "SetQueueAttributesRequest":{
1069
+ "type":"structure",
1070
+ "required":[
1071
+ "QueueUrl",
1072
+ "Attributes"
1073
+ ],
1074
+ "members":{
1075
+ "QueueUrl":{"shape":"String"},
1076
+ "Attributes":{
1077
+ "shape":"AttributeMap",
1078
+ "locationName":"Attribute"
1079
+ }
1080
+ }
1081
+ },
1082
+ "String":{"type":"string"},
1083
+ "StringList":{
1084
+ "type":"list",
1085
+ "member":{
1086
+ "shape":"String",
1087
+ "locationName":"StringListValue"
1088
+ }
1089
+ },
1090
+ "TooManyEntriesInBatchRequest":{
1091
+ "type":"structure",
1092
+ "members":{
1093
+ },
1094
+ "error":{
1095
+ "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
1096
+ "httpStatusCode":400,
1097
+ "senderFault":true
1098
+ },
1099
+ "exception":true
1100
+ },
1101
+ "UnsupportedOperation":{
1102
+ "type":"structure",
1103
+ "members":{
1104
+ },
1105
+ "error":{
1106
+ "code":"AWS.SimpleQueueService.UnsupportedOperation",
1107
+ "httpStatusCode":400,
1108
+ "senderFault":true
1109
+ },
1110
+ "exception":true
1111
+ }
1112
+ }
1113
+ }