aws-sdk-core 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/CloudFormation.api.json +88 -1
- data/apis/CloudTrail.api.json +105 -6
- data/apis/CodeDeploy.api.json +1829 -0
- data/apis/CodeDeploy.paginators.json +34 -0
- data/apis/ConfigService.api.json +694 -0
- data/apis/EC2.api.json +12 -3
- data/apis/EC2.paginators.json +5 -0
- data/apis/EC2.waiters.json +2 -1
- data/apis/KMS.api.json +2017 -0
- data/apis/KMS.paginators.json +32 -0
- data/apis/S3.api.json +94 -4
- data/lib/aws-sdk-core.rb +3 -0
- data/lib/aws-sdk-core/codedeploy.rb +5 -0
- data/lib/aws-sdk-core/configservice.rb +4 -0
- data/lib/aws-sdk-core/kms.rb +5 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +10 -2
data/apis/EC2.api.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"metadata":{
|
3
|
-
"apiVersion":"2014-
|
3
|
+
"apiVersion":"2014-10-01",
|
4
4
|
"endpointPrefix":"ec2",
|
5
5
|
"serviceAbbreviation":"Amazon EC2",
|
6
6
|
"serviceFullName":"Amazon Elastic Compute Cloud",
|
7
7
|
"signatureVersion":"v4",
|
8
|
-
"xmlNamespace":"http://ec2.amazonaws.com/doc/2014-
|
8
|
+
"xmlNamespace":"http://ec2.amazonaws.com/doc/2014-10-01",
|
9
9
|
"protocol":"ec2"
|
10
10
|
},
|
11
11
|
"operations":{
|
@@ -2787,7 +2787,8 @@
|
|
2787
2787
|
"Encrypted":{
|
2788
2788
|
"shape":"Boolean",
|
2789
2789
|
"locationName":"encrypted"
|
2790
|
-
}
|
2790
|
+
},
|
2791
|
+
"KmsKeyId":{"shape":"String"}
|
2791
2792
|
}
|
2792
2793
|
},
|
2793
2794
|
"CreateVpcPeeringConnectionRequest":{
|
@@ -8635,6 +8636,10 @@
|
|
8635
8636
|
"Encrypted":{
|
8636
8637
|
"shape":"Boolean",
|
8637
8638
|
"locationName":"encrypted"
|
8639
|
+
},
|
8640
|
+
"KmsKeyId":{
|
8641
|
+
"shape":"String",
|
8642
|
+
"locationName":"kmsKeyId"
|
8638
8643
|
}
|
8639
8644
|
}
|
8640
8645
|
},
|
@@ -9279,6 +9284,10 @@
|
|
9279
9284
|
"Encrypted":{
|
9280
9285
|
"shape":"Boolean",
|
9281
9286
|
"locationName":"encrypted"
|
9287
|
+
},
|
9288
|
+
"KmsKeyId":{
|
9289
|
+
"shape":"String",
|
9290
|
+
"locationName":"kmsKeyId"
|
9282
9291
|
}
|
9283
9292
|
}
|
9284
9293
|
},
|
data/apis/EC2.paginators.json
CHANGED
@@ -66,6 +66,11 @@
|
|
66
66
|
"limit_key": "MaxResults",
|
67
67
|
"result_key": "ReservedInstancesOfferings"
|
68
68
|
},
|
69
|
+
"DescribeReservedInstancesModifications": {
|
70
|
+
"input_token": "NextToken",
|
71
|
+
"output_token": "NextToken",
|
72
|
+
"result_key": "ReservedInstancesModifications"
|
73
|
+
},
|
69
74
|
"DescribeRouteTables": {
|
70
75
|
"result_key": "RouteTables"
|
71
76
|
},
|
data/apis/EC2.waiters.json
CHANGED
data/apis/KMS.api.json
ADDED
@@ -0,0 +1,2017 @@
|
|
1
|
+
{
|
2
|
+
"metadata":{
|
3
|
+
"apiVersion":"2014-11-01",
|
4
|
+
"endpointPrefix":"kms",
|
5
|
+
"jsonVersion":"1.1",
|
6
|
+
"serviceAbbreviation":"KMS",
|
7
|
+
"serviceFullName":"AWS Key Management Service",
|
8
|
+
"signatureVersion":"v4",
|
9
|
+
"targetPrefix":"TrentService",
|
10
|
+
"protocol":"json"
|
11
|
+
},
|
12
|
+
"operations":{
|
13
|
+
"CreateAlias":{
|
14
|
+
"name":"CreateAlias",
|
15
|
+
"http":{
|
16
|
+
"method":"POST",
|
17
|
+
"requestUri":"/"
|
18
|
+
},
|
19
|
+
"input":{"shape":"CreateAliasRequest"},
|
20
|
+
"errors":[
|
21
|
+
{
|
22
|
+
"shape":"DependencyTimeoutException",
|
23
|
+
"error":{
|
24
|
+
"code":"DependencyTimeout",
|
25
|
+
"httpStatusCode":503
|
26
|
+
},
|
27
|
+
"exception":true,
|
28
|
+
"fault":true
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"shape":"AlreadyExistsException",
|
32
|
+
"error":{
|
33
|
+
"code":"AlreadyExists",
|
34
|
+
"httpStatusCode":400,
|
35
|
+
"senderFault":true
|
36
|
+
},
|
37
|
+
"exception":true
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"shape":"NotFoundException",
|
41
|
+
"error":{
|
42
|
+
"code":"NotFound",
|
43
|
+
"httpStatusCode":404,
|
44
|
+
"senderFault":true
|
45
|
+
},
|
46
|
+
"exception":true
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"shape":"InvalidAliasNameException",
|
50
|
+
"error":{
|
51
|
+
"code":"InvalidAliasName",
|
52
|
+
"httpStatusCode":400,
|
53
|
+
"senderFault":true
|
54
|
+
},
|
55
|
+
"exception":true
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"shape":"KMSInternalException",
|
59
|
+
"error":{
|
60
|
+
"code":"KMSInternal",
|
61
|
+
"httpStatusCode":500
|
62
|
+
},
|
63
|
+
"exception":true
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"shape":"LimitExceededException",
|
67
|
+
"error":{
|
68
|
+
"code":"LimitExceeded",
|
69
|
+
"httpStatusCode":400,
|
70
|
+
"senderFault":true
|
71
|
+
},
|
72
|
+
"exception":true
|
73
|
+
}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
"CreateGrant":{
|
77
|
+
"name":"CreateGrant",
|
78
|
+
"http":{
|
79
|
+
"method":"POST",
|
80
|
+
"requestUri":"/"
|
81
|
+
},
|
82
|
+
"input":{"shape":"CreateGrantRequest"},
|
83
|
+
"output":{"shape":"CreateGrantResponse"},
|
84
|
+
"errors":[
|
85
|
+
{
|
86
|
+
"shape":"NotFoundException",
|
87
|
+
"error":{
|
88
|
+
"code":"NotFound",
|
89
|
+
"httpStatusCode":404,
|
90
|
+
"senderFault":true
|
91
|
+
},
|
92
|
+
"exception":true
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"shape":"DisabledException",
|
96
|
+
"error":{
|
97
|
+
"code":"Disabled",
|
98
|
+
"httpStatusCode":409,
|
99
|
+
"senderFault":true
|
100
|
+
},
|
101
|
+
"exception":true
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"shape":"DependencyTimeoutException",
|
105
|
+
"error":{
|
106
|
+
"code":"DependencyTimeout",
|
107
|
+
"httpStatusCode":503
|
108
|
+
},
|
109
|
+
"exception":true,
|
110
|
+
"fault":true
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"shape":"InvalidArnException",
|
114
|
+
"error":{
|
115
|
+
"code":"InvalidArn",
|
116
|
+
"httpStatusCode":400,
|
117
|
+
"senderFault":true
|
118
|
+
},
|
119
|
+
"exception":true
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"shape":"KMSInternalException",
|
123
|
+
"error":{
|
124
|
+
"code":"KMSInternal",
|
125
|
+
"httpStatusCode":500
|
126
|
+
},
|
127
|
+
"exception":true
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"shape":"InvalidGrantTokenException",
|
131
|
+
"error":{
|
132
|
+
"code":"InvalidGrantToken",
|
133
|
+
"httpStatusCode":400,
|
134
|
+
"senderFault":true
|
135
|
+
},
|
136
|
+
"exception":true
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"shape":"LimitExceededException",
|
140
|
+
"error":{
|
141
|
+
"code":"LimitExceeded",
|
142
|
+
"httpStatusCode":400,
|
143
|
+
"senderFault":true
|
144
|
+
},
|
145
|
+
"exception":true
|
146
|
+
}
|
147
|
+
]
|
148
|
+
},
|
149
|
+
"CreateKey":{
|
150
|
+
"name":"CreateKey",
|
151
|
+
"http":{
|
152
|
+
"method":"POST",
|
153
|
+
"requestUri":"/"
|
154
|
+
},
|
155
|
+
"input":{"shape":"CreateKeyRequest"},
|
156
|
+
"output":{"shape":"CreateKeyResponse"},
|
157
|
+
"errors":[
|
158
|
+
{
|
159
|
+
"shape":"MalformedPolicyDocumentException",
|
160
|
+
"error":{
|
161
|
+
"code":"MalformedPolicyDocument",
|
162
|
+
"httpStatusCode":400,
|
163
|
+
"senderFault":true
|
164
|
+
},
|
165
|
+
"exception":true
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"shape":"DependencyTimeoutException",
|
169
|
+
"error":{
|
170
|
+
"code":"DependencyTimeout",
|
171
|
+
"httpStatusCode":503
|
172
|
+
},
|
173
|
+
"exception":true,
|
174
|
+
"fault":true
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"shape":"InvalidArnException",
|
178
|
+
"error":{
|
179
|
+
"code":"InvalidArn",
|
180
|
+
"httpStatusCode":400,
|
181
|
+
"senderFault":true
|
182
|
+
},
|
183
|
+
"exception":true
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"shape":"UnsupportedOperationException",
|
187
|
+
"error":{
|
188
|
+
"code":"UnsupportedOperation",
|
189
|
+
"httpStatusCode":400,
|
190
|
+
"senderFault":true
|
191
|
+
},
|
192
|
+
"exception":true
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"shape":"KMSInternalException",
|
196
|
+
"error":{
|
197
|
+
"code":"KMSInternal",
|
198
|
+
"httpStatusCode":500
|
199
|
+
},
|
200
|
+
"exception":true
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"shape":"LimitExceededException",
|
204
|
+
"error":{
|
205
|
+
"code":"LimitExceeded",
|
206
|
+
"httpStatusCode":400,
|
207
|
+
"senderFault":true
|
208
|
+
},
|
209
|
+
"exception":true
|
210
|
+
}
|
211
|
+
]
|
212
|
+
},
|
213
|
+
"Decrypt":{
|
214
|
+
"name":"Decrypt",
|
215
|
+
"http":{
|
216
|
+
"method":"POST",
|
217
|
+
"requestUri":"/"
|
218
|
+
},
|
219
|
+
"input":{"shape":"DecryptRequest"},
|
220
|
+
"output":{"shape":"DecryptResponse"},
|
221
|
+
"errors":[
|
222
|
+
{
|
223
|
+
"shape":"NotFoundException",
|
224
|
+
"error":{
|
225
|
+
"code":"NotFound",
|
226
|
+
"httpStatusCode":404,
|
227
|
+
"senderFault":true
|
228
|
+
},
|
229
|
+
"exception":true
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"shape":"DisabledException",
|
233
|
+
"error":{
|
234
|
+
"code":"Disabled",
|
235
|
+
"httpStatusCode":409,
|
236
|
+
"senderFault":true
|
237
|
+
},
|
238
|
+
"exception":true
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"shape":"InvalidCiphertextException",
|
242
|
+
"error":{
|
243
|
+
"code":"InvalidCiphertext",
|
244
|
+
"httpStatusCode":400,
|
245
|
+
"senderFault":true
|
246
|
+
},
|
247
|
+
"exception":true
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"shape":"KeyUnavailableException",
|
251
|
+
"error":{
|
252
|
+
"code":"KeyUnavailable",
|
253
|
+
"httpStatusCode":500
|
254
|
+
},
|
255
|
+
"exception":true,
|
256
|
+
"fault":true
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"shape":"DependencyTimeoutException",
|
260
|
+
"error":{
|
261
|
+
"code":"DependencyTimeout",
|
262
|
+
"httpStatusCode":503
|
263
|
+
},
|
264
|
+
"exception":true,
|
265
|
+
"fault":true
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"shape":"InvalidGrantTokenException",
|
269
|
+
"error":{
|
270
|
+
"code":"InvalidGrantToken",
|
271
|
+
"httpStatusCode":400,
|
272
|
+
"senderFault":true
|
273
|
+
},
|
274
|
+
"exception":true
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"shape":"KMSInternalException",
|
278
|
+
"error":{
|
279
|
+
"code":"KMSInternal",
|
280
|
+
"httpStatusCode":500
|
281
|
+
},
|
282
|
+
"exception":true
|
283
|
+
}
|
284
|
+
]
|
285
|
+
},
|
286
|
+
"DeleteAlias":{
|
287
|
+
"name":"DeleteAlias",
|
288
|
+
"http":{
|
289
|
+
"method":"POST",
|
290
|
+
"requestUri":"/"
|
291
|
+
},
|
292
|
+
"input":{"shape":"DeleteAliasRequest"},
|
293
|
+
"errors":[
|
294
|
+
{
|
295
|
+
"shape":"DependencyTimeoutException",
|
296
|
+
"error":{
|
297
|
+
"code":"DependencyTimeout",
|
298
|
+
"httpStatusCode":503
|
299
|
+
},
|
300
|
+
"exception":true,
|
301
|
+
"fault":true
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"shape":"NotFoundException",
|
305
|
+
"error":{
|
306
|
+
"code":"NotFound",
|
307
|
+
"httpStatusCode":404,
|
308
|
+
"senderFault":true
|
309
|
+
},
|
310
|
+
"exception":true
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"shape":"KMSInternalException",
|
314
|
+
"error":{
|
315
|
+
"code":"KMSInternal",
|
316
|
+
"httpStatusCode":500
|
317
|
+
},
|
318
|
+
"exception":true
|
319
|
+
}
|
320
|
+
]
|
321
|
+
},
|
322
|
+
"DescribeKey":{
|
323
|
+
"name":"DescribeKey",
|
324
|
+
"http":{
|
325
|
+
"method":"POST",
|
326
|
+
"requestUri":"/"
|
327
|
+
},
|
328
|
+
"input":{"shape":"DescribeKeyRequest"},
|
329
|
+
"output":{"shape":"DescribeKeyResponse"},
|
330
|
+
"errors":[
|
331
|
+
{
|
332
|
+
"shape":"NotFoundException",
|
333
|
+
"error":{
|
334
|
+
"code":"NotFound",
|
335
|
+
"httpStatusCode":404,
|
336
|
+
"senderFault":true
|
337
|
+
},
|
338
|
+
"exception":true
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"shape":"InvalidArnException",
|
342
|
+
"error":{
|
343
|
+
"code":"InvalidArn",
|
344
|
+
"httpStatusCode":400,
|
345
|
+
"senderFault":true
|
346
|
+
},
|
347
|
+
"exception":true
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"shape":"DependencyTimeoutException",
|
351
|
+
"error":{
|
352
|
+
"code":"DependencyTimeout",
|
353
|
+
"httpStatusCode":503
|
354
|
+
},
|
355
|
+
"exception":true,
|
356
|
+
"fault":true
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"shape":"KMSInternalException",
|
360
|
+
"error":{
|
361
|
+
"code":"KMSInternal",
|
362
|
+
"httpStatusCode":500
|
363
|
+
},
|
364
|
+
"exception":true
|
365
|
+
}
|
366
|
+
]
|
367
|
+
},
|
368
|
+
"DisableKey":{
|
369
|
+
"name":"DisableKey",
|
370
|
+
"http":{
|
371
|
+
"method":"POST",
|
372
|
+
"requestUri":"/"
|
373
|
+
},
|
374
|
+
"input":{"shape":"DisableKeyRequest"},
|
375
|
+
"errors":[
|
376
|
+
{
|
377
|
+
"shape":"NotFoundException",
|
378
|
+
"error":{
|
379
|
+
"code":"NotFound",
|
380
|
+
"httpStatusCode":404,
|
381
|
+
"senderFault":true
|
382
|
+
},
|
383
|
+
"exception":true
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"shape":"InvalidArnException",
|
387
|
+
"error":{
|
388
|
+
"code":"InvalidArn",
|
389
|
+
"httpStatusCode":400,
|
390
|
+
"senderFault":true
|
391
|
+
},
|
392
|
+
"exception":true
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"shape":"DependencyTimeoutException",
|
396
|
+
"error":{
|
397
|
+
"code":"DependencyTimeout",
|
398
|
+
"httpStatusCode":503
|
399
|
+
},
|
400
|
+
"exception":true,
|
401
|
+
"fault":true
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"shape":"KMSInternalException",
|
405
|
+
"error":{
|
406
|
+
"code":"KMSInternal",
|
407
|
+
"httpStatusCode":500
|
408
|
+
},
|
409
|
+
"exception":true
|
410
|
+
}
|
411
|
+
]
|
412
|
+
},
|
413
|
+
"DisableKeyRotation":{
|
414
|
+
"name":"DisableKeyRotation",
|
415
|
+
"http":{
|
416
|
+
"method":"POST",
|
417
|
+
"requestUri":"/"
|
418
|
+
},
|
419
|
+
"input":{"shape":"DisableKeyRotationRequest"},
|
420
|
+
"errors":[
|
421
|
+
{
|
422
|
+
"shape":"NotFoundException",
|
423
|
+
"error":{
|
424
|
+
"code":"NotFound",
|
425
|
+
"httpStatusCode":404,
|
426
|
+
"senderFault":true
|
427
|
+
},
|
428
|
+
"exception":true
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"shape":"InvalidArnException",
|
432
|
+
"error":{
|
433
|
+
"code":"InvalidArn",
|
434
|
+
"httpStatusCode":400,
|
435
|
+
"senderFault":true
|
436
|
+
},
|
437
|
+
"exception":true
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"shape":"DependencyTimeoutException",
|
441
|
+
"error":{
|
442
|
+
"code":"DependencyTimeout",
|
443
|
+
"httpStatusCode":503
|
444
|
+
},
|
445
|
+
"exception":true,
|
446
|
+
"fault":true
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"shape":"KMSInternalException",
|
450
|
+
"error":{
|
451
|
+
"code":"KMSInternal",
|
452
|
+
"httpStatusCode":500
|
453
|
+
},
|
454
|
+
"exception":true
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
"EnableKey":{
|
459
|
+
"name":"EnableKey",
|
460
|
+
"http":{
|
461
|
+
"method":"POST",
|
462
|
+
"requestUri":"/"
|
463
|
+
},
|
464
|
+
"input":{"shape":"EnableKeyRequest"},
|
465
|
+
"errors":[
|
466
|
+
{
|
467
|
+
"shape":"NotFoundException",
|
468
|
+
"error":{
|
469
|
+
"code":"NotFound",
|
470
|
+
"httpStatusCode":404,
|
471
|
+
"senderFault":true
|
472
|
+
},
|
473
|
+
"exception":true
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"shape":"InvalidArnException",
|
477
|
+
"error":{
|
478
|
+
"code":"InvalidArn",
|
479
|
+
"httpStatusCode":400,
|
480
|
+
"senderFault":true
|
481
|
+
},
|
482
|
+
"exception":true
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"shape":"DependencyTimeoutException",
|
486
|
+
"error":{
|
487
|
+
"code":"DependencyTimeout",
|
488
|
+
"httpStatusCode":503
|
489
|
+
},
|
490
|
+
"exception":true,
|
491
|
+
"fault":true
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"shape":"KMSInternalException",
|
495
|
+
"error":{
|
496
|
+
"code":"KMSInternal",
|
497
|
+
"httpStatusCode":500
|
498
|
+
},
|
499
|
+
"exception":true
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"shape":"LimitExceededException",
|
503
|
+
"error":{
|
504
|
+
"code":"LimitExceeded",
|
505
|
+
"httpStatusCode":400,
|
506
|
+
"senderFault":true
|
507
|
+
},
|
508
|
+
"exception":true
|
509
|
+
}
|
510
|
+
]
|
511
|
+
},
|
512
|
+
"EnableKeyRotation":{
|
513
|
+
"name":"EnableKeyRotation",
|
514
|
+
"http":{
|
515
|
+
"method":"POST",
|
516
|
+
"requestUri":"/"
|
517
|
+
},
|
518
|
+
"input":{"shape":"EnableKeyRotationRequest"},
|
519
|
+
"errors":[
|
520
|
+
{
|
521
|
+
"shape":"NotFoundException",
|
522
|
+
"error":{
|
523
|
+
"code":"NotFound",
|
524
|
+
"httpStatusCode":404,
|
525
|
+
"senderFault":true
|
526
|
+
},
|
527
|
+
"exception":true
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"shape":"InvalidArnException",
|
531
|
+
"error":{
|
532
|
+
"code":"InvalidArn",
|
533
|
+
"httpStatusCode":400,
|
534
|
+
"senderFault":true
|
535
|
+
},
|
536
|
+
"exception":true
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"shape":"DependencyTimeoutException",
|
540
|
+
"error":{
|
541
|
+
"code":"DependencyTimeout",
|
542
|
+
"httpStatusCode":503
|
543
|
+
},
|
544
|
+
"exception":true,
|
545
|
+
"fault":true
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"shape":"KMSInternalException",
|
549
|
+
"error":{
|
550
|
+
"code":"KMSInternal",
|
551
|
+
"httpStatusCode":500
|
552
|
+
},
|
553
|
+
"exception":true
|
554
|
+
}
|
555
|
+
]
|
556
|
+
},
|
557
|
+
"Encrypt":{
|
558
|
+
"name":"Encrypt",
|
559
|
+
"http":{
|
560
|
+
"method":"POST",
|
561
|
+
"requestUri":"/"
|
562
|
+
},
|
563
|
+
"input":{"shape":"EncryptRequest"},
|
564
|
+
"output":{"shape":"EncryptResponse"},
|
565
|
+
"errors":[
|
566
|
+
{
|
567
|
+
"shape":"NotFoundException",
|
568
|
+
"error":{
|
569
|
+
"code":"NotFound",
|
570
|
+
"httpStatusCode":404,
|
571
|
+
"senderFault":true
|
572
|
+
},
|
573
|
+
"exception":true
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"shape":"DisabledException",
|
577
|
+
"error":{
|
578
|
+
"code":"Disabled",
|
579
|
+
"httpStatusCode":409,
|
580
|
+
"senderFault":true
|
581
|
+
},
|
582
|
+
"exception":true
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"shape":"KeyUnavailableException",
|
586
|
+
"error":{
|
587
|
+
"code":"KeyUnavailable",
|
588
|
+
"httpStatusCode":500
|
589
|
+
},
|
590
|
+
"exception":true,
|
591
|
+
"fault":true
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"shape":"DependencyTimeoutException",
|
595
|
+
"error":{
|
596
|
+
"code":"DependencyTimeout",
|
597
|
+
"httpStatusCode":503
|
598
|
+
},
|
599
|
+
"exception":true,
|
600
|
+
"fault":true
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"shape":"InvalidKeyUsageException",
|
604
|
+
"error":{
|
605
|
+
"code":"InvalidKeyUsage",
|
606
|
+
"httpStatusCode":400,
|
607
|
+
"senderFault":true
|
608
|
+
},
|
609
|
+
"exception":true
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"shape":"InvalidGrantTokenException",
|
613
|
+
"error":{
|
614
|
+
"code":"InvalidGrantToken",
|
615
|
+
"httpStatusCode":400,
|
616
|
+
"senderFault":true
|
617
|
+
},
|
618
|
+
"exception":true
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"shape":"KMSInternalException",
|
622
|
+
"error":{
|
623
|
+
"code":"KMSInternal",
|
624
|
+
"httpStatusCode":500
|
625
|
+
},
|
626
|
+
"exception":true
|
627
|
+
}
|
628
|
+
]
|
629
|
+
},
|
630
|
+
"GenerateDataKey":{
|
631
|
+
"name":"GenerateDataKey",
|
632
|
+
"http":{
|
633
|
+
"method":"POST",
|
634
|
+
"requestUri":"/"
|
635
|
+
},
|
636
|
+
"input":{"shape":"GenerateDataKeyRequest"},
|
637
|
+
"output":{"shape":"GenerateDataKeyResponse"},
|
638
|
+
"errors":[
|
639
|
+
{
|
640
|
+
"shape":"NotFoundException",
|
641
|
+
"error":{
|
642
|
+
"code":"NotFound",
|
643
|
+
"httpStatusCode":404,
|
644
|
+
"senderFault":true
|
645
|
+
},
|
646
|
+
"exception":true
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"shape":"DisabledException",
|
650
|
+
"error":{
|
651
|
+
"code":"Disabled",
|
652
|
+
"httpStatusCode":409,
|
653
|
+
"senderFault":true
|
654
|
+
},
|
655
|
+
"exception":true
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"shape":"KeyUnavailableException",
|
659
|
+
"error":{
|
660
|
+
"code":"KeyUnavailable",
|
661
|
+
"httpStatusCode":500
|
662
|
+
},
|
663
|
+
"exception":true,
|
664
|
+
"fault":true
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"shape":"DependencyTimeoutException",
|
668
|
+
"error":{
|
669
|
+
"code":"DependencyTimeout",
|
670
|
+
"httpStatusCode":503
|
671
|
+
},
|
672
|
+
"exception":true,
|
673
|
+
"fault":true
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"shape":"InvalidKeyUsageException",
|
677
|
+
"error":{
|
678
|
+
"code":"InvalidKeyUsage",
|
679
|
+
"httpStatusCode":400,
|
680
|
+
"senderFault":true
|
681
|
+
},
|
682
|
+
"exception":true
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"shape":"InvalidGrantTokenException",
|
686
|
+
"error":{
|
687
|
+
"code":"InvalidGrantToken",
|
688
|
+
"httpStatusCode":400,
|
689
|
+
"senderFault":true
|
690
|
+
},
|
691
|
+
"exception":true
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"shape":"KMSInternalException",
|
695
|
+
"error":{
|
696
|
+
"code":"KMSInternal",
|
697
|
+
"httpStatusCode":500
|
698
|
+
},
|
699
|
+
"exception":true
|
700
|
+
}
|
701
|
+
]
|
702
|
+
},
|
703
|
+
"GenerateDataKeyWithoutPlaintext":{
|
704
|
+
"name":"GenerateDataKeyWithoutPlaintext",
|
705
|
+
"http":{
|
706
|
+
"method":"POST",
|
707
|
+
"requestUri":"/"
|
708
|
+
},
|
709
|
+
"input":{"shape":"GenerateDataKeyWithoutPlaintextRequest"},
|
710
|
+
"output":{"shape":"GenerateDataKeyWithoutPlaintextResponse"},
|
711
|
+
"errors":[
|
712
|
+
{
|
713
|
+
"shape":"NotFoundException",
|
714
|
+
"error":{
|
715
|
+
"code":"NotFound",
|
716
|
+
"httpStatusCode":404,
|
717
|
+
"senderFault":true
|
718
|
+
},
|
719
|
+
"exception":true
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"shape":"DisabledException",
|
723
|
+
"error":{
|
724
|
+
"code":"Disabled",
|
725
|
+
"httpStatusCode":409,
|
726
|
+
"senderFault":true
|
727
|
+
},
|
728
|
+
"exception":true
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"shape":"KeyUnavailableException",
|
732
|
+
"error":{
|
733
|
+
"code":"KeyUnavailable",
|
734
|
+
"httpStatusCode":500
|
735
|
+
},
|
736
|
+
"exception":true,
|
737
|
+
"fault":true
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"shape":"DependencyTimeoutException",
|
741
|
+
"error":{
|
742
|
+
"code":"DependencyTimeout",
|
743
|
+
"httpStatusCode":503
|
744
|
+
},
|
745
|
+
"exception":true,
|
746
|
+
"fault":true
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"shape":"InvalidKeyUsageException",
|
750
|
+
"error":{
|
751
|
+
"code":"InvalidKeyUsage",
|
752
|
+
"httpStatusCode":400,
|
753
|
+
"senderFault":true
|
754
|
+
},
|
755
|
+
"exception":true
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"shape":"InvalidGrantTokenException",
|
759
|
+
"error":{
|
760
|
+
"code":"InvalidGrantToken",
|
761
|
+
"httpStatusCode":400,
|
762
|
+
"senderFault":true
|
763
|
+
},
|
764
|
+
"exception":true
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"shape":"KMSInternalException",
|
768
|
+
"error":{
|
769
|
+
"code":"KMSInternal",
|
770
|
+
"httpStatusCode":500
|
771
|
+
},
|
772
|
+
"exception":true
|
773
|
+
}
|
774
|
+
]
|
775
|
+
},
|
776
|
+
"GenerateRandom":{
|
777
|
+
"name":"GenerateRandom",
|
778
|
+
"http":{
|
779
|
+
"method":"POST",
|
780
|
+
"requestUri":"/"
|
781
|
+
},
|
782
|
+
"input":{"shape":"GenerateRandomRequest"},
|
783
|
+
"output":{"shape":"GenerateRandomResponse"},
|
784
|
+
"errors":[
|
785
|
+
{
|
786
|
+
"shape":"DependencyTimeoutException",
|
787
|
+
"error":{
|
788
|
+
"code":"DependencyTimeout",
|
789
|
+
"httpStatusCode":503
|
790
|
+
},
|
791
|
+
"exception":true,
|
792
|
+
"fault":true
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"shape":"KMSInternalException",
|
796
|
+
"error":{
|
797
|
+
"code":"KMSInternal",
|
798
|
+
"httpStatusCode":500
|
799
|
+
},
|
800
|
+
"exception":true
|
801
|
+
}
|
802
|
+
]
|
803
|
+
},
|
804
|
+
"GetKeyPolicy":{
|
805
|
+
"name":"GetKeyPolicy",
|
806
|
+
"http":{
|
807
|
+
"method":"POST",
|
808
|
+
"requestUri":"/"
|
809
|
+
},
|
810
|
+
"input":{"shape":"GetKeyPolicyRequest"},
|
811
|
+
"output":{"shape":"GetKeyPolicyResponse"},
|
812
|
+
"errors":[
|
813
|
+
{
|
814
|
+
"shape":"NotFoundException",
|
815
|
+
"error":{
|
816
|
+
"code":"NotFound",
|
817
|
+
"httpStatusCode":404,
|
818
|
+
"senderFault":true
|
819
|
+
},
|
820
|
+
"exception":true
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"shape":"InvalidArnException",
|
824
|
+
"error":{
|
825
|
+
"code":"InvalidArn",
|
826
|
+
"httpStatusCode":400,
|
827
|
+
"senderFault":true
|
828
|
+
},
|
829
|
+
"exception":true
|
830
|
+
},
|
831
|
+
{
|
832
|
+
"shape":"DependencyTimeoutException",
|
833
|
+
"error":{
|
834
|
+
"code":"DependencyTimeout",
|
835
|
+
"httpStatusCode":503
|
836
|
+
},
|
837
|
+
"exception":true,
|
838
|
+
"fault":true
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"shape":"KMSInternalException",
|
842
|
+
"error":{
|
843
|
+
"code":"KMSInternal",
|
844
|
+
"httpStatusCode":500
|
845
|
+
},
|
846
|
+
"exception":true
|
847
|
+
}
|
848
|
+
]
|
849
|
+
},
|
850
|
+
"GetKeyRotationStatus":{
|
851
|
+
"name":"GetKeyRotationStatus",
|
852
|
+
"http":{
|
853
|
+
"method":"POST",
|
854
|
+
"requestUri":"/"
|
855
|
+
},
|
856
|
+
"input":{"shape":"GetKeyRotationStatusRequest"},
|
857
|
+
"output":{"shape":"GetKeyRotationStatusResponse"},
|
858
|
+
"errors":[
|
859
|
+
{
|
860
|
+
"shape":"NotFoundException",
|
861
|
+
"error":{
|
862
|
+
"code":"NotFound",
|
863
|
+
"httpStatusCode":404,
|
864
|
+
"senderFault":true
|
865
|
+
},
|
866
|
+
"exception":true
|
867
|
+
},
|
868
|
+
{
|
869
|
+
"shape":"InvalidArnException",
|
870
|
+
"error":{
|
871
|
+
"code":"InvalidArn",
|
872
|
+
"httpStatusCode":400,
|
873
|
+
"senderFault":true
|
874
|
+
},
|
875
|
+
"exception":true
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"shape":"DependencyTimeoutException",
|
879
|
+
"error":{
|
880
|
+
"code":"DependencyTimeout",
|
881
|
+
"httpStatusCode":503
|
882
|
+
},
|
883
|
+
"exception":true,
|
884
|
+
"fault":true
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"shape":"KMSInternalException",
|
888
|
+
"error":{
|
889
|
+
"code":"KMSInternal",
|
890
|
+
"httpStatusCode":500
|
891
|
+
},
|
892
|
+
"exception":true
|
893
|
+
}
|
894
|
+
]
|
895
|
+
},
|
896
|
+
"ListAliases":{
|
897
|
+
"name":"ListAliases",
|
898
|
+
"http":{
|
899
|
+
"method":"POST",
|
900
|
+
"requestUri":"/"
|
901
|
+
},
|
902
|
+
"input":{"shape":"ListAliasesRequest"},
|
903
|
+
"output":{"shape":"ListAliasesResponse"},
|
904
|
+
"errors":[
|
905
|
+
{
|
906
|
+
"shape":"DependencyTimeoutException",
|
907
|
+
"error":{
|
908
|
+
"code":"DependencyTimeout",
|
909
|
+
"httpStatusCode":503
|
910
|
+
},
|
911
|
+
"exception":true,
|
912
|
+
"fault":true
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"shape":"KMSInternalException",
|
916
|
+
"error":{
|
917
|
+
"code":"KMSInternal",
|
918
|
+
"httpStatusCode":500
|
919
|
+
},
|
920
|
+
"exception":true
|
921
|
+
}
|
922
|
+
]
|
923
|
+
},
|
924
|
+
"ListGrants":{
|
925
|
+
"name":"ListGrants",
|
926
|
+
"http":{
|
927
|
+
"method":"POST",
|
928
|
+
"requestUri":"/"
|
929
|
+
},
|
930
|
+
"input":{"shape":"ListGrantsRequest"},
|
931
|
+
"output":{"shape":"ListGrantsResponse"},
|
932
|
+
"errors":[
|
933
|
+
{
|
934
|
+
"shape":"DependencyTimeoutException",
|
935
|
+
"error":{
|
936
|
+
"code":"DependencyTimeout",
|
937
|
+
"httpStatusCode":503
|
938
|
+
},
|
939
|
+
"exception":true,
|
940
|
+
"fault":true
|
941
|
+
},
|
942
|
+
{
|
943
|
+
"shape":"InvalidMarkerException",
|
944
|
+
"error":{
|
945
|
+
"code":"InvalidMarker",
|
946
|
+
"httpStatusCode":400,
|
947
|
+
"senderFault":true
|
948
|
+
},
|
949
|
+
"exception":true
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"shape":"KMSInternalException",
|
953
|
+
"error":{
|
954
|
+
"code":"KMSInternal",
|
955
|
+
"httpStatusCode":500
|
956
|
+
},
|
957
|
+
"exception":true
|
958
|
+
}
|
959
|
+
]
|
960
|
+
},
|
961
|
+
"ListKeyPolicies":{
|
962
|
+
"name":"ListKeyPolicies",
|
963
|
+
"http":{
|
964
|
+
"method":"POST",
|
965
|
+
"requestUri":"/"
|
966
|
+
},
|
967
|
+
"input":{"shape":"ListKeyPoliciesRequest"},
|
968
|
+
"output":{"shape":"ListKeyPoliciesResponse"},
|
969
|
+
"errors":[
|
970
|
+
{
|
971
|
+
"shape":"NotFoundException",
|
972
|
+
"error":{
|
973
|
+
"code":"NotFound",
|
974
|
+
"httpStatusCode":404,
|
975
|
+
"senderFault":true
|
976
|
+
},
|
977
|
+
"exception":true
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"shape":"InvalidArnException",
|
981
|
+
"error":{
|
982
|
+
"code":"InvalidArn",
|
983
|
+
"httpStatusCode":400,
|
984
|
+
"senderFault":true
|
985
|
+
},
|
986
|
+
"exception":true
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"shape":"DependencyTimeoutException",
|
990
|
+
"error":{
|
991
|
+
"code":"DependencyTimeout",
|
992
|
+
"httpStatusCode":503
|
993
|
+
},
|
994
|
+
"exception":true,
|
995
|
+
"fault":true
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"shape":"KMSInternalException",
|
999
|
+
"error":{
|
1000
|
+
"code":"KMSInternal",
|
1001
|
+
"httpStatusCode":500
|
1002
|
+
},
|
1003
|
+
"exception":true
|
1004
|
+
}
|
1005
|
+
]
|
1006
|
+
},
|
1007
|
+
"ListKeys":{
|
1008
|
+
"name":"ListKeys",
|
1009
|
+
"http":{
|
1010
|
+
"method":"POST",
|
1011
|
+
"requestUri":"/"
|
1012
|
+
},
|
1013
|
+
"input":{"shape":"ListKeysRequest"},
|
1014
|
+
"output":{"shape":"ListKeysResponse"},
|
1015
|
+
"errors":[
|
1016
|
+
{
|
1017
|
+
"shape":"DependencyTimeoutException",
|
1018
|
+
"error":{
|
1019
|
+
"code":"DependencyTimeout",
|
1020
|
+
"httpStatusCode":503
|
1021
|
+
},
|
1022
|
+
"exception":true,
|
1023
|
+
"fault":true
|
1024
|
+
},
|
1025
|
+
{
|
1026
|
+
"shape":"KMSInternalException",
|
1027
|
+
"error":{
|
1028
|
+
"code":"KMSInternal",
|
1029
|
+
"httpStatusCode":500
|
1030
|
+
},
|
1031
|
+
"exception":true
|
1032
|
+
}
|
1033
|
+
]
|
1034
|
+
},
|
1035
|
+
"PutKeyPolicy":{
|
1036
|
+
"name":"PutKeyPolicy",
|
1037
|
+
"http":{
|
1038
|
+
"method":"POST",
|
1039
|
+
"requestUri":"/"
|
1040
|
+
},
|
1041
|
+
"input":{"shape":"PutKeyPolicyRequest"},
|
1042
|
+
"errors":[
|
1043
|
+
{
|
1044
|
+
"shape":"NotFoundException",
|
1045
|
+
"error":{
|
1046
|
+
"code":"NotFound",
|
1047
|
+
"httpStatusCode":404,
|
1048
|
+
"senderFault":true
|
1049
|
+
},
|
1050
|
+
"exception":true
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"shape":"InvalidArnException",
|
1054
|
+
"error":{
|
1055
|
+
"code":"InvalidArn",
|
1056
|
+
"httpStatusCode":400,
|
1057
|
+
"senderFault":true
|
1058
|
+
},
|
1059
|
+
"exception":true
|
1060
|
+
},
|
1061
|
+
{
|
1062
|
+
"shape":"MalformedPolicyDocumentException",
|
1063
|
+
"error":{
|
1064
|
+
"code":"MalformedPolicyDocument",
|
1065
|
+
"httpStatusCode":400,
|
1066
|
+
"senderFault":true
|
1067
|
+
},
|
1068
|
+
"exception":true
|
1069
|
+
},
|
1070
|
+
{
|
1071
|
+
"shape":"DependencyTimeoutException",
|
1072
|
+
"error":{
|
1073
|
+
"code":"DependencyTimeout",
|
1074
|
+
"httpStatusCode":503
|
1075
|
+
},
|
1076
|
+
"exception":true,
|
1077
|
+
"fault":true
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"shape":"InvalidArnException",
|
1081
|
+
"error":{
|
1082
|
+
"code":"InvalidArn",
|
1083
|
+
"httpStatusCode":400,
|
1084
|
+
"senderFault":true
|
1085
|
+
},
|
1086
|
+
"exception":true
|
1087
|
+
},
|
1088
|
+
{
|
1089
|
+
"shape":"UnsupportedOperationException",
|
1090
|
+
"error":{
|
1091
|
+
"code":"UnsupportedOperation",
|
1092
|
+
"httpStatusCode":400,
|
1093
|
+
"senderFault":true
|
1094
|
+
},
|
1095
|
+
"exception":true
|
1096
|
+
},
|
1097
|
+
{
|
1098
|
+
"shape":"KMSInternalException",
|
1099
|
+
"error":{
|
1100
|
+
"code":"KMSInternal",
|
1101
|
+
"httpStatusCode":500
|
1102
|
+
},
|
1103
|
+
"exception":true
|
1104
|
+
},
|
1105
|
+
{
|
1106
|
+
"shape":"LimitExceededException",
|
1107
|
+
"error":{
|
1108
|
+
"code":"LimitExceeded",
|
1109
|
+
"httpStatusCode":400,
|
1110
|
+
"senderFault":true
|
1111
|
+
},
|
1112
|
+
"exception":true
|
1113
|
+
}
|
1114
|
+
]
|
1115
|
+
},
|
1116
|
+
"ReEncrypt":{
|
1117
|
+
"name":"ReEncrypt",
|
1118
|
+
"http":{
|
1119
|
+
"method":"POST",
|
1120
|
+
"requestUri":"/"
|
1121
|
+
},
|
1122
|
+
"input":{"shape":"ReEncryptRequest"},
|
1123
|
+
"output":{"shape":"ReEncryptResponse"},
|
1124
|
+
"errors":[
|
1125
|
+
{
|
1126
|
+
"shape":"NotFoundException",
|
1127
|
+
"error":{
|
1128
|
+
"code":"NotFound",
|
1129
|
+
"httpStatusCode":404,
|
1130
|
+
"senderFault":true
|
1131
|
+
},
|
1132
|
+
"exception":true
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"shape":"DisabledException",
|
1136
|
+
"error":{
|
1137
|
+
"code":"Disabled",
|
1138
|
+
"httpStatusCode":409,
|
1139
|
+
"senderFault":true
|
1140
|
+
},
|
1141
|
+
"exception":true
|
1142
|
+
},
|
1143
|
+
{
|
1144
|
+
"shape":"InvalidCiphertextException",
|
1145
|
+
"error":{
|
1146
|
+
"code":"InvalidCiphertext",
|
1147
|
+
"httpStatusCode":400,
|
1148
|
+
"senderFault":true
|
1149
|
+
},
|
1150
|
+
"exception":true
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"shape":"KeyUnavailableException",
|
1154
|
+
"error":{
|
1155
|
+
"code":"KeyUnavailable",
|
1156
|
+
"httpStatusCode":500
|
1157
|
+
},
|
1158
|
+
"exception":true,
|
1159
|
+
"fault":true
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"shape":"DependencyTimeoutException",
|
1163
|
+
"error":{
|
1164
|
+
"code":"DependencyTimeout",
|
1165
|
+
"httpStatusCode":503
|
1166
|
+
},
|
1167
|
+
"exception":true,
|
1168
|
+
"fault":true
|
1169
|
+
},
|
1170
|
+
{
|
1171
|
+
"shape":"InvalidKeyUsageException",
|
1172
|
+
"error":{
|
1173
|
+
"code":"InvalidKeyUsage",
|
1174
|
+
"httpStatusCode":400,
|
1175
|
+
"senderFault":true
|
1176
|
+
},
|
1177
|
+
"exception":true
|
1178
|
+
},
|
1179
|
+
{
|
1180
|
+
"shape":"InvalidGrantTokenException",
|
1181
|
+
"error":{
|
1182
|
+
"code":"InvalidGrantToken",
|
1183
|
+
"httpStatusCode":400,
|
1184
|
+
"senderFault":true
|
1185
|
+
},
|
1186
|
+
"exception":true
|
1187
|
+
},
|
1188
|
+
{
|
1189
|
+
"shape":"KMSInternalException",
|
1190
|
+
"error":{
|
1191
|
+
"code":"KMSInternal",
|
1192
|
+
"httpStatusCode":500
|
1193
|
+
},
|
1194
|
+
"exception":true
|
1195
|
+
}
|
1196
|
+
]
|
1197
|
+
},
|
1198
|
+
"RetireGrant":{
|
1199
|
+
"name":"RetireGrant",
|
1200
|
+
"http":{
|
1201
|
+
"method":"POST",
|
1202
|
+
"requestUri":"/"
|
1203
|
+
},
|
1204
|
+
"input":{"shape":"RetireGrantRequest"},
|
1205
|
+
"errors":[
|
1206
|
+
{
|
1207
|
+
"shape":"InvalidGrantTokenException",
|
1208
|
+
"error":{
|
1209
|
+
"code":"InvalidGrantToken",
|
1210
|
+
"httpStatusCode":400,
|
1211
|
+
"senderFault":true
|
1212
|
+
},
|
1213
|
+
"exception":true
|
1214
|
+
},
|
1215
|
+
{
|
1216
|
+
"shape":"DependencyTimeoutException",
|
1217
|
+
"error":{
|
1218
|
+
"code":"DependencyTimeout",
|
1219
|
+
"httpStatusCode":503
|
1220
|
+
},
|
1221
|
+
"exception":true,
|
1222
|
+
"fault":true
|
1223
|
+
},
|
1224
|
+
{
|
1225
|
+
"shape":"KMSInternalException",
|
1226
|
+
"error":{
|
1227
|
+
"code":"KMSInternal",
|
1228
|
+
"httpStatusCode":500
|
1229
|
+
},
|
1230
|
+
"exception":true
|
1231
|
+
}
|
1232
|
+
]
|
1233
|
+
},
|
1234
|
+
"RevokeGrant":{
|
1235
|
+
"name":"RevokeGrant",
|
1236
|
+
"http":{
|
1237
|
+
"method":"POST",
|
1238
|
+
"requestUri":"/"
|
1239
|
+
},
|
1240
|
+
"input":{"shape":"RevokeGrantRequest"},
|
1241
|
+
"errors":[
|
1242
|
+
{
|
1243
|
+
"shape":"NotFoundException",
|
1244
|
+
"error":{
|
1245
|
+
"code":"NotFound",
|
1246
|
+
"httpStatusCode":404,
|
1247
|
+
"senderFault":true
|
1248
|
+
},
|
1249
|
+
"exception":true
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"shape":"DependencyTimeoutException",
|
1253
|
+
"error":{
|
1254
|
+
"code":"DependencyTimeout",
|
1255
|
+
"httpStatusCode":503
|
1256
|
+
},
|
1257
|
+
"exception":true,
|
1258
|
+
"fault":true
|
1259
|
+
},
|
1260
|
+
{
|
1261
|
+
"shape":"KMSInternalException",
|
1262
|
+
"error":{
|
1263
|
+
"code":"KMSInternal",
|
1264
|
+
"httpStatusCode":500
|
1265
|
+
},
|
1266
|
+
"exception":true
|
1267
|
+
}
|
1268
|
+
]
|
1269
|
+
},
|
1270
|
+
"UpdateKeyDescription":{
|
1271
|
+
"name":"UpdateKeyDescription",
|
1272
|
+
"http":{
|
1273
|
+
"method":"POST",
|
1274
|
+
"requestUri":"/"
|
1275
|
+
},
|
1276
|
+
"input":{"shape":"UpdateKeyDescriptionRequest"},
|
1277
|
+
"errors":[
|
1278
|
+
{
|
1279
|
+
"shape":"NotFoundException",
|
1280
|
+
"error":{
|
1281
|
+
"code":"NotFound",
|
1282
|
+
"httpStatusCode":404,
|
1283
|
+
"senderFault":true
|
1284
|
+
},
|
1285
|
+
"exception":true
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
"shape":"InvalidArnException",
|
1289
|
+
"error":{
|
1290
|
+
"code":"InvalidArn",
|
1291
|
+
"httpStatusCode":400,
|
1292
|
+
"senderFault":true
|
1293
|
+
},
|
1294
|
+
"exception":true
|
1295
|
+
},
|
1296
|
+
{
|
1297
|
+
"shape":"DependencyTimeoutException",
|
1298
|
+
"error":{
|
1299
|
+
"code":"DependencyTimeout",
|
1300
|
+
"httpStatusCode":503
|
1301
|
+
},
|
1302
|
+
"exception":true,
|
1303
|
+
"fault":true
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"shape":"KMSInternalException",
|
1307
|
+
"error":{
|
1308
|
+
"code":"KMSInternal",
|
1309
|
+
"httpStatusCode":500
|
1310
|
+
},
|
1311
|
+
"exception":true
|
1312
|
+
}
|
1313
|
+
]
|
1314
|
+
}
|
1315
|
+
},
|
1316
|
+
"shapes":{
|
1317
|
+
"AWSAccountIdType":{"type":"string"},
|
1318
|
+
"AliasList":{
|
1319
|
+
"type":"list",
|
1320
|
+
"member":{"shape":"AliasListEntry"}
|
1321
|
+
},
|
1322
|
+
"AliasListEntry":{
|
1323
|
+
"type":"structure",
|
1324
|
+
"members":{
|
1325
|
+
"AliasName":{"shape":"AliasNameType"},
|
1326
|
+
"AliasArn":{"shape":"ArnType"},
|
1327
|
+
"TargetKeyId":{"shape":"KeyIdType"}
|
1328
|
+
}
|
1329
|
+
},
|
1330
|
+
"AliasNameType":{
|
1331
|
+
"type":"string",
|
1332
|
+
"min":1,
|
1333
|
+
"max":256,
|
1334
|
+
"pattern":"^[a-zA-Z0-9:/_-]+$"
|
1335
|
+
},
|
1336
|
+
"AlreadyExistsException":{
|
1337
|
+
"type":"structure",
|
1338
|
+
"members":{
|
1339
|
+
"message":{"shape":"ErrorMessageType"}
|
1340
|
+
},
|
1341
|
+
"error":{
|
1342
|
+
"code":"AlreadyExists",
|
1343
|
+
"httpStatusCode":400,
|
1344
|
+
"senderFault":true
|
1345
|
+
},
|
1346
|
+
"exception":true
|
1347
|
+
},
|
1348
|
+
"ArnType":{
|
1349
|
+
"type":"string",
|
1350
|
+
"min":20,
|
1351
|
+
"max":2048
|
1352
|
+
},
|
1353
|
+
"BooleanType":{"type":"boolean"},
|
1354
|
+
"CiphertextType":{
|
1355
|
+
"type":"blob",
|
1356
|
+
"min":1,
|
1357
|
+
"max":6144
|
1358
|
+
},
|
1359
|
+
"CreateAliasRequest":{
|
1360
|
+
"type":"structure",
|
1361
|
+
"required":[
|
1362
|
+
"AliasName",
|
1363
|
+
"TargetKeyId"
|
1364
|
+
],
|
1365
|
+
"members":{
|
1366
|
+
"AliasName":{"shape":"AliasNameType"},
|
1367
|
+
"TargetKeyId":{"shape":"KeyIdType"}
|
1368
|
+
}
|
1369
|
+
},
|
1370
|
+
"CreateGrantRequest":{
|
1371
|
+
"type":"structure",
|
1372
|
+
"required":[
|
1373
|
+
"KeyId",
|
1374
|
+
"GranteePrincipal"
|
1375
|
+
],
|
1376
|
+
"members":{
|
1377
|
+
"KeyId":{"shape":"KeyIdType"},
|
1378
|
+
"GranteePrincipal":{"shape":"PrincipalIdType"},
|
1379
|
+
"RetiringPrincipal":{"shape":"PrincipalIdType"},
|
1380
|
+
"Operations":{"shape":"GrantOperationList"},
|
1381
|
+
"Constraints":{"shape":"GrantConstraints"},
|
1382
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1383
|
+
}
|
1384
|
+
},
|
1385
|
+
"CreateGrantResponse":{
|
1386
|
+
"type":"structure",
|
1387
|
+
"members":{
|
1388
|
+
"GrantToken":{"shape":"GrantTokenType"},
|
1389
|
+
"GrantId":{"shape":"GrantIdType"}
|
1390
|
+
}
|
1391
|
+
},
|
1392
|
+
"CreateKeyRequest":{
|
1393
|
+
"type":"structure",
|
1394
|
+
"members":{
|
1395
|
+
"Policy":{"shape":"PolicyType"},
|
1396
|
+
"Description":{"shape":"DescriptionType"},
|
1397
|
+
"KeyUsage":{"shape":"KeyUsageType"}
|
1398
|
+
}
|
1399
|
+
},
|
1400
|
+
"CreateKeyResponse":{
|
1401
|
+
"type":"structure",
|
1402
|
+
"members":{
|
1403
|
+
"KeyMetadata":{"shape":"KeyMetadata"}
|
1404
|
+
}
|
1405
|
+
},
|
1406
|
+
"DataKeySpec":{
|
1407
|
+
"type":"string",
|
1408
|
+
"enum":[
|
1409
|
+
"AES_256",
|
1410
|
+
"AES_128"
|
1411
|
+
]
|
1412
|
+
},
|
1413
|
+
"DateType":{"type":"timestamp"},
|
1414
|
+
"DecryptRequest":{
|
1415
|
+
"type":"structure",
|
1416
|
+
"required":["CiphertextBlob"],
|
1417
|
+
"members":{
|
1418
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1419
|
+
"EncryptionContext":{"shape":"EncryptionContextType"},
|
1420
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1421
|
+
}
|
1422
|
+
},
|
1423
|
+
"DecryptResponse":{
|
1424
|
+
"type":"structure",
|
1425
|
+
"members":{
|
1426
|
+
"KeyId":{"shape":"KeyIdType"},
|
1427
|
+
"Plaintext":{"shape":"PlaintextType"}
|
1428
|
+
}
|
1429
|
+
},
|
1430
|
+
"DeleteAliasRequest":{
|
1431
|
+
"type":"structure",
|
1432
|
+
"required":["AliasName"],
|
1433
|
+
"members":{
|
1434
|
+
"AliasName":{"shape":"AliasNameType"}
|
1435
|
+
}
|
1436
|
+
},
|
1437
|
+
"DependencyTimeoutException":{
|
1438
|
+
"type":"structure",
|
1439
|
+
"members":{
|
1440
|
+
"message":{"shape":"ErrorMessageType"}
|
1441
|
+
},
|
1442
|
+
"error":{
|
1443
|
+
"code":"DependencyTimeout",
|
1444
|
+
"httpStatusCode":503
|
1445
|
+
},
|
1446
|
+
"exception":true,
|
1447
|
+
"fault":true
|
1448
|
+
},
|
1449
|
+
"DescribeKeyRequest":{
|
1450
|
+
"type":"structure",
|
1451
|
+
"required":["KeyId"],
|
1452
|
+
"members":{
|
1453
|
+
"KeyId":{"shape":"KeyIdType"}
|
1454
|
+
}
|
1455
|
+
},
|
1456
|
+
"DescribeKeyResponse":{
|
1457
|
+
"type":"structure",
|
1458
|
+
"members":{
|
1459
|
+
"KeyMetadata":{"shape":"KeyMetadata"}
|
1460
|
+
}
|
1461
|
+
},
|
1462
|
+
"DescriptionType":{
|
1463
|
+
"type":"string",
|
1464
|
+
"min":0,
|
1465
|
+
"max":8192
|
1466
|
+
},
|
1467
|
+
"DisableKeyRequest":{
|
1468
|
+
"type":"structure",
|
1469
|
+
"required":["KeyId"],
|
1470
|
+
"members":{
|
1471
|
+
"KeyId":{"shape":"KeyIdType"}
|
1472
|
+
}
|
1473
|
+
},
|
1474
|
+
"DisableKeyRotationRequest":{
|
1475
|
+
"type":"structure",
|
1476
|
+
"required":["KeyId"],
|
1477
|
+
"members":{
|
1478
|
+
"KeyId":{"shape":"KeyIdType"}
|
1479
|
+
}
|
1480
|
+
},
|
1481
|
+
"DisabledException":{
|
1482
|
+
"type":"structure",
|
1483
|
+
"members":{
|
1484
|
+
"message":{"shape":"ErrorMessageType"}
|
1485
|
+
},
|
1486
|
+
"error":{
|
1487
|
+
"code":"Disabled",
|
1488
|
+
"httpStatusCode":409,
|
1489
|
+
"senderFault":true
|
1490
|
+
},
|
1491
|
+
"exception":true
|
1492
|
+
},
|
1493
|
+
"EnableKeyRequest":{
|
1494
|
+
"type":"structure",
|
1495
|
+
"required":["KeyId"],
|
1496
|
+
"members":{
|
1497
|
+
"KeyId":{"shape":"KeyIdType"}
|
1498
|
+
}
|
1499
|
+
},
|
1500
|
+
"EnableKeyRotationRequest":{
|
1501
|
+
"type":"structure",
|
1502
|
+
"required":["KeyId"],
|
1503
|
+
"members":{
|
1504
|
+
"KeyId":{"shape":"KeyIdType"}
|
1505
|
+
}
|
1506
|
+
},
|
1507
|
+
"EncryptRequest":{
|
1508
|
+
"type":"structure",
|
1509
|
+
"required":[
|
1510
|
+
"KeyId",
|
1511
|
+
"Plaintext"
|
1512
|
+
],
|
1513
|
+
"members":{
|
1514
|
+
"KeyId":{"shape":"KeyIdType"},
|
1515
|
+
"Plaintext":{"shape":"PlaintextType"},
|
1516
|
+
"EncryptionContext":{"shape":"EncryptionContextType"},
|
1517
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1518
|
+
}
|
1519
|
+
},
|
1520
|
+
"EncryptResponse":{
|
1521
|
+
"type":"structure",
|
1522
|
+
"members":{
|
1523
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1524
|
+
"KeyId":{"shape":"KeyIdType"}
|
1525
|
+
}
|
1526
|
+
},
|
1527
|
+
"EncryptionContextKey":{"type":"string"},
|
1528
|
+
"EncryptionContextType":{
|
1529
|
+
"type":"map",
|
1530
|
+
"key":{"shape":"EncryptionContextKey"},
|
1531
|
+
"value":{"shape":"EncryptionContextValue"}
|
1532
|
+
},
|
1533
|
+
"EncryptionContextValue":{"type":"string"},
|
1534
|
+
"ErrorMessageType":{"type":"string"},
|
1535
|
+
"GenerateDataKeyRequest":{
|
1536
|
+
"type":"structure",
|
1537
|
+
"required":["KeyId"],
|
1538
|
+
"members":{
|
1539
|
+
"KeyId":{"shape":"KeyIdType"},
|
1540
|
+
"EncryptionContext":{"shape":"EncryptionContextType"},
|
1541
|
+
"NumberOfBytes":{"shape":"NumberOfBytesType"},
|
1542
|
+
"KeySpec":{"shape":"DataKeySpec"},
|
1543
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1544
|
+
}
|
1545
|
+
},
|
1546
|
+
"GenerateDataKeyResponse":{
|
1547
|
+
"type":"structure",
|
1548
|
+
"members":{
|
1549
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1550
|
+
"Plaintext":{"shape":"PlaintextType"},
|
1551
|
+
"KeyId":{"shape":"KeyIdType"}
|
1552
|
+
}
|
1553
|
+
},
|
1554
|
+
"GenerateDataKeyWithoutPlaintextRequest":{
|
1555
|
+
"type":"structure",
|
1556
|
+
"required":["KeyId"],
|
1557
|
+
"members":{
|
1558
|
+
"KeyId":{"shape":"KeyIdType"},
|
1559
|
+
"EncryptionContext":{"shape":"EncryptionContextType"},
|
1560
|
+
"KeySpec":{"shape":"DataKeySpec"},
|
1561
|
+
"NumberOfBytes":{"shape":"NumberOfBytesType"},
|
1562
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1563
|
+
}
|
1564
|
+
},
|
1565
|
+
"GenerateDataKeyWithoutPlaintextResponse":{
|
1566
|
+
"type":"structure",
|
1567
|
+
"members":{
|
1568
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1569
|
+
"KeyId":{"shape":"KeyIdType"}
|
1570
|
+
}
|
1571
|
+
},
|
1572
|
+
"GenerateRandomRequest":{
|
1573
|
+
"type":"structure",
|
1574
|
+
"members":{
|
1575
|
+
"NumberOfBytes":{"shape":"NumberOfBytesType"}
|
1576
|
+
}
|
1577
|
+
},
|
1578
|
+
"GenerateRandomResponse":{
|
1579
|
+
"type":"structure",
|
1580
|
+
"members":{
|
1581
|
+
"Plaintext":{"shape":"PlaintextType"}
|
1582
|
+
}
|
1583
|
+
},
|
1584
|
+
"GetKeyPolicyRequest":{
|
1585
|
+
"type":"structure",
|
1586
|
+
"required":[
|
1587
|
+
"KeyId",
|
1588
|
+
"PolicyName"
|
1589
|
+
],
|
1590
|
+
"members":{
|
1591
|
+
"KeyId":{"shape":"KeyIdType"},
|
1592
|
+
"PolicyName":{"shape":"PolicyNameType"}
|
1593
|
+
}
|
1594
|
+
},
|
1595
|
+
"GetKeyPolicyResponse":{
|
1596
|
+
"type":"structure",
|
1597
|
+
"members":{
|
1598
|
+
"Policy":{"shape":"PolicyType"}
|
1599
|
+
}
|
1600
|
+
},
|
1601
|
+
"GetKeyRotationStatusRequest":{
|
1602
|
+
"type":"structure",
|
1603
|
+
"required":["KeyId"],
|
1604
|
+
"members":{
|
1605
|
+
"KeyId":{"shape":"KeyIdType"}
|
1606
|
+
}
|
1607
|
+
},
|
1608
|
+
"GetKeyRotationStatusResponse":{
|
1609
|
+
"type":"structure",
|
1610
|
+
"members":{
|
1611
|
+
"KeyRotationEnabled":{"shape":"BooleanType"}
|
1612
|
+
}
|
1613
|
+
},
|
1614
|
+
"GrantConstraints":{
|
1615
|
+
"type":"structure",
|
1616
|
+
"members":{
|
1617
|
+
"EncryptionContextSubset":{"shape":"EncryptionContextType"},
|
1618
|
+
"EncryptionContextEquals":{"shape":"EncryptionContextType"}
|
1619
|
+
}
|
1620
|
+
},
|
1621
|
+
"GrantIdType":{
|
1622
|
+
"type":"string",
|
1623
|
+
"min":1,
|
1624
|
+
"max":128
|
1625
|
+
},
|
1626
|
+
"GrantList":{
|
1627
|
+
"type":"list",
|
1628
|
+
"member":{"shape":"GrantListEntry"}
|
1629
|
+
},
|
1630
|
+
"GrantListEntry":{
|
1631
|
+
"type":"structure",
|
1632
|
+
"members":{
|
1633
|
+
"GrantId":{"shape":"GrantIdType"},
|
1634
|
+
"GranteePrincipal":{"shape":"PrincipalIdType"},
|
1635
|
+
"RetiringPrincipal":{"shape":"PrincipalIdType"},
|
1636
|
+
"IssuingAccount":{"shape":"PrincipalIdType"},
|
1637
|
+
"Operations":{"shape":"GrantOperationList"},
|
1638
|
+
"Constraints":{"shape":"GrantConstraints"}
|
1639
|
+
}
|
1640
|
+
},
|
1641
|
+
"GrantOperation":{
|
1642
|
+
"type":"string",
|
1643
|
+
"enum":[
|
1644
|
+
"Decrypt",
|
1645
|
+
"Encrypt",
|
1646
|
+
"GenerateDataKey",
|
1647
|
+
"GenerateDataKeyWithoutPlaintext",
|
1648
|
+
"ReEncryptFrom",
|
1649
|
+
"ReEncryptTo",
|
1650
|
+
"CreateGrant",
|
1651
|
+
"RetireGrant"
|
1652
|
+
]
|
1653
|
+
},
|
1654
|
+
"GrantOperationList":{
|
1655
|
+
"type":"list",
|
1656
|
+
"member":{"shape":"GrantOperation"}
|
1657
|
+
},
|
1658
|
+
"GrantTokenList":{
|
1659
|
+
"type":"list",
|
1660
|
+
"member":{"shape":"GrantTokenType"},
|
1661
|
+
"min":0,
|
1662
|
+
"max":10
|
1663
|
+
},
|
1664
|
+
"GrantTokenType":{
|
1665
|
+
"type":"string",
|
1666
|
+
"min":1,
|
1667
|
+
"max":8192
|
1668
|
+
},
|
1669
|
+
"InvalidAliasNameException":{
|
1670
|
+
"type":"structure",
|
1671
|
+
"members":{
|
1672
|
+
"message":{"shape":"ErrorMessageType"}
|
1673
|
+
},
|
1674
|
+
"error":{
|
1675
|
+
"code":"InvalidAliasName",
|
1676
|
+
"httpStatusCode":400,
|
1677
|
+
"senderFault":true
|
1678
|
+
},
|
1679
|
+
"exception":true
|
1680
|
+
},
|
1681
|
+
"InvalidArnException":{
|
1682
|
+
"type":"structure",
|
1683
|
+
"members":{
|
1684
|
+
"message":{"shape":"ErrorMessageType"}
|
1685
|
+
},
|
1686
|
+
"error":{
|
1687
|
+
"code":"InvalidArn",
|
1688
|
+
"httpStatusCode":400,
|
1689
|
+
"senderFault":true
|
1690
|
+
},
|
1691
|
+
"exception":true
|
1692
|
+
},
|
1693
|
+
"InvalidCiphertextException":{
|
1694
|
+
"type":"structure",
|
1695
|
+
"members":{
|
1696
|
+
"message":{"shape":"ErrorMessageType"}
|
1697
|
+
},
|
1698
|
+
"error":{
|
1699
|
+
"code":"InvalidCiphertext",
|
1700
|
+
"httpStatusCode":400,
|
1701
|
+
"senderFault":true
|
1702
|
+
},
|
1703
|
+
"exception":true
|
1704
|
+
},
|
1705
|
+
"InvalidGrantTokenException":{
|
1706
|
+
"type":"structure",
|
1707
|
+
"members":{
|
1708
|
+
"message":{"shape":"ErrorMessageType"}
|
1709
|
+
},
|
1710
|
+
"error":{
|
1711
|
+
"code":"InvalidGrantToken",
|
1712
|
+
"httpStatusCode":400,
|
1713
|
+
"senderFault":true
|
1714
|
+
},
|
1715
|
+
"exception":true
|
1716
|
+
},
|
1717
|
+
"InvalidKeyUsageException":{
|
1718
|
+
"type":"structure",
|
1719
|
+
"members":{
|
1720
|
+
"message":{"shape":"ErrorMessageType"}
|
1721
|
+
},
|
1722
|
+
"error":{
|
1723
|
+
"code":"InvalidKeyUsage",
|
1724
|
+
"httpStatusCode":400,
|
1725
|
+
"senderFault":true
|
1726
|
+
},
|
1727
|
+
"exception":true
|
1728
|
+
},
|
1729
|
+
"InvalidMarkerException":{
|
1730
|
+
"type":"structure",
|
1731
|
+
"members":{
|
1732
|
+
"message":{"shape":"ErrorMessageType"}
|
1733
|
+
},
|
1734
|
+
"error":{
|
1735
|
+
"code":"InvalidMarker",
|
1736
|
+
"httpStatusCode":400,
|
1737
|
+
"senderFault":true
|
1738
|
+
},
|
1739
|
+
"exception":true
|
1740
|
+
},
|
1741
|
+
"KMSInternalException":{
|
1742
|
+
"type":"structure",
|
1743
|
+
"members":{
|
1744
|
+
"message":{"shape":"ErrorMessageType"}
|
1745
|
+
},
|
1746
|
+
"error":{
|
1747
|
+
"code":"KMSInternal",
|
1748
|
+
"httpStatusCode":500
|
1749
|
+
},
|
1750
|
+
"exception":true
|
1751
|
+
},
|
1752
|
+
"KeyIdType":{
|
1753
|
+
"type":"string",
|
1754
|
+
"min":1,
|
1755
|
+
"max":256
|
1756
|
+
},
|
1757
|
+
"KeyList":{
|
1758
|
+
"type":"list",
|
1759
|
+
"member":{"shape":"KeyListEntry"}
|
1760
|
+
},
|
1761
|
+
"KeyListEntry":{
|
1762
|
+
"type":"structure",
|
1763
|
+
"members":{
|
1764
|
+
"KeyId":{"shape":"KeyIdType"},
|
1765
|
+
"KeyArn":{"shape":"ArnType"}
|
1766
|
+
}
|
1767
|
+
},
|
1768
|
+
"KeyMetadata":{
|
1769
|
+
"type":"structure",
|
1770
|
+
"required":["KeyId"],
|
1771
|
+
"members":{
|
1772
|
+
"AWSAccountId":{"shape":"AWSAccountIdType"},
|
1773
|
+
"KeyId":{"shape":"KeyIdType"},
|
1774
|
+
"Arn":{"shape":"ArnType"},
|
1775
|
+
"CreationDate":{"shape":"DateType"},
|
1776
|
+
"Enabled":{"shape":"BooleanType"},
|
1777
|
+
"Description":{"shape":"DescriptionType"},
|
1778
|
+
"KeyUsage":{"shape":"KeyUsageType"}
|
1779
|
+
}
|
1780
|
+
},
|
1781
|
+
"KeyUnavailableException":{
|
1782
|
+
"type":"structure",
|
1783
|
+
"members":{
|
1784
|
+
"message":{"shape":"ErrorMessageType"}
|
1785
|
+
},
|
1786
|
+
"error":{
|
1787
|
+
"code":"KeyUnavailable",
|
1788
|
+
"httpStatusCode":500
|
1789
|
+
},
|
1790
|
+
"exception":true,
|
1791
|
+
"fault":true
|
1792
|
+
},
|
1793
|
+
"KeyUsageType":{
|
1794
|
+
"type":"string",
|
1795
|
+
"enum":["ENCRYPT_DECRYPT"]
|
1796
|
+
},
|
1797
|
+
"LimitExceededException":{
|
1798
|
+
"type":"structure",
|
1799
|
+
"members":{
|
1800
|
+
"message":{"shape":"ErrorMessageType"}
|
1801
|
+
},
|
1802
|
+
"error":{
|
1803
|
+
"code":"LimitExceeded",
|
1804
|
+
"httpStatusCode":400,
|
1805
|
+
"senderFault":true
|
1806
|
+
},
|
1807
|
+
"exception":true
|
1808
|
+
},
|
1809
|
+
"LimitType":{
|
1810
|
+
"type":"integer",
|
1811
|
+
"min":1,
|
1812
|
+
"max":1000
|
1813
|
+
},
|
1814
|
+
"ListAliasesRequest":{
|
1815
|
+
"type":"structure",
|
1816
|
+
"members":{
|
1817
|
+
"Limit":{"shape":"LimitType"},
|
1818
|
+
"Marker":{"shape":"MarkerType"}
|
1819
|
+
}
|
1820
|
+
},
|
1821
|
+
"ListAliasesResponse":{
|
1822
|
+
"type":"structure",
|
1823
|
+
"members":{
|
1824
|
+
"Aliases":{"shape":"AliasList"},
|
1825
|
+
"NextMarker":{"shape":"MarkerType"},
|
1826
|
+
"Truncated":{"shape":"BooleanType"}
|
1827
|
+
}
|
1828
|
+
},
|
1829
|
+
"ListGrantsRequest":{
|
1830
|
+
"type":"structure",
|
1831
|
+
"required":["KeyId"],
|
1832
|
+
"members":{
|
1833
|
+
"KeyId":{"shape":"KeyIdType"},
|
1834
|
+
"Limit":{"shape":"LimitType"},
|
1835
|
+
"Marker":{"shape":"MarkerType"}
|
1836
|
+
}
|
1837
|
+
},
|
1838
|
+
"ListGrantsResponse":{
|
1839
|
+
"type":"structure",
|
1840
|
+
"members":{
|
1841
|
+
"Grants":{"shape":"GrantList"},
|
1842
|
+
"NextMarker":{"shape":"MarkerType"},
|
1843
|
+
"Truncated":{"shape":"BooleanType"}
|
1844
|
+
}
|
1845
|
+
},
|
1846
|
+
"ListKeyPoliciesRequest":{
|
1847
|
+
"type":"structure",
|
1848
|
+
"required":["KeyId"],
|
1849
|
+
"members":{
|
1850
|
+
"KeyId":{"shape":"KeyIdType"},
|
1851
|
+
"Limit":{"shape":"LimitType"},
|
1852
|
+
"Marker":{"shape":"MarkerType"}
|
1853
|
+
}
|
1854
|
+
},
|
1855
|
+
"ListKeyPoliciesResponse":{
|
1856
|
+
"type":"structure",
|
1857
|
+
"members":{
|
1858
|
+
"PolicyNames":{"shape":"PolicyNameList"},
|
1859
|
+
"NextMarker":{"shape":"MarkerType"},
|
1860
|
+
"Truncated":{"shape":"BooleanType"}
|
1861
|
+
}
|
1862
|
+
},
|
1863
|
+
"ListKeysRequest":{
|
1864
|
+
"type":"structure",
|
1865
|
+
"members":{
|
1866
|
+
"Limit":{"shape":"LimitType"},
|
1867
|
+
"Marker":{"shape":"MarkerType"}
|
1868
|
+
}
|
1869
|
+
},
|
1870
|
+
"ListKeysResponse":{
|
1871
|
+
"type":"structure",
|
1872
|
+
"members":{
|
1873
|
+
"Keys":{"shape":"KeyList"},
|
1874
|
+
"NextMarker":{"shape":"MarkerType"},
|
1875
|
+
"Truncated":{"shape":"BooleanType"}
|
1876
|
+
}
|
1877
|
+
},
|
1878
|
+
"MalformedPolicyDocumentException":{
|
1879
|
+
"type":"structure",
|
1880
|
+
"members":{
|
1881
|
+
"message":{"shape":"ErrorMessageType"}
|
1882
|
+
},
|
1883
|
+
"error":{
|
1884
|
+
"code":"MalformedPolicyDocument",
|
1885
|
+
"httpStatusCode":400,
|
1886
|
+
"senderFault":true
|
1887
|
+
},
|
1888
|
+
"exception":true
|
1889
|
+
},
|
1890
|
+
"MarkerType":{
|
1891
|
+
"type":"string",
|
1892
|
+
"min":1,
|
1893
|
+
"max":320,
|
1894
|
+
"pattern":"[\\u0020-\\u00FF]*"
|
1895
|
+
},
|
1896
|
+
"NotFoundException":{
|
1897
|
+
"type":"structure",
|
1898
|
+
"members":{
|
1899
|
+
"message":{"shape":"ErrorMessageType"}
|
1900
|
+
},
|
1901
|
+
"error":{
|
1902
|
+
"code":"NotFound",
|
1903
|
+
"httpStatusCode":404,
|
1904
|
+
"senderFault":true
|
1905
|
+
},
|
1906
|
+
"exception":true
|
1907
|
+
},
|
1908
|
+
"NumberOfBytesType":{
|
1909
|
+
"type":"integer",
|
1910
|
+
"min":1,
|
1911
|
+
"max":1024
|
1912
|
+
},
|
1913
|
+
"PlaintextType":{
|
1914
|
+
"type":"blob",
|
1915
|
+
"min":1,
|
1916
|
+
"max":4096,
|
1917
|
+
"sensitive":true
|
1918
|
+
},
|
1919
|
+
"PolicyNameList":{
|
1920
|
+
"type":"list",
|
1921
|
+
"member":{"shape":"PolicyNameType"}
|
1922
|
+
},
|
1923
|
+
"PolicyNameType":{
|
1924
|
+
"type":"string",
|
1925
|
+
"min":1,
|
1926
|
+
"max":128,
|
1927
|
+
"pattern":"[\\w]+"
|
1928
|
+
},
|
1929
|
+
"PolicyType":{
|
1930
|
+
"type":"string",
|
1931
|
+
"min":1,
|
1932
|
+
"max":131072,
|
1933
|
+
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
|
1934
|
+
},
|
1935
|
+
"PrincipalIdType":{
|
1936
|
+
"type":"string",
|
1937
|
+
"min":1,
|
1938
|
+
"max":256
|
1939
|
+
},
|
1940
|
+
"PutKeyPolicyRequest":{
|
1941
|
+
"type":"structure",
|
1942
|
+
"required":[
|
1943
|
+
"KeyId",
|
1944
|
+
"PolicyName",
|
1945
|
+
"Policy"
|
1946
|
+
],
|
1947
|
+
"members":{
|
1948
|
+
"KeyId":{"shape":"KeyIdType"},
|
1949
|
+
"PolicyName":{"shape":"PolicyNameType"},
|
1950
|
+
"Policy":{"shape":"PolicyType"}
|
1951
|
+
}
|
1952
|
+
},
|
1953
|
+
"ReEncryptRequest":{
|
1954
|
+
"type":"structure",
|
1955
|
+
"required":[
|
1956
|
+
"CiphertextBlob",
|
1957
|
+
"DestinationKeyId"
|
1958
|
+
],
|
1959
|
+
"members":{
|
1960
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1961
|
+
"SourceEncryptionContext":{"shape":"EncryptionContextType"},
|
1962
|
+
"DestinationKeyId":{"shape":"KeyIdType"},
|
1963
|
+
"DestinationEncryptionContext":{"shape":"EncryptionContextType"},
|
1964
|
+
"GrantTokens":{"shape":"GrantTokenList"}
|
1965
|
+
}
|
1966
|
+
},
|
1967
|
+
"ReEncryptResponse":{
|
1968
|
+
"type":"structure",
|
1969
|
+
"members":{
|
1970
|
+
"CiphertextBlob":{"shape":"CiphertextType"},
|
1971
|
+
"SourceKeyId":{"shape":"KeyIdType"},
|
1972
|
+
"KeyId":{"shape":"KeyIdType"}
|
1973
|
+
}
|
1974
|
+
},
|
1975
|
+
"RetireGrantRequest":{
|
1976
|
+
"type":"structure",
|
1977
|
+
"required":["GrantToken"],
|
1978
|
+
"members":{
|
1979
|
+
"GrantToken":{"shape":"GrantTokenType"}
|
1980
|
+
}
|
1981
|
+
},
|
1982
|
+
"RevokeGrantRequest":{
|
1983
|
+
"type":"structure",
|
1984
|
+
"required":[
|
1985
|
+
"KeyId",
|
1986
|
+
"GrantId"
|
1987
|
+
],
|
1988
|
+
"members":{
|
1989
|
+
"KeyId":{"shape":"KeyIdType"},
|
1990
|
+
"GrantId":{"shape":"GrantIdType"}
|
1991
|
+
}
|
1992
|
+
},
|
1993
|
+
"UnsupportedOperationException":{
|
1994
|
+
"type":"structure",
|
1995
|
+
"members":{
|
1996
|
+
"message":{"shape":"ErrorMessageType"}
|
1997
|
+
},
|
1998
|
+
"error":{
|
1999
|
+
"code":"UnsupportedOperation",
|
2000
|
+
"httpStatusCode":400,
|
2001
|
+
"senderFault":true
|
2002
|
+
},
|
2003
|
+
"exception":true
|
2004
|
+
},
|
2005
|
+
"UpdateKeyDescriptionRequest":{
|
2006
|
+
"type":"structure",
|
2007
|
+
"required":[
|
2008
|
+
"KeyId",
|
2009
|
+
"Description"
|
2010
|
+
],
|
2011
|
+
"members":{
|
2012
|
+
"KeyId":{"shape":"KeyIdType"},
|
2013
|
+
"Description":{"shape":"DescriptionType"}
|
2014
|
+
}
|
2015
|
+
}
|
2016
|
+
}
|
2017
|
+
}
|