aws-sdk-kms 1.23.0 → 1.77.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,973 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KMS
9
+ module Types
10
+
11
+ class AliasListEntry
12
+ attr_accessor alias_name: ::String
13
+ attr_accessor alias_arn: ::String
14
+ attr_accessor target_key_id: ::String
15
+ attr_accessor creation_date: ::Time
16
+ attr_accessor last_updated_date: ::Time
17
+ SENSITIVE: []
18
+ end
19
+
20
+ class AlreadyExistsException
21
+ attr_accessor message: ::String
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class CancelKeyDeletionRequest
26
+ attr_accessor key_id: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CancelKeyDeletionResponse
31
+ attr_accessor key_id: ::String
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class CloudHsmClusterInUseException
36
+ attr_accessor message: ::String
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class CloudHsmClusterInvalidConfigurationException
41
+ attr_accessor message: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class CloudHsmClusterNotActiveException
46
+ attr_accessor message: ::String
47
+ SENSITIVE: []
48
+ end
49
+
50
+ class CloudHsmClusterNotFoundException
51
+ attr_accessor message: ::String
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class CloudHsmClusterNotRelatedException
56
+ attr_accessor message: ::String
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class ConnectCustomKeyStoreRequest
61
+ attr_accessor custom_key_store_id: ::String
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class ConnectCustomKeyStoreResponse < Aws::EmptyStructure
66
+ end
67
+
68
+ class CreateAliasRequest
69
+ attr_accessor alias_name: ::String
70
+ attr_accessor target_key_id: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class CreateCustomKeyStoreRequest
75
+ attr_accessor custom_key_store_name: ::String
76
+ attr_accessor cloud_hsm_cluster_id: ::String
77
+ attr_accessor trust_anchor_certificate: ::String
78
+ attr_accessor key_store_password: ::String
79
+ attr_accessor custom_key_store_type: ("AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
80
+ attr_accessor xks_proxy_uri_endpoint: ::String
81
+ attr_accessor xks_proxy_uri_path: ::String
82
+ attr_accessor xks_proxy_vpc_endpoint_service_name: ::String
83
+ attr_accessor xks_proxy_authentication_credential: Types::XksProxyAuthenticationCredentialType
84
+ attr_accessor xks_proxy_connectivity: ("PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE")
85
+ SENSITIVE: [:key_store_password]
86
+ end
87
+
88
+ class CreateCustomKeyStoreResponse
89
+ attr_accessor custom_key_store_id: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class CreateGrantRequest
94
+ attr_accessor key_id: ::String
95
+ attr_accessor grantee_principal: ::String
96
+ attr_accessor retiring_principal: ::String
97
+ attr_accessor operations: ::Array[("Decrypt" | "Encrypt" | "GenerateDataKey" | "GenerateDataKeyWithoutPlaintext" | "ReEncryptFrom" | "ReEncryptTo" | "Sign" | "Verify" | "GetPublicKey" | "CreateGrant" | "RetireGrant" | "DescribeKey" | "GenerateDataKeyPair" | "GenerateDataKeyPairWithoutPlaintext" | "GenerateMac" | "VerifyMac")]
98
+ attr_accessor constraints: Types::GrantConstraints
99
+ attr_accessor grant_tokens: ::Array[::String]
100
+ attr_accessor name: ::String
101
+ attr_accessor dry_run: bool
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class CreateGrantResponse
106
+ attr_accessor grant_token: ::String
107
+ attr_accessor grant_id: ::String
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class CreateKeyRequest
112
+ attr_accessor policy: ::String
113
+ attr_accessor description: ::String
114
+ attr_accessor key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC")
115
+ attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
116
+ attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
117
+ attr_accessor origin: ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
118
+ attr_accessor custom_key_store_id: ::String
119
+ attr_accessor bypass_policy_lockout_safety_check: bool
120
+ attr_accessor tags: ::Array[Types::Tag]
121
+ attr_accessor multi_region: bool
122
+ attr_accessor xks_key_id: ::String
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class CreateKeyResponse
127
+ attr_accessor key_metadata: Types::KeyMetadata
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class CustomKeyStoreHasCMKsException
132
+ attr_accessor message: ::String
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class CustomKeyStoreInvalidStateException
137
+ attr_accessor message: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class CustomKeyStoreNameInUseException
142
+ attr_accessor message: ::String
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class CustomKeyStoreNotFoundException
147
+ attr_accessor message: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CustomKeyStoresListEntry
152
+ attr_accessor custom_key_store_id: ::String
153
+ attr_accessor custom_key_store_name: ::String
154
+ attr_accessor cloud_hsm_cluster_id: ::String
155
+ attr_accessor trust_anchor_certificate: ::String
156
+ attr_accessor connection_state: ("CONNECTED" | "CONNECTING" | "FAILED" | "DISCONNECTED" | "DISCONNECTING")
157
+ attr_accessor connection_error_code: ("INVALID_CREDENTIALS" | "CLUSTER_NOT_FOUND" | "NETWORK_ERRORS" | "INTERNAL_ERROR" | "INSUFFICIENT_CLOUDHSM_HSMS" | "USER_LOCKED_OUT" | "USER_NOT_FOUND" | "USER_LOGGED_IN" | "SUBNET_NOT_FOUND" | "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" | "XKS_PROXY_ACCESS_DENIED" | "XKS_PROXY_NOT_REACHABLE" | "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" | "XKS_PROXY_INVALID_RESPONSE" | "XKS_PROXY_INVALID_CONFIGURATION" | "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" | "XKS_PROXY_TIMED_OUT" | "XKS_PROXY_INVALID_TLS_CONFIGURATION")
158
+ attr_accessor creation_date: ::Time
159
+ attr_accessor custom_key_store_type: ("AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
160
+ attr_accessor xks_proxy_configuration: Types::XksProxyConfigurationType
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class DecryptRequest
165
+ attr_accessor ciphertext_blob: ::String
166
+ attr_accessor encryption_context: ::Hash[::String, ::String]
167
+ attr_accessor grant_tokens: ::Array[::String]
168
+ attr_accessor key_id: ::String
169
+ attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
170
+ attr_accessor recipient: Types::RecipientInfo
171
+ attr_accessor dry_run: bool
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class DecryptResponse
176
+ attr_accessor key_id: ::String
177
+ attr_accessor plaintext: ::String
178
+ attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
179
+ attr_accessor ciphertext_for_recipient: ::String
180
+ SENSITIVE: [:plaintext]
181
+ end
182
+
183
+ class DeleteAliasRequest
184
+ attr_accessor alias_name: ::String
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class DeleteCustomKeyStoreRequest
189
+ attr_accessor custom_key_store_id: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class DeleteCustomKeyStoreResponse < Aws::EmptyStructure
194
+ end
195
+
196
+ class DeleteImportedKeyMaterialRequest
197
+ attr_accessor key_id: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class DependencyTimeoutException
202
+ attr_accessor message: ::String
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class DescribeCustomKeyStoresRequest
207
+ attr_accessor custom_key_store_id: ::String
208
+ attr_accessor custom_key_store_name: ::String
209
+ attr_accessor limit: ::Integer
210
+ attr_accessor marker: ::String
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class DescribeCustomKeyStoresResponse
215
+ attr_accessor custom_key_stores: ::Array[Types::CustomKeyStoresListEntry]
216
+ attr_accessor next_marker: ::String
217
+ attr_accessor truncated: bool
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class DescribeKeyRequest
222
+ attr_accessor key_id: ::String
223
+ attr_accessor grant_tokens: ::Array[::String]
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class DescribeKeyResponse
228
+ attr_accessor key_metadata: Types::KeyMetadata
229
+ SENSITIVE: []
230
+ end
231
+
232
+ class DisableKeyRequest
233
+ attr_accessor key_id: ::String
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class DisableKeyRotationRequest
238
+ attr_accessor key_id: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class DisabledException
243
+ attr_accessor message: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class DisconnectCustomKeyStoreRequest
248
+ attr_accessor custom_key_store_id: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class DisconnectCustomKeyStoreResponse < Aws::EmptyStructure
253
+ end
254
+
255
+ class DryRunOperationException
256
+ attr_accessor message: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class EnableKeyRequest
261
+ attr_accessor key_id: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class EnableKeyRotationRequest
266
+ attr_accessor key_id: ::String
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class EncryptRequest
271
+ attr_accessor key_id: ::String
272
+ attr_accessor plaintext: ::String
273
+ attr_accessor encryption_context: ::Hash[::String, ::String]
274
+ attr_accessor grant_tokens: ::Array[::String]
275
+ attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
276
+ attr_accessor dry_run: bool
277
+ SENSITIVE: [:plaintext]
278
+ end
279
+
280
+ class EncryptResponse
281
+ attr_accessor ciphertext_blob: ::String
282
+ attr_accessor key_id: ::String
283
+ attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
284
+ SENSITIVE: []
285
+ end
286
+
287
+ class ExpiredImportTokenException
288
+ attr_accessor message: ::String
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class GenerateDataKeyPairRequest
293
+ attr_accessor encryption_context: ::Hash[::String, ::String]
294
+ attr_accessor key_id: ::String
295
+ attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
296
+ attr_accessor grant_tokens: ::Array[::String]
297
+ attr_accessor recipient: Types::RecipientInfo
298
+ attr_accessor dry_run: bool
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class GenerateDataKeyPairResponse
303
+ attr_accessor private_key_ciphertext_blob: ::String
304
+ attr_accessor private_key_plaintext: ::String
305
+ attr_accessor public_key: ::String
306
+ attr_accessor key_id: ::String
307
+ attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
308
+ attr_accessor ciphertext_for_recipient: ::String
309
+ SENSITIVE: [:private_key_plaintext]
310
+ end
311
+
312
+ class GenerateDataKeyPairWithoutPlaintextRequest
313
+ attr_accessor encryption_context: ::Hash[::String, ::String]
314
+ attr_accessor key_id: ::String
315
+ attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
316
+ attr_accessor grant_tokens: ::Array[::String]
317
+ attr_accessor dry_run: bool
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class GenerateDataKeyPairWithoutPlaintextResponse
322
+ attr_accessor private_key_ciphertext_blob: ::String
323
+ attr_accessor public_key: ::String
324
+ attr_accessor key_id: ::String
325
+ attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class GenerateDataKeyRequest
330
+ attr_accessor key_id: ::String
331
+ attr_accessor encryption_context: ::Hash[::String, ::String]
332
+ attr_accessor number_of_bytes: ::Integer
333
+ attr_accessor key_spec: ("AES_256" | "AES_128")
334
+ attr_accessor grant_tokens: ::Array[::String]
335
+ attr_accessor recipient: Types::RecipientInfo
336
+ attr_accessor dry_run: bool
337
+ SENSITIVE: []
338
+ end
339
+
340
+ class GenerateDataKeyResponse
341
+ attr_accessor ciphertext_blob: ::String
342
+ attr_accessor plaintext: ::String
343
+ attr_accessor key_id: ::String
344
+ attr_accessor ciphertext_for_recipient: ::String
345
+ SENSITIVE: [:plaintext]
346
+ end
347
+
348
+ class GenerateDataKeyWithoutPlaintextRequest
349
+ attr_accessor key_id: ::String
350
+ attr_accessor encryption_context: ::Hash[::String, ::String]
351
+ attr_accessor key_spec: ("AES_256" | "AES_128")
352
+ attr_accessor number_of_bytes: ::Integer
353
+ attr_accessor grant_tokens: ::Array[::String]
354
+ attr_accessor dry_run: bool
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class GenerateDataKeyWithoutPlaintextResponse
359
+ attr_accessor ciphertext_blob: ::String
360
+ attr_accessor key_id: ::String
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class GenerateMacRequest
365
+ attr_accessor message: ::String
366
+ attr_accessor key_id: ::String
367
+ attr_accessor mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
368
+ attr_accessor grant_tokens: ::Array[::String]
369
+ attr_accessor dry_run: bool
370
+ SENSITIVE: [:message]
371
+ end
372
+
373
+ class GenerateMacResponse
374
+ attr_accessor mac: ::String
375
+ attr_accessor mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
376
+ attr_accessor key_id: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class GenerateRandomRequest
381
+ attr_accessor number_of_bytes: ::Integer
382
+ attr_accessor custom_key_store_id: ::String
383
+ attr_accessor recipient: Types::RecipientInfo
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class GenerateRandomResponse
388
+ attr_accessor plaintext: ::String
389
+ attr_accessor ciphertext_for_recipient: ::String
390
+ SENSITIVE: [:plaintext]
391
+ end
392
+
393
+ class GetKeyPolicyRequest
394
+ attr_accessor key_id: ::String
395
+ attr_accessor policy_name: ::String
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class GetKeyPolicyResponse
400
+ attr_accessor policy: ::String
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class GetKeyRotationStatusRequest
405
+ attr_accessor key_id: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class GetKeyRotationStatusResponse
410
+ attr_accessor key_rotation_enabled: bool
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class GetParametersForImportRequest
415
+ attr_accessor key_id: ::String
416
+ attr_accessor wrapping_algorithm: ("RSAES_PKCS1_V1_5" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "RSA_AES_KEY_WRAP_SHA_1" | "RSA_AES_KEY_WRAP_SHA_256")
417
+ attr_accessor wrapping_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096")
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class GetParametersForImportResponse
422
+ attr_accessor key_id: ::String
423
+ attr_accessor import_token: ::String
424
+ attr_accessor public_key: ::String
425
+ attr_accessor parameters_valid_to: ::Time
426
+ SENSITIVE: [:public_key]
427
+ end
428
+
429
+ class GetPublicKeyRequest
430
+ attr_accessor key_id: ::String
431
+ attr_accessor grant_tokens: ::Array[::String]
432
+ SENSITIVE: []
433
+ end
434
+
435
+ class GetPublicKeyResponse
436
+ attr_accessor key_id: ::String
437
+ attr_accessor public_key: ::String
438
+ attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
439
+ attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
440
+ attr_accessor key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC")
441
+ attr_accessor encryption_algorithms: ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
442
+ attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")]
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class GrantConstraints
447
+ attr_accessor encryption_context_subset: ::Hash[::String, ::String]
448
+ attr_accessor encryption_context_equals: ::Hash[::String, ::String]
449
+ SENSITIVE: []
450
+ end
451
+
452
+ class GrantListEntry
453
+ attr_accessor key_id: ::String
454
+ attr_accessor grant_id: ::String
455
+ attr_accessor name: ::String
456
+ attr_accessor creation_date: ::Time
457
+ attr_accessor grantee_principal: ::String
458
+ attr_accessor retiring_principal: ::String
459
+ attr_accessor issuing_account: ::String
460
+ attr_accessor operations: ::Array[("Decrypt" | "Encrypt" | "GenerateDataKey" | "GenerateDataKeyWithoutPlaintext" | "ReEncryptFrom" | "ReEncryptTo" | "Sign" | "Verify" | "GetPublicKey" | "CreateGrant" | "RetireGrant" | "DescribeKey" | "GenerateDataKeyPair" | "GenerateDataKeyPairWithoutPlaintext" | "GenerateMac" | "VerifyMac")]
461
+ attr_accessor constraints: Types::GrantConstraints
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class ImportKeyMaterialRequest
466
+ attr_accessor key_id: ::String
467
+ attr_accessor import_token: ::String
468
+ attr_accessor encrypted_key_material: ::String
469
+ attr_accessor valid_to: ::Time
470
+ attr_accessor expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class ImportKeyMaterialResponse < Aws::EmptyStructure
475
+ end
476
+
477
+ class IncorrectKeyException
478
+ attr_accessor message: ::String
479
+ SENSITIVE: []
480
+ end
481
+
482
+ class IncorrectKeyMaterialException
483
+ attr_accessor message: ::String
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class IncorrectTrustAnchorException
488
+ attr_accessor message: ::String
489
+ SENSITIVE: []
490
+ end
491
+
492
+ class InvalidAliasNameException
493
+ attr_accessor message: ::String
494
+ SENSITIVE: []
495
+ end
496
+
497
+ class InvalidArnException
498
+ attr_accessor message: ::String
499
+ SENSITIVE: []
500
+ end
501
+
502
+ class InvalidCiphertextException
503
+ attr_accessor message: ::String
504
+ SENSITIVE: []
505
+ end
506
+
507
+ class InvalidGrantIdException
508
+ attr_accessor message: ::String
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class InvalidGrantTokenException
513
+ attr_accessor message: ::String
514
+ SENSITIVE: []
515
+ end
516
+
517
+ class InvalidImportTokenException
518
+ attr_accessor message: ::String
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class InvalidKeyUsageException
523
+ attr_accessor message: ::String
524
+ SENSITIVE: []
525
+ end
526
+
527
+ class InvalidMarkerException
528
+ attr_accessor message: ::String
529
+ SENSITIVE: []
530
+ end
531
+
532
+ class KMSInternalException
533
+ attr_accessor message: ::String
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class KMSInvalidMacException
538
+ attr_accessor message: ::String
539
+ SENSITIVE: []
540
+ end
541
+
542
+ class KMSInvalidSignatureException
543
+ attr_accessor message: ::String
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class KMSInvalidStateException
548
+ attr_accessor message: ::String
549
+ SENSITIVE: []
550
+ end
551
+
552
+ class KeyListEntry
553
+ attr_accessor key_id: ::String
554
+ attr_accessor key_arn: ::String
555
+ SENSITIVE: []
556
+ end
557
+
558
+ class KeyMetadata
559
+ attr_accessor aws_account_id: ::String
560
+ attr_accessor key_id: ::String
561
+ attr_accessor arn: ::String
562
+ attr_accessor creation_date: ::Time
563
+ attr_accessor enabled: bool
564
+ attr_accessor description: ::String
565
+ attr_accessor key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC")
566
+ attr_accessor key_state: ("Creating" | "Enabled" | "Disabled" | "PendingDeletion" | "PendingImport" | "PendingReplicaDeletion" | "Unavailable" | "Updating")
567
+ attr_accessor deletion_date: ::Time
568
+ attr_accessor valid_to: ::Time
569
+ attr_accessor origin: ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
570
+ attr_accessor custom_key_store_id: ::String
571
+ attr_accessor cloud_hsm_cluster_id: ::String
572
+ attr_accessor expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
573
+ attr_accessor key_manager: ("AWS" | "CUSTOMER")
574
+ attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
575
+ attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
576
+ attr_accessor encryption_algorithms: ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
577
+ attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")]
578
+ attr_accessor multi_region: bool
579
+ attr_accessor multi_region_configuration: Types::MultiRegionConfiguration
580
+ attr_accessor pending_deletion_window_in_days: ::Integer
581
+ attr_accessor mac_algorithms: ::Array[("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")]
582
+ attr_accessor xks_key_configuration: Types::XksKeyConfigurationType
583
+ SENSITIVE: []
584
+ end
585
+
586
+ class KeyUnavailableException
587
+ attr_accessor message: ::String
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class LimitExceededException
592
+ attr_accessor message: ::String
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class ListAliasesRequest
597
+ attr_accessor key_id: ::String
598
+ attr_accessor limit: ::Integer
599
+ attr_accessor marker: ::String
600
+ SENSITIVE: []
601
+ end
602
+
603
+ class ListAliasesResponse
604
+ attr_accessor aliases: ::Array[Types::AliasListEntry]
605
+ attr_accessor next_marker: ::String
606
+ attr_accessor truncated: bool
607
+ SENSITIVE: []
608
+ end
609
+
610
+ class ListGrantsRequest
611
+ attr_accessor limit: ::Integer
612
+ attr_accessor marker: ::String
613
+ attr_accessor key_id: ::String
614
+ attr_accessor grant_id: ::String
615
+ attr_accessor grantee_principal: ::String
616
+ SENSITIVE: []
617
+ end
618
+
619
+ class ListGrantsResponse
620
+ attr_accessor grants: ::Array[Types::GrantListEntry]
621
+ attr_accessor next_marker: ::String
622
+ attr_accessor truncated: bool
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class ListKeyPoliciesRequest
627
+ attr_accessor key_id: ::String
628
+ attr_accessor limit: ::Integer
629
+ attr_accessor marker: ::String
630
+ SENSITIVE: []
631
+ end
632
+
633
+ class ListKeyPoliciesResponse
634
+ attr_accessor policy_names: ::Array[::String]
635
+ attr_accessor next_marker: ::String
636
+ attr_accessor truncated: bool
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class ListKeysRequest
641
+ attr_accessor limit: ::Integer
642
+ attr_accessor marker: ::String
643
+ SENSITIVE: []
644
+ end
645
+
646
+ class ListKeysResponse
647
+ attr_accessor keys: ::Array[Types::KeyListEntry]
648
+ attr_accessor next_marker: ::String
649
+ attr_accessor truncated: bool
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class ListResourceTagsRequest
654
+ attr_accessor key_id: ::String
655
+ attr_accessor limit: ::Integer
656
+ attr_accessor marker: ::String
657
+ SENSITIVE: []
658
+ end
659
+
660
+ class ListResourceTagsResponse
661
+ attr_accessor tags: ::Array[Types::Tag]
662
+ attr_accessor next_marker: ::String
663
+ attr_accessor truncated: bool
664
+ SENSITIVE: []
665
+ end
666
+
667
+ class ListRetirableGrantsRequest
668
+ attr_accessor limit: ::Integer
669
+ attr_accessor marker: ::String
670
+ attr_accessor retiring_principal: ::String
671
+ SENSITIVE: []
672
+ end
673
+
674
+ class MalformedPolicyDocumentException
675
+ attr_accessor message: ::String
676
+ SENSITIVE: []
677
+ end
678
+
679
+ class MultiRegionConfiguration
680
+ attr_accessor multi_region_key_type: ("PRIMARY" | "REPLICA")
681
+ attr_accessor primary_key: Types::MultiRegionKey
682
+ attr_accessor replica_keys: ::Array[Types::MultiRegionKey]
683
+ SENSITIVE: []
684
+ end
685
+
686
+ class MultiRegionKey
687
+ attr_accessor arn: ::String
688
+ attr_accessor region: ::String
689
+ SENSITIVE: []
690
+ end
691
+
692
+ class NotFoundException
693
+ attr_accessor message: ::String
694
+ SENSITIVE: []
695
+ end
696
+
697
+ class PutKeyPolicyRequest
698
+ attr_accessor key_id: ::String
699
+ attr_accessor policy_name: ::String
700
+ attr_accessor policy: ::String
701
+ attr_accessor bypass_policy_lockout_safety_check: bool
702
+ SENSITIVE: []
703
+ end
704
+
705
+ class ReEncryptRequest
706
+ attr_accessor ciphertext_blob: ::String
707
+ attr_accessor source_encryption_context: ::Hash[::String, ::String]
708
+ attr_accessor source_key_id: ::String
709
+ attr_accessor destination_key_id: ::String
710
+ attr_accessor destination_encryption_context: ::Hash[::String, ::String]
711
+ attr_accessor source_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
712
+ attr_accessor destination_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
713
+ attr_accessor grant_tokens: ::Array[::String]
714
+ attr_accessor dry_run: bool
715
+ SENSITIVE: []
716
+ end
717
+
718
+ class ReEncryptResponse
719
+ attr_accessor ciphertext_blob: ::String
720
+ attr_accessor source_key_id: ::String
721
+ attr_accessor key_id: ::String
722
+ attr_accessor source_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
723
+ attr_accessor destination_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
724
+ SENSITIVE: []
725
+ end
726
+
727
+ class RecipientInfo
728
+ attr_accessor key_encryption_algorithm: ("RSAES_OAEP_SHA_256")
729
+ attr_accessor attestation_document: ::String
730
+ SENSITIVE: []
731
+ end
732
+
733
+ class ReplicateKeyRequest
734
+ attr_accessor key_id: ::String
735
+ attr_accessor replica_region: ::String
736
+ attr_accessor policy: ::String
737
+ attr_accessor bypass_policy_lockout_safety_check: bool
738
+ attr_accessor description: ::String
739
+ attr_accessor tags: ::Array[Types::Tag]
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class ReplicateKeyResponse
744
+ attr_accessor replica_key_metadata: Types::KeyMetadata
745
+ attr_accessor replica_policy: ::String
746
+ attr_accessor replica_tags: ::Array[Types::Tag]
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class RetireGrantRequest
751
+ attr_accessor grant_token: ::String
752
+ attr_accessor key_id: ::String
753
+ attr_accessor grant_id: ::String
754
+ attr_accessor dry_run: bool
755
+ SENSITIVE: []
756
+ end
757
+
758
+ class RevokeGrantRequest
759
+ attr_accessor key_id: ::String
760
+ attr_accessor grant_id: ::String
761
+ attr_accessor dry_run: bool
762
+ SENSITIVE: []
763
+ end
764
+
765
+ class ScheduleKeyDeletionRequest
766
+ attr_accessor key_id: ::String
767
+ attr_accessor pending_window_in_days: ::Integer
768
+ SENSITIVE: []
769
+ end
770
+
771
+ class ScheduleKeyDeletionResponse
772
+ attr_accessor key_id: ::String
773
+ attr_accessor deletion_date: ::Time
774
+ attr_accessor key_state: ("Creating" | "Enabled" | "Disabled" | "PendingDeletion" | "PendingImport" | "PendingReplicaDeletion" | "Unavailable" | "Updating")
775
+ attr_accessor pending_window_in_days: ::Integer
776
+ SENSITIVE: []
777
+ end
778
+
779
+ class SignRequest
780
+ attr_accessor key_id: ::String
781
+ attr_accessor message: ::String
782
+ attr_accessor message_type: ("RAW" | "DIGEST")
783
+ attr_accessor grant_tokens: ::Array[::String]
784
+ attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
785
+ attr_accessor dry_run: bool
786
+ SENSITIVE: [:message]
787
+ end
788
+
789
+ class SignResponse
790
+ attr_accessor key_id: ::String
791
+ attr_accessor signature: ::String
792
+ attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
793
+ SENSITIVE: []
794
+ end
795
+
796
+ class Tag
797
+ attr_accessor tag_key: ::String
798
+ attr_accessor tag_value: ::String
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class TagException
803
+ attr_accessor message: ::String
804
+ SENSITIVE: []
805
+ end
806
+
807
+ class TagResourceRequest
808
+ attr_accessor key_id: ::String
809
+ attr_accessor tags: ::Array[Types::Tag]
810
+ SENSITIVE: []
811
+ end
812
+
813
+ class UnsupportedOperationException
814
+ attr_accessor message: ::String
815
+ SENSITIVE: []
816
+ end
817
+
818
+ class UntagResourceRequest
819
+ attr_accessor key_id: ::String
820
+ attr_accessor tag_keys: ::Array[::String]
821
+ SENSITIVE: []
822
+ end
823
+
824
+ class UpdateAliasRequest
825
+ attr_accessor alias_name: ::String
826
+ attr_accessor target_key_id: ::String
827
+ SENSITIVE: []
828
+ end
829
+
830
+ class UpdateCustomKeyStoreRequest
831
+ attr_accessor custom_key_store_id: ::String
832
+ attr_accessor new_custom_key_store_name: ::String
833
+ attr_accessor key_store_password: ::String
834
+ attr_accessor cloud_hsm_cluster_id: ::String
835
+ attr_accessor xks_proxy_uri_endpoint: ::String
836
+ attr_accessor xks_proxy_uri_path: ::String
837
+ attr_accessor xks_proxy_vpc_endpoint_service_name: ::String
838
+ attr_accessor xks_proxy_authentication_credential: Types::XksProxyAuthenticationCredentialType
839
+ attr_accessor xks_proxy_connectivity: ("PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE")
840
+ SENSITIVE: [:key_store_password]
841
+ end
842
+
843
+ class UpdateCustomKeyStoreResponse < Aws::EmptyStructure
844
+ end
845
+
846
+ class UpdateKeyDescriptionRequest
847
+ attr_accessor key_id: ::String
848
+ attr_accessor description: ::String
849
+ SENSITIVE: []
850
+ end
851
+
852
+ class UpdatePrimaryRegionRequest
853
+ attr_accessor key_id: ::String
854
+ attr_accessor primary_region: ::String
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class VerifyMacRequest
859
+ attr_accessor message: ::String
860
+ attr_accessor key_id: ::String
861
+ attr_accessor mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
862
+ attr_accessor mac: ::String
863
+ attr_accessor grant_tokens: ::Array[::String]
864
+ attr_accessor dry_run: bool
865
+ SENSITIVE: [:message]
866
+ end
867
+
868
+ class VerifyMacResponse
869
+ attr_accessor key_id: ::String
870
+ attr_accessor mac_valid: bool
871
+ attr_accessor mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
872
+ SENSITIVE: []
873
+ end
874
+
875
+ class VerifyRequest
876
+ attr_accessor key_id: ::String
877
+ attr_accessor message: ::String
878
+ attr_accessor message_type: ("RAW" | "DIGEST")
879
+ attr_accessor signature: ::String
880
+ attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
881
+ attr_accessor grant_tokens: ::Array[::String]
882
+ attr_accessor dry_run: bool
883
+ SENSITIVE: [:message]
884
+ end
885
+
886
+ class VerifyResponse
887
+ attr_accessor key_id: ::String
888
+ attr_accessor signature_valid: bool
889
+ attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
890
+ SENSITIVE: []
891
+ end
892
+
893
+ class XksKeyAlreadyInUseException
894
+ attr_accessor message: ::String
895
+ SENSITIVE: []
896
+ end
897
+
898
+ class XksKeyConfigurationType
899
+ attr_accessor id: ::String
900
+ SENSITIVE: []
901
+ end
902
+
903
+ class XksKeyInvalidConfigurationException
904
+ attr_accessor message: ::String
905
+ SENSITIVE: []
906
+ end
907
+
908
+ class XksKeyNotFoundException
909
+ attr_accessor message: ::String
910
+ SENSITIVE: []
911
+ end
912
+
913
+ class XksProxyAuthenticationCredentialType
914
+ attr_accessor access_key_id: ::String
915
+ attr_accessor raw_secret_access_key: ::String
916
+ SENSITIVE: [:access_key_id, :raw_secret_access_key]
917
+ end
918
+
919
+ class XksProxyConfigurationType
920
+ attr_accessor connectivity: ("PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE")
921
+ attr_accessor access_key_id: ::String
922
+ attr_accessor uri_endpoint: ::String
923
+ attr_accessor uri_path: ::String
924
+ attr_accessor vpc_endpoint_service_name: ::String
925
+ SENSITIVE: [:access_key_id]
926
+ end
927
+
928
+ class XksProxyIncorrectAuthenticationCredentialException
929
+ attr_accessor message: ::String
930
+ SENSITIVE: []
931
+ end
932
+
933
+ class XksProxyInvalidConfigurationException
934
+ attr_accessor message: ::String
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class XksProxyInvalidResponseException
939
+ attr_accessor message: ::String
940
+ SENSITIVE: []
941
+ end
942
+
943
+ class XksProxyUriEndpointInUseException
944
+ attr_accessor message: ::String
945
+ SENSITIVE: []
946
+ end
947
+
948
+ class XksProxyUriInUseException
949
+ attr_accessor message: ::String
950
+ SENSITIVE: []
951
+ end
952
+
953
+ class XksProxyUriUnreachableException
954
+ attr_accessor message: ::String
955
+ SENSITIVE: []
956
+ end
957
+
958
+ class XksProxyVpcEndpointServiceInUseException
959
+ attr_accessor message: ::String
960
+ SENSITIVE: []
961
+ end
962
+
963
+ class XksProxyVpcEndpointServiceInvalidConfigurationException
964
+ attr_accessor message: ::String
965
+ SENSITIVE: []
966
+ end
967
+
968
+ class XksProxyVpcEndpointServiceNotFoundException
969
+ attr_accessor message: ::String
970
+ SENSITIVE: []
971
+ end
972
+ end
973
+ end