@aws-sdk/client-kms 3.478.0 → 3.484.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 (205) hide show
  1. package/dist-cjs/commands/CancelKeyDeletionCommand.js +18 -41
  2. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAliasCommand.js +18 -41
  4. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +18 -41
  5. package/dist-cjs/commands/CreateGrantCommand.js +18 -41
  6. package/dist-cjs/commands/CreateKeyCommand.js +18 -41
  7. package/dist-cjs/commands/DecryptCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAliasCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
  13. package/dist-cjs/commands/DisableKeyCommand.js +18 -41
  14. package/dist-cjs/commands/DisableKeyRotationCommand.js +18 -41
  15. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +18 -41
  16. package/dist-cjs/commands/EnableKeyCommand.js +18 -41
  17. package/dist-cjs/commands/EnableKeyRotationCommand.js +18 -41
  18. package/dist-cjs/commands/EncryptCommand.js +18 -41
  19. package/dist-cjs/commands/GenerateDataKeyCommand.js +18 -41
  20. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +18 -41
  21. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
  22. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
  23. package/dist-cjs/commands/GenerateMacCommand.js +18 -41
  24. package/dist-cjs/commands/GenerateRandomCommand.js +18 -41
  25. package/dist-cjs/commands/GetKeyPolicyCommand.js +18 -41
  26. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +18 -41
  27. package/dist-cjs/commands/GetParametersForImportCommand.js +18 -41
  28. package/dist-cjs/commands/GetPublicKeyCommand.js +18 -41
  29. package/dist-cjs/commands/ImportKeyMaterialCommand.js +18 -41
  30. package/dist-cjs/commands/ListAliasesCommand.js +18 -41
  31. package/dist-cjs/commands/ListGrantsCommand.js +18 -41
  32. package/dist-cjs/commands/ListKeyPoliciesCommand.js +18 -41
  33. package/dist-cjs/commands/ListKeysCommand.js +18 -41
  34. package/dist-cjs/commands/ListResourceTagsCommand.js +18 -41
  35. package/dist-cjs/commands/ListRetirableGrantsCommand.js +18 -41
  36. package/dist-cjs/commands/PutKeyPolicyCommand.js +18 -41
  37. package/dist-cjs/commands/ReEncryptCommand.js +18 -41
  38. package/dist-cjs/commands/ReplicateKeyCommand.js +18 -41
  39. package/dist-cjs/commands/RetireGrantCommand.js +18 -41
  40. package/dist-cjs/commands/RevokeGrantCommand.js +18 -41
  41. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +18 -41
  42. package/dist-cjs/commands/SignCommand.js +18 -41
  43. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  44. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateAliasCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +18 -41
  48. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +18 -41
  49. package/dist-cjs/commands/VerifyCommand.js +18 -41
  50. package/dist-cjs/commands/VerifyMacCommand.js +18 -41
  51. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  52. package/dist-es/commands/CancelKeyDeletionCommand.js +18 -41
  53. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +18 -41
  54. package/dist-es/commands/CreateAliasCommand.js +18 -41
  55. package/dist-es/commands/CreateCustomKeyStoreCommand.js +18 -41
  56. package/dist-es/commands/CreateGrantCommand.js +18 -41
  57. package/dist-es/commands/CreateKeyCommand.js +18 -41
  58. package/dist-es/commands/DecryptCommand.js +18 -41
  59. package/dist-es/commands/DeleteAliasCommand.js +18 -41
  60. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +18 -41
  61. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +18 -41
  62. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +18 -41
  63. package/dist-es/commands/DescribeKeyCommand.js +18 -41
  64. package/dist-es/commands/DisableKeyCommand.js +18 -41
  65. package/dist-es/commands/DisableKeyRotationCommand.js +18 -41
  66. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +18 -41
  67. package/dist-es/commands/EnableKeyCommand.js +18 -41
  68. package/dist-es/commands/EnableKeyRotationCommand.js +18 -41
  69. package/dist-es/commands/EncryptCommand.js +18 -41
  70. package/dist-es/commands/GenerateDataKeyCommand.js +18 -41
  71. package/dist-es/commands/GenerateDataKeyPairCommand.js +18 -41
  72. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
  73. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
  74. package/dist-es/commands/GenerateMacCommand.js +18 -41
  75. package/dist-es/commands/GenerateRandomCommand.js +18 -41
  76. package/dist-es/commands/GetKeyPolicyCommand.js +18 -41
  77. package/dist-es/commands/GetKeyRotationStatusCommand.js +18 -41
  78. package/dist-es/commands/GetParametersForImportCommand.js +18 -41
  79. package/dist-es/commands/GetPublicKeyCommand.js +18 -41
  80. package/dist-es/commands/ImportKeyMaterialCommand.js +18 -41
  81. package/dist-es/commands/ListAliasesCommand.js +18 -41
  82. package/dist-es/commands/ListGrantsCommand.js +18 -41
  83. package/dist-es/commands/ListKeyPoliciesCommand.js +18 -41
  84. package/dist-es/commands/ListKeysCommand.js +18 -41
  85. package/dist-es/commands/ListResourceTagsCommand.js +18 -41
  86. package/dist-es/commands/ListRetirableGrantsCommand.js +18 -41
  87. package/dist-es/commands/PutKeyPolicyCommand.js +18 -41
  88. package/dist-es/commands/ReEncryptCommand.js +18 -41
  89. package/dist-es/commands/ReplicateKeyCommand.js +18 -41
  90. package/dist-es/commands/RetireGrantCommand.js +18 -41
  91. package/dist-es/commands/RevokeGrantCommand.js +18 -41
  92. package/dist-es/commands/ScheduleKeyDeletionCommand.js +18 -41
  93. package/dist-es/commands/SignCommand.js +18 -41
  94. package/dist-es/commands/TagResourceCommand.js +18 -41
  95. package/dist-es/commands/UntagResourceCommand.js +18 -41
  96. package/dist-es/commands/UpdateAliasCommand.js +18 -41
  97. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +18 -41
  98. package/dist-es/commands/UpdateKeyDescriptionCommand.js +18 -41
  99. package/dist-es/commands/UpdatePrimaryRegionCommand.js +18 -41
  100. package/dist-es/commands/VerifyCommand.js +18 -41
  101. package/dist-es/commands/VerifyMacCommand.js +18 -41
  102. package/dist-es/endpoint/EndpointParameters.js +6 -0
  103. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -21
  104. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +6 -21
  105. package/dist-types/commands/CreateAliasCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -21
  107. package/dist-types/commands/CreateGrantCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
  109. package/dist-types/commands/DecryptCommand.d.ts +6 -21
  110. package/dist-types/commands/DeleteAliasCommand.d.ts +6 -21
  111. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -21
  113. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -21
  114. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
  115. package/dist-types/commands/DisableKeyCommand.d.ts +6 -21
  116. package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -21
  117. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -21
  118. package/dist-types/commands/EnableKeyCommand.d.ts +6 -21
  119. package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -21
  120. package/dist-types/commands/EncryptCommand.d.ts +6 -21
  121. package/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -21
  122. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +6 -21
  123. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -21
  124. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -21
  125. package/dist-types/commands/GenerateMacCommand.d.ts +6 -21
  126. package/dist-types/commands/GenerateRandomCommand.d.ts +6 -21
  127. package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -21
  128. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -21
  129. package/dist-types/commands/GetParametersForImportCommand.d.ts +6 -21
  130. package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -21
  131. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +6 -21
  132. package/dist-types/commands/ListAliasesCommand.d.ts +6 -21
  133. package/dist-types/commands/ListGrantsCommand.d.ts +6 -21
  134. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -21
  135. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  136. package/dist-types/commands/ListResourceTagsCommand.d.ts +6 -21
  137. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +6 -21
  138. package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -21
  139. package/dist-types/commands/ReEncryptCommand.d.ts +6 -21
  140. package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -21
  141. package/dist-types/commands/RetireGrantCommand.d.ts +6 -21
  142. package/dist-types/commands/RevokeGrantCommand.d.ts +6 -21
  143. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -21
  144. package/dist-types/commands/SignCommand.d.ts +6 -21
  145. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  147. package/dist-types/commands/UpdateAliasCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -21
  149. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -21
  150. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -21
  151. package/dist-types/commands/VerifyCommand.d.ts +6 -21
  152. package/dist-types/commands/VerifyMacCommand.d.ts +6 -21
  153. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  154. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +12 -23
  161. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +12 -23
  172. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/SignCommand.d.ts +12 -23
  196. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +12 -23
  203. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  205. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CancelKeyDeletionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelKeyDeletionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "CancelKeyDeletionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "CancelKeyDeletion",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CancelKeyDeletionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CancelKeyDeletionCommand)(output, context);
49
- }
10
+ class CancelKeyDeletionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "CancelKeyDeletion", {})
22
+ .n("KMSClient", "CancelKeyDeletionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CancelKeyDeletionCommand)
25
+ .de(Aws_json1_1_1.de_CancelKeyDeletionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelKeyDeletionCommand = CancelKeyDeletionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ConnectCustomKeyStoreCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ConnectCustomKeyStoreCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "ConnectCustomKeyStoreCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "ConnectCustomKeyStore",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ConnectCustomKeyStoreCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ConnectCustomKeyStoreCommand)(output, context);
49
- }
10
+ class ConnectCustomKeyStoreCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "ConnectCustomKeyStore", {})
22
+ .n("KMSClient", "ConnectCustomKeyStoreCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ConnectCustomKeyStoreCommand)
25
+ .de(Aws_json1_1_1.de_ConnectCustomKeyStoreCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ConnectCustomKeyStoreCommand = ConnectCustomKeyStoreCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateAliasCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAliasCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "CreateAliasCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "CreateAlias",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateAliasCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateAliasCommand)(output, context);
49
- }
10
+ class CreateAliasCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "CreateAlias", {})
22
+ .n("KMSClient", "CreateAliasCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateAliasCommand)
25
+ .de(Aws_json1_1_1.de_CreateAliasCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAliasCommand = CreateAliasCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class CreateCustomKeyStoreCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCustomKeyStoreCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "KMSClient";
30
- const commandName = "CreateCustomKeyStoreCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.CreateCustomKeyStoreRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "TrentService",
39
- operation: "CreateCustomKeyStore",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_CreateCustomKeyStoreCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_CreateCustomKeyStoreCommand)(output, context);
50
- }
11
+ class CreateCustomKeyStoreCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("TrentService", "CreateCustomKeyStore", {})
23
+ .n("KMSClient", "CreateCustomKeyStoreCommand")
24
+ .f(models_0_1.CreateCustomKeyStoreRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_CreateCustomKeyStoreCommand)
26
+ .de(Aws_json1_1_1.de_CreateCustomKeyStoreCommand)
27
+ .build() {
51
28
  }
52
29
  exports.CreateCustomKeyStoreCommand = CreateCustomKeyStoreCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateGrantCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGrantCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "CreateGrantCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "CreateGrant",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateGrantCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateGrantCommand)(output, context);
49
- }
10
+ class CreateGrantCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "CreateGrant", {})
22
+ .n("KMSClient", "CreateGrantCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateGrantCommand)
25
+ .de(Aws_json1_1_1.de_CreateGrantCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateGrantCommand = CreateGrantCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateKeyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateKeyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "CreateKeyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "CreateKey",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateKeyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateKeyCommand)(output, context);
49
- }
10
+ class CreateKeyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "CreateKey", {})
22
+ .n("KMSClient", "CreateKeyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateKeyCommand)
25
+ .de(Aws_json1_1_1.de_CreateKeyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateKeyCommand = CreateKeyCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class DecryptCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DecryptCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "KMSClient";
30
- const commandName = "DecryptCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.DecryptResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "TrentService",
39
- operation: "Decrypt",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_DecryptCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_DecryptCommand)(output, context);
50
- }
11
+ class DecryptCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("TrentService", "Decrypt", {})
23
+ .n("KMSClient", "DecryptCommand")
24
+ .f(void 0, models_0_1.DecryptResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_DecryptCommand)
26
+ .de(Aws_json1_1_1.de_DecryptCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DecryptCommand = DecryptCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteAliasCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAliasCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "DeleteAliasCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "DeleteAlias",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteAliasCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteAliasCommand)(output, context);
49
- }
10
+ class DeleteAliasCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "DeleteAlias", {})
22
+ .n("KMSClient", "DeleteAliasCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteAliasCommand)
25
+ .de(Aws_json1_1_1.de_DeleteAliasCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteAliasCommand = DeleteAliasCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteCustomKeyStoreCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCustomKeyStoreCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "KMSClient";
29
- const commandName = "DeleteCustomKeyStoreCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "TrentService",
38
- operation: "DeleteCustomKeyStore",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteCustomKeyStoreCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteCustomKeyStoreCommand)(output, context);
49
- }
10
+ class DeleteCustomKeyStoreCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("TrentService", "DeleteCustomKeyStore", {})
22
+ .n("KMSClient", "DeleteCustomKeyStoreCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteCustomKeyStoreCommand)
25
+ .de(Aws_json1_1_1.de_DeleteCustomKeyStoreCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteCustomKeyStoreCommand = DeleteCustomKeyStoreCommand;