@aws-sdk/client-kms 3.489.0 → 3.495.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.
- package/dist-cjs/KMS.js +1 -111
- package/dist-cjs/KMSClient.js +1 -43
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +1 -28
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +1 -28
- package/dist-cjs/commands/CreateAliasCommand.js +1 -28
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +1 -29
- package/dist-cjs/commands/CreateGrantCommand.js +1 -28
- package/dist-cjs/commands/CreateKeyCommand.js +1 -28
- package/dist-cjs/commands/DecryptCommand.js +1 -29
- package/dist-cjs/commands/DeleteAliasCommand.js +1 -28
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +1 -28
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +1 -28
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +1 -29
- package/dist-cjs/commands/DescribeKeyCommand.js +1 -28
- package/dist-cjs/commands/DisableKeyCommand.js +1 -28
- package/dist-cjs/commands/DisableKeyRotationCommand.js +1 -28
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +1 -28
- package/dist-cjs/commands/EnableKeyCommand.js +1 -28
- package/dist-cjs/commands/EnableKeyRotationCommand.js +1 -28
- package/dist-cjs/commands/EncryptCommand.js +1 -29
- package/dist-cjs/commands/GenerateDataKeyCommand.js +1 -29
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +1 -29
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +1 -28
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +1 -28
- package/dist-cjs/commands/GenerateMacCommand.js +1 -29
- package/dist-cjs/commands/GenerateRandomCommand.js +1 -29
- package/dist-cjs/commands/GetKeyPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +1 -28
- package/dist-cjs/commands/GetParametersForImportCommand.js +1 -29
- package/dist-cjs/commands/GetPublicKeyCommand.js +1 -28
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +1 -28
- package/dist-cjs/commands/ListAliasesCommand.js +1 -28
- package/dist-cjs/commands/ListGrantsCommand.js +1 -28
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListKeysCommand.js +1 -28
- package/dist-cjs/commands/ListResourceTagsCommand.js +1 -28
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +1 -28
- package/dist-cjs/commands/PutKeyPolicyCommand.js +1 -28
- package/dist-cjs/commands/ReEncryptCommand.js +1 -28
- package/dist-cjs/commands/ReplicateKeyCommand.js +1 -28
- package/dist-cjs/commands/RetireGrantCommand.js +1 -28
- package/dist-cjs/commands/RevokeGrantCommand.js +1 -28
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +1 -28
- package/dist-cjs/commands/SignCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAliasCommand.js +1 -28
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +1 -29
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +1 -28
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +1 -28
- package/dist-cjs/commands/VerifyCommand.js +1 -29
- package/dist-cjs/commands/VerifyMacCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -53
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +6052 -11
- package/dist-cjs/models/KMSServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -881
- package/dist-cjs/pagination/DescribeCustomKeyStoresPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAliasesPaginator.js +1 -7
- package/dist-cjs/pagination/ListGrantsPaginator.js +1 -7
- package/dist-cjs/pagination/ListKeyPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListKeysPaginator.js +1 -7
- package/dist-cjs/pagination/ListResourceTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRetirableGrantsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -11
- package/dist-cjs/protocols/Aws_json1_1.js +1 -3742
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnableKeyCommand = 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 EnableKeyCommand 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", "EnableKey", {})
|
|
22
|
-
.n("KMSClient", "EnableKeyCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_EnableKeyCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_EnableKeyCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.EnableKeyCommand = EnableKeyCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnableKeyRotationCommand = 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 EnableKeyRotationCommand 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", "EnableKeyRotation", {})
|
|
22
|
-
.n("KMSClient", "EnableKeyRotationCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_EnableKeyRotationCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_EnableKeyRotationCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.EnableKeyRotationCommand = EnableKeyRotationCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncryptCommand = 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 EncryptCommand 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", "Encrypt", {})
|
|
23
|
-
.n("KMSClient", "EncryptCommand")
|
|
24
|
-
.f(models_0_1.EncryptRequestFilterSensitiveLog, void 0)
|
|
25
|
-
.ser(Aws_json1_1_1.se_EncryptCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_EncryptCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.EncryptCommand = EncryptCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateDataKeyCommand = 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 GenerateDataKeyCommand 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", "GenerateDataKey", {})
|
|
23
|
-
.n("KMSClient", "GenerateDataKeyCommand")
|
|
24
|
-
.f(void 0, models_0_1.GenerateDataKeyResponseFilterSensitiveLog)
|
|
25
|
-
.ser(Aws_json1_1_1.se_GenerateDataKeyCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_GenerateDataKeyCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GenerateDataKeyCommand = GenerateDataKeyCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateDataKeyPairCommand = 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 GenerateDataKeyPairCommand 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", "GenerateDataKeyPair", {})
|
|
23
|
-
.n("KMSClient", "GenerateDataKeyPairCommand")
|
|
24
|
-
.f(void 0, models_0_1.GenerateDataKeyPairResponseFilterSensitiveLog)
|
|
25
|
-
.ser(Aws_json1_1_1.se_GenerateDataKeyPairCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_GenerateDataKeyPairCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GenerateDataKeyPairCommand = GenerateDataKeyPairCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateDataKeyPairWithoutPlaintextCommand = 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 GenerateDataKeyPairWithoutPlaintextCommand 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", "GenerateDataKeyPairWithoutPlaintext", {})
|
|
22
|
-
.n("KMSClient", "GenerateDataKeyPairWithoutPlaintextCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_GenerateDataKeyPairWithoutPlaintextCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_GenerateDataKeyPairWithoutPlaintextCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GenerateDataKeyPairWithoutPlaintextCommand = GenerateDataKeyPairWithoutPlaintextCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateDataKeyWithoutPlaintextCommand = 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 GenerateDataKeyWithoutPlaintextCommand 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", "GenerateDataKeyWithoutPlaintext", {})
|
|
22
|
-
.n("KMSClient", "GenerateDataKeyWithoutPlaintextCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_GenerateDataKeyWithoutPlaintextCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_GenerateDataKeyWithoutPlaintextCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GenerateDataKeyWithoutPlaintextCommand = GenerateDataKeyWithoutPlaintextCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateMacCommand = 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 GenerateMacCommand 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", "GenerateMac", {})
|
|
23
|
-
.n("KMSClient", "GenerateMacCommand")
|
|
24
|
-
.f(models_0_1.GenerateMacRequestFilterSensitiveLog, void 0)
|
|
25
|
-
.ser(Aws_json1_1_1.se_GenerateMacCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_GenerateMacCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GenerateMacCommand = GenerateMacCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateRandomCommand = 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 GenerateRandomCommand 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", "GenerateRandom", {})
|
|
23
|
-
.n("KMSClient", "GenerateRandomCommand")
|
|
24
|
-
.f(void 0, models_0_1.GenerateRandomResponseFilterSensitiveLog)
|
|
25
|
-
.ser(Aws_json1_1_1.se_GenerateRandomCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_GenerateRandomCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GenerateRandomCommand = GenerateRandomCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetKeyPolicyCommand = 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 GetKeyPolicyCommand 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", "GetKeyPolicy", {})
|
|
22
|
-
.n("KMSClient", "GetKeyPolicyCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_GetKeyPolicyCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_GetKeyPolicyCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetKeyPolicyCommand = GetKeyPolicyCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetKeyRotationStatusCommand = 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 GetKeyRotationStatusCommand 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", "GetKeyRotationStatus", {})
|
|
22
|
-
.n("KMSClient", "GetKeyRotationStatusCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_GetKeyRotationStatusCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_GetKeyRotationStatusCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetKeyRotationStatusCommand = GetKeyRotationStatusCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetParametersForImportCommand = 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 GetParametersForImportCommand 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", "GetParametersForImport", {})
|
|
23
|
-
.n("KMSClient", "GetParametersForImportCommand")
|
|
24
|
-
.f(void 0, models_0_1.GetParametersForImportResponseFilterSensitiveLog)
|
|
25
|
-
.ser(Aws_json1_1_1.se_GetParametersForImportCommand)
|
|
26
|
-
.de(Aws_json1_1_1.de_GetParametersForImportCommand)
|
|
27
|
-
.build() {
|
|
28
|
-
}
|
|
29
|
-
exports.GetParametersForImportCommand = GetParametersForImportCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPublicKeyCommand = 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 GetPublicKeyCommand 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", "GetPublicKey", {})
|
|
22
|
-
.n("KMSClient", "GetPublicKeyCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_GetPublicKeyCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_GetPublicKeyCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetPublicKeyCommand = GetPublicKeyCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImportKeyMaterialCommand = 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 ImportKeyMaterialCommand 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", "ImportKeyMaterial", {})
|
|
22
|
-
.n("KMSClient", "ImportKeyMaterialCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ImportKeyMaterialCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ImportKeyMaterialCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ImportKeyMaterialCommand = ImportKeyMaterialCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListAliasesCommand = 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 ListAliasesCommand 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", "ListAliases", {})
|
|
22
|
-
.n("KMSClient", "ListAliasesCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListAliasesCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListAliasesCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListAliasesCommand = ListAliasesCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListGrantsCommand = 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 ListGrantsCommand 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", "ListGrants", {})
|
|
22
|
-
.n("KMSClient", "ListGrantsCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListGrantsCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListGrantsCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListGrantsCommand = ListGrantsCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListKeyPoliciesCommand = 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 ListKeyPoliciesCommand 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", "ListKeyPolicies", {})
|
|
22
|
-
.n("KMSClient", "ListKeyPoliciesCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListKeyPoliciesCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListKeyPoliciesCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListKeyPoliciesCommand = ListKeyPoliciesCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListKeysCommand = 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 ListKeysCommand 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", "ListKeys", {})
|
|
22
|
-
.n("KMSClient", "ListKeysCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListKeysCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListKeysCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListKeysCommand = ListKeysCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListResourceTagsCommand = 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 ListResourceTagsCommand 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", "ListResourceTags", {})
|
|
22
|
-
.n("KMSClient", "ListResourceTagsCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListResourceTagsCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListResourceTagsCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListResourceTagsCommand = ListResourceTagsCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListRetirableGrantsCommand = 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 ListRetirableGrantsCommand 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", "ListRetirableGrants", {})
|
|
22
|
-
.n("KMSClient", "ListRetirableGrantsCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListRetirableGrantsCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListRetirableGrantsCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListRetirableGrantsCommand = ListRetirableGrantsCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutKeyPolicyCommand = 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 PutKeyPolicyCommand 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", "PutKeyPolicy", {})
|
|
22
|
-
.n("KMSClient", "PutKeyPolicyCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_PutKeyPolicyCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_PutKeyPolicyCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.PutKeyPolicyCommand = PutKeyPolicyCommand;
|
|
1
|
+
module.exports = require("../index.js");
|