@aws-sdk/client-kms 3.927.0 → 3.928.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/index.js +1971 -2615
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/KMSClient.js +2 -0
- package/dist-es/commands/CancelKeyDeletionCommand.js +3 -9
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -9
- package/dist-es/commands/CreateAliasCommand.js +3 -9
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +3 -10
- package/dist-es/commands/CreateGrantCommand.js +3 -9
- package/dist-es/commands/CreateKeyCommand.js +3 -9
- package/dist-es/commands/DecryptCommand.js +3 -10
- package/dist-es/commands/DeleteAliasCommand.js +3 -9
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -9
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +3 -9
- package/dist-es/commands/DeriveSharedSecretCommand.js +3 -10
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -10
- package/dist-es/commands/DescribeKeyCommand.js +3 -9
- package/dist-es/commands/DisableKeyCommand.js +3 -9
- package/dist-es/commands/DisableKeyRotationCommand.js +3 -9
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -9
- package/dist-es/commands/EnableKeyCommand.js +3 -9
- package/dist-es/commands/EnableKeyRotationCommand.js +3 -9
- package/dist-es/commands/EncryptCommand.js +3 -10
- package/dist-es/commands/GenerateDataKeyCommand.js +3 -10
- package/dist-es/commands/GenerateDataKeyPairCommand.js +3 -10
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -9
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -9
- package/dist-es/commands/GenerateMacCommand.js +3 -10
- package/dist-es/commands/GenerateRandomCommand.js +3 -10
- package/dist-es/commands/GetKeyPolicyCommand.js +3 -9
- package/dist-es/commands/GetKeyRotationStatusCommand.js +3 -9
- package/dist-es/commands/GetParametersForImportCommand.js +3 -10
- package/dist-es/commands/GetPublicKeyCommand.js +3 -9
- package/dist-es/commands/ImportKeyMaterialCommand.js +3 -9
- package/dist-es/commands/ListAliasesCommand.js +3 -9
- package/dist-es/commands/ListGrantsCommand.js +3 -9
- package/dist-es/commands/ListKeyPoliciesCommand.js +3 -9
- package/dist-es/commands/ListKeyRotationsCommand.js +3 -9
- package/dist-es/commands/ListKeysCommand.js +3 -9
- package/dist-es/commands/ListResourceTagsCommand.js +3 -9
- package/dist-es/commands/ListRetirableGrantsCommand.js +3 -9
- package/dist-es/commands/PutKeyPolicyCommand.js +3 -9
- package/dist-es/commands/ReEncryptCommand.js +3 -9
- package/dist-es/commands/ReplicateKeyCommand.js +3 -9
- package/dist-es/commands/RetireGrantCommand.js +3 -9
- package/dist-es/commands/RevokeGrantCommand.js +3 -9
- package/dist-es/commands/RotateKeyOnDemandCommand.js +3 -9
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -9
- package/dist-es/commands/SignCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAliasCommand.js +3 -9
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -10
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +3 -9
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +3 -9
- package/dist-es/commands/VerifyCommand.js +3 -10
- package/dist-es/commands/VerifyMacCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -80
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1728 -0
- package/dist-types/KMSClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +229 -0
- package/dist-types/ts3.4/KMSClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -49
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +235 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2008
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -479
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -638
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GenerateDataKeyWithoutPlaintext } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GenerateDataKeyWithoutPlaintextCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "GenerateDataKeyWithoutPlaintext", {})
|
|
17
13
|
.n("KMSClient", "GenerateDataKeyWithoutPlaintextCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GenerateDataKeyWithoutPlaintextCommand)
|
|
20
|
-
.de(de_GenerateDataKeyWithoutPlaintextCommand)
|
|
14
|
+
.sc(GenerateDataKeyWithoutPlaintext)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GenerateMacCommand, se_GenerateMacCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { GenerateMac } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GenerateMacCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrentService", "GenerateMac", {})
|
|
18
13
|
.n("KMSClient", "GenerateMacCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GenerateMacCommand)
|
|
21
|
-
.de(de_GenerateMacCommand)
|
|
14
|
+
.sc(GenerateMac)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GenerateRandomCommand, se_GenerateRandomCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { GenerateRandom } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GenerateRandomCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrentService", "GenerateRandom", {})
|
|
18
13
|
.n("KMSClient", "GenerateRandomCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GenerateRandomCommand)
|
|
21
|
-
.de(de_GenerateRandomCommand)
|
|
14
|
+
.sc(GenerateRandom)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetKeyPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetKeyPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "GetKeyPolicy", {})
|
|
17
13
|
.n("KMSClient", "GetKeyPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetKeyPolicyCommand)
|
|
20
|
-
.de(de_GetKeyPolicyCommand)
|
|
14
|
+
.sc(GetKeyPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetKeyRotationStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetKeyRotationStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "GetKeyRotationStatus", {})
|
|
17
13
|
.n("KMSClient", "GetKeyRotationStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetKeyRotationStatusCommand)
|
|
20
|
-
.de(de_GetKeyRotationStatusCommand)
|
|
14
|
+
.sc(GetKeyRotationStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetParametersForImportCommand, se_GetParametersForImportCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { GetParametersForImport } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetParametersForImportCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrentService", "GetParametersForImport", {})
|
|
18
13
|
.n("KMSClient", "GetParametersForImportCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetParametersForImportCommand)
|
|
21
|
-
.de(de_GetParametersForImportCommand)
|
|
14
|
+
.sc(GetParametersForImport)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPublicKey } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPublicKeyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "GetPublicKey", {})
|
|
17
13
|
.n("KMSClient", "GetPublicKeyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPublicKeyCommand)
|
|
20
|
-
.de(de_GetPublicKeyCommand)
|
|
14
|
+
.sc(GetPublicKey)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ImportKeyMaterial } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ImportKeyMaterialCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ImportKeyMaterial", {})
|
|
17
13
|
.n("KMSClient", "ImportKeyMaterialCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ImportKeyMaterialCommand)
|
|
20
|
-
.de(de_ImportKeyMaterialCommand)
|
|
14
|
+
.sc(ImportKeyMaterial)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListAliases } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListAliasesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListAliases", {})
|
|
17
13
|
.n("KMSClient", "ListAliasesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListAliasesCommand)
|
|
20
|
-
.de(de_ListAliasesCommand)
|
|
14
|
+
.sc(ListAliases)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListGrants } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListGrantsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListGrants", {})
|
|
17
13
|
.n("KMSClient", "ListGrantsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListGrantsCommand)
|
|
20
|
-
.de(de_ListGrantsCommand)
|
|
14
|
+
.sc(ListGrants)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListKeyPolicies } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListKeyPoliciesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListKeyPolicies", {})
|
|
17
13
|
.n("KMSClient", "ListKeyPoliciesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListKeyPoliciesCommand)
|
|
20
|
-
.de(de_ListKeyPoliciesCommand)
|
|
14
|
+
.sc(ListKeyPolicies)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListKeyRotations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListKeyRotationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListKeyRotations", {})
|
|
17
13
|
.n("KMSClient", "ListKeyRotationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListKeyRotationsCommand)
|
|
20
|
-
.de(de_ListKeyRotationsCommand)
|
|
14
|
+
.sc(ListKeyRotations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListKeys } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListKeysCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListKeys", {})
|
|
17
13
|
.n("KMSClient", "ListKeysCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListKeysCommand)
|
|
20
|
-
.de(de_ListKeysCommand)
|
|
14
|
+
.sc(ListKeys)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListResourceTags } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListResourceTagsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListResourceTags", {})
|
|
17
13
|
.n("KMSClient", "ListResourceTagsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListResourceTagsCommand)
|
|
20
|
-
.de(de_ListResourceTagsCommand)
|
|
14
|
+
.sc(ListResourceTags)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListRetirableGrants } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListRetirableGrantsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ListRetirableGrants", {})
|
|
17
13
|
.n("KMSClient", "ListRetirableGrantsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListRetirableGrantsCommand)
|
|
20
|
-
.de(de_ListRetirableGrantsCommand)
|
|
14
|
+
.sc(ListRetirableGrants)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutKeyPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutKeyPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "PutKeyPolicy", {})
|
|
17
13
|
.n("KMSClient", "PutKeyPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutKeyPolicyCommand)
|
|
20
|
-
.de(de_PutKeyPolicyCommand)
|
|
14
|
+
.sc(PutKeyPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ReEncrypt } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ReEncryptCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ReEncrypt", {})
|
|
17
13
|
.n("KMSClient", "ReEncryptCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ReEncryptCommand)
|
|
20
|
-
.de(de_ReEncryptCommand)
|
|
14
|
+
.sc(ReEncrypt)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ReplicateKey } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ReplicateKeyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ReplicateKey", {})
|
|
17
13
|
.n("KMSClient", "ReplicateKeyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ReplicateKeyCommand)
|
|
20
|
-
.de(de_ReplicateKeyCommand)
|
|
14
|
+
.sc(ReplicateKey)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RetireGrant } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RetireGrantCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "RetireGrant", {})
|
|
17
13
|
.n("KMSClient", "RetireGrantCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RetireGrantCommand)
|
|
20
|
-
.de(de_RetireGrantCommand)
|
|
14
|
+
.sc(RetireGrant)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RevokeGrant } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RevokeGrantCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "RevokeGrant", {})
|
|
17
13
|
.n("KMSClient", "RevokeGrantCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RevokeGrantCommand)
|
|
20
|
-
.de(de_RevokeGrantCommand)
|
|
14
|
+
.sc(RevokeGrant)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RotateKeyOnDemand } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RotateKeyOnDemandCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "RotateKeyOnDemand", {})
|
|
17
13
|
.n("KMSClient", "RotateKeyOnDemandCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RotateKeyOnDemandCommand)
|
|
20
|
-
.de(de_RotateKeyOnDemandCommand)
|
|
14
|
+
.sc(RotateKeyOnDemand)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ScheduleKeyDeletion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ScheduleKeyDeletionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrentService", "ScheduleKeyDeletion", {})
|
|
17
13
|
.n("KMSClient", "ScheduleKeyDeletionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ScheduleKeyDeletionCommand)
|
|
20
|
-
.de(de_ScheduleKeyDeletionCommand)
|
|
14
|
+
.sc(ScheduleKeyDeletion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_SignCommand, se_SignCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { Sign } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SignCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrentService", "Sign", {})
|
|
18
13
|
.n("KMSClient", "SignCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SignCommand)
|
|
21
|
-
.de(de_SignCommand)
|
|
14
|
+
.sc(Sign)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|