@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.
Files changed (77) hide show
  1. package/dist-cjs/index.js +1971 -2615
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KMSClient.js +2 -0
  4. package/dist-es/commands/CancelKeyDeletionCommand.js +3 -9
  5. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -9
  6. package/dist-es/commands/CreateAliasCommand.js +3 -9
  7. package/dist-es/commands/CreateCustomKeyStoreCommand.js +3 -10
  8. package/dist-es/commands/CreateGrantCommand.js +3 -9
  9. package/dist-es/commands/CreateKeyCommand.js +3 -9
  10. package/dist-es/commands/DecryptCommand.js +3 -10
  11. package/dist-es/commands/DeleteAliasCommand.js +3 -9
  12. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -9
  13. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +3 -9
  14. package/dist-es/commands/DeriveSharedSecretCommand.js +3 -10
  15. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -10
  16. package/dist-es/commands/DescribeKeyCommand.js +3 -9
  17. package/dist-es/commands/DisableKeyCommand.js +3 -9
  18. package/dist-es/commands/DisableKeyRotationCommand.js +3 -9
  19. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -9
  20. package/dist-es/commands/EnableKeyCommand.js +3 -9
  21. package/dist-es/commands/EnableKeyRotationCommand.js +3 -9
  22. package/dist-es/commands/EncryptCommand.js +3 -10
  23. package/dist-es/commands/GenerateDataKeyCommand.js +3 -10
  24. package/dist-es/commands/GenerateDataKeyPairCommand.js +3 -10
  25. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -9
  26. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -9
  27. package/dist-es/commands/GenerateMacCommand.js +3 -10
  28. package/dist-es/commands/GenerateRandomCommand.js +3 -10
  29. package/dist-es/commands/GetKeyPolicyCommand.js +3 -9
  30. package/dist-es/commands/GetKeyRotationStatusCommand.js +3 -9
  31. package/dist-es/commands/GetParametersForImportCommand.js +3 -10
  32. package/dist-es/commands/GetPublicKeyCommand.js +3 -9
  33. package/dist-es/commands/ImportKeyMaterialCommand.js +3 -9
  34. package/dist-es/commands/ListAliasesCommand.js +3 -9
  35. package/dist-es/commands/ListGrantsCommand.js +3 -9
  36. package/dist-es/commands/ListKeyPoliciesCommand.js +3 -9
  37. package/dist-es/commands/ListKeyRotationsCommand.js +3 -9
  38. package/dist-es/commands/ListKeysCommand.js +3 -9
  39. package/dist-es/commands/ListResourceTagsCommand.js +3 -9
  40. package/dist-es/commands/ListRetirableGrantsCommand.js +3 -9
  41. package/dist-es/commands/PutKeyPolicyCommand.js +3 -9
  42. package/dist-es/commands/ReEncryptCommand.js +3 -9
  43. package/dist-es/commands/ReplicateKeyCommand.js +3 -9
  44. package/dist-es/commands/RetireGrantCommand.js +3 -9
  45. package/dist-es/commands/RevokeGrantCommand.js +3 -9
  46. package/dist-es/commands/RotateKeyOnDemandCommand.js +3 -9
  47. package/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -9
  48. package/dist-es/commands/SignCommand.js +3 -10
  49. package/dist-es/commands/TagResourceCommand.js +3 -9
  50. package/dist-es/commands/UntagResourceCommand.js +3 -9
  51. package/dist-es/commands/UpdateAliasCommand.js +3 -9
  52. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -10
  53. package/dist-es/commands/UpdateKeyDescriptionCommand.js +3 -9
  54. package/dist-es/commands/UpdatePrimaryRegionCommand.js +3 -9
  55. package/dist-es/commands/VerifyCommand.js +3 -10
  56. package/dist-es/commands/VerifyMacCommand.js +3 -10
  57. package/dist-es/models/models_0.js +0 -80
  58. package/dist-es/runtimeConfig.shared.js +7 -0
  59. package/dist-es/schemas/schemas_0.js +1728 -0
  60. package/dist-types/KMSClient.d.ts +10 -1
  61. package/dist-types/models/models_0.d.ts +0 -68
  62. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  63. package/dist-types/runtimeConfig.d.ts +1 -0
  64. package/dist-types/runtimeConfig.native.d.ts +1 -0
  65. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  66. package/dist-types/schemas/schemas_0.d.ts +229 -0
  67. package/dist-types/ts3.4/KMSClient.d.ts +4 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +0 -49
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  72. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  73. package/dist-types/ts3.4/schemas/schemas_0.d.ts +235 -0
  74. package/package.json +5 -5
  75. package/dist-es/protocols/Aws_json1_1.js +0 -2008
  76. package/dist-types/protocols/Aws_json1_1.d.ts +0 -479
  77. 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 { de_GenerateDataKeyWithoutPlaintextCommand, se_GenerateDataKeyWithoutPlaintextCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { GenerateMacRequestFilterSensitiveLog } from "../models/models_0";
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
- .f(GenerateMacRequestFilterSensitiveLog, void 0)
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 { GenerateRandomResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, GenerateRandomResponseFilterSensitiveLog)
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 { de_GetKeyPolicyCommand, se_GetKeyPolicyCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_GetKeyRotationStatusCommand, se_GetKeyRotationStatusCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { GetParametersForImportResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, GetParametersForImportResponseFilterSensitiveLog)
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 { de_GetPublicKeyCommand, se_GetPublicKeyCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ImportKeyMaterialCommand, se_ImportKeyMaterialCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListAliasesCommand, se_ListAliasesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListGrantsCommand, se_ListGrantsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListKeyPoliciesCommand, se_ListKeyPoliciesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListKeyRotationsCommand, se_ListKeyRotationsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListKeysCommand, se_ListKeysCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListResourceTagsCommand, se_ListResourceTagsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ListRetirableGrantsCommand, se_ListRetirableGrantsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_PutKeyPolicyCommand, se_PutKeyPolicyCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ReEncryptCommand, se_ReEncryptCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ReplicateKeyCommand, se_ReplicateKeyCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_RetireGrantCommand, se_RetireGrantCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_RevokeGrantCommand, se_RevokeGrantCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_RotateKeyOnDemandCommand, se_RotateKeyOnDemandCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ScheduleKeyDeletionCommand, se_ScheduleKeyDeletionCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { SignRequestFilterSensitiveLog } from "../models/models_0";
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
- .f(SignRequestFilterSensitiveLog, void 0)
20
- .ser(se_SignCommand)
21
- .de(de_SignCommand)
14
+ .sc(Sign)
22
15
  .build() {
23
16
  }