@aws-sdk/client-kms 3.934.0 → 3.935.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.
@@ -1,14 +1,33 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
- export declare const AlgorithmSpec: {
4
- readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
5
- readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
6
- readonly RSAES_PKCS1_V1_5: "RSAES_PKCS1_V1_5";
7
- readonly RSA_AES_KEY_WRAP_SHA_1: "RSA_AES_KEY_WRAP_SHA_1";
8
- readonly RSA_AES_KEY_WRAP_SHA_256: "RSA_AES_KEY_WRAP_SHA_256";
9
- readonly SM2PKE: "SM2PKE";
10
- };
11
- export type AlgorithmSpec = (typeof AlgorithmSpec)[keyof typeof AlgorithmSpec];
1
+ import {
2
+ AlgorithmSpec,
3
+ ConnectionErrorCodeType,
4
+ ConnectionStateType,
5
+ CustomerMasterKeySpec,
6
+ CustomKeyStoreType,
7
+ DataKeyPairSpec,
8
+ DataKeySpec,
9
+ EncryptionAlgorithmSpec,
10
+ ExpirationModelType,
11
+ GrantOperation,
12
+ ImportState,
13
+ ImportType,
14
+ IncludeKeyMaterial,
15
+ KeyAgreementAlgorithmSpec,
16
+ KeyEncryptionMechanism,
17
+ KeyManagerType,
18
+ KeyMaterialState,
19
+ KeySpec,
20
+ KeyState,
21
+ KeyUsageType,
22
+ MacAlgorithmSpec,
23
+ MessageType,
24
+ MultiRegionKeyType,
25
+ OriginType,
26
+ RotationType,
27
+ SigningAlgorithmSpec,
28
+ WrappingKeySpec,
29
+ XksProxyConnectivityType,
30
+ } from "./enums";
12
31
  export interface AliasListEntry {
13
32
  AliasName?: string | undefined;
14
33
  AliasArn?: string | undefined;
@@ -16,193 +35,24 @@ export interface AliasListEntry {
16
35
  CreationDate?: Date | undefined;
17
36
  LastUpdatedDate?: Date | undefined;
18
37
  }
19
- export declare class AlreadyExistsException extends __BaseException {
20
- readonly name: "AlreadyExistsException";
21
- readonly $fault: "client";
22
- constructor(
23
- opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
24
- );
25
- }
26
38
  export interface CancelKeyDeletionRequest {
27
39
  KeyId: string | undefined;
28
40
  }
29
41
  export interface CancelKeyDeletionResponse {
30
42
  KeyId?: string | undefined;
31
43
  }
32
- export declare class DependencyTimeoutException extends __BaseException {
33
- readonly name: "DependencyTimeoutException";
34
- readonly $fault: "server";
35
- constructor(
36
- opts: __ExceptionOptionType<DependencyTimeoutException, __BaseException>
37
- );
38
- }
39
- export declare class InvalidArnException extends __BaseException {
40
- readonly name: "InvalidArnException";
41
- readonly $fault: "client";
42
- constructor(
43
- opts: __ExceptionOptionType<InvalidArnException, __BaseException>
44
- );
45
- }
46
- export declare class KMSInternalException extends __BaseException {
47
- readonly name: "KMSInternalException";
48
- readonly $fault: "server";
49
- constructor(
50
- opts: __ExceptionOptionType<KMSInternalException, __BaseException>
51
- );
52
- }
53
- export declare class KMSInvalidStateException extends __BaseException {
54
- readonly name: "KMSInvalidStateException";
55
- readonly $fault: "client";
56
- constructor(
57
- opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
58
- );
59
- }
60
- export declare class NotFoundException extends __BaseException {
61
- readonly name: "NotFoundException";
62
- readonly $fault: "client";
63
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
64
- }
65
- export declare class CloudHsmClusterInUseException extends __BaseException {
66
- readonly name: "CloudHsmClusterInUseException";
67
- readonly $fault: "client";
68
- constructor(
69
- opts: __ExceptionOptionType<CloudHsmClusterInUseException, __BaseException>
70
- );
71
- }
72
- export declare class CloudHsmClusterInvalidConfigurationException extends __BaseException {
73
- readonly name: "CloudHsmClusterInvalidConfigurationException";
74
- readonly $fault: "client";
75
- constructor(
76
- opts: __ExceptionOptionType<
77
- CloudHsmClusterInvalidConfigurationException,
78
- __BaseException
79
- >
80
- );
81
- }
82
- export declare class CloudHsmClusterNotActiveException extends __BaseException {
83
- readonly name: "CloudHsmClusterNotActiveException";
84
- readonly $fault: "client";
85
- constructor(
86
- opts: __ExceptionOptionType<
87
- CloudHsmClusterNotActiveException,
88
- __BaseException
89
- >
90
- );
91
- }
92
- export declare class CloudHsmClusterNotFoundException extends __BaseException {
93
- readonly name: "CloudHsmClusterNotFoundException";
94
- readonly $fault: "client";
95
- constructor(
96
- opts: __ExceptionOptionType<
97
- CloudHsmClusterNotFoundException,
98
- __BaseException
99
- >
100
- );
101
- }
102
- export declare class CloudHsmClusterNotRelatedException extends __BaseException {
103
- readonly name: "CloudHsmClusterNotRelatedException";
104
- readonly $fault: "client";
105
- constructor(
106
- opts: __ExceptionOptionType<
107
- CloudHsmClusterNotRelatedException,
108
- __BaseException
109
- >
110
- );
111
- }
112
- export declare class ConflictException extends __BaseException {
113
- readonly name: "ConflictException";
114
- readonly $fault: "client";
115
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
116
- }
117
44
  export interface ConnectCustomKeyStoreRequest {
118
45
  CustomKeyStoreId: string | undefined;
119
46
  }
120
47
  export interface ConnectCustomKeyStoreResponse {}
121
- export declare class CustomKeyStoreInvalidStateException extends __BaseException {
122
- readonly name: "CustomKeyStoreInvalidStateException";
123
- readonly $fault: "client";
124
- constructor(
125
- opts: __ExceptionOptionType<
126
- CustomKeyStoreInvalidStateException,
127
- __BaseException
128
- >
129
- );
130
- }
131
- export declare class CustomKeyStoreNotFoundException extends __BaseException {
132
- readonly name: "CustomKeyStoreNotFoundException";
133
- readonly $fault: "client";
134
- constructor(
135
- opts: __ExceptionOptionType<
136
- CustomKeyStoreNotFoundException,
137
- __BaseException
138
- >
139
- );
140
- }
141
- export declare const ConnectionErrorCodeType: {
142
- readonly CLUSTER_NOT_FOUND: "CLUSTER_NOT_FOUND";
143
- readonly INSUFFICIENT_CLOUDHSM_HSMS: "INSUFFICIENT_CLOUDHSM_HSMS";
144
- readonly INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET: "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET";
145
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
146
- readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
147
- readonly NETWORK_ERRORS: "NETWORK_ERRORS";
148
- readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
149
- readonly USER_LOCKED_OUT: "USER_LOCKED_OUT";
150
- readonly USER_LOGGED_IN: "USER_LOGGED_IN";
151
- readonly USER_NOT_FOUND: "USER_NOT_FOUND";
152
- readonly XKS_PROXY_ACCESS_DENIED: "XKS_PROXY_ACCESS_DENIED";
153
- readonly XKS_PROXY_INVALID_CONFIGURATION: "XKS_PROXY_INVALID_CONFIGURATION";
154
- readonly XKS_PROXY_INVALID_RESPONSE: "XKS_PROXY_INVALID_RESPONSE";
155
- readonly XKS_PROXY_INVALID_TLS_CONFIGURATION: "XKS_PROXY_INVALID_TLS_CONFIGURATION";
156
- readonly XKS_PROXY_NOT_REACHABLE: "XKS_PROXY_NOT_REACHABLE";
157
- readonly XKS_PROXY_TIMED_OUT: "XKS_PROXY_TIMED_OUT";
158
- readonly XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION: "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
159
- readonly XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND: "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
160
- };
161
- export type ConnectionErrorCodeType =
162
- (typeof ConnectionErrorCodeType)[keyof typeof ConnectionErrorCodeType];
163
- export declare const ConnectionStateType: {
164
- readonly CONNECTED: "CONNECTED";
165
- readonly CONNECTING: "CONNECTING";
166
- readonly DISCONNECTED: "DISCONNECTED";
167
- readonly DISCONNECTING: "DISCONNECTING";
168
- readonly FAILED: "FAILED";
169
- };
170
- export type ConnectionStateType =
171
- (typeof ConnectionStateType)[keyof typeof ConnectionStateType];
172
48
  export interface CreateAliasRequest {
173
49
  AliasName: string | undefined;
174
50
  TargetKeyId: string | undefined;
175
51
  }
176
- export declare class InvalidAliasNameException extends __BaseException {
177
- readonly name: "InvalidAliasNameException";
178
- readonly $fault: "client";
179
- constructor(
180
- opts: __ExceptionOptionType<InvalidAliasNameException, __BaseException>
181
- );
182
- }
183
- export declare class LimitExceededException extends __BaseException {
184
- readonly name: "LimitExceededException";
185
- readonly $fault: "client";
186
- constructor(
187
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
188
- );
189
- }
190
- export declare const CustomKeyStoreType: {
191
- readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
192
- readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
193
- };
194
- export type CustomKeyStoreType =
195
- (typeof CustomKeyStoreType)[keyof typeof CustomKeyStoreType];
196
52
  export interface XksProxyAuthenticationCredentialType {
197
53
  AccessKeyId: string | undefined;
198
54
  RawSecretAccessKey: string | undefined;
199
55
  }
200
- export declare const XksProxyConnectivityType: {
201
- readonly PUBLIC_ENDPOINT: "PUBLIC_ENDPOINT";
202
- readonly VPC_ENDPOINT_SERVICE: "VPC_ENDPOINT_SERVICE";
203
- };
204
- export type XksProxyConnectivityType =
205
- (typeof XksProxyConnectivityType)[keyof typeof XksProxyConnectivityType];
206
56
  export interface CreateCustomKeyStoreRequest {
207
57
  CustomKeyStoreName: string | undefined;
208
58
  CloudHsmClusterId?: string | undefined;
@@ -221,135 +71,10 @@ export interface CreateCustomKeyStoreRequest {
221
71
  export interface CreateCustomKeyStoreResponse {
222
72
  CustomKeyStoreId?: string | undefined;
223
73
  }
224
- export declare class CustomKeyStoreNameInUseException extends __BaseException {
225
- readonly name: "CustomKeyStoreNameInUseException";
226
- readonly $fault: "client";
227
- constructor(
228
- opts: __ExceptionOptionType<
229
- CustomKeyStoreNameInUseException,
230
- __BaseException
231
- >
232
- );
233
- }
234
- export declare class IncorrectTrustAnchorException extends __BaseException {
235
- readonly name: "IncorrectTrustAnchorException";
236
- readonly $fault: "client";
237
- constructor(
238
- opts: __ExceptionOptionType<IncorrectTrustAnchorException, __BaseException>
239
- );
240
- }
241
- export declare class XksProxyIncorrectAuthenticationCredentialException extends __BaseException {
242
- readonly name: "XksProxyIncorrectAuthenticationCredentialException";
243
- readonly $fault: "client";
244
- constructor(
245
- opts: __ExceptionOptionType<
246
- XksProxyIncorrectAuthenticationCredentialException,
247
- __BaseException
248
- >
249
- );
250
- }
251
- export declare class XksProxyInvalidConfigurationException extends __BaseException {
252
- readonly name: "XksProxyInvalidConfigurationException";
253
- readonly $fault: "client";
254
- constructor(
255
- opts: __ExceptionOptionType<
256
- XksProxyInvalidConfigurationException,
257
- __BaseException
258
- >
259
- );
260
- }
261
- export declare class XksProxyInvalidResponseException extends __BaseException {
262
- readonly name: "XksProxyInvalidResponseException";
263
- readonly $fault: "client";
264
- constructor(
265
- opts: __ExceptionOptionType<
266
- XksProxyInvalidResponseException,
267
- __BaseException
268
- >
269
- );
270
- }
271
- export declare class XksProxyUriEndpointInUseException extends __BaseException {
272
- readonly name: "XksProxyUriEndpointInUseException";
273
- readonly $fault: "client";
274
- constructor(
275
- opts: __ExceptionOptionType<
276
- XksProxyUriEndpointInUseException,
277
- __BaseException
278
- >
279
- );
280
- }
281
- export declare class XksProxyUriInUseException extends __BaseException {
282
- readonly name: "XksProxyUriInUseException";
283
- readonly $fault: "client";
284
- constructor(
285
- opts: __ExceptionOptionType<XksProxyUriInUseException, __BaseException>
286
- );
287
- }
288
- export declare class XksProxyUriUnreachableException extends __BaseException {
289
- readonly name: "XksProxyUriUnreachableException";
290
- readonly $fault: "client";
291
- constructor(
292
- opts: __ExceptionOptionType<
293
- XksProxyUriUnreachableException,
294
- __BaseException
295
- >
296
- );
297
- }
298
- export declare class XksProxyVpcEndpointServiceInUseException extends __BaseException {
299
- readonly name: "XksProxyVpcEndpointServiceInUseException";
300
- readonly $fault: "client";
301
- constructor(
302
- opts: __ExceptionOptionType<
303
- XksProxyVpcEndpointServiceInUseException,
304
- __BaseException
305
- >
306
- );
307
- }
308
- export declare class XksProxyVpcEndpointServiceInvalidConfigurationException extends __BaseException {
309
- readonly name: "XksProxyVpcEndpointServiceInvalidConfigurationException";
310
- readonly $fault: "client";
311
- constructor(
312
- opts: __ExceptionOptionType<
313
- XksProxyVpcEndpointServiceInvalidConfigurationException,
314
- __BaseException
315
- >
316
- );
317
- }
318
- export declare class XksProxyVpcEndpointServiceNotFoundException extends __BaseException {
319
- readonly name: "XksProxyVpcEndpointServiceNotFoundException";
320
- readonly $fault: "client";
321
- constructor(
322
- opts: __ExceptionOptionType<
323
- XksProxyVpcEndpointServiceNotFoundException,
324
- __BaseException
325
- >
326
- );
327
- }
328
74
  export interface GrantConstraints {
329
75
  EncryptionContextSubset?: Record<string, string> | undefined;
330
76
  EncryptionContextEquals?: Record<string, string> | undefined;
331
77
  }
332
- export declare const GrantOperation: {
333
- readonly CreateGrant: "CreateGrant";
334
- readonly Decrypt: "Decrypt";
335
- readonly DeriveSharedSecret: "DeriveSharedSecret";
336
- readonly DescribeKey: "DescribeKey";
337
- readonly Encrypt: "Encrypt";
338
- readonly GenerateDataKey: "GenerateDataKey";
339
- readonly GenerateDataKeyPair: "GenerateDataKeyPair";
340
- readonly GenerateDataKeyPairWithoutPlaintext: "GenerateDataKeyPairWithoutPlaintext";
341
- readonly GenerateDataKeyWithoutPlaintext: "GenerateDataKeyWithoutPlaintext";
342
- readonly GenerateMac: "GenerateMac";
343
- readonly GetPublicKey: "GetPublicKey";
344
- readonly ReEncryptFrom: "ReEncryptFrom";
345
- readonly ReEncryptTo: "ReEncryptTo";
346
- readonly RetireGrant: "RetireGrant";
347
- readonly Sign: "Sign";
348
- readonly Verify: "Verify";
349
- readonly VerifyMac: "VerifyMac";
350
- };
351
- export type GrantOperation =
352
- (typeof GrantOperation)[keyof typeof GrantOperation];
353
78
  export interface CreateGrantRequest {
354
79
  KeyId: string | undefined;
355
80
  GranteePrincipal: string | undefined;
@@ -364,76 +89,6 @@ export interface CreateGrantResponse {
364
89
  GrantToken?: string | undefined;
365
90
  GrantId?: string | undefined;
366
91
  }
367
- export declare class DisabledException extends __BaseException {
368
- readonly name: "DisabledException";
369
- readonly $fault: "client";
370
- constructor(opts: __ExceptionOptionType<DisabledException, __BaseException>);
371
- }
372
- export declare class DryRunOperationException extends __BaseException {
373
- readonly name: "DryRunOperationException";
374
- readonly $fault: "client";
375
- constructor(
376
- opts: __ExceptionOptionType<DryRunOperationException, __BaseException>
377
- );
378
- }
379
- export declare class InvalidGrantTokenException extends __BaseException {
380
- readonly name: "InvalidGrantTokenException";
381
- readonly $fault: "client";
382
- constructor(
383
- opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>
384
- );
385
- }
386
- export declare const CustomerMasterKeySpec: {
387
- readonly ECC_NIST_P256: "ECC_NIST_P256";
388
- readonly ECC_NIST_P384: "ECC_NIST_P384";
389
- readonly ECC_NIST_P521: "ECC_NIST_P521";
390
- readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
391
- readonly HMAC_224: "HMAC_224";
392
- readonly HMAC_256: "HMAC_256";
393
- readonly HMAC_384: "HMAC_384";
394
- readonly HMAC_512: "HMAC_512";
395
- readonly RSA_2048: "RSA_2048";
396
- readonly RSA_3072: "RSA_3072";
397
- readonly RSA_4096: "RSA_4096";
398
- readonly SM2: "SM2";
399
- readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
400
- };
401
- export type CustomerMasterKeySpec =
402
- (typeof CustomerMasterKeySpec)[keyof typeof CustomerMasterKeySpec];
403
- export declare const KeySpec: {
404
- readonly ECC_NIST_EDWARDS25519: "ECC_NIST_EDWARDS25519";
405
- readonly ECC_NIST_P256: "ECC_NIST_P256";
406
- readonly ECC_NIST_P384: "ECC_NIST_P384";
407
- readonly ECC_NIST_P521: "ECC_NIST_P521";
408
- readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
409
- readonly HMAC_224: "HMAC_224";
410
- readonly HMAC_256: "HMAC_256";
411
- readonly HMAC_384: "HMAC_384";
412
- readonly HMAC_512: "HMAC_512";
413
- readonly ML_DSA_44: "ML_DSA_44";
414
- readonly ML_DSA_65: "ML_DSA_65";
415
- readonly ML_DSA_87: "ML_DSA_87";
416
- readonly RSA_2048: "RSA_2048";
417
- readonly RSA_3072: "RSA_3072";
418
- readonly RSA_4096: "RSA_4096";
419
- readonly SM2: "SM2";
420
- readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
421
- };
422
- export type KeySpec = (typeof KeySpec)[keyof typeof KeySpec];
423
- export declare const KeyUsageType: {
424
- readonly ENCRYPT_DECRYPT: "ENCRYPT_DECRYPT";
425
- readonly GENERATE_VERIFY_MAC: "GENERATE_VERIFY_MAC";
426
- readonly KEY_AGREEMENT: "KEY_AGREEMENT";
427
- readonly SIGN_VERIFY: "SIGN_VERIFY";
428
- };
429
- export type KeyUsageType = (typeof KeyUsageType)[keyof typeof KeyUsageType];
430
- export declare const OriginType: {
431
- readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
432
- readonly AWS_KMS: "AWS_KMS";
433
- readonly EXTERNAL: "EXTERNAL";
434
- readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
435
- };
436
- export type OriginType = (typeof OriginType)[keyof typeof OriginType];
437
92
  export interface Tag {
438
93
  TagKey: string | undefined;
439
94
  TagValue: string | undefined;
@@ -451,56 +106,6 @@ export interface CreateKeyRequest {
451
106
  MultiRegion?: boolean | undefined;
452
107
  XksKeyId?: string | undefined;
453
108
  }
454
- export declare const EncryptionAlgorithmSpec: {
455
- readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
456
- readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
457
- readonly SM2PKE: "SM2PKE";
458
- readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
459
- };
460
- export type EncryptionAlgorithmSpec =
461
- (typeof EncryptionAlgorithmSpec)[keyof typeof EncryptionAlgorithmSpec];
462
- export declare const ExpirationModelType: {
463
- readonly KEY_MATERIAL_DOES_NOT_EXPIRE: "KEY_MATERIAL_DOES_NOT_EXPIRE";
464
- readonly KEY_MATERIAL_EXPIRES: "KEY_MATERIAL_EXPIRES";
465
- };
466
- export type ExpirationModelType =
467
- (typeof ExpirationModelType)[keyof typeof ExpirationModelType];
468
- export declare const KeyAgreementAlgorithmSpec: {
469
- readonly ECDH: "ECDH";
470
- };
471
- export type KeyAgreementAlgorithmSpec =
472
- (typeof KeyAgreementAlgorithmSpec)[keyof typeof KeyAgreementAlgorithmSpec];
473
- export declare const KeyManagerType: {
474
- readonly AWS: "AWS";
475
- readonly CUSTOMER: "CUSTOMER";
476
- };
477
- export type KeyManagerType =
478
- (typeof KeyManagerType)[keyof typeof KeyManagerType];
479
- export declare const KeyState: {
480
- readonly Creating: "Creating";
481
- readonly Disabled: "Disabled";
482
- readonly Enabled: "Enabled";
483
- readonly PendingDeletion: "PendingDeletion";
484
- readonly PendingImport: "PendingImport";
485
- readonly PendingReplicaDeletion: "PendingReplicaDeletion";
486
- readonly Unavailable: "Unavailable";
487
- readonly Updating: "Updating";
488
- };
489
- export type KeyState = (typeof KeyState)[keyof typeof KeyState];
490
- export declare const MacAlgorithmSpec: {
491
- readonly HMAC_SHA_224: "HMAC_SHA_224";
492
- readonly HMAC_SHA_256: "HMAC_SHA_256";
493
- readonly HMAC_SHA_384: "HMAC_SHA_384";
494
- readonly HMAC_SHA_512: "HMAC_SHA_512";
495
- };
496
- export type MacAlgorithmSpec =
497
- (typeof MacAlgorithmSpec)[keyof typeof MacAlgorithmSpec];
498
- export declare const MultiRegionKeyType: {
499
- readonly PRIMARY: "PRIMARY";
500
- readonly REPLICA: "REPLICA";
501
- };
502
- export type MultiRegionKeyType =
503
- (typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
504
109
  export interface MultiRegionKey {
505
110
  Arn?: string | undefined;
506
111
  Region?: string | undefined;
@@ -510,23 +115,6 @@ export interface MultiRegionConfiguration {
510
115
  PrimaryKey?: MultiRegionKey | undefined;
511
116
  ReplicaKeys?: MultiRegionKey[] | undefined;
512
117
  }
513
- export declare const SigningAlgorithmSpec: {
514
- readonly ECDSA_SHA_256: "ECDSA_SHA_256";
515
- readonly ECDSA_SHA_384: "ECDSA_SHA_384";
516
- readonly ECDSA_SHA_512: "ECDSA_SHA_512";
517
- readonly ED25519_PH_SHA_512: "ED25519_PH_SHA_512";
518
- readonly ED25519_SHA_512: "ED25519_SHA_512";
519
- readonly ML_DSA_SHAKE_256: "ML_DSA_SHAKE_256";
520
- readonly RSASSA_PKCS1_V1_5_SHA_256: "RSASSA_PKCS1_V1_5_SHA_256";
521
- readonly RSASSA_PKCS1_V1_5_SHA_384: "RSASSA_PKCS1_V1_5_SHA_384";
522
- readonly RSASSA_PKCS1_V1_5_SHA_512: "RSASSA_PKCS1_V1_5_SHA_512";
523
- readonly RSASSA_PSS_SHA_256: "RSASSA_PSS_SHA_256";
524
- readonly RSASSA_PSS_SHA_384: "RSASSA_PSS_SHA_384";
525
- readonly RSASSA_PSS_SHA_512: "RSASSA_PSS_SHA_512";
526
- readonly SM2DSA: "SM2DSA";
527
- };
528
- export type SigningAlgorithmSpec =
529
- (typeof SigningAlgorithmSpec)[keyof typeof SigningAlgorithmSpec];
530
118
  export interface XksKeyConfigurationType {
531
119
  Id?: string | undefined;
532
120
  }
@@ -561,59 +149,6 @@ export interface KeyMetadata {
561
149
  export interface CreateKeyResponse {
562
150
  KeyMetadata?: KeyMetadata | undefined;
563
151
  }
564
- export declare class MalformedPolicyDocumentException extends __BaseException {
565
- readonly name: "MalformedPolicyDocumentException";
566
- readonly $fault: "client";
567
- constructor(
568
- opts: __ExceptionOptionType<
569
- MalformedPolicyDocumentException,
570
- __BaseException
571
- >
572
- );
573
- }
574
- export declare class TagException extends __BaseException {
575
- readonly name: "TagException";
576
- readonly $fault: "client";
577
- constructor(opts: __ExceptionOptionType<TagException, __BaseException>);
578
- }
579
- export declare class UnsupportedOperationException extends __BaseException {
580
- readonly name: "UnsupportedOperationException";
581
- readonly $fault: "client";
582
- constructor(
583
- opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
584
- );
585
- }
586
- export declare class XksKeyAlreadyInUseException extends __BaseException {
587
- readonly name: "XksKeyAlreadyInUseException";
588
- readonly $fault: "client";
589
- constructor(
590
- opts: __ExceptionOptionType<XksKeyAlreadyInUseException, __BaseException>
591
- );
592
- }
593
- export declare class XksKeyInvalidConfigurationException extends __BaseException {
594
- readonly name: "XksKeyInvalidConfigurationException";
595
- readonly $fault: "client";
596
- constructor(
597
- opts: __ExceptionOptionType<
598
- XksKeyInvalidConfigurationException,
599
- __BaseException
600
- >
601
- );
602
- }
603
- export declare class XksKeyNotFoundException extends __BaseException {
604
- readonly name: "XksKeyNotFoundException";
605
- readonly $fault: "client";
606
- constructor(
607
- opts: __ExceptionOptionType<XksKeyNotFoundException, __BaseException>
608
- );
609
- }
610
- export declare class CustomKeyStoreHasCMKsException extends __BaseException {
611
- readonly name: "CustomKeyStoreHasCMKsException";
612
- readonly $fault: "client";
613
- constructor(
614
- opts: __ExceptionOptionType<CustomKeyStoreHasCMKsException, __BaseException>
615
- );
616
- }
617
152
  export interface XksProxyConfigurationType {
618
153
  Connectivity?: XksProxyConnectivityType | undefined;
619
154
  AccessKeyId?: string | undefined;
@@ -633,29 +168,6 @@ export interface CustomKeyStoresListEntry {
633
168
  CustomKeyStoreType?: CustomKeyStoreType | undefined;
634
169
  XksProxyConfiguration?: XksProxyConfigurationType | undefined;
635
170
  }
636
- export declare const DataKeyPairSpec: {
637
- readonly ECC_NIST_EDWARDS25519: "ECC_NIST_EDWARDS25519";
638
- readonly ECC_NIST_P256: "ECC_NIST_P256";
639
- readonly ECC_NIST_P384: "ECC_NIST_P384";
640
- readonly ECC_NIST_P521: "ECC_NIST_P521";
641
- readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
642
- readonly RSA_2048: "RSA_2048";
643
- readonly RSA_3072: "RSA_3072";
644
- readonly RSA_4096: "RSA_4096";
645
- readonly SM2: "SM2";
646
- };
647
- export type DataKeyPairSpec =
648
- (typeof DataKeyPairSpec)[keyof typeof DataKeyPairSpec];
649
- export declare const DataKeySpec: {
650
- readonly AES_128: "AES_128";
651
- readonly AES_256: "AES_256";
652
- };
653
- export type DataKeySpec = (typeof DataKeySpec)[keyof typeof DataKeySpec];
654
- export declare const KeyEncryptionMechanism: {
655
- readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
656
- };
657
- export type KeyEncryptionMechanism =
658
- (typeof KeyEncryptionMechanism)[keyof typeof KeyEncryptionMechanism];
659
171
  export interface RecipientInfo {
660
172
  KeyEncryptionAlgorithm?: KeyEncryptionMechanism | undefined;
661
173
  AttestationDocument?: Uint8Array | undefined;
@@ -676,34 +188,6 @@ export interface DecryptResponse {
676
188
  CiphertextForRecipient?: Uint8Array | undefined;
677
189
  KeyMaterialId?: string | undefined;
678
190
  }
679
- export declare class IncorrectKeyException extends __BaseException {
680
- readonly name: "IncorrectKeyException";
681
- readonly $fault: "client";
682
- constructor(
683
- opts: __ExceptionOptionType<IncorrectKeyException, __BaseException>
684
- );
685
- }
686
- export declare class InvalidCiphertextException extends __BaseException {
687
- readonly name: "InvalidCiphertextException";
688
- readonly $fault: "client";
689
- constructor(
690
- opts: __ExceptionOptionType<InvalidCiphertextException, __BaseException>
691
- );
692
- }
693
- export declare class InvalidKeyUsageException extends __BaseException {
694
- readonly name: "InvalidKeyUsageException";
695
- readonly $fault: "client";
696
- constructor(
697
- opts: __ExceptionOptionType<InvalidKeyUsageException, __BaseException>
698
- );
699
- }
700
- export declare class KeyUnavailableException extends __BaseException {
701
- readonly name: "KeyUnavailableException";
702
- readonly $fault: "server";
703
- constructor(
704
- opts: __ExceptionOptionType<KeyUnavailableException, __BaseException>
705
- );
706
- }
707
191
  export interface DeleteAliasRequest {
708
192
  AliasName: string | undefined;
709
193
  }
@@ -745,13 +229,6 @@ export interface DescribeCustomKeyStoresResponse {
745
229
  NextMarker?: string | undefined;
746
230
  Truncated?: boolean | undefined;
747
231
  }
748
- export declare class InvalidMarkerException extends __BaseException {
749
- readonly name: "InvalidMarkerException";
750
- readonly $fault: "client";
751
- constructor(
752
- opts: __ExceptionOptionType<InvalidMarkerException, __BaseException>
753
- );
754
- }
755
232
  export interface DescribeKeyRequest {
756
233
  KeyId: string | undefined;
757
234
  GrantTokens?: string[] | undefined;
@@ -789,13 +266,6 @@ export interface EncryptResponse {
789
266
  KeyId?: string | undefined;
790
267
  EncryptionAlgorithm?: EncryptionAlgorithmSpec | undefined;
791
268
  }
792
- export declare class ExpiredImportTokenException extends __BaseException {
793
- readonly name: "ExpiredImportTokenException";
794
- readonly $fault: "client";
795
- constructor(
796
- opts: __ExceptionOptionType<ExpiredImportTokenException, __BaseException>
797
- );
798
- }
799
269
  export interface GenerateDataKeyRequest {
800
270
  KeyId: string | undefined;
801
271
  EncryptionContext?: Record<string, string> | undefined;
@@ -895,14 +365,6 @@ export interface GetKeyRotationStatusResponse {
895
365
  NextRotationDate?: Date | undefined;
896
366
  OnDemandRotationStartDate?: Date | undefined;
897
367
  }
898
- export declare const WrappingKeySpec: {
899
- readonly RSA_2048: "RSA_2048";
900
- readonly RSA_3072: "RSA_3072";
901
- readonly RSA_4096: "RSA_4096";
902
- readonly SM2: "SM2";
903
- };
904
- export type WrappingKeySpec =
905
- (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
906
368
  export interface GetParametersForImportRequest {
907
369
  KeyId: string | undefined;
908
370
  WrappingAlgorithm: AlgorithmSpec | undefined;
@@ -939,11 +401,6 @@ export interface GrantListEntry {
939
401
  Operations?: GrantOperation[] | undefined;
940
402
  Constraints?: GrantConstraints | undefined;
941
403
  }
942
- export declare const ImportType: {
943
- readonly EXISTING_KEY_MATERIAL: "EXISTING_KEY_MATERIAL";
944
- readonly NEW_KEY_MATERIAL: "NEW_KEY_MATERIAL";
945
- };
946
- export type ImportType = (typeof ImportType)[keyof typeof ImportType];
947
404
  export interface ImportKeyMaterialRequest {
948
405
  KeyId: string | undefined;
949
406
  ImportToken: Uint8Array | undefined;
@@ -958,63 +415,10 @@ export interface ImportKeyMaterialResponse {
958
415
  KeyId?: string | undefined;
959
416
  KeyMaterialId?: string | undefined;
960
417
  }
961
- export declare class IncorrectKeyMaterialException extends __BaseException {
962
- readonly name: "IncorrectKeyMaterialException";
963
- readonly $fault: "client";
964
- constructor(
965
- opts: __ExceptionOptionType<IncorrectKeyMaterialException, __BaseException>
966
- );
967
- }
968
- export declare class InvalidImportTokenException extends __BaseException {
969
- readonly name: "InvalidImportTokenException";
970
- readonly $fault: "client";
971
- constructor(
972
- opts: __ExceptionOptionType<InvalidImportTokenException, __BaseException>
973
- );
974
- }
975
- export declare const ImportState: {
976
- readonly IMPORTED: "IMPORTED";
977
- readonly PENDING_IMPORT: "PENDING_IMPORT";
978
- };
979
- export type ImportState = (typeof ImportState)[keyof typeof ImportState];
980
- export declare const IncludeKeyMaterial: {
981
- readonly ALL_KEY_MATERIAL: "ALL_KEY_MATERIAL";
982
- readonly ROTATIONS_ONLY: "ROTATIONS_ONLY";
983
- };
984
- export type IncludeKeyMaterial =
985
- (typeof IncludeKeyMaterial)[keyof typeof IncludeKeyMaterial];
986
- export declare class InvalidGrantIdException extends __BaseException {
987
- readonly name: "InvalidGrantIdException";
988
- readonly $fault: "client";
989
- constructor(
990
- opts: __ExceptionOptionType<InvalidGrantIdException, __BaseException>
991
- );
992
- }
993
418
  export interface KeyListEntry {
994
419
  KeyId?: string | undefined;
995
420
  KeyArn?: string | undefined;
996
421
  }
997
- export declare const KeyMaterialState: {
998
- readonly CURRENT: "CURRENT";
999
- readonly NON_CURRENT: "NON_CURRENT";
1000
- readonly PENDING_ROTATION: "PENDING_ROTATION";
1001
- };
1002
- export type KeyMaterialState =
1003
- (typeof KeyMaterialState)[keyof typeof KeyMaterialState];
1004
- export declare class KMSInvalidMacException extends __BaseException {
1005
- readonly name: "KMSInvalidMacException";
1006
- readonly $fault: "client";
1007
- constructor(
1008
- opts: __ExceptionOptionType<KMSInvalidMacException, __BaseException>
1009
- );
1010
- }
1011
- export declare class KMSInvalidSignatureException extends __BaseException {
1012
- readonly name: "KMSInvalidSignatureException";
1013
- readonly $fault: "client";
1014
- constructor(
1015
- opts: __ExceptionOptionType<KMSInvalidSignatureException, __BaseException>
1016
- );
1017
- }
1018
422
  export interface ListAliasesRequest {
1019
423
  KeyId?: string | undefined;
1020
424
  Limit?: number | undefined;
@@ -1053,11 +457,6 @@ export interface ListKeyRotationsRequest {
1053
457
  Limit?: number | undefined;
1054
458
  Marker?: string | undefined;
1055
459
  }
1056
- export declare const RotationType: {
1057
- readonly AUTOMATIC: "AUTOMATIC";
1058
- readonly ON_DEMAND: "ON_DEMAND";
1059
- };
1060
- export type RotationType = (typeof RotationType)[keyof typeof RotationType];
1061
460
  export interface RotationsListEntry {
1062
461
  KeyId?: string | undefined;
1063
462
  KeyMaterialId?: string | undefined;
@@ -1098,12 +497,6 @@ export interface ListRetirableGrantsRequest {
1098
497
  Marker?: string | undefined;
1099
498
  RetiringPrincipal: string | undefined;
1100
499
  }
1101
- export declare const MessageType: {
1102
- readonly DIGEST: "DIGEST";
1103
- readonly EXTERNAL_MU: "EXTERNAL_MU";
1104
- readonly RAW: "RAW";
1105
- };
1106
- export type MessageType = (typeof MessageType)[keyof typeof MessageType];
1107
500
  export interface PutKeyPolicyRequest {
1108
501
  KeyId: string | undefined;
1109
502
  PolicyName?: string | undefined;