@aws-sdk/client-kms 3.300.0 → 3.303.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 (55) hide show
  1. package/dist-cjs/models/models_0.js +166 -187
  2. package/dist-es/models/models_0.js +166 -187
  3. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +1 -1
  4. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateGrantCommand.d.ts +5 -5
  8. package/dist-types/commands/CreateKeyCommand.d.ts +3 -3
  9. package/dist-types/commands/DecryptCommand.d.ts +3 -3
  10. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeKeyCommand.d.ts +2 -2
  15. package/dist-types/commands/DisableKeyCommand.d.ts +1 -1
  16. package/dist-types/commands/DisableKeyRotationCommand.d.ts +1 -1
  17. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +1 -1
  18. package/dist-types/commands/EnableKeyCommand.d.ts +1 -1
  19. package/dist-types/commands/EnableKeyRotationCommand.d.ts +1 -1
  20. package/dist-types/commands/EncryptCommand.d.ts +3 -3
  21. package/dist-types/commands/GenerateDataKeyCommand.d.ts +3 -3
  22. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -3
  23. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
  24. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -3
  25. package/dist-types/commands/GenerateMacCommand.d.ts +2 -2
  26. package/dist-types/commands/GenerateRandomCommand.d.ts +1 -1
  27. package/dist-types/commands/GetKeyPolicyCommand.d.ts +1 -1
  28. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +1 -1
  29. package/dist-types/commands/GetParametersForImportCommand.d.ts +1 -1
  30. package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
  31. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListGrantsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListKeysCommand.d.ts +1 -1
  36. package/dist-types/commands/ListResourceTagsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +1 -1
  38. package/dist-types/commands/PutKeyPolicyCommand.d.ts +1 -1
  39. package/dist-types/commands/ReEncryptCommand.d.ts +3 -3
  40. package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -3
  41. package/dist-types/commands/RetireGrantCommand.d.ts +1 -1
  42. package/dist-types/commands/RevokeGrantCommand.d.ts +1 -1
  43. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +1 -1
  44. package/dist-types/commands/SignCommand.d.ts +2 -2
  45. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  46. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +2 -2
  49. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +1 -1
  51. package/dist-types/commands/VerifyCommand.d.ts +2 -2
  52. package/dist-types/commands/VerifyMacCommand.d.ts +2 -2
  53. package/dist-types/models/models_0.d.ts +271 -166
  54. package/dist-types/ts3.4/models/models_0.d.ts +201 -166
  55. package/package.json +34 -34
@@ -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
  * };