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,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 06a0b804531879f45414f563ffa9d587b4ca7686
4
+ data.tar.gz: 0606ab9dc8e342042a2154042cff14845232e115
5
+ SHA512:
6
+ metadata.gz: a77aae63667dcca5018735f2c7bb46d2ceca132fd36f26915419b7cd1e726070a68db23cbbc61a31e8de98d5ff186e0318899e1991c441396e569be8f37c64a7
7
+ data.tar.gz: 6613b4180a8821b9b616021673e1a4da7105f6bf2971dec500859468d5d0057bbac2c47acd177ed2220f83e171dc16220f11c0351d8f3139627daf3e0a9ea181
@@ -0,0 +1,7 @@
1
+ vendor/tools
2
+ integration-test-config.json
3
+ Gemfile.lock
4
+ coverage
5
+ doc
6
+ .yardoc
7
+ *.gem
@@ -0,0 +1,6 @@
1
+ if ENV['COVERAGE']
2
+ SimpleCov.start do
3
+ add_filter 'spec'
4
+ add_filter 'features'
5
+ end
6
+ end
@@ -0,0 +1,12 @@
1
+ script: bundle exec rake
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ bundler_args: --without bin docs
6
+ branches:
7
+ only:
8
+ - master
9
+ env:
10
+ global:
11
+ - CI=1
12
+ - SUITE=1
@@ -0,0 +1,11 @@
1
+ --title 'AWS SDK Core'
2
+ --template-path doc-src/templates
3
+ --embed-mixins
4
+ --markup markdown
5
+ --markup-provider rdiscount
6
+ --hide-api private
7
+ --plugin sitemap
8
+ --asset doc-src/images:images
9
+ -e doc-src/plugins/apis.rb
10
+ lib/**/*.rb
11
+ vendor/seahorse/lib/**/*.rb
data/Gemfile ADDED
@@ -0,0 +1,26 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ gem 'rake', require: false
6
+
7
+ group :test do
8
+ gem 'rspec', github: 'rspec/rspec'
9
+ gem 'rspec-core', github: 'rspec/rspec-core'
10
+ gem 'rspec-mocks', github: 'rspec/rspec-mocks'
11
+ gem 'rspec-expectations', github: 'rspec/rspec-expectations'
12
+ gem 'rspec-support', github: 'rspec/rspec-support'
13
+ gem 'cucumber'
14
+ gem 'webmock'
15
+ gem 'simplecov', require: false
16
+ end
17
+
18
+ group :docs do
19
+ gem 'yard'
20
+ gem 'yard-sitemap', '~> 1.0'
21
+ gem 'rdiscount'
22
+ end
23
+
24
+ group :bin do
25
+ gem 'pry'
26
+ end
@@ -0,0 +1,12 @@
1
+ Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ may not use this file except in compliance with the License. A copy of
5
+ the License is located at
6
+
7
+ http://aws.amazon.com/apache2.0/
8
+
9
+ or in the "license" file accompanying this file. This file is
10
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ ANY KIND, either express or implied. See the License for the specific
12
+ language governing permissions and limitations under the License.
@@ -0,0 +1,169 @@
1
+ # AWS SDK Core [![Build Status](https://travis-ci.org/aws/aws-sdk-core-ruby.png?branch=master)](https://travis-ci.org/aws/aws-sdk-core-ruby) [![Code Climate](https://codeclimate.com/github/aws/aws-sdk-core-ruby.png)](https://codeclimate.com/github/aws/aws-sdk-core-ruby)
2
+
3
+ This library is in a developer preview period.
4
+
5
+ We are working on version 2 of the official AWS SDK for Ruby. This library
6
+ is the first part of our v2 strategy. AWS SDK Core is an updated set of
7
+ service clients. Our goal is to make them more flexible and extensible
8
+ than the clients in version 1 of the Ruby SDK.
9
+
10
+ For version 1.0 of the Ruby SDK, see [aws/aws-sdk-ruby](http://github.com/aws/aws-sdk-ruby).
11
+
12
+ ## Links of Interest
13
+
14
+ * [Documentation](http://docs.amazonwebservices.com/sdkforruby/api/frames.html)
15
+ * [Release Notes](http://aws.amazon.com/releasenotes/SDK/Ruby/Core)
16
+ * [Issues](http://github.com/aws/aws-sdk-core-ruby/issues)
17
+ * [Forums](https://forums.aws.amazon.com/forum.jspa?forumID=125)
18
+ * [License](http://aws.amazon.com/apache2.0/)
19
+
20
+ ## Installation
21
+
22
+ You can install the AWS SDK Core from rubygems:
23
+
24
+ gem install aws-sdk-core
25
+
26
+ If you are using Bundler, we recommend that you express a major version
27
+ dependency (this library uses [semantic versioning](http://semver.org/)):
28
+
29
+ gem 'aws-sdk-core', '~> 2.0'
30
+
31
+ **Note:** AWS SDK Core requires Ruby 1.9.3+.
32
+
33
+ ## Configuration
34
+
35
+ At a minimum, you need to configure your AWS account access credentials and a
36
+ default region. You can supply these globally or per service object.
37
+
38
+ ```ruby
39
+ require 'aws-sdk-core'
40
+
41
+ # Aws.config is used for default configuration.
42
+ # You can construct service object with the same options.
43
+ Aws.config = { access_key_id: '...', secret_access_key: '...', region: 'us-west-2' }
44
+ ```
45
+
46
+ Additionally, the SDK will attempt to load these options from `ENV`:
47
+
48
+ export AWS_ACCESS_KEY_ID='...'
49
+ export AWS_SECRET_ACCESS_KEY='...'
50
+ export AWS_REGION='us-west-2'
51
+
52
+ ## Basic Usage
53
+
54
+ To make a request, you need to construct a service client.
55
+
56
+ ```ruby
57
+ s3 = Aws::S3.new
58
+ s3 = Aws.s3 # helper method returns a new client
59
+ ```
60
+
61
+ Each client provides one operation per API operation. Refer to the
62
+ [API documentation](http://docs.aws.amazon.com/AWSRubySDKCore/latest/frames.html)
63
+ for a complete list of available methods.
64
+
65
+ ```ruby
66
+ # get a list of buckets in Amazon S3
67
+ resp = s3.list_buckets
68
+ puts resp.buckets.map(&:name)
69
+ ```
70
+
71
+ API methods each accept a hash of params and return a structured response.
72
+
73
+ ```ruby
74
+ resp = s3.list_objects(bucket: 'aws-sdk-core', max_keys: 2)
75
+ resp.contents.each do |object|
76
+ puts "#{object.key} => #{object.etag}"
77
+ end
78
+ ```
79
+
80
+ ## Interactive Console
81
+
82
+ AWS SDK Core ships with a REPL that acts as an interactive console. You
83
+ can access the REPL by running `aws.rb` from the command line.
84
+
85
+ ```ruby
86
+ $ aws.rb
87
+ Aws> ec2.describe_instances.reservations.first.instances.first
88
+ <struct
89
+ instance_id="i-1234567",
90
+ image_id="ami-7654321",
91
+ state=<struct code=16, name="running">,
92
+ ...>
93
+ ```
94
+
95
+ Call `#service_classes` to get a list of available service helpers and
96
+ the class they construct.
97
+
98
+ ```ruby
99
+ Aws> service_classes
100
+ {:autoscaling=>Aws::AutoScaling,
101
+ :cloudformation=>Aws::CloudFormation,
102
+ :cloudfront=>Aws::CloudFront,
103
+ :cloudsearch=>Aws::CloudSearch,
104
+ ...
105
+ :swf=>Aws::SWF}
106
+ ```
107
+
108
+ ## Versioning
109
+
110
+ This project uses [semantic versioning](http://semver.org/). When the project
111
+ leaves the developer preview state, we will continue by versioning from
112
+ `2.0`. Until then, all versions will be suffixed by a release candidate
113
+ version.
114
+
115
+ ## Supported Services
116
+
117
+ | Service Name | Service Class | API Versions |
118
+ | ----------------------------------- | ------------------------- | ------------------------------ |
119
+ | Amazon CloudFront | Aws::CloudFront | 2012-05-05 &mdash; 2013-08-26 |
120
+ | Amazon CloudSearch | Aws::CloudSearch | 2011-02-01 |
121
+ | Amazon CloudWatch | Aws::CloudWatch | 2010-08-01 |
122
+ | Amazon DynamoDB | Aws::DynamoDB | 2011-12-05 &mdash; 2012-08-10 |
123
+ | Amazon Elastic Compute Cloud | Aws::EC2 | 2013-06-15 &mdash; 2013-10-01 |
124
+ | Amazon Elastic MapReduce | Aws::EMR | 2009-03-31 |
125
+ | Amazon Elastic Transcoder | Aws::ElasticTranscoder | 2012-09-25 |
126
+ | Amazon ElastiCache | Aws::ElastiCache | 2012-11-15 &mdash; 2013-06-15 |
127
+ | Amazon Glacier | Aws::Glacier | 2012-06-01 |
128
+ | Amazon Redshift | Aws::Redshift | 2012-12-01 |
129
+ | Amazon Relational Database Service | Aws::RDS | 2013-01-10 &mdash; 2013-05-15 |
130
+ | Amazon Route 53 | Aws::Route53 | 2012-12-12 |
131
+ | Amazon Simple Email Service | Aws::SES | 2010-12-01 |
132
+ | Amazon Simple Notification Service | Aws::SNS | 2010-03-31 |
133
+ | Amazon Simple Queue Service | Aws::SQS | 2012-11-05 |
134
+ | Amazon Simple Storage Service | Aws::S3 | 2006-03-01 |
135
+ | Amazon Simple Workflow Service | Aws::SWF | 2012-01-25 |
136
+ | Amazon SimpleDB | Aws::SDB | 2009-04-15 |
137
+ | Auto Scaling | Aws::AutoScaling | 2011-01-01 |
138
+ | AWS CloudFormation | Aws::CloudFormation | 2010-05-15 |
139
+ | AWS Data Pipeline | Aws::DataPipeline | 2012-10-29 |
140
+ | AWS Direct Connect | Aws::DirectConnect | 2012-10-25 |
141
+ | AWS Elastic Beanstalk | Aws::ElasticBeanstalk | 2010-12-01 |
142
+ | AWS Identity and Access Management | Aws::IAM | 2010-05-08 |
143
+ | AWS Import/Export | Aws::ImportExport | 2010-06-01 |
144
+ | AWS OpsWorks | Aws::OpsWorks | 2013-02-18 |
145
+ | AWS Security Token Service | Aws::STS | 2011-06-15 |
146
+ | AWS Storage Gateway | Aws::StorageGateway | 2012-06-30 |
147
+ | AWS Support | Aws::Support | 2013-04-15 |
148
+ | Elastic Load Balancing | Aws::ElasticLoadBalancing | 2012-06-01 |
149
+
150
+ ## License
151
+
152
+ This library is distributed under the
153
+ [apache license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
154
+
155
+ ```no-highlight
156
+ copyright 2013. amazon web services, inc. all rights reserved.
157
+
158
+ licensed under the apache license, version 2.0 (the "license");
159
+ you may not use this file except in compliance with the license.
160
+ you may obtain a copy of the license at
161
+
162
+ http://www.apache.org/licenses/license-2.0
163
+
164
+ unless required by applicable law or agreed to in writing, software
165
+ distributed under the license is distributed on an "as is" basis,
166
+ without warranties or conditions of any kind, either express or implied.
167
+ see the license for the specific language governing permissions and
168
+ limitations under the license.
169
+ ```
@@ -0,0 +1,15 @@
1
+ root = File.dirname(__FILE__)
2
+
3
+ $:.unshift(File.join(root, "lib"))
4
+ $:.unshift(File.join(root, "vendor/seahorse/lib"))
5
+
6
+ Dir[File.join(root, 'tasks', '**', '*.rake')].each do |task_file|
7
+ load task_file
8
+ end
9
+
10
+ # vendored task files
11
+ Dir[File.join(root, 'vendor', '**', 'tasks', '**', '*.rake')].each do |task_file|
12
+ load task_file
13
+ end
14
+
15
+ task :default => :test
@@ -0,0 +1,1852 @@
1
+ {
2
+ "version": "2011-01-01",
3
+ "metadata": {
4
+ "endpoint_prefix": "autoscaling",
5
+ "regional_endpoints": {
6
+ "us-east-1": "autoscaling.us-east-1.amazonaws.com",
7
+ "us-west-1": "autoscaling.us-west-1.amazonaws.com",
8
+ "us-west-2": "autoscaling.us-west-2.amazonaws.com",
9
+ "eu-west-1": "autoscaling.eu-west-1.amazonaws.com",
10
+ "ap-northeast-1": "autoscaling.ap-northeast-1.amazonaws.com",
11
+ "ap-southeast-1": "autoscaling.ap-southeast-1.amazonaws.com",
12
+ "ap-southeast-2": "autoscaling.ap-southeast-2.amazonaws.com",
13
+ "sa-east-1": "autoscaling.sa-east-1.amazonaws.com",
14
+ "us-gov-west-1": "autoscaling.us-gov-west-1.amazonaws.com"
15
+ },
16
+ "service_class_name": "AutoScaling",
17
+ "service_full_name": "Auto Scaling"
18
+ },
19
+ "plugins": [
20
+ "Seahorse::Client::Plugins::Logging",
21
+ "Seahorse::Client::Plugins::RestfulBindings",
22
+ "Seahorse::Client::Plugins::ContentLength",
23
+ "Aws::Plugins::UserAgent",
24
+ "Aws::Plugins::RetryErrors",
25
+ "Aws::Plugins::GlobalConfiguration",
26
+ "Aws::Plugins::RegionalEndpoint",
27
+ "Aws::Plugins::Credentials",
28
+ "Aws::Plugins::QueryProtocol",
29
+ "Aws::Plugins::SignatureV4"
30
+ ],
31
+ "operations": {
32
+ "create_auto_scaling_group": {
33
+ "name": "CreateAutoScalingGroup",
34
+ "http_method": "POST",
35
+ "http_path": "/",
36
+ "input": {
37
+ "type": "input",
38
+ "members": {
39
+ "auto_scaling_group_name": {
40
+ "type": "string",
41
+ "required": true,
42
+ "serialized_name": "AutoScalingGroupName"
43
+ },
44
+ "launch_configuration_name": {
45
+ "type": "string",
46
+ "required": true,
47
+ "serialized_name": "LaunchConfigurationName"
48
+ },
49
+ "min_size": {
50
+ "type": "integer",
51
+ "required": true,
52
+ "serialized_name": "MinSize"
53
+ },
54
+ "max_size": {
55
+ "type": "integer",
56
+ "required": true,
57
+ "serialized_name": "MaxSize"
58
+ },
59
+ "desired_capacity": {
60
+ "type": "integer",
61
+ "serialized_name": "DesiredCapacity"
62
+ },
63
+ "default_cooldown": {
64
+ "type": "integer",
65
+ "serialized_name": "DefaultCooldown"
66
+ },
67
+ "availability_zones": {
68
+ "type": "list",
69
+ "serialized_name": "AvailabilityZones",
70
+ "members": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "load_balancer_names": {
75
+ "type": "list",
76
+ "serialized_name": "LoadBalancerNames",
77
+ "members": {
78
+ "type": "string"
79
+ }
80
+ },
81
+ "health_check_type": {
82
+ "type": "string",
83
+ "serialized_name": "HealthCheckType"
84
+ },
85
+ "health_check_grace_period": {
86
+ "type": "integer",
87
+ "serialized_name": "HealthCheckGracePeriod"
88
+ },
89
+ "placement_group": {
90
+ "type": "string",
91
+ "serialized_name": "PlacementGroup"
92
+ },
93
+ "vpc_zone_identifier": {
94
+ "type": "string",
95
+ "serialized_name": "VPCZoneIdentifier"
96
+ },
97
+ "termination_policies": {
98
+ "type": "list",
99
+ "serialized_name": "TerminationPolicies",
100
+ "members": {
101
+ "type": "string"
102
+ }
103
+ },
104
+ "tags": {
105
+ "type": "list",
106
+ "serialized_name": "Tags",
107
+ "members": {
108
+ "type": "structure",
109
+ "members": {
110
+ "resource_id": {
111
+ "type": "string",
112
+ "serialized_name": "ResourceId"
113
+ },
114
+ "resource_type": {
115
+ "type": "string",
116
+ "serialized_name": "ResourceType"
117
+ },
118
+ "key": {
119
+ "type": "string",
120
+ "required": true,
121
+ "serialized_name": "Key"
122
+ },
123
+ "value": {
124
+ "type": "string",
125
+ "serialized_name": "Value"
126
+ },
127
+ "propagate_at_launch": {
128
+ "type": "boolean",
129
+ "serialized_name": "PropagateAtLaunch"
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ },
137
+ "create_launch_configuration": {
138
+ "name": "CreateLaunchConfiguration",
139
+ "http_method": "POST",
140
+ "http_path": "/",
141
+ "input": {
142
+ "type": "input",
143
+ "members": {
144
+ "launch_configuration_name": {
145
+ "type": "string",
146
+ "required": true,
147
+ "serialized_name": "LaunchConfigurationName"
148
+ },
149
+ "image_id": {
150
+ "type": "string",
151
+ "required": true,
152
+ "serialized_name": "ImageId"
153
+ },
154
+ "key_name": {
155
+ "type": "string",
156
+ "serialized_name": "KeyName"
157
+ },
158
+ "security_groups": {
159
+ "type": "list",
160
+ "serialized_name": "SecurityGroups",
161
+ "members": {
162
+ "type": "string"
163
+ }
164
+ },
165
+ "user_data": {
166
+ "type": "string",
167
+ "serialized_name": "UserData"
168
+ },
169
+ "instance_type": {
170
+ "type": "string",
171
+ "required": true,
172
+ "serialized_name": "InstanceType"
173
+ },
174
+ "kernel_id": {
175
+ "type": "string",
176
+ "serialized_name": "KernelId"
177
+ },
178
+ "ramdisk_id": {
179
+ "type": "string",
180
+ "serialized_name": "RamdiskId"
181
+ },
182
+ "block_device_mappings": {
183
+ "type": "list",
184
+ "serialized_name": "BlockDeviceMappings",
185
+ "members": {
186
+ "type": "structure",
187
+ "members": {
188
+ "virtual_name": {
189
+ "type": "string",
190
+ "serialized_name": "VirtualName"
191
+ },
192
+ "device_name": {
193
+ "type": "string",
194
+ "required": true,
195
+ "serialized_name": "DeviceName"
196
+ },
197
+ "ebs": {
198
+ "type": "structure",
199
+ "serialized_name": "Ebs",
200
+ "members": {
201
+ "snapshot_id": {
202
+ "type": "string",
203
+ "serialized_name": "SnapshotId"
204
+ },
205
+ "volume_size": {
206
+ "type": "integer",
207
+ "serialized_name": "VolumeSize"
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+ },
214
+ "instance_monitoring": {
215
+ "type": "structure",
216
+ "serialized_name": "InstanceMonitoring",
217
+ "members": {
218
+ "enabled": {
219
+ "type": "boolean",
220
+ "serialized_name": "Enabled"
221
+ }
222
+ }
223
+ },
224
+ "spot_price": {
225
+ "type": "string",
226
+ "serialized_name": "SpotPrice"
227
+ },
228
+ "iam_instance_profile": {
229
+ "type": "string",
230
+ "serialized_name": "IamInstanceProfile"
231
+ },
232
+ "ebs_optimized": {
233
+ "type": "boolean",
234
+ "serialized_name": "EbsOptimized"
235
+ },
236
+ "associate_public_ip_address": {
237
+ "type": "boolean",
238
+ "serialized_name": "AssociatePublicIpAddress"
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "create_or_update_tags": {
244
+ "name": "CreateOrUpdateTags",
245
+ "http_method": "POST",
246
+ "http_path": "/",
247
+ "input": {
248
+ "type": "input",
249
+ "members": {
250
+ "tags": {
251
+ "type": "list",
252
+ "required": true,
253
+ "serialized_name": "Tags",
254
+ "members": {
255
+ "type": "structure",
256
+ "members": {
257
+ "resource_id": {
258
+ "type": "string",
259
+ "serialized_name": "ResourceId"
260
+ },
261
+ "resource_type": {
262
+ "type": "string",
263
+ "serialized_name": "ResourceType"
264
+ },
265
+ "key": {
266
+ "type": "string",
267
+ "required": true,
268
+ "serialized_name": "Key"
269
+ },
270
+ "value": {
271
+ "type": "string",
272
+ "serialized_name": "Value"
273
+ },
274
+ "propagate_at_launch": {
275
+ "type": "boolean",
276
+ "serialized_name": "PropagateAtLaunch"
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "delete_auto_scaling_group": {
285
+ "name": "DeleteAutoScalingGroup",
286
+ "http_method": "POST",
287
+ "http_path": "/",
288
+ "input": {
289
+ "type": "input",
290
+ "members": {
291
+ "auto_scaling_group_name": {
292
+ "type": "string",
293
+ "required": true,
294
+ "serialized_name": "AutoScalingGroupName"
295
+ },
296
+ "force_delete": {
297
+ "type": "boolean",
298
+ "serialized_name": "ForceDelete"
299
+ }
300
+ }
301
+ }
302
+ },
303
+ "delete_launch_configuration": {
304
+ "name": "DeleteLaunchConfiguration",
305
+ "http_method": "POST",
306
+ "http_path": "/",
307
+ "input": {
308
+ "type": "input",
309
+ "members": {
310
+ "launch_configuration_name": {
311
+ "type": "string",
312
+ "required": true,
313
+ "serialized_name": "LaunchConfigurationName"
314
+ }
315
+ }
316
+ }
317
+ },
318
+ "delete_notification_configuration": {
319
+ "name": "DeleteNotificationConfiguration",
320
+ "http_method": "POST",
321
+ "http_path": "/",
322
+ "input": {
323
+ "type": "input",
324
+ "members": {
325
+ "auto_scaling_group_name": {
326
+ "type": "string",
327
+ "required": true,
328
+ "serialized_name": "AutoScalingGroupName"
329
+ },
330
+ "topic_arn": {
331
+ "type": "string",
332
+ "required": true,
333
+ "serialized_name": "TopicARN"
334
+ }
335
+ }
336
+ }
337
+ },
338
+ "delete_policy": {
339
+ "name": "DeletePolicy",
340
+ "http_method": "POST",
341
+ "http_path": "/",
342
+ "input": {
343
+ "type": "input",
344
+ "members": {
345
+ "auto_scaling_group_name": {
346
+ "type": "string",
347
+ "serialized_name": "AutoScalingGroupName"
348
+ },
349
+ "policy_name": {
350
+ "type": "string",
351
+ "required": true,
352
+ "serialized_name": "PolicyName"
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "delete_scheduled_action": {
358
+ "name": "DeleteScheduledAction",
359
+ "http_method": "POST",
360
+ "http_path": "/",
361
+ "input": {
362
+ "type": "input",
363
+ "members": {
364
+ "auto_scaling_group_name": {
365
+ "type": "string",
366
+ "serialized_name": "AutoScalingGroupName"
367
+ },
368
+ "scheduled_action_name": {
369
+ "type": "string",
370
+ "required": true,
371
+ "serialized_name": "ScheduledActionName"
372
+ }
373
+ }
374
+ }
375
+ },
376
+ "delete_tags": {
377
+ "name": "DeleteTags",
378
+ "http_method": "POST",
379
+ "http_path": "/",
380
+ "input": {
381
+ "type": "input",
382
+ "members": {
383
+ "tags": {
384
+ "type": "list",
385
+ "required": true,
386
+ "serialized_name": "Tags",
387
+ "members": {
388
+ "type": "structure",
389
+ "members": {
390
+ "resource_id": {
391
+ "type": "string",
392
+ "serialized_name": "ResourceId"
393
+ },
394
+ "resource_type": {
395
+ "type": "string",
396
+ "serialized_name": "ResourceType"
397
+ },
398
+ "key": {
399
+ "type": "string",
400
+ "required": true,
401
+ "serialized_name": "Key"
402
+ },
403
+ "value": {
404
+ "type": "string",
405
+ "serialized_name": "Value"
406
+ },
407
+ "propagate_at_launch": {
408
+ "type": "boolean",
409
+ "serialized_name": "PropagateAtLaunch"
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "describe_adjustment_types": {
418
+ "name": "DescribeAdjustmentTypes",
419
+ "http_method": "POST",
420
+ "http_path": "/",
421
+ "output": {
422
+ "type": "output",
423
+ "metadata": {
424
+ "wrapper": "DescribeAdjustmentTypesResult"
425
+ },
426
+ "members": {
427
+ "adjustment_types": {
428
+ "type": "list",
429
+ "serialized_name": "AdjustmentTypes",
430
+ "members": {
431
+ "type": "structure",
432
+ "members": {
433
+ "adjustment_type": {
434
+ "type": "string",
435
+ "serialized_name": "AdjustmentType"
436
+ }
437
+ }
438
+ }
439
+ }
440
+ }
441
+ }
442
+ },
443
+ "describe_auto_scaling_groups": {
444
+ "name": "DescribeAutoScalingGroups",
445
+ "http_method": "POST",
446
+ "http_path": "/",
447
+ "input": {
448
+ "type": "input",
449
+ "members": {
450
+ "auto_scaling_group_names": {
451
+ "type": "list",
452
+ "serialized_name": "AutoScalingGroupNames",
453
+ "members": {
454
+ "type": "string"
455
+ }
456
+ },
457
+ "next_token": {
458
+ "type": "string",
459
+ "serialized_name": "NextToken"
460
+ },
461
+ "max_records": {
462
+ "type": "integer",
463
+ "serialized_name": "MaxRecords"
464
+ }
465
+ }
466
+ },
467
+ "output": {
468
+ "type": "output",
469
+ "metadata": {
470
+ "wrapper": "DescribeAutoScalingGroupsResult"
471
+ },
472
+ "members": {
473
+ "auto_scaling_groups": {
474
+ "type": "list",
475
+ "serialized_name": "AutoScalingGroups",
476
+ "members": {
477
+ "type": "structure",
478
+ "members": {
479
+ "auto_scaling_group_name": {
480
+ "type": "string",
481
+ "serialized_name": "AutoScalingGroupName"
482
+ },
483
+ "auto_scaling_group_arn": {
484
+ "type": "string",
485
+ "serialized_name": "AutoScalingGroupARN"
486
+ },
487
+ "launch_configuration_name": {
488
+ "type": "string",
489
+ "serialized_name": "LaunchConfigurationName"
490
+ },
491
+ "min_size": {
492
+ "type": "integer",
493
+ "serialized_name": "MinSize"
494
+ },
495
+ "max_size": {
496
+ "type": "integer",
497
+ "serialized_name": "MaxSize"
498
+ },
499
+ "desired_capacity": {
500
+ "type": "integer",
501
+ "serialized_name": "DesiredCapacity"
502
+ },
503
+ "default_cooldown": {
504
+ "type": "integer",
505
+ "serialized_name": "DefaultCooldown"
506
+ },
507
+ "availability_zones": {
508
+ "type": "list",
509
+ "serialized_name": "AvailabilityZones",
510
+ "members": {
511
+ "type": "string"
512
+ }
513
+ },
514
+ "load_balancer_names": {
515
+ "type": "list",
516
+ "serialized_name": "LoadBalancerNames",
517
+ "members": {
518
+ "type": "string"
519
+ }
520
+ },
521
+ "health_check_type": {
522
+ "type": "string",
523
+ "serialized_name": "HealthCheckType"
524
+ },
525
+ "health_check_grace_period": {
526
+ "type": "integer",
527
+ "serialized_name": "HealthCheckGracePeriod"
528
+ },
529
+ "instances": {
530
+ "type": "list",
531
+ "serialized_name": "Instances",
532
+ "members": {
533
+ "type": "structure",
534
+ "members": {
535
+ "instance_id": {
536
+ "type": "string",
537
+ "serialized_name": "InstanceId"
538
+ },
539
+ "availability_zone": {
540
+ "type": "string",
541
+ "serialized_name": "AvailabilityZone"
542
+ },
543
+ "lifecycle_state": {
544
+ "type": "string",
545
+ "serialized_name": "LifecycleState",
546
+ "enum": [
547
+ "Pending",
548
+ "Quarantined",
549
+ "InService",
550
+ "Terminating",
551
+ "Terminated"
552
+ ]
553
+ },
554
+ "health_status": {
555
+ "type": "string",
556
+ "serialized_name": "HealthStatus"
557
+ },
558
+ "launch_configuration_name": {
559
+ "type": "string",
560
+ "serialized_name": "LaunchConfigurationName"
561
+ }
562
+ }
563
+ }
564
+ },
565
+ "created_time": {
566
+ "type": "iso8601_timestamp",
567
+ "serialized_name": "CreatedTime"
568
+ },
569
+ "suspended_processes": {
570
+ "type": "list",
571
+ "serialized_name": "SuspendedProcesses",
572
+ "members": {
573
+ "type": "structure",
574
+ "members": {
575
+ "process_name": {
576
+ "type": "string",
577
+ "serialized_name": "ProcessName"
578
+ },
579
+ "suspension_reason": {
580
+ "type": "string",
581
+ "serialized_name": "SuspensionReason"
582
+ }
583
+ }
584
+ }
585
+ },
586
+ "placement_group": {
587
+ "type": "string",
588
+ "serialized_name": "PlacementGroup"
589
+ },
590
+ "vpc_zone_identifier": {
591
+ "type": "string",
592
+ "serialized_name": "VPCZoneIdentifier"
593
+ },
594
+ "enabled_metrics": {
595
+ "type": "list",
596
+ "serialized_name": "EnabledMetrics",
597
+ "members": {
598
+ "type": "structure",
599
+ "members": {
600
+ "metric": {
601
+ "type": "string",
602
+ "serialized_name": "Metric"
603
+ },
604
+ "granularity": {
605
+ "type": "string",
606
+ "serialized_name": "Granularity"
607
+ }
608
+ }
609
+ }
610
+ },
611
+ "status": {
612
+ "type": "string",
613
+ "serialized_name": "Status"
614
+ },
615
+ "tags": {
616
+ "type": "list",
617
+ "serialized_name": "Tags",
618
+ "members": {
619
+ "type": "structure",
620
+ "members": {
621
+ "resource_id": {
622
+ "type": "string",
623
+ "serialized_name": "ResourceId"
624
+ },
625
+ "resource_type": {
626
+ "type": "string",
627
+ "serialized_name": "ResourceType"
628
+ },
629
+ "key": {
630
+ "type": "string",
631
+ "serialized_name": "Key"
632
+ },
633
+ "value": {
634
+ "type": "string",
635
+ "serialized_name": "Value"
636
+ },
637
+ "propagate_at_launch": {
638
+ "type": "boolean",
639
+ "serialized_name": "PropagateAtLaunch"
640
+ }
641
+ }
642
+ }
643
+ },
644
+ "termination_policies": {
645
+ "type": "list",
646
+ "serialized_name": "TerminationPolicies",
647
+ "members": {
648
+ "type": "string"
649
+ }
650
+ }
651
+ }
652
+ }
653
+ },
654
+ "next_token": {
655
+ "type": "string",
656
+ "serialized_name": "NextToken"
657
+ }
658
+ }
659
+ }
660
+ },
661
+ "describe_auto_scaling_instances": {
662
+ "name": "DescribeAutoScalingInstances",
663
+ "http_method": "POST",
664
+ "http_path": "/",
665
+ "input": {
666
+ "type": "input",
667
+ "members": {
668
+ "instance_ids": {
669
+ "type": "list",
670
+ "serialized_name": "InstanceIds",
671
+ "members": {
672
+ "type": "string"
673
+ }
674
+ },
675
+ "max_records": {
676
+ "type": "integer",
677
+ "serialized_name": "MaxRecords"
678
+ },
679
+ "next_token": {
680
+ "type": "string",
681
+ "serialized_name": "NextToken"
682
+ }
683
+ }
684
+ },
685
+ "output": {
686
+ "type": "output",
687
+ "metadata": {
688
+ "wrapper": "DescribeAutoScalingInstancesResult"
689
+ },
690
+ "members": {
691
+ "auto_scaling_instances": {
692
+ "type": "list",
693
+ "serialized_name": "AutoScalingInstances",
694
+ "members": {
695
+ "type": "structure",
696
+ "members": {
697
+ "instance_id": {
698
+ "type": "string",
699
+ "serialized_name": "InstanceId"
700
+ },
701
+ "auto_scaling_group_name": {
702
+ "type": "string",
703
+ "serialized_name": "AutoScalingGroupName"
704
+ },
705
+ "availability_zone": {
706
+ "type": "string",
707
+ "serialized_name": "AvailabilityZone"
708
+ },
709
+ "lifecycle_state": {
710
+ "type": "string",
711
+ "serialized_name": "LifecycleState"
712
+ },
713
+ "health_status": {
714
+ "type": "string",
715
+ "serialized_name": "HealthStatus"
716
+ },
717
+ "launch_configuration_name": {
718
+ "type": "string",
719
+ "serialized_name": "LaunchConfigurationName"
720
+ }
721
+ }
722
+ }
723
+ },
724
+ "next_token": {
725
+ "type": "string",
726
+ "serialized_name": "NextToken"
727
+ }
728
+ }
729
+ }
730
+ },
731
+ "describe_auto_scaling_notification_types": {
732
+ "name": "DescribeAutoScalingNotificationTypes",
733
+ "http_method": "POST",
734
+ "http_path": "/",
735
+ "output": {
736
+ "type": "output",
737
+ "metadata": {
738
+ "wrapper": "DescribeAutoScalingNotificationTypesResult"
739
+ },
740
+ "members": {
741
+ "auto_scaling_notification_types": {
742
+ "type": "list",
743
+ "serialized_name": "AutoScalingNotificationTypes",
744
+ "members": {
745
+ "type": "string"
746
+ }
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "describe_launch_configurations": {
752
+ "name": "DescribeLaunchConfigurations",
753
+ "http_method": "POST",
754
+ "http_path": "/",
755
+ "input": {
756
+ "type": "input",
757
+ "members": {
758
+ "launch_configuration_names": {
759
+ "type": "list",
760
+ "serialized_name": "LaunchConfigurationNames",
761
+ "members": {
762
+ "type": "string"
763
+ }
764
+ },
765
+ "next_token": {
766
+ "type": "string",
767
+ "serialized_name": "NextToken"
768
+ },
769
+ "max_records": {
770
+ "type": "integer",
771
+ "serialized_name": "MaxRecords"
772
+ }
773
+ }
774
+ },
775
+ "output": {
776
+ "type": "output",
777
+ "metadata": {
778
+ "wrapper": "DescribeLaunchConfigurationsResult"
779
+ },
780
+ "members": {
781
+ "launch_configurations": {
782
+ "type": "list",
783
+ "serialized_name": "LaunchConfigurations",
784
+ "members": {
785
+ "type": "structure",
786
+ "members": {
787
+ "launch_configuration_name": {
788
+ "type": "string",
789
+ "serialized_name": "LaunchConfigurationName"
790
+ },
791
+ "launch_configuration_arn": {
792
+ "type": "string",
793
+ "serialized_name": "LaunchConfigurationARN"
794
+ },
795
+ "image_id": {
796
+ "type": "string",
797
+ "serialized_name": "ImageId"
798
+ },
799
+ "key_name": {
800
+ "type": "string",
801
+ "serialized_name": "KeyName"
802
+ },
803
+ "security_groups": {
804
+ "type": "list",
805
+ "serialized_name": "SecurityGroups",
806
+ "members": {
807
+ "type": "string"
808
+ }
809
+ },
810
+ "user_data": {
811
+ "type": "string",
812
+ "serialized_name": "UserData"
813
+ },
814
+ "instance_type": {
815
+ "type": "string",
816
+ "serialized_name": "InstanceType"
817
+ },
818
+ "kernel_id": {
819
+ "type": "string",
820
+ "serialized_name": "KernelId"
821
+ },
822
+ "ramdisk_id": {
823
+ "type": "string",
824
+ "serialized_name": "RamdiskId"
825
+ },
826
+ "block_device_mappings": {
827
+ "type": "list",
828
+ "serialized_name": "BlockDeviceMappings",
829
+ "members": {
830
+ "type": "structure",
831
+ "members": {
832
+ "virtual_name": {
833
+ "type": "string",
834
+ "serialized_name": "VirtualName"
835
+ },
836
+ "device_name": {
837
+ "type": "string",
838
+ "serialized_name": "DeviceName"
839
+ },
840
+ "ebs": {
841
+ "type": "structure",
842
+ "serialized_name": "Ebs",
843
+ "members": {
844
+ "snapshot_id": {
845
+ "type": "string",
846
+ "serialized_name": "SnapshotId"
847
+ },
848
+ "volume_size": {
849
+ "type": "integer",
850
+ "serialized_name": "VolumeSize"
851
+ }
852
+ }
853
+ }
854
+ }
855
+ }
856
+ },
857
+ "instance_monitoring": {
858
+ "type": "structure",
859
+ "serialized_name": "InstanceMonitoring",
860
+ "members": {
861
+ "enabled": {
862
+ "type": "boolean",
863
+ "serialized_name": "Enabled"
864
+ }
865
+ }
866
+ },
867
+ "spot_price": {
868
+ "type": "string",
869
+ "serialized_name": "SpotPrice"
870
+ },
871
+ "iam_instance_profile": {
872
+ "type": "string",
873
+ "serialized_name": "IamInstanceProfile"
874
+ },
875
+ "created_time": {
876
+ "type": "iso8601_timestamp",
877
+ "serialized_name": "CreatedTime"
878
+ },
879
+ "ebs_optimized": {
880
+ "type": "boolean",
881
+ "serialized_name": "EbsOptimized"
882
+ },
883
+ "associate_public_ip_address": {
884
+ "type": "boolean",
885
+ "serialized_name": "AssociatePublicIpAddress"
886
+ }
887
+ }
888
+ }
889
+ },
890
+ "next_token": {
891
+ "type": "string",
892
+ "serialized_name": "NextToken"
893
+ }
894
+ }
895
+ }
896
+ },
897
+ "describe_metric_collection_types": {
898
+ "name": "DescribeMetricCollectionTypes",
899
+ "http_method": "POST",
900
+ "http_path": "/",
901
+ "output": {
902
+ "type": "output",
903
+ "metadata": {
904
+ "wrapper": "DescribeMetricCollectionTypesResult"
905
+ },
906
+ "members": {
907
+ "metrics": {
908
+ "type": "list",
909
+ "serialized_name": "Metrics",
910
+ "members": {
911
+ "type": "structure",
912
+ "members": {
913
+ "metric": {
914
+ "type": "string",
915
+ "serialized_name": "Metric"
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "granularities": {
921
+ "type": "list",
922
+ "serialized_name": "Granularities",
923
+ "members": {
924
+ "type": "structure",
925
+ "members": {
926
+ "granularity": {
927
+ "type": "string",
928
+ "serialized_name": "Granularity"
929
+ }
930
+ }
931
+ }
932
+ }
933
+ }
934
+ }
935
+ },
936
+ "describe_notification_configurations": {
937
+ "name": "DescribeNotificationConfigurations",
938
+ "http_method": "POST",
939
+ "http_path": "/",
940
+ "input": {
941
+ "type": "input",
942
+ "members": {
943
+ "auto_scaling_group_names": {
944
+ "type": "list",
945
+ "serialized_name": "AutoScalingGroupNames",
946
+ "members": {
947
+ "type": "string"
948
+ }
949
+ },
950
+ "next_token": {
951
+ "type": "string",
952
+ "serialized_name": "NextToken"
953
+ },
954
+ "max_records": {
955
+ "type": "integer",
956
+ "serialized_name": "MaxRecords"
957
+ }
958
+ }
959
+ },
960
+ "output": {
961
+ "type": "output",
962
+ "metadata": {
963
+ "wrapper": "DescribeNotificationConfigurationsResult"
964
+ },
965
+ "members": {
966
+ "notification_configurations": {
967
+ "type": "list",
968
+ "serialized_name": "NotificationConfigurations",
969
+ "members": {
970
+ "type": "structure",
971
+ "members": {
972
+ "auto_scaling_group_name": {
973
+ "type": "string",
974
+ "serialized_name": "AutoScalingGroupName"
975
+ },
976
+ "topic_arn": {
977
+ "type": "string",
978
+ "serialized_name": "TopicARN"
979
+ },
980
+ "notification_type": {
981
+ "type": "string",
982
+ "serialized_name": "NotificationType"
983
+ }
984
+ }
985
+ }
986
+ },
987
+ "next_token": {
988
+ "type": "string",
989
+ "serialized_name": "NextToken"
990
+ }
991
+ }
992
+ }
993
+ },
994
+ "describe_policies": {
995
+ "name": "DescribePolicies",
996
+ "http_method": "POST",
997
+ "http_path": "/",
998
+ "input": {
999
+ "type": "input",
1000
+ "members": {
1001
+ "auto_scaling_group_name": {
1002
+ "type": "string",
1003
+ "serialized_name": "AutoScalingGroupName"
1004
+ },
1005
+ "policy_names": {
1006
+ "type": "list",
1007
+ "serialized_name": "PolicyNames",
1008
+ "members": {
1009
+ "type": "string"
1010
+ }
1011
+ },
1012
+ "next_token": {
1013
+ "type": "string",
1014
+ "serialized_name": "NextToken"
1015
+ },
1016
+ "max_records": {
1017
+ "type": "integer",
1018
+ "serialized_name": "MaxRecords"
1019
+ }
1020
+ }
1021
+ },
1022
+ "output": {
1023
+ "type": "output",
1024
+ "metadata": {
1025
+ "wrapper": "DescribePoliciesResult"
1026
+ },
1027
+ "members": {
1028
+ "scaling_policies": {
1029
+ "type": "list",
1030
+ "serialized_name": "ScalingPolicies",
1031
+ "members": {
1032
+ "type": "structure",
1033
+ "members": {
1034
+ "auto_scaling_group_name": {
1035
+ "type": "string",
1036
+ "serialized_name": "AutoScalingGroupName"
1037
+ },
1038
+ "policy_name": {
1039
+ "type": "string",
1040
+ "serialized_name": "PolicyName"
1041
+ },
1042
+ "scaling_adjustment": {
1043
+ "type": "integer",
1044
+ "serialized_name": "ScalingAdjustment"
1045
+ },
1046
+ "adjustment_type": {
1047
+ "type": "string",
1048
+ "serialized_name": "AdjustmentType"
1049
+ },
1050
+ "cooldown": {
1051
+ "type": "integer",
1052
+ "serialized_name": "Cooldown"
1053
+ },
1054
+ "policy_arn": {
1055
+ "type": "string",
1056
+ "serialized_name": "PolicyARN"
1057
+ },
1058
+ "alarms": {
1059
+ "type": "list",
1060
+ "serialized_name": "Alarms",
1061
+ "members": {
1062
+ "type": "structure",
1063
+ "members": {
1064
+ "alarm_name": {
1065
+ "type": "string",
1066
+ "serialized_name": "AlarmName"
1067
+ },
1068
+ "alarm_arn": {
1069
+ "type": "string",
1070
+ "serialized_name": "AlarmARN"
1071
+ }
1072
+ }
1073
+ }
1074
+ },
1075
+ "min_adjustment_step": {
1076
+ "type": "integer",
1077
+ "serialized_name": "MinAdjustmentStep"
1078
+ }
1079
+ }
1080
+ }
1081
+ },
1082
+ "next_token": {
1083
+ "type": "string",
1084
+ "serialized_name": "NextToken"
1085
+ }
1086
+ }
1087
+ }
1088
+ },
1089
+ "describe_scaling_activities": {
1090
+ "name": "DescribeScalingActivities",
1091
+ "http_method": "POST",
1092
+ "http_path": "/",
1093
+ "input": {
1094
+ "type": "input",
1095
+ "members": {
1096
+ "activity_ids": {
1097
+ "type": "list",
1098
+ "serialized_name": "ActivityIds",
1099
+ "members": {
1100
+ "type": "string"
1101
+ }
1102
+ },
1103
+ "auto_scaling_group_name": {
1104
+ "type": "string",
1105
+ "serialized_name": "AutoScalingGroupName"
1106
+ },
1107
+ "max_records": {
1108
+ "type": "integer",
1109
+ "serialized_name": "MaxRecords"
1110
+ },
1111
+ "next_token": {
1112
+ "type": "string",
1113
+ "serialized_name": "NextToken"
1114
+ }
1115
+ }
1116
+ },
1117
+ "output": {
1118
+ "type": "output",
1119
+ "metadata": {
1120
+ "wrapper": "DescribeScalingActivitiesResult"
1121
+ },
1122
+ "members": {
1123
+ "activities": {
1124
+ "type": "list",
1125
+ "serialized_name": "Activities",
1126
+ "members": {
1127
+ "type": "structure",
1128
+ "members": {
1129
+ "activity_id": {
1130
+ "type": "string",
1131
+ "serialized_name": "ActivityId"
1132
+ },
1133
+ "auto_scaling_group_name": {
1134
+ "type": "string",
1135
+ "serialized_name": "AutoScalingGroupName"
1136
+ },
1137
+ "description": {
1138
+ "type": "string",
1139
+ "serialized_name": "Description"
1140
+ },
1141
+ "cause": {
1142
+ "type": "string",
1143
+ "serialized_name": "Cause"
1144
+ },
1145
+ "start_time": {
1146
+ "type": "iso8601_timestamp",
1147
+ "serialized_name": "StartTime"
1148
+ },
1149
+ "end_time": {
1150
+ "type": "iso8601_timestamp",
1151
+ "serialized_name": "EndTime"
1152
+ },
1153
+ "status_code": {
1154
+ "type": "string",
1155
+ "serialized_name": "StatusCode",
1156
+ "enum": [
1157
+ "WaitingForSpotInstanceRequestId",
1158
+ "WaitingForSpotInstanceId",
1159
+ "WaitingForInstanceId",
1160
+ "PreInService",
1161
+ "InProgress",
1162
+ "Successful",
1163
+ "Failed",
1164
+ "Cancelled"
1165
+ ]
1166
+ },
1167
+ "status_message": {
1168
+ "type": "string",
1169
+ "serialized_name": "StatusMessage"
1170
+ },
1171
+ "progress": {
1172
+ "type": "integer",
1173
+ "serialized_name": "Progress"
1174
+ },
1175
+ "details": {
1176
+ "type": "string",
1177
+ "serialized_name": "Details"
1178
+ }
1179
+ }
1180
+ }
1181
+ },
1182
+ "next_token": {
1183
+ "type": "string",
1184
+ "serialized_name": "NextToken"
1185
+ }
1186
+ }
1187
+ }
1188
+ },
1189
+ "describe_scaling_process_types": {
1190
+ "name": "DescribeScalingProcessTypes",
1191
+ "http_method": "POST",
1192
+ "http_path": "/",
1193
+ "output": {
1194
+ "type": "output",
1195
+ "metadata": {
1196
+ "wrapper": "DescribeScalingProcessTypesResult"
1197
+ },
1198
+ "members": {
1199
+ "processes": {
1200
+ "type": "list",
1201
+ "serialized_name": "Processes",
1202
+ "members": {
1203
+ "type": "structure",
1204
+ "members": {
1205
+ "process_name": {
1206
+ "type": "string",
1207
+ "serialized_name": "ProcessName"
1208
+ }
1209
+ }
1210
+ }
1211
+ }
1212
+ }
1213
+ }
1214
+ },
1215
+ "describe_scheduled_actions": {
1216
+ "name": "DescribeScheduledActions",
1217
+ "http_method": "POST",
1218
+ "http_path": "/",
1219
+ "input": {
1220
+ "type": "input",
1221
+ "members": {
1222
+ "auto_scaling_group_name": {
1223
+ "type": "string",
1224
+ "serialized_name": "AutoScalingGroupName"
1225
+ },
1226
+ "scheduled_action_names": {
1227
+ "type": "list",
1228
+ "serialized_name": "ScheduledActionNames",
1229
+ "members": {
1230
+ "type": "string"
1231
+ }
1232
+ },
1233
+ "start_time": {
1234
+ "type": "iso8601_timestamp",
1235
+ "serialized_name": "StartTime"
1236
+ },
1237
+ "end_time": {
1238
+ "type": "iso8601_timestamp",
1239
+ "serialized_name": "EndTime"
1240
+ },
1241
+ "next_token": {
1242
+ "type": "string",
1243
+ "serialized_name": "NextToken"
1244
+ },
1245
+ "max_records": {
1246
+ "type": "integer",
1247
+ "serialized_name": "MaxRecords"
1248
+ }
1249
+ }
1250
+ },
1251
+ "output": {
1252
+ "type": "output",
1253
+ "metadata": {
1254
+ "wrapper": "DescribeScheduledActionsResult"
1255
+ },
1256
+ "members": {
1257
+ "scheduled_update_group_actions": {
1258
+ "type": "list",
1259
+ "serialized_name": "ScheduledUpdateGroupActions",
1260
+ "members": {
1261
+ "type": "structure",
1262
+ "members": {
1263
+ "auto_scaling_group_name": {
1264
+ "type": "string",
1265
+ "serialized_name": "AutoScalingGroupName"
1266
+ },
1267
+ "scheduled_action_name": {
1268
+ "type": "string",
1269
+ "serialized_name": "ScheduledActionName"
1270
+ },
1271
+ "scheduled_action_arn": {
1272
+ "type": "string",
1273
+ "serialized_name": "ScheduledActionARN"
1274
+ },
1275
+ "time": {
1276
+ "type": "iso8601_timestamp",
1277
+ "serialized_name": "Time"
1278
+ },
1279
+ "start_time": {
1280
+ "type": "iso8601_timestamp",
1281
+ "serialized_name": "StartTime"
1282
+ },
1283
+ "end_time": {
1284
+ "type": "iso8601_timestamp",
1285
+ "serialized_name": "EndTime"
1286
+ },
1287
+ "recurrence": {
1288
+ "type": "string",
1289
+ "serialized_name": "Recurrence"
1290
+ },
1291
+ "min_size": {
1292
+ "type": "integer",
1293
+ "serialized_name": "MinSize"
1294
+ },
1295
+ "max_size": {
1296
+ "type": "integer",
1297
+ "serialized_name": "MaxSize"
1298
+ },
1299
+ "desired_capacity": {
1300
+ "type": "integer",
1301
+ "serialized_name": "DesiredCapacity"
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1306
+ "next_token": {
1307
+ "type": "string",
1308
+ "serialized_name": "NextToken"
1309
+ }
1310
+ }
1311
+ }
1312
+ },
1313
+ "describe_tags": {
1314
+ "name": "DescribeTags",
1315
+ "http_method": "POST",
1316
+ "http_path": "/",
1317
+ "input": {
1318
+ "type": "input",
1319
+ "members": {
1320
+ "filters": {
1321
+ "type": "list",
1322
+ "serialized_name": "Filters",
1323
+ "members": {
1324
+ "type": "structure",
1325
+ "members": {
1326
+ "name": {
1327
+ "type": "string",
1328
+ "serialized_name": "Name"
1329
+ },
1330
+ "values": {
1331
+ "type": "list",
1332
+ "serialized_name": "Values",
1333
+ "members": {
1334
+ "type": "string"
1335
+ }
1336
+ }
1337
+ }
1338
+ }
1339
+ },
1340
+ "next_token": {
1341
+ "type": "string",
1342
+ "serialized_name": "NextToken"
1343
+ },
1344
+ "max_records": {
1345
+ "type": "integer",
1346
+ "serialized_name": "MaxRecords"
1347
+ }
1348
+ }
1349
+ },
1350
+ "output": {
1351
+ "type": "output",
1352
+ "metadata": {
1353
+ "wrapper": "DescribeTagsResult"
1354
+ },
1355
+ "members": {
1356
+ "tags": {
1357
+ "type": "list",
1358
+ "serialized_name": "Tags",
1359
+ "members": {
1360
+ "type": "structure",
1361
+ "members": {
1362
+ "resource_id": {
1363
+ "type": "string",
1364
+ "serialized_name": "ResourceId"
1365
+ },
1366
+ "resource_type": {
1367
+ "type": "string",
1368
+ "serialized_name": "ResourceType"
1369
+ },
1370
+ "key": {
1371
+ "type": "string",
1372
+ "serialized_name": "Key"
1373
+ },
1374
+ "value": {
1375
+ "type": "string",
1376
+ "serialized_name": "Value"
1377
+ },
1378
+ "propagate_at_launch": {
1379
+ "type": "boolean",
1380
+ "serialized_name": "PropagateAtLaunch"
1381
+ }
1382
+ }
1383
+ }
1384
+ },
1385
+ "next_token": {
1386
+ "type": "string",
1387
+ "serialized_name": "NextToken"
1388
+ }
1389
+ }
1390
+ }
1391
+ },
1392
+ "describe_termination_policy_types": {
1393
+ "name": "DescribeTerminationPolicyTypes",
1394
+ "http_method": "POST",
1395
+ "http_path": "/",
1396
+ "output": {
1397
+ "type": "output",
1398
+ "metadata": {
1399
+ "wrapper": "DescribeTerminationPolicyTypesResult"
1400
+ },
1401
+ "members": {
1402
+ "termination_policy_types": {
1403
+ "type": "list",
1404
+ "serialized_name": "TerminationPolicyTypes",
1405
+ "members": {
1406
+ "type": "string"
1407
+ }
1408
+ }
1409
+ }
1410
+ }
1411
+ },
1412
+ "disable_metrics_collection": {
1413
+ "name": "DisableMetricsCollection",
1414
+ "http_method": "POST",
1415
+ "http_path": "/",
1416
+ "input": {
1417
+ "type": "input",
1418
+ "members": {
1419
+ "auto_scaling_group_name": {
1420
+ "type": "string",
1421
+ "required": true,
1422
+ "serialized_name": "AutoScalingGroupName"
1423
+ },
1424
+ "metrics": {
1425
+ "type": "list",
1426
+ "serialized_name": "Metrics",
1427
+ "members": {
1428
+ "type": "string"
1429
+ }
1430
+ }
1431
+ }
1432
+ }
1433
+ },
1434
+ "enable_metrics_collection": {
1435
+ "name": "EnableMetricsCollection",
1436
+ "http_method": "POST",
1437
+ "http_path": "/",
1438
+ "input": {
1439
+ "type": "input",
1440
+ "members": {
1441
+ "auto_scaling_group_name": {
1442
+ "type": "string",
1443
+ "required": true,
1444
+ "serialized_name": "AutoScalingGroupName"
1445
+ },
1446
+ "metrics": {
1447
+ "type": "list",
1448
+ "serialized_name": "Metrics",
1449
+ "members": {
1450
+ "type": "string"
1451
+ }
1452
+ },
1453
+ "granularity": {
1454
+ "type": "string",
1455
+ "required": true,
1456
+ "serialized_name": "Granularity"
1457
+ }
1458
+ }
1459
+ }
1460
+ },
1461
+ "execute_policy": {
1462
+ "name": "ExecutePolicy",
1463
+ "http_method": "POST",
1464
+ "http_path": "/",
1465
+ "input": {
1466
+ "type": "input",
1467
+ "members": {
1468
+ "auto_scaling_group_name": {
1469
+ "type": "string",
1470
+ "serialized_name": "AutoScalingGroupName"
1471
+ },
1472
+ "policy_name": {
1473
+ "type": "string",
1474
+ "required": true,
1475
+ "serialized_name": "PolicyName"
1476
+ },
1477
+ "honor_cooldown": {
1478
+ "type": "boolean",
1479
+ "serialized_name": "HonorCooldown"
1480
+ }
1481
+ }
1482
+ }
1483
+ },
1484
+ "put_notification_configuration": {
1485
+ "name": "PutNotificationConfiguration",
1486
+ "http_method": "POST",
1487
+ "http_path": "/",
1488
+ "input": {
1489
+ "type": "input",
1490
+ "members": {
1491
+ "auto_scaling_group_name": {
1492
+ "type": "string",
1493
+ "required": true,
1494
+ "serialized_name": "AutoScalingGroupName"
1495
+ },
1496
+ "topic_arn": {
1497
+ "type": "string",
1498
+ "required": true,
1499
+ "serialized_name": "TopicARN"
1500
+ },
1501
+ "notification_types": {
1502
+ "type": "list",
1503
+ "required": true,
1504
+ "serialized_name": "NotificationTypes",
1505
+ "members": {
1506
+ "type": "string"
1507
+ }
1508
+ }
1509
+ }
1510
+ }
1511
+ },
1512
+ "put_scaling_policy": {
1513
+ "name": "PutScalingPolicy",
1514
+ "http_method": "POST",
1515
+ "http_path": "/",
1516
+ "input": {
1517
+ "type": "input",
1518
+ "members": {
1519
+ "auto_scaling_group_name": {
1520
+ "type": "string",
1521
+ "required": true,
1522
+ "serialized_name": "AutoScalingGroupName"
1523
+ },
1524
+ "policy_name": {
1525
+ "type": "string",
1526
+ "required": true,
1527
+ "serialized_name": "PolicyName"
1528
+ },
1529
+ "scaling_adjustment": {
1530
+ "type": "integer",
1531
+ "required": true,
1532
+ "serialized_name": "ScalingAdjustment"
1533
+ },
1534
+ "adjustment_type": {
1535
+ "type": "string",
1536
+ "required": true,
1537
+ "serialized_name": "AdjustmentType"
1538
+ },
1539
+ "cooldown": {
1540
+ "type": "integer",
1541
+ "serialized_name": "Cooldown"
1542
+ },
1543
+ "min_adjustment_step": {
1544
+ "type": "integer",
1545
+ "serialized_name": "MinAdjustmentStep"
1546
+ }
1547
+ }
1548
+ },
1549
+ "output": {
1550
+ "type": "output",
1551
+ "metadata": {
1552
+ "wrapper": "PutScalingPolicyResult"
1553
+ },
1554
+ "members": {
1555
+ "policy_arn": {
1556
+ "type": "string",
1557
+ "serialized_name": "PolicyARN"
1558
+ }
1559
+ }
1560
+ }
1561
+ },
1562
+ "put_scheduled_update_group_action": {
1563
+ "name": "PutScheduledUpdateGroupAction",
1564
+ "http_method": "POST",
1565
+ "http_path": "/",
1566
+ "input": {
1567
+ "type": "input",
1568
+ "members": {
1569
+ "auto_scaling_group_name": {
1570
+ "type": "string",
1571
+ "required": true,
1572
+ "serialized_name": "AutoScalingGroupName"
1573
+ },
1574
+ "scheduled_action_name": {
1575
+ "type": "string",
1576
+ "required": true,
1577
+ "serialized_name": "ScheduledActionName"
1578
+ },
1579
+ "time": {
1580
+ "type": "iso8601_timestamp",
1581
+ "serialized_name": "Time"
1582
+ },
1583
+ "start_time": {
1584
+ "type": "iso8601_timestamp",
1585
+ "serialized_name": "StartTime"
1586
+ },
1587
+ "end_time": {
1588
+ "type": "iso8601_timestamp",
1589
+ "serialized_name": "EndTime"
1590
+ },
1591
+ "recurrence": {
1592
+ "type": "string",
1593
+ "serialized_name": "Recurrence"
1594
+ },
1595
+ "min_size": {
1596
+ "type": "integer",
1597
+ "serialized_name": "MinSize"
1598
+ },
1599
+ "max_size": {
1600
+ "type": "integer",
1601
+ "serialized_name": "MaxSize"
1602
+ },
1603
+ "desired_capacity": {
1604
+ "type": "integer",
1605
+ "serialized_name": "DesiredCapacity"
1606
+ }
1607
+ }
1608
+ }
1609
+ },
1610
+ "resume_processes": {
1611
+ "name": "ResumeProcesses",
1612
+ "http_method": "POST",
1613
+ "http_path": "/",
1614
+ "input": {
1615
+ "type": "input",
1616
+ "members": {
1617
+ "auto_scaling_group_name": {
1618
+ "type": "string",
1619
+ "required": true,
1620
+ "serialized_name": "AutoScalingGroupName"
1621
+ },
1622
+ "scaling_processes": {
1623
+ "type": "list",
1624
+ "serialized_name": "ScalingProcesses",
1625
+ "members": {
1626
+ "type": "string"
1627
+ }
1628
+ }
1629
+ }
1630
+ }
1631
+ },
1632
+ "set_desired_capacity": {
1633
+ "name": "SetDesiredCapacity",
1634
+ "http_method": "POST",
1635
+ "http_path": "/",
1636
+ "input": {
1637
+ "type": "input",
1638
+ "members": {
1639
+ "auto_scaling_group_name": {
1640
+ "type": "string",
1641
+ "required": true,
1642
+ "serialized_name": "AutoScalingGroupName"
1643
+ },
1644
+ "desired_capacity": {
1645
+ "type": "integer",
1646
+ "required": true,
1647
+ "serialized_name": "DesiredCapacity"
1648
+ },
1649
+ "honor_cooldown": {
1650
+ "type": "boolean",
1651
+ "serialized_name": "HonorCooldown"
1652
+ }
1653
+ }
1654
+ }
1655
+ },
1656
+ "set_instance_health": {
1657
+ "name": "SetInstanceHealth",
1658
+ "http_method": "POST",
1659
+ "http_path": "/",
1660
+ "input": {
1661
+ "type": "input",
1662
+ "members": {
1663
+ "instance_id": {
1664
+ "type": "string",
1665
+ "required": true,
1666
+ "serialized_name": "InstanceId"
1667
+ },
1668
+ "health_status": {
1669
+ "type": "string",
1670
+ "required": true,
1671
+ "serialized_name": "HealthStatus"
1672
+ },
1673
+ "should_respect_grace_period": {
1674
+ "type": "boolean",
1675
+ "serialized_name": "ShouldRespectGracePeriod"
1676
+ }
1677
+ }
1678
+ }
1679
+ },
1680
+ "suspend_processes": {
1681
+ "name": "SuspendProcesses",
1682
+ "http_method": "POST",
1683
+ "http_path": "/",
1684
+ "input": {
1685
+ "type": "input",
1686
+ "members": {
1687
+ "auto_scaling_group_name": {
1688
+ "type": "string",
1689
+ "required": true,
1690
+ "serialized_name": "AutoScalingGroupName"
1691
+ },
1692
+ "scaling_processes": {
1693
+ "type": "list",
1694
+ "serialized_name": "ScalingProcesses",
1695
+ "members": {
1696
+ "type": "string"
1697
+ }
1698
+ }
1699
+ }
1700
+ }
1701
+ },
1702
+ "terminate_instance_in_auto_scaling_group": {
1703
+ "name": "TerminateInstanceInAutoScalingGroup",
1704
+ "http_method": "POST",
1705
+ "http_path": "/",
1706
+ "input": {
1707
+ "type": "input",
1708
+ "members": {
1709
+ "instance_id": {
1710
+ "type": "string",
1711
+ "required": true,
1712
+ "serialized_name": "InstanceId"
1713
+ },
1714
+ "should_decrement_desired_capacity": {
1715
+ "type": "boolean",
1716
+ "required": true,
1717
+ "serialized_name": "ShouldDecrementDesiredCapacity"
1718
+ }
1719
+ }
1720
+ },
1721
+ "output": {
1722
+ "type": "output",
1723
+ "metadata": {
1724
+ "wrapper": "TerminateInstanceInAutoScalingGroupResult"
1725
+ },
1726
+ "members": {
1727
+ "activity": {
1728
+ "type": "structure",
1729
+ "serialized_name": "Activity",
1730
+ "members": {
1731
+ "activity_id": {
1732
+ "type": "string",
1733
+ "serialized_name": "ActivityId"
1734
+ },
1735
+ "auto_scaling_group_name": {
1736
+ "type": "string",
1737
+ "serialized_name": "AutoScalingGroupName"
1738
+ },
1739
+ "description": {
1740
+ "type": "string",
1741
+ "serialized_name": "Description"
1742
+ },
1743
+ "cause": {
1744
+ "type": "string",
1745
+ "serialized_name": "Cause"
1746
+ },
1747
+ "start_time": {
1748
+ "type": "iso8601_timestamp",
1749
+ "serialized_name": "StartTime"
1750
+ },
1751
+ "end_time": {
1752
+ "type": "iso8601_timestamp",
1753
+ "serialized_name": "EndTime"
1754
+ },
1755
+ "status_code": {
1756
+ "type": "string",
1757
+ "serialized_name": "StatusCode",
1758
+ "enum": [
1759
+ "WaitingForSpotInstanceRequestId",
1760
+ "WaitingForSpotInstanceId",
1761
+ "WaitingForInstanceId",
1762
+ "PreInService",
1763
+ "InProgress",
1764
+ "Successful",
1765
+ "Failed",
1766
+ "Cancelled"
1767
+ ]
1768
+ },
1769
+ "status_message": {
1770
+ "type": "string",
1771
+ "serialized_name": "StatusMessage"
1772
+ },
1773
+ "progress": {
1774
+ "type": "integer",
1775
+ "serialized_name": "Progress"
1776
+ },
1777
+ "details": {
1778
+ "type": "string",
1779
+ "serialized_name": "Details"
1780
+ }
1781
+ }
1782
+ }
1783
+ }
1784
+ }
1785
+ },
1786
+ "update_auto_scaling_group": {
1787
+ "name": "UpdateAutoScalingGroup",
1788
+ "http_method": "POST",
1789
+ "http_path": "/",
1790
+ "input": {
1791
+ "type": "input",
1792
+ "members": {
1793
+ "auto_scaling_group_name": {
1794
+ "type": "string",
1795
+ "required": true,
1796
+ "serialized_name": "AutoScalingGroupName"
1797
+ },
1798
+ "launch_configuration_name": {
1799
+ "type": "string",
1800
+ "serialized_name": "LaunchConfigurationName"
1801
+ },
1802
+ "min_size": {
1803
+ "type": "integer",
1804
+ "serialized_name": "MinSize"
1805
+ },
1806
+ "max_size": {
1807
+ "type": "integer",
1808
+ "serialized_name": "MaxSize"
1809
+ },
1810
+ "desired_capacity": {
1811
+ "type": "integer",
1812
+ "serialized_name": "DesiredCapacity"
1813
+ },
1814
+ "default_cooldown": {
1815
+ "type": "integer",
1816
+ "serialized_name": "DefaultCooldown"
1817
+ },
1818
+ "availability_zones": {
1819
+ "type": "list",
1820
+ "serialized_name": "AvailabilityZones",
1821
+ "members": {
1822
+ "type": "string"
1823
+ }
1824
+ },
1825
+ "health_check_type": {
1826
+ "type": "string",
1827
+ "serialized_name": "HealthCheckType"
1828
+ },
1829
+ "health_check_grace_period": {
1830
+ "type": "integer",
1831
+ "serialized_name": "HealthCheckGracePeriod"
1832
+ },
1833
+ "placement_group": {
1834
+ "type": "string",
1835
+ "serialized_name": "PlacementGroup"
1836
+ },
1837
+ "vpc_zone_identifier": {
1838
+ "type": "string",
1839
+ "serialized_name": "VPCZoneIdentifier"
1840
+ },
1841
+ "termination_policies": {
1842
+ "type": "list",
1843
+ "serialized_name": "TerminationPolicies",
1844
+ "members": {
1845
+ "type": "string"
1846
+ }
1847
+ }
1848
+ }
1849
+ }
1850
+ }
1851
+ }
1852
+ }