@aws-sdk/client-kms 3.300.0 → 3.301.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 (51) hide show
  1. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +1 -1
  2. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +1 -1
  3. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateGrantCommand.d.ts +5 -5
  6. package/dist-types/commands/CreateKeyCommand.d.ts +3 -3
  7. package/dist-types/commands/DecryptCommand.d.ts +3 -3
  8. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeKeyCommand.d.ts +2 -2
  13. package/dist-types/commands/DisableKeyCommand.d.ts +1 -1
  14. package/dist-types/commands/DisableKeyRotationCommand.d.ts +1 -1
  15. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +1 -1
  16. package/dist-types/commands/EnableKeyCommand.d.ts +1 -1
  17. package/dist-types/commands/EnableKeyRotationCommand.d.ts +1 -1
  18. package/dist-types/commands/EncryptCommand.d.ts +3 -3
  19. package/dist-types/commands/GenerateDataKeyCommand.d.ts +3 -3
  20. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -3
  21. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
  22. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -3
  23. package/dist-types/commands/GenerateMacCommand.d.ts +2 -2
  24. package/dist-types/commands/GenerateRandomCommand.d.ts +1 -1
  25. package/dist-types/commands/GetKeyPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +1 -1
  27. package/dist-types/commands/GetParametersForImportCommand.d.ts +1 -1
  28. package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
  29. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListGrantsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListKeysCommand.d.ts +1 -1
  34. package/dist-types/commands/ListResourceTagsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +1 -1
  36. package/dist-types/commands/PutKeyPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/ReEncryptCommand.d.ts +3 -3
  38. package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -3
  39. package/dist-types/commands/RetireGrantCommand.d.ts +1 -1
  40. package/dist-types/commands/RevokeGrantCommand.d.ts +1 -1
  41. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +1 -1
  42. package/dist-types/commands/SignCommand.d.ts +2 -2
  43. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  44. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  45. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +1 -1
  49. package/dist-types/commands/VerifyCommand.d.ts +2 -2
  50. package/dist-types/commands/VerifyMacCommand.d.ts +2 -2
  51. package/package.json +3 -3
@@ -38,7 +38,7 @@ export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionRespons
38
38
  * import { KMSClient, CancelKeyDeletionCommand } from "@aws-sdk/client-kms"; // ES Modules import
39
39
  * // const { KMSClient, CancelKeyDeletionCommand } = require("@aws-sdk/client-kms"); // CommonJS import
40
40
  * const client = new KMSClient(config);
41
- * const input = {
41
+ * const input = { // CancelKeyDeletionRequest
42
42
  * KeyId: "STRING_VALUE", // required
43
43
  * };
44
44
  * const command = new CancelKeyDeletionCommand(input);
@@ -112,7 +112,7 @@ export interface ConnectCustomKeyStoreCommandOutput extends ConnectCustomKeyStor
112
112
  * import { KMSClient, ConnectCustomKeyStoreCommand } from "@aws-sdk/client-kms"; // ES Modules import
113
113
  * // const { KMSClient, ConnectCustomKeyStoreCommand } = require("@aws-sdk/client-kms"); // CommonJS import
114
114
  * const client = new KMSClient(config);
115
- * const input = {
115
+ * const input = { // ConnectCustomKeyStoreRequest
116
116
  * CustomKeyStoreId: "STRING_VALUE", // required
117
117
  * };
118
118
  * const command = new ConnectCustomKeyStoreCommand(input);
@@ -82,7 +82,7 @@ export interface CreateAliasCommandOutput extends __MetadataBearer {
82
82
  * import { KMSClient, CreateAliasCommand } from "@aws-sdk/client-kms"; // ES Modules import
83
83
  * // const { KMSClient, CreateAliasCommand } = require("@aws-sdk/client-kms"); // CommonJS import
84
84
  * const client = new KMSClient(config);
85
- * const input = {
85
+ * const input = { // CreateAliasRequest
86
86
  * AliasName: "STRING_VALUE", // required
87
87
  * TargetKeyId: "STRING_VALUE", // required
88
88
  * };
@@ -113,7 +113,7 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
113
113
  * import { KMSClient, CreateCustomKeyStoreCommand } from "@aws-sdk/client-kms"; // ES Modules import
114
114
  * // const { KMSClient, CreateCustomKeyStoreCommand } = require("@aws-sdk/client-kms"); // CommonJS import
115
115
  * const client = new KMSClient(config);
116
- * const input = {
116
+ * const input = { // CreateCustomKeyStoreRequest
117
117
  * CustomKeyStoreName: "STRING_VALUE", // required
118
118
  * CloudHsmClusterId: "STRING_VALUE",
119
119
  * TrustAnchorCertificate: "STRING_VALUE",
@@ -122,7 +122,7 @@ export interface CreateCustomKeyStoreCommandOutput extends CreateCustomKeyStoreR
122
122
  * XksProxyUriEndpoint: "STRING_VALUE",
123
123
  * XksProxyUriPath: "STRING_VALUE",
124
124
  * XksProxyVpcEndpointServiceName: "STRING_VALUE",
125
- * XksProxyAuthenticationCredential: {
125
+ * XksProxyAuthenticationCredential: { // XksProxyAuthenticationCredentialType
126
126
  * AccessKeyId: "STRING_VALUE", // required
127
127
  * RawSecretAccessKey: "STRING_VALUE", // required
128
128
  * },
@@ -87,22 +87,22 @@ export interface CreateGrantCommandOutput extends CreateGrantResponse, __Metadat
87
87
  * import { KMSClient, CreateGrantCommand } from "@aws-sdk/client-kms"; // ES Modules import
88
88
  * // const { KMSClient, CreateGrantCommand } = require("@aws-sdk/client-kms"); // CommonJS import
89
89
  * const client = new KMSClient(config);
90
- * const input = {
90
+ * const input = { // CreateGrantRequest
91
91
  * KeyId: "STRING_VALUE", // required
92
92
  * GranteePrincipal: "STRING_VALUE", // required
93
93
  * RetiringPrincipal: "STRING_VALUE",
94
- * Operations: [ // required
94
+ * Operations: [ // GrantOperationList // required
95
95
  * "Decrypt" || "Encrypt" || "GenerateDataKey" || "GenerateDataKeyWithoutPlaintext" || "ReEncryptFrom" || "ReEncryptTo" || "Sign" || "Verify" || "GetPublicKey" || "CreateGrant" || "RetireGrant" || "DescribeKey" || "GenerateDataKeyPair" || "GenerateDataKeyPairWithoutPlaintext" || "GenerateMac" || "VerifyMac",
96
96
  * ],
97
- * Constraints: {
98
- * EncryptionContextSubset: {
97
+ * Constraints: { // GrantConstraints
98
+ * EncryptionContextSubset: { // EncryptionContextType
99
99
  * "<keys>": "STRING_VALUE",
100
100
  * },
101
101
  * EncryptionContextEquals: {
102
102
  * "<keys>": "STRING_VALUE",
103
103
  * },
104
104
  * },
105
- * GrantTokens: [
105
+ * GrantTokens: [ // GrantTokenList
106
106
  * "STRING_VALUE",
107
107
  * ],
108
108
  * Name: "STRING_VALUE",
@@ -192,7 +192,7 @@ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBea
192
192
  * import { KMSClient, CreateKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
193
193
  * // const { KMSClient, CreateKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
194
194
  * const client = new KMSClient(config);
195
- * const input = {
195
+ * const input = { // CreateKeyRequest
196
196
  * Policy: "STRING_VALUE",
197
197
  * Description: "STRING_VALUE",
198
198
  * KeyUsage: "SIGN_VERIFY" || "ENCRYPT_DECRYPT" || "GENERATE_VERIFY_MAC",
@@ -201,8 +201,8 @@ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBea
201
201
  * Origin: "AWS_KMS" || "EXTERNAL" || "AWS_CLOUDHSM" || "EXTERNAL_KEY_STORE",
202
202
  * CustomKeyStoreId: "STRING_VALUE",
203
203
  * BypassPolicyLockoutSafetyCheck: true || false,
204
- * Tags: [
205
- * {
204
+ * Tags: [ // TagList
205
+ * { // Tag
206
206
  * TagKey: "STRING_VALUE", // required
207
207
  * TagValue: "STRING_VALUE", // required
208
208
  * },
@@ -113,12 +113,12 @@ export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer
113
113
  * import { KMSClient, DecryptCommand } from "@aws-sdk/client-kms"; // ES Modules import
114
114
  * // const { KMSClient, DecryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
115
115
  * const client = new KMSClient(config);
116
- * const input = {
116
+ * const input = { // DecryptRequest
117
117
  * CiphertextBlob: "BLOB_VALUE", // required
118
- * EncryptionContext: {
118
+ * EncryptionContext: { // EncryptionContextType
119
119
  * "<keys>": "STRING_VALUE",
120
120
  * },
121
- * GrantTokens: [
121
+ * GrantTokens: [ // GrantTokenList
122
122
  * "STRING_VALUE",
123
123
  * ],
124
124
  * KeyId: "STRING_VALUE",
@@ -73,7 +73,7 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {
73
73
  * import { KMSClient, DeleteAliasCommand } from "@aws-sdk/client-kms"; // ES Modules import
74
74
  * // const { KMSClient, DeleteAliasCommand } = require("@aws-sdk/client-kms"); // CommonJS import
75
75
  * const client = new KMSClient(config);
76
- * const input = {
76
+ * const input = { // DeleteAliasRequest
77
77
  * AliasName: "STRING_VALUE", // required
78
78
  * };
79
79
  * const command = new DeleteAliasCommand(input);
@@ -84,7 +84,7 @@ export interface DeleteCustomKeyStoreCommandOutput extends DeleteCustomKeyStoreR
84
84
  * import { KMSClient, DeleteCustomKeyStoreCommand } from "@aws-sdk/client-kms"; // ES Modules import
85
85
  * // const { KMSClient, DeleteCustomKeyStoreCommand } = require("@aws-sdk/client-kms"); // CommonJS import
86
86
  * const client = new KMSClient(config);
87
- * const input = {
87
+ * const input = { // DeleteCustomKeyStoreRequest
88
88
  * CustomKeyStoreId: "STRING_VALUE", // required
89
89
  * };
90
90
  * const command = new DeleteCustomKeyStoreCommand(input);
@@ -54,7 +54,7 @@ export interface DeleteImportedKeyMaterialCommandOutput extends __MetadataBearer
54
54
  * import { KMSClient, DeleteImportedKeyMaterialCommand } from "@aws-sdk/client-kms"; // ES Modules import
55
55
  * // const { KMSClient, DeleteImportedKeyMaterialCommand } = require("@aws-sdk/client-kms"); // CommonJS import
56
56
  * const client = new KMSClient(config);
57
- * const input = {
57
+ * const input = { // DeleteImportedKeyMaterialRequest
58
58
  * KeyId: "STRING_VALUE", // required
59
59
  * };
60
60
  * const command = new DeleteImportedKeyMaterialCommand(input);
@@ -84,7 +84,7 @@ export interface DescribeCustomKeyStoresCommandOutput extends DescribeCustomKeyS
84
84
  * import { KMSClient, DescribeCustomKeyStoresCommand } from "@aws-sdk/client-kms"; // ES Modules import
85
85
  * // const { KMSClient, DescribeCustomKeyStoresCommand } = require("@aws-sdk/client-kms"); // CommonJS import
86
86
  * const client = new KMSClient(config);
87
- * const input = {
87
+ * const input = { // DescribeCustomKeyStoresRequest
88
88
  * CustomKeyStoreId: "STRING_VALUE",
89
89
  * CustomKeyStoreName: "STRING_VALUE",
90
90
  * Limit: Number("int"),
@@ -108,9 +108,9 @@ export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __Metadat
108
108
  * import { KMSClient, DescribeKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
109
109
  * // const { KMSClient, DescribeKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
110
110
  * const client = new KMSClient(config);
111
- * const input = {
111
+ * const input = { // DescribeKeyRequest
112
112
  * KeyId: "STRING_VALUE", // required
113
- * GrantTokens: [
113
+ * GrantTokens: [ // GrantTokenList
114
114
  * "STRING_VALUE",
115
115
  * ],
116
116
  * };
@@ -40,7 +40,7 @@ export interface DisableKeyCommandOutput extends __MetadataBearer {
40
40
  * import { KMSClient, DisableKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
41
41
  * // const { KMSClient, DisableKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
42
42
  * const client = new KMSClient(config);
43
- * const input = {
43
+ * const input = { // DisableKeyRequest
44
44
  * KeyId: "STRING_VALUE", // required
45
45
  * };
46
46
  * const command = new DisableKeyCommand(input);
@@ -58,7 +58,7 @@ export interface DisableKeyRotationCommandOutput extends __MetadataBearer {
58
58
  * import { KMSClient, DisableKeyRotationCommand } from "@aws-sdk/client-kms"; // ES Modules import
59
59
  * // const { KMSClient, DisableKeyRotationCommand } = require("@aws-sdk/client-kms"); // CommonJS import
60
60
  * const client = new KMSClient(config);
61
- * const input = {
61
+ * const input = { // DisableKeyRotationRequest
62
62
  * KeyId: "STRING_VALUE", // required
63
63
  * };
64
64
  * const command = new DisableKeyRotationCommand(input);
@@ -77,7 +77,7 @@ export interface DisconnectCustomKeyStoreCommandOutput extends DisconnectCustomK
77
77
  * import { KMSClient, DisconnectCustomKeyStoreCommand } from "@aws-sdk/client-kms"; // ES Modules import
78
78
  * // const { KMSClient, DisconnectCustomKeyStoreCommand } = require("@aws-sdk/client-kms"); // CommonJS import
79
79
  * const client = new KMSClient(config);
80
- * const input = {
80
+ * const input = { // DisconnectCustomKeyStoreRequest
81
81
  * CustomKeyStoreId: "STRING_VALUE", // required
82
82
  * };
83
83
  * const command = new DisconnectCustomKeyStoreCommand(input);
@@ -36,7 +36,7 @@ export interface EnableKeyCommandOutput extends __MetadataBearer {
36
36
  * import { KMSClient, EnableKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
37
37
  * // const { KMSClient, EnableKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
38
38
  * const client = new KMSClient(config);
39
- * const input = {
39
+ * const input = { // EnableKeyRequest
40
40
  * KeyId: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new EnableKeyCommand(input);
@@ -66,7 +66,7 @@ export interface EnableKeyRotationCommandOutput extends __MetadataBearer {
66
66
  * import { KMSClient, EnableKeyRotationCommand } from "@aws-sdk/client-kms"; // ES Modules import
67
67
  * // const { KMSClient, EnableKeyRotationCommand } = require("@aws-sdk/client-kms"); // CommonJS import
68
68
  * const client = new KMSClient(config);
69
- * const input = {
69
+ * const input = { // EnableKeyRotationRequest
70
70
  * KeyId: "STRING_VALUE", // required
71
71
  * };
72
72
  * const command = new EnableKeyRotationCommand(input);
@@ -135,13 +135,13 @@ export interface EncryptCommandOutput extends EncryptResponse, __MetadataBearer
135
135
  * import { KMSClient, EncryptCommand } from "@aws-sdk/client-kms"; // ES Modules import
136
136
  * // const { KMSClient, EncryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
137
137
  * const client = new KMSClient(config);
138
- * const input = {
138
+ * const input = { // EncryptRequest
139
139
  * KeyId: "STRING_VALUE", // required
140
140
  * Plaintext: "BLOB_VALUE", // required
141
- * EncryptionContext: {
141
+ * EncryptionContext: { // EncryptionContextType
142
142
  * "<keys>": "STRING_VALUE",
143
143
  * },
144
- * GrantTokens: [
144
+ * GrantTokens: [ // GrantTokenList
145
145
  * "STRING_VALUE",
146
146
  * ],
147
147
  * EncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
@@ -119,14 +119,14 @@ export interface GenerateDataKeyCommandOutput extends GenerateDataKeyResponse, _
119
119
  * import { KMSClient, GenerateDataKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
120
120
  * // const { KMSClient, GenerateDataKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
121
121
  * const client = new KMSClient(config);
122
- * const input = {
122
+ * const input = { // GenerateDataKeyRequest
123
123
  * KeyId: "STRING_VALUE", // required
124
- * EncryptionContext: {
124
+ * EncryptionContext: { // EncryptionContextType
125
125
  * "<keys>": "STRING_VALUE",
126
126
  * },
127
127
  * NumberOfBytes: Number("int"),
128
128
  * KeySpec: "AES_256" || "AES_128",
129
- * GrantTokens: [
129
+ * GrantTokens: [ // GrantTokenList
130
130
  * "STRING_VALUE",
131
131
  * ],
132
132
  * };
@@ -96,13 +96,13 @@ export interface GenerateDataKeyPairCommandOutput extends GenerateDataKeyPairRes
96
96
  * import { KMSClient, GenerateDataKeyPairCommand } from "@aws-sdk/client-kms"; // ES Modules import
97
97
  * // const { KMSClient, GenerateDataKeyPairCommand } = require("@aws-sdk/client-kms"); // CommonJS import
98
98
  * const client = new KMSClient(config);
99
- * const input = {
100
- * EncryptionContext: {
99
+ * const input = { // GenerateDataKeyPairRequest
100
+ * EncryptionContext: { // EncryptionContextType
101
101
  * "<keys>": "STRING_VALUE",
102
102
  * },
103
103
  * KeyId: "STRING_VALUE", // required
104
104
  * KeyPairSpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SM2", // required
105
- * GrantTokens: [
105
+ * GrantTokens: [ // GrantTokenList
106
106
  * "STRING_VALUE",
107
107
  * ],
108
108
  * };
@@ -88,13 +88,13 @@ export interface GenerateDataKeyPairWithoutPlaintextCommandOutput extends Genera
88
88
  * import { KMSClient, GenerateDataKeyPairWithoutPlaintextCommand } from "@aws-sdk/client-kms"; // ES Modules import
89
89
  * // const { KMSClient, GenerateDataKeyPairWithoutPlaintextCommand } = require("@aws-sdk/client-kms"); // CommonJS import
90
90
  * const client = new KMSClient(config);
91
- * const input = {
92
- * EncryptionContext: {
91
+ * const input = { // GenerateDataKeyPairWithoutPlaintextRequest
92
+ * EncryptionContext: { // EncryptionContextType
93
93
  * "<keys>": "STRING_VALUE",
94
94
  * },
95
95
  * KeyId: "STRING_VALUE", // required
96
96
  * KeyPairSpec: "RSA_2048" || "RSA_3072" || "RSA_4096" || "ECC_NIST_P256" || "ECC_NIST_P384" || "ECC_NIST_P521" || "ECC_SECG_P256K1" || "SM2", // required
97
- * GrantTokens: [
97
+ * GrantTokens: [ // GrantTokenList
98
98
  * "STRING_VALUE",
99
99
  * ],
100
100
  * };
@@ -97,14 +97,14 @@ export interface GenerateDataKeyWithoutPlaintextCommandOutput extends GenerateDa
97
97
  * import { KMSClient, GenerateDataKeyWithoutPlaintextCommand } from "@aws-sdk/client-kms"; // ES Modules import
98
98
  * // const { KMSClient, GenerateDataKeyWithoutPlaintextCommand } = require("@aws-sdk/client-kms"); // CommonJS import
99
99
  * const client = new KMSClient(config);
100
- * const input = {
100
+ * const input = { // GenerateDataKeyWithoutPlaintextRequest
101
101
  * KeyId: "STRING_VALUE", // required
102
- * EncryptionContext: {
102
+ * EncryptionContext: { // EncryptionContextType
103
103
  * "<keys>": "STRING_VALUE",
104
104
  * },
105
105
  * KeySpec: "AES_256" || "AES_128",
106
106
  * NumberOfBytes: Number("int"),
107
- * GrantTokens: [
107
+ * GrantTokens: [ // GrantTokenList
108
108
  * "STRING_VALUE",
109
109
  * ],
110
110
  * };
@@ -53,11 +53,11 @@ export interface GenerateMacCommandOutput extends GenerateMacResponse, __Metadat
53
53
  * import { KMSClient, GenerateMacCommand } from "@aws-sdk/client-kms"; // ES Modules import
54
54
  * // const { KMSClient, GenerateMacCommand } = require("@aws-sdk/client-kms"); // CommonJS import
55
55
  * const client = new KMSClient(config);
56
- * const input = {
56
+ * const input = { // GenerateMacRequest
57
57
  * Message: "BLOB_VALUE", // required
58
58
  * KeyId: "STRING_VALUE", // required
59
59
  * MacAlgorithm: "HMAC_SHA_224" || "HMAC_SHA_256" || "HMAC_SHA_384" || "HMAC_SHA_512", // required
60
- * GrantTokens: [
60
+ * GrantTokens: [ // GrantTokenList
61
61
  * "STRING_VALUE",
62
62
  * ],
63
63
  * };
@@ -40,7 +40,7 @@ export interface GenerateRandomCommandOutput extends GenerateRandomResponse, __M
40
40
  * import { KMSClient, GenerateRandomCommand } from "@aws-sdk/client-kms"; // ES Modules import
41
41
  * // const { KMSClient, GenerateRandomCommand } = require("@aws-sdk/client-kms"); // CommonJS import
42
42
  * const client = new KMSClient(config);
43
- * const input = {
43
+ * const input = { // GenerateRandomRequest
44
44
  * NumberOfBytes: Number("int"),
45
45
  * CustomKeyStoreId: "STRING_VALUE",
46
46
  * };
@@ -33,7 +33,7 @@ export interface GetKeyPolicyCommandOutput extends GetKeyPolicyResponse, __Metad
33
33
  * import { KMSClient, GetKeyPolicyCommand } from "@aws-sdk/client-kms"; // ES Modules import
34
34
  * // const { KMSClient, GetKeyPolicyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
35
35
  * const client = new KMSClient(config);
36
- * const input = {
36
+ * const input = { // GetKeyPolicyRequest
37
37
  * KeyId: "STRING_VALUE", // required
38
38
  * PolicyName: "STRING_VALUE", // required
39
39
  * };
@@ -78,7 +78,7 @@ export interface GetKeyRotationStatusCommandOutput extends GetKeyRotationStatusR
78
78
  * import { KMSClient, GetKeyRotationStatusCommand } from "@aws-sdk/client-kms"; // ES Modules import
79
79
  * // const { KMSClient, GetKeyRotationStatusCommand } = require("@aws-sdk/client-kms"); // CommonJS import
80
80
  * const client = new KMSClient(config);
81
- * const input = {
81
+ * const input = { // GetKeyRotationStatusRequest
82
82
  * KeyId: "STRING_VALUE", // required
83
83
  * };
84
84
  * const command = new GetKeyRotationStatusCommand(input);
@@ -59,7 +59,7 @@ export interface GetParametersForImportCommandOutput extends GetParametersForImp
59
59
  * import { KMSClient, GetParametersForImportCommand } from "@aws-sdk/client-kms"; // ES Modules import
60
60
  * // const { KMSClient, GetParametersForImportCommand } = require("@aws-sdk/client-kms"); // CommonJS import
61
61
  * const client = new KMSClient(config);
62
- * const input = {
62
+ * const input = { // GetParametersForImportRequest
63
63
  * KeyId: "STRING_VALUE", // required
64
64
  * WrappingAlgorithm: "RSAES_PKCS1_V1_5" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256", // required
65
65
  * WrappingKeySpec: "RSA_2048", // required
@@ -74,9 +74,9 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResponse, __Metad
74
74
  * import { KMSClient, GetPublicKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
75
75
  * // const { KMSClient, GetPublicKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
76
76
  * const client = new KMSClient(config);
77
- * const input = {
77
+ * const input = { // GetPublicKeyRequest
78
78
  * KeyId: "STRING_VALUE", // required
79
- * GrantTokens: [
79
+ * GrantTokens: [ // GrantTokenList
80
80
  * "STRING_VALUE",
81
81
  * ],
82
82
  * };
@@ -89,7 +89,7 @@ export interface ImportKeyMaterialCommandOutput extends ImportKeyMaterialRespons
89
89
  * import { KMSClient, ImportKeyMaterialCommand } from "@aws-sdk/client-kms"; // ES Modules import
90
90
  * // const { KMSClient, ImportKeyMaterialCommand } = require("@aws-sdk/client-kms"); // CommonJS import
91
91
  * const client = new KMSClient(config);
92
- * const input = {
92
+ * const input = { // ImportKeyMaterialRequest
93
93
  * KeyId: "STRING_VALUE", // required
94
94
  * ImportToken: "BLOB_VALUE", // required
95
95
  * EncryptedKeyMaterial: "BLOB_VALUE", // required
@@ -66,7 +66,7 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
66
66
  * import { KMSClient, ListAliasesCommand } from "@aws-sdk/client-kms"; // ES Modules import
67
67
  * // const { KMSClient, ListAliasesCommand } = require("@aws-sdk/client-kms"); // CommonJS import
68
68
  * const client = new KMSClient(config);
69
- * const input = {
69
+ * const input = { // ListAliasesRequest
70
70
  * KeyId: "STRING_VALUE",
71
71
  * Limit: Number("int"),
72
72
  * Marker: "STRING_VALUE",
@@ -70,7 +70,7 @@ export interface ListGrantsCommandOutput extends ListGrantsResponse, __MetadataB
70
70
  * import { KMSClient, ListGrantsCommand } from "@aws-sdk/client-kms"; // ES Modules import
71
71
  * // const { KMSClient, ListGrantsCommand } = require("@aws-sdk/client-kms"); // CommonJS import
72
72
  * const client = new KMSClient(config);
73
- * const input = {
73
+ * const input = { // ListGrantsRequest
74
74
  * Limit: Number("int"),
75
75
  * Marker: "STRING_VALUE",
76
76
  * KeyId: "STRING_VALUE", // required
@@ -47,7 +47,7 @@ export interface ListKeyPoliciesCommandOutput extends ListKeyPoliciesResponse, _
47
47
  * import { KMSClient, ListKeyPoliciesCommand } from "@aws-sdk/client-kms"; // ES Modules import
48
48
  * // const { KMSClient, ListKeyPoliciesCommand } = require("@aws-sdk/client-kms"); // CommonJS import
49
49
  * const client = new KMSClient(config);
50
- * const input = {
50
+ * const input = { // ListKeyPoliciesRequest
51
51
  * KeyId: "STRING_VALUE", // required
52
52
  * Limit: Number("int"),
53
53
  * Marker: "STRING_VALUE",
@@ -55,7 +55,7 @@ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBeare
55
55
  * import { KMSClient, ListKeysCommand } from "@aws-sdk/client-kms"; // ES Modules import
56
56
  * // const { KMSClient, ListKeysCommand } = require("@aws-sdk/client-kms"); // CommonJS import
57
57
  * const client = new KMSClient(config);
58
- * const input = {
58
+ * const input = { // ListKeysRequest
59
59
  * Limit: Number("int"),
60
60
  * Marker: "STRING_VALUE",
61
61
  * };
@@ -59,7 +59,7 @@ export interface ListResourceTagsCommandOutput extends ListResourceTagsResponse,
59
59
  * import { KMSClient, ListResourceTagsCommand } from "@aws-sdk/client-kms"; // ES Modules import
60
60
  * // const { KMSClient, ListResourceTagsCommand } = require("@aws-sdk/client-kms"); // CommonJS import
61
61
  * const client = new KMSClient(config);
62
- * const input = {
62
+ * const input = { // ListResourceTagsRequest
63
63
  * KeyId: "STRING_VALUE", // required
64
64
  * Limit: Number("int"),
65
65
  * Marker: "STRING_VALUE",
@@ -68,7 +68,7 @@ export interface ListRetirableGrantsCommandOutput extends ListGrantsResponse, __
68
68
  * import { KMSClient, ListRetirableGrantsCommand } from "@aws-sdk/client-kms"; // ES Modules import
69
69
  * // const { KMSClient, ListRetirableGrantsCommand } = require("@aws-sdk/client-kms"); // CommonJS import
70
70
  * const client = new KMSClient(config);
71
- * const input = {
71
+ * const input = { // ListRetirableGrantsRequest
72
72
  * Limit: Number("int"),
73
73
  * Marker: "STRING_VALUE",
74
74
  * RetiringPrincipal: "STRING_VALUE", // required
@@ -38,7 +38,7 @@ export interface PutKeyPolicyCommandOutput extends __MetadataBearer {
38
38
  * import { KMSClient, PutKeyPolicyCommand } from "@aws-sdk/client-kms"; // ES Modules import
39
39
  * // const { KMSClient, PutKeyPolicyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
40
40
  * const client = new KMSClient(config);
41
- * const input = {
41
+ * const input = { // PutKeyPolicyRequest
42
42
  * KeyId: "STRING_VALUE", // required
43
43
  * PolicyName: "STRING_VALUE", // required
44
44
  * Policy: "STRING_VALUE", // required
@@ -120,9 +120,9 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
120
120
  * import { KMSClient, ReEncryptCommand } from "@aws-sdk/client-kms"; // ES Modules import
121
121
  * // const { KMSClient, ReEncryptCommand } = require("@aws-sdk/client-kms"); // CommonJS import
122
122
  * const client = new KMSClient(config);
123
- * const input = {
123
+ * const input = { // ReEncryptRequest
124
124
  * CiphertextBlob: "BLOB_VALUE", // required
125
- * SourceEncryptionContext: {
125
+ * SourceEncryptionContext: { // EncryptionContextType
126
126
  * "<keys>": "STRING_VALUE",
127
127
  * },
128
128
  * SourceKeyId: "STRING_VALUE",
@@ -132,7 +132,7 @@ export interface ReEncryptCommandOutput extends ReEncryptResponse, __MetadataBea
132
132
  * },
133
133
  * SourceEncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
134
134
  * DestinationEncryptionAlgorithm: "SYMMETRIC_DEFAULT" || "RSAES_OAEP_SHA_1" || "RSAES_OAEP_SHA_256" || "SM2PKE",
135
- * GrantTokens: [
135
+ * GrantTokens: [ // GrantTokenList
136
136
  * "STRING_VALUE",
137
137
  * ],
138
138
  * };
@@ -108,14 +108,14 @@ export interface ReplicateKeyCommandOutput extends ReplicateKeyResponse, __Metad
108
108
  * import { KMSClient, ReplicateKeyCommand } from "@aws-sdk/client-kms"; // ES Modules import
109
109
  * // const { KMSClient, ReplicateKeyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
110
110
  * const client = new KMSClient(config);
111
- * const input = {
111
+ * const input = { // ReplicateKeyRequest
112
112
  * KeyId: "STRING_VALUE", // required
113
113
  * ReplicaRegion: "STRING_VALUE", // required
114
114
  * Policy: "STRING_VALUE",
115
115
  * BypassPolicyLockoutSafetyCheck: true || false,
116
116
  * Description: "STRING_VALUE",
117
- * Tags: [
118
- * {
117
+ * Tags: [ // TagList
118
+ * { // Tag
119
119
  * TagKey: "STRING_VALUE", // required
120
120
  * TagValue: "STRING_VALUE", // required
121
121
  * },
@@ -71,7 +71,7 @@ export interface RetireGrantCommandOutput extends __MetadataBearer {
71
71
  * import { KMSClient, RetireGrantCommand } from "@aws-sdk/client-kms"; // ES Modules import
72
72
  * // const { KMSClient, RetireGrantCommand } = require("@aws-sdk/client-kms"); // CommonJS import
73
73
  * const client = new KMSClient(config);
74
- * const input = {
74
+ * const input = { // RetireGrantRequest
75
75
  * GrantToken: "STRING_VALUE",
76
76
  * KeyId: "STRING_VALUE",
77
77
  * GrantId: "STRING_VALUE",
@@ -69,7 +69,7 @@ export interface RevokeGrantCommandOutput extends __MetadataBearer {
69
69
  * import { KMSClient, RevokeGrantCommand } from "@aws-sdk/client-kms"; // ES Modules import
70
70
  * // const { KMSClient, RevokeGrantCommand } = require("@aws-sdk/client-kms"); // CommonJS import
71
71
  * const client = new KMSClient(config);
72
- * const input = {
72
+ * const input = { // RevokeGrantRequest
73
73
  * KeyId: "STRING_VALUE", // required
74
74
  * GrantId: "STRING_VALUE", // required
75
75
  * };
@@ -81,7 +81,7 @@ export interface ScheduleKeyDeletionCommandOutput extends ScheduleKeyDeletionRes
81
81
  * import { KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms"; // ES Modules import
82
82
  * // const { KMSClient, ScheduleKeyDeletionCommand } = require("@aws-sdk/client-kms"); // CommonJS import
83
83
  * const client = new KMSClient(config);
84
- * const input = {
84
+ * const input = { // ScheduleKeyDeletionRequest
85
85
  * KeyId: "STRING_VALUE", // required
86
86
  * PendingWindowInDays: Number("int"),
87
87
  * };
@@ -77,11 +77,11 @@ export interface SignCommandOutput extends SignResponse, __MetadataBearer {
77
77
  * import { KMSClient, SignCommand } from "@aws-sdk/client-kms"; // ES Modules import
78
78
  * // const { KMSClient, SignCommand } = require("@aws-sdk/client-kms"); // CommonJS import
79
79
  * const client = new KMSClient(config);
80
- * const input = {
80
+ * const input = { // SignRequest
81
81
  * KeyId: "STRING_VALUE", // required
82
82
  * Message: "BLOB_VALUE", // required
83
83
  * MessageType: "RAW" || "DIGEST",
84
- * GrantTokens: [
84
+ * GrantTokens: [ // GrantTokenList
85
85
  * "STRING_VALUE",
86
86
  * ],
87
87
  * SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
@@ -72,10 +72,10 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
72
72
  * import { KMSClient, TagResourceCommand } from "@aws-sdk/client-kms"; // ES Modules import
73
73
  * // const { KMSClient, TagResourceCommand } = require("@aws-sdk/client-kms"); // CommonJS import
74
74
  * const client = new KMSClient(config);
75
- * const input = {
75
+ * const input = { // TagResourceRequest
76
76
  * KeyId: "STRING_VALUE", // required
77
- * Tags: [ // required
78
- * {
77
+ * Tags: [ // TagList // required
78
+ * { // Tag
79
79
  * TagKey: "STRING_VALUE", // required
80
80
  * TagValue: "STRING_VALUE", // required
81
81
  * },
@@ -67,9 +67,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
67
67
  * import { KMSClient, UntagResourceCommand } from "@aws-sdk/client-kms"; // ES Modules import
68
68
  * // const { KMSClient, UntagResourceCommand } = require("@aws-sdk/client-kms"); // CommonJS import
69
69
  * const client = new KMSClient(config);
70
- * const input = {
70
+ * const input = { // UntagResourceRequest
71
71
  * KeyId: "STRING_VALUE", // required
72
- * TagKeys: [ // required
72
+ * TagKeys: [ // TagKeyList // required
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * };
@@ -88,7 +88,7 @@ export interface UpdateAliasCommandOutput extends __MetadataBearer {
88
88
  * import { KMSClient, UpdateAliasCommand } from "@aws-sdk/client-kms"; // ES Modules import
89
89
  * // const { KMSClient, UpdateAliasCommand } = require("@aws-sdk/client-kms"); // CommonJS import
90
90
  * const client = new KMSClient(config);
91
- * const input = {
91
+ * const input = { // UpdateAliasRequest
92
92
  * AliasName: "STRING_VALUE", // required
93
93
  * TargetKeyId: "STRING_VALUE", // required
94
94
  * };
@@ -118,7 +118,7 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
118
118
  * import { KMSClient, UpdateCustomKeyStoreCommand } from "@aws-sdk/client-kms"; // ES Modules import
119
119
  * // const { KMSClient, UpdateCustomKeyStoreCommand } = require("@aws-sdk/client-kms"); // CommonJS import
120
120
  * const client = new KMSClient(config);
121
- * const input = {
121
+ * const input = { // UpdateCustomKeyStoreRequest
122
122
  * CustomKeyStoreId: "STRING_VALUE", // required
123
123
  * NewCustomKeyStoreName: "STRING_VALUE",
124
124
  * KeyStorePassword: "STRING_VALUE",
@@ -126,7 +126,7 @@ export interface UpdateCustomKeyStoreCommandOutput extends UpdateCustomKeyStoreR
126
126
  * XksProxyUriEndpoint: "STRING_VALUE",
127
127
  * XksProxyUriPath: "STRING_VALUE",
128
128
  * XksProxyVpcEndpointServiceName: "STRING_VALUE",
129
- * XksProxyAuthenticationCredential: {
129
+ * XksProxyAuthenticationCredential: { // XksProxyAuthenticationCredentialType
130
130
  * AccessKeyId: "STRING_VALUE", // required
131
131
  * RawSecretAccessKey: "STRING_VALUE", // required
132
132
  * },
@@ -47,7 +47,7 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {
47
47
  * import { KMSClient, UpdateKeyDescriptionCommand } from "@aws-sdk/client-kms"; // ES Modules import
48
48
  * // const { KMSClient, UpdateKeyDescriptionCommand } = require("@aws-sdk/client-kms"); // CommonJS import
49
49
  * const client = new KMSClient(config);
50
- * const input = {
50
+ * const input = { // UpdateKeyDescriptionRequest
51
51
  * KeyId: "STRING_VALUE", // required
52
52
  * Description: "STRING_VALUE", // required
53
53
  * };
@@ -90,7 +90,7 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {
90
90
  * import { KMSClient, UpdatePrimaryRegionCommand } from "@aws-sdk/client-kms"; // ES Modules import
91
91
  * // const { KMSClient, UpdatePrimaryRegionCommand } = require("@aws-sdk/client-kms"); // CommonJS import
92
92
  * const client = new KMSClient(config);
93
- * const input = {
93
+ * const input = { // UpdatePrimaryRegionRequest
94
94
  * KeyId: "STRING_VALUE", // required
95
95
  * PrimaryRegion: "STRING_VALUE", // required
96
96
  * };
@@ -61,13 +61,13 @@ export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {
61
61
  * import { KMSClient, VerifyCommand } from "@aws-sdk/client-kms"; // ES Modules import
62
62
  * // const { KMSClient, VerifyCommand } = require("@aws-sdk/client-kms"); // CommonJS import
63
63
  * const client = new KMSClient(config);
64
- * const input = {
64
+ * const input = { // VerifyRequest
65
65
  * KeyId: "STRING_VALUE", // required
66
66
  * Message: "BLOB_VALUE", // required
67
67
  * MessageType: "RAW" || "DIGEST",
68
68
  * Signature: "BLOB_VALUE", // required
69
69
  * SigningAlgorithm: "RSASSA_PSS_SHA_256" || "RSASSA_PSS_SHA_384" || "RSASSA_PSS_SHA_512" || "RSASSA_PKCS1_V1_5_SHA_256" || "RSASSA_PKCS1_V1_5_SHA_384" || "RSASSA_PKCS1_V1_5_SHA_512" || "ECDSA_SHA_256" || "ECDSA_SHA_384" || "ECDSA_SHA_512" || "SM2DSA", // required
70
- * GrantTokens: [
70
+ * GrantTokens: [ // GrantTokenList
71
71
  * "STRING_VALUE",
72
72
  * ],
73
73
  * };
@@ -46,12 +46,12 @@ export interface VerifyMacCommandOutput extends VerifyMacResponse, __MetadataBea
46
46
  * import { KMSClient, VerifyMacCommand } from "@aws-sdk/client-kms"; // ES Modules import
47
47
  * // const { KMSClient, VerifyMacCommand } = require("@aws-sdk/client-kms"); // CommonJS import
48
48
  * const client = new KMSClient(config);
49
- * const input = {
49
+ * const input = { // VerifyMacRequest
50
50
  * Message: "BLOB_VALUE", // required
51
51
  * KeyId: "STRING_VALUE", // required
52
52
  * MacAlgorithm: "HMAC_SHA_224" || "HMAC_SHA_256" || "HMAC_SHA_384" || "HMAC_SHA_512", // required
53
53
  * Mac: "BLOB_VALUE", // required
54
- * GrantTokens: [
54
+ * GrantTokens: [ // GrantTokenList
55
55
  * "STRING_VALUE",
56
56
  * ],
57
57
  * };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kms",
3
3
  "description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",