aws-sdk-kms 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kms.rb +1 -1
- data/lib/aws-sdk-kms/client.rb +2071 -1887
- data/lib/aws-sdk-kms/client_api.rb +888 -890
- data/lib/aws-sdk-kms/errors.rb +4 -13
- data/lib/aws-sdk-kms/resource.rb +12 -14
- data/lib/aws-sdk-kms/types.rb +1922 -1865
- metadata +2 -2
@@ -1,900 +1,898 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
# @api private
|
409
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
410
|
-
|
411
|
-
api.version = "2014-11-01"
|
412
|
-
|
413
|
-
api.metadata = {
|
414
|
-
"endpointPrefix" => "kms",
|
415
|
-
"jsonVersion" => "1.1",
|
416
|
-
"protocol" => "json",
|
417
|
-
"serviceFullName" => "AWS Key Management Service",
|
418
|
-
"signatureVersion" => "v4",
|
419
|
-
"targetPrefix" => "TrentService",
|
420
|
-
}
|
421
|
-
|
422
|
-
api.add_operation(:cancel_key_deletion, Seahorse::Model::Operation.new.tap do |o|
|
423
|
-
o.name = "CancelKeyDeletion"
|
424
|
-
o.http_method = "POST"
|
425
|
-
o.http_request_uri = "/"
|
426
|
-
o.input = Shapes::ShapeRef.new(shape: CancelKeyDeletionRequest)
|
427
|
-
o.output = Shapes::ShapeRef.new(shape: CancelKeyDeletionResponse)
|
428
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
429
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
430
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
432
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
433
|
-
end)
|
434
|
-
|
435
|
-
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
436
|
-
o.name = "CreateAlias"
|
437
|
-
o.http_method = "POST"
|
438
|
-
o.http_request_uri = "/"
|
439
|
-
o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
|
440
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
441
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
442
|
-
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
443
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
444
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidAliasNameException)
|
445
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
446
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
447
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
448
|
-
end)
|
449
|
-
|
450
|
-
api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
|
451
|
-
o.name = "CreateGrant"
|
452
|
-
o.http_method = "POST"
|
453
|
-
o.http_request_uri = "/"
|
454
|
-
o.input = Shapes::ShapeRef.new(shape: CreateGrantRequest)
|
455
|
-
o.output = Shapes::ShapeRef.new(shape: CreateGrantResponse)
|
456
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
457
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
458
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
459
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
460
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
461
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
462
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
463
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
464
|
-
end)
|
465
|
-
|
466
|
-
api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
|
467
|
-
o.name = "CreateKey"
|
468
|
-
o.http_method = "POST"
|
469
|
-
o.http_request_uri = "/"
|
470
|
-
o.input = Shapes::ShapeRef.new(shape: CreateKeyRequest)
|
471
|
-
o.output = Shapes::ShapeRef.new(shape: CreateKeyResponse)
|
472
|
-
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
473
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
474
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
475
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
476
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
477
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
478
|
-
end)
|
479
|
-
|
480
|
-
api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
|
481
|
-
o.name = "Decrypt"
|
482
|
-
o.http_method = "POST"
|
483
|
-
o.http_request_uri = "/"
|
484
|
-
o.input = Shapes::ShapeRef.new(shape: DecryptRequest)
|
485
|
-
o.output = Shapes::ShapeRef.new(shape: DecryptResponse)
|
486
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
487
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
488
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
489
|
-
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
490
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
491
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
492
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
493
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
494
|
-
end)
|
495
|
-
|
496
|
-
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
497
|
-
o.name = "DeleteAlias"
|
498
|
-
o.http_method = "POST"
|
499
|
-
o.http_request_uri = "/"
|
500
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
|
501
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
502
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
503
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
504
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
505
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
506
|
-
end)
|
507
|
-
|
508
|
-
api.add_operation(:delete_imported_key_material, Seahorse::Model::Operation.new.tap do |o|
|
509
|
-
o.name = "DeleteImportedKeyMaterial"
|
510
|
-
o.http_method = "POST"
|
511
|
-
o.http_request_uri = "/"
|
512
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteImportedKeyMaterialRequest)
|
513
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
514
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
515
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
516
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
517
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
518
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
519
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
520
|
-
end)
|
521
|
-
|
522
|
-
api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
|
523
|
-
o.name = "DescribeKey"
|
524
|
-
o.http_method = "POST"
|
525
|
-
o.http_request_uri = "/"
|
526
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeKeyRequest)
|
527
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeKeyResponse)
|
528
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
529
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
530
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
531
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
532
|
-
end)
|
533
|
-
|
534
|
-
api.add_operation(:disable_key, Seahorse::Model::Operation.new.tap do |o|
|
535
|
-
o.name = "DisableKey"
|
536
|
-
o.http_method = "POST"
|
537
|
-
o.http_request_uri = "/"
|
538
|
-
o.input = Shapes::ShapeRef.new(shape: DisableKeyRequest)
|
539
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
540
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
541
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
542
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
543
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
544
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
545
|
-
end)
|
546
|
-
|
547
|
-
api.add_operation(:disable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
|
548
|
-
o.name = "DisableKeyRotation"
|
549
|
-
o.http_method = "POST"
|
550
|
-
o.http_request_uri = "/"
|
551
|
-
o.input = Shapes::ShapeRef.new(shape: DisableKeyRotationRequest)
|
552
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
553
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
554
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
555
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
556
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
557
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
558
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
559
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
560
|
-
end)
|
561
|
-
|
562
|
-
api.add_operation(:enable_key, Seahorse::Model::Operation.new.tap do |o|
|
563
|
-
o.name = "EnableKey"
|
564
|
-
o.http_method = "POST"
|
565
|
-
o.http_request_uri = "/"
|
566
|
-
o.input = Shapes::ShapeRef.new(shape: EnableKeyRequest)
|
567
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
568
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
569
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
570
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
571
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
572
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
573
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
574
|
-
end)
|
575
|
-
|
576
|
-
api.add_operation(:enable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
|
577
|
-
o.name = "EnableKeyRotation"
|
578
|
-
o.http_method = "POST"
|
579
|
-
o.http_request_uri = "/"
|
580
|
-
o.input = Shapes::ShapeRef.new(shape: EnableKeyRotationRequest)
|
581
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
582
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
583
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
584
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
585
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
586
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
587
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
588
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
589
|
-
end)
|
590
|
-
|
591
|
-
api.add_operation(:encrypt, Seahorse::Model::Operation.new.tap do |o|
|
592
|
-
o.name = "Encrypt"
|
593
|
-
o.http_method = "POST"
|
594
|
-
o.http_request_uri = "/"
|
595
|
-
o.input = Shapes::ShapeRef.new(shape: EncryptRequest)
|
596
|
-
o.output = Shapes::ShapeRef.new(shape: EncryptResponse)
|
597
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
598
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
599
|
-
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
600
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
601
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
602
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
603
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
604
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
605
|
-
end)
|
606
|
-
|
607
|
-
api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
|
608
|
-
o.name = "GenerateDataKey"
|
609
|
-
o.http_method = "POST"
|
610
|
-
o.http_request_uri = "/"
|
611
|
-
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyRequest)
|
612
|
-
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyResponse)
|
613
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
614
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
615
|
-
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
616
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
617
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
618
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
619
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
620
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
621
|
-
end)
|
622
|
-
|
623
|
-
api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
|
624
|
-
o.name = "GenerateDataKeyWithoutPlaintext"
|
625
|
-
o.http_method = "POST"
|
626
|
-
o.http_request_uri = "/"
|
627
|
-
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextRequest)
|
628
|
-
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextResponse)
|
629
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
630
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
631
|
-
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
632
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
633
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
634
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
635
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
636
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
637
|
-
end)
|
638
|
-
|
639
|
-
api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
|
640
|
-
o.name = "GenerateRandom"
|
641
|
-
o.http_method = "POST"
|
642
|
-
o.http_request_uri = "/"
|
643
|
-
o.input = Shapes::ShapeRef.new(shape: GenerateRandomRequest)
|
644
|
-
o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
|
645
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
646
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
647
|
-
end)
|
648
|
-
|
649
|
-
api.add_operation(:get_key_policy, Seahorse::Model::Operation.new.tap do |o|
|
650
|
-
o.name = "GetKeyPolicy"
|
651
|
-
o.http_method = "POST"
|
652
|
-
o.http_request_uri = "/"
|
653
|
-
o.input = Shapes::ShapeRef.new(shape: GetKeyPolicyRequest)
|
654
|
-
o.output = Shapes::ShapeRef.new(shape: GetKeyPolicyResponse)
|
655
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
656
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
657
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
658
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
659
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
660
|
-
end)
|
661
|
-
|
662
|
-
api.add_operation(:get_key_rotation_status, Seahorse::Model::Operation.new.tap do |o|
|
663
|
-
o.name = "GetKeyRotationStatus"
|
664
|
-
o.http_method = "POST"
|
665
|
-
o.http_request_uri = "/"
|
666
|
-
o.input = Shapes::ShapeRef.new(shape: GetKeyRotationStatusRequest)
|
667
|
-
o.output = Shapes::ShapeRef.new(shape: GetKeyRotationStatusResponse)
|
668
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
669
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
670
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
671
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
672
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
673
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
674
|
-
end)
|
675
|
-
|
676
|
-
api.add_operation(:get_parameters_for_import, Seahorse::Model::Operation.new.tap do |o|
|
677
|
-
o.name = "GetParametersForImport"
|
678
|
-
o.http_method = "POST"
|
679
|
-
o.http_request_uri = "/"
|
680
|
-
o.input = Shapes::ShapeRef.new(shape: GetParametersForImportRequest)
|
681
|
-
o.output = Shapes::ShapeRef.new(shape: GetParametersForImportResponse)
|
682
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
683
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
684
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
685
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
686
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
687
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
688
|
-
end)
|
689
|
-
|
690
|
-
api.add_operation(:import_key_material, Seahorse::Model::Operation.new.tap do |o|
|
691
|
-
o.name = "ImportKeyMaterial"
|
692
|
-
o.http_method = "POST"
|
693
|
-
o.http_request_uri = "/"
|
694
|
-
o.input = Shapes::ShapeRef.new(shape: ImportKeyMaterialRequest)
|
695
|
-
o.output = Shapes::ShapeRef.new(shape: ImportKeyMaterialResponse)
|
696
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
697
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
698
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
699
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
700
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
701
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
702
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
703
|
-
o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyMaterialException)
|
704
|
-
o.errors << Shapes::ShapeRef.new(shape: ExpiredImportTokenException)
|
705
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidImportTokenException)
|
706
|
-
end)
|
707
|
-
|
708
|
-
api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
|
709
|
-
o.name = "ListAliases"
|
710
|
-
o.http_method = "POST"
|
711
|
-
o.http_request_uri = "/"
|
712
|
-
o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
|
713
|
-
o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
|
714
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
715
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
716
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
717
|
-
o[:pager] = Aws::Pager.new(
|
718
|
-
more_results: "truncated",
|
719
|
-
limit_key: "limit",
|
720
|
-
tokens: {
|
721
|
-
"next_marker" => "marker"
|
722
|
-
}
|
723
|
-
)
|
724
|
-
end)
|
725
|
-
|
726
|
-
api.add_operation(:list_grants, Seahorse::Model::Operation.new.tap do |o|
|
727
|
-
o.name = "ListGrants"
|
728
|
-
o.http_method = "POST"
|
729
|
-
o.http_request_uri = "/"
|
730
|
-
o.input = Shapes::ShapeRef.new(shape: ListGrantsRequest)
|
731
|
-
o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
|
732
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
733
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
734
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
735
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
736
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
737
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
738
|
-
o[:pager] = Aws::Pager.new(
|
739
|
-
more_results: "truncated",
|
740
|
-
limit_key: "limit",
|
741
|
-
tokens: {
|
742
|
-
"next_marker" => "marker"
|
743
|
-
}
|
744
|
-
)
|
745
|
-
end)
|
746
|
-
|
747
|
-
api.add_operation(:list_key_policies, Seahorse::Model::Operation.new.tap do |o|
|
748
|
-
o.name = "ListKeyPolicies"
|
749
|
-
o.http_method = "POST"
|
750
|
-
o.http_request_uri = "/"
|
751
|
-
o.input = Shapes::ShapeRef.new(shape: ListKeyPoliciesRequest)
|
752
|
-
o.output = Shapes::ShapeRef.new(shape: ListKeyPoliciesResponse)
|
753
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
754
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
755
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
756
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
757
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
758
|
-
o[:pager] = Aws::Pager.new(
|
759
|
-
more_results: "truncated",
|
760
|
-
limit_key: "limit",
|
761
|
-
tokens: {
|
762
|
-
"next_marker" => "marker"
|
763
|
-
}
|
764
|
-
)
|
765
|
-
end)
|
766
|
-
|
767
|
-
api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
|
768
|
-
o.name = "ListKeys"
|
769
|
-
o.http_method = "POST"
|
770
|
-
o.http_request_uri = "/"
|
771
|
-
o.input = Shapes::ShapeRef.new(shape: ListKeysRequest)
|
772
|
-
o.output = Shapes::ShapeRef.new(shape: ListKeysResponse)
|
773
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
774
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
775
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
776
|
-
o[:pager] = Aws::Pager.new(
|
777
|
-
more_results: "truncated",
|
778
|
-
limit_key: "limit",
|
779
|
-
tokens: {
|
780
|
-
"next_marker" => "marker"
|
781
|
-
}
|
782
|
-
)
|
783
|
-
end)
|
784
|
-
|
785
|
-
api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
|
786
|
-
o.name = "ListRetirableGrants"
|
787
|
-
o.http_method = "POST"
|
788
|
-
o.http_request_uri = "/"
|
789
|
-
o.input = Shapes::ShapeRef.new(shape: ListRetirableGrantsRequest)
|
790
|
-
o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
|
791
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
792
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
793
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
794
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
795
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
796
|
-
end)
|
797
|
-
|
798
|
-
api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
|
799
|
-
o.name = "PutKeyPolicy"
|
800
|
-
o.http_method = "POST"
|
801
|
-
o.http_request_uri = "/"
|
802
|
-
o.input = Shapes::ShapeRef.new(shape: PutKeyPolicyRequest)
|
803
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
804
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
805
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
806
|
-
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
807
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
808
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
809
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
810
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
811
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
812
|
-
end)
|
813
|
-
|
814
|
-
api.add_operation(:re_encrypt, Seahorse::Model::Operation.new.tap do |o|
|
815
|
-
o.name = "ReEncrypt"
|
816
|
-
o.http_method = "POST"
|
817
|
-
o.http_request_uri = "/"
|
818
|
-
o.input = Shapes::ShapeRef.new(shape: ReEncryptRequest)
|
819
|
-
o.output = Shapes::ShapeRef.new(shape: ReEncryptResponse)
|
820
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
821
|
-
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
822
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
823
|
-
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
824
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
825
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
826
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
827
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
828
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
829
|
-
end)
|
830
|
-
|
831
|
-
api.add_operation(:retire_grant, Seahorse::Model::Operation.new.tap do |o|
|
832
|
-
o.name = "RetireGrant"
|
833
|
-
o.http_method = "POST"
|
834
|
-
o.http_request_uri = "/"
|
835
|
-
o.input = Shapes::ShapeRef.new(shape: RetireGrantRequest)
|
836
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
837
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
838
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
839
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
840
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
841
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
842
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
843
|
-
end)
|
844
|
-
|
845
|
-
api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
|
846
|
-
o.name = "RevokeGrant"
|
847
|
-
o.http_method = "POST"
|
848
|
-
o.http_request_uri = "/"
|
849
|
-
o.input = Shapes::ShapeRef.new(shape: RevokeGrantRequest)
|
850
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
851
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
852
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
853
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
854
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
855
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
856
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
857
|
-
end)
|
858
|
-
|
859
|
-
api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
|
860
|
-
o.name = "ScheduleKeyDeletion"
|
861
|
-
o.http_method = "POST"
|
862
|
-
o.http_request_uri = "/"
|
863
|
-
o.input = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionRequest)
|
864
|
-
o.output = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionResponse)
|
865
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
866
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
867
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
868
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
869
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
870
|
-
end)
|
871
|
-
|
872
|
-
api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
|
873
|
-
o.name = "UpdateAlias"
|
874
|
-
o.http_method = "POST"
|
875
|
-
o.http_request_uri = "/"
|
876
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
|
877
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
878
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
879
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
880
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
881
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
882
|
-
end)
|
883
|
-
|
884
|
-
api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
|
885
|
-
o.name = "UpdateKeyDescription"
|
886
|
-
o.http_method = "POST"
|
887
|
-
o.http_request_uri = "/"
|
888
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateKeyDescriptionRequest)
|
889
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
890
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
891
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
892
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
893
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
894
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
895
|
-
end)
|
896
|
-
end
|
8
|
+
module Aws::KMS
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AWSAccountIdType = Shapes::StringShape.new(name: 'AWSAccountIdType')
|
15
|
+
AlgorithmSpec = Shapes::StringShape.new(name: 'AlgorithmSpec')
|
16
|
+
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
17
|
+
AliasListEntry = Shapes::StructureShape.new(name: 'AliasListEntry')
|
18
|
+
AliasNameType = Shapes::StringShape.new(name: 'AliasNameType')
|
19
|
+
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
20
|
+
ArnType = Shapes::StringShape.new(name: 'ArnType')
|
21
|
+
BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
|
22
|
+
CancelKeyDeletionRequest = Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
|
23
|
+
CancelKeyDeletionResponse = Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
|
24
|
+
CiphertextType = Shapes::BlobShape.new(name: 'CiphertextType')
|
25
|
+
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
26
|
+
CreateGrantRequest = Shapes::StructureShape.new(name: 'CreateGrantRequest')
|
27
|
+
CreateGrantResponse = Shapes::StructureShape.new(name: 'CreateGrantResponse')
|
28
|
+
CreateKeyRequest = Shapes::StructureShape.new(name: 'CreateKeyRequest')
|
29
|
+
CreateKeyResponse = Shapes::StructureShape.new(name: 'CreateKeyResponse')
|
30
|
+
DataKeySpec = Shapes::StringShape.new(name: 'DataKeySpec')
|
31
|
+
DateType = Shapes::TimestampShape.new(name: 'DateType')
|
32
|
+
DecryptRequest = Shapes::StructureShape.new(name: 'DecryptRequest')
|
33
|
+
DecryptResponse = Shapes::StructureShape.new(name: 'DecryptResponse')
|
34
|
+
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
35
|
+
DeleteImportedKeyMaterialRequest = Shapes::StructureShape.new(name: 'DeleteImportedKeyMaterialRequest')
|
36
|
+
DependencyTimeoutException = Shapes::StructureShape.new(name: 'DependencyTimeoutException')
|
37
|
+
DescribeKeyRequest = Shapes::StructureShape.new(name: 'DescribeKeyRequest')
|
38
|
+
DescribeKeyResponse = Shapes::StructureShape.new(name: 'DescribeKeyResponse')
|
39
|
+
DescriptionType = Shapes::StringShape.new(name: 'DescriptionType')
|
40
|
+
DisableKeyRequest = Shapes::StructureShape.new(name: 'DisableKeyRequest')
|
41
|
+
DisableKeyRotationRequest = Shapes::StructureShape.new(name: 'DisableKeyRotationRequest')
|
42
|
+
DisabledException = Shapes::StructureShape.new(name: 'DisabledException')
|
43
|
+
EnableKeyRequest = Shapes::StructureShape.new(name: 'EnableKeyRequest')
|
44
|
+
EnableKeyRotationRequest = Shapes::StructureShape.new(name: 'EnableKeyRotationRequest')
|
45
|
+
EncryptRequest = Shapes::StructureShape.new(name: 'EncryptRequest')
|
46
|
+
EncryptResponse = Shapes::StructureShape.new(name: 'EncryptResponse')
|
47
|
+
EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
|
48
|
+
EncryptionContextType = Shapes::MapShape.new(name: 'EncryptionContextType')
|
49
|
+
EncryptionContextValue = Shapes::StringShape.new(name: 'EncryptionContextValue')
|
50
|
+
ErrorMessageType = Shapes::StringShape.new(name: 'ErrorMessageType')
|
51
|
+
ExpirationModelType = Shapes::StringShape.new(name: 'ExpirationModelType')
|
52
|
+
ExpiredImportTokenException = Shapes::StructureShape.new(name: 'ExpiredImportTokenException')
|
53
|
+
GenerateDataKeyRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyRequest')
|
54
|
+
GenerateDataKeyResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyResponse')
|
55
|
+
GenerateDataKeyWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextRequest')
|
56
|
+
GenerateDataKeyWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextResponse')
|
57
|
+
GenerateRandomRequest = Shapes::StructureShape.new(name: 'GenerateRandomRequest')
|
58
|
+
GenerateRandomResponse = Shapes::StructureShape.new(name: 'GenerateRandomResponse')
|
59
|
+
GetKeyPolicyRequest = Shapes::StructureShape.new(name: 'GetKeyPolicyRequest')
|
60
|
+
GetKeyPolicyResponse = Shapes::StructureShape.new(name: 'GetKeyPolicyResponse')
|
61
|
+
GetKeyRotationStatusRequest = Shapes::StructureShape.new(name: 'GetKeyRotationStatusRequest')
|
62
|
+
GetKeyRotationStatusResponse = Shapes::StructureShape.new(name: 'GetKeyRotationStatusResponse')
|
63
|
+
GetParametersForImportRequest = Shapes::StructureShape.new(name: 'GetParametersForImportRequest')
|
64
|
+
GetParametersForImportResponse = Shapes::StructureShape.new(name: 'GetParametersForImportResponse')
|
65
|
+
GrantConstraints = Shapes::StructureShape.new(name: 'GrantConstraints')
|
66
|
+
GrantIdType = Shapes::StringShape.new(name: 'GrantIdType')
|
67
|
+
GrantList = Shapes::ListShape.new(name: 'GrantList')
|
68
|
+
GrantListEntry = Shapes::StructureShape.new(name: 'GrantListEntry')
|
69
|
+
GrantNameType = Shapes::StringShape.new(name: 'GrantNameType')
|
70
|
+
GrantOperation = Shapes::StringShape.new(name: 'GrantOperation')
|
71
|
+
GrantOperationList = Shapes::ListShape.new(name: 'GrantOperationList')
|
72
|
+
GrantTokenList = Shapes::ListShape.new(name: 'GrantTokenList')
|
73
|
+
GrantTokenType = Shapes::StringShape.new(name: 'GrantTokenType')
|
74
|
+
ImportKeyMaterialRequest = Shapes::StructureShape.new(name: 'ImportKeyMaterialRequest')
|
75
|
+
ImportKeyMaterialResponse = Shapes::StructureShape.new(name: 'ImportKeyMaterialResponse')
|
76
|
+
IncorrectKeyMaterialException = Shapes::StructureShape.new(name: 'IncorrectKeyMaterialException')
|
77
|
+
InvalidAliasNameException = Shapes::StructureShape.new(name: 'InvalidAliasNameException')
|
78
|
+
InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
|
79
|
+
InvalidCiphertextException = Shapes::StructureShape.new(name: 'InvalidCiphertextException')
|
80
|
+
InvalidGrantIdException = Shapes::StructureShape.new(name: 'InvalidGrantIdException')
|
81
|
+
InvalidGrantTokenException = Shapes::StructureShape.new(name: 'InvalidGrantTokenException')
|
82
|
+
InvalidImportTokenException = Shapes::StructureShape.new(name: 'InvalidImportTokenException')
|
83
|
+
InvalidKeyUsageException = Shapes::StructureShape.new(name: 'InvalidKeyUsageException')
|
84
|
+
InvalidMarkerException = Shapes::StructureShape.new(name: 'InvalidMarkerException')
|
85
|
+
KMSInternalException = Shapes::StructureShape.new(name: 'KMSInternalException')
|
86
|
+
KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
|
87
|
+
KeyIdType = Shapes::StringShape.new(name: 'KeyIdType')
|
88
|
+
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
89
|
+
KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
|
90
|
+
KeyMetadata = Shapes::StructureShape.new(name: 'KeyMetadata')
|
91
|
+
KeyState = Shapes::StringShape.new(name: 'KeyState')
|
92
|
+
KeyUnavailableException = Shapes::StructureShape.new(name: 'KeyUnavailableException')
|
93
|
+
KeyUsageType = Shapes::StringShape.new(name: 'KeyUsageType')
|
94
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
95
|
+
LimitType = Shapes::IntegerShape.new(name: 'LimitType')
|
96
|
+
ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
|
97
|
+
ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
|
98
|
+
ListGrantsRequest = Shapes::StructureShape.new(name: 'ListGrantsRequest')
|
99
|
+
ListGrantsResponse = Shapes::StructureShape.new(name: 'ListGrantsResponse')
|
100
|
+
ListKeyPoliciesRequest = Shapes::StructureShape.new(name: 'ListKeyPoliciesRequest')
|
101
|
+
ListKeyPoliciesResponse = Shapes::StructureShape.new(name: 'ListKeyPoliciesResponse')
|
102
|
+
ListKeysRequest = Shapes::StructureShape.new(name: 'ListKeysRequest')
|
103
|
+
ListKeysResponse = Shapes::StructureShape.new(name: 'ListKeysResponse')
|
104
|
+
ListRetirableGrantsRequest = Shapes::StructureShape.new(name: 'ListRetirableGrantsRequest')
|
105
|
+
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
106
|
+
MarkerType = Shapes::StringShape.new(name: 'MarkerType')
|
107
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
108
|
+
NumberOfBytesType = Shapes::IntegerShape.new(name: 'NumberOfBytesType')
|
109
|
+
OriginType = Shapes::StringShape.new(name: 'OriginType')
|
110
|
+
PendingWindowInDaysType = Shapes::IntegerShape.new(name: 'PendingWindowInDaysType')
|
111
|
+
PlaintextType = Shapes::BlobShape.new(name: 'PlaintextType')
|
112
|
+
PolicyNameList = Shapes::ListShape.new(name: 'PolicyNameList')
|
113
|
+
PolicyNameType = Shapes::StringShape.new(name: 'PolicyNameType')
|
114
|
+
PolicyType = Shapes::StringShape.new(name: 'PolicyType')
|
115
|
+
PrincipalIdType = Shapes::StringShape.new(name: 'PrincipalIdType')
|
116
|
+
PutKeyPolicyRequest = Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
|
117
|
+
ReEncryptRequest = Shapes::StructureShape.new(name: 'ReEncryptRequest')
|
118
|
+
ReEncryptResponse = Shapes::StructureShape.new(name: 'ReEncryptResponse')
|
119
|
+
RetireGrantRequest = Shapes::StructureShape.new(name: 'RetireGrantRequest')
|
120
|
+
RevokeGrantRequest = Shapes::StructureShape.new(name: 'RevokeGrantRequest')
|
121
|
+
ScheduleKeyDeletionRequest = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionRequest')
|
122
|
+
ScheduleKeyDeletionResponse = Shapes::StructureShape.new(name: 'ScheduleKeyDeletionResponse')
|
123
|
+
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
124
|
+
UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
|
125
|
+
UpdateKeyDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateKeyDescriptionRequest')
|
126
|
+
WrappingKeySpec = Shapes::StringShape.new(name: 'WrappingKeySpec')
|
127
|
+
|
128
|
+
AliasList.member = Shapes::ShapeRef.new(shape: AliasListEntry)
|
129
|
+
|
130
|
+
AliasListEntry.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, location_name: "AliasName"))
|
131
|
+
AliasListEntry.add_member(:alias_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "AliasArn"))
|
132
|
+
AliasListEntry.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "TargetKeyId"))
|
133
|
+
AliasListEntry.struct_class = Types::AliasListEntry
|
134
|
+
|
135
|
+
CancelKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
136
|
+
CancelKeyDeletionRequest.struct_class = Types::CancelKeyDeletionRequest
|
137
|
+
|
138
|
+
CancelKeyDeletionResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
139
|
+
CancelKeyDeletionResponse.struct_class = Types::CancelKeyDeletionResponse
|
140
|
+
|
141
|
+
CreateAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
|
142
|
+
CreateAliasRequest.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "TargetKeyId"))
|
143
|
+
CreateAliasRequest.struct_class = Types::CreateAliasRequest
|
144
|
+
|
145
|
+
CreateGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
146
|
+
CreateGrantRequest.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "GranteePrincipal"))
|
147
|
+
CreateGrantRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "RetiringPrincipal"))
|
148
|
+
CreateGrantRequest.add_member(:operations, Shapes::ShapeRef.new(shape: GrantOperationList, location_name: "Operations"))
|
149
|
+
CreateGrantRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: GrantConstraints, location_name: "Constraints"))
|
150
|
+
CreateGrantRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
151
|
+
CreateGrantRequest.add_member(:name, Shapes::ShapeRef.new(shape: GrantNameType, location_name: "Name"))
|
152
|
+
CreateGrantRequest.struct_class = Types::CreateGrantRequest
|
153
|
+
|
154
|
+
CreateGrantResponse.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
|
155
|
+
CreateGrantResponse.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
|
156
|
+
CreateGrantResponse.struct_class = Types::CreateGrantResponse
|
157
|
+
|
158
|
+
CreateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
|
159
|
+
CreateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
160
|
+
CreateKeyRequest.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
|
161
|
+
CreateKeyRequest.add_member(:origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "Origin"))
|
162
|
+
CreateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
|
163
|
+
CreateKeyRequest.struct_class = Types::CreateKeyRequest
|
164
|
+
|
165
|
+
CreateKeyResponse.add_member(:key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "KeyMetadata"))
|
166
|
+
CreateKeyResponse.struct_class = Types::CreateKeyResponse
|
167
|
+
|
168
|
+
DecryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
|
169
|
+
DecryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
170
|
+
DecryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
171
|
+
DecryptRequest.struct_class = Types::DecryptRequest
|
172
|
+
|
173
|
+
DecryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
174
|
+
DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
175
|
+
DecryptResponse.struct_class = Types::DecryptResponse
|
176
|
+
|
177
|
+
DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
|
178
|
+
DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
|
179
|
+
|
180
|
+
DeleteImportedKeyMaterialRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
181
|
+
DeleteImportedKeyMaterialRequest.struct_class = Types::DeleteImportedKeyMaterialRequest
|
182
|
+
|
183
|
+
DescribeKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
184
|
+
DescribeKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
185
|
+
DescribeKeyRequest.struct_class = Types::DescribeKeyRequest
|
186
|
+
|
187
|
+
DescribeKeyResponse.add_member(:key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "KeyMetadata"))
|
188
|
+
DescribeKeyResponse.struct_class = Types::DescribeKeyResponse
|
189
|
+
|
190
|
+
DisableKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
191
|
+
DisableKeyRequest.struct_class = Types::DisableKeyRequest
|
192
|
+
|
193
|
+
DisableKeyRotationRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
194
|
+
DisableKeyRotationRequest.struct_class = Types::DisableKeyRotationRequest
|
195
|
+
|
196
|
+
EnableKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
197
|
+
EnableKeyRequest.struct_class = Types::EnableKeyRequest
|
198
|
+
|
199
|
+
EnableKeyRotationRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
200
|
+
EnableKeyRotationRequest.struct_class = Types::EnableKeyRotationRequest
|
201
|
+
|
202
|
+
EncryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
203
|
+
EncryptRequest.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Plaintext"))
|
204
|
+
EncryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
205
|
+
EncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
206
|
+
EncryptRequest.struct_class = Types::EncryptRequest
|
207
|
+
|
208
|
+
EncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
209
|
+
EncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
210
|
+
EncryptResponse.struct_class = Types::EncryptResponse
|
211
|
+
|
212
|
+
EncryptionContextType.key = Shapes::ShapeRef.new(shape: EncryptionContextKey)
|
213
|
+
EncryptionContextType.value = Shapes::ShapeRef.new(shape: EncryptionContextValue)
|
214
|
+
|
215
|
+
GenerateDataKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
216
|
+
GenerateDataKeyRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
217
|
+
GenerateDataKeyRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
218
|
+
GenerateDataKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
|
219
|
+
GenerateDataKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
220
|
+
GenerateDataKeyRequest.struct_class = Types::GenerateDataKeyRequest
|
221
|
+
|
222
|
+
GenerateDataKeyResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
223
|
+
GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
224
|
+
GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
225
|
+
GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
|
226
|
+
|
227
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
228
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
|
229
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
|
230
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
231
|
+
GenerateDataKeyWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
232
|
+
GenerateDataKeyWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyWithoutPlaintextRequest
|
233
|
+
|
234
|
+
GenerateDataKeyWithoutPlaintextResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
235
|
+
GenerateDataKeyWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
236
|
+
GenerateDataKeyWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyWithoutPlaintextResponse
|
237
|
+
|
238
|
+
GenerateRandomRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
|
239
|
+
GenerateRandomRequest.struct_class = Types::GenerateRandomRequest
|
240
|
+
|
241
|
+
GenerateRandomResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
|
242
|
+
GenerateRandomResponse.struct_class = Types::GenerateRandomResponse
|
243
|
+
|
244
|
+
GetKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
245
|
+
GetKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, required: true, location_name: "PolicyName"))
|
246
|
+
GetKeyPolicyRequest.struct_class = Types::GetKeyPolicyRequest
|
247
|
+
|
248
|
+
GetKeyPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
|
249
|
+
GetKeyPolicyResponse.struct_class = Types::GetKeyPolicyResponse
|
250
|
+
|
251
|
+
GetKeyRotationStatusRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
252
|
+
GetKeyRotationStatusRequest.struct_class = Types::GetKeyRotationStatusRequest
|
253
|
+
|
254
|
+
GetKeyRotationStatusResponse.add_member(:key_rotation_enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "KeyRotationEnabled"))
|
255
|
+
GetKeyRotationStatusResponse.struct_class = Types::GetKeyRotationStatusResponse
|
256
|
+
|
257
|
+
GetParametersForImportRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
258
|
+
GetParametersForImportRequest.add_member(:wrapping_algorithm, Shapes::ShapeRef.new(shape: AlgorithmSpec, required: true, location_name: "WrappingAlgorithm"))
|
259
|
+
GetParametersForImportRequest.add_member(:wrapping_key_spec, Shapes::ShapeRef.new(shape: WrappingKeySpec, required: true, location_name: "WrappingKeySpec"))
|
260
|
+
GetParametersForImportRequest.struct_class = Types::GetParametersForImportRequest
|
261
|
+
|
262
|
+
GetParametersForImportResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
263
|
+
GetParametersForImportResponse.add_member(:import_token, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "ImportToken"))
|
264
|
+
GetParametersForImportResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "PublicKey"))
|
265
|
+
GetParametersForImportResponse.add_member(:parameters_valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ParametersValidTo"))
|
266
|
+
GetParametersForImportResponse.struct_class = Types::GetParametersForImportResponse
|
267
|
+
|
268
|
+
GrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextSubset"))
|
269
|
+
GrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContextEquals"))
|
270
|
+
GrantConstraints.struct_class = Types::GrantConstraints
|
271
|
+
|
272
|
+
GrantList.member = Shapes::ShapeRef.new(shape: GrantListEntry)
|
273
|
+
|
274
|
+
GrantListEntry.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
275
|
+
GrantListEntry.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
|
276
|
+
GrantListEntry.add_member(:name, Shapes::ShapeRef.new(shape: GrantNameType, location_name: "Name"))
|
277
|
+
GrantListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
278
|
+
GrantListEntry.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "GranteePrincipal"))
|
279
|
+
GrantListEntry.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "RetiringPrincipal"))
|
280
|
+
GrantListEntry.add_member(:issuing_account, Shapes::ShapeRef.new(shape: PrincipalIdType, location_name: "IssuingAccount"))
|
281
|
+
GrantListEntry.add_member(:operations, Shapes::ShapeRef.new(shape: GrantOperationList, location_name: "Operations"))
|
282
|
+
GrantListEntry.add_member(:constraints, Shapes::ShapeRef.new(shape: GrantConstraints, location_name: "Constraints"))
|
283
|
+
GrantListEntry.struct_class = Types::GrantListEntry
|
284
|
+
|
285
|
+
GrantOperationList.member = Shapes::ShapeRef.new(shape: GrantOperation)
|
286
|
+
|
287
|
+
GrantTokenList.member = Shapes::ShapeRef.new(shape: GrantTokenType)
|
288
|
+
|
289
|
+
ImportKeyMaterialRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
290
|
+
ImportKeyMaterialRequest.add_member(:import_token, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "ImportToken"))
|
291
|
+
ImportKeyMaterialRequest.add_member(:encrypted_key_material, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "EncryptedKeyMaterial"))
|
292
|
+
ImportKeyMaterialRequest.add_member(:valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ValidTo"))
|
293
|
+
ImportKeyMaterialRequest.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
|
294
|
+
ImportKeyMaterialRequest.struct_class = Types::ImportKeyMaterialRequest
|
295
|
+
|
296
|
+
ImportKeyMaterialResponse.struct_class = Types::ImportKeyMaterialResponse
|
297
|
+
|
298
|
+
KeyList.member = Shapes::ShapeRef.new(shape: KeyListEntry)
|
299
|
+
|
300
|
+
KeyListEntry.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
301
|
+
KeyListEntry.add_member(:key_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "KeyArn"))
|
302
|
+
KeyListEntry.struct_class = Types::KeyListEntry
|
303
|
+
|
304
|
+
KeyMetadata.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AWSAccountIdType, location_name: "AWSAccountId"))
|
305
|
+
KeyMetadata.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
306
|
+
KeyMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "Arn"))
|
307
|
+
KeyMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
308
|
+
KeyMetadata.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
|
309
|
+
KeyMetadata.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, location_name: "Description"))
|
310
|
+
KeyMetadata.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsageType, location_name: "KeyUsage"))
|
311
|
+
KeyMetadata.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, location_name: "KeyState"))
|
312
|
+
KeyMetadata.add_member(:deletion_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeletionDate"))
|
313
|
+
KeyMetadata.add_member(:valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ValidTo"))
|
314
|
+
KeyMetadata.add_member(:origin, Shapes::ShapeRef.new(shape: OriginType, location_name: "Origin"))
|
315
|
+
KeyMetadata.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
|
316
|
+
KeyMetadata.struct_class = Types::KeyMetadata
|
317
|
+
|
318
|
+
ListAliasesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
319
|
+
ListAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
320
|
+
ListAliasesRequest.struct_class = Types::ListAliasesRequest
|
321
|
+
|
322
|
+
ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: AliasList, location_name: "Aliases"))
|
323
|
+
ListAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
|
324
|
+
ListAliasesResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
|
325
|
+
ListAliasesResponse.struct_class = Types::ListAliasesResponse
|
326
|
+
|
327
|
+
ListGrantsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
328
|
+
ListGrantsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
329
|
+
ListGrantsRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
330
|
+
ListGrantsRequest.struct_class = Types::ListGrantsRequest
|
331
|
+
|
332
|
+
ListGrantsResponse.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "Grants"))
|
333
|
+
ListGrantsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
|
334
|
+
ListGrantsResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
|
335
|
+
ListGrantsResponse.struct_class = Types::ListGrantsResponse
|
336
|
+
|
337
|
+
ListKeyPoliciesRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
338
|
+
ListKeyPoliciesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
339
|
+
ListKeyPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
340
|
+
ListKeyPoliciesRequest.struct_class = Types::ListKeyPoliciesRequest
|
341
|
+
|
342
|
+
ListKeyPoliciesResponse.add_member(:policy_names, Shapes::ShapeRef.new(shape: PolicyNameList, location_name: "PolicyNames"))
|
343
|
+
ListKeyPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
|
344
|
+
ListKeyPoliciesResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
|
345
|
+
ListKeyPoliciesResponse.struct_class = Types::ListKeyPoliciesResponse
|
346
|
+
|
347
|
+
ListKeysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
348
|
+
ListKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
349
|
+
ListKeysRequest.struct_class = Types::ListKeysRequest
|
350
|
+
|
351
|
+
ListKeysResponse.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, location_name: "Keys"))
|
352
|
+
ListKeysResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "NextMarker"))
|
353
|
+
ListKeysResponse.add_member(:truncated, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Truncated"))
|
354
|
+
ListKeysResponse.struct_class = Types::ListKeysResponse
|
355
|
+
|
356
|
+
ListRetirableGrantsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
|
357
|
+
ListRetirableGrantsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
358
|
+
ListRetirableGrantsRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "RetiringPrincipal"))
|
359
|
+
ListRetirableGrantsRequest.struct_class = Types::ListRetirableGrantsRequest
|
360
|
+
|
361
|
+
PolicyNameList.member = Shapes::ShapeRef.new(shape: PolicyNameType)
|
362
|
+
|
363
|
+
PutKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
364
|
+
PutKeyPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyNameType, required: true, location_name: "PolicyName"))
|
365
|
+
PutKeyPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "Policy"))
|
366
|
+
PutKeyPolicyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
|
367
|
+
PutKeyPolicyRequest.struct_class = Types::PutKeyPolicyRequest
|
368
|
+
|
369
|
+
ReEncryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
|
370
|
+
ReEncryptRequest.add_member(:source_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "SourceEncryptionContext"))
|
371
|
+
ReEncryptRequest.add_member(:destination_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "DestinationKeyId"))
|
372
|
+
ReEncryptRequest.add_member(:destination_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "DestinationEncryptionContext"))
|
373
|
+
ReEncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
|
374
|
+
ReEncryptRequest.struct_class = Types::ReEncryptRequest
|
375
|
+
|
376
|
+
ReEncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
|
377
|
+
ReEncryptResponse.add_member(:source_key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "SourceKeyId"))
|
378
|
+
ReEncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
379
|
+
ReEncryptResponse.struct_class = Types::ReEncryptResponse
|
380
|
+
|
381
|
+
RetireGrantRequest.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
|
382
|
+
RetireGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
383
|
+
RetireGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
|
384
|
+
RetireGrantRequest.struct_class = Types::RetireGrantRequest
|
385
|
+
|
386
|
+
RevokeGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
387
|
+
RevokeGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, required: true, location_name: "GrantId"))
|
388
|
+
RevokeGrantRequest.struct_class = Types::RevokeGrantRequest
|
389
|
+
|
390
|
+
ScheduleKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
391
|
+
ScheduleKeyDeletionRequest.add_member(:pending_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingWindowInDays"))
|
392
|
+
ScheduleKeyDeletionRequest.struct_class = Types::ScheduleKeyDeletionRequest
|
393
|
+
|
394
|
+
ScheduleKeyDeletionResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
|
395
|
+
ScheduleKeyDeletionResponse.add_member(:deletion_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeletionDate"))
|
396
|
+
ScheduleKeyDeletionResponse.struct_class = Types::ScheduleKeyDeletionResponse
|
397
|
+
|
398
|
+
UpdateAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
|
399
|
+
UpdateAliasRequest.add_member(:target_key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "TargetKeyId"))
|
400
|
+
UpdateAliasRequest.struct_class = Types::UpdateAliasRequest
|
401
|
+
|
402
|
+
UpdateKeyDescriptionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
|
403
|
+
UpdateKeyDescriptionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionType, required: true, location_name: "Description"))
|
404
|
+
UpdateKeyDescriptionRequest.struct_class = Types::UpdateKeyDescriptionRequest
|
405
|
+
|
897
406
|
|
407
|
+
# @api private
|
408
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
409
|
+
|
410
|
+
api.version = "2014-11-01"
|
411
|
+
|
412
|
+
api.metadata = {
|
413
|
+
"endpointPrefix" => "kms",
|
414
|
+
"jsonVersion" => "1.1",
|
415
|
+
"protocol" => "json",
|
416
|
+
"serviceFullName" => "AWS Key Management Service",
|
417
|
+
"signatureVersion" => "v4",
|
418
|
+
"targetPrefix" => "TrentService",
|
419
|
+
}
|
420
|
+
|
421
|
+
api.add_operation(:cancel_key_deletion, Seahorse::Model::Operation.new.tap do |o|
|
422
|
+
o.name = "CancelKeyDeletion"
|
423
|
+
o.http_method = "POST"
|
424
|
+
o.http_request_uri = "/"
|
425
|
+
o.input = Shapes::ShapeRef.new(shape: CancelKeyDeletionRequest)
|
426
|
+
o.output = Shapes::ShapeRef.new(shape: CancelKeyDeletionResponse)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
432
|
+
end)
|
433
|
+
|
434
|
+
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
435
|
+
o.name = "CreateAlias"
|
436
|
+
o.http_method = "POST"
|
437
|
+
o.http_request_uri = "/"
|
438
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
|
439
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAliasNameException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
447
|
+
end)
|
448
|
+
|
449
|
+
api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
|
450
|
+
o.name = "CreateGrant"
|
451
|
+
o.http_method = "POST"
|
452
|
+
o.http_request_uri = "/"
|
453
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGrantRequest)
|
454
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGrantResponse)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
463
|
+
end)
|
464
|
+
|
465
|
+
api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
|
466
|
+
o.name = "CreateKey"
|
467
|
+
o.http_method = "POST"
|
468
|
+
o.http_request_uri = "/"
|
469
|
+
o.input = Shapes::ShapeRef.new(shape: CreateKeyRequest)
|
470
|
+
o.output = Shapes::ShapeRef.new(shape: CreateKeyResponse)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
477
|
+
end)
|
478
|
+
|
479
|
+
api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
|
480
|
+
o.name = "Decrypt"
|
481
|
+
o.http_method = "POST"
|
482
|
+
o.http_request_uri = "/"
|
483
|
+
o.input = Shapes::ShapeRef.new(shape: DecryptRequest)
|
484
|
+
o.output = Shapes::ShapeRef.new(shape: DecryptResponse)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
493
|
+
end)
|
494
|
+
|
495
|
+
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
496
|
+
o.name = "DeleteAlias"
|
497
|
+
o.http_method = "POST"
|
498
|
+
o.http_request_uri = "/"
|
499
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
|
500
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
505
|
+
end)
|
506
|
+
|
507
|
+
api.add_operation(:delete_imported_key_material, Seahorse::Model::Operation.new.tap do |o|
|
508
|
+
o.name = "DeleteImportedKeyMaterial"
|
509
|
+
o.http_method = "POST"
|
510
|
+
o.http_request_uri = "/"
|
511
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportedKeyMaterialRequest)
|
512
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
519
|
+
end)
|
520
|
+
|
521
|
+
api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
|
522
|
+
o.name = "DescribeKey"
|
523
|
+
o.http_method = "POST"
|
524
|
+
o.http_request_uri = "/"
|
525
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeKeyRequest)
|
526
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeKeyResponse)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
531
|
+
end)
|
532
|
+
|
533
|
+
api.add_operation(:disable_key, Seahorse::Model::Operation.new.tap do |o|
|
534
|
+
o.name = "DisableKey"
|
535
|
+
o.http_method = "POST"
|
536
|
+
o.http_request_uri = "/"
|
537
|
+
o.input = Shapes::ShapeRef.new(shape: DisableKeyRequest)
|
538
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
544
|
+
end)
|
545
|
+
|
546
|
+
api.add_operation(:disable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
|
547
|
+
o.name = "DisableKeyRotation"
|
548
|
+
o.http_method = "POST"
|
549
|
+
o.http_request_uri = "/"
|
550
|
+
o.input = Shapes::ShapeRef.new(shape: DisableKeyRotationRequest)
|
551
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
559
|
+
end)
|
560
|
+
|
561
|
+
api.add_operation(:enable_key, Seahorse::Model::Operation.new.tap do |o|
|
562
|
+
o.name = "EnableKey"
|
563
|
+
o.http_method = "POST"
|
564
|
+
o.http_request_uri = "/"
|
565
|
+
o.input = Shapes::ShapeRef.new(shape: EnableKeyRequest)
|
566
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
573
|
+
end)
|
574
|
+
|
575
|
+
api.add_operation(:enable_key_rotation, Seahorse::Model::Operation.new.tap do |o|
|
576
|
+
o.name = "EnableKeyRotation"
|
577
|
+
o.http_method = "POST"
|
578
|
+
o.http_request_uri = "/"
|
579
|
+
o.input = Shapes::ShapeRef.new(shape: EnableKeyRotationRequest)
|
580
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
588
|
+
end)
|
589
|
+
|
590
|
+
api.add_operation(:encrypt, Seahorse::Model::Operation.new.tap do |o|
|
591
|
+
o.name = "Encrypt"
|
592
|
+
o.http_method = "POST"
|
593
|
+
o.http_request_uri = "/"
|
594
|
+
o.input = Shapes::ShapeRef.new(shape: EncryptRequest)
|
595
|
+
o.output = Shapes::ShapeRef.new(shape: EncryptResponse)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
604
|
+
end)
|
605
|
+
|
606
|
+
api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
|
607
|
+
o.name = "GenerateDataKey"
|
608
|
+
o.http_method = "POST"
|
609
|
+
o.http_request_uri = "/"
|
610
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyRequest)
|
611
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyResponse)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
620
|
+
end)
|
621
|
+
|
622
|
+
api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
|
623
|
+
o.name = "GenerateDataKeyWithoutPlaintext"
|
624
|
+
o.http_method = "POST"
|
625
|
+
o.http_request_uri = "/"
|
626
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextRequest)
|
627
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateDataKeyWithoutPlaintextResponse)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
636
|
+
end)
|
637
|
+
|
638
|
+
api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
|
639
|
+
o.name = "GenerateRandom"
|
640
|
+
o.http_method = "POST"
|
641
|
+
o.http_request_uri = "/"
|
642
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateRandomRequest)
|
643
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
646
|
+
end)
|
647
|
+
|
648
|
+
api.add_operation(:get_key_policy, Seahorse::Model::Operation.new.tap do |o|
|
649
|
+
o.name = "GetKeyPolicy"
|
650
|
+
o.http_method = "POST"
|
651
|
+
o.http_request_uri = "/"
|
652
|
+
o.input = Shapes::ShapeRef.new(shape: GetKeyPolicyRequest)
|
653
|
+
o.output = Shapes::ShapeRef.new(shape: GetKeyPolicyResponse)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
659
|
+
end)
|
660
|
+
|
661
|
+
api.add_operation(:get_key_rotation_status, Seahorse::Model::Operation.new.tap do |o|
|
662
|
+
o.name = "GetKeyRotationStatus"
|
663
|
+
o.http_method = "POST"
|
664
|
+
o.http_request_uri = "/"
|
665
|
+
o.input = Shapes::ShapeRef.new(shape: GetKeyRotationStatusRequest)
|
666
|
+
o.output = Shapes::ShapeRef.new(shape: GetKeyRotationStatusResponse)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
673
|
+
end)
|
674
|
+
|
675
|
+
api.add_operation(:get_parameters_for_import, Seahorse::Model::Operation.new.tap do |o|
|
676
|
+
o.name = "GetParametersForImport"
|
677
|
+
o.http_method = "POST"
|
678
|
+
o.http_request_uri = "/"
|
679
|
+
o.input = Shapes::ShapeRef.new(shape: GetParametersForImportRequest)
|
680
|
+
o.output = Shapes::ShapeRef.new(shape: GetParametersForImportResponse)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
687
|
+
end)
|
688
|
+
|
689
|
+
api.add_operation(:import_key_material, Seahorse::Model::Operation.new.tap do |o|
|
690
|
+
o.name = "ImportKeyMaterial"
|
691
|
+
o.http_method = "POST"
|
692
|
+
o.http_request_uri = "/"
|
693
|
+
o.input = Shapes::ShapeRef.new(shape: ImportKeyMaterialRequest)
|
694
|
+
o.output = Shapes::ShapeRef.new(shape: ImportKeyMaterialResponse)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectKeyMaterialException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredImportTokenException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidImportTokenException)
|
705
|
+
end)
|
706
|
+
|
707
|
+
api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
|
708
|
+
o.name = "ListAliases"
|
709
|
+
o.http_method = "POST"
|
710
|
+
o.http_request_uri = "/"
|
711
|
+
o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
|
712
|
+
o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
716
|
+
o[:pager] = Aws::Pager.new(
|
717
|
+
more_results: "truncated",
|
718
|
+
limit_key: "limit",
|
719
|
+
tokens: {
|
720
|
+
"next_marker" => "marker"
|
721
|
+
}
|
722
|
+
)
|
723
|
+
end)
|
724
|
+
|
725
|
+
api.add_operation(:list_grants, Seahorse::Model::Operation.new.tap do |o|
|
726
|
+
o.name = "ListGrants"
|
727
|
+
o.http_method = "POST"
|
728
|
+
o.http_request_uri = "/"
|
729
|
+
o.input = Shapes::ShapeRef.new(shape: ListGrantsRequest)
|
730
|
+
o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
737
|
+
o[:pager] = Aws::Pager.new(
|
738
|
+
more_results: "truncated",
|
739
|
+
limit_key: "limit",
|
740
|
+
tokens: {
|
741
|
+
"next_marker" => "marker"
|
742
|
+
}
|
743
|
+
)
|
744
|
+
end)
|
745
|
+
|
746
|
+
api.add_operation(:list_key_policies, Seahorse::Model::Operation.new.tap do |o|
|
747
|
+
o.name = "ListKeyPolicies"
|
748
|
+
o.http_method = "POST"
|
749
|
+
o.http_request_uri = "/"
|
750
|
+
o.input = Shapes::ShapeRef.new(shape: ListKeyPoliciesRequest)
|
751
|
+
o.output = Shapes::ShapeRef.new(shape: ListKeyPoliciesResponse)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
757
|
+
o[:pager] = Aws::Pager.new(
|
758
|
+
more_results: "truncated",
|
759
|
+
limit_key: "limit",
|
760
|
+
tokens: {
|
761
|
+
"next_marker" => "marker"
|
762
|
+
}
|
763
|
+
)
|
764
|
+
end)
|
765
|
+
|
766
|
+
api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
|
767
|
+
o.name = "ListKeys"
|
768
|
+
o.http_method = "POST"
|
769
|
+
o.http_request_uri = "/"
|
770
|
+
o.input = Shapes::ShapeRef.new(shape: ListKeysRequest)
|
771
|
+
o.output = Shapes::ShapeRef.new(shape: ListKeysResponse)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
775
|
+
o[:pager] = Aws::Pager.new(
|
776
|
+
more_results: "truncated",
|
777
|
+
limit_key: "limit",
|
778
|
+
tokens: {
|
779
|
+
"next_marker" => "marker"
|
780
|
+
}
|
781
|
+
)
|
782
|
+
end)
|
783
|
+
|
784
|
+
api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
|
785
|
+
o.name = "ListRetirableGrants"
|
786
|
+
o.http_method = "POST"
|
787
|
+
o.http_request_uri = "/"
|
788
|
+
o.input = Shapes::ShapeRef.new(shape: ListRetirableGrantsRequest)
|
789
|
+
o.output = Shapes::ShapeRef.new(shape: ListGrantsResponse)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
795
|
+
end)
|
796
|
+
|
797
|
+
api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
|
798
|
+
o.name = "PutKeyPolicy"
|
799
|
+
o.http_method = "POST"
|
800
|
+
o.http_request_uri = "/"
|
801
|
+
o.input = Shapes::ShapeRef.new(shape: PutKeyPolicyRequest)
|
802
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
811
|
+
end)
|
812
|
+
|
813
|
+
api.add_operation(:re_encrypt, Seahorse::Model::Operation.new.tap do |o|
|
814
|
+
o.name = "ReEncrypt"
|
815
|
+
o.http_method = "POST"
|
816
|
+
o.http_request_uri = "/"
|
817
|
+
o.input = Shapes::ShapeRef.new(shape: ReEncryptRequest)
|
818
|
+
o.output = Shapes::ShapeRef.new(shape: ReEncryptResponse)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCiphertextException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
828
|
+
end)
|
829
|
+
|
830
|
+
api.add_operation(:retire_grant, Seahorse::Model::Operation.new.tap do |o|
|
831
|
+
o.name = "RetireGrant"
|
832
|
+
o.http_method = "POST"
|
833
|
+
o.http_request_uri = "/"
|
834
|
+
o.input = Shapes::ShapeRef.new(shape: RetireGrantRequest)
|
835
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
842
|
+
end)
|
843
|
+
|
844
|
+
api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
|
845
|
+
o.name = "RevokeGrant"
|
846
|
+
o.http_method = "POST"
|
847
|
+
o.http_request_uri = "/"
|
848
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeGrantRequest)
|
849
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
856
|
+
end)
|
857
|
+
|
858
|
+
api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
|
859
|
+
o.name = "ScheduleKeyDeletion"
|
860
|
+
o.http_method = "POST"
|
861
|
+
o.http_request_uri = "/"
|
862
|
+
o.input = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionRequest)
|
863
|
+
o.output = Shapes::ShapeRef.new(shape: ScheduleKeyDeletionResponse)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
869
|
+
end)
|
870
|
+
|
871
|
+
api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
|
872
|
+
o.name = "UpdateAlias"
|
873
|
+
o.http_method = "POST"
|
874
|
+
o.http_request_uri = "/"
|
875
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
|
876
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
881
|
+
end)
|
882
|
+
|
883
|
+
api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
|
884
|
+
o.name = "UpdateKeyDescription"
|
885
|
+
o.http_method = "POST"
|
886
|
+
o.http_request_uri = "/"
|
887
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateKeyDescriptionRequest)
|
888
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
894
|
+
end)
|
898
895
|
end
|
896
|
+
|
899
897
|
end
|
900
898
|
end
|