@aws-sdk/client-kms 3.1077.0 → 3.1078.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 (170) hide show
  1. package/dist-cjs/index.js +168 -649
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelKeyDeletionCommand.js +2 -14
  4. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +2 -14
  5. package/dist-es/commands/CreateAliasCommand.js +2 -14
  6. package/dist-es/commands/CreateCustomKeyStoreCommand.js +2 -14
  7. package/dist-es/commands/CreateGrantCommand.js +2 -14
  8. package/dist-es/commands/CreateKeyCommand.js +2 -14
  9. package/dist-es/commands/DecryptCommand.js +2 -14
  10. package/dist-es/commands/DeleteAliasCommand.js +2 -14
  11. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +2 -14
  12. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +2 -14
  13. package/dist-es/commands/DeriveSharedSecretCommand.js +2 -14
  14. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +2 -14
  15. package/dist-es/commands/DescribeKeyCommand.js +2 -14
  16. package/dist-es/commands/DisableKeyCommand.js +2 -14
  17. package/dist-es/commands/DisableKeyRotationCommand.js +2 -14
  18. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +2 -14
  19. package/dist-es/commands/EnableKeyCommand.js +2 -14
  20. package/dist-es/commands/EnableKeyRotationCommand.js +2 -14
  21. package/dist-es/commands/EncryptCommand.js +2 -14
  22. package/dist-es/commands/GenerateDataKeyCommand.js +2 -14
  23. package/dist-es/commands/GenerateDataKeyPairCommand.js +2 -14
  24. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +2 -14
  25. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +2 -14
  26. package/dist-es/commands/GenerateMacCommand.js +2 -14
  27. package/dist-es/commands/GenerateRandomCommand.js +2 -14
  28. package/dist-es/commands/GetKeyLastUsageCommand.js +2 -14
  29. package/dist-es/commands/GetKeyPolicyCommand.js +2 -14
  30. package/dist-es/commands/GetKeyRotationStatusCommand.js +2 -14
  31. package/dist-es/commands/GetParametersForImportCommand.js +2 -14
  32. package/dist-es/commands/GetPublicKeyCommand.js +2 -14
  33. package/dist-es/commands/ImportKeyMaterialCommand.js +2 -14
  34. package/dist-es/commands/ListAliasesCommand.js +2 -14
  35. package/dist-es/commands/ListGrantsCommand.js +2 -14
  36. package/dist-es/commands/ListKeyPoliciesCommand.js +2 -14
  37. package/dist-es/commands/ListKeyRotationsCommand.js +2 -14
  38. package/dist-es/commands/ListKeysCommand.js +2 -14
  39. package/dist-es/commands/ListResourceTagsCommand.js +2 -14
  40. package/dist-es/commands/ListRetirableGrantsCommand.js +2 -14
  41. package/dist-es/commands/PutKeyPolicyCommand.js +2 -14
  42. package/dist-es/commands/ReEncryptCommand.js +2 -14
  43. package/dist-es/commands/ReplicateKeyCommand.js +2 -14
  44. package/dist-es/commands/RetireGrantCommand.js +2 -14
  45. package/dist-es/commands/RevokeGrantCommand.js +2 -14
  46. package/dist-es/commands/RotateKeyOnDemandCommand.js +2 -14
  47. package/dist-es/commands/ScheduleKeyDeletionCommand.js +2 -14
  48. package/dist-es/commands/SignCommand.js +2 -14
  49. package/dist-es/commands/TagResourceCommand.js +2 -14
  50. package/dist-es/commands/UntagResourceCommand.js +2 -14
  51. package/dist-es/commands/UpdateAliasCommand.js +2 -14
  52. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +2 -14
  53. package/dist-es/commands/UpdateKeyDescriptionCommand.js +2 -14
  54. package/dist-es/commands/UpdatePrimaryRegionCommand.js +2 -14
  55. package/dist-es/commands/VerifyCommand.js +2 -14
  56. package/dist-es/commands/VerifyMacCommand.js +2 -14
  57. package/dist-es/index.js +1 -0
  58. package/dist-types/commandBuilder.d.ts +18 -0
  59. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +3 -8
  60. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +3 -8
  61. package/dist-types/commands/CreateAliasCommand.d.ts +3 -8
  62. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +3 -8
  63. package/dist-types/commands/CreateGrantCommand.d.ts +3 -8
  64. package/dist-types/commands/CreateKeyCommand.d.ts +3 -8
  65. package/dist-types/commands/DecryptCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteAliasCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -8
  69. package/dist-types/commands/DeriveSharedSecretCommand.d.ts +3 -8
  70. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +3 -8
  71. package/dist-types/commands/DescribeKeyCommand.d.ts +3 -8
  72. package/dist-types/commands/DisableKeyCommand.d.ts +3 -8
  73. package/dist-types/commands/DisableKeyRotationCommand.d.ts +3 -8
  74. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -8
  75. package/dist-types/commands/EnableKeyCommand.d.ts +3 -8
  76. package/dist-types/commands/EnableKeyRotationCommand.d.ts +3 -8
  77. package/dist-types/commands/EncryptCommand.d.ts +3 -8
  78. package/dist-types/commands/GenerateDataKeyCommand.d.ts +3 -8
  79. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -8
  80. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -8
  81. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -8
  82. package/dist-types/commands/GenerateMacCommand.d.ts +3 -8
  83. package/dist-types/commands/GenerateRandomCommand.d.ts +3 -8
  84. package/dist-types/commands/GetKeyLastUsageCommand.d.ts +3 -8
  85. package/dist-types/commands/GetKeyPolicyCommand.d.ts +3 -8
  86. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +3 -8
  87. package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -8
  88. package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -8
  89. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +3 -8
  90. package/dist-types/commands/ListAliasesCommand.d.ts +3 -8
  91. package/dist-types/commands/ListGrantsCommand.d.ts +3 -8
  92. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +3 -8
  93. package/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -8
  94. package/dist-types/commands/ListKeysCommand.d.ts +3 -8
  95. package/dist-types/commands/ListResourceTagsCommand.d.ts +3 -8
  96. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +3 -8
  97. package/dist-types/commands/PutKeyPolicyCommand.d.ts +3 -8
  98. package/dist-types/commands/ReEncryptCommand.d.ts +3 -8
  99. package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -8
  100. package/dist-types/commands/RetireGrantCommand.d.ts +3 -8
  101. package/dist-types/commands/RevokeGrantCommand.d.ts +3 -8
  102. package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +3 -8
  103. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +3 -8
  104. package/dist-types/commands/SignCommand.d.ts +3 -8
  105. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  106. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  107. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -8
  108. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +3 -8
  109. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +3 -8
  110. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +3 -8
  111. package/dist-types/commands/VerifyCommand.d.ts +3 -8
  112. package/dist-types/commands/VerifyMacCommand.d.ts +3 -8
  113. package/dist-types/index.d.ts +1 -0
  114. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  115. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/SignCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/index.d.ts +1 -0
  170. package/package.json +8 -8
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "TrentService", "KMSClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelKeyDeletion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelKeyDeletionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "CancelKeyDeletion", {})
13
- .n("KMSClient", "CancelKeyDeletionCommand")
14
- .sc(CancelKeyDeletion$)
15
- .build() {
3
+ export class CancelKeyDeletionCommand extends command(_ep0, _mw0, "CancelKeyDeletion", CancelKeyDeletion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ConnectCustomKeyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ConnectCustomKeyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "ConnectCustomKeyStore", {})
13
- .n("KMSClient", "ConnectCustomKeyStoreCommand")
14
- .sc(ConnectCustomKeyStore$)
15
- .build() {
3
+ export class ConnectCustomKeyStoreCommand extends command(_ep0, _mw0, "ConnectCustomKeyStore", ConnectCustomKeyStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "CreateAlias", {})
13
- .n("KMSClient", "CreateAliasCommand")
14
- .sc(CreateAlias$)
15
- .build() {
3
+ export class CreateAliasCommand extends command(_ep0, _mw0, "CreateAlias", CreateAlias$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCustomKeyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCustomKeyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "CreateCustomKeyStore", {})
13
- .n("KMSClient", "CreateCustomKeyStoreCommand")
14
- .sc(CreateCustomKeyStore$)
15
- .build() {
3
+ export class CreateCustomKeyStoreCommand extends command(_ep0, _mw0, "CreateCustomKeyStore", CreateCustomKeyStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateGrant$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGrantCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "CreateGrant", {})
13
- .n("KMSClient", "CreateGrantCommand")
14
- .sc(CreateGrant$)
15
- .build() {
3
+ export class CreateGrantCommand extends command(_ep0, _mw0, "CreateGrant", CreateGrant$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "CreateKey", {})
13
- .n("KMSClient", "CreateKeyCommand")
14
- .sc(CreateKey$)
15
- .build() {
3
+ export class CreateKeyCommand extends command(_ep0, _mw0, "CreateKey", CreateKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { Decrypt$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DecryptCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "Decrypt", {})
13
- .n("KMSClient", "DecryptCommand")
14
- .sc(Decrypt$)
15
- .build() {
3
+ export class DecryptCommand extends command(_ep0, _mw0, "Decrypt", Decrypt$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DeleteAlias", {})
13
- .n("KMSClient", "DeleteAliasCommand")
14
- .sc(DeleteAlias$)
15
- .build() {
3
+ export class DeleteAliasCommand extends command(_ep0, _mw0, "DeleteAlias", DeleteAlias$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteCustomKeyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCustomKeyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DeleteCustomKeyStore", {})
13
- .n("KMSClient", "DeleteCustomKeyStoreCommand")
14
- .sc(DeleteCustomKeyStore$)
15
- .build() {
3
+ export class DeleteCustomKeyStoreCommand extends command(_ep0, _mw0, "DeleteCustomKeyStore", DeleteCustomKeyStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteImportedKeyMaterial$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteImportedKeyMaterialCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DeleteImportedKeyMaterial", {})
13
- .n("KMSClient", "DeleteImportedKeyMaterialCommand")
14
- .sc(DeleteImportedKeyMaterial$)
15
- .build() {
3
+ export class DeleteImportedKeyMaterialCommand extends command(_ep0, _mw0, "DeleteImportedKeyMaterial", DeleteImportedKeyMaterial$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeriveSharedSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeriveSharedSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DeriveSharedSecret", {})
13
- .n("KMSClient", "DeriveSharedSecretCommand")
14
- .sc(DeriveSharedSecret$)
15
- .build() {
3
+ export class DeriveSharedSecretCommand extends command(_ep0, _mw0, "DeriveSharedSecret", DeriveSharedSecret$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCustomKeyStores$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCustomKeyStoresCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DescribeCustomKeyStores", {})
13
- .n("KMSClient", "DescribeCustomKeyStoresCommand")
14
- .sc(DescribeCustomKeyStores$)
15
- .build() {
3
+ export class DescribeCustomKeyStoresCommand extends command(_ep0, _mw0, "DescribeCustomKeyStores", DescribeCustomKeyStores$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DescribeKey", {})
13
- .n("KMSClient", "DescribeKeyCommand")
14
- .sc(DescribeKey$)
15
- .build() {
3
+ export class DescribeKeyCommand extends command(_ep0, _mw0, "DescribeKey", DescribeKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DisableKey", {})
13
- .n("KMSClient", "DisableKeyCommand")
14
- .sc(DisableKey$)
15
- .build() {
3
+ export class DisableKeyCommand extends command(_ep0, _mw0, "DisableKey", DisableKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableKeyRotation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableKeyRotationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DisableKeyRotation", {})
13
- .n("KMSClient", "DisableKeyRotationCommand")
14
- .sc(DisableKeyRotation$)
15
- .build() {
3
+ export class DisableKeyRotationCommand extends command(_ep0, _mw0, "DisableKeyRotation", DisableKeyRotation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisconnectCustomKeyStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisconnectCustomKeyStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "DisconnectCustomKeyStore", {})
13
- .n("KMSClient", "DisconnectCustomKeyStoreCommand")
14
- .sc(DisconnectCustomKeyStore$)
15
- .build() {
3
+ export class DisconnectCustomKeyStoreCommand extends command(_ep0, _mw0, "DisconnectCustomKeyStore", DisconnectCustomKeyStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "EnableKey", {})
13
- .n("KMSClient", "EnableKeyCommand")
14
- .sc(EnableKey$)
15
- .build() {
3
+ export class EnableKeyCommand extends command(_ep0, _mw0, "EnableKey", EnableKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableKeyRotation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableKeyRotationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "EnableKeyRotation", {})
13
- .n("KMSClient", "EnableKeyRotationCommand")
14
- .sc(EnableKeyRotation$)
15
- .build() {
3
+ export class EnableKeyRotationCommand extends command(_ep0, _mw0, "EnableKeyRotation", EnableKeyRotation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { Encrypt$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EncryptCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "Encrypt", {})
13
- .n("KMSClient", "EncryptCommand")
14
- .sc(Encrypt$)
15
- .build() {
3
+ export class EncryptCommand extends command(_ep0, _mw0, "Encrypt", Encrypt$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateDataKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateDataKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateDataKey", {})
13
- .n("KMSClient", "GenerateDataKeyCommand")
14
- .sc(GenerateDataKey$)
15
- .build() {
3
+ export class GenerateDataKeyCommand extends command(_ep0, _mw0, "GenerateDataKey", GenerateDataKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateDataKeyPair$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateDataKeyPairCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateDataKeyPair", {})
13
- .n("KMSClient", "GenerateDataKeyPairCommand")
14
- .sc(GenerateDataKeyPair$)
15
- .build() {
3
+ export class GenerateDataKeyPairCommand extends command(_ep0, _mw0, "GenerateDataKeyPair", GenerateDataKeyPair$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateDataKeyPairWithoutPlaintext$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateDataKeyPairWithoutPlaintext", {})
13
- .n("KMSClient", "GenerateDataKeyPairWithoutPlaintextCommand")
14
- .sc(GenerateDataKeyPairWithoutPlaintext$)
15
- .build() {
3
+ export class GenerateDataKeyPairWithoutPlaintextCommand extends command(_ep0, _mw0, "GenerateDataKeyPairWithoutPlaintext", GenerateDataKeyPairWithoutPlaintext$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateDataKeyWithoutPlaintext$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateDataKeyWithoutPlaintextCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateDataKeyWithoutPlaintext", {})
13
- .n("KMSClient", "GenerateDataKeyWithoutPlaintextCommand")
14
- .sc(GenerateDataKeyWithoutPlaintext$)
15
- .build() {
3
+ export class GenerateDataKeyWithoutPlaintextCommand extends command(_ep0, _mw0, "GenerateDataKeyWithoutPlaintext", GenerateDataKeyWithoutPlaintext$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateMac$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateMacCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateMac", {})
13
- .n("KMSClient", "GenerateMacCommand")
14
- .sc(GenerateMac$)
15
- .build() {
3
+ export class GenerateMacCommand extends command(_ep0, _mw0, "GenerateMac", GenerateMac$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateRandom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateRandomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GenerateRandom", {})
13
- .n("KMSClient", "GenerateRandomCommand")
14
- .sc(GenerateRandom$)
15
- .build() {
3
+ export class GenerateRandomCommand extends command(_ep0, _mw0, "GenerateRandom", GenerateRandom$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetKeyLastUsage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetKeyLastUsageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GetKeyLastUsage", {})
13
- .n("KMSClient", "GetKeyLastUsageCommand")
14
- .sc(GetKeyLastUsage$)
15
- .build() {
3
+ export class GetKeyLastUsageCommand extends command(_ep0, _mw0, "GetKeyLastUsage", GetKeyLastUsage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetKeyPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetKeyPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GetKeyPolicy", {})
13
- .n("KMSClient", "GetKeyPolicyCommand")
14
- .sc(GetKeyPolicy$)
15
- .build() {
3
+ export class GetKeyPolicyCommand extends command(_ep0, _mw0, "GetKeyPolicy", GetKeyPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetKeyRotationStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetKeyRotationStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GetKeyRotationStatus", {})
13
- .n("KMSClient", "GetKeyRotationStatusCommand")
14
- .sc(GetKeyRotationStatus$)
15
- .build() {
3
+ export class GetKeyRotationStatusCommand extends command(_ep0, _mw0, "GetKeyRotationStatus", GetKeyRotationStatus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetParametersForImport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetParametersForImportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GetParametersForImport", {})
13
- .n("KMSClient", "GetParametersForImportCommand")
14
- .sc(GetParametersForImport$)
15
- .build() {
3
+ export class GetParametersForImportCommand extends command(_ep0, _mw0, "GetParametersForImport", GetParametersForImport$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPublicKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPublicKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "GetPublicKey", {})
13
- .n("KMSClient", "GetPublicKeyCommand")
14
- .sc(GetPublicKey$)
15
- .build() {
3
+ export class GetPublicKeyCommand extends command(_ep0, _mw0, "GetPublicKey", GetPublicKey$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ImportKeyMaterial$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ImportKeyMaterialCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrentService", "ImportKeyMaterial", {})
13
- .n("KMSClient", "ImportKeyMaterialCommand")
14
- .sc(ImportKeyMaterial$)
15
- .build() {
3
+ export class ImportKeyMaterialCommand extends command(_ep0, _mw0, "ImportKeyMaterial", ImportKeyMaterial$) {
16
4
  }