aws-sdk-core 2.9.44 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (630) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/aws-sdk-core/client_stubs.rb +1 -2
  4. data/lib/aws-sdk-core/credential_provider.rb +2 -0
  5. data/lib/aws-sdk-core/credential_provider_chain.rb +2 -1
  6. data/lib/aws-sdk-core/errors.rb +19 -8
  7. data/lib/aws-sdk-core/ini_parser.rb +1 -0
  8. data/lib/aws-sdk-core/json/handler.rb +3 -2
  9. data/lib/aws-sdk-core/json/parser.rb +1 -1
  10. data/lib/aws-sdk-core/json.rb +4 -5
  11. data/lib/aws-sdk-core/log/param_filter.rb +4 -3
  12. data/lib/aws-sdk-core/pageable_response.rb +1 -0
  13. data/lib/aws-sdk-core/pager.rb +30 -25
  14. data/lib/aws-sdk-core/param_converter.rb +3 -3
  15. data/lib/aws-sdk-core/param_validator.rb +10 -4
  16. data/lib/aws-sdk-core/plugins/credentials_configuration.rb +62 -0
  17. data/lib/aws-sdk-core/plugins/global_configuration.rb +19 -10
  18. data/lib/aws-sdk-core/plugins/idempotency_token.rb +1 -2
  19. data/lib/aws-sdk-core/plugins/logging.rb +18 -18
  20. data/lib/aws-sdk-core/plugins/param_converter.rb +9 -5
  21. data/lib/aws-sdk-core/plugins/param_validator.rb +8 -5
  22. data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -1
  23. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +13 -12
  24. data/lib/aws-sdk-core/plugins/protocols/query.rb +2 -2
  25. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +23 -15
  26. data/lib/aws-sdk-core/plugins/response_paging.rb +5 -18
  27. data/lib/aws-sdk-core/plugins/retry_errors.rb +11 -8
  28. data/lib/aws-sdk-core/plugins/signature_v2.rb +51 -0
  29. data/lib/aws-sdk-core/plugins/signature_v4.rb +139 -0
  30. data/lib/aws-sdk-core/plugins/stub_responses.rb +13 -11
  31. data/lib/aws-sdk-core/plugins/user_agent.rb +17 -6
  32. data/lib/aws-sdk-core/query/handler.rb +15 -16
  33. data/lib/aws-sdk-core/query/param_builder.rb +1 -1
  34. data/lib/aws-sdk-core/query.rb +5 -0
  35. data/lib/aws-sdk-core/resources/collection.rb +121 -0
  36. data/lib/aws-sdk-core/rest/handler.rb +1 -0
  37. data/lib/aws-sdk-core/rest/response/parser.rb +14 -14
  38. data/lib/aws-sdk-core/rest.rb +10 -0
  39. data/lib/aws-sdk-core/shared_config.rb +1 -1
  40. data/lib/aws-sdk-core/shared_credentials.rb +2 -0
  41. data/lib/aws-sdk-core/structure.rb +17 -12
  42. data/lib/aws-sdk-core/stubbing/data_applicator.rb +1 -1
  43. data/lib/aws-sdk-core/stubbing/empty_stub.rb +6 -2
  44. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +1 -1
  45. data/lib/aws-sdk-core/stubbing/stub_data.rb +4 -0
  46. data/lib/aws-sdk-core/util.rb +39 -0
  47. data/lib/aws-sdk-core/version.rb +1 -1
  48. data/lib/aws-sdk-core/waiters/poller.rb +5 -9
  49. data/lib/aws-sdk-core/waiters/waiter.rb +1 -0
  50. data/lib/aws-sdk-core/waiters.rb +3 -0
  51. data/lib/aws-sdk-core/xml/builder.rb +2 -2
  52. data/lib/aws-sdk-core/xml/error_handler.rb +1 -2
  53. data/lib/aws-sdk-core/xml/parser/frame.rb +4 -4
  54. data/lib/aws-sdk-core/xml/parser.rb +1 -11
  55. data/lib/aws-sdk-core/xml.rb +9 -0
  56. data/lib/aws-sdk-core.rb +66 -454
  57. data/lib/aws-sdk-sts/client.rb +1439 -0
  58. data/lib/aws-sdk-sts/client_api.rb +264 -0
  59. data/lib/aws-sdk-sts/customizations.rb +0 -0
  60. data/lib/aws-sdk-sts/errors.rb +14 -0
  61. data/lib/aws-sdk-sts/resource.rb +23 -0
  62. data/lib/aws-sdk-sts/types.rb +919 -0
  63. data/lib/aws-sdk-sts.rb +45 -0
  64. data/lib/seahorse/client/base.rb +1 -7
  65. data/lib/seahorse/client/logging/formatter.rb +2 -0
  66. data/lib/seahorse/client/logging/handler.rb +2 -0
  67. data/lib/seahorse/client/net_http/connection_pool.rb +3 -0
  68. data/lib/seahorse/client/net_http/handler.rb +2 -0
  69. data/lib/seahorse/client/net_http/patches.rb +1 -0
  70. data/lib/seahorse/client/plugin.rb +66 -6
  71. data/lib/seahorse/client/plugins/endpoint.rb +14 -10
  72. data/lib/seahorse/client/plugins/logging.rb +17 -19
  73. data/lib/seahorse/client/plugins/net_http.rb +23 -15
  74. data/lib/seahorse/client/plugins/raise_response_errors.rb +4 -4
  75. data/lib/seahorse/client/plugins/response_target.rb +2 -0
  76. data/lib/seahorse/model/api.rb +4 -0
  77. data/lib/seahorse/model/shapes.rb +18 -2
  78. data/lib/seahorse/util.rb +0 -20
  79. data/lib/seahorse.rb +50 -60
  80. metadata +36 -557
  81. data/apis/acm/2015-12-08/api-2.json +0 -595
  82. data/apis/acm/2015-12-08/examples-1.json +0 -5
  83. data/apis/acm/2015-12-08/paginators-1.json +0 -10
  84. data/apis/apigateway/2015-07-09/api-2.json +0 -4733
  85. data/apis/apigateway/2015-07-09/examples-1.json +0 -5
  86. data/apis/apigateway/2015-07-09/paginators-1.json +0 -70
  87. data/apis/application-autoscaling/2016-02-06/api-2.json +0 -601
  88. data/apis/application-autoscaling/2016-02-06/examples-1.json +0 -257
  89. data/apis/application-autoscaling/2016-02-06/paginators-1.json +0 -22
  90. data/apis/appstream/2016-12-01/api-2.json +0 -944
  91. data/apis/appstream/2016-12-01/examples-1.json +0 -5
  92. data/apis/appstream/2016-12-01/paginators-1.json +0 -4
  93. data/apis/appstream/2016-12-01/waiters-2.json +0 -55
  94. data/apis/athena/2017-05-18/api-2.json +0 -615
  95. data/apis/athena/2017-05-18/examples-1.json +0 -5
  96. data/apis/athena/2017-05-18/paginators-1.json +0 -19
  97. data/apis/autoscaling/2011-01-01/api-2.json +0 -2172
  98. data/apis/autoscaling/2011-01-01/examples-1.json +0 -1396
  99. data/apis/autoscaling/2011-01-01/paginators-1.json +0 -52
  100. data/apis/autoscaling/2011-01-01/resources-1.json +0 -1624
  101. data/apis/autoscaling/2011-01-01/waiters-2.json +0 -62
  102. data/apis/batch/2016-08-10/api-2.json +0 -920
  103. data/apis/batch/2016-08-10/examples-1.json +0 -589
  104. data/apis/batch/2016-08-10/paginators-1.json +0 -4
  105. data/apis/budgets/2016-10-20/api-2.json +0 -697
  106. data/apis/budgets/2016-10-20/examples-1.json +0 -5
  107. data/apis/budgets/2016-10-20/paginators-1.json +0 -4
  108. data/apis/clouddirectory/2016-05-10/api-2.json +0 -3595
  109. data/apis/clouddirectory/2016-05-10/examples-1.json +0 -5
  110. data/apis/clouddirectory/2016-05-10/paginators-1.json +0 -94
  111. data/apis/cloudformation/2010-05-15/api-2.json +0 -1464
  112. data/apis/cloudformation/2010-05-15/examples-1.json +0 -5
  113. data/apis/cloudformation/2010-05-15/paginators-1.json +0 -37
  114. data/apis/cloudformation/2010-05-15/resources-1.json +0 -211
  115. data/apis/cloudformation/2010-05-15/waiters-2.json +0 -182
  116. data/apis/cloudfront/2016-01-28/api-2.json +0 -2219
  117. data/apis/cloudfront/2016-01-28/examples-1.json +0 -5
  118. data/apis/cloudfront/2016-01-28/paginators-1.json +0 -32
  119. data/apis/cloudfront/2016-01-28/waiters-2.json +0 -47
  120. data/apis/cloudfront/2016-08-01/api-2.json +0 -2548
  121. data/apis/cloudfront/2016-08-01/examples-1.json +0 -5
  122. data/apis/cloudfront/2016-08-01/paginators-1.json +0 -32
  123. data/apis/cloudfront/2016-08-01/waiters-2.json +0 -47
  124. data/apis/cloudfront/2016-08-20/api-2.json +0 -2586
  125. data/apis/cloudfront/2016-08-20/paginators-1.json +0 -32
  126. data/apis/cloudfront/2016-08-20/waiters-2.json +0 -47
  127. data/apis/cloudfront/2016-09-07/api-2.json +0 -2596
  128. data/apis/cloudfront/2016-09-07/examples-1.json +0 -5
  129. data/apis/cloudfront/2016-09-07/paginators-1.json +0 -32
  130. data/apis/cloudfront/2016-09-07/waiters-2.json +0 -47
  131. data/apis/cloudfront/2016-09-29/api-2.json +0 -2599
  132. data/apis/cloudfront/2016-09-29/examples-1.json +0 -5
  133. data/apis/cloudfront/2016-09-29/paginators-1.json +0 -32
  134. data/apis/cloudfront/2016-09-29/waiters-2.json +0 -47
  135. data/apis/cloudfront/2016-11-25/api-2.json +0 -2665
  136. data/apis/cloudfront/2016-11-25/examples-1.json +0 -5
  137. data/apis/cloudfront/2016-11-25/paginators-1.json +0 -32
  138. data/apis/cloudfront/2016-11-25/waiters-2.json +0 -47
  139. data/apis/cloudfront/2017-03-25/api-2.json +0 -2689
  140. data/apis/cloudfront/2017-03-25/examples-1.json +0 -83
  141. data/apis/cloudfront/2017-03-25/paginators-1.json +0 -32
  142. data/apis/cloudfront/2017-03-25/waiters-2.json +0 -47
  143. data/apis/cloudhsm/2014-05-30/api-2.json +0 -878
  144. data/apis/cloudhsm/2014-05-30/examples-1.json +0 -5
  145. data/apis/cloudsearch/2013-01-01/api-2.json +0 -2002
  146. data/apis/cloudsearch/2013-01-01/paginators-1.json +0 -20
  147. data/apis/cloudsearchdomain/2013-01-01/api-2.json +0 -374
  148. data/apis/cloudsearchdomain/2013-01-01/examples-1.json +0 -5
  149. data/apis/cloudtrail/2013-11-01/api-2.json +0 -912
  150. data/apis/cloudtrail/2013-11-01/examples-1.json +0 -5
  151. data/apis/cloudtrail/2013-11-01/paginators-1.json +0 -13
  152. data/apis/codebuild/2016-10-06/api-2.json +0 -704
  153. data/apis/codebuild/2016-10-06/examples-1.json +0 -5
  154. data/apis/codebuild/2016-10-06/paginators-1.json +0 -4
  155. data/apis/codecommit/2015-04-13/api-2.json +0 -1112
  156. data/apis/codecommit/2015-04-13/examples-1.json +0 -5
  157. data/apis/codecommit/2015-04-13/paginators-1.json +0 -19
  158. data/apis/codedeploy/2014-10-06/api-2.json +0 -2380
  159. data/apis/codedeploy/2014-10-06/examples-1.json +0 -5
  160. data/apis/codedeploy/2014-10-06/paginators-1.json +0 -34
  161. data/apis/codedeploy/2014-10-06/waiters-2.json +0 -30
  162. data/apis/codepipeline/2015-07-09/api-2.json +0 -1714
  163. data/apis/codepipeline/2015-07-09/examples-1.json +0 -5
  164. data/apis/codestar/2017-04-19/api-2.json +0 -755
  165. data/apis/codestar/2017-04-19/examples-1.json +0 -5
  166. data/apis/codestar/2017-04-19/paginators-1.json +0 -4
  167. data/apis/cognito-identity/2014-06-30/api-2.json +0 -943
  168. data/apis/cognito-identity/2014-06-30/examples-1.json +0 -5
  169. data/apis/cognito-identity/2014-06-30/paginators-1.json +0 -4
  170. data/apis/cognito-idp/2016-04-18/api-2.json +0 -3847
  171. data/apis/cognito-idp/2016-04-18/examples-1.json +0 -5
  172. data/apis/cognito-idp/2016-04-18/paginators-1.json +0 -4
  173. data/apis/cognito-sync/2014-06-30/api-2.json +0 -1875
  174. data/apis/config/2014-11-12/api-2.json +0 -1418
  175. data/apis/config/2014-11-12/examples-1.json +0 -5
  176. data/apis/config/2014-11-12/paginators-1.json +0 -10
  177. data/apis/cur/2017-01-06/api-2.json +0 -226
  178. data/apis/cur/2017-01-06/examples-1.json +0 -5
  179. data/apis/cur/2017-01-06/paginators-1.json +0 -9
  180. data/apis/datapipeline/2012-10-29/api-2.json +0 -1168
  181. data/apis/datapipeline/2012-10-29/paginators-1.json +0 -26
  182. data/apis/devicefarm/2015-06-23/api-2.json +0 -2312
  183. data/apis/devicefarm/2015-06-23/examples-1.json +0 -1242
  184. data/apis/devicefarm/2015-06-23/paginators-1.json +0 -77
  185. data/apis/directconnect/2012-10-25/api-2.json +0 -1351
  186. data/apis/directconnect/2012-10-25/examples-1.json +0 -5
  187. data/apis/directconnect/2012-10-25/paginators-1.json +0 -22
  188. data/apis/discovery/2015-11-01/api-2.json +0 -938
  189. data/apis/discovery/2015-11-01/examples-1.json +0 -5
  190. data/apis/discovery/2015-11-01/paginators-1.json +0 -4
  191. data/apis/dms/2016-01-01/api-2.json +0 -1881
  192. data/apis/dms/2016-01-01/examples-1.json +0 -1053
  193. data/apis/dms/2016-01-01/paginators-1.json +0 -64
  194. data/apis/ds/2015-04-16/api-2.json +0 -1972
  195. data/apis/ds/2015-04-16/examples-1.json +0 -5
  196. data/apis/dynamodb/2011-12-05/api-2.json +0 -802
  197. data/apis/dynamodb/2011-12-05/examples-1.json +0 -5
  198. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  199. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  200. data/apis/dynamodb/2012-08-10/api-2.json +0 -1405
  201. data/apis/dynamodb/2012-08-10/examples-1.json +0 -628
  202. data/apis/dynamodb/2012-08-10/paginators-1.json +0 -26
  203. data/apis/dynamodb/2012-08-10/resources-1.json +0 -136
  204. data/apis/dynamodb/2012-08-10/waiters-2.json +0 -35
  205. data/apis/ec2/2015-10-01/api-2.json +0 -13760
  206. data/apis/ec2/2015-10-01/examples-1.json +0 -5
  207. data/apis/ec2/2015-10-01/paginators-1.json +0 -138
  208. data/apis/ec2/2015-10-01/resources-1.json +0 -2582
  209. data/apis/ec2/2015-10-01/waiters-2.json +0 -593
  210. data/apis/ec2/2016-04-01/api-2.json +0 -14191
  211. data/apis/ec2/2016-04-01/examples-1.json +0 -3729
  212. data/apis/ec2/2016-04-01/paginators-1.json +0 -138
  213. data/apis/ec2/2016-04-01/resources-1.json +0 -2582
  214. data/apis/ec2/2016-04-01/waiters-2.json +0 -593
  215. data/apis/ec2/2016-09-15/api-2.json +0 -14415
  216. data/apis/ec2/2016-09-15/examples-1.json +0 -3740
  217. data/apis/ec2/2016-09-15/paginators-1.json +0 -138
  218. data/apis/ec2/2016-09-15/resources-1.json +0 -2582
  219. data/apis/ec2/2016-09-15/waiters-2.json +0 -593
  220. data/apis/ec2/2016-11-15/api-2.json +0 -15590
  221. data/apis/ec2/2016-11-15/examples-1.json +0 -3740
  222. data/apis/ec2/2016-11-15/paginators-1.json +0 -144
  223. data/apis/ec2/2016-11-15/resources-1.json +0 -2582
  224. data/apis/ec2/2016-11-15/waiters-2.json +0 -611
  225. data/apis/ecr/2015-09-21/api-2.json +0 -947
  226. data/apis/ecr/2015-09-21/examples-1.json +0 -215
  227. data/apis/ecr/2015-09-21/paginators-1.json +0 -22
  228. data/apis/ecs/2014-11-13/api-2.json +0 -1629
  229. data/apis/ecs/2014-11-13/examples-1.json +0 -883
  230. data/apis/ecs/2014-11-13/paginators-1.json +0 -40
  231. data/apis/ecs/2014-11-13/waiters-2.json +0 -93
  232. data/apis/elasticache/2015-02-02/api-2.json +0 -2550
  233. data/apis/elasticache/2015-02-02/examples-1.json +0 -3145
  234. data/apis/elasticache/2015-02-02/paginators-1.json +0 -76
  235. data/apis/elasticache/2015-02-02/waiters-2.json +0 -143
  236. data/apis/elasticbeanstalk/2010-12-01/api-2.json +0 -2332
  237. data/apis/elasticbeanstalk/2010-12-01/examples-1.json +0 -1109
  238. data/apis/elasticbeanstalk/2010-12-01/paginators-1.json +0 -25
  239. data/apis/elasticfilesystem/2015-02-01/api-2.json +0 -714
  240. data/apis/elasticfilesystem/2015-02-01/examples-1.json +0 -222
  241. data/apis/elasticloadbalancing/2012-06-01/api-2.json +0 -1629
  242. data/apis/elasticloadbalancing/2012-06-01/examples-1.json +0 -1036
  243. data/apis/elasticloadbalancing/2012-06-01/paginators-1.json +0 -18
  244. data/apis/elasticloadbalancing/2012-06-01/waiters-2.json +0 -49
  245. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +0 -1867
  246. data/apis/elasticloadbalancingv2/2015-12-01/examples-1.json +0 -1384
  247. data/apis/elasticloadbalancingv2/2015-12-01/paginators-1.json +0 -19
  248. data/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json +0 -64
  249. data/apis/elasticmapreduce/2009-03-31/api-2.json +0 -2056
  250. data/apis/elasticmapreduce/2009-03-31/examples-1.json +0 -5
  251. data/apis/elasticmapreduce/2009-03-31/paginators-1.json +0 -37
  252. data/apis/elasticmapreduce/2009-03-31/waiters-2.json +0 -86
  253. data/apis/elastictranscoder/2012-09-25/api-2.json +0 -1483
  254. data/apis/elastictranscoder/2012-09-25/examples-1.json +0 -5
  255. data/apis/elastictranscoder/2012-09-25/paginators-1.json +0 -24
  256. data/apis/elastictranscoder/2012-09-25/waiters-2.json +0 -30
  257. data/apis/email/2010-12-01/api-2.json +0 -2212
  258. data/apis/email/2010-12-01/examples-1.json +0 -953
  259. data/apis/email/2010-12-01/paginators-1.json +0 -13
  260. data/apis/email/2010-12-01/waiters-2.json +0 -18
  261. data/apis/entitlement.marketplace/2017-01-11/api-2.json +0 -128
  262. data/apis/entitlement.marketplace/2017-01-11/examples-1.json +0 -5
  263. data/apis/entitlement.marketplace/2017-01-11/paginators-1.json +0 -4
  264. data/apis/es/2015-01-01/api-2.json +0 -862
  265. data/apis/es/2015-01-01/examples-1.json +0 -5
  266. data/apis/es/2015-01-01/paginators-1.json +0 -14
  267. data/apis/events/2015-10-07/api-2.json +0 -649
  268. data/apis/events/2015-10-07/examples-1.json +0 -5
  269. data/apis/events/2015-10-07/paginators-1.json +0 -4
  270. data/apis/firehose/2015-08-04/api-2.json +0 -866
  271. data/apis/firehose/2015-08-04/examples-1.json +0 -5
  272. data/apis/gamelift/2015-10-01/api-2.json +0 -2316
  273. data/apis/gamelift/2015-10-01/examples-1.json +0 -5
  274. data/apis/gamelift/2015-10-01/paginators-1.json +0 -4
  275. data/apis/glacier/2012-06-01/api-2.json +0 -1734
  276. data/apis/glacier/2012-06-01/examples-1.json +0 -806
  277. data/apis/glacier/2012-06-01/paginators-1.json +0 -28
  278. data/apis/glacier/2012-06-01/resources-1.json +0 -563
  279. data/apis/glacier/2012-06-01/waiters-2.json +0 -39
  280. data/apis/greengrass/2017-06-07/api-2.json +0 -3451
  281. data/apis/health/2016-08-04/api-2.json +0 -547
  282. data/apis/health/2016-08-04/examples-1.json +0 -5
  283. data/apis/health/2016-08-04/paginators-1.json +0 -31
  284. data/apis/iam/2010-05-08/api-2.json +0 -4832
  285. data/apis/iam/2010-05-08/examples-1.json +0 -1191
  286. data/apis/iam/2010-05-08/paginators-1.json +0 -198
  287. data/apis/iam/2010-05-08/resources-1.json +0 -1740
  288. data/apis/iam/2010-05-08/waiters-2.json +0 -39
  289. data/apis/importexport/2010-06-01/api-2.json +0 -667
  290. data/apis/importexport/2010-06-01/paginators-1.json +0 -11
  291. data/apis/inspector/2016-02-16/api-2.json +0 -2051
  292. data/apis/inspector/2016-02-16/examples-1.json +0 -1147
  293. data/apis/inspector/2016-02-16/paginators-1.json +0 -4
  294. data/apis/iot/2015-05-28/api-2.json +0 -2928
  295. data/apis/iot/2015-05-28/examples-1.json +0 -5
  296. data/apis/iot/2015-05-28/paginators-1.json +0 -4
  297. data/apis/iot-data/2015-05-28/api-2.json +0 -264
  298. data/apis/kinesis/2013-12-02/api-2.json +0 -890
  299. data/apis/kinesis/2013-12-02/examples-1.json +0 -5
  300. data/apis/kinesis/2013-12-02/paginators-1.json +0 -18
  301. data/apis/kinesis/2013-12-02/waiters-2.json +0 -30
  302. data/apis/kinesisanalytics/2015-08-14/api-2.json +0 -1175
  303. data/apis/kinesisanalytics/2015-08-14/examples-1.json +0 -5
  304. data/apis/kinesisanalytics/2015-08-14/paginators-1.json +0 -4
  305. data/apis/kms/2014-11-01/api-2.json +0 -1492
  306. data/apis/kms/2014-11-01/examples-1.json +0 -904
  307. data/apis/kms/2014-11-01/paginators-1.json +0 -32
  308. data/apis/lambda/2014-11-11/api-2.json +0 -668
  309. data/apis/lambda/2014-11-11/paginators-1.json +0 -16
  310. data/apis/lambda/2015-03-31/api-2.json +0 -1647
  311. data/apis/lambda/2015-03-31/examples-1.json +0 -614
  312. data/apis/lambda/2015-03-31/paginators-1.json +0 -16
  313. data/apis/lex-models/2017-04-19/api-2.json +0 -2033
  314. data/apis/lex-models/2017-04-19/examples-1.json +0 -758
  315. data/apis/lex-models/2017-04-19/paginators-1.json +0 -54
  316. data/apis/lightsail/2016-11-28/api-2.json +0 -2187
  317. data/apis/lightsail/2016-11-28/examples-1.json +0 -5
  318. data/apis/lightsail/2016-11-28/paginators-1.json +0 -4
  319. data/apis/logs/2014-03-28/api-2.json +0 -1246
  320. data/apis/logs/2014-03-28/examples-1.json +0 -5
  321. data/apis/logs/2014-03-28/paginators-1.json +0 -49
  322. data/apis/machinelearning/2014-12-12/api-2.json +0 -1978
  323. data/apis/machinelearning/2014-12-12/examples-1.json +0 -5
  324. data/apis/machinelearning/2014-12-12/paginators-1.json +0 -28
  325. data/apis/machinelearning/2014-12-12/waiters-2.json +0 -81
  326. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +0 -171
  327. data/apis/marketplacecommerceanalytics/2015-07-01/examples-1.json +0 -5
  328. data/apis/marketplacecommerceanalytics/2015-07-01/paginators-1.json +0 -4
  329. data/apis/meteringmarketplace/2016-01-14/api-2.json +0 -263
  330. data/apis/meteringmarketplace/2016-01-14/examples-1.json +0 -5
  331. data/apis/monitoring/2010-08-01/api-2.json +0 -827
  332. data/apis/monitoring/2010-08-01/examples-1.json +0 -5
  333. data/apis/monitoring/2010-08-01/paginators-1.json +0 -24
  334. data/apis/monitoring/2010-08-01/resources-1.json +0 -346
  335. data/apis/monitoring/2010-08-01/waiters-2.json +0 -18
  336. data/apis/mturk-requester/2017-01-17/api-2.json +0 -1665
  337. data/apis/mturk-requester/2017-01-17/examples-1.json +0 -5
  338. data/apis/mturk-requester/2017-01-17/paginators-1.json +0 -54
  339. data/apis/opsworks/2013-02-18/api-2.json +0 -2839
  340. data/apis/opsworks/2013-02-18/examples-1.json +0 -5
  341. data/apis/opsworks/2013-02-18/paginators-1.json +0 -55
  342. data/apis/opsworks/2013-02-18/resources-1.json +0 -173
  343. data/apis/opsworks/2013-02-18/waiters-2.json +0 -295
  344. data/apis/opsworkscm/2016-11-01/api-2.json +0 -730
  345. data/apis/opsworkscm/2016-11-01/examples-1.json +0 -5
  346. data/apis/opsworkscm/2016-11-01/paginators-1.json +0 -4
  347. data/apis/organizations/2016-11-28/api-2.json +0 -2006
  348. data/apis/organizations/2016-11-28/examples-1.json +0 -1409
  349. data/apis/organizations/2016-11-28/paginators-1.json +0 -64
  350. data/apis/pinpoint/2016-12-01/api-2.json +0 -3949
  351. data/apis/pinpoint/2016-12-01/examples-1.json +0 -5
  352. data/apis/polly/2016-06-10/api-2.json +0 -539
  353. data/apis/polly/2016-06-10/examples-1.json +0 -171
  354. data/apis/polly/2016-06-10/paginators-1.json +0 -4
  355. data/apis/rds/2013-01-10/api-2.json +0 -2902
  356. data/apis/rds/2013-01-10/examples-1.json +0 -5
  357. data/apis/rds/2013-01-10/paginators-1.json +0 -97
  358. data/apis/rds/2013-02-12/api-2.json +0 -3058
  359. data/apis/rds/2013-02-12/examples-1.json +0 -5
  360. data/apis/rds/2013-02-12/paginators-1.json +0 -110
  361. data/apis/rds/2013-09-09/api-2.json +0 -3159
  362. data/apis/rds/2013-09-09/examples-1.json +0 -5
  363. data/apis/rds/2013-09-09/paginators-1.json +0 -110
  364. data/apis/rds/2013-09-09/waiters-2.json +0 -97
  365. data/apis/rds/2014-09-01/api-2.json +0 -3272
  366. data/apis/rds/2014-09-01/examples-1.json +0 -5
  367. data/apis/rds/2014-09-01/paginators-1.json +0 -4
  368. data/apis/rds/2014-10-31/api-2.json +0 -5187
  369. data/apis/rds/2014-10-31/examples-1.json +0 -1951
  370. data/apis/rds/2014-10-31/paginators-1.json +0 -110
  371. data/apis/rds/2014-10-31/resources-1.json +0 -3272
  372. data/apis/rds/2014-10-31/waiters-2.json +0 -90
  373. data/apis/redshift/2012-12-01/api-2.json +0 -3840
  374. data/apis/redshift/2012-12-01/examples-1.json +0 -5
  375. data/apis/redshift/2012-12-01/paginators-1.json +0 -94
  376. data/apis/redshift/2012-12-01/waiters-2.json +0 -97
  377. data/apis/rekognition/2016-06-27/api-2.json +0 -992
  378. data/apis/rekognition/2016-06-27/examples-1.json +0 -651
  379. data/apis/rekognition/2016-06-27/paginators-1.json +0 -16
  380. data/apis/resourcegroupstaggingapi/2017-01-26/api-2.json +0 -328
  381. data/apis/resourcegroupstaggingapi/2017-01-26/examples-1.json +0 -5
  382. data/apis/resourcegroupstaggingapi/2017-01-26/paginators-1.json +0 -20
  383. data/apis/route53/2013-04-01/api-2.json +0 -3312
  384. data/apis/route53/2013-04-01/examples-1.json +0 -762
  385. data/apis/route53/2013-04-01/paginators-1.json +0 -33
  386. data/apis/route53/2013-04-01/waiters-2.json +0 -18
  387. data/apis/route53domains/2014-05-15/api-2.json +0 -1323
  388. data/apis/route53domains/2014-05-15/examples-1.json +0 -5
  389. data/apis/route53domains/2014-05-15/paginators-1.json +0 -16
  390. data/apis/runtime.lex/2016-11-28/api-2.json +0 -390
  391. data/apis/runtime.lex/2016-11-28/examples-1.json +0 -5
  392. data/apis/runtime.lex/2016-11-28/paginators-1.json +0 -4
  393. data/apis/s3/2006-03-01/api-2.json +0 -5368
  394. data/apis/s3/2006-03-01/examples-1.json +0 -1876
  395. data/apis/s3/2006-03-01/paginators-1.json +0 -66
  396. data/apis/s3/2006-03-01/resources-1.json +0 -1176
  397. data/apis/s3/2006-03-01/waiters-2.json +0 -73
  398. data/apis/sdb/2009-04-15/api-2.json +0 -955
  399. data/apis/sdb/2009-04-15/paginators-1.json +0 -15
  400. data/apis/servicecatalog/2015-12-10/api-2.json +0 -2022
  401. data/apis/servicecatalog/2015-12-10/examples-1.json +0 -5
  402. data/apis/servicecatalog/2015-12-10/paginators-1.json +0 -4
  403. data/apis/shield/2016-06-02/api-2.json +0 -494
  404. data/apis/shield/2016-06-02/examples-1.json +0 -5
  405. data/apis/sms/2016-10-24/api-2.json +0 -612
  406. data/apis/sms/2016-10-24/examples-1.json +0 -5
  407. data/apis/sms/2016-10-24/paginators-1.json +0 -28
  408. data/apis/snowball/2016-06-30/api-2.json +0 -855
  409. data/apis/snowball/2016-06-30/examples-1.json +0 -442
  410. data/apis/snowball/2016-06-30/paginators-1.json +0 -16
  411. data/apis/sns/2010-03-31/api-2.json +0 -1145
  412. data/apis/sns/2010-03-31/examples-1.json +0 -5
  413. data/apis/sns/2010-03-31/paginators-1.json +0 -29
  414. data/apis/sns/2010-03-31/resources-1.json +0 -327
  415. data/apis/sqs/2012-11-05/api-2.json +0 -988
  416. data/apis/sqs/2012-11-05/examples-1.json +0 -5
  417. data/apis/sqs/2012-11-05/paginators-1.json +0 -7
  418. data/apis/sqs/2012-11-05/resources-1.json +0 -232
  419. data/apis/ssm/2014-11-06/api-2.json +0 -5317
  420. data/apis/ssm/2014-11-06/examples-1.json +0 -5
  421. data/apis/ssm/2014-11-06/paginators-1.json +0 -40
  422. data/apis/states/2016-11-23/api-2.json +0 -1021
  423. data/apis/states/2016-11-23/examples-1.json +0 -5
  424. data/apis/states/2016-11-23/paginators-1.json +0 -28
  425. data/apis/storagegateway/2013-06-30/api-2.json +0 -2591
  426. data/apis/storagegateway/2013-06-30/examples-1.json +0 -1381
  427. data/apis/storagegateway/2013-06-30/paginators-1.json +0 -52
  428. data/apis/streams.dynamodb/2012-08-10/api-2.json +0 -406
  429. data/apis/streams.dynamodb/2012-08-10/examples-1.json +0 -212
  430. data/apis/streams.dynamodb/2012-08-10/paginators-1.json +0 -4
  431. data/apis/sts/2011-06-15/api-2.json +0 -522
  432. data/apis/sts/2011-06-15/examples-1.json +0 -206
  433. data/apis/sts/2011-06-15/paginators-1.json +0 -4
  434. data/apis/support/2013-04-15/api-2.json +0 -772
  435. data/apis/support/2013-04-15/examples-1.json +0 -5
  436. data/apis/support/2013-04-15/paginators-1.json +0 -25
  437. data/apis/swf/2012-01-25/api-2.json +0 -2839
  438. data/apis/swf/2012-01-25/paginators-1.json +0 -46
  439. data/apis/waf/2015-08-24/api-2.json +0 -1959
  440. data/apis/waf/2015-08-24/examples-1.json +0 -1017
  441. data/apis/waf/2015-08-24/paginators-1.json +0 -4
  442. data/apis/waf-regional/2016-11-28/api-2.json +0 -2090
  443. data/apis/waf-regional/2016-11-28/examples-1.json +0 -1017
  444. data/apis/waf-regional/2016-11-28/paginators-1.json +0 -4
  445. data/apis/workdocs/2016-05-01/api-2.json +0 -2684
  446. data/apis/workdocs/2016-05-01/examples-1.json +0 -5
  447. data/apis/workdocs/2016-05-01/paginators-1.json +0 -25
  448. data/apis/workspaces/2015-04-08/api-2.json +0 -840
  449. data/apis/workspaces/2015-04-08/examples-1.json +0 -5
  450. data/apis/workspaces/2015-04-08/paginators-1.json +0 -20
  451. data/apis/xray/2016-04-12/api-2.json +0 -492
  452. data/apis/xray/2016-04-12/examples-1.json +0 -5
  453. data/apis/xray/2016-04-12/paginators-1.json +0 -4
  454. data/bin/aws.rb +0 -180
  455. data/endpoints.json +0 -1935
  456. data/lib/aws-sdk-core/acm.rb +0 -6
  457. data/lib/aws-sdk-core/api/builder.rb +0 -106
  458. data/lib/aws-sdk-core/api/customizations.rb +0 -262
  459. data/lib/aws-sdk-core/api/docs/builder.rb +0 -223
  460. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +0 -118
  461. data/lib/aws-sdk-core/api/docs/crosslink.rb +0 -43
  462. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +0 -75
  463. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +0 -151
  464. data/lib/aws-sdk-core/api/docs/param_formatter.rb +0 -163
  465. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +0 -22
  466. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +0 -91
  467. data/lib/aws-sdk-core/api/docs/shared_example.rb +0 -100
  468. data/lib/aws-sdk-core/api/docs/utils.rb +0 -133
  469. data/lib/aws-sdk-core/api/shape_map.rb +0 -142
  470. data/lib/aws-sdk-core/apigateway.rb +0 -6
  471. data/lib/aws-sdk-core/applicationautoscaling.rb +0 -6
  472. data/lib/aws-sdk-core/applicationdiscoveryservice.rb +0 -6
  473. data/lib/aws-sdk-core/appstream.rb +0 -7
  474. data/lib/aws-sdk-core/athena.rb +0 -6
  475. data/lib/aws-sdk-core/autoscaling.rb +0 -8
  476. data/lib/aws-sdk-core/batch.rb +0 -6
  477. data/lib/aws-sdk-core/budgets.rb +0 -6
  478. data/lib/aws-sdk-core/checksums.rb +0 -51
  479. data/lib/aws-sdk-core/client.rb +0 -60
  480. data/lib/aws-sdk-core/client_waiters.rb +0 -120
  481. data/lib/aws-sdk-core/clouddirectory.rb +0 -6
  482. data/lib/aws-sdk-core/cloudformation.rb +0 -8
  483. data/lib/aws-sdk-core/cloudfront/cookie_signer.rb +0 -44
  484. data/lib/aws-sdk-core/cloudfront/signer.rb +0 -141
  485. data/lib/aws-sdk-core/cloudfront/url_signer.rb +0 -48
  486. data/lib/aws-sdk-core/cloudfront.rb +0 -17
  487. data/lib/aws-sdk-core/cloudhsm.rb +0 -5
  488. data/lib/aws-sdk-core/cloudsearch.rb +0 -5
  489. data/lib/aws-sdk-core/cloudsearchdomain.rb +0 -5
  490. data/lib/aws-sdk-core/cloudtrail.rb +0 -6
  491. data/lib/aws-sdk-core/cloudwatch.rb +0 -8
  492. data/lib/aws-sdk-core/cloudwatchevents.rb +0 -6
  493. data/lib/aws-sdk-core/cloudwatchlogs.rb +0 -6
  494. data/lib/aws-sdk-core/codebuild.rb +0 -6
  495. data/lib/aws-sdk-core/codecommit.rb +0 -6
  496. data/lib/aws-sdk-core/codedeploy.rb +0 -7
  497. data/lib/aws-sdk-core/codepipeline.rb +0 -5
  498. data/lib/aws-sdk-core/codestar.rb +0 -6
  499. data/lib/aws-sdk-core/cognitoidentity.rb +0 -6
  500. data/lib/aws-sdk-core/cognitoidentityprovider.rb +0 -6
  501. data/lib/aws-sdk-core/cognitosync.rb +0 -4
  502. data/lib/aws-sdk-core/configservice.rb +0 -6
  503. data/lib/aws-sdk-core/costandusagereportservice.rb +0 -6
  504. data/lib/aws-sdk-core/databasemigrationservice.rb +0 -6
  505. data/lib/aws-sdk-core/datapipeline.rb +0 -5
  506. data/lib/aws-sdk-core/devicefarm.rb +0 -6
  507. data/lib/aws-sdk-core/directconnect.rb +0 -6
  508. data/lib/aws-sdk-core/directoryservice.rb +0 -5
  509. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +0 -110
  510. data/lib/aws-sdk-core/dynamodb.rb +0 -40
  511. data/lib/aws-sdk-core/dynamodbstreams.rb +0 -6
  512. data/lib/aws-sdk-core/ec2.rb +0 -8
  513. data/lib/aws-sdk-core/ecr.rb +0 -6
  514. data/lib/aws-sdk-core/ecs.rb +0 -7
  515. data/lib/aws-sdk-core/efs.rb +0 -5
  516. data/lib/aws-sdk-core/elasticache.rb +0 -7
  517. data/lib/aws-sdk-core/elasticbeanstalk.rb +0 -6
  518. data/lib/aws-sdk-core/elasticloadbalancing.rb +0 -7
  519. data/lib/aws-sdk-core/elasticloadbalancingv2.rb +0 -7
  520. data/lib/aws-sdk-core/elasticsearchservice.rb +0 -6
  521. data/lib/aws-sdk-core/elastictranscoder.rb +0 -7
  522. data/lib/aws-sdk-core/empty_structure.rb +0 -3
  523. data/lib/aws-sdk-core/emr.rb +0 -7
  524. data/lib/aws-sdk-core/endpoint_provider.rb +0 -104
  525. data/lib/aws-sdk-core/firehose.rb +0 -5
  526. data/lib/aws-sdk-core/gamelift.rb +0 -6
  527. data/lib/aws-sdk-core/glacier.rb +0 -8
  528. data/lib/aws-sdk-core/greengrass.rb +0 -4
  529. data/lib/aws-sdk-core/health.rb +0 -6
  530. data/lib/aws-sdk-core/iam.rb +0 -8
  531. data/lib/aws-sdk-core/importexport.rb +0 -5
  532. data/lib/aws-sdk-core/inspector.rb +0 -6
  533. data/lib/aws-sdk-core/iot.rb +0 -6
  534. data/lib/aws-sdk-core/iotdataplane.rb +0 -4
  535. data/lib/aws-sdk-core/kinesis.rb +0 -7
  536. data/lib/aws-sdk-core/kinesisanalytics.rb +0 -6
  537. data/lib/aws-sdk-core/kms.rb +0 -6
  538. data/lib/aws-sdk-core/lambda.rb +0 -6
  539. data/lib/aws-sdk-core/lambdapreview.rb +0 -5
  540. data/lib/aws-sdk-core/lex.rb +0 -6
  541. data/lib/aws-sdk-core/lexmodelbuildingservice.rb +0 -6
  542. data/lib/aws-sdk-core/lightsail.rb +0 -6
  543. data/lib/aws-sdk-core/machinelearning.rb +0 -7
  544. data/lib/aws-sdk-core/marketplacecommerceanalytics.rb +0 -6
  545. data/lib/aws-sdk-core/marketplaceentitlementservice.rb +0 -6
  546. data/lib/aws-sdk-core/marketplacemetering.rb +0 -5
  547. data/lib/aws-sdk-core/mturk.rb +0 -6
  548. data/lib/aws-sdk-core/opsworks.rb +0 -8
  549. data/lib/aws-sdk-core/opsworkscm.rb +0 -6
  550. data/lib/aws-sdk-core/organizations.rb +0 -6
  551. data/lib/aws-sdk-core/partitions/partition.rb +0 -95
  552. data/lib/aws-sdk-core/partitions/partition_list.rb +0 -60
  553. data/lib/aws-sdk-core/partitions/region.rb +0 -66
  554. data/lib/aws-sdk-core/partitions/service.rb +0 -74
  555. data/lib/aws-sdk-core/partitions.rb +0 -174
  556. data/lib/aws-sdk-core/pinpoint.rb +0 -5
  557. data/lib/aws-sdk-core/plugins/api_gateway_header.rb +0 -19
  558. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +0 -30
  559. data/lib/aws-sdk-core/plugins/csd_switch_to_post.rb +0 -36
  560. data/lib/aws-sdk-core/plugins/dynamodb_crc32_validation.rb +0 -52
  561. data/lib/aws-sdk-core/plugins/dynamodb_extended_retries.rb +0 -22
  562. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +0 -208
  563. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +0 -56
  564. data/lib/aws-sdk-core/plugins/ec2_region_validation.rb +0 -17
  565. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +0 -19
  566. data/lib/aws-sdk-core/plugins/glacier_api_version.rb +0 -19
  567. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +0 -87
  568. data/lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb +0 -20
  569. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +0 -69
  570. data/lib/aws-sdk-core/plugins/request_signer.rb +0 -150
  571. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +0 -55
  572. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +0 -90
  573. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +0 -86
  574. data/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb +0 -21
  575. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +0 -67
  576. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +0 -27
  577. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +0 -21
  578. data/lib/aws-sdk-core/plugins/s3_host_id.rb +0 -26
  579. data/lib/aws-sdk-core/plugins/s3_http_200_errors.rb +0 -45
  580. data/lib/aws-sdk-core/plugins/s3_location_constraint.rb +0 -31
  581. data/lib/aws-sdk-core/plugins/s3_md5s.rb +0 -50
  582. data/lib/aws-sdk-core/plugins/s3_redirects.rb +0 -37
  583. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +0 -166
  584. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +0 -64
  585. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +0 -93
  586. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +0 -162
  587. data/lib/aws-sdk-core/plugins/sqs_queue_urls.rb +0 -34
  588. data/lib/aws-sdk-core/plugins/swf_read_timeouts.rb +0 -23
  589. data/lib/aws-sdk-core/polly/presigner.rb +0 -70
  590. data/lib/aws-sdk-core/polly.rb +0 -14
  591. data/lib/aws-sdk-core/rds/auth_token_generator.rb +0 -63
  592. data/lib/aws-sdk-core/rds.rb +0 -16
  593. data/lib/aws-sdk-core/redshift.rb +0 -7
  594. data/lib/aws-sdk-core/rekognition.rb +0 -6
  595. data/lib/aws-sdk-core/resourcegroupstaggingapi.rb +0 -6
  596. data/lib/aws-sdk-core/route53.rb +0 -7
  597. data/lib/aws-sdk-core/route53domains.rb +0 -6
  598. data/lib/aws-sdk-core/s3/bucket_region_cache.rb +0 -75
  599. data/lib/aws-sdk-core/s3/presigner.rb +0 -116
  600. data/lib/aws-sdk-core/s3.rb +0 -26
  601. data/lib/aws-sdk-core/service.rb +0 -4
  602. data/lib/aws-sdk-core/servicecatalog.rb +0 -6
  603. data/lib/aws-sdk-core/ses.rb +0 -7
  604. data/lib/aws-sdk-core/shield.rb +0 -5
  605. data/lib/aws-sdk-core/signers/base.rb +0 -31
  606. data/lib/aws-sdk-core/signers/s3.rb +0 -185
  607. data/lib/aws-sdk-core/signers/v2.rb +0 -51
  608. data/lib/aws-sdk-core/signers/v3.rb +0 -34
  609. data/lib/aws-sdk-core/signers/v4.rb +0 -234
  610. data/lib/aws-sdk-core/simpledb.rb +0 -5
  611. data/lib/aws-sdk-core/sms.rb +0 -6
  612. data/lib/aws-sdk-core/snowball.rb +0 -6
  613. data/lib/aws-sdk-core/sns.rb +0 -7
  614. data/lib/aws-sdk-core/sqs.rb +0 -7
  615. data/lib/aws-sdk-core/ssm.rb +0 -6
  616. data/lib/aws-sdk-core/states.rb +0 -6
  617. data/lib/aws-sdk-core/storagegateway.rb +0 -6
  618. data/lib/aws-sdk-core/sts.rb +0 -6
  619. data/lib/aws-sdk-core/support.rb +0 -6
  620. data/lib/aws-sdk-core/swf.rb +0 -5
  621. data/lib/aws-sdk-core/tree_hash.rb +0 -69
  622. data/lib/aws-sdk-core/waf.rb +0 -6
  623. data/lib/aws-sdk-core/wafregional.rb +0 -6
  624. data/lib/aws-sdk-core/waiters/null_provider.rb +0 -12
  625. data/lib/aws-sdk-core/waiters/provider.rb +0 -35
  626. data/lib/aws-sdk-core/workdocs.rb +0 -6
  627. data/lib/aws-sdk-core/workspaces.rb +0 -6
  628. data/lib/aws-sdk-core/xray.rb +0 -6
  629. data/lib/seahorse/client/plugins/restful_bindings.rb +0 -125
  630. data/service-models.json +0 -405
@@ -1,904 +0,0 @@
1
- {
2
- "version": "1.0",
3
- "examples": {
4
- "CancelKeyDeletion": [
5
- {
6
- "input": {
7
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
8
- },
9
- "output": {
10
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
11
- },
12
- "comments": {
13
- "input": {
14
- "KeyId": "The identifier of the CMK whose deletion you are canceling. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
15
- },
16
- "output": {
17
- "KeyId": "The ARN of the CMK whose deletion you canceled."
18
- }
19
- },
20
- "description": "The following example cancels deletion of the specified CMK.",
21
- "id": "to-cancel-deletion-of-a-cmk-1477428535102",
22
- "title": "To cancel deletion of a customer master key (CMK)"
23
- }
24
- ],
25
- "CreateAlias": [
26
- {
27
- "input": {
28
- "AliasName": "alias/ExampleAlias",
29
- "TargetKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
30
- },
31
- "comments": {
32
- "input": {
33
- "AliasName": "The alias to create. Aliases must begin with 'alias/'. Do not use aliases that begin with 'alias/aws' because they are reserved for use by AWS.",
34
- "TargetKeyId": "The identifier of the CMK whose alias you are creating. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
35
- }
36
- },
37
- "description": "The following example creates an alias for the specified customer master key (CMK).",
38
- "id": "to-create-an-alias-1477505685119",
39
- "title": "To create an alias"
40
- }
41
- ],
42
- "CreateGrant": [
43
- {
44
- "input": {
45
- "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole",
46
- "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab",
47
- "Operations": [
48
- "Encrypt",
49
- "Decrypt"
50
- ]
51
- },
52
- "output": {
53
- "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
54
- "GrantToken": "AQpAM2RhZTk1MGMyNTk2ZmZmMzEyYWVhOWViN2I1MWM4Mzc0MWFiYjc0ZDE1ODkyNGFlNTIzODZhMzgyZjBlNGY3NiKIAgEBAgB4Pa6VDCWW__MSrqnre1HIN0Grt00ViSSuUjhqOC8OT3YAAADfMIHcBgkqhkiG9w0BBwaggc4wgcsCAQAwgcUGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMmqLyBTAegIn9XlK5AgEQgIGXZQjkBcl1dykDdqZBUQ6L1OfUivQy7JVYO2-ZJP7m6f1g8GzV47HX5phdtONAP7K_HQIflcgpkoCqd_fUnE114mSmiagWkbQ5sqAVV3ov-VeqgrvMe5ZFEWLMSluvBAqdjHEdMIkHMlhlj4ENZbzBfo9Wxk8b8SnwP4kc4gGivedzFXo-dwN8fxjjq_ZZ9JFOj2ijIbj5FyogDCN0drOfi8RORSEuCEmPvjFRMFAwcmwFkN2NPp89amA"
55
- },
56
- "comments": {
57
- "input": {
58
- "GranteePrincipal": "The identity that is given permission to perform the operations specified in the grant.",
59
- "KeyId": "The identifier of the CMK to which the grant applies. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
60
- "Operations": "A list of operations that the grant allows."
61
- },
62
- "output": {
63
- "GrantId": "The unique identifier of the grant.",
64
- "GrantToken": "The grant token."
65
- }
66
- },
67
- "description": "The following example creates a grant that allows the specified IAM role to encrypt data with the specified customer master key (CMK).",
68
- "id": "to-create-a-grant-1477972226782",
69
- "title": "To create a grant"
70
- }
71
- ],
72
- "CreateKey": [
73
- {
74
- "input": {
75
- "Tags": [
76
- {
77
- "TagKey": "CreatedBy",
78
- "TagValue": "ExampleUser"
79
- }
80
- ]
81
- },
82
- "output": {
83
- "KeyMetadata": {
84
- "AWSAccountId": "111122223333",
85
- "Arn": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
86
- "CreationDate": "2017-01-09T12:00:07-08:00",
87
- "Description": "",
88
- "Enabled": true,
89
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
90
- "KeyState": "Enabled",
91
- "KeyUsage": "ENCRYPT_DECRYPT",
92
- "Origin": "AWS_KMS"
93
- }
94
- },
95
- "comments": {
96
- "input": {
97
- "Tags": "One or more tags. Each tag consists of a tag key and a tag value."
98
- },
99
- "output": {
100
- "KeyMetadata": "An object that contains information about the CMK created by this operation."
101
- }
102
- },
103
- "description": "The following example creates a CMK.",
104
- "id": "to-create-a-cmk-1478028992966",
105
- "title": "To create a customer master key (CMK)"
106
- }
107
- ],
108
- "Decrypt": [
109
- {
110
- "input": {
111
- "CiphertextBlob": "<binary data>"
112
- },
113
- "output": {
114
- "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
115
- "Plaintext": "<binary data>"
116
- },
117
- "comments": {
118
- "input": {
119
- "CiphertextBlob": "The encrypted data (ciphertext)."
120
- },
121
- "output": {
122
- "KeyId": "The Amazon Resource Name (ARN) of the CMK that was used to decrypt the data.",
123
- "Plaintext": "The decrypted (plaintext) data."
124
- }
125
- },
126
- "description": "The following example decrypts data that was encrypted with a customer master key (CMK) in AWS KMS.",
127
- "id": "to-decrypt-data-1478281622886",
128
- "title": "To decrypt data"
129
- }
130
- ],
131
- "DeleteAlias": [
132
- {
133
- "input": {
134
- "AliasName": "alias/ExampleAlias"
135
- },
136
- "comments": {
137
- "input": {
138
- "AliasName": "The alias to delete."
139
- }
140
- },
141
- "description": "The following example deletes the specified alias.",
142
- "id": "to-delete-an-alias-1478285209338",
143
- "title": "To delete an alias"
144
- }
145
- ],
146
- "DeleteImportedKeyMaterial": [
147
- {
148
- "input": {
149
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
150
- },
151
- "comments": {
152
- "input": {
153
- "KeyId": "The identifier of the CMK whose imported key material you are deleting. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
154
- }
155
- },
156
- "description": "The following example deletes the imported key material from the specified customer master key (CMK).",
157
- "id": "to-delete-imported-key-material-1478561674507",
158
- "title": "To delete imported key material"
159
- }
160
- ],
161
- "DescribeKey": [
162
- {
163
- "input": {
164
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
165
- },
166
- "output": {
167
- "KeyMetadata": {
168
- "AWSAccountId": "111122223333",
169
- "Arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
170
- "CreationDate": "2015-10-12T11:45:07-07:00",
171
- "Description": "",
172
- "Enabled": true,
173
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
174
- "KeyState": "Enabled",
175
- "KeyUsage": "ENCRYPT_DECRYPT",
176
- "Origin": "AWS_KMS"
177
- }
178
- },
179
- "comments": {
180
- "input": {
181
- "KeyId": "The identifier of the CMK that you want information about. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
182
- },
183
- "output": {
184
- "KeyMetadata": "An object that contains information about the specified CMK."
185
- }
186
- },
187
- "description": "The following example returns information (metadata) about the specified CMK.",
188
- "id": "to-obtain-information-about-a-cmk-1478565820907",
189
- "title": "To obtain information about a customer master key (CMK)"
190
- }
191
- ],
192
- "DisableKey": [
193
- {
194
- "input": {
195
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
196
- },
197
- "comments": {
198
- "input": {
199
- "KeyId": "The identifier of the CMK to disable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
200
- }
201
- },
202
- "description": "The following example disables the specified CMK.",
203
- "id": "to-disable-a-cmk-1478566583659",
204
- "title": "To disable a customer master key (CMK)"
205
- }
206
- ],
207
- "DisableKeyRotation": [
208
- {
209
- "input": {
210
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
211
- },
212
- "comments": {
213
- "input": {
214
- "KeyId": "The identifier of the CMK whose key material will no longer be rotated. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
215
- }
216
- },
217
- "description": "The following example disables automatic annual rotation of the key material for the specified CMK.",
218
- "id": "to-disable-automatic-rotation-of-key-material-1478624396092",
219
- "title": "To disable automatic rotation of key material"
220
- }
221
- ],
222
- "EnableKey": [
223
- {
224
- "input": {
225
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
226
- },
227
- "comments": {
228
- "input": {
229
- "KeyId": "The identifier of the CMK to enable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
230
- }
231
- },
232
- "description": "The following example enables the specified CMK.",
233
- "id": "to-enable-a-cmk-1478627501129",
234
- "title": "To enable a customer master key (CMK)"
235
- }
236
- ],
237
- "EnableKeyRotation": [
238
- {
239
- "input": {
240
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
241
- },
242
- "comments": {
243
- "input": {
244
- "KeyId": "The identifier of the CMK whose key material will be rotated annually. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
245
- }
246
- },
247
- "description": "The following example enables automatic annual rotation of the key material for the specified CMK.",
248
- "id": "to-enable-automatic-rotation-of-key-material-1478629109677",
249
- "title": "To enable automatic rotation of key material"
250
- }
251
- ],
252
- "Encrypt": [
253
- {
254
- "input": {
255
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
256
- "Plaintext": "<binary data>"
257
- },
258
- "output": {
259
- "CiphertextBlob": "<binary data>",
260
- "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
261
- },
262
- "comments": {
263
- "input": {
264
- "KeyId": "The identifier of the CMK to use for encryption. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.",
265
- "Plaintext": "The data to encrypt."
266
- },
267
- "output": {
268
- "CiphertextBlob": "The encrypted data (ciphertext).",
269
- "KeyId": "The ARN of the CMK that was used to encrypt the data."
270
- }
271
- },
272
- "description": "The following example encrypts data with the specified customer master key (CMK).",
273
- "id": "to-encrypt-data-1478906026012",
274
- "title": "To encrypt data"
275
- }
276
- ],
277
- "GenerateDataKey": [
278
- {
279
- "input": {
280
- "KeyId": "alias/ExampleAlias",
281
- "KeySpec": "AES_256"
282
- },
283
- "output": {
284
- "CiphertextBlob": "<binary data>",
285
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
286
- "Plaintext": "<binary data>"
287
- },
288
- "comments": {
289
- "input": {
290
- "KeyId": "The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.",
291
- "KeySpec": "Specifies the type of data key to return."
292
- },
293
- "output": {
294
- "CiphertextBlob": "The encrypted data key.",
295
- "KeyId": "The ARN of the CMK that was used to encrypt the data key.",
296
- "Plaintext": "The unencrypted (plaintext) data key."
297
- }
298
- },
299
- "description": "The following example generates a 256-bit symmetric data encryption key (data key) in two formats. One is the unencrypted (plainext) data key, and the other is the data key encrypted with the specified customer master key (CMK).",
300
- "id": "to-generate-a-data-key-1478912956062",
301
- "title": "To generate a data key"
302
- }
303
- ],
304
- "GenerateDataKeyWithoutPlaintext": [
305
- {
306
- "input": {
307
- "KeyId": "alias/ExampleAlias",
308
- "KeySpec": "AES_256"
309
- },
310
- "output": {
311
- "CiphertextBlob": "<binary data>",
312
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
313
- },
314
- "comments": {
315
- "input": {
316
- "KeyId": "The identifier of the CMK to use to encrypt the data key. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK.",
317
- "KeySpec": "Specifies the type of data key to return."
318
- },
319
- "output": {
320
- "CiphertextBlob": "The encrypted data key.",
321
- "KeyId": "The ARN of the CMK that was used to encrypt the data key."
322
- }
323
- },
324
- "description": "The following example generates an encrypted copy of a 256-bit symmetric data encryption key (data key). The data key is encrypted with the specified customer master key (CMK).",
325
- "id": "to-generate-an-encrypted-data-key-1478914121134",
326
- "title": "To generate an encrypted data key"
327
- }
328
- ],
329
- "GenerateRandom": [
330
- {
331
- "input": {
332
- "NumberOfBytes": 32
333
- },
334
- "output": {
335
- "Plaintext": "<binary data>"
336
- },
337
- "comments": {
338
- "input": {
339
- "NumberOfBytes": "The length of the random data, specified in number of bytes."
340
- },
341
- "output": {
342
- "Plaintext": "The random data."
343
- }
344
- },
345
- "description": "The following example uses AWS KMS to generate 32 bytes of random data.",
346
- "id": "to-generate-random-data-1479163645600",
347
- "title": "To generate random data"
348
- }
349
- ],
350
- "GetKeyPolicy": [
351
- {
352
- "input": {
353
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
354
- "PolicyName": "default"
355
- },
356
- "output": {
357
- "Policy": "{\n \"Version\" : \"2012-10-17\",\n \"Id\" : \"key-default-1\",\n \"Statement\" : [ {\n \"Sid\" : \"Enable IAM User Permissions\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::111122223333:root\"\n },\n \"Action\" : \"kms:*\",\n \"Resource\" : \"*\"\n } ]\n}"
358
- },
359
- "comments": {
360
- "input": {
361
- "KeyId": "The identifier of the CMK whose key policy you want to retrieve. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
362
- "PolicyName": "The name of the key policy to retrieve."
363
- },
364
- "output": {
365
- "Policy": "The key policy document."
366
- }
367
- },
368
- "description": "The following example retrieves the key policy for the specified customer master key (CMK).",
369
- "id": "to-retrieve-a-key-policy-1479170128325",
370
- "title": "To retrieve a key policy"
371
- }
372
- ],
373
- "GetKeyRotationStatus": [
374
- {
375
- "input": {
376
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
377
- },
378
- "output": {
379
- "KeyRotationEnabled": true
380
- },
381
- "comments": {
382
- "input": {
383
- "KeyId": "The identifier of the CMK whose key material rotation status you want to retrieve. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
384
- },
385
- "output": {
386
- "KeyRotationEnabled": "A boolean that indicates the key material rotation status. Returns true when automatic annual rotation of the key material is enabled, or false when it is not."
387
- }
388
- },
389
- "description": "The following example retrieves the status of automatic annual rotation of the key material for the specified CMK.",
390
- "id": "to-retrieve-the-rotation-status-for-a-cmk-1479172287408",
391
- "title": "To retrieve the rotation status for a customer master key (CMK)"
392
- }
393
- ],
394
- "GetParametersForImport": [
395
- {
396
- "input": {
397
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
398
- "WrappingAlgorithm": "RSAES_OAEP_SHA_1",
399
- "WrappingKeySpec": "RSA_2048"
400
- },
401
- "output": {
402
- "ImportToken": "<binary data>",
403
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
404
- "ParametersValidTo": "2016-12-01T14:52:17-08:00",
405
- "PublicKey": "<binary data>"
406
- },
407
- "comments": {
408
- "input": {
409
- "KeyId": "The identifier of the CMK for which to retrieve the public key and import token. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
410
- "WrappingAlgorithm": "The algorithm that you will use to encrypt the key material before importing it.",
411
- "WrappingKeySpec": "The type of wrapping key (public key) to return in the response."
412
- },
413
- "output": {
414
- "ImportToken": "The import token to send with a subsequent ImportKeyMaterial request.",
415
- "KeyId": "The ARN of the CMK for which you are retrieving the public key and import token. This is the same CMK specified in the request.",
416
- "ParametersValidTo": "The time at which the import token and public key are no longer valid.",
417
- "PublicKey": "The public key to use to encrypt the key material before importing it."
418
- }
419
- },
420
- "description": "The following example retrieves the public key and import token for the specified CMK.",
421
- "id": "to-retrieve-the-public-key-and-import-token-for-a-cmk-1480626483211",
422
- "title": "To retrieve the public key and import token for a customer master key (CMK)"
423
- }
424
- ],
425
- "ImportKeyMaterial": [
426
- {
427
- "input": {
428
- "EncryptedKeyMaterial": "<binary data>",
429
- "ExpirationModel": "KEY_MATERIAL_DOES_NOT_EXPIRE",
430
- "ImportToken": "<binary data>",
431
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
432
- },
433
- "comments": {
434
- "input": {
435
- "EncryptedKeyMaterial": "The encrypted key material to import.",
436
- "ExpirationModel": "A value that specifies whether the key material expires.",
437
- "ImportToken": "The import token that you received in the response to a previous GetParametersForImport request.",
438
- "KeyId": "The identifier of the CMK to import the key material into. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
439
- }
440
- },
441
- "description": "The following example imports key material into the specified CMK.",
442
- "id": "to-import-key-material-into-a-cmk-1480630551969",
443
- "title": "To import key material into a customer master key (CMK)"
444
- }
445
- ],
446
- "ListAliases": [
447
- {
448
- "output": {
449
- "Aliases": [
450
- {
451
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/acm",
452
- "AliasName": "alias/aws/acm",
453
- "TargetKeyId": "da03f6f7-d279-427a-9cae-de48d07e5b66"
454
- },
455
- {
456
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/ebs",
457
- "AliasName": "alias/aws/ebs",
458
- "TargetKeyId": "25a217e7-7170-4b8c-8bf6-045ea5f70e5b"
459
- },
460
- {
461
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/rds",
462
- "AliasName": "alias/aws/rds",
463
- "TargetKeyId": "7ec3104e-c3f2-4b5c-bf42-bfc4772c6685"
464
- },
465
- {
466
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/redshift",
467
- "AliasName": "alias/aws/redshift",
468
- "TargetKeyId": "08f7a25a-69e2-4fb5-8f10-393db27326fa"
469
- },
470
- {
471
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/s3",
472
- "AliasName": "alias/aws/s3",
473
- "TargetKeyId": "d2b0f1a3-580d-4f79-b836-bc983be8cfa5"
474
- },
475
- {
476
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example1",
477
- "AliasName": "alias/example1",
478
- "TargetKeyId": "4da1e216-62d0-46c5-a7c0-5f3a3d2f8046"
479
- },
480
- {
481
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example2",
482
- "AliasName": "alias/example2",
483
- "TargetKeyId": "f32fef59-2cc2-445b-8573-2d73328acbee"
484
- },
485
- {
486
- "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example3",
487
- "AliasName": "alias/example3",
488
- "TargetKeyId": "1374ef38-d34e-4d5f-b2c9-4e0daee38855"
489
- }
490
- ],
491
- "Truncated": false
492
- },
493
- "comments": {
494
- "output": {
495
- "Aliases": "A list of aliases, including the key ID of the customer master key (CMK) that each alias refers to.",
496
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
497
- }
498
- },
499
- "description": "The following example lists aliases.",
500
- "id": "to-list-aliases-1480729693349",
501
- "title": "To list aliases"
502
- }
503
- ],
504
- "ListGrants": [
505
- {
506
- "input": {
507
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
508
- },
509
- "output": {
510
- "Grants": [
511
- {
512
- "CreationDate": "2016-10-25T14:37:41-07:00",
513
- "GrantId": "91ad875e49b04a9d1f3bdeb84d821f9db6ea95e1098813f6d47f0c65fbe2a172",
514
- "GranteePrincipal": "acm.us-east-2.amazonaws.com",
515
- "IssuingAccount": "arn:aws:iam::111122223333:root",
516
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
517
- "Operations": [
518
- "Encrypt",
519
- "ReEncryptFrom",
520
- "ReEncryptTo"
521
- ],
522
- "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
523
- },
524
- {
525
- "CreationDate": "2016-10-25T14:37:41-07:00",
526
- "GrantId": "a5d67d3e207a8fc1f4928749ee3e52eb0440493a8b9cf05bbfad91655b056200",
527
- "GranteePrincipal": "acm.us-east-2.amazonaws.com",
528
- "IssuingAccount": "arn:aws:iam::111122223333:root",
529
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
530
- "Operations": [
531
- "ReEncryptFrom",
532
- "ReEncryptTo"
533
- ],
534
- "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
535
- },
536
- {
537
- "CreationDate": "2016-10-25T14:37:41-07:00",
538
- "GrantId": "c541aaf05d90cb78846a73b346fc43e65be28b7163129488c738e0c9e0628f4f",
539
- "GranteePrincipal": "acm.us-east-2.amazonaws.com",
540
- "IssuingAccount": "arn:aws:iam::111122223333:root",
541
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
542
- "Operations": [
543
- "Encrypt",
544
- "ReEncryptFrom",
545
- "ReEncryptTo"
546
- ],
547
- "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
548
- },
549
- {
550
- "CreationDate": "2016-10-25T14:37:41-07:00",
551
- "GrantId": "dd2052c67b4c76ee45caf1dc6a1e2d24e8dc744a51b36ae2f067dc540ce0105c",
552
- "GranteePrincipal": "acm.us-east-2.amazonaws.com",
553
- "IssuingAccount": "arn:aws:iam::111122223333:root",
554
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
555
- "Operations": [
556
- "Encrypt",
557
- "ReEncryptFrom",
558
- "ReEncryptTo"
559
- ],
560
- "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
561
- }
562
- ],
563
- "Truncated": true
564
- },
565
- "comments": {
566
- "input": {
567
- "KeyId": "The identifier of the CMK whose grants you want to list. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
568
- },
569
- "output": {
570
- "Grants": "A list of grants.",
571
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
572
- }
573
- },
574
- "description": "The following example lists grants for the specified CMK.",
575
- "id": "to-list-grants-for-a-cmk-1481067365389",
576
- "title": "To list grants for a customer master key (CMK)"
577
- }
578
- ],
579
- "ListKeyPolicies": [
580
- {
581
- "input": {
582
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
583
- },
584
- "output": {
585
- "PolicyNames": [
586
- "default"
587
- ],
588
- "Truncated": false
589
- },
590
- "comments": {
591
- "input": {
592
- "KeyId": "The identifier of the CMK whose key policies you want to list. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
593
- },
594
- "output": {
595
- "PolicyNames": "A list of key policy names.",
596
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
597
- }
598
- },
599
- "description": "The following example lists key policies for the specified CMK.",
600
- "id": "to-list-key-policies-for-a-cmk-1481069780998",
601
- "title": "To list key policies for a customer master key (CMK)"
602
- }
603
- ],
604
- "ListKeys": [
605
- {
606
- "output": {
607
- "Keys": [
608
- {
609
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/0d990263-018e-4e65-a703-eff731de951e",
610
- "KeyId": "0d990263-018e-4e65-a703-eff731de951e"
611
- },
612
- {
613
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/144be297-0ae1-44ac-9c8f-93cd8c82f841",
614
- "KeyId": "144be297-0ae1-44ac-9c8f-93cd8c82f841"
615
- },
616
- {
617
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/21184251-b765-428e-b852-2c7353e72571",
618
- "KeyId": "21184251-b765-428e-b852-2c7353e72571"
619
- },
620
- {
621
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/214fe92f-5b03-4ae1-b350-db2a45dbe10c",
622
- "KeyId": "214fe92f-5b03-4ae1-b350-db2a45dbe10c"
623
- },
624
- {
625
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/339963f2-e523-49d3-af24-a0fe752aa458",
626
- "KeyId": "339963f2-e523-49d3-af24-a0fe752aa458"
627
- },
628
- {
629
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/b776a44b-df37-4438-9be4-a27494e4271a",
630
- "KeyId": "b776a44b-df37-4438-9be4-a27494e4271a"
631
- },
632
- {
633
- "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb",
634
- "KeyId": "deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb"
635
- }
636
- ],
637
- "Truncated": false
638
- },
639
- "comments": {
640
- "output": {
641
- "Keys": "A list of CMKs, including the key ID and Amazon Resource Name (ARN) of each one.",
642
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
643
- }
644
- },
645
- "description": "The following example lists CMKs.",
646
- "id": "to-list-cmks-1481071643069",
647
- "title": "To list customer master keys (CMKs)"
648
- }
649
- ],
650
- "ListResourceTags": [
651
- {
652
- "input": {
653
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
654
- },
655
- "output": {
656
- "Tags": [
657
- {
658
- "TagKey": "CostCenter",
659
- "TagValue": "87654"
660
- },
661
- {
662
- "TagKey": "CreatedBy",
663
- "TagValue": "ExampleUser"
664
- },
665
- {
666
- "TagKey": "Purpose",
667
- "TagValue": "Test"
668
- }
669
- ],
670
- "Truncated": false
671
- },
672
- "comments": {
673
- "input": {
674
- "KeyId": "The identifier of the CMK whose tags you are listing. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
675
- },
676
- "output": {
677
- "Tags": "A list of tags.",
678
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
679
- }
680
- },
681
- "description": "The following example lists tags for a CMK.",
682
- "id": "to-list-tags-for-a-cmk-1483996855796",
683
- "title": "To list tags for a customer master key (CMK)"
684
- }
685
- ],
686
- "ListRetirableGrants": [
687
- {
688
- "input": {
689
- "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole"
690
- },
691
- "output": {
692
- "Grants": [
693
- {
694
- "CreationDate": "2016-12-07T11:09:35-08:00",
695
- "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
696
- "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole",
697
- "IssuingAccount": "arn:aws:iam::444455556666:root",
698
- "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab",
699
- "Operations": [
700
- "Decrypt",
701
- "Encrypt"
702
- ],
703
- "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole"
704
- }
705
- ],
706
- "Truncated": false
707
- },
708
- "comments": {
709
- "input": {
710
- "RetiringPrincipal": "The retiring principal whose grants you want to list. Use the Amazon Resource Name (ARN) of an AWS principal such as an AWS account (root), IAM user, federated user, or assumed role user."
711
- },
712
- "output": {
713
- "Grants": "A list of grants that the specified principal can retire.",
714
- "Truncated": "A boolean that indicates whether there are more items in the list. Returns true when there are more items, or false when there are not."
715
- }
716
- },
717
- "description": "The following example lists the grants that the specified principal (identity) can retire.",
718
- "id": "to-list-grants-that-the-specified-principal-can-retire-1481140499620",
719
- "title": "To list grants that the specified principal can retire"
720
- }
721
- ],
722
- "PutKeyPolicy": [
723
- {
724
- "input": {
725
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
726
- "Policy": "{\n \"Version\": \"2012-10-17\",\n \"Id\": \"custom-policy-2016-12-07\",\n \"Statement\": [\n {\n \"Sid\": \"Enable IAM User Permissions\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:root\"\n },\n \"Action\": \"kms:*\",\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow access for Key Administrators\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::111122223333:user/ExampleAdminUser\",\n \"arn:aws:iam::111122223333:role/ExampleAdminRole\"\n ]\n },\n \"Action\": [\n \"kms:Create*\",\n \"kms:Describe*\",\n \"kms:Enable*\",\n \"kms:List*\",\n \"kms:Put*\",\n \"kms:Update*\",\n \"kms:Revoke*\",\n \"kms:Disable*\",\n \"kms:Get*\",\n \"kms:Delete*\",\n \"kms:ScheduleKeyDeletion\",\n \"kms:CancelKeyDeletion\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow use of the key\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow attachment of persistent resources\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\"\n ],\n \"Resource\": \"*\",\n \"Condition\": {\n \"Bool\": {\n \"kms:GrantIsForAWSResource\": \"true\"\n }\n }\n }\n ]\n}\n",
727
- "PolicyName": "default"
728
- },
729
- "comments": {
730
- "input": {
731
- "KeyId": "The identifier of the CMK to attach the key policy to. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
732
- "Policy": "The key policy document.",
733
- "PolicyName": "The name of the key policy."
734
- }
735
- },
736
- "description": "The following example attaches a key policy to the specified CMK.",
737
- "id": "to-attach-a-key-policy-to-a-cmk-1481147345018",
738
- "title": "To attach a key policy to a customer master key (CMK)"
739
- }
740
- ],
741
- "ReEncrypt": [
742
- {
743
- "input": {
744
- "CiphertextBlob": "<binary data>",
745
- "DestinationKeyId": "0987dcba-09fe-87dc-65ba-ab0987654321"
746
- },
747
- "output": {
748
- "CiphertextBlob": "<binary data>",
749
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/0987dcba-09fe-87dc-65ba-ab0987654321",
750
- "SourceKeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
751
- },
752
- "comments": {
753
- "input": {
754
- "CiphertextBlob": "The data to reencrypt.",
755
- "DestinationKeyId": "The identifier of the CMK to use to reencrypt the data. You can use the key ID or Amazon Resource Name (ARN) of the CMK, or the name or ARN of an alias that refers to the CMK."
756
- },
757
- "output": {
758
- "CiphertextBlob": "The reencrypted data.",
759
- "KeyId": "The ARN of the CMK that was used to reencrypt the data.",
760
- "SourceKeyId": "The ARN of the CMK that was used to originally encrypt the data."
761
- }
762
- },
763
- "description": "The following example reencrypts data with the specified CMK.",
764
- "id": "to-reencrypt-data-1481230358001",
765
- "title": "To reencrypt data"
766
- }
767
- ],
768
- "RetireGrant": [
769
- {
770
- "input": {
771
- "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
772
- "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab"
773
- },
774
- "comments": {
775
- "input": {
776
- "GrantId": "The identifier of the grant to retire.",
777
- "KeyId": "The Amazon Resource Name (ARN) of the customer master key (CMK) associated with the grant."
778
- }
779
- },
780
- "description": "The following example retires a grant.",
781
- "id": "to-retire-a-grant-1481327028297",
782
- "title": "To retire a grant"
783
- }
784
- ],
785
- "RevokeGrant": [
786
- {
787
- "input": {
788
- "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
789
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
790
- },
791
- "comments": {
792
- "input": {
793
- "GrantId": "The identifier of the grant to revoke.",
794
- "KeyId": "The identifier of the customer master key (CMK) associated with the grant. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
795
- }
796
- },
797
- "description": "The following example revokes a grant.",
798
- "id": "to-revoke-a-grant-1481329549302",
799
- "title": "To revoke a grant"
800
- }
801
- ],
802
- "ScheduleKeyDeletion": [
803
- {
804
- "input": {
805
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
806
- "PendingWindowInDays": 7
807
- },
808
- "output": {
809
- "DeletionDate": "2016-12-17T16:00:00-08:00",
810
- "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
811
- },
812
- "comments": {
813
- "input": {
814
- "KeyId": "The identifier of the CMK to schedule for deletion. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
815
- "PendingWindowInDays": "The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the CMK."
816
- },
817
- "output": {
818
- "DeletionDate": "The date and time after which AWS KMS deletes the CMK.",
819
- "KeyId": "The ARN of the CMK that is scheduled for deletion."
820
- }
821
- },
822
- "description": "The following example schedules the specified CMK for deletion.",
823
- "id": "to-schedule-a-cmk-for-deletion-1481331111094",
824
- "title": "To schedule a customer master key (CMK) for deletion"
825
- }
826
- ],
827
- "TagResource": [
828
- {
829
- "input": {
830
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
831
- "Tags": [
832
- {
833
- "TagKey": "Purpose",
834
- "TagValue": "Test"
835
- }
836
- ]
837
- },
838
- "comments": {
839
- "input": {
840
- "KeyId": "The identifier of the CMK you are tagging. You can use the key ID or the Amazon Resource Name (ARN) of the CMK.",
841
- "Tags": "A list of tags."
842
- }
843
- },
844
- "description": "The following example tags a CMK.",
845
- "id": "to-tag-a-cmk-1483997246518",
846
- "title": "To tag a customer master key (CMK)"
847
- }
848
- ],
849
- "UntagResource": [
850
- {
851
- "input": {
852
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
853
- "TagKeys": [
854
- "Purpose",
855
- "CostCenter"
856
- ]
857
- },
858
- "comments": {
859
- "input": {
860
- "KeyId": "The identifier of the CMK whose tags you are removing.",
861
- "TagKeys": "A list of tag keys. Provide only the tag keys, not the tag values."
862
- }
863
- },
864
- "description": "The following example removes tags from a CMK.",
865
- "id": "to-remove-tags-from-a-cmk-1483997590962",
866
- "title": "To remove tags from a customer master key (CMK)"
867
- }
868
- ],
869
- "UpdateAlias": [
870
- {
871
- "input": {
872
- "AliasName": "alias/ExampleAlias",
873
- "TargetKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
874
- },
875
- "comments": {
876
- "input": {
877
- "AliasName": "The alias to update.",
878
- "TargetKeyId": "The identifier of the CMK that the alias will refer to after this operation succeeds. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
879
- }
880
- },
881
- "description": "The following example updates the specified alias to refer to the specified customer master key (CMK).",
882
- "id": "to-update-an-alias-1481572726920",
883
- "title": "To update an alias"
884
- }
885
- ],
886
- "UpdateKeyDescription": [
887
- {
888
- "input": {
889
- "Description": "Example description that indicates the intended use of this CMK.",
890
- "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
891
- },
892
- "comments": {
893
- "input": {
894
- "Description": "The updated description.",
895
- "KeyId": "The identifier of the CMK whose description you are updating. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
896
- }
897
- },
898
- "description": "The following example updates the description of the specified CMK.",
899
- "id": "to-update-the-description-of-a-cmk-1481574808619",
900
- "title": "To update the description of a customer master key (CMK)"
901
- }
902
- ]
903
- }
904
- }