@aws-sdk/client-kms 3.301.0 → 3.306.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.
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AlgorithmSpec {
7
- RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
8
- RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
9
- RSAES_PKCS1_V1_5 = "RSAES_PKCS1_V1_5"
10
- }
7
+ export declare const AlgorithmSpec: {
8
+ readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
9
+ readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
10
+ readonly RSAES_PKCS1_V1_5: "RSAES_PKCS1_V1_5";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type AlgorithmSpec = (typeof AlgorithmSpec)[keyof typeof AlgorithmSpec];
11
16
  /**
12
17
  * @public
13
18
  * <p>Contains information about an alias.</p>
@@ -341,37 +346,47 @@ export declare class CustomKeyStoreNotFoundException extends __BaseException {
341
346
  }
342
347
  /**
343
348
  * @public
349
+ * @enum
344
350
  */
345
- export declare enum ConnectionErrorCodeType {
346
- CLUSTER_NOT_FOUND = "CLUSTER_NOT_FOUND",
347
- INSUFFICIENT_CLOUDHSM_HSMS = "INSUFFICIENT_CLOUDHSM_HSMS",
348
- INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET",
349
- INTERNAL_ERROR = "INTERNAL_ERROR",
350
- INVALID_CREDENTIALS = "INVALID_CREDENTIALS",
351
- NETWORK_ERRORS = "NETWORK_ERRORS",
352
- SUBNET_NOT_FOUND = "SUBNET_NOT_FOUND",
353
- USER_LOCKED_OUT = "USER_LOCKED_OUT",
354
- USER_LOGGED_IN = "USER_LOGGED_IN",
355
- USER_NOT_FOUND = "USER_NOT_FOUND",
356
- XKS_PROXY_ACCESS_DENIED = "XKS_PROXY_ACCESS_DENIED",
357
- XKS_PROXY_INVALID_CONFIGURATION = "XKS_PROXY_INVALID_CONFIGURATION",
358
- XKS_PROXY_INVALID_RESPONSE = "XKS_PROXY_INVALID_RESPONSE",
359
- XKS_PROXY_INVALID_TLS_CONFIGURATION = "XKS_PROXY_INVALID_TLS_CONFIGURATION",
360
- XKS_PROXY_NOT_REACHABLE = "XKS_PROXY_NOT_REACHABLE",
361
- XKS_PROXY_TIMED_OUT = "XKS_PROXY_TIMED_OUT",
362
- XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION",
363
- XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND"
364
- }
351
+ export declare const ConnectionErrorCodeType: {
352
+ readonly CLUSTER_NOT_FOUND: "CLUSTER_NOT_FOUND";
353
+ readonly INSUFFICIENT_CLOUDHSM_HSMS: "INSUFFICIENT_CLOUDHSM_HSMS";
354
+ readonly INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET: "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET";
355
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
356
+ readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
357
+ readonly NETWORK_ERRORS: "NETWORK_ERRORS";
358
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
359
+ readonly USER_LOCKED_OUT: "USER_LOCKED_OUT";
360
+ readonly USER_LOGGED_IN: "USER_LOGGED_IN";
361
+ readonly USER_NOT_FOUND: "USER_NOT_FOUND";
362
+ readonly XKS_PROXY_ACCESS_DENIED: "XKS_PROXY_ACCESS_DENIED";
363
+ readonly XKS_PROXY_INVALID_CONFIGURATION: "XKS_PROXY_INVALID_CONFIGURATION";
364
+ readonly XKS_PROXY_INVALID_RESPONSE: "XKS_PROXY_INVALID_RESPONSE";
365
+ readonly XKS_PROXY_INVALID_TLS_CONFIGURATION: "XKS_PROXY_INVALID_TLS_CONFIGURATION";
366
+ readonly XKS_PROXY_NOT_REACHABLE: "XKS_PROXY_NOT_REACHABLE";
367
+ readonly XKS_PROXY_TIMED_OUT: "XKS_PROXY_TIMED_OUT";
368
+ readonly XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION: "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
369
+ readonly XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND: "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
370
+ };
365
371
  /**
366
372
  * @public
367
373
  */
368
- export declare enum ConnectionStateType {
369
- CONNECTED = "CONNECTED",
370
- CONNECTING = "CONNECTING",
371
- DISCONNECTED = "DISCONNECTED",
372
- DISCONNECTING = "DISCONNECTING",
373
- FAILED = "FAILED"
374
- }
374
+ export type ConnectionErrorCodeType = (typeof ConnectionErrorCodeType)[keyof typeof ConnectionErrorCodeType];
375
+ /**
376
+ * @public
377
+ * @enum
378
+ */
379
+ export declare const ConnectionStateType: {
380
+ readonly CONNECTED: "CONNECTED";
381
+ readonly CONNECTING: "CONNECTING";
382
+ readonly DISCONNECTED: "DISCONNECTED";
383
+ readonly DISCONNECTING: "DISCONNECTING";
384
+ readonly FAILED: "FAILED";
385
+ };
386
+ /**
387
+ * @public
388
+ */
389
+ export type ConnectionStateType = (typeof ConnectionStateType)[keyof typeof ConnectionStateType];
375
390
  /**
376
391
  * @public
377
392
  */
@@ -438,11 +453,16 @@ export declare class LimitExceededException extends __BaseException {
438
453
  }
439
454
  /**
440
455
  * @public
456
+ * @enum
441
457
  */
442
- export declare enum CustomKeyStoreType {
443
- AWS_CLOUDHSM = "AWS_CLOUDHSM",
444
- EXTERNAL_KEY_STORE = "EXTERNAL_KEY_STORE"
445
- }
458
+ export declare const CustomKeyStoreType: {
459
+ readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
460
+ readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
461
+ };
462
+ /**
463
+ * @public
464
+ */
465
+ export type CustomKeyStoreType = (typeof CustomKeyStoreType)[keyof typeof CustomKeyStoreType];
446
466
  /**
447
467
  * @public
448
468
  * <p>KMS uses the authentication credential to sign requests that it sends to the external
@@ -463,11 +483,16 @@ export interface XksProxyAuthenticationCredentialType {
463
483
  }
464
484
  /**
465
485
  * @public
486
+ * @enum
466
487
  */
467
- export declare enum XksProxyConnectivityType {
468
- PUBLIC_ENDPOINT = "PUBLIC_ENDPOINT",
469
- VPC_ENDPOINT_SERVICE = "VPC_ENDPOINT_SERVICE"
470
- }
488
+ export declare const XksProxyConnectivityType: {
489
+ readonly PUBLIC_ENDPOINT: "PUBLIC_ENDPOINT";
490
+ readonly VPC_ENDPOINT_SERVICE: "VPC_ENDPOINT_SERVICE";
491
+ };
492
+ /**
493
+ * @public
494
+ */
495
+ export type XksProxyConnectivityType = (typeof XksProxyConnectivityType)[keyof typeof XksProxyConnectivityType];
471
496
  /**
472
497
  * @public
473
498
  */
@@ -837,25 +862,30 @@ export interface GrantConstraints {
837
862
  }
838
863
  /**
839
864
  * @public
865
+ * @enum
840
866
  */
841
- export declare enum GrantOperation {
842
- CreateGrant = "CreateGrant",
843
- Decrypt = "Decrypt",
844
- DescribeKey = "DescribeKey",
845
- Encrypt = "Encrypt",
846
- GenerateDataKey = "GenerateDataKey",
847
- GenerateDataKeyPair = "GenerateDataKeyPair",
848
- GenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlaintext",
849
- GenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext",
850
- GenerateMac = "GenerateMac",
851
- GetPublicKey = "GetPublicKey",
852
- ReEncryptFrom = "ReEncryptFrom",
853
- ReEncryptTo = "ReEncryptTo",
854
- RetireGrant = "RetireGrant",
855
- Sign = "Sign",
856
- Verify = "Verify",
857
- VerifyMac = "VerifyMac"
858
- }
867
+ export declare const GrantOperation: {
868
+ readonly CreateGrant: "CreateGrant";
869
+ readonly Decrypt: "Decrypt";
870
+ readonly DescribeKey: "DescribeKey";
871
+ readonly Encrypt: "Encrypt";
872
+ readonly GenerateDataKey: "GenerateDataKey";
873
+ readonly GenerateDataKeyPair: "GenerateDataKeyPair";
874
+ readonly GenerateDataKeyPairWithoutPlaintext: "GenerateDataKeyPairWithoutPlaintext";
875
+ readonly GenerateDataKeyWithoutPlaintext: "GenerateDataKeyWithoutPlaintext";
876
+ readonly GenerateMac: "GenerateMac";
877
+ readonly GetPublicKey: "GetPublicKey";
878
+ readonly ReEncryptFrom: "ReEncryptFrom";
879
+ readonly ReEncryptTo: "ReEncryptTo";
880
+ readonly RetireGrant: "RetireGrant";
881
+ readonly Sign: "Sign";
882
+ readonly Verify: "Verify";
883
+ readonly VerifyMac: "VerifyMac";
884
+ };
885
+ /**
886
+ * @public
887
+ */
888
+ export type GrantOperation = (typeof GrantOperation)[keyof typeof GrantOperation];
859
889
  /**
860
890
  * @public
861
891
  */
@@ -1001,57 +1031,77 @@ export declare class InvalidGrantTokenException extends __BaseException {
1001
1031
  }
1002
1032
  /**
1003
1033
  * @public
1034
+ * @enum
1004
1035
  */
1005
- export declare enum CustomerMasterKeySpec {
1006
- ECC_NIST_P256 = "ECC_NIST_P256",
1007
- ECC_NIST_P384 = "ECC_NIST_P384",
1008
- ECC_NIST_P521 = "ECC_NIST_P521",
1009
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
1010
- HMAC_224 = "HMAC_224",
1011
- HMAC_256 = "HMAC_256",
1012
- HMAC_384 = "HMAC_384",
1013
- HMAC_512 = "HMAC_512",
1014
- RSA_2048 = "RSA_2048",
1015
- RSA_3072 = "RSA_3072",
1016
- RSA_4096 = "RSA_4096",
1017
- SM2 = "SM2",
1018
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
1019
- }
1036
+ export declare const CustomerMasterKeySpec: {
1037
+ readonly ECC_NIST_P256: "ECC_NIST_P256";
1038
+ readonly ECC_NIST_P384: "ECC_NIST_P384";
1039
+ readonly ECC_NIST_P521: "ECC_NIST_P521";
1040
+ readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
1041
+ readonly HMAC_224: "HMAC_224";
1042
+ readonly HMAC_256: "HMAC_256";
1043
+ readonly HMAC_384: "HMAC_384";
1044
+ readonly HMAC_512: "HMAC_512";
1045
+ readonly RSA_2048: "RSA_2048";
1046
+ readonly RSA_3072: "RSA_3072";
1047
+ readonly RSA_4096: "RSA_4096";
1048
+ readonly SM2: "SM2";
1049
+ readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
1050
+ };
1020
1051
  /**
1021
1052
  * @public
1022
1053
  */
1023
- export declare enum KeySpec {
1024
- ECC_NIST_P256 = "ECC_NIST_P256",
1025
- ECC_NIST_P384 = "ECC_NIST_P384",
1026
- ECC_NIST_P521 = "ECC_NIST_P521",
1027
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
1028
- HMAC_224 = "HMAC_224",
1029
- HMAC_256 = "HMAC_256",
1030
- HMAC_384 = "HMAC_384",
1031
- HMAC_512 = "HMAC_512",
1032
- RSA_2048 = "RSA_2048",
1033
- RSA_3072 = "RSA_3072",
1034
- RSA_4096 = "RSA_4096",
1035
- SM2 = "SM2",
1036
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
1037
- }
1054
+ export type CustomerMasterKeySpec = (typeof CustomerMasterKeySpec)[keyof typeof CustomerMasterKeySpec];
1038
1055
  /**
1039
1056
  * @public
1057
+ * @enum
1040
1058
  */
1041
- export declare enum KeyUsageType {
1042
- ENCRYPT_DECRYPT = "ENCRYPT_DECRYPT",
1043
- GENERATE_VERIFY_MAC = "GENERATE_VERIFY_MAC",
1044
- SIGN_VERIFY = "SIGN_VERIFY"
1045
- }
1059
+ export declare const KeySpec: {
1060
+ readonly ECC_NIST_P256: "ECC_NIST_P256";
1061
+ readonly ECC_NIST_P384: "ECC_NIST_P384";
1062
+ readonly ECC_NIST_P521: "ECC_NIST_P521";
1063
+ readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
1064
+ readonly HMAC_224: "HMAC_224";
1065
+ readonly HMAC_256: "HMAC_256";
1066
+ readonly HMAC_384: "HMAC_384";
1067
+ readonly HMAC_512: "HMAC_512";
1068
+ readonly RSA_2048: "RSA_2048";
1069
+ readonly RSA_3072: "RSA_3072";
1070
+ readonly RSA_4096: "RSA_4096";
1071
+ readonly SM2: "SM2";
1072
+ readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
1073
+ };
1046
1074
  /**
1047
1075
  * @public
1048
1076
  */
1049
- export declare enum OriginType {
1050
- AWS_CLOUDHSM = "AWS_CLOUDHSM",
1051
- AWS_KMS = "AWS_KMS",
1052
- EXTERNAL = "EXTERNAL",
1053
- EXTERNAL_KEY_STORE = "EXTERNAL_KEY_STORE"
1054
- }
1077
+ export type KeySpec = (typeof KeySpec)[keyof typeof KeySpec];
1078
+ /**
1079
+ * @public
1080
+ * @enum
1081
+ */
1082
+ export declare const KeyUsageType: {
1083
+ readonly ENCRYPT_DECRYPT: "ENCRYPT_DECRYPT";
1084
+ readonly GENERATE_VERIFY_MAC: "GENERATE_VERIFY_MAC";
1085
+ readonly SIGN_VERIFY: "SIGN_VERIFY";
1086
+ };
1087
+ /**
1088
+ * @public
1089
+ */
1090
+ export type KeyUsageType = (typeof KeyUsageType)[keyof typeof KeyUsageType];
1091
+ /**
1092
+ * @public
1093
+ * @enum
1094
+ */
1095
+ export declare const OriginType: {
1096
+ readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
1097
+ readonly AWS_KMS: "AWS_KMS";
1098
+ readonly EXTERNAL: "EXTERNAL";
1099
+ readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
1100
+ };
1101
+ /**
1102
+ * @public
1103
+ */
1104
+ export type OriginType = (typeof OriginType)[keyof typeof OriginType];
1055
1105
  /**
1056
1106
  * @public
1057
1107
  * <p>A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are
@@ -1365,56 +1415,86 @@ export interface CreateKeyRequest {
1365
1415
  }
1366
1416
  /**
1367
1417
  * @public
1418
+ * @enum
1368
1419
  */
1369
- export declare enum EncryptionAlgorithmSpec {
1370
- RSAES_OAEP_SHA_1 = "RSAES_OAEP_SHA_1",
1371
- RSAES_OAEP_SHA_256 = "RSAES_OAEP_SHA_256",
1372
- SM2PKE = "SM2PKE",
1373
- SYMMETRIC_DEFAULT = "SYMMETRIC_DEFAULT"
1374
- }
1420
+ export declare const EncryptionAlgorithmSpec: {
1421
+ readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
1422
+ readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
1423
+ readonly SM2PKE: "SM2PKE";
1424
+ readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
1425
+ };
1375
1426
  /**
1376
1427
  * @public
1377
1428
  */
1378
- export declare enum ExpirationModelType {
1379
- KEY_MATERIAL_DOES_NOT_EXPIRE = "KEY_MATERIAL_DOES_NOT_EXPIRE",
1380
- KEY_MATERIAL_EXPIRES = "KEY_MATERIAL_EXPIRES"
1381
- }
1429
+ export type EncryptionAlgorithmSpec = (typeof EncryptionAlgorithmSpec)[keyof typeof EncryptionAlgorithmSpec];
1382
1430
  /**
1383
1431
  * @public
1432
+ * @enum
1384
1433
  */
1385
- export declare enum KeyManagerType {
1386
- AWS = "AWS",
1387
- CUSTOMER = "CUSTOMER"
1388
- }
1434
+ export declare const ExpirationModelType: {
1435
+ readonly KEY_MATERIAL_DOES_NOT_EXPIRE: "KEY_MATERIAL_DOES_NOT_EXPIRE";
1436
+ readonly KEY_MATERIAL_EXPIRES: "KEY_MATERIAL_EXPIRES";
1437
+ };
1389
1438
  /**
1390
1439
  * @public
1391
1440
  */
1392
- export declare enum KeyState {
1393
- Creating = "Creating",
1394
- Disabled = "Disabled",
1395
- Enabled = "Enabled",
1396
- PendingDeletion = "PendingDeletion",
1397
- PendingImport = "PendingImport",
1398
- PendingReplicaDeletion = "PendingReplicaDeletion",
1399
- Unavailable = "Unavailable",
1400
- Updating = "Updating"
1401
- }
1441
+ export type ExpirationModelType = (typeof ExpirationModelType)[keyof typeof ExpirationModelType];
1402
1442
  /**
1403
1443
  * @public
1444
+ * @enum
1404
1445
  */
1405
- export declare enum MacAlgorithmSpec {
1406
- HMAC_SHA_224 = "HMAC_SHA_224",
1407
- HMAC_SHA_256 = "HMAC_SHA_256",
1408
- HMAC_SHA_384 = "HMAC_SHA_384",
1409
- HMAC_SHA_512 = "HMAC_SHA_512"
1410
- }
1446
+ export declare const KeyManagerType: {
1447
+ readonly AWS: "AWS";
1448
+ readonly CUSTOMER: "CUSTOMER";
1449
+ };
1411
1450
  /**
1412
1451
  * @public
1413
1452
  */
1414
- export declare enum MultiRegionKeyType {
1415
- PRIMARY = "PRIMARY",
1416
- REPLICA = "REPLICA"
1417
- }
1453
+ export type KeyManagerType = (typeof KeyManagerType)[keyof typeof KeyManagerType];
1454
+ /**
1455
+ * @public
1456
+ * @enum
1457
+ */
1458
+ export declare const KeyState: {
1459
+ readonly Creating: "Creating";
1460
+ readonly Disabled: "Disabled";
1461
+ readonly Enabled: "Enabled";
1462
+ readonly PendingDeletion: "PendingDeletion";
1463
+ readonly PendingImport: "PendingImport";
1464
+ readonly PendingReplicaDeletion: "PendingReplicaDeletion";
1465
+ readonly Unavailable: "Unavailable";
1466
+ readonly Updating: "Updating";
1467
+ };
1468
+ /**
1469
+ * @public
1470
+ */
1471
+ export type KeyState = (typeof KeyState)[keyof typeof KeyState];
1472
+ /**
1473
+ * @public
1474
+ * @enum
1475
+ */
1476
+ export declare const MacAlgorithmSpec: {
1477
+ readonly HMAC_SHA_224: "HMAC_SHA_224";
1478
+ readonly HMAC_SHA_256: "HMAC_SHA_256";
1479
+ readonly HMAC_SHA_384: "HMAC_SHA_384";
1480
+ readonly HMAC_SHA_512: "HMAC_SHA_512";
1481
+ };
1482
+ /**
1483
+ * @public
1484
+ */
1485
+ export type MacAlgorithmSpec = (typeof MacAlgorithmSpec)[keyof typeof MacAlgorithmSpec];
1486
+ /**
1487
+ * @public
1488
+ * @enum
1489
+ */
1490
+ export declare const MultiRegionKeyType: {
1491
+ readonly PRIMARY: "PRIMARY";
1492
+ readonly REPLICA: "REPLICA";
1493
+ };
1494
+ /**
1495
+ * @public
1496
+ */
1497
+ export type MultiRegionKeyType = (typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
1418
1498
  /**
1419
1499
  * @public
1420
1500
  * <p>Describes the primary or replica key in a multi-Region key.</p>
@@ -1455,19 +1535,24 @@ export interface MultiRegionConfiguration {
1455
1535
  }
1456
1536
  /**
1457
1537
  * @public
1538
+ * @enum
1458
1539
  */
1459
- export declare enum SigningAlgorithmSpec {
1460
- ECDSA_SHA_256 = "ECDSA_SHA_256",
1461
- ECDSA_SHA_384 = "ECDSA_SHA_384",
1462
- ECDSA_SHA_512 = "ECDSA_SHA_512",
1463
- RSASSA_PKCS1_V1_5_SHA_256 = "RSASSA_PKCS1_V1_5_SHA_256",
1464
- RSASSA_PKCS1_V1_5_SHA_384 = "RSASSA_PKCS1_V1_5_SHA_384",
1465
- RSASSA_PKCS1_V1_5_SHA_512 = "RSASSA_PKCS1_V1_5_SHA_512",
1466
- RSASSA_PSS_SHA_256 = "RSASSA_PSS_SHA_256",
1467
- RSASSA_PSS_SHA_384 = "RSASSA_PSS_SHA_384",
1468
- RSASSA_PSS_SHA_512 = "RSASSA_PSS_SHA_512",
1469
- SM2DSA = "SM2DSA"
1470
- }
1540
+ export declare const SigningAlgorithmSpec: {
1541
+ readonly ECDSA_SHA_256: "ECDSA_SHA_256";
1542
+ readonly ECDSA_SHA_384: "ECDSA_SHA_384";
1543
+ readonly ECDSA_SHA_512: "ECDSA_SHA_512";
1544
+ readonly RSASSA_PKCS1_V1_5_SHA_256: "RSASSA_PKCS1_V1_5_SHA_256";
1545
+ readonly RSASSA_PKCS1_V1_5_SHA_384: "RSASSA_PKCS1_V1_5_SHA_384";
1546
+ readonly RSASSA_PKCS1_V1_5_SHA_512: "RSASSA_PKCS1_V1_5_SHA_512";
1547
+ readonly RSASSA_PSS_SHA_256: "RSASSA_PSS_SHA_256";
1548
+ readonly RSASSA_PSS_SHA_384: "RSASSA_PSS_SHA_384";
1549
+ readonly RSASSA_PSS_SHA_512: "RSASSA_PSS_SHA_512";
1550
+ readonly SM2DSA: "SM2DSA";
1551
+ };
1552
+ /**
1553
+ * @public
1554
+ */
1555
+ export type SigningAlgorithmSpec = (typeof SigningAlgorithmSpec)[keyof typeof SigningAlgorithmSpec];
1471
1556
  /**
1472
1557
  * @public
1473
1558
  * <p>Information about the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/keystore-external.html#concept-external-key">external key </a>that is associated with a KMS key in an
@@ -2063,24 +2148,34 @@ export interface CustomKeyStoresListEntry {
2063
2148
  }
2064
2149
  /**
2065
2150
  * @public
2151
+ * @enum
2066
2152
  */
2067
- export declare enum DataKeyPairSpec {
2068
- ECC_NIST_P256 = "ECC_NIST_P256",
2069
- ECC_NIST_P384 = "ECC_NIST_P384",
2070
- ECC_NIST_P521 = "ECC_NIST_P521",
2071
- ECC_SECG_P256K1 = "ECC_SECG_P256K1",
2072
- RSA_2048 = "RSA_2048",
2073
- RSA_3072 = "RSA_3072",
2074
- RSA_4096 = "RSA_4096",
2075
- SM2 = "SM2"
2076
- }
2153
+ export declare const DataKeyPairSpec: {
2154
+ readonly ECC_NIST_P256: "ECC_NIST_P256";
2155
+ readonly ECC_NIST_P384: "ECC_NIST_P384";
2156
+ readonly ECC_NIST_P521: "ECC_NIST_P521";
2157
+ readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
2158
+ readonly RSA_2048: "RSA_2048";
2159
+ readonly RSA_3072: "RSA_3072";
2160
+ readonly RSA_4096: "RSA_4096";
2161
+ readonly SM2: "SM2";
2162
+ };
2077
2163
  /**
2078
2164
  * @public
2079
2165
  */
2080
- export declare enum DataKeySpec {
2081
- AES_128 = "AES_128",
2082
- AES_256 = "AES_256"
2083
- }
2166
+ export type DataKeyPairSpec = (typeof DataKeyPairSpec)[keyof typeof DataKeyPairSpec];
2167
+ /**
2168
+ * @public
2169
+ * @enum
2170
+ */
2171
+ export declare const DataKeySpec: {
2172
+ readonly AES_128: "AES_128";
2173
+ readonly AES_256: "AES_256";
2174
+ };
2175
+ /**
2176
+ * @public
2177
+ */
2178
+ export type DataKeySpec = (typeof DataKeySpec)[keyof typeof DataKeySpec];
2084
2179
  /**
2085
2180
  * @public
2086
2181
  */
@@ -3049,10 +3144,15 @@ export interface GetKeyRotationStatusResponse {
3049
3144
  }
3050
3145
  /**
3051
3146
  * @public
3147
+ * @enum
3052
3148
  */
3053
- export declare enum WrappingKeySpec {
3054
- RSA_2048 = "RSA_2048"
3055
- }
3149
+ export declare const WrappingKeySpec: {
3150
+ readonly RSA_2048: "RSA_2048";
3151
+ };
3152
+ /**
3153
+ * @public
3154
+ */
3155
+ export type WrappingKeySpec = (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
3056
3156
  /**
3057
3157
  * @public
3058
3158
  */
@@ -3721,11 +3821,16 @@ export interface ListRetirableGrantsRequest {
3721
3821
  }
3722
3822
  /**
3723
3823
  * @public
3824
+ * @enum
3724
3825
  */
3725
- export declare enum MessageType {
3726
- DIGEST = "DIGEST",
3727
- RAW = "RAW"
3728
- }
3826
+ export declare const MessageType: {
3827
+ readonly DIGEST: "DIGEST";
3828
+ readonly RAW: "RAW";
3829
+ };
3830
+ /**
3831
+ * @public
3832
+ */
3833
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
3729
3834
  /**
3730
3835
  * @public
3731
3836
  */