aws-sdk-core 2.6.9 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/apis/acm/2015-12-08/api-2.json +34 -3
  3. data/apis/acm/2015-12-08/paginators-1.json +2 -2
  4. data/apis/apigateway/2015-07-09/api-2.json +625 -17
  5. data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
  6. data/apis/appstream/2016-12-01/api-2.json +820 -0
  7. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  8. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  9. data/apis/autoscaling/2011-01-01/api-2.json +1 -0
  10. data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
  11. data/apis/batch/2016-08-10/api-2.json +885 -0
  12. data/apis/batch/2016-08-10/examples-1.json +589 -0
  13. data/apis/budgets/2016-10-20/api-2.json +696 -0
  14. data/apis/budgets/2016-10-20/examples-1.json +5 -0
  15. data/apis/cloudformation/2010-05-15/api-2.json +126 -11
  16. data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
  17. data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
  18. data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
  19. data/apis/cloudfront/2016-01-28/api-2.json +1 -0
  20. data/apis/cloudfront/2016-08-01/api-2.json +1 -0
  21. data/apis/cloudfront/2016-08-20/api-2.json +1 -0
  22. data/apis/cloudfront/2016-09-07/api-2.json +1 -0
  23. data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
  24. data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
  25. data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
  26. data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
  27. data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
  28. data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
  29. data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
  30. data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
  31. data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
  32. data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
  33. data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
  34. data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
  35. data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
  36. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  37. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  38. data/apis/codecommit/2015-04-13/api-2.json +2 -1
  39. data/apis/codedeploy/2014-10-06/api-2.json +35 -6
  40. data/apis/codepipeline/2015-07-09/api-2.json +3 -2
  41. data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
  42. data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
  43. data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
  44. data/apis/config/2014-11-12/api-2.json +40 -9
  45. data/apis/config/2014-11-12/paginators-1.json +2 -2
  46. data/apis/cur/2017-01-06/api-2.json +226 -0
  47. data/apis/cur/2017-01-06/examples-1.json +5 -0
  48. data/apis/cur/2017-01-06/paginators-1.json +9 -0
  49. data/apis/datapipeline/2012-10-29/api-2.json +2 -1
  50. data/apis/devicefarm/2015-06-23/api-2.json +2 -1
  51. data/apis/directconnect/2012-10-25/api-2.json +257 -10
  52. data/apis/discovery/2015-11-01/api-2.json +316 -5
  53. data/apis/dms/2016-01-01/api-2.json +45 -9
  54. data/apis/ds/2015-04-16/api-2.json +144 -1
  55. data/apis/dynamodb/2011-12-05/api-2.json +802 -0
  56. data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
  57. data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
  58. data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
  59. data/apis/dynamodb/2012-08-10/api-2.json +115 -1
  60. data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
  61. data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
  62. data/apis/ec2/2015-10-01/api-2.json +1 -0
  63. data/apis/ec2/2016-04-01/api-2.json +1 -0
  64. data/apis/ec2/2016-09-15/api-2.json +1 -0
  65. data/apis/ec2/2016-11-15/api-2.json +15037 -0
  66. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  67. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  68. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  69. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  70. data/apis/ecr/2015-09-21/api-2.json +17 -3
  71. data/apis/ecr/2015-09-21/paginators-1.json +12 -6
  72. data/apis/ecs/2014-11-13/api-2.json +183 -9
  73. data/apis/elasticache/2015-02-02/api-2.json +5 -2
  74. data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
  75. data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
  76. data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
  77. data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
  78. data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
  79. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
  80. data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
  81. data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
  82. data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
  83. data/apis/email/2010-12-01/api-2.json +425 -4
  84. data/apis/es/2015-01-01/api-2.json +1 -0
  85. data/apis/events/2015-10-07/api-2.json +1 -0
  86. data/apis/firehose/2015-08-04/api-2.json +151 -4
  87. data/apis/firehose/2015-08-04/examples-1.json +5 -0
  88. data/apis/gamelift/2015-10-01/api-2.json +59 -1
  89. data/apis/glacier/2012-06-01/api-2.json +369 -779
  90. data/apis/glacier/2012-06-01/examples-1.json +806 -0
  91. data/apis/glacier/2012-06-01/paginators-1.json +5 -5
  92. data/apis/health/2016-08-04/api-2.json +547 -0
  93. data/apis/health/2016-08-04/examples-1.json +5 -0
  94. data/apis/health/2016-08-04/paginators-1.json +31 -0
  95. data/apis/iam/2010-05-08/api-2.json +209 -0
  96. data/apis/iam/2010-05-08/examples-1.json +1186 -0
  97. data/apis/importexport/2010-06-01/api-2.json +1 -0
  98. data/apis/inspector/2016-02-16/api-2.json +2 -1
  99. data/apis/inspector/2016-02-16/examples-1.json +1135 -0
  100. data/apis/iot-data/2015-05-28/api-2.json +1 -0
  101. data/apis/iot/2015-05-28/api-2.json +16 -0
  102. data/apis/kinesis/2013-12-02/api-2.json +80 -12
  103. data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
  104. data/apis/kms/2014-11-01/api-2.json +2 -1
  105. data/apis/kms/2014-11-01/examples-1.json +810 -0
  106. data/apis/lambda/2014-11-11/api-2.json +1 -0
  107. data/apis/lambda/2015-03-31/api-2.json +162 -9
  108. data/apis/lambda/2015-03-31/examples-1.json +609 -0
  109. data/apis/lightsail/2016-11-28/api-2.json +2137 -0
  110. data/apis/lightsail/2016-11-28/examples-1.json +5 -0
  111. data/apis/logs/2014-03-28/api-2.json +113 -6
  112. data/apis/machinelearning/2014-12-12/api-2.json +1 -0
  113. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
  114. data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
  115. data/apis/monitoring/2010-08-01/api-2.json +27 -6
  116. data/apis/opsworks/2013-02-18/api-2.json +1 -0
  117. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  118. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  119. data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
  120. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  121. data/apis/polly/2016-06-10/api-2.json +504 -0
  122. data/apis/polly/2016-06-10/examples-1.json +171 -0
  123. data/apis/rds/2013-01-10/api-2.json +2902 -0
  124. data/apis/rds/2013-01-10/examples-1.json +5 -0
  125. data/apis/rds/2013-01-10/paginators-1.json +97 -0
  126. data/apis/rds/2013-02-12/api-2.json +3058 -0
  127. data/apis/rds/2013-02-12/examples-1.json +5 -0
  128. data/apis/rds/2013-02-12/paginators-1.json +110 -0
  129. data/apis/rds/2013-09-09/api-2.json +3159 -0
  130. data/apis/rds/2013-09-09/examples-1.json +5 -0
  131. data/apis/rds/2013-09-09/paginators-1.json +110 -0
  132. data/apis/rds/2013-09-09/waiters-2.json +97 -0
  133. data/apis/rds/2014-09-01/api-2.json +3272 -0
  134. data/apis/rds/2014-09-01/examples-1.json +5 -0
  135. data/apis/rds/2014-09-01/paginators-1.json +4 -0
  136. data/apis/rds/2014-10-31/api-2.json +121 -6
  137. data/apis/rds/2014-10-31/examples-1.json +0 -444
  138. data/apis/rds/2014-10-31/paginators-1.json +18 -18
  139. data/apis/rds/2014-10-31/resources-1.json +1 -1
  140. data/apis/redshift/2012-12-01/api-2.json +1 -0
  141. data/apis/rekognition/2016-06-27/api-2.json +836 -0
  142. data/apis/rekognition/2016-06-27/examples-1.json +651 -0
  143. data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
  144. data/apis/route53/2013-04-01/api-2.json +186 -219
  145. data/apis/route53/2013-04-01/paginators-1.json +9 -9
  146. data/apis/route53domains/2014-05-15/api-2.json +1 -0
  147. data/apis/s3/2006-03-01/api-2.json +843 -23
  148. data/apis/sdb/2009-04-15/api-2.json +1 -0
  149. data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
  150. data/apis/shield/2016-06-02/api-2.json +494 -0
  151. data/apis/shield/2016-06-02/examples-1.json +5 -0
  152. data/apis/sms/2016-10-24/api-2.json +612 -0
  153. data/apis/sms/2016-10-24/examples-1.json +5 -0
  154. data/apis/sms/2016-10-24/paginators-1.json +28 -0
  155. data/apis/snowball/2016-06-30/api-2.json +283 -11
  156. data/apis/snowball/2016-06-30/examples-1.json +437 -0
  157. data/apis/sns/2010-03-31/api-2.json +1 -0
  158. data/apis/sqs/2012-11-05/api-2.json +74 -38
  159. data/apis/sqs/2012-11-05/examples-1.json +0 -613
  160. data/apis/sqs/2012-11-05/resources-1.json +232 -0
  161. data/apis/ssm/2014-11-06/api-2.json +4036 -536
  162. data/apis/states/2016-11-23/api-2.json +1021 -0
  163. data/apis/states/2016-11-23/examples-1.json +5 -0
  164. data/apis/states/2016-11-23/paginators-1.json +28 -0
  165. data/apis/storagegateway/2013-06-30/api-2.json +269 -6
  166. data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
  167. data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
  168. data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
  169. data/apis/sts/2011-06-15/api-2.json +1 -0
  170. data/apis/sts/2011-06-15/examples-1.json +201 -0
  171. data/apis/support/2013-04-15/api-2.json +1 -0
  172. data/apis/swf/2012-01-25/api-2.json +1 -0
  173. data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
  174. data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
  175. data/apis/waf/2015-08-24/api-2.json +3 -1
  176. data/apis/waf/2015-08-24/examples-1.json +1012 -0
  177. data/apis/workspaces/2015-04-08/api-2.json +1 -0
  178. data/apis/xray/2016-04-12/api-2.json +491 -0
  179. data/apis/xray/2016-04-12/examples-1.json +5 -0
  180. data/endpoints.json +781 -392
  181. data/lib/aws-sdk-core.rb +20 -0
  182. data/lib/aws-sdk-core/api/customizations.rb +16 -0
  183. data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
  184. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
  185. data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
  186. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
  187. data/lib/aws-sdk-core/appstream.rb +6 -0
  188. data/lib/aws-sdk-core/batch.rb +5 -0
  189. data/lib/aws-sdk-core/budgets.rb +5 -0
  190. data/lib/aws-sdk-core/client.rb +1 -0
  191. data/lib/aws-sdk-core/client_waiters.rb +5 -5
  192. data/lib/aws-sdk-core/cloudfront.rb +5 -5
  193. data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
  194. data/lib/aws-sdk-core/codebuild.rb +5 -0
  195. data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
  196. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
  197. data/lib/aws-sdk-core/cur.rb +6 -0
  198. data/lib/aws-sdk-core/ec2.rb +6 -6
  199. data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
  200. data/lib/aws-sdk-core/firehose.rb +1 -0
  201. data/lib/aws-sdk-core/glacier.rb +1 -0
  202. data/lib/aws-sdk-core/health.rb +6 -0
  203. data/lib/aws-sdk-core/lightsail.rb +5 -0
  204. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  205. data/lib/aws-sdk-core/partitions/region.rb +0 -12
  206. data/lib/aws-sdk-core/partitions/service.rb +1 -11
  207. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  208. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
  209. data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
  210. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
  211. data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
  212. data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
  213. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
  214. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
  215. data/lib/aws-sdk-core/polly.rb +13 -0
  216. data/lib/aws-sdk-core/polly/presigner.rb +70 -0
  217. data/lib/aws-sdk-core/rekognition.rb +6 -0
  218. data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
  219. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
  220. data/lib/aws-sdk-core/shield.rb +5 -0
  221. data/lib/aws-sdk-core/signers/v4.rb +2 -1
  222. data/lib/aws-sdk-core/sms.rb +6 -0
  223. data/lib/aws-sdk-core/sqs.rb +1 -0
  224. data/lib/aws-sdk-core/states.rb +6 -0
  225. data/lib/aws-sdk-core/version.rb +1 -1
  226. data/lib/aws-sdk-core/wafregional.rb +5 -0
  227. data/lib/aws-sdk-core/xray.rb +5 -0
  228. data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
  229. data/lib/seahorse/client/net_http/handler.rb +5 -2
  230. data/lib/seahorse/client/plugin_list.rb +3 -1
  231. data/lib/seahorse/client/response.rb +9 -20
  232. data/service-models.json +66 -2
  233. metadata +110 -2
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "version":"2.0",
3
3
  "metadata":{
4
+ "uid":"iot-data-2015-05-28",
4
5
  "apiVersion":"2015-05-28",
5
6
  "endpointPrefix":"data.iot",
6
7
  "protocol":"rest-json",
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "version":"2.0",
3
3
  "metadata":{
4
+ "uid":"iot-2015-05-28",
4
5
  "apiVersion":"2015-05-28",
5
6
  "endpointPrefix":"iot",
6
7
  "serviceFullName":"AWS IoT",
@@ -2419,6 +2420,7 @@
2419
2420
  "type":"structure",
2420
2421
  "members":{
2421
2422
  "dynamoDB":{"shape":"DynamoDBAction"},
2423
+ "dynamoDBv2":{"shape":"DynamoDBv2Action"},
2422
2424
  "lambda":{"shape":"LambdaAction"},
2423
2425
  "sns":{"shape":"SnsAction"},
2424
2426
  "sqs":{"shape":"SqsAction"},
@@ -3142,6 +3144,13 @@
3142
3144
  "payloadField":{"shape":"PayloadField"}
3143
3145
  }
3144
3146
  },
3147
+ "DynamoDBv2Action":{
3148
+ "type":"structure",
3149
+ "members":{
3150
+ "roleArn":{"shape":"AwsArn"},
3151
+ "putItem":{"shape":"PutItemInput"}
3152
+ }
3153
+ },
3145
3154
  "DynamoKeyType":{
3146
3155
  "type":"string",
3147
3156
  "enum":[
@@ -3846,6 +3855,13 @@
3846
3855
  "type":"string",
3847
3856
  "min":1
3848
3857
  },
3858
+ "PutItemInput":{
3859
+ "type":"structure",
3860
+ "required":["tableName"],
3861
+ "members":{
3862
+ "tableName":{"shape":"TableName"}
3863
+ }
3864
+ },
3849
3865
  "QueueUrl":{"type":"string"},
3850
3866
  "RangeKeyField":{"type":"string"},
3851
3867
  "RangeKeyValue":{"type":"string"},
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "version":"2.0",
3
3
  "metadata":{
4
+ "uid":"kinesis-2013-12-02",
4
5
  "apiVersion":"2013-12-02",
5
6
  "endpointPrefix":"kinesis",
6
7
  "jsonVersion":"1.1",
@@ -48,7 +49,6 @@
48
49
  "errors":[
49
50
  {"shape":"ResourceInUseException"},
50
51
  {"shape":"ResourceNotFoundException"},
51
- {"shape":"LimitExceededException"},
52
52
  {"shape":"InvalidArgumentException"}
53
53
  ]
54
54
  },
@@ -64,6 +64,18 @@
64
64
  {"shape":"LimitExceededException"}
65
65
  ]
66
66
  },
67
+ "DescribeLimits":{
68
+ "name":"DescribeLimits",
69
+ "http":{
70
+ "method":"POST",
71
+ "requestUri":"/"
72
+ },
73
+ "input":{"shape":"DescribeLimitsInput"},
74
+ "output":{"shape":"DescribeLimitsOutput"},
75
+ "errors":[
76
+ {"shape":"LimitExceededException"}
77
+ ]
78
+ },
67
79
  "DescribeStream":{
68
80
  "name":"DescribeStream",
69
81
  "http":{
@@ -146,7 +158,6 @@
146
158
  "errors":[
147
159
  {"shape":"ResourceInUseException"},
148
160
  {"shape":"ResourceNotFoundException"},
149
- {"shape":"LimitExceededException"},
150
161
  {"shape":"InvalidArgumentException"}
151
162
  ]
152
163
  },
@@ -245,6 +256,21 @@
245
256
  {"shape":"InvalidArgumentException"},
246
257
  {"shape":"LimitExceededException"}
247
258
  ]
259
+ },
260
+ "UpdateShardCount":{
261
+ "name":"UpdateShardCount",
262
+ "http":{
263
+ "method":"POST",
264
+ "requestUri":"/"
265
+ },
266
+ "input":{"shape":"UpdateShardCountInput"},
267
+ "output":{"shape":"UpdateShardCountOutput"},
268
+ "errors":[
269
+ {"shape":"InvalidArgumentException"},
270
+ {"shape":"LimitExceededException"},
271
+ {"shape":"ResourceInUseException"},
272
+ {"shape":"ResourceNotFoundException"}
273
+ ]
248
274
  }
249
275
  },
250
276
  "shapes":{
@@ -259,7 +285,6 @@
259
285
  "Tags":{"shape":"TagMap"}
260
286
  }
261
287
  },
262
- "ApproximateArrivalTimestamp":{"type":"timestamp"},
263
288
  "BooleanObject":{"type":"boolean"},
264
289
  "CreateStreamInput":{
265
290
  "type":"structure",
@@ -285,7 +310,7 @@
285
310
  ],
286
311
  "members":{
287
312
  "StreamName":{"shape":"StreamName"},
288
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
313
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"}
289
314
  }
290
315
  },
291
316
  "DeleteStreamInput":{
@@ -295,6 +320,22 @@
295
320
  "StreamName":{"shape":"StreamName"}
296
321
  }
297
322
  },
323
+ "DescribeLimitsInput":{
324
+ "type":"structure",
325
+ "members":{
326
+ }
327
+ },
328
+ "DescribeLimitsOutput":{
329
+ "type":"structure",
330
+ "required":[
331
+ "ShardLimit",
332
+ "OpenShardCount"
333
+ ],
334
+ "members":{
335
+ "ShardLimit":{"shape":"ShardCountObject"},
336
+ "OpenShardCount":{"shape":"ShardCountObject"}
337
+ }
338
+ },
298
339
  "DescribeStreamInput":{
299
340
  "type":"structure",
300
341
  "required":["StreamName"],
@@ -431,7 +472,7 @@
431
472
  ],
432
473
  "members":{
433
474
  "StreamName":{"shape":"StreamName"},
434
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
475
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"}
435
476
  }
436
477
  },
437
478
  "InvalidArgumentException":{
@@ -636,7 +677,7 @@
636
677
  ],
637
678
  "members":{
638
679
  "SequenceNumber":{"shape":"SequenceNumber"},
639
- "ApproximateArrivalTimestamp":{"shape":"ApproximateArrivalTimestamp"},
680
+ "ApproximateArrivalTimestamp":{"shape":"Timestamp"},
640
681
  "Data":{"shape":"Data"},
641
682
  "PartitionKey":{"shape":"PartitionKey"}
642
683
  }
@@ -670,10 +711,9 @@
670
711
  },
671
712
  "exception":true
672
713
  },
673
- "RetentionPeriodHours":{
674
- "type":"integer",
675
- "max":168,
676
- "min":24
714
+ "ScalingType":{
715
+ "type":"string",
716
+ "enum":["UNIFORM_SCALING"]
677
717
  },
678
718
  "SequenceNumber":{
679
719
  "type":"string",
@@ -702,6 +742,11 @@
702
742
  "SequenceNumberRange":{"shape":"SequenceNumberRange"}
703
743
  }
704
744
  },
745
+ "ShardCountObject":{
746
+ "type":"integer",
747
+ "max":1000000,
748
+ "min":0
749
+ },
705
750
  "ShardId":{
706
751
  "type":"string",
707
752
  "max":128,
@@ -750,6 +795,7 @@
750
795
  "Shards",
751
796
  "HasMoreShards",
752
797
  "RetentionPeriodHours",
798
+ "StreamCreationTimestamp",
753
799
  "EnhancedMonitoring"
754
800
  ],
755
801
  "members":{
@@ -758,7 +804,8 @@
758
804
  "StreamStatus":{"shape":"StreamStatus"},
759
805
  "Shards":{"shape":"ShardList"},
760
806
  "HasMoreShards":{"shape":"BooleanObject"},
761
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"},
807
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"},
808
+ "StreamCreationTimestamp":{"shape":"Timestamp"},
762
809
  "EnhancedMonitoring":{"shape":"EnhancedMonitoringList"}
763
810
  }
764
811
  },
@@ -817,6 +864,27 @@
817
864
  "max":256,
818
865
  "min":0
819
866
  },
820
- "Timestamp":{"type":"timestamp"}
867
+ "Timestamp":{"type":"timestamp"},
868
+ "UpdateShardCountInput":{
869
+ "type":"structure",
870
+ "required":[
871
+ "StreamName",
872
+ "TargetShardCount",
873
+ "ScalingType"
874
+ ],
875
+ "members":{
876
+ "StreamName":{"shape":"StreamName"},
877
+ "TargetShardCount":{"shape":"PositiveIntegerObject"},
878
+ "ScalingType":{"shape":"ScalingType"}
879
+ }
880
+ },
881
+ "UpdateShardCountOutput":{
882
+ "type":"structure",
883
+ "members":{
884
+ "StreamName":{"shape":"StreamName"},
885
+ "CurrentShardCount":{"shape":"PositiveIntegerObject"},
886
+ "TargetShardCount":{"shape":"PositiveIntegerObject"}
887
+ }
888
+ }
821
889
  }
822
890
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "version":"2.0",
3
3
  "metadata":{
4
+ "uid":"kinesisanalytics-2015-08-14",
4
5
  "apiVersion":"2015-08-14",
5
6
  "endpointPrefix":"kinesisanalytics",
6
7
  "jsonVersion":"1.1",
@@ -499,7 +500,10 @@
499
500
  },
500
501
  "Input":{
501
502
  "type":"structure",
502
- "required":["NamePrefix"],
503
+ "required":[
504
+ "NamePrefix",
505
+ "InputSchema"
506
+ ],
503
507
  "members":{
504
508
  "NamePrefix":{"shape":"InAppStreamName"},
505
509
  "KinesisStreamsInput":{"shape":"KinesisStreamsInput"},
@@ -1018,7 +1022,8 @@
1018
1022
  "UnableToDetectSchemaException":{
1019
1023
  "type":"structure",
1020
1024
  "members":{
1021
- "message":{"shape":"ErrorMessage"}
1025
+ "message":{"shape":"ErrorMessage"},
1026
+ "RawInputRecords":{"shape":"RawInputRecords"}
1022
1027
  },
1023
1028
  "exception":true
1024
1029
  },
@@ -8,7 +8,8 @@
8
8
  "serviceAbbreviation":"KMS",
9
9
  "serviceFullName":"AWS Key Management Service",
10
10
  "signatureVersion":"v4",
11
- "targetPrefix":"TrentService"
11
+ "targetPrefix":"TrentService",
12
+ "uid":"kms-2014-11-01"
12
13
  },
13
14
  "operations":{
14
15
  "CancelKeyDeletion":{
@@ -1,5 +1,815 @@
1
1
  {
2
2
  "version": "1.0",
3
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
+ "output": {
75
+ "KeyMetadata": {
76
+ "AWSAccountId": "111122223333",
77
+ "Arn": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
78
+ "CreationDate": "2016-11-01T10:15:42-07:00",
79
+ "Description": "",
80
+ "Enabled": true,
81
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
82
+ "KeyState": "Enabled",
83
+ "KeyUsage": "ENCRYPT_DECRYPT",
84
+ "Origin": "AWS_KMS"
85
+ }
86
+ },
87
+ "comments": {
88
+ "output": {
89
+ "KeyMetadata": "An object that contains information about the CMK created by this operation."
90
+ }
91
+ },
92
+ "description": "The following example creates a CMK.",
93
+ "id": "to-create-a-cmk-1478028992966",
94
+ "title": "To create a customer master key (CMK)"
95
+ }
96
+ ],
97
+ "Decrypt": [
98
+ {
99
+ "input": {
100
+ "CiphertextBlob": "<binary data>"
101
+ },
102
+ "output": {
103
+ "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
104
+ "Plaintext": "<binary data>"
105
+ },
106
+ "comments": {
107
+ "input": {
108
+ "CiphertextBlob": "The encrypted data (ciphertext)."
109
+ },
110
+ "output": {
111
+ "KeyId": "The Amazon Resource Name (ARN) of the CMK that was used to decrypt the data.",
112
+ "Plaintext": "The decrypted (plaintext) data."
113
+ }
114
+ },
115
+ "description": "The following example decrypts data that was encrypted with a customer master key (CMK) in AWS KMS.",
116
+ "id": "to-decrypt-data-1478281622886",
117
+ "title": "To decrypt data"
118
+ }
119
+ ],
120
+ "DeleteAlias": [
121
+ {
122
+ "input": {
123
+ "AliasName": "alias/ExampleAlias"
124
+ },
125
+ "comments": {
126
+ "input": {
127
+ "AliasName": "The alias to delete."
128
+ }
129
+ },
130
+ "description": "The following example deletes the specified alias.",
131
+ "id": "to-delete-an-alias-1478285209338",
132
+ "title": "To delete an alias"
133
+ }
134
+ ],
135
+ "DeleteImportedKeyMaterial": [
136
+ {
137
+ "input": {
138
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
139
+ },
140
+ "comments": {
141
+ "input": {
142
+ "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."
143
+ }
144
+ },
145
+ "description": "The following example deletes the imported key material from the specified customer master key (CMK).",
146
+ "id": "to-delete-imported-key-material-1478561674507",
147
+ "title": "To delete imported key material"
148
+ }
149
+ ],
150
+ "DescribeKey": [
151
+ {
152
+ "input": {
153
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
154
+ },
155
+ "output": {
156
+ "KeyMetadata": {
157
+ "AWSAccountId": "111122223333",
158
+ "Arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
159
+ "CreationDate": "2015-10-12T11:45:07-07:00",
160
+ "Description": "",
161
+ "Enabled": true,
162
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
163
+ "KeyState": "Enabled",
164
+ "KeyUsage": "ENCRYPT_DECRYPT",
165
+ "Origin": "AWS_KMS"
166
+ }
167
+ },
168
+ "comments": {
169
+ "input": {
170
+ "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."
171
+ },
172
+ "output": {
173
+ "KeyMetadata": "An object that contains information about the specified CMK."
174
+ }
175
+ },
176
+ "description": "The following example returns information (metadata) about the specified CMK.",
177
+ "id": "to-obtain-information-about-a-cmk-1478565820907",
178
+ "title": "To obtain information about a customer master key (CMK)"
179
+ }
180
+ ],
181
+ "DisableKey": [
182
+ {
183
+ "input": {
184
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
185
+ },
186
+ "comments": {
187
+ "input": {
188
+ "KeyId": "The identifier of the CMK to disable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
189
+ }
190
+ },
191
+ "description": "The following example disables the specified CMK.",
192
+ "id": "to-disable-a-cmk-1478566583659",
193
+ "title": "To disable a customer master key (CMK)"
194
+ }
195
+ ],
196
+ "DisableKeyRotation": [
197
+ {
198
+ "input": {
199
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
200
+ },
201
+ "comments": {
202
+ "input": {
203
+ "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."
204
+ }
205
+ },
206
+ "description": "The following example disables automatic annual rotation of the key material for the specified CMK.",
207
+ "id": "to-disable-automatic-rotation-of-key-material-1478624396092",
208
+ "title": "To disable automatic rotation of key material"
209
+ }
210
+ ],
211
+ "EnableKey": [
212
+ {
213
+ "input": {
214
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
215
+ },
216
+ "comments": {
217
+ "input": {
218
+ "KeyId": "The identifier of the CMK to enable. You can use the key ID or the Amazon Resource Name (ARN) of the CMK."
219
+ }
220
+ },
221
+ "description": "The following example enables the specified CMK.",
222
+ "id": "to-enable-a-cmk-1478627501129",
223
+ "title": "To enable a customer master key (CMK)"
224
+ }
225
+ ],
226
+ "EnableKeyRotation": [
227
+ {
228
+ "input": {
229
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
230
+ },
231
+ "comments": {
232
+ "input": {
233
+ "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."
234
+ }
235
+ },
236
+ "description": "The following example enables automatic annual rotation of the key material for the specified CMK.",
237
+ "id": "to-enable-automatic-rotation-of-key-material-1478629109677",
238
+ "title": "To enable automatic rotation of key material"
239
+ }
240
+ ],
241
+ "Encrypt": [
242
+ {
243
+ "input": {
244
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
245
+ "Plaintext": "<binary data>"
246
+ },
247
+ "output": {
248
+ "CiphertextBlob": "<binary data>",
249
+ "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
250
+ },
251
+ "comments": {
252
+ "input": {
253
+ "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.",
254
+ "Plaintext": "The data to encrypt."
255
+ },
256
+ "output": {
257
+ "CiphertextBlob": "The encrypted data (ciphertext).",
258
+ "KeyId": "The ARN of the CMK that was used to encrypt the data."
259
+ }
260
+ },
261
+ "description": "The following example encrypts data with the specified customer master key (CMK).",
262
+ "id": "to-encrypt-data-1478906026012",
263
+ "title": "To encrypt data"
264
+ }
265
+ ],
266
+ "GenerateDataKey": [
267
+ {
268
+ "input": {
269
+ "KeyId": "alias/ExampleAlias",
270
+ "KeySpec": "AES_256"
271
+ },
272
+ "output": {
273
+ "CiphertextBlob": "<binary data>",
274
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
275
+ "Plaintext": "<binary data>"
276
+ },
277
+ "comments": {
278
+ "input": {
279
+ "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.",
280
+ "KeySpec": "Specifies the type of data key to return."
281
+ },
282
+ "output": {
283
+ "CiphertextBlob": "The encrypted data key.",
284
+ "KeyId": "The ARN of the CMK that was used to encrypt the data key.",
285
+ "Plaintext": "The unencrypted (plaintext) data key."
286
+ }
287
+ },
288
+ "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).",
289
+ "id": "to-generate-a-data-key-1478912956062",
290
+ "title": "To generate a data key"
291
+ }
292
+ ],
293
+ "GenerateDataKeyWithoutPlaintext": [
294
+ {
295
+ "input": {
296
+ "KeyId": "alias/ExampleAlias",
297
+ "KeySpec": "AES_256"
298
+ },
299
+ "output": {
300
+ "CiphertextBlob": "<binary data>",
301
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
302
+ },
303
+ "comments": {
304
+ "input": {
305
+ "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.",
306
+ "KeySpec": "Specifies the type of data key to return."
307
+ },
308
+ "output": {
309
+ "CiphertextBlob": "The encrypted data key.",
310
+ "KeyId": "The ARN of the CMK that was used to encrypt the data key."
311
+ }
312
+ },
313
+ "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).",
314
+ "id": "to-generate-an-encrypted-data-key-1478914121134",
315
+ "title": "To generate an encrypted data key"
316
+ }
317
+ ],
318
+ "GenerateRandom": [
319
+ {
320
+ "input": {
321
+ "NumberOfBytes": 32
322
+ },
323
+ "output": {
324
+ "Plaintext": "<binary data>"
325
+ },
326
+ "comments": {
327
+ "input": {
328
+ "NumberOfBytes": "The length of the random data, specified in number of bytes."
329
+ },
330
+ "output": {
331
+ "Plaintext": "The random data."
332
+ }
333
+ },
334
+ "description": "The following example uses AWS KMS to generate 32 bytes of random data.",
335
+ "id": "to-generate-random-data-1479163645600",
336
+ "title": "To generate random data"
337
+ }
338
+ ],
339
+ "GetKeyPolicy": [
340
+ {
341
+ "input": {
342
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
343
+ "PolicyName": "default"
344
+ },
345
+ "output": {
346
+ "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}"
347
+ },
348
+ "comments": {
349
+ "input": {
350
+ "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.",
351
+ "PolicyName": "The name of the key policy to retrieve."
352
+ },
353
+ "output": {
354
+ "Policy": "The key policy document."
355
+ }
356
+ },
357
+ "description": "The following example retrieves the key policy for the specified customer master key (CMK).",
358
+ "id": "to-retrieve-a-key-policy-1479170128325",
359
+ "title": "To retrieve a key policy"
360
+ }
361
+ ],
362
+ "GetKeyRotationStatus": [
363
+ {
364
+ "input": {
365
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
366
+ },
367
+ "output": {
368
+ "KeyRotationEnabled": true
369
+ },
370
+ "comments": {
371
+ "input": {
372
+ "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."
373
+ },
374
+ "output": {
375
+ "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."
376
+ }
377
+ },
378
+ "description": "The following example retrieves the status of automatic annual rotation of the key material for the specified CMK.",
379
+ "id": "to-retrieve-the-rotation-status-for-a-cmk-1479172287408",
380
+ "title": "To retrieve the rotation status for a customer master key (CMK)"
381
+ }
382
+ ],
383
+ "GetParametersForImport": [
384
+ {
385
+ "input": {
386
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
387
+ "WrappingAlgorithm": "RSAES_OAEP_SHA_1",
388
+ "WrappingKeySpec": "RSA_2048"
389
+ },
390
+ "output": {
391
+ "ImportToken": "<binary data>",
392
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
393
+ "ParametersValidTo": "2016-12-01T14:52:17-08:00",
394
+ "PublicKey": "<binary data>"
395
+ },
396
+ "comments": {
397
+ "input": {
398
+ "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.",
399
+ "WrappingAlgorithm": "The algorithm that you will use to encrypt the key material before importing it.",
400
+ "WrappingKeySpec": "The type of wrapping key (public key) to return in the response."
401
+ },
402
+ "output": {
403
+ "ImportToken": "The import token to send with a subsequent ImportKeyMaterial request.",
404
+ "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.",
405
+ "ParametersValidTo": "The time at which the import token and public key are no longer valid.",
406
+ "PublicKey": "The public key to use to encrypt the key material before importing it."
407
+ }
408
+ },
409
+ "description": "The following example retrieves the public key and import token for the specified CMK.",
410
+ "id": "to-retrieve-the-public-key-and-import-token-for-a-cmk-1480626483211",
411
+ "title": "To retrieve the public key and import token for a customer master key (CMK)"
412
+ }
413
+ ],
414
+ "ImportKeyMaterial": [
415
+ {
416
+ "input": {
417
+ "EncryptedKeyMaterial": "<binary data>",
418
+ "ExpirationModel": "KEY_MATERIAL_DOES_NOT_EXPIRE",
419
+ "ImportToken": "<binary data>",
420
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
421
+ },
422
+ "comments": {
423
+ "input": {
424
+ "EncryptedKeyMaterial": "The encrypted key material to import.",
425
+ "ExpirationModel": "A value that specifies whether the key material expires.",
426
+ "ImportToken": "The import token that you received in the response to a previous GetParametersForImport request.",
427
+ "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."
428
+ }
429
+ },
430
+ "description": "The following example imports key material into the specified CMK.",
431
+ "id": "to-import-key-material-into-a-cmk-1480630551969",
432
+ "title": "To import key material into a customer master key (CMK)"
433
+ }
434
+ ],
435
+ "ListAliases": [
436
+ {
437
+ "output": {
438
+ "Aliases": [
439
+ {
440
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/acm",
441
+ "AliasName": "alias/aws/acm",
442
+ "TargetKeyId": "da03f6f7-d279-427a-9cae-de48d07e5b66"
443
+ },
444
+ {
445
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/ebs",
446
+ "AliasName": "alias/aws/ebs",
447
+ "TargetKeyId": "25a217e7-7170-4b8c-8bf6-045ea5f70e5b"
448
+ },
449
+ {
450
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/rds",
451
+ "AliasName": "alias/aws/rds",
452
+ "TargetKeyId": "7ec3104e-c3f2-4b5c-bf42-bfc4772c6685"
453
+ },
454
+ {
455
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/redshift",
456
+ "AliasName": "alias/aws/redshift",
457
+ "TargetKeyId": "08f7a25a-69e2-4fb5-8f10-393db27326fa"
458
+ },
459
+ {
460
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/aws/s3",
461
+ "AliasName": "alias/aws/s3",
462
+ "TargetKeyId": "d2b0f1a3-580d-4f79-b836-bc983be8cfa5"
463
+ },
464
+ {
465
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example1",
466
+ "AliasName": "alias/example1",
467
+ "TargetKeyId": "4da1e216-62d0-46c5-a7c0-5f3a3d2f8046"
468
+ },
469
+ {
470
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example2",
471
+ "AliasName": "alias/example2",
472
+ "TargetKeyId": "f32fef59-2cc2-445b-8573-2d73328acbee"
473
+ },
474
+ {
475
+ "AliasArn": "arn:aws:kms:us-east-2:111122223333:alias/example3",
476
+ "AliasName": "alias/example3",
477
+ "TargetKeyId": "1374ef38-d34e-4d5f-b2c9-4e0daee38855"
478
+ }
479
+ ],
480
+ "Truncated": false
481
+ },
482
+ "comments": {
483
+ "output": {
484
+ "Aliases": "A list of aliases, including the key ID of the customer master key (CMK) that each alias refers to.",
485
+ "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."
486
+ }
487
+ },
488
+ "description": "The following example lists aliases.",
489
+ "id": "to-list-aliases-1480729693349",
490
+ "title": "To list aliases"
491
+ }
492
+ ],
493
+ "ListGrants": [
494
+ {
495
+ "input": {
496
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
497
+ },
498
+ "output": {
499
+ "Grants": [
500
+ {
501
+ "CreationDate": "2016-10-25T14:37:41-07:00",
502
+ "GrantId": "91ad875e49b04a9d1f3bdeb84d821f9db6ea95e1098813f6d47f0c65fbe2a172",
503
+ "GranteePrincipal": "acm.us-east-2.amazonaws.com",
504
+ "IssuingAccount": "arn:aws:iam::111122223333:root",
505
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
506
+ "Operations": [
507
+ "Encrypt",
508
+ "ReEncryptFrom",
509
+ "ReEncryptTo"
510
+ ],
511
+ "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
512
+ },
513
+ {
514
+ "CreationDate": "2016-10-25T14:37:41-07:00",
515
+ "GrantId": "a5d67d3e207a8fc1f4928749ee3e52eb0440493a8b9cf05bbfad91655b056200",
516
+ "GranteePrincipal": "acm.us-east-2.amazonaws.com",
517
+ "IssuingAccount": "arn:aws:iam::111122223333:root",
518
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
519
+ "Operations": [
520
+ "ReEncryptFrom",
521
+ "ReEncryptTo"
522
+ ],
523
+ "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
524
+ },
525
+ {
526
+ "CreationDate": "2016-10-25T14:37:41-07:00",
527
+ "GrantId": "c541aaf05d90cb78846a73b346fc43e65be28b7163129488c738e0c9e0628f4f",
528
+ "GranteePrincipal": "acm.us-east-2.amazonaws.com",
529
+ "IssuingAccount": "arn:aws:iam::111122223333:root",
530
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
531
+ "Operations": [
532
+ "Encrypt",
533
+ "ReEncryptFrom",
534
+ "ReEncryptTo"
535
+ ],
536
+ "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
537
+ },
538
+ {
539
+ "CreationDate": "2016-10-25T14:37:41-07:00",
540
+ "GrantId": "dd2052c67b4c76ee45caf1dc6a1e2d24e8dc744a51b36ae2f067dc540ce0105c",
541
+ "GranteePrincipal": "acm.us-east-2.amazonaws.com",
542
+ "IssuingAccount": "arn:aws:iam::111122223333:root",
543
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
544
+ "Operations": [
545
+ "Encrypt",
546
+ "ReEncryptFrom",
547
+ "ReEncryptTo"
548
+ ],
549
+ "RetiringPrincipal": "acm.us-east-2.amazonaws.com"
550
+ }
551
+ ],
552
+ "Truncated": true
553
+ },
554
+ "comments": {
555
+ "input": {
556
+ "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."
557
+ },
558
+ "output": {
559
+ "Grants": "A list of grants.",
560
+ "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."
561
+ }
562
+ },
563
+ "description": "The following example lists grants for the specified CMK.",
564
+ "id": "to-list-grants-for-a-cmk-1481067365389",
565
+ "title": "To list grants for a customer master key (CMK)"
566
+ }
567
+ ],
568
+ "ListKeyPolicies": [
569
+ {
570
+ "input": {
571
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
572
+ },
573
+ "output": {
574
+ "PolicyNames": [
575
+ "default"
576
+ ],
577
+ "Truncated": false
578
+ },
579
+ "comments": {
580
+ "input": {
581
+ "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."
582
+ },
583
+ "output": {
584
+ "PolicyNames": "A list of key policy names.",
585
+ "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."
586
+ }
587
+ },
588
+ "description": "The following example lists key policies for the specified CMK.",
589
+ "id": "to-list-key-policies-for-a-cmk-1481069780998",
590
+ "title": "To list key policies for a customer master key (CMK)"
591
+ }
592
+ ],
593
+ "ListKeys": [
594
+ {
595
+ "output": {
596
+ "Keys": [
597
+ {
598
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/0d990263-018e-4e65-a703-eff731de951e",
599
+ "KeyId": "0d990263-018e-4e65-a703-eff731de951e"
600
+ },
601
+ {
602
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/144be297-0ae1-44ac-9c8f-93cd8c82f841",
603
+ "KeyId": "144be297-0ae1-44ac-9c8f-93cd8c82f841"
604
+ },
605
+ {
606
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/21184251-b765-428e-b852-2c7353e72571",
607
+ "KeyId": "21184251-b765-428e-b852-2c7353e72571"
608
+ },
609
+ {
610
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/214fe92f-5b03-4ae1-b350-db2a45dbe10c",
611
+ "KeyId": "214fe92f-5b03-4ae1-b350-db2a45dbe10c"
612
+ },
613
+ {
614
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/339963f2-e523-49d3-af24-a0fe752aa458",
615
+ "KeyId": "339963f2-e523-49d3-af24-a0fe752aa458"
616
+ },
617
+ {
618
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/b776a44b-df37-4438-9be4-a27494e4271a",
619
+ "KeyId": "b776a44b-df37-4438-9be4-a27494e4271a"
620
+ },
621
+ {
622
+ "KeyArn": "arn:aws:kms:us-east-2:111122223333:key/deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb",
623
+ "KeyId": "deaf6c9e-cf2c-46a6-bf6d-0b6d487cffbb"
624
+ }
625
+ ],
626
+ "Truncated": false
627
+ },
628
+ "comments": {
629
+ "output": {
630
+ "Keys": "A list of CMKs, including the key ID and Amazon Resource Name (ARN) of each one.",
631
+ "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."
632
+ }
633
+ },
634
+ "description": "The following example lists CMKs.",
635
+ "id": "to-list-cmks-1481071643069",
636
+ "title": "To list customer master keys (CMKs)"
637
+ }
638
+ ],
639
+ "ListRetirableGrants": [
640
+ {
641
+ "input": {
642
+ "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole"
643
+ },
644
+ "output": {
645
+ "Grants": [
646
+ {
647
+ "CreationDate": "2016-12-07T11:09:35-08:00",
648
+ "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
649
+ "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole",
650
+ "IssuingAccount": "arn:aws:iam::444455556666:root",
651
+ "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab",
652
+ "Operations": [
653
+ "Decrypt",
654
+ "Encrypt"
655
+ ],
656
+ "RetiringPrincipal": "arn:aws:iam::111122223333:role/ExampleRole"
657
+ }
658
+ ],
659
+ "Truncated": false
660
+ },
661
+ "comments": {
662
+ "input": {
663
+ "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."
664
+ },
665
+ "output": {
666
+ "Grants": "A list of grants that the specified principal can retire.",
667
+ "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."
668
+ }
669
+ },
670
+ "description": "The following example lists the grants that the specified principal (identity) can retire.",
671
+ "id": "to-list-grants-that-the-specified-principal-can-retire-1481140499620",
672
+ "title": "To list grants that the specified principal can retire"
673
+ }
674
+ ],
675
+ "PutKeyPolicy": [
676
+ {
677
+ "input": {
678
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
679
+ "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",
680
+ "PolicyName": "default"
681
+ },
682
+ "comments": {
683
+ "input": {
684
+ "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.",
685
+ "Policy": "The key policy document.",
686
+ "PolicyName": "The name of the key policy."
687
+ }
688
+ },
689
+ "description": "The following example attaches a key policy to the specified CMK.",
690
+ "id": "to-attach-a-key-policy-to-a-cmk-1481147345018",
691
+ "title": "To attach a key policy to a customer master key (CMK)"
692
+ }
693
+ ],
694
+ "ReEncrypt": [
695
+ {
696
+ "input": {
697
+ "CiphertextBlob": "<binary data>",
698
+ "DestinationKeyId": "0987dcba-09fe-87dc-65ba-ab0987654321"
699
+ },
700
+ "output": {
701
+ "CiphertextBlob": "<binary data>",
702
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/0987dcba-09fe-87dc-65ba-ab0987654321",
703
+ "SourceKeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
704
+ },
705
+ "comments": {
706
+ "input": {
707
+ "CiphertextBlob": "The data to reencrypt.",
708
+ "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."
709
+ },
710
+ "output": {
711
+ "CiphertextBlob": "The reencrypted data.",
712
+ "KeyId": "The ARN of the CMK that was used to reencrypt the data.",
713
+ "SourceKeyId": "The ARN of the CMK that was used to originally encrypt the data."
714
+ }
715
+ },
716
+ "description": "The following example reencrypts data with the specified CMK.",
717
+ "id": "to-reencrypt-data-1481230358001",
718
+ "title": "To reencrypt data"
719
+ }
720
+ ],
721
+ "RetireGrant": [
722
+ {
723
+ "input": {
724
+ "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
725
+ "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab"
726
+ },
727
+ "comments": {
728
+ "input": {
729
+ "GrantId": "The identifier of the grant to retire.",
730
+ "KeyId": "The Amazon Resource Name (ARN) of the customer master key (CMK) associated with the grant."
731
+ }
732
+ },
733
+ "description": "The following example retires a grant.",
734
+ "id": "to-retire-a-grant-1481327028297",
735
+ "title": "To retire a grant"
736
+ }
737
+ ],
738
+ "RevokeGrant": [
739
+ {
740
+ "input": {
741
+ "GrantId": "0c237476b39f8bc44e45212e08498fbe3151305030726c0590dd8d3e9f3d6a60",
742
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
743
+ },
744
+ "comments": {
745
+ "input": {
746
+ "GrantId": "The identifier of the grant to revoke.",
747
+ "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."
748
+ }
749
+ },
750
+ "description": "The following example revokes a grant.",
751
+ "id": "to-revoke-a-grant-1481329549302",
752
+ "title": "To revoke a grant"
753
+ }
754
+ ],
755
+ "ScheduleKeyDeletion": [
756
+ {
757
+ "input": {
758
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab",
759
+ "PendingWindowInDays": 7
760
+ },
761
+ "output": {
762
+ "DeletionDate": "2016-12-17T16:00:00-08:00",
763
+ "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
764
+ },
765
+ "comments": {
766
+ "input": {
767
+ "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.",
768
+ "PendingWindowInDays": "The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the CMK."
769
+ },
770
+ "output": {
771
+ "DeletionDate": "The date and time after which AWS KMS deletes the CMK.",
772
+ "KeyId": "The ARN of the CMK that is scheduled for deletion."
773
+ }
774
+ },
775
+ "description": "The following example schedules the specified CMK for deletion.",
776
+ "id": "to-schedule-a-cmk-for-deletion-1481331111094",
777
+ "title": "To schedule a customer master key (CMK) for deletion"
778
+ }
779
+ ],
780
+ "UpdateAlias": [
781
+ {
782
+ "input": {
783
+ "AliasName": "alias/ExampleAlias",
784
+ "TargetKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
785
+ },
786
+ "comments": {
787
+ "input": {
788
+ "AliasName": "The alias to update.",
789
+ "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."
790
+ }
791
+ },
792
+ "description": "The following example updates the specified alias to refer to the specified customer master key (CMK).",
793
+ "id": "to-update-an-alias-1481572726920",
794
+ "title": "To update an alias"
795
+ }
796
+ ],
797
+ "UpdateKeyDescription": [
798
+ {
799
+ "input": {
800
+ "Description": "Example description that indicates the intended use of this CMK.",
801
+ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
802
+ },
803
+ "comments": {
804
+ "input": {
805
+ "Description": "The updated description.",
806
+ "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."
807
+ }
808
+ },
809
+ "description": "The following example updates the description of the specified CMK.",
810
+ "id": "to-update-the-description-of-a-cmk-1481574808619",
811
+ "title": "To update the description of a customer master key (CMK)"
812
+ }
813
+ ]
4
814
  }
5
815
  }