@aws-sdk/client-kms 3.490.0 → 3.496.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 (71) hide show
  1. package/dist-cjs/KMS.js +1 -111
  2. package/dist-cjs/KMSClient.js +1 -43
  3. package/dist-cjs/commands/CancelKeyDeletionCommand.js +1 -28
  4. package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +1 -28
  5. package/dist-cjs/commands/CreateAliasCommand.js +1 -28
  6. package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +1 -29
  7. package/dist-cjs/commands/CreateGrantCommand.js +1 -28
  8. package/dist-cjs/commands/CreateKeyCommand.js +1 -28
  9. package/dist-cjs/commands/DecryptCommand.js +1 -29
  10. package/dist-cjs/commands/DeleteAliasCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +1 -29
  14. package/dist-cjs/commands/DescribeKeyCommand.js +1 -28
  15. package/dist-cjs/commands/DisableKeyCommand.js +1 -28
  16. package/dist-cjs/commands/DisableKeyRotationCommand.js +1 -28
  17. package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +1 -28
  18. package/dist-cjs/commands/EnableKeyCommand.js +1 -28
  19. package/dist-cjs/commands/EnableKeyRotationCommand.js +1 -28
  20. package/dist-cjs/commands/EncryptCommand.js +1 -29
  21. package/dist-cjs/commands/GenerateDataKeyCommand.js +1 -29
  22. package/dist-cjs/commands/GenerateDataKeyPairCommand.js +1 -29
  23. package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +1 -28
  24. package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +1 -28
  25. package/dist-cjs/commands/GenerateMacCommand.js +1 -29
  26. package/dist-cjs/commands/GenerateRandomCommand.js +1 -29
  27. package/dist-cjs/commands/GetKeyPolicyCommand.js +1 -28
  28. package/dist-cjs/commands/GetKeyRotationStatusCommand.js +1 -28
  29. package/dist-cjs/commands/GetParametersForImportCommand.js +1 -29
  30. package/dist-cjs/commands/GetPublicKeyCommand.js +1 -28
  31. package/dist-cjs/commands/ImportKeyMaterialCommand.js +1 -28
  32. package/dist-cjs/commands/ListAliasesCommand.js +1 -28
  33. package/dist-cjs/commands/ListGrantsCommand.js +1 -28
  34. package/dist-cjs/commands/ListKeyPoliciesCommand.js +1 -28
  35. package/dist-cjs/commands/ListKeysCommand.js +1 -28
  36. package/dist-cjs/commands/ListResourceTagsCommand.js +1 -28
  37. package/dist-cjs/commands/ListRetirableGrantsCommand.js +1 -28
  38. package/dist-cjs/commands/PutKeyPolicyCommand.js +1 -28
  39. package/dist-cjs/commands/ReEncryptCommand.js +1 -28
  40. package/dist-cjs/commands/ReplicateKeyCommand.js +1 -28
  41. package/dist-cjs/commands/RetireGrantCommand.js +1 -28
  42. package/dist-cjs/commands/RevokeGrantCommand.js +1 -28
  43. package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +1 -28
  44. package/dist-cjs/commands/SignCommand.js +1 -29
  45. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  46. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  47. package/dist-cjs/commands/UpdateAliasCommand.js +1 -28
  48. package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +1 -29
  49. package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +1 -28
  50. package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +1 -28
  51. package/dist-cjs/commands/VerifyCommand.js +1 -29
  52. package/dist-cjs/commands/VerifyMacCommand.js +1 -29
  53. package/dist-cjs/commands/index.js +1 -53
  54. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  55. package/dist-cjs/extensionConfiguration.js +1 -2
  56. package/dist-cjs/index.js +6054 -11
  57. package/dist-cjs/models/KMSServiceException.js +1 -12
  58. package/dist-cjs/models/index.js +1 -4
  59. package/dist-cjs/models/models_0.js +1 -881
  60. package/dist-cjs/pagination/DescribeCustomKeyStoresPaginator.js +1 -7
  61. package/dist-cjs/pagination/Interfaces.js +1 -2
  62. package/dist-cjs/pagination/ListAliasesPaginator.js +1 -7
  63. package/dist-cjs/pagination/ListGrantsPaginator.js +1 -7
  64. package/dist-cjs/pagination/ListKeyPoliciesPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListKeysPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListResourceTagsPaginator.js +1 -7
  67. package/dist-cjs/pagination/ListRetirableGrantsPaginator.js +1 -7
  68. package/dist-cjs/pagination/index.js +1 -11
  69. package/dist-cjs/protocols/Aws_json1_1.js +1 -3742
  70. package/dist-cjs/runtimeExtensions.js +1 -22
  71. package/package.json +40 -40
package/dist-cjs/KMS.js CHANGED
@@ -1,111 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KMS = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const CancelKeyDeletionCommand_1 = require("./commands/CancelKeyDeletionCommand");
6
- const ConnectCustomKeyStoreCommand_1 = require("./commands/ConnectCustomKeyStoreCommand");
7
- const CreateAliasCommand_1 = require("./commands/CreateAliasCommand");
8
- const CreateCustomKeyStoreCommand_1 = require("./commands/CreateCustomKeyStoreCommand");
9
- const CreateGrantCommand_1 = require("./commands/CreateGrantCommand");
10
- const CreateKeyCommand_1 = require("./commands/CreateKeyCommand");
11
- const DecryptCommand_1 = require("./commands/DecryptCommand");
12
- const DeleteAliasCommand_1 = require("./commands/DeleteAliasCommand");
13
- const DeleteCustomKeyStoreCommand_1 = require("./commands/DeleteCustomKeyStoreCommand");
14
- const DeleteImportedKeyMaterialCommand_1 = require("./commands/DeleteImportedKeyMaterialCommand");
15
- const DescribeCustomKeyStoresCommand_1 = require("./commands/DescribeCustomKeyStoresCommand");
16
- const DescribeKeyCommand_1 = require("./commands/DescribeKeyCommand");
17
- const DisableKeyCommand_1 = require("./commands/DisableKeyCommand");
18
- const DisableKeyRotationCommand_1 = require("./commands/DisableKeyRotationCommand");
19
- const DisconnectCustomKeyStoreCommand_1 = require("./commands/DisconnectCustomKeyStoreCommand");
20
- const EnableKeyCommand_1 = require("./commands/EnableKeyCommand");
21
- const EnableKeyRotationCommand_1 = require("./commands/EnableKeyRotationCommand");
22
- const EncryptCommand_1 = require("./commands/EncryptCommand");
23
- const GenerateDataKeyCommand_1 = require("./commands/GenerateDataKeyCommand");
24
- const GenerateDataKeyPairCommand_1 = require("./commands/GenerateDataKeyPairCommand");
25
- const GenerateDataKeyPairWithoutPlaintextCommand_1 = require("./commands/GenerateDataKeyPairWithoutPlaintextCommand");
26
- const GenerateDataKeyWithoutPlaintextCommand_1 = require("./commands/GenerateDataKeyWithoutPlaintextCommand");
27
- const GenerateMacCommand_1 = require("./commands/GenerateMacCommand");
28
- const GenerateRandomCommand_1 = require("./commands/GenerateRandomCommand");
29
- const GetKeyPolicyCommand_1 = require("./commands/GetKeyPolicyCommand");
30
- const GetKeyRotationStatusCommand_1 = require("./commands/GetKeyRotationStatusCommand");
31
- const GetParametersForImportCommand_1 = require("./commands/GetParametersForImportCommand");
32
- const GetPublicKeyCommand_1 = require("./commands/GetPublicKeyCommand");
33
- const ImportKeyMaterialCommand_1 = require("./commands/ImportKeyMaterialCommand");
34
- const ListAliasesCommand_1 = require("./commands/ListAliasesCommand");
35
- const ListGrantsCommand_1 = require("./commands/ListGrantsCommand");
36
- const ListKeyPoliciesCommand_1 = require("./commands/ListKeyPoliciesCommand");
37
- const ListKeysCommand_1 = require("./commands/ListKeysCommand");
38
- const ListResourceTagsCommand_1 = require("./commands/ListResourceTagsCommand");
39
- const ListRetirableGrantsCommand_1 = require("./commands/ListRetirableGrantsCommand");
40
- const PutKeyPolicyCommand_1 = require("./commands/PutKeyPolicyCommand");
41
- const ReEncryptCommand_1 = require("./commands/ReEncryptCommand");
42
- const ReplicateKeyCommand_1 = require("./commands/ReplicateKeyCommand");
43
- const RetireGrantCommand_1 = require("./commands/RetireGrantCommand");
44
- const RevokeGrantCommand_1 = require("./commands/RevokeGrantCommand");
45
- const ScheduleKeyDeletionCommand_1 = require("./commands/ScheduleKeyDeletionCommand");
46
- const SignCommand_1 = require("./commands/SignCommand");
47
- const TagResourceCommand_1 = require("./commands/TagResourceCommand");
48
- const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
49
- const UpdateAliasCommand_1 = require("./commands/UpdateAliasCommand");
50
- const UpdateCustomKeyStoreCommand_1 = require("./commands/UpdateCustomKeyStoreCommand");
51
- const UpdateKeyDescriptionCommand_1 = require("./commands/UpdateKeyDescriptionCommand");
52
- const UpdatePrimaryRegionCommand_1 = require("./commands/UpdatePrimaryRegionCommand");
53
- const VerifyCommand_1 = require("./commands/VerifyCommand");
54
- const VerifyMacCommand_1 = require("./commands/VerifyMacCommand");
55
- const KMSClient_1 = require("./KMSClient");
56
- const commands = {
57
- CancelKeyDeletionCommand: CancelKeyDeletionCommand_1.CancelKeyDeletionCommand,
58
- ConnectCustomKeyStoreCommand: ConnectCustomKeyStoreCommand_1.ConnectCustomKeyStoreCommand,
59
- CreateAliasCommand: CreateAliasCommand_1.CreateAliasCommand,
60
- CreateCustomKeyStoreCommand: CreateCustomKeyStoreCommand_1.CreateCustomKeyStoreCommand,
61
- CreateGrantCommand: CreateGrantCommand_1.CreateGrantCommand,
62
- CreateKeyCommand: CreateKeyCommand_1.CreateKeyCommand,
63
- DecryptCommand: DecryptCommand_1.DecryptCommand,
64
- DeleteAliasCommand: DeleteAliasCommand_1.DeleteAliasCommand,
65
- DeleteCustomKeyStoreCommand: DeleteCustomKeyStoreCommand_1.DeleteCustomKeyStoreCommand,
66
- DeleteImportedKeyMaterialCommand: DeleteImportedKeyMaterialCommand_1.DeleteImportedKeyMaterialCommand,
67
- DescribeCustomKeyStoresCommand: DescribeCustomKeyStoresCommand_1.DescribeCustomKeyStoresCommand,
68
- DescribeKeyCommand: DescribeKeyCommand_1.DescribeKeyCommand,
69
- DisableKeyCommand: DisableKeyCommand_1.DisableKeyCommand,
70
- DisableKeyRotationCommand: DisableKeyRotationCommand_1.DisableKeyRotationCommand,
71
- DisconnectCustomKeyStoreCommand: DisconnectCustomKeyStoreCommand_1.DisconnectCustomKeyStoreCommand,
72
- EnableKeyCommand: EnableKeyCommand_1.EnableKeyCommand,
73
- EnableKeyRotationCommand: EnableKeyRotationCommand_1.EnableKeyRotationCommand,
74
- EncryptCommand: EncryptCommand_1.EncryptCommand,
75
- GenerateDataKeyCommand: GenerateDataKeyCommand_1.GenerateDataKeyCommand,
76
- GenerateDataKeyPairCommand: GenerateDataKeyPairCommand_1.GenerateDataKeyPairCommand,
77
- GenerateDataKeyPairWithoutPlaintextCommand: GenerateDataKeyPairWithoutPlaintextCommand_1.GenerateDataKeyPairWithoutPlaintextCommand,
78
- GenerateDataKeyWithoutPlaintextCommand: GenerateDataKeyWithoutPlaintextCommand_1.GenerateDataKeyWithoutPlaintextCommand,
79
- GenerateMacCommand: GenerateMacCommand_1.GenerateMacCommand,
80
- GenerateRandomCommand: GenerateRandomCommand_1.GenerateRandomCommand,
81
- GetKeyPolicyCommand: GetKeyPolicyCommand_1.GetKeyPolicyCommand,
82
- GetKeyRotationStatusCommand: GetKeyRotationStatusCommand_1.GetKeyRotationStatusCommand,
83
- GetParametersForImportCommand: GetParametersForImportCommand_1.GetParametersForImportCommand,
84
- GetPublicKeyCommand: GetPublicKeyCommand_1.GetPublicKeyCommand,
85
- ImportKeyMaterialCommand: ImportKeyMaterialCommand_1.ImportKeyMaterialCommand,
86
- ListAliasesCommand: ListAliasesCommand_1.ListAliasesCommand,
87
- ListGrantsCommand: ListGrantsCommand_1.ListGrantsCommand,
88
- ListKeyPoliciesCommand: ListKeyPoliciesCommand_1.ListKeyPoliciesCommand,
89
- ListKeysCommand: ListKeysCommand_1.ListKeysCommand,
90
- ListResourceTagsCommand: ListResourceTagsCommand_1.ListResourceTagsCommand,
91
- ListRetirableGrantsCommand: ListRetirableGrantsCommand_1.ListRetirableGrantsCommand,
92
- PutKeyPolicyCommand: PutKeyPolicyCommand_1.PutKeyPolicyCommand,
93
- ReEncryptCommand: ReEncryptCommand_1.ReEncryptCommand,
94
- ReplicateKeyCommand: ReplicateKeyCommand_1.ReplicateKeyCommand,
95
- RetireGrantCommand: RetireGrantCommand_1.RetireGrantCommand,
96
- RevokeGrantCommand: RevokeGrantCommand_1.RevokeGrantCommand,
97
- ScheduleKeyDeletionCommand: ScheduleKeyDeletionCommand_1.ScheduleKeyDeletionCommand,
98
- SignCommand: SignCommand_1.SignCommand,
99
- TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
100
- UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
101
- UpdateAliasCommand: UpdateAliasCommand_1.UpdateAliasCommand,
102
- UpdateCustomKeyStoreCommand: UpdateCustomKeyStoreCommand_1.UpdateCustomKeyStoreCommand,
103
- UpdateKeyDescriptionCommand: UpdateKeyDescriptionCommand_1.UpdateKeyDescriptionCommand,
104
- UpdatePrimaryRegionCommand: UpdatePrimaryRegionCommand_1.UpdatePrimaryRegionCommand,
105
- VerifyCommand: VerifyCommand_1.VerifyCommand,
106
- VerifyMacCommand: VerifyMacCommand_1.VerifyMacCommand,
107
- };
108
- class KMS extends KMSClient_1.KMSClient {
109
- }
110
- exports.KMS = KMS;
111
- (0, smithy_client_1.createAggregatedClient)(commands, KMS);
1
+ module.exports = require("./index.js");
@@ -1,43 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KMSClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
- const config_resolver_1 = require("@smithy/config-resolver");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
- const runtimeConfig_1 = require("./runtimeConfig");
17
- const runtimeExtensions_1 = require("./runtimeExtensions");
18
- class KMSClient extends smithy_client_1.Client {
19
- constructor(...[configuration]) {
20
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
- const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
- const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
24
- const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
25
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
26
- const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
27
- const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
28
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
- super(_config_8);
30
- this.config = _config_8;
31
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
32
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
33
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
38
- }
39
- destroy() {
40
- super.destroy();
41
- }
42
- }
43
- exports.KMSClient = KMSClient;
1
+ module.exports = require("./index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CancelKeyDeletionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.CancelKeyDeletionCommand = CancelKeyDeletionCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConnectCustomKeyStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.ConnectCustomKeyStoreCommand = ConnectCustomKeyStoreCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateAliasCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.CreateAliasCommand = CreateAliasCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateCustomKeyStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
28
- }
29
- exports.CreateCustomKeyStoreCommand = CreateCustomKeyStoreCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateGrantCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.CreateGrantCommand = CreateGrantCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateKeyCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.CreateKeyCommand = CreateKeyCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DecryptCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
28
- }
29
- exports.DecryptCommand = DecryptCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteAliasCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.DeleteAliasCommand = DeleteAliasCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteCustomKeyStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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() {
27
- }
28
- exports.DeleteCustomKeyStoreCommand = DeleteCustomKeyStoreCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteImportedKeyMaterialCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteImportedKeyMaterialCommand 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", "DeleteImportedKeyMaterial", {})
22
- .n("KMSClient", "DeleteImportedKeyMaterialCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_DeleteImportedKeyMaterialCommand)
25
- .de(Aws_json1_1_1.de_DeleteImportedKeyMaterialCommand)
26
- .build() {
27
- }
28
- exports.DeleteImportedKeyMaterialCommand = DeleteImportedKeyMaterialCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeCustomKeyStoresCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class DescribeCustomKeyStoresCommand 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", "DescribeCustomKeyStores", {})
23
- .n("KMSClient", "DescribeCustomKeyStoresCommand")
24
- .f(void 0, models_0_1.DescribeCustomKeyStoresResponseFilterSensitiveLog)
25
- .ser(Aws_json1_1_1.se_DescribeCustomKeyStoresCommand)
26
- .de(Aws_json1_1_1.de_DescribeCustomKeyStoresCommand)
27
- .build() {
28
- }
29
- exports.DescribeCustomKeyStoresCommand = DescribeCustomKeyStoresCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeKeyCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DescribeKeyCommand 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", "DescribeKey", {})
22
- .n("KMSClient", "DescribeKeyCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_DescribeKeyCommand)
25
- .de(Aws_json1_1_1.de_DescribeKeyCommand)
26
- .build() {
27
- }
28
- exports.DescribeKeyCommand = DescribeKeyCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisableKeyCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DisableKeyCommand 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", "DisableKey", {})
22
- .n("KMSClient", "DisableKeyCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_DisableKeyCommand)
25
- .de(Aws_json1_1_1.de_DisableKeyCommand)
26
- .build() {
27
- }
28
- exports.DisableKeyCommand = DisableKeyCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisableKeyRotationCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DisableKeyRotationCommand 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", "DisableKeyRotation", {})
22
- .n("KMSClient", "DisableKeyRotationCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_DisableKeyRotationCommand)
25
- .de(Aws_json1_1_1.de_DisableKeyRotationCommand)
26
- .build() {
27
- }
28
- exports.DisableKeyRotationCommand = DisableKeyRotationCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisconnectCustomKeyStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DisconnectCustomKeyStoreCommand 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", "DisconnectCustomKeyStore", {})
22
- .n("KMSClient", "DisconnectCustomKeyStoreCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_DisconnectCustomKeyStoreCommand)
25
- .de(Aws_json1_1_1.de_DisconnectCustomKeyStoreCommand)
26
- .build() {
27
- }
28
- exports.DisconnectCustomKeyStoreCommand = DisconnectCustomKeyStoreCommand;
1
+ module.exports = require("../index.js");