@aws-sdk/client-kms 3.169.0 → 3.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/KMS.d.ts +857 -255
  3. package/dist-types/ts3.4/KMSClient.d.ts +400 -123
  4. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +36 -17
  5. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +30 -17
  7. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +32 -17
  9. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +32 -17
  10. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +32 -17
  11. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +30 -17
  12. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +39 -17
  13. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +30 -17
  17. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +31 -17
  18. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +30 -17
  20. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +31 -17
  21. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +32 -17
  22. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +36 -17
  24. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +39 -17
  25. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +39 -17
  26. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +32 -17
  27. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +35 -17
  28. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +32 -17
  29. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +39 -17
  30. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +39 -17
  31. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +32 -17
  32. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +36 -17
  33. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +32 -17
  34. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +32 -17
  35. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +35 -17
  36. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +32 -17
  37. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +35 -17
  38. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +36 -17
  39. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +30 -17
  40. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +32 -17
  41. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +32 -17
  42. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +30 -17
  43. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +30 -17
  44. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +36 -17
  45. package/dist-types/ts3.4/commands/SignCommand.d.ts +30 -17
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +30 -17
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +30 -17
  48. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +30 -17
  49. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +39 -17
  50. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +34 -17
  51. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +31 -17
  52. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +30 -17
  53. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +32 -17
  54. package/dist-types/ts3.4/commands/index.d.ts +50 -50
  55. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  56. package/dist-types/ts3.4/index.d.ts +6 -6
  57. package/dist-types/ts3.4/models/KMSServiceException.d.ts +7 -6
  58. package/dist-types/ts3.4/models/index.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_0.d.ts +1154 -1364
  60. package/dist-types/ts3.4/pagination/DescribeCustomKeyStoresPaginator.d.ts +11 -4
  61. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  62. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -4
  63. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +11 -4
  64. package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +11 -4
  65. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -4
  66. package/dist-types/ts3.4/pagination/ListResourceTagsPaginator.d.ts +11 -4
  67. package/dist-types/ts3.4/pagination/ListRetirableGrantsPaginator.d.ts +11 -4
  68. package/dist-types/ts3.4/pagination/index.d.ts +8 -8
  69. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +602 -152
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  74. package/package.json +34 -34
@@ -1,1364 +1,1154 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
- export declare enum AlgorithmSpec {
4
- RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
5
- RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
6
- RSAES_PKCS1_V1_5 = "RSAES_PKCS1_V1_5"
7
- }
8
-
9
- export interface AliasListEntry {
10
-
11
- AliasName?: string;
12
-
13
- AliasArn?: string;
14
-
15
- TargetKeyId?: string;
16
-
17
- CreationDate?: Date;
18
-
19
- LastUpdatedDate?: Date;
20
- }
21
-
22
- export declare class AlreadyExistsException extends __BaseException {
23
- readonly name: "AlreadyExistsException";
24
- readonly $fault: "client";
25
-
26
- constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
27
- }
28
- export interface CancelKeyDeletionRequest {
29
-
30
- KeyId: string | undefined;
31
- }
32
- export interface CancelKeyDeletionResponse {
33
-
34
- KeyId?: string;
35
- }
36
-
37
- export declare class DependencyTimeoutException extends __BaseException {
38
- readonly name: "DependencyTimeoutException";
39
- readonly $fault: "server";
40
-
41
- constructor(opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>);
42
- }
43
-
44
- export declare class InvalidArnException extends __BaseException {
45
- readonly name: "InvalidArnException";
46
- readonly $fault: "client";
47
-
48
- constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
49
- }
50
-
51
- export declare class KMSInternalException extends __BaseException {
52
- readonly name: "KMSInternalException";
53
- readonly $fault: "server";
54
-
55
- constructor(opts: __ExceptionOptionType<KMSInternalException, __BaseException>);
56
- }
57
-
58
- export declare class KMSInvalidStateException extends __BaseException {
59
- readonly name: "KMSInvalidStateException";
60
- readonly $fault: "client";
61
-
62
- constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
63
- }
64
-
65
- export declare class NotFoundException extends __BaseException {
66
- readonly name: "NotFoundException";
67
- readonly $fault: "client";
68
-
69
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
70
- }
71
-
72
- export declare class CloudHsmClusterInUseException extends __BaseException {
73
- readonly name: "CloudHsmClusterInUseException";
74
- readonly $fault: "client";
75
-
76
- constructor(opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>);
77
- }
78
-
79
- export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
80
- readonly name: "CloudHsmClusterInvalidConfigurationException";
81
- readonly $fault: "client";
82
-
83
- constructor(opts: __ExceptionOptionType<CloudHsmClusterInvalidConfigurationException, __BaseException>);
84
- }
85
-
86
- export declare class CloudHsmClusterNotActiveException extends __BaseException {
87
- readonly name: "CloudHsmClusterNotActiveException";
88
- readonly $fault: "client";
89
-
90
- constructor(opts: __ExceptionOptionType<CloudHsmClusterNotActiveException, __BaseException>);
91
- }
92
-
93
- export declare class CloudHsmClusterNotFoundException extends __BaseException {
94
- readonly name: "CloudHsmClusterNotFoundException";
95
- readonly $fault: "client";
96
-
97
- constructor(opts: __ExceptionOptionType<CloudHsmClusterNotFoundException, __BaseException>);
98
- }
99
-
100
- export declare class CloudHsmClusterNotRelatedException extends __BaseException {
101
- readonly name: "CloudHsmClusterNotRelatedException";
102
- readonly $fault: "client";
103
-
104
- constructor(opts: __ExceptionOptionType<CloudHsmClusterNotRelatedException, __BaseException>);
105
- }
106
- export interface ConnectCustomKeyStoreRequest {
107
-
108
- CustomKeyStoreId: string | undefined;
109
- }
110
- export interface ConnectCustomKeyStoreResponse {
111
- }
112
-
113
- export declare class CustomKeyStoreInvalidStateException extends __BaseException {
114
- readonly name: "CustomKeyStoreInvalidStateException";
115
- readonly $fault: "client";
116
-
117
- constructor(opts: __ExceptionOptionType<CustomKeyStoreInvalidStateException, __BaseException>);
118
- }
119
-
120
- export declare class CustomKeyStoreNotFoundException extends __BaseException {
121
- readonly name: "CustomKeyStoreNotFoundException";
122
- readonly $fault: "client";
123
-
124
- constructor(opts: __ExceptionOptionType<CustomKeyStoreNotFoundException, __BaseException>);
125
- }
126
- export declare enum ConnectionErrorCodeType {
127
- CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
128
- INSUFFICIENT_CLOUDHSM_HSMS = "INSUFFICIENT_CLOUDHSM_HSMS",
129
- INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET",
130
- INTERNAL_ERROR = "INTERNAL_ERROR",
131
- INVALID_CREDENTIALS = "INVALID_CREDENTIALS",
132
- NETWORK_ERRORS = "NETWORK_ERRORS",
133
- SUBNET_NOT_FOUND = "SUBNET_NOT_FOUND",
134
- USER_LOCKED_OUT = "USER_LOCKED_OUT",
135
- USER_LOGGED_IN = "USER_LOGGED_IN",
136
- USER_NOT_FOUND = "USER_NOT_FOUND"
137
- }
138
- export declare enum ConnectionStateType {
139
- CONNECTED = "CONNECTED",
140
- CONNECTING = "CONNECTING",
141
- DISCONNECTED = "DISCONNECTED",
142
- DISCONNECTING = "DISCONNECTING",
143
- FAILED = "FAILED"
144
- }
145
- export interface CreateAliasRequest {
146
-
147
- AliasName: string | undefined;
148
-
149
- TargetKeyId: string | undefined;
150
- }
151
-
152
- export declare class InvalidAliasNameException extends __BaseException {
153
- readonly name: "InvalidAliasNameException";
154
- readonly $fault: "client";
155
-
156
- constructor(opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>);
157
- }
158
-
159
- export declare class LimitExceededException extends __BaseException {
160
- readonly name: "LimitExceededException";
161
- readonly $fault: "client";
162
-
163
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
164
- }
165
- export interface CreateCustomKeyStoreRequest {
166
-
167
- CustomKeyStoreName: string | undefined;
168
-
169
- CloudHsmClusterId?: string;
170
-
171
- TrustAnchorCertificate?: string;
172
-
173
- KeyStorePassword?: string;
174
- }
175
- export interface CreateCustomKeyStoreResponse {
176
-
177
- CustomKeyStoreId?: string;
178
- }
179
-
180
- export declare class CustomKeyStoreNameInUseException extends __BaseException {
181
- readonly name: "CustomKeyStoreNameInUseException";
182
- readonly $fault: "client";
183
-
184
- constructor(opts: __ExceptionOptionType<CustomKeyStoreNameInUseException, __BaseException>);
185
- }
186
-
187
- export declare class IncorrectTrustAnchorException extends __BaseException {
188
- readonly name: "IncorrectTrustAnchorException";
189
- readonly $fault: "client";
190
-
191
- constructor(opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>);
192
- }
193
-
194
- export interface GrantConstraints {
195
-
196
- EncryptionContextSubset?: Record<string, string>;
197
-
198
- EncryptionContextEquals?: Record<string, string>;
199
- }
200
- export declare enum GrantOperation {
201
- CreateGrant = "CreateGrant",
202
- Decrypt = "Decrypt",
203
- DescribeKey = "DescribeKey",
204
- Encrypt = "Encrypt",
205
- GenerateDataKey = "GenerateDataKey",
206
- GenerateDataKeyPair = "GenerateDataKeyPair",
207
- GenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlaintext",
208
- GenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext",
209
- GenerateMac = "GenerateMac",
210
- GetPublicKey = "GetPublicKey",
211
- ReEncryptFrom = "ReEncryptFrom",
212
- ReEncryptTo = "ReEncryptTo",
213
- RetireGrant = "RetireGrant",
214
- Sign = "Sign",
215
- Verify = "Verify",
216
- VerifyMac = "VerifyMac"
217
- }
218
- export interface CreateGrantRequest {
219
-
220
- KeyId: string | undefined;
221
-
222
- GranteePrincipal: string | undefined;
223
-
224
- RetiringPrincipal?: string;
225
-
226
- Operations: (GrantOperation | string)[] | undefined;
227
-
228
- Constraints?: GrantConstraints;
229
-
230
- GrantTokens?: string[];
231
-
232
- Name?: string;
233
- }
234
- export interface CreateGrantResponse {
235
-
236
- GrantToken?: string;
237
-
238
- GrantId?: string;
239
- }
240
-
241
- export declare class DisabledException extends __BaseException {
242
- readonly name: "DisabledException";
243
- readonly $fault: "client";
244
-
245
- constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
246
- }
247
-
248
- export declare class InvalidGrantTokenException extends __BaseException {
249
- readonly name: "InvalidGrantTokenException";
250
- readonly $fault: "client";
251
-
252
- constructor(opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>);
253
- }
254
- export declare enum CustomerMasterKeySpec {
255
- ECC_NIST_P256 = "ECC_NIST_P256",
256
- ECC_NIST_P384 = "ECC_NIST_P384",
257
- ECC_NIST_P521 = "ECC_NIST_P521",
258
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
259
- HMAC_224 = "HMAC_224",
260
- HMAC_256 = "HMAC_256",
261
- HMAC_384 = "HMAC_384",
262
- HMAC_512 = "HMAC_512",
263
- RSA_2048 = "RSA_2048",
264
- RSA_3072 = "RSA_3072",
265
- RSA_4096 = "RSA_4096",
266
- SM2 = "SM2",
267
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
268
- }
269
- export declare enum KeySpec {
270
- ECC_NIST_P256 = "ECC_NIST_P256",
271
- ECC_NIST_P384 = "ECC_NIST_P384",
272
- ECC_NIST_P521 = "ECC_NIST_P521",
273
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
274
- HMAC_224 = "HMAC_224",
275
- HMAC_256 = "HMAC_256",
276
- HMAC_384 = "HMAC_384",
277
- HMAC_512 = "HMAC_512",
278
- RSA_2048 = "RSA_2048",
279
- RSA_3072 = "RSA_3072",
280
- RSA_4096 = "RSA_4096",
281
- SM2 = "SM2",
282
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
283
- }
284
- export declare enum KeyUsageType {
285
- ENCRYPT_DECRYPT = "ENCRYPT_DECRYPT",
286
- GENERATE_VERIFY_MAC = "GENERATE_VERIFY_MAC",
287
- SIGN_VERIFY = "SIGN_VERIFY"
288
- }
289
- export declare enum OriginType {
290
- AWS_CLOUDHSM = "AWS_CLOUDHSM",
291
- AWS_KMS = "AWS_KMS",
292
- EXTERNAL = "EXTERNAL"
293
- }
294
-
295
- export interface Tag {
296
-
297
- TagKey: string | undefined;
298
-
299
- TagValue: string | undefined;
300
- }
301
- export interface CreateKeyRequest {
302
-
303
- Policy?: string;
304
-
305
- Description?: string;
306
-
307
- KeyUsage?: KeyUsageType | string;
308
-
309
- CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
310
-
311
- KeySpec?: KeySpec | string;
312
-
313
- Origin?: OriginType | string;
314
-
315
- CustomKeyStoreId?: string;
316
-
317
- BypassPolicyLockoutSafetyCheck?: boolean;
318
-
319
- Tags?: Tag[];
320
-
321
- MultiRegion?: boolean;
322
- }
323
- export declare enum EncryptionAlgorithmSpec {
324
- RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
325
- RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
326
- SM2PKE = "SM2PKE",
327
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
328
- }
329
- export declare enum ExpirationModelType {
330
- KEY_MATERIAL_DOES_NOT_EXPIRE = "KEY_MATERIAL_DOES_NOT_EXPIRE",
331
- KEY_MATERIAL_EXPIRES = "KEY_MATERIAL_EXPIRES"
332
- }
333
- export declare enum KeyManagerType {
334
- AWS = "AWS",
335
- CUSTOMER = "CUSTOMER"
336
- }
337
- export declare enum KeyState {
338
- Creating = "Creating",
339
- Disabled = "Disabled",
340
- Enabled = "Enabled",
341
- PendingDeletion = "PendingDeletion",
342
- PendingImport = "PendingImport",
343
- PendingReplicaDeletion = "PendingReplicaDeletion",
344
- Unavailable = "Unavailable",
345
- Updating = "Updating"
346
- }
347
- export declare enum MacAlgorithmSpec {
348
- HMAC_SHA_224 = "HMAC_SHA_224",
349
- HMAC_SHA_256 = "HMAC_SHA_256",
350
- HMAC_SHA_384 = "HMAC_SHA_384",
351
- HMAC_SHA_512 = "HMAC_SHA_512"
352
- }
353
- export declare enum MultiRegionKeyType {
354
- PRIMARY = "PRIMARY",
355
- REPLICA = "REPLICA"
356
- }
357
-
358
- export interface MultiRegionKey {
359
-
360
- Arn?: string;
361
-
362
- Region?: string;
363
- }
364
-
365
- export interface MultiRegionConfiguration {
366
-
367
- MultiRegionKeyType?: MultiRegionKeyType | string;
368
-
369
- PrimaryKey?: MultiRegionKey;
370
-
371
- ReplicaKeys?: MultiRegionKey[];
372
- }
373
- export declare enum SigningAlgorithmSpec {
374
- ECDSA_SHA_256 = "ECDSA_SHA_256",
375
- ECDSA_SHA_384 = "ECDSA_SHA_384",
376
- ECDSA_SHA_512 = "ECDSA_SHA_512",
377
- RSASSA_PKCS1_V1_5_SHA_256 = "RSASSA_PKCS1_V1_5_SHA_256",
378
- RSASSA_PKCS1_V1_5_SHA_384 = "RSASSA_PKCS1_V1_5_SHA_384",
379
- RSASSA_PKCS1_V1_5_SHA_512 = "RSASSA_PKCS1_V1_5_SHA_512",
380
- RSASSA_PSS_SHA_256 = "RSASSA_PSS_SHA_256",
381
- RSASSA_PSS_SHA_384 = "RSASSA_PSS_SHA_384",
382
- RSASSA_PSS_SHA_512 = "RSASSA_PSS_SHA_512",
383
- SM2DSA = "SM2DSA"
384
- }
385
-
386
- export interface KeyMetadata {
387
-
388
- AWSAccountId?: string;
389
-
390
- KeyId: string | undefined;
391
-
392
- Arn?: string;
393
-
394
- CreationDate?: Date;
395
-
396
- Enabled?: boolean;
397
-
398
- Description?: string;
399
-
400
- KeyUsage?: KeyUsageType | string;
401
-
402
- KeyState?: KeyState | string;
403
-
404
- DeletionDate?: Date;
405
-
406
- ValidTo?: Date;
407
-
408
- Origin?: OriginType | string;
409
-
410
- CustomKeyStoreId?: string;
411
-
412
- CloudHsmClusterId?: string;
413
-
414
- ExpirationModel?: ExpirationModelType | string;
415
-
416
- KeyManager?: KeyManagerType | string;
417
-
418
- CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
419
-
420
- KeySpec?: KeySpec | string;
421
-
422
- EncryptionAlgorithms?: (EncryptionAlgorithmSpec | string)[];
423
-
424
- SigningAlgorithms?: (SigningAlgorithmSpec | string)[];
425
-
426
- MultiRegion?: boolean;
427
-
428
- MultiRegionConfiguration?: MultiRegionConfiguration;
429
-
430
- PendingDeletionWindowInDays?: number;
431
-
432
- MacAlgorithms?: (MacAlgorithmSpec | string)[];
433
- }
434
- export interface CreateKeyResponse {
435
-
436
- KeyMetadata?: KeyMetadata;
437
- }
438
-
439
- export declare class MalformedPolicyDocumentException extends __BaseException {
440
- readonly name: "MalformedPolicyDocumentException";
441
- readonly $fault: "client";
442
-
443
- constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
444
- }
445
-
446
- export declare class TagException extends __BaseException {
447
- readonly name: "TagException";
448
- readonly $fault: "client";
449
-
450
- constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
451
- }
452
-
453
- export declare class UnsupportedOperationException extends __BaseException {
454
- readonly name: "UnsupportedOperationException";
455
- readonly $fault: "client";
456
-
457
- constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
458
- }
459
-
460
- export declare class CustomKeyStoreHasCMKsException extends __BaseException {
461
- readonly name: "CustomKeyStoreHasCMKsException";
462
- readonly $fault: "client";
463
-
464
- constructor(opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>);
465
- }
466
-
467
- export interface CustomKeyStoresListEntry {
468
-
469
- CustomKeyStoreId?: string;
470
-
471
- CustomKeyStoreName?: string;
472
-
473
- CloudHsmClusterId?: string;
474
-
475
- TrustAnchorCertificate?: string;
476
-
477
- ConnectionState?: ConnectionStateType | string;
478
-
479
- ConnectionErrorCode?: ConnectionErrorCodeType | string;
480
-
481
- CreationDate?: Date;
482
- }
483
- export declare enum DataKeyPairSpec {
484
- ECC_NIST_P256 = "ECC_NIST_P256",
485
- ECC_NIST_P384 = "ECC_NIST_P384",
486
- ECC_NIST_P521 = "ECC_NIST_P521",
487
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
488
- RSA_2048 = "RSA_2048",
489
- RSA_3072 = "RSA_3072",
490
- RSA_4096 = "RSA_4096",
491
- SM2 = "SM2"
492
- }
493
- export declare enum DataKeySpec {
494
- AES_128 = "AES_128",
495
- AES_256 = "AES_256"
496
- }
497
- export interface DecryptRequest {
498
-
499
- CiphertextBlob: Uint8Array | undefined;
500
-
501
- EncryptionContext?: Record<string, string>;
502
-
503
- GrantTokens?: string[];
504
-
505
- KeyId?: string;
506
-
507
- EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
508
- }
509
- export interface DecryptResponse {
510
-
511
- KeyId?: string;
512
-
513
- Plaintext?: Uint8Array;
514
-
515
- EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
516
- }
517
-
518
- export declare class IncorrectKeyException extends __BaseException {
519
- readonly name: "IncorrectKeyException";
520
- readonly $fault: "client";
521
-
522
- constructor(opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>);
523
- }
524
-
525
- export declare class InvalidCiphertextException extends __BaseException {
526
- readonly name: "InvalidCiphertextException";
527
- readonly $fault: "client";
528
-
529
- constructor(opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>);
530
- }
531
-
532
- export declare class InvalidKeyUsageException extends __BaseException {
533
- readonly name: "InvalidKeyUsageException";
534
- readonly $fault: "client";
535
-
536
- constructor(opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>);
537
- }
538
-
539
- export declare class KeyUnavailableException extends __BaseException {
540
- readonly name: "KeyUnavailableException";
541
- readonly $fault: "server";
542
-
543
- constructor(opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>);
544
- }
545
- export interface DeleteAliasRequest {
546
-
547
- AliasName: string | undefined;
548
- }
549
- export interface DeleteCustomKeyStoreRequest {
550
-
551
- CustomKeyStoreId: string | undefined;
552
- }
553
- export interface DeleteCustomKeyStoreResponse {
554
- }
555
- export interface DeleteImportedKeyMaterialRequest {
556
-
557
- KeyId: string | undefined;
558
- }
559
- export interface DescribeCustomKeyStoresRequest {
560
-
561
- CustomKeyStoreId?: string;
562
-
563
- CustomKeyStoreName?: string;
564
-
565
- Limit?: number;
566
-
567
- Marker?: string;
568
- }
569
- export interface DescribeCustomKeyStoresResponse {
570
-
571
- CustomKeyStores?: CustomKeyStoresListEntry[];
572
-
573
- NextMarker?: string;
574
-
575
- Truncated?: boolean;
576
- }
577
-
578
- export declare class InvalidMarkerException extends __BaseException {
579
- readonly name: "InvalidMarkerException";
580
- readonly $fault: "client";
581
-
582
- constructor(opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>);
583
- }
584
- export interface DescribeKeyRequest {
585
-
586
- KeyId: string | undefined;
587
-
588
- GrantTokens?: string[];
589
- }
590
- export interface DescribeKeyResponse {
591
-
592
- KeyMetadata?: KeyMetadata;
593
- }
594
- export interface DisableKeyRequest {
595
-
596
- KeyId: string | undefined;
597
- }
598
- export interface DisableKeyRotationRequest {
599
-
600
- KeyId: string | undefined;
601
- }
602
- export interface DisconnectCustomKeyStoreRequest {
603
-
604
- CustomKeyStoreId: string | undefined;
605
- }
606
- export interface DisconnectCustomKeyStoreResponse {
607
- }
608
- export interface EnableKeyRequest {
609
-
610
- KeyId: string | undefined;
611
- }
612
- export interface EnableKeyRotationRequest {
613
-
614
- KeyId: string | undefined;
615
- }
616
- export interface EncryptRequest {
617
-
618
- KeyId: string | undefined;
619
-
620
- Plaintext: Uint8Array | undefined;
621
-
622
- EncryptionContext?: Record<string, string>;
623
-
624
- GrantTokens?: string[];
625
-
626
- EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
627
- }
628
- export interface EncryptResponse {
629
-
630
- CiphertextBlob?: Uint8Array;
631
-
632
- KeyId?: string;
633
-
634
- EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
635
- }
636
-
637
- export declare class ExpiredImportTokenException extends __BaseException {
638
- readonly name: "ExpiredImportTokenException";
639
- readonly $fault: "client";
640
-
641
- constructor(opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>);
642
- }
643
- export interface GenerateDataKeyRequest {
644
-
645
- KeyId: string | undefined;
646
-
647
- EncryptionContext?: Record<string, string>;
648
-
649
- NumberOfBytes?: number;
650
-
651
- KeySpec?: DataKeySpec | string;
652
-
653
- GrantTokens?: string[];
654
- }
655
- export interface GenerateDataKeyResponse {
656
-
657
- CiphertextBlob?: Uint8Array;
658
-
659
- Plaintext?: Uint8Array;
660
-
661
- KeyId?: string;
662
- }
663
- export interface GenerateDataKeyPairRequest {
664
-
665
- EncryptionContext?: Record<string, string>;
666
-
667
- KeyId: string | undefined;
668
-
669
- KeyPairSpec: DataKeyPairSpec | string | undefined;
670
-
671
- GrantTokens?: string[];
672
- }
673
- export interface GenerateDataKeyPairResponse {
674
-
675
- PrivateKeyCiphertextBlob?: Uint8Array;
676
-
677
- PrivateKeyPlaintext?: Uint8Array;
678
-
679
- PublicKey?: Uint8Array;
680
-
681
- KeyId?: string;
682
-
683
- KeyPairSpec?: DataKeyPairSpec | string;
684
- }
685
- export interface GenerateDataKeyPairWithoutPlaintextRequest {
686
-
687
- EncryptionContext?: Record<string, string>;
688
-
689
- KeyId: string | undefined;
690
-
691
- KeyPairSpec: DataKeyPairSpec | string | undefined;
692
-
693
- GrantTokens?: string[];
694
- }
695
- export interface GenerateDataKeyPairWithoutPlaintextResponse {
696
-
697
- PrivateKeyCiphertextBlob?: Uint8Array;
698
-
699
- PublicKey?: Uint8Array;
700
-
701
- KeyId?: string;
702
-
703
- KeyPairSpec?: DataKeyPairSpec | string;
704
- }
705
- export interface GenerateDataKeyWithoutPlaintextRequest {
706
-
707
- KeyId: string | undefined;
708
-
709
- EncryptionContext?: Record<string, string>;
710
-
711
- KeySpec?: DataKeySpec | string;
712
-
713
- NumberOfBytes?: number;
714
-
715
- GrantTokens?: string[];
716
- }
717
- export interface GenerateDataKeyWithoutPlaintextResponse {
718
-
719
- CiphertextBlob?: Uint8Array;
720
-
721
- KeyId?: string;
722
- }
723
- export interface GenerateMacRequest {
724
-
725
- Message: Uint8Array | undefined;
726
-
727
- KeyId: string | undefined;
728
-
729
- MacAlgorithm: MacAlgorithmSpec | string | undefined;
730
-
731
- GrantTokens?: string[];
732
- }
733
- export interface GenerateMacResponse {
734
-
735
- Mac?: Uint8Array;
736
-
737
- MacAlgorithm?: MacAlgorithmSpec | string;
738
-
739
- KeyId?: string;
740
- }
741
- export interface GenerateRandomRequest {
742
-
743
- NumberOfBytes?: number;
744
-
745
- CustomKeyStoreId?: string;
746
- }
747
- export interface GenerateRandomResponse {
748
-
749
- Plaintext?: Uint8Array;
750
- }
751
- export interface GetKeyPolicyRequest {
752
-
753
- KeyId: string | undefined;
754
-
755
- PolicyName: string | undefined;
756
- }
757
- export interface GetKeyPolicyResponse {
758
-
759
- Policy?: string;
760
- }
761
- export interface GetKeyRotationStatusRequest {
762
-
763
- KeyId: string | undefined;
764
- }
765
- export interface GetKeyRotationStatusResponse {
766
-
767
- KeyRotationEnabled?: boolean;
768
- }
769
- export declare enum WrappingKeySpec {
770
- RSA_2048 = "RSA_2048"
771
- }
772
- export interface GetParametersForImportRequest {
773
-
774
- KeyId: string | undefined;
775
-
776
- WrappingAlgorithm: AlgorithmSpec | string | undefined;
777
-
778
- WrappingKeySpec: WrappingKeySpec | string | undefined;
779
- }
780
- export interface GetParametersForImportResponse {
781
-
782
- KeyId?: string;
783
-
784
- ImportToken?: Uint8Array;
785
-
786
- PublicKey?: Uint8Array;
787
-
788
- ParametersValidTo?: Date;
789
- }
790
- export interface GetPublicKeyRequest {
791
-
792
- KeyId: string | undefined;
793
-
794
- GrantTokens?: string[];
795
- }
796
- export interface GetPublicKeyResponse {
797
-
798
- KeyId?: string;
799
-
800
- PublicKey?: Uint8Array;
801
-
802
- CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
803
-
804
- KeySpec?: KeySpec | string;
805
-
806
- KeyUsage?: KeyUsageType | string;
807
-
808
- EncryptionAlgorithms?: (EncryptionAlgorithmSpec | string)[];
809
-
810
- SigningAlgorithms?: (SigningAlgorithmSpec | string)[];
811
- }
812
-
813
- export interface GrantListEntry {
814
-
815
- KeyId?: string;
816
-
817
- GrantId?: string;
818
-
819
- Name?: string;
820
-
821
- CreationDate?: Date;
822
-
823
- GranteePrincipal?: string;
824
-
825
- RetiringPrincipal?: string;
826
-
827
- IssuingAccount?: string;
828
-
829
- Operations?: (GrantOperation | string)[];
830
-
831
- Constraints?: GrantConstraints;
832
- }
833
- export interface ImportKeyMaterialRequest {
834
-
835
- KeyId: string | undefined;
836
-
837
- ImportToken: Uint8Array | undefined;
838
-
839
- EncryptedKeyMaterial: Uint8Array | undefined;
840
-
841
- ValidTo?: Date;
842
-
843
- ExpirationModel?: ExpirationModelType | string;
844
- }
845
- export interface ImportKeyMaterialResponse {
846
- }
847
-
848
- export declare class IncorrectKeyMaterialException extends __BaseException {
849
- readonly name: "IncorrectKeyMaterialException";
850
- readonly $fault: "client";
851
-
852
- constructor(opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>);
853
- }
854
-
855
- export declare class InvalidImportTokenException extends __BaseException {
856
- readonly name: "InvalidImportTokenException";
857
- readonly $fault: "client";
858
-
859
- constructor(opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>);
860
- }
861
-
862
- export declare class InvalidGrantIdException extends __BaseException {
863
- readonly name: "InvalidGrantIdException";
864
- readonly $fault: "client";
865
-
866
- constructor(opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>);
867
- }
868
-
869
- export interface KeyListEntry {
870
-
871
- KeyId?: string;
872
-
873
- KeyArn?: string;
874
- }
875
-
876
- export declare class KMSInvalidMacException extends __BaseException {
877
- readonly name: "KMSInvalidMacException";
878
- readonly $fault: "client";
879
-
880
- constructor(opts: __ExceptionOptionType<KMSInvalidMacException, __BaseException>);
881
- }
882
-
883
- export declare class KMSInvalidSignatureException extends __BaseException {
884
- readonly name: "KMSInvalidSignatureException";
885
- readonly $fault: "client";
886
-
887
- constructor(opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>);
888
- }
889
- export interface ListAliasesRequest {
890
-
891
- KeyId?: string;
892
-
893
- Limit?: number;
894
-
895
- Marker?: string;
896
- }
897
- export interface ListAliasesResponse {
898
-
899
- Aliases?: AliasListEntry[];
900
-
901
- NextMarker?: string;
902
-
903
- Truncated?: boolean;
904
- }
905
- export interface ListGrantsRequest {
906
-
907
- Limit?: number;
908
-
909
- Marker?: string;
910
-
911
- KeyId: string | undefined;
912
-
913
- GrantId?: string;
914
-
915
- GranteePrincipal?: string;
916
- }
917
- export interface ListGrantsResponse {
918
-
919
- Grants?: GrantListEntry[];
920
-
921
- NextMarker?: string;
922
-
923
- Truncated?: boolean;
924
- }
925
- export interface ListKeyPoliciesRequest {
926
-
927
- KeyId: string | undefined;
928
-
929
- Limit?: number;
930
-
931
- Marker?: string;
932
- }
933
- export interface ListKeyPoliciesResponse {
934
-
935
- PolicyNames?: string[];
936
-
937
- NextMarker?: string;
938
-
939
- Truncated?: boolean;
940
- }
941
- export interface ListKeysRequest {
942
-
943
- Limit?: number;
944
-
945
- Marker?: string;
946
- }
947
- export interface ListKeysResponse {
948
-
949
- Keys?: KeyListEntry[];
950
-
951
- NextMarker?: string;
952
-
953
- Truncated?: boolean;
954
- }
955
- export interface ListResourceTagsRequest {
956
-
957
- KeyId: string | undefined;
958
-
959
- Limit?: number;
960
-
961
- Marker?: string;
962
- }
963
- export interface ListResourceTagsResponse {
964
-
965
- Tags?: Tag[];
966
-
967
- NextMarker?: string;
968
-
969
- Truncated?: boolean;
970
- }
971
- export interface ListRetirableGrantsRequest {
972
-
973
- Limit?: number;
974
-
975
- Marker?: string;
976
-
977
- RetiringPrincipal: string | undefined;
978
- }
979
- export declare enum MessageType {
980
- DIGEST = "DIGEST",
981
- RAW = "RAW"
982
- }
983
- export interface PutKeyPolicyRequest {
984
-
985
- KeyId: string | undefined;
986
-
987
- PolicyName: string | undefined;
988
-
989
- Policy: string | undefined;
990
-
991
- BypassPolicyLockoutSafetyCheck?: boolean;
992
- }
993
- export interface ReEncryptRequest {
994
-
995
- CiphertextBlob: Uint8Array | undefined;
996
-
997
- SourceEncryptionContext?: Record<string, string>;
998
-
999
- SourceKeyId?: string;
1000
-
1001
- DestinationKeyId: string | undefined;
1002
-
1003
- DestinationEncryptionContext?: Record<string, string>;
1004
-
1005
- SourceEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
1006
-
1007
- DestinationEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
1008
-
1009
- GrantTokens?: string[];
1010
- }
1011
- export interface ReEncryptResponse {
1012
-
1013
- CiphertextBlob?: Uint8Array;
1014
-
1015
- SourceKeyId?: string;
1016
-
1017
- KeyId?: string;
1018
-
1019
- SourceEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
1020
-
1021
- DestinationEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
1022
- }
1023
- export interface ReplicateKeyRequest {
1024
-
1025
- KeyId: string | undefined;
1026
-
1027
- ReplicaRegion: string | undefined;
1028
-
1029
- Policy?: string;
1030
-
1031
- BypassPolicyLockoutSafetyCheck?: boolean;
1032
-
1033
- Description?: string;
1034
-
1035
- Tags?: Tag[];
1036
- }
1037
- export interface ReplicateKeyResponse {
1038
-
1039
- ReplicaKeyMetadata?: KeyMetadata;
1040
-
1041
- ReplicaPolicy?: string;
1042
-
1043
- ReplicaTags?: Tag[];
1044
- }
1045
- export interface RetireGrantRequest {
1046
-
1047
- GrantToken?: string;
1048
-
1049
- KeyId?: string;
1050
-
1051
- GrantId?: string;
1052
- }
1053
- export interface RevokeGrantRequest {
1054
-
1055
- KeyId: string | undefined;
1056
-
1057
- GrantId: string | undefined;
1058
- }
1059
- export interface ScheduleKeyDeletionRequest {
1060
-
1061
- KeyId: string | undefined;
1062
-
1063
- PendingWindowInDays?: number;
1064
- }
1065
- export interface ScheduleKeyDeletionResponse {
1066
-
1067
- KeyId?: string;
1068
-
1069
- DeletionDate?: Date;
1070
-
1071
- KeyState?: KeyState | string;
1072
-
1073
- PendingWindowInDays?: number;
1074
- }
1075
- export interface SignRequest {
1076
-
1077
- KeyId: string | undefined;
1078
-
1079
- Message: Uint8Array | undefined;
1080
-
1081
- MessageType?: MessageType | string;
1082
-
1083
- GrantTokens?: string[];
1084
-
1085
- SigningAlgorithm: SigningAlgorithmSpec | string | undefined;
1086
- }
1087
- export interface SignResponse {
1088
-
1089
- KeyId?: string;
1090
-
1091
- Signature?: Uint8Array;
1092
-
1093
- SigningAlgorithm?: SigningAlgorithmSpec | string;
1094
- }
1095
- export interface TagResourceRequest {
1096
-
1097
- KeyId: string | undefined;
1098
-
1099
- Tags: Tag[] | undefined;
1100
- }
1101
- export interface UntagResourceRequest {
1102
-
1103
- KeyId: string | undefined;
1104
-
1105
- TagKeys: string[] | undefined;
1106
- }
1107
- export interface UpdateAliasRequest {
1108
-
1109
- AliasName: string | undefined;
1110
-
1111
- TargetKeyId: string | undefined;
1112
- }
1113
- export interface UpdateCustomKeyStoreRequest {
1114
-
1115
- CustomKeyStoreId: string | undefined;
1116
-
1117
- NewCustomKeyStoreName?: string;
1118
-
1119
- KeyStorePassword?: string;
1120
-
1121
- CloudHsmClusterId?: string;
1122
- }
1123
- export interface UpdateCustomKeyStoreResponse {
1124
- }
1125
- export interface UpdateKeyDescriptionRequest {
1126
-
1127
- KeyId: string | undefined;
1128
-
1129
- Description: string | undefined;
1130
- }
1131
- export interface UpdatePrimaryRegionRequest {
1132
-
1133
- KeyId: string | undefined;
1134
-
1135
- PrimaryRegion: string | undefined;
1136
- }
1137
- export interface VerifyRequest {
1138
-
1139
- KeyId: string | undefined;
1140
-
1141
- Message: Uint8Array | undefined;
1142
-
1143
- MessageType?: MessageType | string;
1144
-
1145
- Signature: Uint8Array | undefined;
1146
-
1147
- SigningAlgorithm: SigningAlgorithmSpec | string | undefined;
1148
-
1149
- GrantTokens?: string[];
1150
- }
1151
- export interface VerifyResponse {
1152
-
1153
- KeyId?: string;
1154
-
1155
- SignatureValid?: boolean;
1156
-
1157
- SigningAlgorithm?: SigningAlgorithmSpec | string;
1158
- }
1159
- export interface VerifyMacRequest {
1160
-
1161
- Message: Uint8Array | undefined;
1162
-
1163
- KeyId: string | undefined;
1164
-
1165
- MacAlgorithm: MacAlgorithmSpec | string | undefined;
1166
-
1167
- Mac: Uint8Array | undefined;
1168
-
1169
- GrantTokens?: string[];
1170
- }
1171
- export interface VerifyMacResponse {
1172
-
1173
- KeyId?: string;
1174
-
1175
- MacValid?: boolean;
1176
-
1177
- MacAlgorithm?: MacAlgorithmSpec | string;
1178
- }
1179
-
1180
- export declare const AliasListEntryFilterSensitiveLog: (obj: AliasListEntry) => any;
1181
-
1182
- export declare const CancelKeyDeletionRequestFilterSensitiveLog: (obj: CancelKeyDeletionRequest) => any;
1183
-
1184
- export declare const CancelKeyDeletionResponseFilterSensitiveLog: (obj: CancelKeyDeletionResponse) => any;
1185
-
1186
- export declare const ConnectCustomKeyStoreRequestFilterSensitiveLog: (obj: ConnectCustomKeyStoreRequest) => any;
1187
-
1188
- export declare const ConnectCustomKeyStoreResponseFilterSensitiveLog: (obj: ConnectCustomKeyStoreResponse) => any;
1189
-
1190
- export declare const CreateAliasRequestFilterSensitiveLog: (obj: CreateAliasRequest) => any;
1191
-
1192
- export declare const CreateCustomKeyStoreRequestFilterSensitiveLog: (obj: CreateCustomKeyStoreRequest) => any;
1193
-
1194
- export declare const CreateCustomKeyStoreResponseFilterSensitiveLog: (obj: CreateCustomKeyStoreResponse) => any;
1195
-
1196
- export declare const GrantConstraintsFilterSensitiveLog: (obj: GrantConstraints) => any;
1197
-
1198
- export declare const CreateGrantRequestFilterSensitiveLog: (obj: CreateGrantRequest) => any;
1199
-
1200
- export declare const CreateGrantResponseFilterSensitiveLog: (obj: CreateGrantResponse) => any;
1201
-
1202
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1203
-
1204
- export declare const CreateKeyRequestFilterSensitiveLog: (obj: CreateKeyRequest) => any;
1205
-
1206
- export declare const MultiRegionKeyFilterSensitiveLog: (obj: MultiRegionKey) => any;
1207
-
1208
- export declare const MultiRegionConfigurationFilterSensitiveLog: (obj: MultiRegionConfiguration) => any;
1209
-
1210
- export declare const KeyMetadataFilterSensitiveLog: (obj: KeyMetadata) => any;
1211
-
1212
- export declare const CreateKeyResponseFilterSensitiveLog: (obj: CreateKeyResponse) => any;
1213
-
1214
- export declare const CustomKeyStoresListEntryFilterSensitiveLog: (obj: CustomKeyStoresListEntry) => any;
1215
-
1216
- export declare const DecryptRequestFilterSensitiveLog: (obj: DecryptRequest) => any;
1217
-
1218
- export declare const DecryptResponseFilterSensitiveLog: (obj: DecryptResponse) => any;
1219
-
1220
- export declare const DeleteAliasRequestFilterSensitiveLog: (obj: DeleteAliasRequest) => any;
1221
-
1222
- export declare const DeleteCustomKeyStoreRequestFilterSensitiveLog: (obj: DeleteCustomKeyStoreRequest) => any;
1223
-
1224
- export declare const DeleteCustomKeyStoreResponseFilterSensitiveLog: (obj: DeleteCustomKeyStoreResponse) => any;
1225
-
1226
- export declare const DeleteImportedKeyMaterialRequestFilterSensitiveLog: (obj: DeleteImportedKeyMaterialRequest) => any;
1227
-
1228
- export declare const DescribeCustomKeyStoresRequestFilterSensitiveLog: (obj: DescribeCustomKeyStoresRequest) => any;
1229
-
1230
- export declare const DescribeCustomKeyStoresResponseFilterSensitiveLog: (obj: DescribeCustomKeyStoresResponse) => any;
1231
-
1232
- export declare const DescribeKeyRequestFilterSensitiveLog: (obj: DescribeKeyRequest) => any;
1233
-
1234
- export declare const DescribeKeyResponseFilterSensitiveLog: (obj: DescribeKeyResponse) => any;
1235
-
1236
- export declare const DisableKeyRequestFilterSensitiveLog: (obj: DisableKeyRequest) => any;
1237
-
1238
- export declare const DisableKeyRotationRequestFilterSensitiveLog: (obj: DisableKeyRotationRequest) => any;
1239
-
1240
- export declare const DisconnectCustomKeyStoreRequestFilterSensitiveLog: (obj: DisconnectCustomKeyStoreRequest) => any;
1241
-
1242
- export declare const DisconnectCustomKeyStoreResponseFilterSensitiveLog: (obj: DisconnectCustomKeyStoreResponse) => any;
1243
-
1244
- export declare const EnableKeyRequestFilterSensitiveLog: (obj: EnableKeyRequest) => any;
1245
-
1246
- export declare const EnableKeyRotationRequestFilterSensitiveLog: (obj: EnableKeyRotationRequest) => any;
1247
-
1248
- export declare const EncryptRequestFilterSensitiveLog: (obj: EncryptRequest) => any;
1249
-
1250
- export declare const EncryptResponseFilterSensitiveLog: (obj: EncryptResponse) => any;
1251
-
1252
- export declare const GenerateDataKeyRequestFilterSensitiveLog: (obj: GenerateDataKeyRequest) => any;
1253
-
1254
- export declare const GenerateDataKeyResponseFilterSensitiveLog: (obj: GenerateDataKeyResponse) => any;
1255
-
1256
- export declare const GenerateDataKeyPairRequestFilterSensitiveLog: (obj: GenerateDataKeyPairRequest) => any;
1257
-
1258
- export declare const GenerateDataKeyPairResponseFilterSensitiveLog: (obj: GenerateDataKeyPairResponse) => any;
1259
-
1260
- export declare const GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextRequest) => any;
1261
-
1262
- export declare const GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog: (obj: GenerateDataKeyPairWithoutPlaintextResponse) => any;
1263
-
1264
- export declare const GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextRequest) => any;
1265
-
1266
- export declare const GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog: (obj: GenerateDataKeyWithoutPlaintextResponse) => any;
1267
-
1268
- export declare const GenerateMacRequestFilterSensitiveLog: (obj: GenerateMacRequest) => any;
1269
-
1270
- export declare const GenerateMacResponseFilterSensitiveLog: (obj: GenerateMacResponse) => any;
1271
-
1272
- export declare const GenerateRandomRequestFilterSensitiveLog: (obj: GenerateRandomRequest) => any;
1273
-
1274
- export declare const GenerateRandomResponseFilterSensitiveLog: (obj: GenerateRandomResponse) => any;
1275
-
1276
- export declare const GetKeyPolicyRequestFilterSensitiveLog: (obj: GetKeyPolicyRequest) => any;
1277
-
1278
- export declare const GetKeyPolicyResponseFilterSensitiveLog: (obj: GetKeyPolicyResponse) => any;
1279
-
1280
- export declare const GetKeyRotationStatusRequestFilterSensitiveLog: (obj: GetKeyRotationStatusRequest) => any;
1281
-
1282
- export declare const GetKeyRotationStatusResponseFilterSensitiveLog: (obj: GetKeyRotationStatusResponse) => any;
1283
-
1284
- export declare const GetParametersForImportRequestFilterSensitiveLog: (obj: GetParametersForImportRequest) => any;
1285
-
1286
- export declare const GetParametersForImportResponseFilterSensitiveLog: (obj: GetParametersForImportResponse) => any;
1287
-
1288
- export declare const GetPublicKeyRequestFilterSensitiveLog: (obj: GetPublicKeyRequest) => any;
1289
-
1290
- export declare const GetPublicKeyResponseFilterSensitiveLog: (obj: GetPublicKeyResponse) => any;
1291
-
1292
- export declare const GrantListEntryFilterSensitiveLog: (obj: GrantListEntry) => any;
1293
-
1294
- export declare const ImportKeyMaterialRequestFilterSensitiveLog: (obj: ImportKeyMaterialRequest) => any;
1295
-
1296
- export declare const ImportKeyMaterialResponseFilterSensitiveLog: (obj: ImportKeyMaterialResponse) => any;
1297
-
1298
- export declare const KeyListEntryFilterSensitiveLog: (obj: KeyListEntry) => any;
1299
-
1300
- export declare const ListAliasesRequestFilterSensitiveLog: (obj: ListAliasesRequest) => any;
1301
-
1302
- export declare const ListAliasesResponseFilterSensitiveLog: (obj: ListAliasesResponse) => any;
1303
-
1304
- export declare const ListGrantsRequestFilterSensitiveLog: (obj: ListGrantsRequest) => any;
1305
-
1306
- export declare const ListGrantsResponseFilterSensitiveLog: (obj: ListGrantsResponse) => any;
1307
-
1308
- export declare const ListKeyPoliciesRequestFilterSensitiveLog: (obj: ListKeyPoliciesRequest) => any;
1309
-
1310
- export declare const ListKeyPoliciesResponseFilterSensitiveLog: (obj: ListKeyPoliciesResponse) => any;
1311
-
1312
- export declare const ListKeysRequestFilterSensitiveLog: (obj: ListKeysRequest) => any;
1313
-
1314
- export declare const ListKeysResponseFilterSensitiveLog: (obj: ListKeysResponse) => any;
1315
-
1316
- export declare const ListResourceTagsRequestFilterSensitiveLog: (obj: ListResourceTagsRequest) => any;
1317
-
1318
- export declare const ListResourceTagsResponseFilterSensitiveLog: (obj: ListResourceTagsResponse) => any;
1319
-
1320
- export declare const ListRetirableGrantsRequestFilterSensitiveLog: (obj: ListRetirableGrantsRequest) => any;
1321
-
1322
- export declare const PutKeyPolicyRequestFilterSensitiveLog: (obj: PutKeyPolicyRequest) => any;
1323
-
1324
- export declare const ReEncryptRequestFilterSensitiveLog: (obj: ReEncryptRequest) => any;
1325
-
1326
- export declare const ReEncryptResponseFilterSensitiveLog: (obj: ReEncryptResponse) => any;
1327
-
1328
- export declare const ReplicateKeyRequestFilterSensitiveLog: (obj: ReplicateKeyRequest) => any;
1329
-
1330
- export declare const ReplicateKeyResponseFilterSensitiveLog: (obj: ReplicateKeyResponse) => any;
1331
-
1332
- export declare const RetireGrantRequestFilterSensitiveLog: (obj: RetireGrantRequest) => any;
1333
-
1334
- export declare const RevokeGrantRequestFilterSensitiveLog: (obj: RevokeGrantRequest) => any;
1335
-
1336
- export declare const ScheduleKeyDeletionRequestFilterSensitiveLog: (obj: ScheduleKeyDeletionRequest) => any;
1337
-
1338
- export declare const ScheduleKeyDeletionResponseFilterSensitiveLog: (obj: ScheduleKeyDeletionResponse) => any;
1339
-
1340
- export declare const SignRequestFilterSensitiveLog: (obj: SignRequest) => any;
1341
-
1342
- export declare const SignResponseFilterSensitiveLog: (obj: SignResponse) => any;
1343
-
1344
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
1345
-
1346
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
1347
-
1348
- export declare const UpdateAliasRequestFilterSensitiveLog: (obj: UpdateAliasRequest) => any;
1349
-
1350
- export declare const UpdateCustomKeyStoreRequestFilterSensitiveLog: (obj: UpdateCustomKeyStoreRequest) => any;
1351
-
1352
- export declare const UpdateCustomKeyStoreResponseFilterSensitiveLog: (obj: UpdateCustomKeyStoreResponse) => any;
1353
-
1354
- export declare const UpdateKeyDescriptionRequestFilterSensitiveLog: (obj: UpdateKeyDescriptionRequest) => any;
1355
-
1356
- export declare const UpdatePrimaryRegionRequestFilterSensitiveLog: (obj: UpdatePrimaryRegionRequest) => any;
1357
-
1358
- export declare const VerifyRequestFilterSensitiveLog: (obj: VerifyRequest) => any;
1359
-
1360
- export declare const VerifyResponseFilterSensitiveLog: (obj: VerifyResponse) => any;
1361
-
1362
- export declare const VerifyMacRequestFilterSensitiveLog: (obj: VerifyMacRequest) => any;
1363
-
1364
- export declare const VerifyMacResponseFilterSensitiveLog: (obj: VerifyMacResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
+ export declare enum AlgorithmSpec {
4
+ RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
5
+ RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
6
+ RSAES_PKCS1_V1_5 = "RSAES_PKCS1_V1_5",
7
+ }
8
+ export interface AliasListEntry {
9
+ AliasName?: string;
10
+ AliasArn?: string;
11
+ TargetKeyId?: string;
12
+ CreationDate?: Date;
13
+ LastUpdatedDate?: Date;
14
+ }
15
+ export declare class AlreadyExistsException extends __BaseException {
16
+ readonly name: "AlreadyExistsException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
20
+ );
21
+ }
22
+ export interface CancelKeyDeletionRequest {
23
+ KeyId: string | undefined;
24
+ }
25
+ export interface CancelKeyDeletionResponse {
26
+ KeyId?: string;
27
+ }
28
+ export declare class DependencyTimeoutException extends __BaseException {
29
+ readonly name: "DependencyTimeoutException";
30
+ readonly $fault: "server";
31
+ constructor(
32
+ opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>
33
+ );
34
+ }
35
+ export declare class InvalidArnException extends __BaseException {
36
+ readonly name: "InvalidArnException";
37
+ readonly $fault: "client";
38
+ constructor(
39
+ opts: __ExceptionOptionType<InvalidArnException, __BaseException>
40
+ );
41
+ }
42
+ export declare class KMSInternalException extends __BaseException {
43
+ readonly name: "KMSInternalException";
44
+ readonly $fault: "server";
45
+ constructor(
46
+ opts: __ExceptionOptionType<KMSInternalException, __BaseException>
47
+ );
48
+ }
49
+ export declare class KMSInvalidStateException extends __BaseException {
50
+ readonly name: "KMSInvalidStateException";
51
+ readonly $fault: "client";
52
+ constructor(
53
+ opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
54
+ );
55
+ }
56
+ export declare class NotFoundException extends __BaseException {
57
+ readonly name: "NotFoundException";
58
+ readonly $fault: "client";
59
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
60
+ }
61
+ export declare class CloudHsmClusterInUseException extends __BaseException {
62
+ readonly name: "CloudHsmClusterInUseException";
63
+ readonly $fault: "client";
64
+ constructor(
65
+ opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>
66
+ );
67
+ }
68
+ export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
69
+ readonly name: "CloudHsmClusterInvalidConfigurationException";
70
+ readonly $fault: "client";
71
+ constructor(
72
+ opts: __ExceptionOptionType<
73
+ CloudHsmClusterInvalidConfigurationException,
74
+ __BaseException
75
+ >
76
+ );
77
+ }
78
+ export declare class CloudHsmClusterNotActiveException extends __BaseException {
79
+ readonly name: "CloudHsmClusterNotActiveException";
80
+ readonly $fault: "client";
81
+ constructor(
82
+ opts: __ExceptionOptionType<
83
+ CloudHsmClusterNotActiveException,
84
+ __BaseException
85
+ >
86
+ );
87
+ }
88
+ export declare class CloudHsmClusterNotFoundException extends __BaseException {
89
+ readonly name: "CloudHsmClusterNotFoundException";
90
+ readonly $fault: "client";
91
+ constructor(
92
+ opts: __ExceptionOptionType<
93
+ CloudHsmClusterNotFoundException,
94
+ __BaseException
95
+ >
96
+ );
97
+ }
98
+ export declare class CloudHsmClusterNotRelatedException extends __BaseException {
99
+ readonly name: "CloudHsmClusterNotRelatedException";
100
+ readonly $fault: "client";
101
+ constructor(
102
+ opts: __ExceptionOptionType<
103
+ CloudHsmClusterNotRelatedException,
104
+ __BaseException
105
+ >
106
+ );
107
+ }
108
+ export interface ConnectCustomKeyStoreRequest {
109
+ CustomKeyStoreId: string | undefined;
110
+ }
111
+ export interface ConnectCustomKeyStoreResponse {}
112
+ export declare class CustomKeyStoreInvalidStateException extends __BaseException {
113
+ readonly name: "CustomKeyStoreInvalidStateException";
114
+ readonly $fault: "client";
115
+ constructor(
116
+ opts: __ExceptionOptionType<
117
+ CustomKeyStoreInvalidStateException,
118
+ __BaseException
119
+ >
120
+ );
121
+ }
122
+ export declare class CustomKeyStoreNotFoundException extends __BaseException {
123
+ readonly name: "CustomKeyStoreNotFoundException";
124
+ readonly $fault: "client";
125
+ constructor(
126
+ opts: __ExceptionOptionType<
127
+ CustomKeyStoreNotFoundException,
128
+ __BaseException
129
+ >
130
+ );
131
+ }
132
+ export declare enum ConnectionErrorCodeType {
133
+ CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
134
+ INSUFFICIENT_CLOUDHSM_HSMS = "INSUFFICIENT_CLOUDHSM_HSMS",
135
+ INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET",
136
+ INTERNAL_ERROR = "INTERNAL_ERROR",
137
+ INVALID_CREDENTIALS = "INVALID_CREDENTIALS",
138
+ NETWORK_ERRORS = "NETWORK_ERRORS",
139
+ SUBNET_NOT_FOUND = "SUBNET_NOT_FOUND",
140
+ USER_LOCKED_OUT = "USER_LOCKED_OUT",
141
+ USER_LOGGED_IN = "USER_LOGGED_IN",
142
+ USER_NOT_FOUND = "USER_NOT_FOUND",
143
+ }
144
+ export declare enum ConnectionStateType {
145
+ CONNECTED = "CONNECTED",
146
+ CONNECTING = "CONNECTING",
147
+ DISCONNECTED = "DISCONNECTED",
148
+ DISCONNECTING = "DISCONNECTING",
149
+ FAILED = "FAILED",
150
+ }
151
+ export interface CreateAliasRequest {
152
+ AliasName: string | undefined;
153
+ TargetKeyId: string | undefined;
154
+ }
155
+ export declare class InvalidAliasNameException extends __BaseException {
156
+ readonly name: "InvalidAliasNameException";
157
+ readonly $fault: "client";
158
+ constructor(
159
+ opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>
160
+ );
161
+ }
162
+ export declare class LimitExceededException extends __BaseException {
163
+ readonly name: "LimitExceededException";
164
+ readonly $fault: "client";
165
+ constructor(
166
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
167
+ );
168
+ }
169
+ export interface CreateCustomKeyStoreRequest {
170
+ CustomKeyStoreName: string | undefined;
171
+ CloudHsmClusterId?: string;
172
+ TrustAnchorCertificate?: string;
173
+ KeyStorePassword?: string;
174
+ }
175
+ export interface CreateCustomKeyStoreResponse {
176
+ CustomKeyStoreId?: string;
177
+ }
178
+ export declare class CustomKeyStoreNameInUseException extends __BaseException {
179
+ readonly name: "CustomKeyStoreNameInUseException";
180
+ readonly $fault: "client";
181
+ constructor(
182
+ opts: __ExceptionOptionType<
183
+ CustomKeyStoreNameInUseException,
184
+ __BaseException
185
+ >
186
+ );
187
+ }
188
+ export declare class IncorrectTrustAnchorException extends __BaseException {
189
+ readonly name: "IncorrectTrustAnchorException";
190
+ readonly $fault: "client";
191
+ constructor(
192
+ opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>
193
+ );
194
+ }
195
+ export interface GrantConstraints {
196
+ EncryptionContextSubset?: Record<string, string>;
197
+ EncryptionContextEquals?: Record<string, string>;
198
+ }
199
+ export declare enum GrantOperation {
200
+ CreateGrant = "CreateGrant",
201
+ Decrypt = "Decrypt",
202
+ DescribeKey = "DescribeKey",
203
+ Encrypt = "Encrypt",
204
+ GenerateDataKey = "GenerateDataKey",
205
+ GenerateDataKeyPair = "GenerateDataKeyPair",
206
+ GenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlaintext",
207
+ GenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext",
208
+ GenerateMac = "GenerateMac",
209
+ GetPublicKey = "GetPublicKey",
210
+ ReEncryptFrom = "ReEncryptFrom",
211
+ ReEncryptTo = "ReEncryptTo",
212
+ RetireGrant = "RetireGrant",
213
+ Sign = "Sign",
214
+ Verify = "Verify",
215
+ VerifyMac = "VerifyMac",
216
+ }
217
+ export interface CreateGrantRequest {
218
+ KeyId: string | undefined;
219
+ GranteePrincipal: string | undefined;
220
+ RetiringPrincipal?: string;
221
+ Operations: (GrantOperation | string)[] | undefined;
222
+ Constraints?: GrantConstraints;
223
+ GrantTokens?: string[];
224
+ Name?: string;
225
+ }
226
+ export interface CreateGrantResponse {
227
+ GrantToken?: string;
228
+ GrantId?: string;
229
+ }
230
+ export declare class DisabledException extends __BaseException {
231
+ readonly name: "DisabledException";
232
+ readonly $fault: "client";
233
+ constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
234
+ }
235
+ export declare class InvalidGrantTokenException extends __BaseException {
236
+ readonly name: "InvalidGrantTokenException";
237
+ readonly $fault: "client";
238
+ constructor(
239
+ opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>
240
+ );
241
+ }
242
+ export declare enum CustomerMasterKeySpec {
243
+ ECC_NIST_P256 = "ECC_NIST_P256",
244
+ ECC_NIST_P384 = "ECC_NIST_P384",
245
+ ECC_NIST_P521 = "ECC_NIST_P521",
246
+ ECC_SECG_P256K1 = "ECC_SECG_P256K1",
247
+ HMAC_224 = "HMAC_224",
248
+ HMAC_256 = "HMAC_256",
249
+ HMAC_384 = "HMAC_384",
250
+ HMAC_512 = "HMAC_512",
251
+ RSA_2048 = "RSA_2048",
252
+ RSA_3072 = "RSA_3072",
253
+ RSA_4096 = "RSA_4096",
254
+ SM2 = "SM2",
255
+ SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT",
256
+ }
257
+ export declare enum KeySpec {
258
+ ECC_NIST_P256 = "ECC_NIST_P256",
259
+ ECC_NIST_P384 = "ECC_NIST_P384",
260
+ ECC_NIST_P521 = "ECC_NIST_P521",
261
+ ECC_SECG_P256K1 = "ECC_SECG_P256K1",
262
+ HMAC_224 = "HMAC_224",
263
+ HMAC_256 = "HMAC_256",
264
+ HMAC_384 = "HMAC_384",
265
+ HMAC_512 = "HMAC_512",
266
+ RSA_2048 = "RSA_2048",
267
+ RSA_3072 = "RSA_3072",
268
+ RSA_4096 = "RSA_4096",
269
+ SM2 = "SM2",
270
+ SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT",
271
+ }
272
+ export declare enum KeyUsageType {
273
+ ENCRYPT_DECRYPT = "ENCRYPT_DECRYPT",
274
+ GENERATE_VERIFY_MAC = "GENERATE_VERIFY_MAC",
275
+ SIGN_VERIFY = "SIGN_VERIFY",
276
+ }
277
+ export declare enum OriginType {
278
+ AWS_CLOUDHSM = "AWS_CLOUDHSM",
279
+ AWS_KMS = "AWS_KMS",
280
+ EXTERNAL = "EXTERNAL",
281
+ }
282
+ export interface Tag {
283
+ TagKey: string | undefined;
284
+ TagValue: string | undefined;
285
+ }
286
+ export interface CreateKeyRequest {
287
+ Policy?: string;
288
+ Description?: string;
289
+ KeyUsage?: KeyUsageType | string;
290
+ CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
291
+ KeySpec?: KeySpec | string;
292
+ Origin?: OriginType | string;
293
+ CustomKeyStoreId?: string;
294
+ BypassPolicyLockoutSafetyCheck?: boolean;
295
+ Tags?: Tag[];
296
+ MultiRegion?: boolean;
297
+ }
298
+ export declare enum EncryptionAlgorithmSpec {
299
+ RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
300
+ RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
301
+ SM2PKE = "SM2PKE",
302
+ SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT",
303
+ }
304
+ export declare enum ExpirationModelType {
305
+ KEY_MATERIAL_DOES_NOT_EXPIRE = "KEY_MATERIAL_DOES_NOT_EXPIRE",
306
+ KEY_MATERIAL_EXPIRES = "KEY_MATERIAL_EXPIRES",
307
+ }
308
+ export declare enum KeyManagerType {
309
+ AWS = "AWS",
310
+ CUSTOMER = "CUSTOMER",
311
+ }
312
+ export declare enum KeyState {
313
+ Creating = "Creating",
314
+ Disabled = "Disabled",
315
+ Enabled = "Enabled",
316
+ PendingDeletion = "PendingDeletion",
317
+ PendingImport = "PendingImport",
318
+ PendingReplicaDeletion = "PendingReplicaDeletion",
319
+ Unavailable = "Unavailable",
320
+ Updating = "Updating",
321
+ }
322
+ export declare enum MacAlgorithmSpec {
323
+ HMAC_SHA_224 = "HMAC_SHA_224",
324
+ HMAC_SHA_256 = "HMAC_SHA_256",
325
+ HMAC_SHA_384 = "HMAC_SHA_384",
326
+ HMAC_SHA_512 = "HMAC_SHA_512",
327
+ }
328
+ export declare enum MultiRegionKeyType {
329
+ PRIMARY = "PRIMARY",
330
+ REPLICA = "REPLICA",
331
+ }
332
+ export interface MultiRegionKey {
333
+ Arn?: string;
334
+ Region?: string;
335
+ }
336
+ export interface MultiRegionConfiguration {
337
+ MultiRegionKeyType?: MultiRegionKeyType | string;
338
+ PrimaryKey?: MultiRegionKey;
339
+ ReplicaKeys?: MultiRegionKey[];
340
+ }
341
+ export declare enum SigningAlgorithmSpec {
342
+ ECDSA_SHA_256 = "ECDSA_SHA_256",
343
+ ECDSA_SHA_384 = "ECDSA_SHA_384",
344
+ ECDSA_SHA_512 = "ECDSA_SHA_512",
345
+ RSASSA_PKCS1_V1_5_SHA_256 = "RSASSA_PKCS1_V1_5_SHA_256",
346
+ RSASSA_PKCS1_V1_5_SHA_384 = "RSASSA_PKCS1_V1_5_SHA_384",
347
+ RSASSA_PKCS1_V1_5_SHA_512 = "RSASSA_PKCS1_V1_5_SHA_512",
348
+ RSASSA_PSS_SHA_256 = "RSASSA_PSS_SHA_256",
349
+ RSASSA_PSS_SHA_384 = "RSASSA_PSS_SHA_384",
350
+ RSASSA_PSS_SHA_512 = "RSASSA_PSS_SHA_512",
351
+ SM2DSA = "SM2DSA",
352
+ }
353
+ export interface KeyMetadata {
354
+ AWSAccountId?: string;
355
+ KeyId: string | undefined;
356
+ Arn?: string;
357
+ CreationDate?: Date;
358
+ Enabled?: boolean;
359
+ Description?: string;
360
+ KeyUsage?: KeyUsageType | string;
361
+ KeyState?: KeyState | string;
362
+ DeletionDate?: Date;
363
+ ValidTo?: Date;
364
+ Origin?: OriginType | string;
365
+ CustomKeyStoreId?: string;
366
+ CloudHsmClusterId?: string;
367
+ ExpirationModel?: ExpirationModelType | string;
368
+ KeyManager?: KeyManagerType | string;
369
+ CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
370
+ KeySpec?: KeySpec | string;
371
+ EncryptionAlgorithms?: (EncryptionAlgorithmSpec | string)[];
372
+ SigningAlgorithms?: (SigningAlgorithmSpec | string)[];
373
+ MultiRegion?: boolean;
374
+ MultiRegionConfiguration?: MultiRegionConfiguration;
375
+ PendingDeletionWindowInDays?: number;
376
+ MacAlgorithms?: (MacAlgorithmSpec | string)[];
377
+ }
378
+ export interface CreateKeyResponse {
379
+ KeyMetadata?: KeyMetadata;
380
+ }
381
+ export declare class MalformedPolicyDocumentException extends __BaseException {
382
+ readonly name: "MalformedPolicyDocumentException";
383
+ readonly $fault: "client";
384
+ constructor(
385
+ opts: __ExceptionOptionType<
386
+ MalformedPolicyDocumentException,
387
+ __BaseException
388
+ >
389
+ );
390
+ }
391
+ export declare class TagException extends __BaseException {
392
+ readonly name: "TagException";
393
+ readonly $fault: "client";
394
+ constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
395
+ }
396
+ export declare class UnsupportedOperationException extends __BaseException {
397
+ readonly name: "UnsupportedOperationException";
398
+ readonly $fault: "client";
399
+ constructor(
400
+ opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
401
+ );
402
+ }
403
+ export declare class CustomKeyStoreHasCMKsException extends __BaseException {
404
+ readonly name: "CustomKeyStoreHasCMKsException";
405
+ readonly $fault: "client";
406
+ constructor(
407
+ opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>
408
+ );
409
+ }
410
+ export interface CustomKeyStoresListEntry {
411
+ CustomKeyStoreId?: string;
412
+ CustomKeyStoreName?: string;
413
+ CloudHsmClusterId?: string;
414
+ TrustAnchorCertificate?: string;
415
+ ConnectionState?: ConnectionStateType | string;
416
+ ConnectionErrorCode?: ConnectionErrorCodeType | string;
417
+ CreationDate?: Date;
418
+ }
419
+ export declare enum DataKeyPairSpec {
420
+ ECC_NIST_P256 = "ECC_NIST_P256",
421
+ ECC_NIST_P384 = "ECC_NIST_P384",
422
+ ECC_NIST_P521 = "ECC_NIST_P521",
423
+ ECC_SECG_P256K1 = "ECC_SECG_P256K1",
424
+ RSA_2048 = "RSA_2048",
425
+ RSA_3072 = "RSA_3072",
426
+ RSA_4096 = "RSA_4096",
427
+ SM2 = "SM2",
428
+ }
429
+ export declare enum DataKeySpec {
430
+ AES_128 = "AES_128",
431
+ AES_256 = "AES_256",
432
+ }
433
+ export interface DecryptRequest {
434
+ CiphertextBlob: Uint8Array | undefined;
435
+ EncryptionContext?: Record<string, string>;
436
+ GrantTokens?: string[];
437
+ KeyId?: string;
438
+ EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
439
+ }
440
+ export interface DecryptResponse {
441
+ KeyId?: string;
442
+ Plaintext?: Uint8Array;
443
+ EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
444
+ }
445
+ export declare class IncorrectKeyException extends __BaseException {
446
+ readonly name: "IncorrectKeyException";
447
+ readonly $fault: "client";
448
+ constructor(
449
+ opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>
450
+ );
451
+ }
452
+ export declare class InvalidCiphertextException extends __BaseException {
453
+ readonly name: "InvalidCiphertextException";
454
+ readonly $fault: "client";
455
+ constructor(
456
+ opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>
457
+ );
458
+ }
459
+ export declare class InvalidKeyUsageException extends __BaseException {
460
+ readonly name: "InvalidKeyUsageException";
461
+ readonly $fault: "client";
462
+ constructor(
463
+ opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>
464
+ );
465
+ }
466
+ export declare class KeyUnavailableException extends __BaseException {
467
+ readonly name: "KeyUnavailableException";
468
+ readonly $fault: "server";
469
+ constructor(
470
+ opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>
471
+ );
472
+ }
473
+ export interface DeleteAliasRequest {
474
+ AliasName: string | undefined;
475
+ }
476
+ export interface DeleteCustomKeyStoreRequest {
477
+ CustomKeyStoreId: string | undefined;
478
+ }
479
+ export interface DeleteCustomKeyStoreResponse {}
480
+ export interface DeleteImportedKeyMaterialRequest {
481
+ KeyId: string | undefined;
482
+ }
483
+ export interface DescribeCustomKeyStoresRequest {
484
+ CustomKeyStoreId?: string;
485
+ CustomKeyStoreName?: string;
486
+ Limit?: number;
487
+ Marker?: string;
488
+ }
489
+ export interface DescribeCustomKeyStoresResponse {
490
+ CustomKeyStores?: CustomKeyStoresListEntry[];
491
+ NextMarker?: string;
492
+ Truncated?: boolean;
493
+ }
494
+ export declare class InvalidMarkerException extends __BaseException {
495
+ readonly name: "InvalidMarkerException";
496
+ readonly $fault: "client";
497
+ constructor(
498
+ opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>
499
+ );
500
+ }
501
+ export interface DescribeKeyRequest {
502
+ KeyId: string | undefined;
503
+ GrantTokens?: string[];
504
+ }
505
+ export interface DescribeKeyResponse {
506
+ KeyMetadata?: KeyMetadata;
507
+ }
508
+ export interface DisableKeyRequest {
509
+ KeyId: string | undefined;
510
+ }
511
+ export interface DisableKeyRotationRequest {
512
+ KeyId: string | undefined;
513
+ }
514
+ export interface DisconnectCustomKeyStoreRequest {
515
+ CustomKeyStoreId: string | undefined;
516
+ }
517
+ export interface DisconnectCustomKeyStoreResponse {}
518
+ export interface EnableKeyRequest {
519
+ KeyId: string | undefined;
520
+ }
521
+ export interface EnableKeyRotationRequest {
522
+ KeyId: string | undefined;
523
+ }
524
+ export interface EncryptRequest {
525
+ KeyId: string | undefined;
526
+ Plaintext: Uint8Array | undefined;
527
+ EncryptionContext?: Record<string, string>;
528
+ GrantTokens?: string[];
529
+ EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
530
+ }
531
+ export interface EncryptResponse {
532
+ CiphertextBlob?: Uint8Array;
533
+ KeyId?: string;
534
+ EncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
535
+ }
536
+ export declare class ExpiredImportTokenException extends __BaseException {
537
+ readonly name: "ExpiredImportTokenException";
538
+ readonly $fault: "client";
539
+ constructor(
540
+ opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>
541
+ );
542
+ }
543
+ export interface GenerateDataKeyRequest {
544
+ KeyId: string | undefined;
545
+ EncryptionContext?: Record<string, string>;
546
+ NumberOfBytes?: number;
547
+ KeySpec?: DataKeySpec | string;
548
+ GrantTokens?: string[];
549
+ }
550
+ export interface GenerateDataKeyResponse {
551
+ CiphertextBlob?: Uint8Array;
552
+ Plaintext?: Uint8Array;
553
+ KeyId?: string;
554
+ }
555
+ export interface GenerateDataKeyPairRequest {
556
+ EncryptionContext?: Record<string, string>;
557
+ KeyId: string | undefined;
558
+ KeyPairSpec: DataKeyPairSpec | string | undefined;
559
+ GrantTokens?: string[];
560
+ }
561
+ export interface GenerateDataKeyPairResponse {
562
+ PrivateKeyCiphertextBlob?: Uint8Array;
563
+ PrivateKeyPlaintext?: Uint8Array;
564
+ PublicKey?: Uint8Array;
565
+ KeyId?: string;
566
+ KeyPairSpec?: DataKeyPairSpec | string;
567
+ }
568
+ export interface GenerateDataKeyPairWithoutPlaintextRequest {
569
+ EncryptionContext?: Record<string, string>;
570
+ KeyId: string | undefined;
571
+ KeyPairSpec: DataKeyPairSpec | string | undefined;
572
+ GrantTokens?: string[];
573
+ }
574
+ export interface GenerateDataKeyPairWithoutPlaintextResponse {
575
+ PrivateKeyCiphertextBlob?: Uint8Array;
576
+ PublicKey?: Uint8Array;
577
+ KeyId?: string;
578
+ KeyPairSpec?: DataKeyPairSpec | string;
579
+ }
580
+ export interface GenerateDataKeyWithoutPlaintextRequest {
581
+ KeyId: string | undefined;
582
+ EncryptionContext?: Record<string, string>;
583
+ KeySpec?: DataKeySpec | string;
584
+ NumberOfBytes?: number;
585
+ GrantTokens?: string[];
586
+ }
587
+ export interface GenerateDataKeyWithoutPlaintextResponse {
588
+ CiphertextBlob?: Uint8Array;
589
+ KeyId?: string;
590
+ }
591
+ export interface GenerateMacRequest {
592
+ Message: Uint8Array | undefined;
593
+ KeyId: string | undefined;
594
+ MacAlgorithm: MacAlgorithmSpec | string | undefined;
595
+ GrantTokens?: string[];
596
+ }
597
+ export interface GenerateMacResponse {
598
+ Mac?: Uint8Array;
599
+ MacAlgorithm?: MacAlgorithmSpec | string;
600
+ KeyId?: string;
601
+ }
602
+ export interface GenerateRandomRequest {
603
+ NumberOfBytes?: number;
604
+ CustomKeyStoreId?: string;
605
+ }
606
+ export interface GenerateRandomResponse {
607
+ Plaintext?: Uint8Array;
608
+ }
609
+ export interface GetKeyPolicyRequest {
610
+ KeyId: string | undefined;
611
+ PolicyName: string | undefined;
612
+ }
613
+ export interface GetKeyPolicyResponse {
614
+ Policy?: string;
615
+ }
616
+ export interface GetKeyRotationStatusRequest {
617
+ KeyId: string | undefined;
618
+ }
619
+ export interface GetKeyRotationStatusResponse {
620
+ KeyRotationEnabled?: boolean;
621
+ }
622
+ export declare enum WrappingKeySpec {
623
+ RSA_2048 = "RSA_2048",
624
+ }
625
+ export interface GetParametersForImportRequest {
626
+ KeyId: string | undefined;
627
+ WrappingAlgorithm: AlgorithmSpec | string | undefined;
628
+ WrappingKeySpec: WrappingKeySpec | string | undefined;
629
+ }
630
+ export interface GetParametersForImportResponse {
631
+ KeyId?: string;
632
+ ImportToken?: Uint8Array;
633
+ PublicKey?: Uint8Array;
634
+ ParametersValidTo?: Date;
635
+ }
636
+ export interface GetPublicKeyRequest {
637
+ KeyId: string | undefined;
638
+ GrantTokens?: string[];
639
+ }
640
+ export interface GetPublicKeyResponse {
641
+ KeyId?: string;
642
+ PublicKey?: Uint8Array;
643
+ CustomerMasterKeySpec?: CustomerMasterKeySpec | string;
644
+ KeySpec?: KeySpec | string;
645
+ KeyUsage?: KeyUsageType | string;
646
+ EncryptionAlgorithms?: (EncryptionAlgorithmSpec | string)[];
647
+ SigningAlgorithms?: (SigningAlgorithmSpec | string)[];
648
+ }
649
+ export interface GrantListEntry {
650
+ KeyId?: string;
651
+ GrantId?: string;
652
+ Name?: string;
653
+ CreationDate?: Date;
654
+ GranteePrincipal?: string;
655
+ RetiringPrincipal?: string;
656
+ IssuingAccount?: string;
657
+ Operations?: (GrantOperation | string)[];
658
+ Constraints?: GrantConstraints;
659
+ }
660
+ export interface ImportKeyMaterialRequest {
661
+ KeyId: string | undefined;
662
+ ImportToken: Uint8Array | undefined;
663
+ EncryptedKeyMaterial: Uint8Array | undefined;
664
+ ValidTo?: Date;
665
+ ExpirationModel?: ExpirationModelType | string;
666
+ }
667
+ export interface ImportKeyMaterialResponse {}
668
+ export declare class IncorrectKeyMaterialException extends __BaseException {
669
+ readonly name: "IncorrectKeyMaterialException";
670
+ readonly $fault: "client";
671
+ constructor(
672
+ opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>
673
+ );
674
+ }
675
+ export declare class InvalidImportTokenException extends __BaseException {
676
+ readonly name: "InvalidImportTokenException";
677
+ readonly $fault: "client";
678
+ constructor(
679
+ opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>
680
+ );
681
+ }
682
+ export declare class InvalidGrantIdException extends __BaseException {
683
+ readonly name: "InvalidGrantIdException";
684
+ readonly $fault: "client";
685
+ constructor(
686
+ opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>
687
+ );
688
+ }
689
+ export interface KeyListEntry {
690
+ KeyId?: string;
691
+ KeyArn?: string;
692
+ }
693
+ export declare class KMSInvalidMacException extends __BaseException {
694
+ readonly name: "KMSInvalidMacException";
695
+ readonly $fault: "client";
696
+ constructor(
697
+ opts: __ExceptionOptionType<KMSInvalidMacException, __BaseException>
698
+ );
699
+ }
700
+ export declare class KMSInvalidSignatureException extends __BaseException {
701
+ readonly name: "KMSInvalidSignatureException";
702
+ readonly $fault: "client";
703
+ constructor(
704
+ opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>
705
+ );
706
+ }
707
+ export interface ListAliasesRequest {
708
+ KeyId?: string;
709
+ Limit?: number;
710
+ Marker?: string;
711
+ }
712
+ export interface ListAliasesResponse {
713
+ Aliases?: AliasListEntry[];
714
+ NextMarker?: string;
715
+ Truncated?: boolean;
716
+ }
717
+ export interface ListGrantsRequest {
718
+ Limit?: number;
719
+ Marker?: string;
720
+ KeyId: string | undefined;
721
+ GrantId?: string;
722
+ GranteePrincipal?: string;
723
+ }
724
+ export interface ListGrantsResponse {
725
+ Grants?: GrantListEntry[];
726
+ NextMarker?: string;
727
+ Truncated?: boolean;
728
+ }
729
+ export interface ListKeyPoliciesRequest {
730
+ KeyId: string | undefined;
731
+ Limit?: number;
732
+ Marker?: string;
733
+ }
734
+ export interface ListKeyPoliciesResponse {
735
+ PolicyNames?: string[];
736
+ NextMarker?: string;
737
+ Truncated?: boolean;
738
+ }
739
+ export interface ListKeysRequest {
740
+ Limit?: number;
741
+ Marker?: string;
742
+ }
743
+ export interface ListKeysResponse {
744
+ Keys?: KeyListEntry[];
745
+ NextMarker?: string;
746
+ Truncated?: boolean;
747
+ }
748
+ export interface ListResourceTagsRequest {
749
+ KeyId: string | undefined;
750
+ Limit?: number;
751
+ Marker?: string;
752
+ }
753
+ export interface ListResourceTagsResponse {
754
+ Tags?: Tag[];
755
+ NextMarker?: string;
756
+ Truncated?: boolean;
757
+ }
758
+ export interface ListRetirableGrantsRequest {
759
+ Limit?: number;
760
+ Marker?: string;
761
+ RetiringPrincipal: string | undefined;
762
+ }
763
+ export declare enum MessageType {
764
+ DIGEST = "DIGEST",
765
+ RAW = "RAW",
766
+ }
767
+ export interface PutKeyPolicyRequest {
768
+ KeyId: string | undefined;
769
+ PolicyName: string | undefined;
770
+ Policy: string | undefined;
771
+ BypassPolicyLockoutSafetyCheck?: boolean;
772
+ }
773
+ export interface ReEncryptRequest {
774
+ CiphertextBlob: Uint8Array | undefined;
775
+ SourceEncryptionContext?: Record<string, string>;
776
+ SourceKeyId?: string;
777
+ DestinationKeyId: string | undefined;
778
+ DestinationEncryptionContext?: Record<string, string>;
779
+ SourceEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
780
+ DestinationEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
781
+ GrantTokens?: string[];
782
+ }
783
+ export interface ReEncryptResponse {
784
+ CiphertextBlob?: Uint8Array;
785
+ SourceKeyId?: string;
786
+ KeyId?: string;
787
+ SourceEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
788
+ DestinationEncryptionAlgorithm?: EncryptionAlgorithmSpec | string;
789
+ }
790
+ export interface ReplicateKeyRequest {
791
+ KeyId: string | undefined;
792
+ ReplicaRegion: string | undefined;
793
+ Policy?: string;
794
+ BypassPolicyLockoutSafetyCheck?: boolean;
795
+ Description?: string;
796
+ Tags?: Tag[];
797
+ }
798
+ export interface ReplicateKeyResponse {
799
+ ReplicaKeyMetadata?: KeyMetadata;
800
+ ReplicaPolicy?: string;
801
+ ReplicaTags?: Tag[];
802
+ }
803
+ export interface RetireGrantRequest {
804
+ GrantToken?: string;
805
+ KeyId?: string;
806
+ GrantId?: string;
807
+ }
808
+ export interface RevokeGrantRequest {
809
+ KeyId: string | undefined;
810
+ GrantId: string | undefined;
811
+ }
812
+ export interface ScheduleKeyDeletionRequest {
813
+ KeyId: string | undefined;
814
+ PendingWindowInDays?: number;
815
+ }
816
+ export interface ScheduleKeyDeletionResponse {
817
+ KeyId?: string;
818
+ DeletionDate?: Date;
819
+ KeyState?: KeyState | string;
820
+ PendingWindowInDays?: number;
821
+ }
822
+ export interface SignRequest {
823
+ KeyId: string | undefined;
824
+ Message: Uint8Array | undefined;
825
+ MessageType?: MessageType | string;
826
+ GrantTokens?: string[];
827
+ SigningAlgorithm: SigningAlgorithmSpec | string | undefined;
828
+ }
829
+ export interface SignResponse {
830
+ KeyId?: string;
831
+ Signature?: Uint8Array;
832
+ SigningAlgorithm?: SigningAlgorithmSpec | string;
833
+ }
834
+ export interface TagResourceRequest {
835
+ KeyId: string | undefined;
836
+ Tags: Tag[] | undefined;
837
+ }
838
+ export interface UntagResourceRequest {
839
+ KeyId: string | undefined;
840
+ TagKeys: string[] | undefined;
841
+ }
842
+ export interface UpdateAliasRequest {
843
+ AliasName: string | undefined;
844
+ TargetKeyId: string | undefined;
845
+ }
846
+ export interface UpdateCustomKeyStoreRequest {
847
+ CustomKeyStoreId: string | undefined;
848
+ NewCustomKeyStoreName?: string;
849
+ KeyStorePassword?: string;
850
+ CloudHsmClusterId?: string;
851
+ }
852
+ export interface UpdateCustomKeyStoreResponse {}
853
+ export interface UpdateKeyDescriptionRequest {
854
+ KeyId: string | undefined;
855
+ Description: string | undefined;
856
+ }
857
+ export interface UpdatePrimaryRegionRequest {
858
+ KeyId: string | undefined;
859
+ PrimaryRegion: string | undefined;
860
+ }
861
+ export interface VerifyRequest {
862
+ KeyId: string | undefined;
863
+ Message: Uint8Array | undefined;
864
+ MessageType?: MessageType | string;
865
+ Signature: Uint8Array | undefined;
866
+ SigningAlgorithm: SigningAlgorithmSpec | string | undefined;
867
+ GrantTokens?: string[];
868
+ }
869
+ export interface VerifyResponse {
870
+ KeyId?: string;
871
+ SignatureValid?: boolean;
872
+ SigningAlgorithm?: SigningAlgorithmSpec | string;
873
+ }
874
+ export interface VerifyMacRequest {
875
+ Message: Uint8Array | undefined;
876
+ KeyId: string | undefined;
877
+ MacAlgorithm: MacAlgorithmSpec | string | undefined;
878
+ Mac: Uint8Array | undefined;
879
+ GrantTokens?: string[];
880
+ }
881
+ export interface VerifyMacResponse {
882
+ KeyId?: string;
883
+ MacValid?: boolean;
884
+ MacAlgorithm?: MacAlgorithmSpec | string;
885
+ }
886
+ export declare const AliasListEntryFilterSensitiveLog: (
887
+ obj: AliasListEntry
888
+ ) => any;
889
+ export declare const CancelKeyDeletionRequestFilterSensitiveLog: (
890
+ obj: CancelKeyDeletionRequest
891
+ ) => any;
892
+ export declare const CancelKeyDeletionResponseFilterSensitiveLog: (
893
+ obj: CancelKeyDeletionResponse
894
+ ) => any;
895
+ export declare const ConnectCustomKeyStoreRequestFilterSensitiveLog: (
896
+ obj: ConnectCustomKeyStoreRequest
897
+ ) => any;
898
+ export declare const ConnectCustomKeyStoreResponseFilterSensitiveLog: (
899
+ obj: ConnectCustomKeyStoreResponse
900
+ ) => any;
901
+ export declare const CreateAliasRequestFilterSensitiveLog: (
902
+ obj: CreateAliasRequest
903
+ ) => any;
904
+ export declare const CreateCustomKeyStoreRequestFilterSensitiveLog: (
905
+ obj: CreateCustomKeyStoreRequest
906
+ ) => any;
907
+ export declare const CreateCustomKeyStoreResponseFilterSensitiveLog: (
908
+ obj: CreateCustomKeyStoreResponse
909
+ ) => any;
910
+ export declare const GrantConstraintsFilterSensitiveLog: (
911
+ obj: GrantConstraints
912
+ ) => any;
913
+ export declare const CreateGrantRequestFilterSensitiveLog: (
914
+ obj: CreateGrantRequest
915
+ ) => any;
916
+ export declare const CreateGrantResponseFilterSensitiveLog: (
917
+ obj: CreateGrantResponse
918
+ ) => any;
919
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
920
+ export declare const CreateKeyRequestFilterSensitiveLog: (
921
+ obj: CreateKeyRequest
922
+ ) => any;
923
+ export declare const MultiRegionKeyFilterSensitiveLog: (
924
+ obj: MultiRegionKey
925
+ ) => any;
926
+ export declare const MultiRegionConfigurationFilterSensitiveLog: (
927
+ obj: MultiRegionConfiguration
928
+ ) => any;
929
+ export declare const KeyMetadataFilterSensitiveLog: (obj: KeyMetadata) => any;
930
+ export declare const CreateKeyResponseFilterSensitiveLog: (
931
+ obj: CreateKeyResponse
932
+ ) => any;
933
+ export declare const CustomKeyStoresListEntryFilterSensitiveLog: (
934
+ obj: CustomKeyStoresListEntry
935
+ ) => any;
936
+ export declare const DecryptRequestFilterSensitiveLog: (
937
+ obj: DecryptRequest
938
+ ) => any;
939
+ export declare const DecryptResponseFilterSensitiveLog: (
940
+ obj: DecryptResponse
941
+ ) => any;
942
+ export declare const DeleteAliasRequestFilterSensitiveLog: (
943
+ obj: DeleteAliasRequest
944
+ ) => any;
945
+ export declare const DeleteCustomKeyStoreRequestFilterSensitiveLog: (
946
+ obj: DeleteCustomKeyStoreRequest
947
+ ) => any;
948
+ export declare const DeleteCustomKeyStoreResponseFilterSensitiveLog: (
949
+ obj: DeleteCustomKeyStoreResponse
950
+ ) => any;
951
+ export declare const DeleteImportedKeyMaterialRequestFilterSensitiveLog: (
952
+ obj: DeleteImportedKeyMaterialRequest
953
+ ) => any;
954
+ export declare const DescribeCustomKeyStoresRequestFilterSensitiveLog: (
955
+ obj: DescribeCustomKeyStoresRequest
956
+ ) => any;
957
+ export declare const DescribeCustomKeyStoresResponseFilterSensitiveLog: (
958
+ obj: DescribeCustomKeyStoresResponse
959
+ ) => any;
960
+ export declare const DescribeKeyRequestFilterSensitiveLog: (
961
+ obj: DescribeKeyRequest
962
+ ) => any;
963
+ export declare const DescribeKeyResponseFilterSensitiveLog: (
964
+ obj: DescribeKeyResponse
965
+ ) => any;
966
+ export declare const DisableKeyRequestFilterSensitiveLog: (
967
+ obj: DisableKeyRequest
968
+ ) => any;
969
+ export declare const DisableKeyRotationRequestFilterSensitiveLog: (
970
+ obj: DisableKeyRotationRequest
971
+ ) => any;
972
+ export declare const DisconnectCustomKeyStoreRequestFilterSensitiveLog: (
973
+ obj: DisconnectCustomKeyStoreRequest
974
+ ) => any;
975
+ export declare const DisconnectCustomKeyStoreResponseFilterSensitiveLog: (
976
+ obj: DisconnectCustomKeyStoreResponse
977
+ ) => any;
978
+ export declare const EnableKeyRequestFilterSensitiveLog: (
979
+ obj: EnableKeyRequest
980
+ ) => any;
981
+ export declare const EnableKeyRotationRequestFilterSensitiveLog: (
982
+ obj: EnableKeyRotationRequest
983
+ ) => any;
984
+ export declare const EncryptRequestFilterSensitiveLog: (
985
+ obj: EncryptRequest
986
+ ) => any;
987
+ export declare const EncryptResponseFilterSensitiveLog: (
988
+ obj: EncryptResponse
989
+ ) => any;
990
+ export declare const GenerateDataKeyRequestFilterSensitiveLog: (
991
+ obj: GenerateDataKeyRequest
992
+ ) => any;
993
+ export declare const GenerateDataKeyResponseFilterSensitiveLog: (
994
+ obj: GenerateDataKeyResponse
995
+ ) => any;
996
+ export declare const GenerateDataKeyPairRequestFilterSensitiveLog: (
997
+ obj: GenerateDataKeyPairRequest
998
+ ) => any;
999
+ export declare const GenerateDataKeyPairResponseFilterSensitiveLog: (
1000
+ obj: GenerateDataKeyPairResponse
1001
+ ) => any;
1002
+ export declare const GenerateDataKeyPairWithoutPlaintextRequestFilterSensitiveLog: (
1003
+ obj: GenerateDataKeyPairWithoutPlaintextRequest
1004
+ ) => any;
1005
+ export declare const GenerateDataKeyPairWithoutPlaintextResponseFilterSensitiveLog: (
1006
+ obj: GenerateDataKeyPairWithoutPlaintextResponse
1007
+ ) => any;
1008
+ export declare const GenerateDataKeyWithoutPlaintextRequestFilterSensitiveLog: (
1009
+ obj: GenerateDataKeyWithoutPlaintextRequest
1010
+ ) => any;
1011
+ export declare const GenerateDataKeyWithoutPlaintextResponseFilterSensitiveLog: (
1012
+ obj: GenerateDataKeyWithoutPlaintextResponse
1013
+ ) => any;
1014
+ export declare const GenerateMacRequestFilterSensitiveLog: (
1015
+ obj: GenerateMacRequest
1016
+ ) => any;
1017
+ export declare const GenerateMacResponseFilterSensitiveLog: (
1018
+ obj: GenerateMacResponse
1019
+ ) => any;
1020
+ export declare const GenerateRandomRequestFilterSensitiveLog: (
1021
+ obj: GenerateRandomRequest
1022
+ ) => any;
1023
+ export declare const GenerateRandomResponseFilterSensitiveLog: (
1024
+ obj: GenerateRandomResponse
1025
+ ) => any;
1026
+ export declare const GetKeyPolicyRequestFilterSensitiveLog: (
1027
+ obj: GetKeyPolicyRequest
1028
+ ) => any;
1029
+ export declare const GetKeyPolicyResponseFilterSensitiveLog: (
1030
+ obj: GetKeyPolicyResponse
1031
+ ) => any;
1032
+ export declare const GetKeyRotationStatusRequestFilterSensitiveLog: (
1033
+ obj: GetKeyRotationStatusRequest
1034
+ ) => any;
1035
+ export declare const GetKeyRotationStatusResponseFilterSensitiveLog: (
1036
+ obj: GetKeyRotationStatusResponse
1037
+ ) => any;
1038
+ export declare const GetParametersForImportRequestFilterSensitiveLog: (
1039
+ obj: GetParametersForImportRequest
1040
+ ) => any;
1041
+ export declare const GetParametersForImportResponseFilterSensitiveLog: (
1042
+ obj: GetParametersForImportResponse
1043
+ ) => any;
1044
+ export declare const GetPublicKeyRequestFilterSensitiveLog: (
1045
+ obj: GetPublicKeyRequest
1046
+ ) => any;
1047
+ export declare const GetPublicKeyResponseFilterSensitiveLog: (
1048
+ obj: GetPublicKeyResponse
1049
+ ) => any;
1050
+ export declare const GrantListEntryFilterSensitiveLog: (
1051
+ obj: GrantListEntry
1052
+ ) => any;
1053
+ export declare const ImportKeyMaterialRequestFilterSensitiveLog: (
1054
+ obj: ImportKeyMaterialRequest
1055
+ ) => any;
1056
+ export declare const ImportKeyMaterialResponseFilterSensitiveLog: (
1057
+ obj: ImportKeyMaterialResponse
1058
+ ) => any;
1059
+ export declare const KeyListEntryFilterSensitiveLog: (obj: KeyListEntry) => any;
1060
+ export declare const ListAliasesRequestFilterSensitiveLog: (
1061
+ obj: ListAliasesRequest
1062
+ ) => any;
1063
+ export declare const ListAliasesResponseFilterSensitiveLog: (
1064
+ obj: ListAliasesResponse
1065
+ ) => any;
1066
+ export declare const ListGrantsRequestFilterSensitiveLog: (
1067
+ obj: ListGrantsRequest
1068
+ ) => any;
1069
+ export declare const ListGrantsResponseFilterSensitiveLog: (
1070
+ obj: ListGrantsResponse
1071
+ ) => any;
1072
+ export declare const ListKeyPoliciesRequestFilterSensitiveLog: (
1073
+ obj: ListKeyPoliciesRequest
1074
+ ) => any;
1075
+ export declare const ListKeyPoliciesResponseFilterSensitiveLog: (
1076
+ obj: ListKeyPoliciesResponse
1077
+ ) => any;
1078
+ export declare const ListKeysRequestFilterSensitiveLog: (
1079
+ obj: ListKeysRequest
1080
+ ) => any;
1081
+ export declare const ListKeysResponseFilterSensitiveLog: (
1082
+ obj: ListKeysResponse
1083
+ ) => any;
1084
+ export declare const ListResourceTagsRequestFilterSensitiveLog: (
1085
+ obj: ListResourceTagsRequest
1086
+ ) => any;
1087
+ export declare const ListResourceTagsResponseFilterSensitiveLog: (
1088
+ obj: ListResourceTagsResponse
1089
+ ) => any;
1090
+ export declare const ListRetirableGrantsRequestFilterSensitiveLog: (
1091
+ obj: ListRetirableGrantsRequest
1092
+ ) => any;
1093
+ export declare const PutKeyPolicyRequestFilterSensitiveLog: (
1094
+ obj: PutKeyPolicyRequest
1095
+ ) => any;
1096
+ export declare const ReEncryptRequestFilterSensitiveLog: (
1097
+ obj: ReEncryptRequest
1098
+ ) => any;
1099
+ export declare const ReEncryptResponseFilterSensitiveLog: (
1100
+ obj: ReEncryptResponse
1101
+ ) => any;
1102
+ export declare const ReplicateKeyRequestFilterSensitiveLog: (
1103
+ obj: ReplicateKeyRequest
1104
+ ) => any;
1105
+ export declare const ReplicateKeyResponseFilterSensitiveLog: (
1106
+ obj: ReplicateKeyResponse
1107
+ ) => any;
1108
+ export declare const RetireGrantRequestFilterSensitiveLog: (
1109
+ obj: RetireGrantRequest
1110
+ ) => any;
1111
+ export declare const RevokeGrantRequestFilterSensitiveLog: (
1112
+ obj: RevokeGrantRequest
1113
+ ) => any;
1114
+ export declare const ScheduleKeyDeletionRequestFilterSensitiveLog: (
1115
+ obj: ScheduleKeyDeletionRequest
1116
+ ) => any;
1117
+ export declare const ScheduleKeyDeletionResponseFilterSensitiveLog: (
1118
+ obj: ScheduleKeyDeletionResponse
1119
+ ) => any;
1120
+ export declare const SignRequestFilterSensitiveLog: (obj: SignRequest) => any;
1121
+ export declare const SignResponseFilterSensitiveLog: (obj: SignResponse) => any;
1122
+ export declare const TagResourceRequestFilterSensitiveLog: (
1123
+ obj: TagResourceRequest
1124
+ ) => any;
1125
+ export declare const UntagResourceRequestFilterSensitiveLog: (
1126
+ obj: UntagResourceRequest
1127
+ ) => any;
1128
+ export declare const UpdateAliasRequestFilterSensitiveLog: (
1129
+ obj: UpdateAliasRequest
1130
+ ) => any;
1131
+ export declare const UpdateCustomKeyStoreRequestFilterSensitiveLog: (
1132
+ obj: UpdateCustomKeyStoreRequest
1133
+ ) => any;
1134
+ export declare const UpdateCustomKeyStoreResponseFilterSensitiveLog: (
1135
+ obj: UpdateCustomKeyStoreResponse
1136
+ ) => any;
1137
+ export declare const UpdateKeyDescriptionRequestFilterSensitiveLog: (
1138
+ obj: UpdateKeyDescriptionRequest
1139
+ ) => any;
1140
+ export declare const UpdatePrimaryRegionRequestFilterSensitiveLog: (
1141
+ obj: UpdatePrimaryRegionRequest
1142
+ ) => any;
1143
+ export declare const VerifyRequestFilterSensitiveLog: (
1144
+ obj: VerifyRequest
1145
+ ) => any;
1146
+ export declare const VerifyResponseFilterSensitiveLog: (
1147
+ obj: VerifyResponse
1148
+ ) => any;
1149
+ export declare const VerifyMacRequestFilterSensitiveLog: (
1150
+ obj: VerifyMacRequest
1151
+ ) => any;
1152
+ export declare const VerifyMacResponseFilterSensitiveLog: (
1153
+ obj: VerifyMacResponse
1154
+ ) => any;