@aws-sdk/client-kms 3.478.0 → 3.481.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/commands/CancelKeyDeletionCommand.js +18 -41
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +18 -41
- package/dist-cjs/commands/CreateAliasCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +18 -41
- package/dist-cjs/commands/CreateGrantCommand.js +18 -41
- package/dist-cjs/commands/CreateKeyCommand.js +18 -41
- package/dist-cjs/commands/DecryptCommand.js +18 -41
- package/dist-cjs/commands/DeleteAliasCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +18 -41
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +18 -41
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +18 -41
- package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
- package/dist-cjs/commands/DisableKeyCommand.js +18 -41
- package/dist-cjs/commands/DisableKeyRotationCommand.js +18 -41
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +18 -41
- package/dist-cjs/commands/EnableKeyCommand.js +18 -41
- package/dist-cjs/commands/EnableKeyRotationCommand.js +18 -41
- package/dist-cjs/commands/EncryptCommand.js +18 -41
- package/dist-cjs/commands/GenerateDataKeyCommand.js +18 -41
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +18 -41
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
- package/dist-cjs/commands/GenerateMacCommand.js +18 -41
- package/dist-cjs/commands/GenerateRandomCommand.js +18 -41
- package/dist-cjs/commands/GetKeyPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +18 -41
- package/dist-cjs/commands/GetParametersForImportCommand.js +18 -41
- package/dist-cjs/commands/GetPublicKeyCommand.js +18 -41
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +18 -41
- package/dist-cjs/commands/ListAliasesCommand.js +18 -41
- package/dist-cjs/commands/ListGrantsCommand.js +18 -41
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListKeysCommand.js +18 -41
- package/dist-cjs/commands/ListResourceTagsCommand.js +18 -41
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +18 -41
- package/dist-cjs/commands/PutKeyPolicyCommand.js +18 -41
- package/dist-cjs/commands/ReEncryptCommand.js +18 -41
- package/dist-cjs/commands/ReplicateKeyCommand.js +18 -41
- package/dist-cjs/commands/RetireGrantCommand.js +18 -41
- package/dist-cjs/commands/RevokeGrantCommand.js +18 -41
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +18 -41
- package/dist-cjs/commands/SignCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAliasCommand.js +18 -41
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +18 -41
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +18 -41
- package/dist-cjs/commands/VerifyCommand.js +18 -41
- package/dist-cjs/commands/VerifyMacCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CancelKeyDeletionCommand.js +18 -41
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +18 -41
- package/dist-es/commands/CreateAliasCommand.js +18 -41
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +18 -41
- package/dist-es/commands/CreateGrantCommand.js +18 -41
- package/dist-es/commands/CreateKeyCommand.js +18 -41
- package/dist-es/commands/DecryptCommand.js +18 -41
- package/dist-es/commands/DeleteAliasCommand.js +18 -41
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +18 -41
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +18 -41
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +18 -41
- package/dist-es/commands/DescribeKeyCommand.js +18 -41
- package/dist-es/commands/DisableKeyCommand.js +18 -41
- package/dist-es/commands/DisableKeyRotationCommand.js +18 -41
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +18 -41
- package/dist-es/commands/EnableKeyCommand.js +18 -41
- package/dist-es/commands/EnableKeyRotationCommand.js +18 -41
- package/dist-es/commands/EncryptCommand.js +18 -41
- package/dist-es/commands/GenerateDataKeyCommand.js +18 -41
- package/dist-es/commands/GenerateDataKeyPairCommand.js +18 -41
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +18 -41
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +18 -41
- package/dist-es/commands/GenerateMacCommand.js +18 -41
- package/dist-es/commands/GenerateRandomCommand.js +18 -41
- package/dist-es/commands/GetKeyPolicyCommand.js +18 -41
- package/dist-es/commands/GetKeyRotationStatusCommand.js +18 -41
- package/dist-es/commands/GetParametersForImportCommand.js +18 -41
- package/dist-es/commands/GetPublicKeyCommand.js +18 -41
- package/dist-es/commands/ImportKeyMaterialCommand.js +18 -41
- package/dist-es/commands/ListAliasesCommand.js +18 -41
- package/dist-es/commands/ListGrantsCommand.js +18 -41
- package/dist-es/commands/ListKeyPoliciesCommand.js +18 -41
- package/dist-es/commands/ListKeysCommand.js +18 -41
- package/dist-es/commands/ListResourceTagsCommand.js +18 -41
- package/dist-es/commands/ListRetirableGrantsCommand.js +18 -41
- package/dist-es/commands/PutKeyPolicyCommand.js +18 -41
- package/dist-es/commands/ReEncryptCommand.js +18 -41
- package/dist-es/commands/ReplicateKeyCommand.js +18 -41
- package/dist-es/commands/RetireGrantCommand.js +18 -41
- package/dist-es/commands/RevokeGrantCommand.js +18 -41
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +18 -41
- package/dist-es/commands/SignCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAliasCommand.js +18 -41
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +18 -41
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +18 -41
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +18 -41
- package/dist-es/commands/VerifyCommand.js +18 -41
- package/dist-es/commands/VerifyMacCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -21
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +6 -21
- package/dist-types/commands/CreateAliasCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -21
- package/dist-types/commands/CreateGrantCommand.d.ts +6 -21
- package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
- package/dist-types/commands/DecryptCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAliasCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -21
- package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
- package/dist-types/commands/DisableKeyCommand.d.ts +6 -21
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -21
- package/dist-types/commands/EnableKeyCommand.d.ts +6 -21
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -21
- package/dist-types/commands/EncryptCommand.d.ts +6 -21
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -21
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +6 -21
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -21
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -21
- package/dist-types/commands/GenerateMacCommand.d.ts +6 -21
- package/dist-types/commands/GenerateRandomCommand.d.ts +6 -21
- package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetParametersForImportCommand.d.ts +6 -21
- package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -21
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +6 -21
- package/dist-types/commands/ListAliasesCommand.d.ts +6 -21
- package/dist-types/commands/ListGrantsCommand.d.ts +6 -21
- package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceTagsCommand.d.ts +6 -21
- package/dist-types/commands/ListRetirableGrantsCommand.d.ts +6 -21
- package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -21
- package/dist-types/commands/ReEncryptCommand.d.ts +6 -21
- package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -21
- package/dist-types/commands/RetireGrantCommand.d.ts +6 -21
- package/dist-types/commands/RevokeGrantCommand.d.ts +6 -21
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -21
- package/dist-types/commands/SignCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAliasCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -21
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -21
- package/dist-types/commands/VerifyCommand.d.ts +6 -21
- package/dist-types/commands/VerifyMacCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SignCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DisableKeyRotationCommand, se_DisableKeyRotationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DisableKeyRotationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "DisableKeyRotationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "DisableKeyRotation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DisableKeyRotationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DisableKeyRotationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DisableKeyRotationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "DisableKeyRotation", {})
|
|
19
|
+
.n("KMSClient", "DisableKeyRotationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisableKeyRotationCommand)
|
|
22
|
+
.de(de_DisableKeyRotationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DisconnectCustomKeyStoreCommand, se_DisconnectCustomKeyStoreCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DisconnectCustomKeyStoreCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "DisconnectCustomKeyStoreCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "DisconnectCustomKeyStore",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DisconnectCustomKeyStoreCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DisconnectCustomKeyStoreCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DisconnectCustomKeyStoreCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "DisconnectCustomKeyStore", {})
|
|
19
|
+
.n("KMSClient", "DisconnectCustomKeyStoreCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisconnectCustomKeyStoreCommand)
|
|
22
|
+
.de(de_DisconnectCustomKeyStoreCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_EnableKeyCommand, se_EnableKeyCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class EnableKeyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "EnableKeyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "EnableKey",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_EnableKeyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_EnableKeyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class EnableKeyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "EnableKey", {})
|
|
19
|
+
.n("KMSClient", "EnableKeyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_EnableKeyCommand)
|
|
22
|
+
.de(de_EnableKeyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_EnableKeyRotationCommand, se_EnableKeyRotationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class EnableKeyRotationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "EnableKeyRotationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "EnableKeyRotation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_EnableKeyRotationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_EnableKeyRotationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class EnableKeyRotationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "EnableKeyRotation", {})
|
|
19
|
+
.n("KMSClient", "EnableKeyRotationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_EnableKeyRotationCommand)
|
|
22
|
+
.de(de_EnableKeyRotationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { EncryptRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_EncryptCommand, se_EncryptCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class EncryptCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "KMSClient";
|
|
27
|
-
const commandName = "EncryptCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: EncryptRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TrentService",
|
|
36
|
-
operation: "Encrypt",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_EncryptCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_EncryptCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class EncryptCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TrentService", "Encrypt", {})
|
|
20
|
+
.n("KMSClient", "EncryptCommand")
|
|
21
|
+
.f(EncryptRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_EncryptCommand)
|
|
23
|
+
.de(de_EncryptCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GenerateDataKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GenerateDataKeyCommand, se_GenerateDataKeyCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GenerateDataKeyCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "KMSClient";
|
|
27
|
-
const commandName = "GenerateDataKeyCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: GenerateDataKeyResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TrentService",
|
|
36
|
-
operation: "GenerateDataKey",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GenerateDataKeyCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GenerateDataKeyCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GenerateDataKeyCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TrentService", "GenerateDataKey", {})
|
|
20
|
+
.n("KMSClient", "GenerateDataKeyCommand")
|
|
21
|
+
.f(void 0, GenerateDataKeyResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GenerateDataKeyCommand)
|
|
23
|
+
.de(de_GenerateDataKeyCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GenerateDataKeyPairResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GenerateDataKeyPairCommand, se_GenerateDataKeyPairCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GenerateDataKeyPairCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "KMSClient";
|
|
27
|
-
const commandName = "GenerateDataKeyPairCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: GenerateDataKeyPairResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TrentService",
|
|
36
|
-
operation: "GenerateDataKeyPair",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GenerateDataKeyPairCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GenerateDataKeyPairCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GenerateDataKeyPairCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TrentService", "GenerateDataKeyPair", {})
|
|
20
|
+
.n("KMSClient", "GenerateDataKeyPairCommand")
|
|
21
|
+
.f(void 0, GenerateDataKeyPairResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GenerateDataKeyPairCommand)
|
|
23
|
+
.de(de_GenerateDataKeyPairCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GenerateDataKeyPairWithoutPlaintextCommand, se_GenerateDataKeyPairWithoutPlaintextCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "GenerateDataKeyPairWithoutPlaintextCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "GenerateDataKeyPairWithoutPlaintext",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GenerateDataKeyPairWithoutPlaintextCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GenerateDataKeyPairWithoutPlaintextCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "GenerateDataKeyPairWithoutPlaintext", {})
|
|
19
|
+
.n("KMSClient", "GenerateDataKeyPairWithoutPlaintextCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GenerateDataKeyPairWithoutPlaintextCommand)
|
|
22
|
+
.de(de_GenerateDataKeyPairWithoutPlaintextCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GenerateDataKeyWithoutPlaintextCommand, se_GenerateDataKeyWithoutPlaintextCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GenerateDataKeyWithoutPlaintextCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KMSClient";
|
|
26
|
-
const commandName = "GenerateDataKeyWithoutPlaintextCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrentService",
|
|
35
|
-
operation: "GenerateDataKeyWithoutPlaintext",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GenerateDataKeyWithoutPlaintextCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GenerateDataKeyWithoutPlaintextCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GenerateDataKeyWithoutPlaintextCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrentService", "GenerateDataKeyWithoutPlaintext", {})
|
|
19
|
+
.n("KMSClient", "GenerateDataKeyWithoutPlaintextCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GenerateDataKeyWithoutPlaintextCommand)
|
|
22
|
+
.de(de_GenerateDataKeyWithoutPlaintextCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|