aws-sdk-core 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/.simplecov +6 -0
  4. data/.travis.yml +12 -0
  5. data/.yardopts +11 -0
  6. data/Gemfile +26 -0
  7. data/LICENSE.txt +12 -0
  8. data/README.md +169 -0
  9. data/Rakefile +15 -0
  10. data/apis/AutoScaling-2011-01-01.json +1852 -0
  11. data/apis/CloudFormation-2010-05-15.json +981 -0
  12. data/apis/CloudFront-2012-05-05.json +3861 -0
  13. data/apis/CloudFront-2013-05-12.json +4593 -0
  14. data/apis/CloudFront-2013-08-26.json +4849 -0
  15. data/apis/CloudSearch-2011-02-01.json +2080 -0
  16. data/apis/CloudWatch-2010-08-01.json +1206 -0
  17. data/apis/DataPipeline-2012-10-29.json +901 -0
  18. data/apis/DirectConnect-2012-10-25.json +825 -0
  19. data/apis/DynamoDB-2011-12-05.json +2857 -0
  20. data/apis/DynamoDB-2012-08-10.json +3127 -0
  21. data/apis/EC2-2013-06-15.json +13600 -0
  22. data/apis/EC2-2013-10-01.json +14574 -0
  23. data/apis/EMR-2009-03-31.json +957 -0
  24. data/apis/ElastiCache-2012-11-15.json +2921 -0
  25. data/apis/ElastiCache-2013-06-15.json +3586 -0
  26. data/apis/ElasticBeanstalk-2010-12-01.json +2225 -0
  27. data/apis/ElasticLoadBalancing-2012-06-01.json +1215 -0
  28. data/apis/ElasticTranscoder-2012-09-25.json +3692 -0
  29. data/apis/Glacier-2012-06-01.json +1058 -0
  30. data/apis/IAM-2010-05-08.json +2863 -0
  31. data/apis/ImportExport-2010-06-01.json +328 -0
  32. data/apis/OpsWorks-2013-02-18.json +3546 -0
  33. data/apis/RDS-2013-01-10.json +6772 -0
  34. data/apis/RDS-2013-02-12.json +7151 -0
  35. data/apis/RDS-2013-05-15.json +7809 -0
  36. data/apis/Redshift-2012-12-01.json +4180 -0
  37. data/apis/Route53-2012-12-12.json +1018 -0
  38. data/apis/S3-2006-03-01.json +3787 -0
  39. data/apis/SDB-2009-04-15.json +539 -0
  40. data/apis/SES-2010-12-01.json +678 -0
  41. data/apis/SNS-2010-03-31.json +870 -0
  42. data/apis/SQS-2012-11-05.json +798 -0
  43. data/apis/STS-2011-06-15.json +352 -0
  44. data/apis/SWF-2012-01-25.json +5451 -0
  45. data/apis/StorageGateway-2012-06-30.json +1696 -0
  46. data/apis/Support-2013-04-15.json +794 -0
  47. data/apis/configuration/endpoints.json +1337 -0
  48. data/apis/source/autoscaling-2011-01-01.json +3215 -0
  49. data/apis/source/autoscaling-2011-01-01.paginators.json +52 -0
  50. data/apis/source/cloudformation-2010-05-15.json +1260 -0
  51. data/apis/source/cloudformation-2010-05-15.paginators.json +24 -0
  52. data/apis/source/cloudfront-2012-05-05.json +6588 -0
  53. data/apis/source/cloudfront-2012-05-05.paginators.json +28 -0
  54. data/apis/source/cloudfront-2013-05-12.json +7614 -0
  55. data/apis/source/cloudfront-2013-05-12.paginators.json +28 -0
  56. data/apis/source/cloudfront-2013-08-26.json +8016 -0
  57. data/apis/source/cloudfront-2013-08-26.paginators.json +28 -0
  58. data/apis/source/cloudsearch-2011-02-01.json +3585 -0
  59. data/apis/source/cloudsearch-2011-02-01.paginators.json +13 -0
  60. data/apis/source/datapipeline-2012-10-29.json +2144 -0
  61. data/apis/source/datapipeline-2012-10-29.paginators.json +25 -0
  62. data/apis/source/directconnect-2012-10-25.json +1271 -0
  63. data/apis/source/directconnect-2012-10-25.paginators.json +16 -0
  64. data/apis/source/dynamodb-2011-12-05.json +4380 -0
  65. data/apis/source/dynamodb-2011-12-05.paginators.json +24 -0
  66. data/apis/source/dynamodb-2012-08-10.json +4839 -0
  67. data/apis/source/dynamodb-2012-08-10.paginators.json +24 -0
  68. data/apis/source/ec2-2013-02-01.json +18820 -0
  69. data/apis/source/ec2-2013-02-01.paginators.json +115 -0
  70. data/apis/source/ec2-2013-06-15.json +18820 -0
  71. data/apis/source/ec2-2013-06-15.paginators.json +115 -0
  72. data/apis/source/ec2-2013-10-01.json +19885 -0
  73. data/apis/source/ec2-2013-10-01.paginators.json +115 -0
  74. data/apis/source/elasticache-2012-11-15.json +4403 -0
  75. data/apis/source/elasticache-2012-11-15.paginators.json +64 -0
  76. data/apis/source/elasticache-2013-06-15.json +5421 -0
  77. data/apis/source/elasticache-2013-06-15.paginators.json +64 -0
  78. data/apis/source/elasticbeanstalk-2010-12-01.json +3151 -0
  79. data/apis/source/elasticbeanstalk-2010-12-01.paginators.json +25 -0
  80. data/apis/source/elasticloadbalancing-2012-06-01.json +2041 -0
  81. data/apis/source/elasticloadbalancing-2012-06-01.paginators.json +18 -0
  82. data/apis/source/elasticmapreduce-2009-03-31.json +1478 -0
  83. data/apis/source/elasticmapreduce-2009-03-31.paginators.json +7 -0
  84. data/apis/source/elastictranscoder-2012-09-25.json +6148 -0
  85. data/apis/source/elastictranscoder-2012-09-25.paginators.json +20 -0
  86. data/apis/source/email-2010-12-01.json +892 -0
  87. data/apis/source/email-2010-12-01.paginators.json +13 -0
  88. data/apis/source/glacier-2012-06-01.json +3147 -0
  89. data/apis/source/glacier-2012-06-01.paginators.json +28 -0
  90. data/apis/source/iam-2010-05-08.json +5857 -0
  91. data/apis/source/iam-2010-05-08.paginators.json +116 -0
  92. data/apis/source/importexport-2010-06-01.json +876 -0
  93. data/apis/source/importexport-2010-06-01.paginators.json +10 -0
  94. data/apis/source/monitoring-2010-08-01.json +1910 -0
  95. data/apis/source/monitoring-2010-08-01.paginators.json +24 -0
  96. data/apis/source/opsworks-2013-02-18.json +5848 -0
  97. data/apis/source/opsworks-2013-02-18.paginators.json +46 -0
  98. data/apis/source/rds-2013-01-10.json +9283 -0
  99. data/apis/source/rds-2013-01-10.paginators.json +105 -0
  100. data/apis/source/rds-2013-02-12.json +9777 -0
  101. data/apis/source/rds-2013-02-12.paginators.json +105 -0
  102. data/apis/source/rds-2013-05-15.json +10618 -0
  103. data/apis/source/rds-2013-05-15.paginators.json +105 -0
  104. data/apis/source/redshift-2012-12-01.json +5742 -0
  105. data/apis/source/redshift-2012-12-01.paginators.json +74 -0
  106. data/apis/source/route53-2012-12-12.json +2067 -0
  107. data/apis/source/route53-2012-12-12.paginators.json +33 -0
  108. data/apis/source/s3-2006-03-01.json +4261 -0
  109. data/apis/source/s3-2006-03-01.paginators.json +46 -0
  110. data/apis/source/sdb-2009-04-15.json +1145 -0
  111. data/apis/source/sdb-2009-04-15.paginators.json +15 -0
  112. data/apis/source/sns-2010-03-31.json +2234 -0
  113. data/apis/source/sns-2010-03-31.paginators.json +19 -0
  114. data/apis/source/sqs-2012-11-05.json +1162 -0
  115. data/apis/source/sqs-2012-11-05.paginators.json +7 -0
  116. data/apis/source/storagegateway-2012-06-30.json +9487 -0
  117. data/apis/source/storagegateway-2012-06-30.paginators.json +28 -0
  118. data/apis/source/sts-2011-06-15.json +627 -0
  119. data/apis/source/support-2013-04-15.json +1261 -0
  120. data/apis/source/support-2013-04-15.paginators.json +31 -0
  121. data/apis/source/swf-2012-01-25.json +8744 -0
  122. data/apis/source/swf-2012-01-25.paginators.json +46 -0
  123. data/aws-sdk-core.gemspec +21 -0
  124. data/bin/aws.rb +156 -0
  125. data/doc-src/images/lastnode.png +0 -0
  126. data/doc-src/images/node.png +0 -0
  127. data/doc-src/images/vline.png +0 -0
  128. data/doc-src/plugins/apis.rb +205 -0
  129. data/doc-src/templates/default/fulldoc/html/css/common.css +90 -0
  130. data/doc-src/templates/default/fulldoc/html/js/tabs.js +21 -0
  131. data/doc-src/templates/default/fulldoc/html/setup.rb +61 -0
  132. data/doc-src/templates/default/layout/html/footer.erb +29 -0
  133. data/doc-src/templates/default/layout/html/setup.rb +3 -0
  134. data/features/autoscaling/client.feature +22 -0
  135. data/features/autoscaling/setup.rb +6 -0
  136. data/features/cloudformation/client.feature +18 -0
  137. data/features/cloudformation/setup.rb +6 -0
  138. data/features/cloudfront/client.feature +21 -0
  139. data/features/cloudfront/setup.rb +6 -0
  140. data/features/cloudsearch/client.feature +18 -0
  141. data/features/cloudsearch/setup.rb +6 -0
  142. data/features/cloudwatch/client.feature +21 -0
  143. data/features/cloudwatch/setup.rb +6 -0
  144. data/features/common/step_definitions.rb +65 -0
  145. data/features/datapipeline/client.feature +18 -0
  146. data/features/datapipeline/setup.rb +6 -0
  147. data/features/directconnect/client.feature +18 -0
  148. data/features/directconnect/setup.rb +6 -0
  149. data/features/dynamodb/client.feature +21 -0
  150. data/features/dynamodb/setup.rb +8 -0
  151. data/features/dynamodb/simplified.feature +32 -0
  152. data/features/dynamodb/step_definitions.rb +3 -0
  153. data/features/ec2/client.feature +21 -0
  154. data/features/ec2/setup.rb +6 -0
  155. data/features/ec2/step_definitions.rb +19 -0
  156. data/features/elasticache/client.feature +18 -0
  157. data/features/elasticache/setup.rb +6 -0
  158. data/features/elasticbeanstalk/client.feature +18 -0
  159. data/features/elasticbeanstalk/setup.rb +6 -0
  160. data/features/elasticloadbalancing/client.feature +18 -0
  161. data/features/elasticloadbalancing/setup.rb +6 -0
  162. data/features/elastictranscoder/client.feature +18 -0
  163. data/features/elastictranscoder/setup.rb +6 -0
  164. data/features/emr/client.feature +18 -0
  165. data/features/emr/setup.rb +6 -0
  166. data/features/env.rb +23 -0
  167. data/features/glacier/client.feature +28 -0
  168. data/features/glacier/setup.rb +16 -0
  169. data/features/glacier/step_definitions.rb +25 -0
  170. data/features/iam/client.feature +18 -0
  171. data/features/iam/setup.rb +6 -0
  172. data/features/importexport/client.feature +18 -0
  173. data/features/importexport/setup.rb +6 -0
  174. data/features/opsworks/client.feature +18 -0
  175. data/features/opsworks/setup.rb +6 -0
  176. data/features/rds/client.feature +18 -0
  177. data/features/rds/setup.rb +6 -0
  178. data/features/redshift/client.feature +18 -0
  179. data/features/redshift/setup.rb +6 -0
  180. data/features/route53/client.feature +18 -0
  181. data/features/route53/setup.rb +6 -0
  182. data/features/s3/buckets.feature +22 -0
  183. data/features/s3/objects.feature +18 -0
  184. data/features/s3/setup.rb +17 -0
  185. data/features/s3/step_definitions.rb +66 -0
  186. data/features/s3/test.png +0 -0
  187. data/features/sdb/client.feature +18 -0
  188. data/features/sdb/setup.rb +6 -0
  189. data/features/ses/client.feature +18 -0
  190. data/features/ses/setup.rb +6 -0
  191. data/features/sns/client.feature +18 -0
  192. data/features/sns/setup.rb +6 -0
  193. data/features/sqs/client.feature +23 -0
  194. data/features/sqs/setup.rb +10 -0
  195. data/features/sqs/step_definitions.rb +18 -0
  196. data/features/storagegateway/client.feature +18 -0
  197. data/features/storagegateway/setup.rb +6 -0
  198. data/features/sts/client.feature +18 -0
  199. data/features/sts/setup.rb +6 -0
  200. data/features/swf/client.feature +21 -0
  201. data/features/swf/setup.rb +6 -0
  202. data/integration-test-config.json.sample +3 -0
  203. data/lib/aws-sdk-core.rb +11 -0
  204. data/lib/aws.rb +175 -0
  205. data/lib/aws/api/base_translator.rb +72 -0
  206. data/lib/aws/api/doc_example.rb +116 -0
  207. data/lib/aws/api/documentor.rb +140 -0
  208. data/lib/aws/api/operation_translator.rb +77 -0
  209. data/lib/aws/api/service_namer.rb +40 -0
  210. data/lib/aws/api/service_translators/cloud_front.rb +19 -0
  211. data/lib/aws/api/service_translators/dynamo_db.rb +7 -0
  212. data/lib/aws/api/service_translators/glacier.rb +37 -0
  213. data/lib/aws/api/service_translators/import_export.rb +15 -0
  214. data/lib/aws/api/service_translators/route53.rb +23 -0
  215. data/lib/aws/api/service_translators/s3.rb +11 -0
  216. data/lib/aws/api/service_translators/sqs.rb +10 -0
  217. data/lib/aws/api/service_translators/swf.rb +7 -0
  218. data/lib/aws/api/shape_translator.rb +96 -0
  219. data/lib/aws/api/translator.rb +150 -0
  220. data/lib/aws/api/visitor.rb +32 -0
  221. data/lib/aws/credentials.rb +35 -0
  222. data/lib/aws/error_handler.rb +48 -0
  223. data/lib/aws/errors.rb +83 -0
  224. data/lib/aws/json/builder.rb +77 -0
  225. data/lib/aws/json/error_parser.rb +20 -0
  226. data/lib/aws/json/parser.rb +67 -0
  227. data/lib/aws/json/serializer.rb +15 -0
  228. data/lib/aws/plugins/credentials.rb +48 -0
  229. data/lib/aws/plugins/dynamodb_extended_retries.rb +22 -0
  230. data/lib/aws/plugins/glacier_api_version.rb +19 -0
  231. data/lib/aws/plugins/glacier_checksums.rb +100 -0
  232. data/lib/aws/plugins/global_configuration.rb +79 -0
  233. data/lib/aws/plugins/json_protocol.rb +30 -0
  234. data/lib/aws/plugins/json_rpc_headers.rb +34 -0
  235. data/lib/aws/plugins/query_protocol.rb +11 -0
  236. data/lib/aws/plugins/regional_endpoint.rb +37 -0
  237. data/lib/aws/plugins/retry_errors.rb +149 -0
  238. data/lib/aws/plugins/s3_bucket_dns.rb +78 -0
  239. data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +38 -0
  240. data/lib/aws/plugins/s3_get_bucket_location_fix.rb +21 -0
  241. data/lib/aws/plugins/s3_md5s.rb +61 -0
  242. data/lib/aws/plugins/s3_redirects.rb +38 -0
  243. data/lib/aws/plugins/s3_regional_endpoint.rb +19 -0
  244. data/lib/aws/plugins/s3_signer.rb +9 -0
  245. data/lib/aws/plugins/signature_v2.rb +9 -0
  246. data/lib/aws/plugins/signature_v3.rb +9 -0
  247. data/lib/aws/plugins/signature_v4.rb +29 -0
  248. data/lib/aws/plugins/sqs_queue_urls.rb +33 -0
  249. data/lib/aws/plugins/swf_read_timeouts.rb +23 -0
  250. data/lib/aws/plugins/user_agent.rb +32 -0
  251. data/lib/aws/plugins/xml_protocol.rb +11 -0
  252. data/lib/aws/query/builder.rb +102 -0
  253. data/lib/aws/query/param.rb +43 -0
  254. data/lib/aws/query/param_list.rb +91 -0
  255. data/lib/aws/query/serializer.rb +24 -0
  256. data/lib/aws/request_handler.rb +39 -0
  257. data/lib/aws/response_handler.rb +38 -0
  258. data/lib/aws/service.rb +237 -0
  259. data/lib/aws/signers/base.rb +29 -0
  260. data/lib/aws/signers/handler.rb +18 -0
  261. data/lib/aws/signers/s3.rb +162 -0
  262. data/lib/aws/signers/v2.rb +48 -0
  263. data/lib/aws/signers/v3.rb +34 -0
  264. data/lib/aws/signers/v4.rb +142 -0
  265. data/lib/aws/structure.rb +38 -0
  266. data/lib/aws/timestamp_formatter.rb +16 -0
  267. data/lib/aws/util.rb +38 -0
  268. data/lib/aws/version.rb +3 -0
  269. data/lib/aws/xml/builder.rb +134 -0
  270. data/lib/aws/xml/error_parser.rb +24 -0
  271. data/lib/aws/xml/parser.rb +147 -0
  272. data/lib/aws/xml/serializer.rb +16 -0
  273. data/spec/aws/credentials_spec.rb +39 -0
  274. data/spec/aws/iam_spec.rb +17 -0
  275. data/spec/aws/json/builder_spec.rb +183 -0
  276. data/spec/aws/json/parser_spec.rb +238 -0
  277. data/spec/aws/operations_spec.rb +145 -0
  278. data/spec/aws/plugins/credentials_spec.rb +76 -0
  279. data/spec/aws/plugins/global_configuration_spec.rb +56 -0
  280. data/spec/aws/plugins/region_endpoint_spec.rb +77 -0
  281. data/spec/aws/plugins/retry_errors_spec.rb +253 -0
  282. data/spec/aws/query/builder_spec.rb +361 -0
  283. data/spec/aws/query/param_list_spec.rb +80 -0
  284. data/spec/aws/query/param_spec.rb +59 -0
  285. data/spec/aws/service_spec.rb +247 -0
  286. data/spec/aws/signers/v4_spec.rb +141 -0
  287. data/spec/aws/structure_spec.rb +103 -0
  288. data/spec/aws/xml/builder_spec.rb +404 -0
  289. data/spec/aws/xml/parser_spec.rb +716 -0
  290. data/spec/aws_spec.rb +89 -0
  291. data/spec/fixtures/api/swf.json +100 -0
  292. data/spec/fixtures/operations/cloudfront/list_distributions.yml +195 -0
  293. data/spec/fixtures/operations/cloudfront/max_items.yml +12 -0
  294. data/spec/fixtures/operations/dynamodb/error_parsing.yml +13 -0
  295. data/spec/fixtures/operations/glacier/error_parsing.yml +10 -0
  296. data/spec/fixtures/operations/glacier/list_vaults.yml +24 -0
  297. data/spec/fixtures/operations/iam/result_wrapped_elements.yml +31 -0
  298. data/spec/fixtures/operations/s3/304_response.yml +12 -0
  299. data/spec/fixtures/operations/s3/400_response.yml +12 -0
  300. data/spec/fixtures/operations/s3/403_response.yml +12 -0
  301. data/spec/fixtures/operations/s3/404_response.yml +12 -0
  302. data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +18 -0
  303. data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +25 -0
  304. data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +9 -0
  305. data/spec/fixtures/operations/s3/delete_objects.yml +54 -0
  306. data/spec/fixtures/operations/s3/error_parsing.yml +17 -0
  307. data/spec/fixtures/operations/s3/get_bucket_location.yml +17 -0
  308. data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +17 -0
  309. data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +12 -0
  310. data/spec/fixtures/operations/s3/head_object.yml +50 -0
  311. data/spec/fixtures/operations/s3/list_buckets.yml +41 -0
  312. data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +10 -0
  313. data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +8 -0
  314. data/spec/fixtures/operations/swf/list_domains.yml +20 -0
  315. data/spec/spec_helper.rb +55 -0
  316. data/tasks/apis.rake +51 -0
  317. data/tasks/docs.rake +59 -0
  318. data/tasks/test.rake +39 -0
  319. data/vendor/seahorse/.gitignore +5 -0
  320. data/vendor/seahorse/.simplecov +4 -0
  321. data/vendor/seahorse/.yardopts +10 -0
  322. data/vendor/seahorse/Gemfile +20 -0
  323. data/vendor/seahorse/LICENSE.txt +12 -0
  324. data/vendor/seahorse/README.md +129 -0
  325. data/vendor/seahorse/Rakefile +7 -0
  326. data/vendor/seahorse/ca-bundle.crt +3554 -0
  327. data/vendor/seahorse/lib/seahorse.rb +6 -0
  328. data/vendor/seahorse/lib/seahorse/client.rb +61 -0
  329. data/vendor/seahorse/lib/seahorse/client/base.rb +239 -0
  330. data/vendor/seahorse/lib/seahorse/client/block_io.rb +39 -0
  331. data/vendor/seahorse/lib/seahorse/client/configuration.rb +197 -0
  332. data/vendor/seahorse/lib/seahorse/client/handler.rb +26 -0
  333. data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +49 -0
  334. data/vendor/seahorse/lib/seahorse/client/handler_list.rb +250 -0
  335. data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +95 -0
  336. data/vendor/seahorse/lib/seahorse/client/http/headers.rb +94 -0
  337. data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +11 -0
  338. data/vendor/seahorse/lib/seahorse/client/http/request.rb +78 -0
  339. data/vendor/seahorse/lib/seahorse/client/http/response.rb +45 -0
  340. data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +319 -0
  341. data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +35 -0
  342. data/vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb +339 -0
  343. data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +109 -0
  344. data/vendor/seahorse/lib/seahorse/client/param_converter.rb +202 -0
  345. data/vendor/seahorse/lib/seahorse/client/param_validator.rb +139 -0
  346. data/vendor/seahorse/lib/seahorse/client/plugin.rb +80 -0
  347. data/vendor/seahorse/lib/seahorse/client/plugin_list.rb +142 -0
  348. data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +11 -0
  349. data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +22 -0
  350. data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +36 -0
  351. data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +34 -0
  352. data/vendor/seahorse/lib/seahorse/client/plugins/logging.rb +37 -0
  353. data/vendor/seahorse/lib/seahorse/client/plugins/net_http.rb +26 -0
  354. data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +48 -0
  355. data/vendor/seahorse/lib/seahorse/client/plugins/param_conversion.rb +29 -0
  356. data/vendor/seahorse/lib/seahorse/client/plugins/param_validation.rb +30 -0
  357. data/vendor/seahorse/lib/seahorse/client/plugins/raise_response_errors.rb +29 -0
  358. data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +205 -0
  359. data/vendor/seahorse/lib/seahorse/client/request.rb +62 -0
  360. data/vendor/seahorse/lib/seahorse/client/request_context.rb +68 -0
  361. data/vendor/seahorse/lib/seahorse/client/response.rb +106 -0
  362. data/vendor/seahorse/lib/seahorse/client/xml/builder.rb +92 -0
  363. data/vendor/seahorse/lib/seahorse/model.rb +38 -0
  364. data/vendor/seahorse/lib/seahorse/model/api.rb +39 -0
  365. data/vendor/seahorse/lib/seahorse/model/node.rb +102 -0
  366. data/vendor/seahorse/lib/seahorse/model/operation.rb +32 -0
  367. data/vendor/seahorse/lib/seahorse/model/operation_input.rb +30 -0
  368. data/vendor/seahorse/lib/seahorse/model/operations.rb +59 -0
  369. data/vendor/seahorse/lib/seahorse/model/property.rb +141 -0
  370. data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +229 -0
  371. data/vendor/seahorse/lib/seahorse/model/types.rb +8 -0
  372. data/vendor/seahorse/lib/seahorse/version.rb +3 -0
  373. data/vendor/seahorse/seahorse.gemspec +20 -0
  374. data/vendor/seahorse/spec/fixtures/plugin.rb +4 -0
  375. data/vendor/seahorse/spec/seahorse/client/base_spec.rb +308 -0
  376. data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +118 -0
  377. data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +159 -0
  378. data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +243 -0
  379. data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +40 -0
  380. data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +168 -0
  381. data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +213 -0
  382. data/vendor/seahorse/spec/seahorse/client/http/plain_string_io_spec.rb +23 -0
  383. data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +142 -0
  384. data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +77 -0
  385. data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +197 -0
  386. data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +63 -0
  387. data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +10 -0
  388. data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +232 -0
  389. data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +318 -0
  390. data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +271 -0
  391. data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +166 -0
  392. data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +118 -0
  393. data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +19 -0
  394. data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +43 -0
  395. data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +46 -0
  396. data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +71 -0
  397. data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +74 -0
  398. data/vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb +91 -0
  399. data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +105 -0
  400. data/vendor/seahorse/spec/seahorse/client/request_spec.rb +102 -0
  401. data/vendor/seahorse/spec/seahorse/client/response_spec.rb +171 -0
  402. data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +142 -0
  403. data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +10 -0
  404. data/vendor/seahorse/spec/seahorse/client_spec.rb +13 -0
  405. data/vendor/seahorse/spec/seahorse/model/api_spec.rb +72 -0
  406. data/vendor/seahorse/spec/seahorse/model/node_spec.rb +114 -0
  407. data/vendor/seahorse/spec/seahorse/model/operation_input_spec.rb +53 -0
  408. data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +48 -0
  409. data/vendor/seahorse/spec/seahorse/model/operations_spec.rb +64 -0
  410. data/vendor/seahorse/spec/seahorse/model/property_spec.rb +136 -0
  411. data/vendor/seahorse/spec/seahorse/model/shapes/shape_spec.rb +105 -0
  412. data/vendor/seahorse/spec/seahorse/version_spec.rb +11 -0
  413. data/vendor/seahorse/spec/spec_helper.rb +34 -0
  414. data/vendor/seahorse/tasks/ca_bundle.rake +23 -0
  415. data/vendor/seahorse/tasks/docs.rake +11 -0
  416. data/vendor/seahorse/tasks/test.rake +26 -0
  417. metadata +614 -0
@@ -0,0 +1,19 @@
1
+ {
2
+ "pagination": {
3
+ "ListSubscriptions": {
4
+ "input_token": "NextToken",
5
+ "output_token": "NextToken",
6
+ "result_key": "Subscriptions"
7
+ },
8
+ "ListSubscriptionsByTopic": {
9
+ "input_token": "NextToken",
10
+ "output_token": "NextToken",
11
+ "result_key": "Subscriptions"
12
+ },
13
+ "ListTopics": {
14
+ "input_token": "NextToken",
15
+ "output_token": "NextToken",
16
+ "result_key": "Topics"
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,1162 @@
1
+ {
2
+ "api_version": "2012-11-05",
3
+ "type": "query",
4
+ "result_wrapped": true,
5
+ "signature_version": "v4",
6
+ "service_full_name": "Amazon Simple Queue Service",
7
+ "service_abbreviation": "Amazon SQS",
8
+ "endpoint_prefix": "sqs",
9
+ "xmlnamespace": "http://queue.amazonaws.com/doc/2012-11-05/",
10
+ "documentation": "\n <p>Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable,\n hosted queue for storing messages as they travel between computers. By using\n Amazon SQS, developers can simply move data between distributed components of\n their applications that perform different tasks, without losing messages or\n requiring each component to be always available. Amazon SQS makes it easy to\n build an automated workflow, working in close conjunction with the Amazon\n Elastic Compute Cloud (Amazon EC2) and the other AWS infrastructure web\n services.</p>\n\n <p>Amazon SQS works by exposing Amazon's web-scale messaging infrastructure as\n a web service. Any computer on the Internet can add or read messages without\n any installed software or special firewall configurations. Components of\n applications using Amazon SQS can run independently, and do not need to be on\n the same network, developed with the same technologies, or running at the same\n time.</p>\n\n <p>Visit <a href=\"http://aws.amazon.com/sqs/\">http://aws.amazon.com/sqs/</a>\n for more information.</p>\n ",
11
+ "operations": {
12
+ "AddPermission": {
13
+ "name": "AddPermission",
14
+ "input": {
15
+ "shape_name": "AddPermissionRequest",
16
+ "type": "structure",
17
+ "members": {
18
+ "QueueUrl": {
19
+ "shape_name": "String",
20
+ "type": "string",
21
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
22
+ "required": true
23
+ },
24
+ "Label": {
25
+ "shape_name": "String",
26
+ "type": "string",
27
+ "documentation": "\n <p>The unique identification of the permission you're setting (e.g.,\n <code>AliceSendMessage</code>). Constraints: Maximum 80 characters;\n alphanumeric characters, hyphens (-), and underscores (_) are allowed.</p>\n ",
28
+ "required": true
29
+ },
30
+ "AWSAccountIds": {
31
+ "shape_name": "AWSAccountIdList",
32
+ "type": "list",
33
+ "members": {
34
+ "shape_name": "String",
35
+ "type": "string",
36
+ "documentation": null,
37
+ "xmlname": "AWSAccountId"
38
+ },
39
+ "flattened": true,
40
+ "documentation": "\n <p>The AWS account number of the <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Glossary.html\">principal</a>\n who will be given permission. The principal must have an AWS account, but does\n not need to be signed up for Amazon SQS.</p>\n ",
41
+ "required": true
42
+ },
43
+ "Actions": {
44
+ "shape_name": "ActionNameList",
45
+ "type": "list",
46
+ "members": {
47
+ "shape_name": "String",
48
+ "type": "string",
49
+ "documentation": null,
50
+ "xmlname": "ActionName"
51
+ },
52
+ "flattened": true,
53
+ "documentation": "\n <p>The action the client wants to allow for the specified principal.</p>\n ",
54
+ "required": true
55
+ }
56
+ },
57
+ "documentation": null
58
+ },
59
+ "output": null,
60
+ "errors": [
61
+ {
62
+ "shape_name": "OverLimit",
63
+ "type": "structure",
64
+ "members": {
65
+ },
66
+ "documentation": "\n <p>The operation that you requested would violate a limit. For example,\n ReceiveMessage returns this error if the maximum number of messages\n inflight has already been reached. AddPermission returns this error if\n the maximum number of permissions for the queue has already been reached.\n </p>\n "
67
+ }
68
+ ],
69
+ "documentation": "\n <p>The AddPermission action adds a permission to a queue for a specific \n <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Glossary.html\">principal</a>.\n This allows for sharing access to the queue.</p>\n\n <p>When you create a queue, you have full control access rights for the queue.\n Only you (as owner of the queue) can grant or deny permissions to the queue.\n For more information about these permissions, see\n <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/?acp-overview.html\">Shared\n Queues</a> in the Amazon SQS Developer Guide.</p>\n\n <p><code>AddPermission</code> writes an SQS-generated policy. If you want to\n write your own policy, use SetQueueAttributes to upload your policy. For more\n information about writing your own policy, see\n <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/?AccessPolicyLanguage.html\">Appendix:\n The Access Policy Language</a> in the Amazon SQS Developer Guide.</p>\n "
70
+ },
71
+ "ChangeMessageVisibility": {
72
+ "name": "ChangeMessageVisibility",
73
+ "input": {
74
+ "shape_name": "ChangeMessageVisibilityRequest",
75
+ "type": "structure",
76
+ "members": {
77
+ "QueueUrl": {
78
+ "shape_name": "String",
79
+ "type": "string",
80
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
81
+ "required": true
82
+ },
83
+ "ReceiptHandle": {
84
+ "shape_name": "String",
85
+ "type": "string",
86
+ "documentation": "\n <p>The receipt handle associated with the message whose visibility timeout\n should be changed.</p>\n ",
87
+ "required": true
88
+ },
89
+ "VisibilityTimeout": {
90
+ "shape_name": "Integer",
91
+ "type": "integer",
92
+ "documentation": "\n <p>The new value (in seconds) for the message's visibility timeout.</p>\n ",
93
+ "required": true
94
+ }
95
+ },
96
+ "documentation": null
97
+ },
98
+ "output": null,
99
+ "errors": [
100
+ {
101
+ "shape_name": "MessageNotInflight",
102
+ "type": "structure",
103
+ "members": {
104
+ },
105
+ "documentation": "\n <p>The message referred to is not in flight.</p>\n "
106
+ },
107
+ {
108
+ "shape_name": "ReceiptHandleIsInvalid",
109
+ "type": "structure",
110
+ "members": {
111
+ },
112
+ "documentation": "\n <p>The receipt handle provided is not valid.</p>\n "
113
+ }
114
+ ],
115
+ "documentation": "\n <p>The <code>ChangeMessageVisibility</code> action changes the visibility\n timeout of a specified message in a queue to a new value. The maximum allowed\n timeout value you can set the value to is 12 hours. This means you can't extend\n the timeout of a message in an existing queue to more than a total visibility\n timeout of 12 hours. (For more information visibility timeout, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html\">Visibility\n Timeout</a> in the Amazon SQS Developer Guide.)</p>\n\n <p>For example, let's say you have a message and its default message visibility\n timeout is 30 minutes. You could call <code>ChangeMessageVisiblity</code> with\n a value of two hours and the effective timeout would be two hours and 30\n minutes. When that time comes near you could again extend the time out by\n calling ChangeMessageVisiblity, but this time the maximum allowed timeout would\n be 9 hours and 30 minutes.</p>\n\n <important>If you attempt to set the <code>VisibilityTimeout</code> to an\n amount more than the maximum time left, Amazon SQS returns an error. It will\n not automatically recalculate and increase the timeout to the maximum time\n remaining.</important>\n\n <important>Unlike with a queue, when you change the visibility timeout for a\n specific message, that timeout value is applied immediately but is not saved in\n memory for that message. If you don't delete a message after it is received,\n the visibility timeout for the message the next time it is received reverts to\n the original timeout value, not the value you set with the\n ChangeMessageVisibility action.</important>\n "
116
+ },
117
+ "ChangeMessageVisibilityBatch": {
118
+ "name": "ChangeMessageVisibilityBatch",
119
+ "input": {
120
+ "shape_name": "ChangeMessageVisibilityBatchRequest",
121
+ "type": "structure",
122
+ "members": {
123
+ "QueueUrl": {
124
+ "shape_name": "String",
125
+ "type": "string",
126
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
127
+ "required": true
128
+ },
129
+ "Entries": {
130
+ "shape_name": "ChangeMessageVisibilityBatchRequestEntryList",
131
+ "type": "list",
132
+ "members": {
133
+ "shape_name": "ChangeMessageVisibilityBatchRequestEntry",
134
+ "type": "structure",
135
+ "members": {
136
+ "Id": {
137
+ "shape_name": "String",
138
+ "type": "string",
139
+ "documentation": "\n <p>An identifier for this particular receipt handle. This is used to communicate\n the result. Note that the <code>Id</code>s of a batch request need to be\n unique within the request.</p>\n ",
140
+ "required": true
141
+ },
142
+ "ReceiptHandle": {
143
+ "shape_name": "String",
144
+ "type": "string",
145
+ "documentation": "\n <p>A receipt handle.</p>\n ",
146
+ "required": true
147
+ },
148
+ "VisibilityTimeout": {
149
+ "shape_name": "Integer",
150
+ "type": "integer",
151
+ "documentation": "\n <p>The new value (in seconds) for the message's visibility timeout.</p>\n "
152
+ }
153
+ },
154
+ "documentation": "\n <p>Encloses a receipt handle and an entry id for each message in\n <a>ChangeMessageVisibilityBatch</a>.</p>\n ",
155
+ "xmlname": "ChangeMessageVisibilityBatchRequestEntry"
156
+ },
157
+ "flattened": true,
158
+ "documentation": "\n <p>A list of receipt handles of the messages for which the visibility timeout\n must be changed.</p>\n ",
159
+ "required": true
160
+ }
161
+ },
162
+ "documentation": null
163
+ },
164
+ "output": {
165
+ "shape_name": "ChangeMessageVisibilityBatchResult",
166
+ "type": "structure",
167
+ "members": {
168
+ "Successful": {
169
+ "shape_name": "ChangeMessageVisibilityBatchResultEntryList",
170
+ "type": "list",
171
+ "members": {
172
+ "shape_name": "ChangeMessageVisibilityBatchResultEntry",
173
+ "type": "structure",
174
+ "members": {
175
+ "Id": {
176
+ "shape_name": "String",
177
+ "type": "string",
178
+ "documentation": "\n <p>Represents a message whose visibility timeout has been changed\n successfully.</p>\n ",
179
+ "required": true
180
+ }
181
+ },
182
+ "documentation": "\n <p>Encloses the id of an entry in <a>ChangeMessageVisibilityBatch</a>.</p>\n ",
183
+ "xmlname": "ChangeMessageVisibilityBatchResultEntry"
184
+ },
185
+ "flattened": true,
186
+ "documentation": "\n <p>A list of <a>ChangeMessageVisibilityBatchResultEntry</a>s.</p>\n ",
187
+ "required": true
188
+ },
189
+ "Failed": {
190
+ "shape_name": "BatchResultErrorEntryList",
191
+ "type": "list",
192
+ "members": {
193
+ "shape_name": "BatchResultErrorEntry",
194
+ "type": "structure",
195
+ "members": {
196
+ "Id": {
197
+ "shape_name": "String",
198
+ "type": "string",
199
+ "documentation": "\n <p>The id of an entry in a batch request.</p>\n ",
200
+ "required": true
201
+ },
202
+ "SenderFault": {
203
+ "shape_name": "Boolean",
204
+ "type": "boolean",
205
+ "documentation": "\n <p>Whether the error happened due to the sender's fault.</p>\n ",
206
+ "required": true
207
+ },
208
+ "Code": {
209
+ "shape_name": "String",
210
+ "type": "string",
211
+ "documentation": "\n <p>An error code representing why the operation failed on this entry.</p>\n ",
212
+ "required": true
213
+ },
214
+ "Message": {
215
+ "shape_name": "String",
216
+ "type": "string",
217
+ "documentation": "\n <p>A message explaining why the operation failed on this entry.</p>\n "
218
+ }
219
+ },
220
+ "documentation": "\n <p>This is used in the responses of batch API to give a detailed description\n of the result of an operation on each entry in the request.</p>\n ",
221
+ "xmlname": "BatchResultErrorEntry"
222
+ },
223
+ "flattened": true,
224
+ "documentation": "\n <p>A list of <a>BatchResultErrorEntry</a>s.</p>\n ",
225
+ "required": true
226
+ }
227
+ },
228
+ "documentation": null
229
+ },
230
+ "errors": [
231
+ {
232
+ "shape_name": "TooManyEntriesInBatchRequest",
233
+ "type": "structure",
234
+ "members": {
235
+ },
236
+ "documentation": "\n <p>Batch request contains more number of entries than permissible.</p>\n "
237
+ },
238
+ {
239
+ "shape_name": "EmptyBatchRequest",
240
+ "type": "structure",
241
+ "members": {
242
+ },
243
+ "documentation": "\n <p>Batch request does not contain an entry.</p>\n "
244
+ },
245
+ {
246
+ "shape_name": "BatchEntryIdsNotDistinct",
247
+ "type": "structure",
248
+ "members": {
249
+ },
250
+ "documentation": "\n <p>Two or more batch entries have the same <code>Id</code> in the request.</p>\n "
251
+ },
252
+ {
253
+ "shape_name": "InvalidBatchEntryId",
254
+ "type": "structure",
255
+ "members": {
256
+ },
257
+ "documentation": "\n <p>The <code>Id</code> of a batch entry in a batch request does not abide\n by the specification.</p>\n "
258
+ }
259
+ ],
260
+ "documentation": "\n <p>This is a batch version of <a>ChangeMessageVisibility</a>. It takes\n multiple receipt handles and performs the operation on each of the them. The\n result of the operation on each message is reported individually in the\n response.</p>\n "
261
+ },
262
+ "CreateQueue": {
263
+ "name": "CreateQueue",
264
+ "input": {
265
+ "shape_name": "CreateQueueRequest",
266
+ "type": "structure",
267
+ "members": {
268
+ "QueueName": {
269
+ "shape_name": "String",
270
+ "type": "string",
271
+ "documentation": "\n <p>The name for the queue to be created.</p>\n ",
272
+ "required": true
273
+ },
274
+ "Attributes": {
275
+ "shape_name": "AttributeMap",
276
+ "type": "map",
277
+ "keys": {
278
+ "shape_name": "QueueAttributeName",
279
+ "type": "string",
280
+ "enum": [
281
+ "Policy",
282
+ "VisibilityTimeout",
283
+ "MaximumMessageSize",
284
+ "MessageRetentionPeriod",
285
+ "ApproximateNumberOfMessages",
286
+ "ApproximateNumberOfMessagesNotVisible",
287
+ "CreatedTimestamp",
288
+ "LastModifiedTimestamp",
289
+ "QueueArn",
290
+ "ApproximateNumberOfMessagesDelayed",
291
+ "DelaySeconds",
292
+ "ReceiveMessageWaitTimeSeconds"
293
+ ],
294
+ "documentation": "\n <p>The name of a queue attribute.</p>\n ",
295
+ "xmlname": "Name"
296
+ },
297
+ "members": {
298
+ "shape_name": "String",
299
+ "type": "string",
300
+ "documentation": "\n <p>The value of a queue attribute.</p>\n ",
301
+ "xmlname": "Value"
302
+ },
303
+ "flattened": true,
304
+ "xmlname": "Attribute",
305
+ "documentation": "\n <p>A map of attributes with their corresponding values.</p>\n "
306
+ }
307
+ },
308
+ "documentation": null
309
+ },
310
+ "output": {
311
+ "shape_name": "CreateQueueResult",
312
+ "type": "structure",
313
+ "members": {
314
+ "QueueUrl": {
315
+ "shape_name": "String",
316
+ "type": "string",
317
+ "documentation": "\n <p>The URL for the created SQS queue.</p>\n "
318
+ }
319
+ },
320
+ "documentation": null
321
+ },
322
+ "errors": [
323
+ {
324
+ "shape_name": "QueueDeletedRecently",
325
+ "type": "structure",
326
+ "members": {
327
+ },
328
+ "documentation": "\n <p>You must wait 60 seconds after deleting a queue before you can create another\n with the same name.</p>\n "
329
+ },
330
+ {
331
+ "shape_name": "QueueNameExists",
332
+ "type": "structure",
333
+ "members": {
334
+ },
335
+ "documentation": "\n <p>A queue already exists with this name. SQS returns this error only if the request includes\n attributes whose values differ from those of the existing queue.</p>\n "
336
+ }
337
+ ],
338
+ "documentation": "\n <p>The <code>CreateQueue</code> action creates a new queue, or returns the URL\n of an existing one. When you request <code>CreateQueue</code>, you provide a\n name for the queue. To successfully create a new queue, you must provide a name\n that is unique within the scope of your own queues.</p>\n\n <p>You may pass one or more attributes in the request. If you do not\n provide a value for any attribute, the queue will have the default value\n for that attribute. Permitted attributes are the same that can be set\n using <a>SetQueueAttributes</a>.</p>\n\n <p>If you provide the name of an existing queue, a new queue isn't created.\n If the values of attributes provided with the request match up with those\n on the existing queue, the queue URL is returned. Otherwise, a\n <code>QueueNameExists</code> error is returned.</p>\n "
339
+ },
340
+ "DeleteMessage": {
341
+ "name": "DeleteMessage",
342
+ "input": {
343
+ "shape_name": "DeleteMessageRequest",
344
+ "type": "structure",
345
+ "members": {
346
+ "QueueUrl": {
347
+ "shape_name": "String",
348
+ "type": "string",
349
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
350
+ "required": true
351
+ },
352
+ "ReceiptHandle": {
353
+ "shape_name": "String",
354
+ "type": "string",
355
+ "documentation": "\n <p>The receipt handle associated with the message to delete.</p>\n ",
356
+ "required": true
357
+ }
358
+ },
359
+ "documentation": null
360
+ },
361
+ "output": null,
362
+ "errors": [
363
+ {
364
+ "shape_name": "InvalidIdFormat",
365
+ "type": "structure",
366
+ "members": {
367
+ },
368
+ "documentation": "\n <p>The receipt handle is not valid for the current version.</p>\n "
369
+ },
370
+ {
371
+ "shape_name": "ReceiptHandleIsInvalid",
372
+ "type": "structure",
373
+ "members": {
374
+ },
375
+ "documentation": "\n <p>The receipt handle provided is not valid.</p>\n "
376
+ }
377
+ ],
378
+ "documentation": "\n <p>The <code>DeleteMessage</code> action unconditionally removes the specified\n message from the specified queue. Even if the message is locked by another\n reader due to the visibility timeout setting, it is still deleted from the\n queue.</p>\n "
379
+ },
380
+ "DeleteMessageBatch": {
381
+ "name": "DeleteMessageBatch",
382
+ "input": {
383
+ "shape_name": "DeleteMessageBatchRequest",
384
+ "type": "structure",
385
+ "members": {
386
+ "QueueUrl": {
387
+ "shape_name": "String",
388
+ "type": "string",
389
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
390
+ "required": true
391
+ },
392
+ "Entries": {
393
+ "shape_name": "DeleteMessageBatchRequestEntryList",
394
+ "type": "list",
395
+ "members": {
396
+ "shape_name": "DeleteMessageBatchRequestEntry",
397
+ "type": "structure",
398
+ "members": {
399
+ "Id": {
400
+ "shape_name": "String",
401
+ "type": "string",
402
+ "documentation": "\n <p>An identifier for this particular receipt handle. This is used to\n communicate the result. Note that the <code>Id</code>s of a batch request\n need to be unique within the request.</p>\n ",
403
+ "required": true
404
+ },
405
+ "ReceiptHandle": {
406
+ "shape_name": "String",
407
+ "type": "string",
408
+ "documentation": "\n <p>A receipt handle.</p>\n ",
409
+ "required": true
410
+ }
411
+ },
412
+ "documentation": "\n <p>Encloses a receipt handle and an identifier for it.</p>\n ",
413
+ "xmlname": "DeleteMessageBatchRequestEntry"
414
+ },
415
+ "flattened": true,
416
+ "documentation": "\n <p>A list of receipt handles for the messages to be deleted.</p>\n ",
417
+ "required": true
418
+ }
419
+ },
420
+ "documentation": null
421
+ },
422
+ "output": {
423
+ "shape_name": "DeleteMessageBatchResult",
424
+ "type": "structure",
425
+ "members": {
426
+ "Successful": {
427
+ "shape_name": "DeleteMessageBatchResultEntryList",
428
+ "type": "list",
429
+ "members": {
430
+ "shape_name": "DeleteMessageBatchResultEntry",
431
+ "type": "structure",
432
+ "members": {
433
+ "Id": {
434
+ "shape_name": "String",
435
+ "type": "string",
436
+ "documentation": "\n <p>Represents a successfully deleted message.</p>\n ",
437
+ "required": true
438
+ }
439
+ },
440
+ "documentation": "\n <p>Encloses the id an entry in <a>DeleteMessageBatch</a>.</p>\n ",
441
+ "xmlname": "DeleteMessageBatchResultEntry"
442
+ },
443
+ "flattened": true,
444
+ "documentation": "\n <p>A list of <a>DeleteMessageBatchResultEntry</a>s.</p>\n ",
445
+ "required": true
446
+ },
447
+ "Failed": {
448
+ "shape_name": "BatchResultErrorEntryList",
449
+ "type": "list",
450
+ "members": {
451
+ "shape_name": "BatchResultErrorEntry",
452
+ "type": "structure",
453
+ "members": {
454
+ "Id": {
455
+ "shape_name": "String",
456
+ "type": "string",
457
+ "documentation": "\n <p>The id of an entry in a batch request.</p>\n ",
458
+ "required": true
459
+ },
460
+ "SenderFault": {
461
+ "shape_name": "Boolean",
462
+ "type": "boolean",
463
+ "documentation": "\n <p>Whether the error happened due to the sender's fault.</p>\n ",
464
+ "required": true
465
+ },
466
+ "Code": {
467
+ "shape_name": "String",
468
+ "type": "string",
469
+ "documentation": "\n <p>An error code representing why the operation failed on this entry.</p>\n ",
470
+ "required": true
471
+ },
472
+ "Message": {
473
+ "shape_name": "String",
474
+ "type": "string",
475
+ "documentation": "\n <p>A message explaining why the operation failed on this entry.</p>\n "
476
+ }
477
+ },
478
+ "documentation": "\n <p>This is used in the responses of batch API to give a detailed description\n of the result of an operation on each entry in the request.</p>\n ",
479
+ "xmlname": "BatchResultErrorEntry"
480
+ },
481
+ "flattened": true,
482
+ "documentation": "\n <p>A list of <a>BatchResultErrorEntry</a>s.</p>\n ",
483
+ "required": true
484
+ }
485
+ },
486
+ "documentation": null
487
+ },
488
+ "errors": [
489
+ {
490
+ "shape_name": "TooManyEntriesInBatchRequest",
491
+ "type": "structure",
492
+ "members": {
493
+ },
494
+ "documentation": "\n <p>Batch request contains more number of entries than permissible.</p>\n "
495
+ },
496
+ {
497
+ "shape_name": "EmptyBatchRequest",
498
+ "type": "structure",
499
+ "members": {
500
+ },
501
+ "documentation": "\n <p>Batch request does not contain an entry.</p>\n "
502
+ },
503
+ {
504
+ "shape_name": "BatchEntryIdsNotDistinct",
505
+ "type": "structure",
506
+ "members": {
507
+ },
508
+ "documentation": "\n <p>Two or more batch entries have the same <code>Id</code> in the request.</p>\n "
509
+ },
510
+ {
511
+ "shape_name": "InvalidBatchEntryId",
512
+ "type": "structure",
513
+ "members": {
514
+ },
515
+ "documentation": "\n <p>The <code>Id</code> of a batch entry in a batch request does not abide\n by the specification.</p>\n "
516
+ }
517
+ ],
518
+ "documentation": "\n <p>This is a batch version of <a>DeleteMessage</a>. It takes multiple\n receipt handles and deletes each one of the messages. The result of the delete\n operation on each message is reported individually in the response.</p>\n "
519
+ },
520
+ "DeleteQueue": {
521
+ "name": "DeleteQueue",
522
+ "input": {
523
+ "shape_name": "DeleteQueueRequest",
524
+ "type": "structure",
525
+ "members": {
526
+ "QueueUrl": {
527
+ "shape_name": "String",
528
+ "type": "string",
529
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
530
+ "required": true
531
+ }
532
+ },
533
+ "documentation": null
534
+ },
535
+ "output": null,
536
+ "errors": [
537
+
538
+ ],
539
+ "documentation": "\n <p>This action unconditionally deletes the queue specified by the queue URL. Use\n this operation WITH CARE! The queue is deleted even if it is NOT empty.</p>\n <p>Once a queue has been deleted, the queue name is unavailable for use with new\n queues for 60 seconds.</p>\n "
540
+ },
541
+ "GetQueueAttributes": {
542
+ "name": "GetQueueAttributes",
543
+ "input": {
544
+ "shape_name": "GetQueueAttributesRequest",
545
+ "type": "structure",
546
+ "members": {
547
+ "QueueUrl": {
548
+ "shape_name": "String",
549
+ "type": "string",
550
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
551
+ "required": true
552
+ },
553
+ "AttributeNames": {
554
+ "shape_name": "AttributeNameList",
555
+ "type": "list",
556
+ "members": {
557
+ "shape_name": "QueueAttributeName",
558
+ "type": "string",
559
+ "enum": [
560
+ "Policy",
561
+ "VisibilityTimeout",
562
+ "MaximumMessageSize",
563
+ "MessageRetentionPeriod",
564
+ "ApproximateNumberOfMessages",
565
+ "ApproximateNumberOfMessagesNotVisible",
566
+ "CreatedTimestamp",
567
+ "LastModifiedTimestamp",
568
+ "QueueArn",
569
+ "ApproximateNumberOfMessagesDelayed",
570
+ "DelaySeconds",
571
+ "ReceiveMessageWaitTimeSeconds"
572
+ ],
573
+ "documentation": null,
574
+ "xmlname": "AttributeName"
575
+ },
576
+ "flattened": true,
577
+ "documentation": "\n <p>A list of attributes to retrieve information for. </p>\n "
578
+ }
579
+ },
580
+ "documentation": null
581
+ },
582
+ "output": {
583
+ "shape_name": "GetQueueAttributesResult",
584
+ "type": "structure",
585
+ "members": {
586
+ "Attributes": {
587
+ "shape_name": "AttributeMap",
588
+ "type": "map",
589
+ "keys": {
590
+ "shape_name": "QueueAttributeName",
591
+ "type": "string",
592
+ "enum": [
593
+ "Policy",
594
+ "VisibilityTimeout",
595
+ "MaximumMessageSize",
596
+ "MessageRetentionPeriod",
597
+ "ApproximateNumberOfMessages",
598
+ "ApproximateNumberOfMessagesNotVisible",
599
+ "CreatedTimestamp",
600
+ "LastModifiedTimestamp",
601
+ "QueueArn",
602
+ "ApproximateNumberOfMessagesDelayed",
603
+ "DelaySeconds",
604
+ "ReceiveMessageWaitTimeSeconds"
605
+ ],
606
+ "documentation": "\n <p>The name of a queue attribute.</p>\n ",
607
+ "xmlname": "Name"
608
+ },
609
+ "members": {
610
+ "shape_name": "String",
611
+ "type": "string",
612
+ "documentation": "\n <p>The value of a queue attribute.</p>\n ",
613
+ "xmlname": "Value"
614
+ },
615
+ "flattened": true,
616
+ "xmlname": "Attribute",
617
+ "documentation": "\n <p>A map of attributes to the respective values.</p>\n "
618
+ }
619
+ },
620
+ "documentation": null
621
+ },
622
+ "errors": [
623
+ {
624
+ "shape_name": "InvalidAttributeName",
625
+ "type": "structure",
626
+ "members": {
627
+ },
628
+ "documentation": "\n <p>The attribute referred to does not exist.</p>\n "
629
+ }
630
+ ],
631
+ "documentation": "\n <p>Gets attributes for the specified queue. The following attributes are supported:\n <ul>\n <li>\n<code>All</code> - returns all values.</li>\n <li>\n<code>ApproximateNumberOfMessages</code> - returns the approximate\n number of visible messages in a queue. For more information, see\n Resources Required to Process Messages in the Amazon SQS Developer\n Guide.</li>\n <li>\n<code>ApproximateNumberOfMessagesNotVisible</code> - returns the\n approximate number of messages that are not timed-out and not deleted. \n For more information, see Resources Required to Process Messages in the\n Amazon SQS Developer Guide.</li>\n <li>\n<code>VisibilityTimeout</code> - returns the visibility timeout for\n the queue. For more information about visibility timeout, see\n Visibility Timeout in the Amazon SQS Developer Guide.</li>\n <li>\n<code>CreatedTimestamp</code> - returns the time when the queue was\n created (epoch time in seconds).</li>\n <li>\n<code>LastModifiedTimestamp</code> - returns the time when the queue\n was last changed (epoch time in seconds).</li>\n <li>\n<code>Policy</code> - returns the queue's policy.</li>\n <li>\n<code>MaximumMessageSize</code> - returns the limit of how many bytes\n a message can contain before Amazon SQS rejects it.</li>\n <li>\n<code>MessageRetentionPeriod</code> - returns the number of seconds\n Amazon SQS retains a message.</li>\n <li>\n<code>QueueArn</code> - returns the queue's Amazon resource name\n (ARN).</li>\n <li>\n<code>ApproximateNumberOfMessagesDelayed</code> - returns the\n approximate number of messages that are pending to be added to the\n queue.</li>\n <li>\n<code>DelaySeconds</code> - returns the default delay on the queue\n in seconds.</li>\n <li>\n<code>ReceiveMessageWaitTimeSeconds</code> - returns the time for which a\n ReceiveMessage call will wait for a message to arrive.</li>\n </ul> \n </p>\n "
632
+ },
633
+ "GetQueueUrl": {
634
+ "name": "GetQueueUrl",
635
+ "input": {
636
+ "shape_name": "GetQueueUrlRequest",
637
+ "type": "structure",
638
+ "members": {
639
+ "QueueName": {
640
+ "shape_name": "String",
641
+ "type": "string",
642
+ "documentation": "\n <p>The name of the queue whose URL must be fetched.</p>\n ",
643
+ "required": true
644
+ },
645
+ "QueueOwnerAWSAccountId": {
646
+ "shape_name": "String",
647
+ "type": "string",
648
+ "documentation": "\n <p>The AWS account number of the queue's owner.</p>\n "
649
+ }
650
+ },
651
+ "documentation": null
652
+ },
653
+ "output": {
654
+ "shape_name": "GetQueueUrlResult",
655
+ "type": "structure",
656
+ "members": {
657
+ "QueueUrl": {
658
+ "shape_name": "String",
659
+ "type": "string",
660
+ "documentation": "\n <p>The URL for the queue.</p>\n "
661
+ }
662
+ },
663
+ "documentation": null
664
+ },
665
+ "errors": [
666
+ {
667
+ "shape_name": "QueueDoesNotExist",
668
+ "type": "structure",
669
+ "members": {
670
+ },
671
+ "documentation": "\n <p>The queue referred to does not exist.</p>\n "
672
+ }
673
+ ],
674
+ "documentation": "\n <p>The <code>GetQueueUrl</code> action returns the URL of an existing queue.</p>\n "
675
+ },
676
+ "ListQueues": {
677
+ "name": "ListQueues",
678
+ "input": {
679
+ "shape_name": "ListQueuesRequest",
680
+ "type": "structure",
681
+ "members": {
682
+ "QueueNamePrefix": {
683
+ "shape_name": "String",
684
+ "type": "string",
685
+ "documentation": "\n <p>A string to use for filtering the list results. Only those queues whose name\n begins with the specified string are returned.</p>\n "
686
+ }
687
+ },
688
+ "documentation": null
689
+ },
690
+ "output": {
691
+ "shape_name": "ListQueuesResult",
692
+ "type": "structure",
693
+ "members": {
694
+ "QueueUrls": {
695
+ "shape_name": "QueueUrlList",
696
+ "type": "list",
697
+ "members": {
698
+ "shape_name": "String",
699
+ "type": "string",
700
+ "documentation": null,
701
+ "xmlname": "QueueUrl"
702
+ },
703
+ "flattened": true,
704
+ "documentation": "\n <p>A list of queue URLs, up to 1000 entries.</p>\n "
705
+ }
706
+ },
707
+ "documentation": null
708
+ },
709
+ "errors": [
710
+
711
+ ],
712
+ "documentation": "\n <p>Returns a list of your queues.</p>\n "
713
+ },
714
+ "ReceiveMessage": {
715
+ "name": "ReceiveMessage",
716
+ "input": {
717
+ "shape_name": "ReceiveMessageRequest",
718
+ "type": "structure",
719
+ "members": {
720
+ "QueueUrl": {
721
+ "shape_name": "String",
722
+ "type": "string",
723
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
724
+ "required": true
725
+ },
726
+ "AttributeNames": {
727
+ "shape_name": "AttributeNameList",
728
+ "type": "list",
729
+ "members": {
730
+ "shape_name": "QueueAttributeName",
731
+ "type": "string",
732
+ "enum": [
733
+ "Policy",
734
+ "VisibilityTimeout",
735
+ "MaximumMessageSize",
736
+ "MessageRetentionPeriod",
737
+ "ApproximateNumberOfMessages",
738
+ "ApproximateNumberOfMessagesNotVisible",
739
+ "CreatedTimestamp",
740
+ "LastModifiedTimestamp",
741
+ "QueueArn",
742
+ "ApproximateNumberOfMessagesDelayed",
743
+ "DelaySeconds",
744
+ "ReceiveMessageWaitTimeSeconds"
745
+ ],
746
+ "documentation": null,
747
+ "xmlname": "AttributeName"
748
+ },
749
+ "flattened": true,
750
+ "documentation": "\n <p>A list of attributes that need to be returned along with each message.\n The set of valid attributes are [SenderId, ApproximateFirstReceiveTimestamp,\n ApproximateReceiveCount, SentTimestamp].\n </p>\n "
751
+ },
752
+ "MaxNumberOfMessages": {
753
+ "shape_name": "Integer",
754
+ "type": "integer",
755
+ "documentation": "\n <p>The maximum number of messages to return. Amazon SQS never returns more\n messages than this value but may return fewer.</p>\n\n <p>All of the messages are not necessarily returned.</p>\n "
756
+ },
757
+ "VisibilityTimeout": {
758
+ "shape_name": "Integer",
759
+ "type": "integer",
760
+ "documentation": "\n <p>The duration (in seconds) that the received messages are hidden from\n subsequent retrieve requests after being retrieved by a\n <code>ReceiveMessage</code> request.</p>\n "
761
+ },
762
+ "WaitTimeSeconds": {
763
+ "shape_name": "Integer",
764
+ "type": "integer",
765
+ "documentation": "\n <p>The duration (in seconds) for which the call will wait for a message to arrive\n in the queue before returning. If a message is available, the call will\n return sooner than WaitTimeSeconds.</p>\n "
766
+ }
767
+ },
768
+ "documentation": null
769
+ },
770
+ "output": {
771
+ "shape_name": "ReceiveMessageResult",
772
+ "type": "structure",
773
+ "members": {
774
+ "Messages": {
775
+ "shape_name": "MessageList",
776
+ "type": "list",
777
+ "members": {
778
+ "shape_name": "Message",
779
+ "type": "structure",
780
+ "members": {
781
+ "MessageId": {
782
+ "shape_name": "String",
783
+ "type": "string",
784
+ "documentation": null
785
+ },
786
+ "ReceiptHandle": {
787
+ "shape_name": "String",
788
+ "type": "string",
789
+ "documentation": null
790
+ },
791
+ "MD5OfBody": {
792
+ "shape_name": "String",
793
+ "type": "string",
794
+ "documentation": null
795
+ },
796
+ "Body": {
797
+ "shape_name": "String",
798
+ "type": "string",
799
+ "documentation": null
800
+ },
801
+ "Attributes": {
802
+ "shape_name": "AttributeMap",
803
+ "type": "map",
804
+ "keys": {
805
+ "shape_name": "QueueAttributeName",
806
+ "type": "string",
807
+ "enum": [
808
+ "Policy",
809
+ "VisibilityTimeout",
810
+ "MaximumMessageSize",
811
+ "MessageRetentionPeriod",
812
+ "ApproximateNumberOfMessages",
813
+ "ApproximateNumberOfMessagesNotVisible",
814
+ "CreatedTimestamp",
815
+ "LastModifiedTimestamp",
816
+ "QueueArn",
817
+ "ApproximateNumberOfMessagesDelayed",
818
+ "DelaySeconds",
819
+ "ReceiveMessageWaitTimeSeconds"
820
+ ],
821
+ "documentation": "\n <p>The name of a queue attribute.</p>\n ",
822
+ "xmlname": "Name"
823
+ },
824
+ "members": {
825
+ "shape_name": "String",
826
+ "type": "string",
827
+ "documentation": "\n <p>The value of a queue attribute.</p>\n ",
828
+ "xmlname": "Value"
829
+ },
830
+ "flattened": true,
831
+ "xmlname": "Attribute",
832
+ "documentation": null
833
+ }
834
+ },
835
+ "documentation": null,
836
+ "xmlname": "Message"
837
+ },
838
+ "flattened": true,
839
+ "documentation": "\n <p>A list of messages.</p>\n "
840
+ }
841
+ },
842
+ "documentation": null
843
+ },
844
+ "errors": [
845
+ {
846
+ "shape_name": "OverLimit",
847
+ "type": "structure",
848
+ "members": {
849
+ },
850
+ "documentation": "\n <p>The operation that you requested would violate a limit. For example,\n ReceiveMessage returns this error if the maximum number of messages\n inflight has already been reached. AddPermission returns this error if\n the maximum number of permissions for the queue has already been reached.\n </p>\n "
851
+ }
852
+ ],
853
+ "documentation": "\n <p>Retrieves one or more messages from the specified queue, including the message\n body and message ID of each message. Messages returned by this action stay in\n the queue until you delete them. However, once a message is returned to a\n <code>ReceiveMessage</code> request, it is not returned on subsequent\n <code>ReceiveMessage</code> requests\n for the duration of the <code>VisibilityTimeout</code>. If you do not specify a\n <code>VisibilityTimeout</code> in the request, the overall visibility timeout for the queue\n is used for the returned messages.</p>\n\n <p>If a message is available in the queue, the call will return immediately. Otherwise,\n it will wait up to <code>WaitTimeSeconds</code> for a message to arrive. If you do not specify\n <code>WaitTimeSeconds</code> in the request, the queue attribute\n ReceiveMessageWaitTimeSeconds is used to determine how long to wait.</p>\n\n <p>You could ask for additional information about each message through the attributes.\n Attributes that can be requested are <code>[SenderId, ApproximateFirstReceiveTimestamp,\n ApproximateReceiveCount, SentTimestamp]</code>.</p>\n "
854
+ },
855
+ "RemovePermission": {
856
+ "name": "RemovePermission",
857
+ "input": {
858
+ "shape_name": "RemovePermissionRequest",
859
+ "type": "structure",
860
+ "members": {
861
+ "QueueUrl": {
862
+ "shape_name": "String",
863
+ "type": "string",
864
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
865
+ "required": true
866
+ },
867
+ "Label": {
868
+ "shape_name": "String",
869
+ "type": "string",
870
+ "documentation": "\n <p>The identification of the permission to remove. This is the label added with\n the <a>AddPermission</a> operation.</p>\n ",
871
+ "required": true
872
+ }
873
+ },
874
+ "documentation": null
875
+ },
876
+ "output": null,
877
+ "errors": [
878
+
879
+ ],
880
+ "documentation": "\n <p>The <code>RemovePermission</code> action revokes any permissions in the queue\n policy that matches the specified <code>Label</code> parameter. Only the owner\n of the queue can remove permissions.</p>\n "
881
+ },
882
+ "SendMessage": {
883
+ "name": "SendMessage",
884
+ "input": {
885
+ "shape_name": "SendMessageRequest",
886
+ "type": "structure",
887
+ "members": {
888
+ "QueueUrl": {
889
+ "shape_name": "String",
890
+ "type": "string",
891
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
892
+ "required": true
893
+ },
894
+ "MessageBody": {
895
+ "shape_name": "String",
896
+ "type": "string",
897
+ "documentation": "\n <p>The message to send.</p>\n ",
898
+ "required": true
899
+ },
900
+ "DelaySeconds": {
901
+ "shape_name": "Integer",
902
+ "type": "integer",
903
+ "documentation": "\n <p>The number of seconds the message has to be delayed.</p>\n "
904
+ }
905
+ },
906
+ "documentation": null
907
+ },
908
+ "output": {
909
+ "shape_name": "SendMessageResult",
910
+ "type": "structure",
911
+ "members": {
912
+ "MD5OfMessageBody": {
913
+ "shape_name": "String",
914
+ "type": "string",
915
+ "documentation": "\n <p>An MD5 digest of the non-URL-encoded message body string. This can be used to\n verify that SQS received the message correctly. SQS first URL decodes the\n message before creating the MD5 digest. For information about MD5, go to <a href=\"http://faqs.org/rfcs/rfc1321.html\">http://faqs.org/rfcs/rfc1321.html</a>.</p>\n "
916
+ },
917
+ "MessageId": {
918
+ "shape_name": "String",
919
+ "type": "string",
920
+ "documentation": "\n <p>The message ID of the message added to the queue.</p>\n "
921
+ }
922
+ },
923
+ "documentation": null
924
+ },
925
+ "errors": [
926
+ {
927
+ "shape_name": "InvalidMessageContents",
928
+ "type": "structure",
929
+ "members": {
930
+ },
931
+ "documentation": "\n <p>The message contains characters outside the allowed set.</p>\n "
932
+ }
933
+ ],
934
+ "documentation": "\n <p>The <code>SendMessage</code> action delivers a message to the specified\n queue.</p>\n "
935
+ },
936
+ "SendMessageBatch": {
937
+ "name": "SendMessageBatch",
938
+ "input": {
939
+ "shape_name": "SendMessageBatchRequest",
940
+ "type": "structure",
941
+ "members": {
942
+ "QueueUrl": {
943
+ "shape_name": "String",
944
+ "type": "string",
945
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
946
+ "required": true
947
+ },
948
+ "Entries": {
949
+ "shape_name": "SendMessageBatchRequestEntryList",
950
+ "type": "list",
951
+ "members": {
952
+ "shape_name": "SendMessageBatchRequestEntry",
953
+ "type": "structure",
954
+ "members": {
955
+ "Id": {
956
+ "shape_name": "String",
957
+ "type": "string",
958
+ "documentation": "\n <p>An identifier for the message in this batch. This is used to communicate\n the result. Note that the the <code>Id</code>s of a batch request need to\n be unique within the request.</p>\n ",
959
+ "required": true
960
+ },
961
+ "MessageBody": {
962
+ "shape_name": "String",
963
+ "type": "string",
964
+ "documentation": "\n <p>Body of the message.</p>\n ",
965
+ "required": true
966
+ },
967
+ "DelaySeconds": {
968
+ "shape_name": "Integer",
969
+ "type": "integer",
970
+ "documentation": "\n <p>The number of seconds for which the message has to be delayed.</p>\n "
971
+ }
972
+ },
973
+ "documentation": "\n <p>Contains the details of a single SQS message along with a <code>Id</code>. </p>\n ",
974
+ "xmlname": "SendMessageBatchRequestEntry"
975
+ },
976
+ "flattened": true,
977
+ "documentation": "\n <p>A list of <a>SendMessageBatchRequestEntry</a>s.</p>\n ",
978
+ "required": true
979
+ }
980
+ },
981
+ "documentation": null
982
+ },
983
+ "output": {
984
+ "shape_name": "SendMessageBatchResult",
985
+ "type": "structure",
986
+ "members": {
987
+ "Successful": {
988
+ "shape_name": "SendMessageBatchResultEntryList",
989
+ "type": "list",
990
+ "members": {
991
+ "shape_name": "SendMessageBatchResultEntry",
992
+ "type": "structure",
993
+ "members": {
994
+ "Id": {
995
+ "shape_name": "String",
996
+ "type": "string",
997
+ "documentation": "\n <p>An identifier for the message in this batch.</p>\n ",
998
+ "required": true
999
+ },
1000
+ "MessageId": {
1001
+ "shape_name": "String",
1002
+ "type": "string",
1003
+ "documentation": "\n <p>An identifier for the message.</p>\n ",
1004
+ "required": true
1005
+ },
1006
+ "MD5OfMessageBody": {
1007
+ "shape_name": "String",
1008
+ "type": "string",
1009
+ "documentation": "\n <p>An MD5 digest of the non-URL-encoded message body string. This can be used to\n verify that SQS received the message correctly. SQS first URL decodes the\n message before creating the MD5 digest. For information about MD5, go to <a href=\"http://faqs.org/rfcs/rfc1321.html\">http://faqs.org/rfcs/rfc1321.html</a>.</p>\n ",
1010
+ "required": true
1011
+ }
1012
+ },
1013
+ "documentation": "\n <p>Encloses a message ID for successfully enqueued message of a\n <a>SendMessageBatch</a>.</p>\n ",
1014
+ "xmlname": "SendMessageBatchResultEntry"
1015
+ },
1016
+ "flattened": true,
1017
+ "documentation": "\n <p>A list of <a>SendMessageBatchResultEntry</a>s.</p>\n ",
1018
+ "required": true
1019
+ },
1020
+ "Failed": {
1021
+ "shape_name": "BatchResultErrorEntryList",
1022
+ "type": "list",
1023
+ "members": {
1024
+ "shape_name": "BatchResultErrorEntry",
1025
+ "type": "structure",
1026
+ "members": {
1027
+ "Id": {
1028
+ "shape_name": "String",
1029
+ "type": "string",
1030
+ "documentation": "\n <p>The id of an entry in a batch request.</p>\n ",
1031
+ "required": true
1032
+ },
1033
+ "SenderFault": {
1034
+ "shape_name": "Boolean",
1035
+ "type": "boolean",
1036
+ "documentation": "\n <p>Whether the error happened due to the sender's fault.</p>\n ",
1037
+ "required": true
1038
+ },
1039
+ "Code": {
1040
+ "shape_name": "String",
1041
+ "type": "string",
1042
+ "documentation": "\n <p>An error code representing why the operation failed on this entry.</p>\n ",
1043
+ "required": true
1044
+ },
1045
+ "Message": {
1046
+ "shape_name": "String",
1047
+ "type": "string",
1048
+ "documentation": "\n <p>A message explaining why the operation failed on this entry.</p>\n "
1049
+ }
1050
+ },
1051
+ "documentation": "\n <p>This is used in the responses of batch API to give a detailed description\n of the result of an operation on each entry in the request.</p>\n ",
1052
+ "xmlname": "BatchResultErrorEntry"
1053
+ },
1054
+ "flattened": true,
1055
+ "documentation": "\n <p>A list of <a>BatchResultErrorEntry</a>s with the error detail about each\n message that could not be enqueued.</p>\n ",
1056
+ "required": true
1057
+ }
1058
+ },
1059
+ "documentation": null
1060
+ },
1061
+ "errors": [
1062
+ {
1063
+ "shape_name": "TooManyEntriesInBatchRequest",
1064
+ "type": "structure",
1065
+ "members": {
1066
+ },
1067
+ "documentation": "\n <p>Batch request contains more number of entries than permissible.</p>\n "
1068
+ },
1069
+ {
1070
+ "shape_name": "EmptyBatchRequest",
1071
+ "type": "structure",
1072
+ "members": {
1073
+ },
1074
+ "documentation": "\n <p>Batch request does not contain an entry.</p>\n "
1075
+ },
1076
+ {
1077
+ "shape_name": "BatchEntryIdsNotDistinct",
1078
+ "type": "structure",
1079
+ "members": {
1080
+ },
1081
+ "documentation": "\n <p>Two or more batch entries have the same <code>Id</code> in the request.</p>\n "
1082
+ },
1083
+ {
1084
+ "shape_name": "BatchRequestTooLong",
1085
+ "type": "structure",
1086
+ "members": {
1087
+ },
1088
+ "documentation": "\n <p>The length of all the messages put together is more than the limit.</p>\n "
1089
+ },
1090
+ {
1091
+ "shape_name": "InvalidBatchEntryId",
1092
+ "type": "structure",
1093
+ "members": {
1094
+ },
1095
+ "documentation": "\n <p>The <code>Id</code> of a batch entry in a batch request does not abide\n by the specification.</p>\n "
1096
+ }
1097
+ ],
1098
+ "documentation": "\n <p>This is a batch version of <a>SendMessage</a>. It takes\n multiple messages and adds each of them to the queue. The result of each \n add operation is reported individually in the response.</p>\n "
1099
+ },
1100
+ "SetQueueAttributes": {
1101
+ "name": "SetQueueAttributes",
1102
+ "input": {
1103
+ "shape_name": "SetQueueAttributesRequest",
1104
+ "type": "structure",
1105
+ "members": {
1106
+ "QueueUrl": {
1107
+ "shape_name": "String",
1108
+ "type": "string",
1109
+ "documentation": "\n <p>The URL of the SQS queue to take action on.</p>\n ",
1110
+ "required": true
1111
+ },
1112
+ "Attributes": {
1113
+ "shape_name": "AttributeMap",
1114
+ "type": "map",
1115
+ "keys": {
1116
+ "shape_name": "QueueAttributeName",
1117
+ "type": "string",
1118
+ "enum": [
1119
+ "Policy",
1120
+ "VisibilityTimeout",
1121
+ "MaximumMessageSize",
1122
+ "MessageRetentionPeriod",
1123
+ "ApproximateNumberOfMessages",
1124
+ "ApproximateNumberOfMessagesNotVisible",
1125
+ "CreatedTimestamp",
1126
+ "LastModifiedTimestamp",
1127
+ "QueueArn",
1128
+ "ApproximateNumberOfMessagesDelayed",
1129
+ "DelaySeconds",
1130
+ "ReceiveMessageWaitTimeSeconds"
1131
+ ],
1132
+ "documentation": "\n <p>The name of a queue attribute.</p>\n ",
1133
+ "xmlname": "Name"
1134
+ },
1135
+ "members": {
1136
+ "shape_name": "String",
1137
+ "type": "string",
1138
+ "documentation": "\n <p>The value of a queue attribute.</p>\n ",
1139
+ "xmlname": "Value"
1140
+ },
1141
+ "flattened": true,
1142
+ "xmlname": "Attribute",
1143
+ "documentation": "\n <p>A map of attributes to set.</p>\n ",
1144
+ "required": true
1145
+ }
1146
+ },
1147
+ "documentation": null
1148
+ },
1149
+ "output": null,
1150
+ "errors": [
1151
+ {
1152
+ "shape_name": "InvalidAttributeName",
1153
+ "type": "structure",
1154
+ "members": {
1155
+ },
1156
+ "documentation": "\n <p>The attribute referred to does not exist.</p>\n "
1157
+ }
1158
+ ],
1159
+ "documentation": "\n <p>Sets the value of one or more queue attributes. Valid attributes that\n can be set are [VisibilityTimeout, Policy, MaximumMessageSize,\n MessageRetentionPeriod, ReceiveMessageWaitTimeSeconds].</p>\n "
1160
+ }
1161
+ }
1162
+ }