@aws-sdk/client-kms 3.1045.0 → 3.1046.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 (197) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +124 -125
  5. package/dist-cjs/models/KMSServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/KMS.js +1 -1
  10. package/dist-es/KMSClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CancelKeyDeletionCommand.js +2 -2
  13. package/dist-es/commands/ConnectCustomKeyStoreCommand.js +2 -2
  14. package/dist-es/commands/CreateAliasCommand.js +2 -2
  15. package/dist-es/commands/CreateCustomKeyStoreCommand.js +2 -2
  16. package/dist-es/commands/CreateGrantCommand.js +2 -2
  17. package/dist-es/commands/CreateKeyCommand.js +2 -2
  18. package/dist-es/commands/DecryptCommand.js +2 -2
  19. package/dist-es/commands/DeleteAliasCommand.js +2 -2
  20. package/dist-es/commands/DeleteCustomKeyStoreCommand.js +2 -2
  21. package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +2 -2
  22. package/dist-es/commands/DeriveSharedSecretCommand.js +2 -2
  23. package/dist-es/commands/DescribeCustomKeyStoresCommand.js +2 -2
  24. package/dist-es/commands/DescribeKeyCommand.js +2 -2
  25. package/dist-es/commands/DisableKeyCommand.js +2 -2
  26. package/dist-es/commands/DisableKeyRotationCommand.js +2 -2
  27. package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +2 -2
  28. package/dist-es/commands/EnableKeyCommand.js +2 -2
  29. package/dist-es/commands/EnableKeyRotationCommand.js +2 -2
  30. package/dist-es/commands/EncryptCommand.js +2 -2
  31. package/dist-es/commands/GenerateDataKeyCommand.js +2 -2
  32. package/dist-es/commands/GenerateDataKeyPairCommand.js +2 -2
  33. package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +2 -2
  34. package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +2 -2
  35. package/dist-es/commands/GenerateMacCommand.js +2 -2
  36. package/dist-es/commands/GenerateRandomCommand.js +2 -2
  37. package/dist-es/commands/GetKeyLastUsageCommand.js +2 -2
  38. package/dist-es/commands/GetKeyPolicyCommand.js +2 -2
  39. package/dist-es/commands/GetKeyRotationStatusCommand.js +2 -2
  40. package/dist-es/commands/GetParametersForImportCommand.js +2 -2
  41. package/dist-es/commands/GetPublicKeyCommand.js +2 -2
  42. package/dist-es/commands/ImportKeyMaterialCommand.js +2 -2
  43. package/dist-es/commands/ListAliasesCommand.js +2 -2
  44. package/dist-es/commands/ListGrantsCommand.js +2 -2
  45. package/dist-es/commands/ListKeyPoliciesCommand.js +2 -2
  46. package/dist-es/commands/ListKeyRotationsCommand.js +2 -2
  47. package/dist-es/commands/ListKeysCommand.js +2 -2
  48. package/dist-es/commands/ListResourceTagsCommand.js +2 -2
  49. package/dist-es/commands/ListRetirableGrantsCommand.js +2 -2
  50. package/dist-es/commands/PutKeyPolicyCommand.js +2 -2
  51. package/dist-es/commands/ReEncryptCommand.js +2 -2
  52. package/dist-es/commands/ReplicateKeyCommand.js +2 -2
  53. package/dist-es/commands/RetireGrantCommand.js +2 -2
  54. package/dist-es/commands/RevokeGrantCommand.js +2 -2
  55. package/dist-es/commands/RotateKeyOnDemandCommand.js +2 -2
  56. package/dist-es/commands/ScheduleKeyDeletionCommand.js +2 -2
  57. package/dist-es/commands/SignCommand.js +2 -2
  58. package/dist-es/commands/TagResourceCommand.js +2 -2
  59. package/dist-es/commands/UntagResourceCommand.js +2 -2
  60. package/dist-es/commands/UpdateAliasCommand.js +2 -2
  61. package/dist-es/commands/UpdateCustomKeyStoreCommand.js +2 -2
  62. package/dist-es/commands/UpdateKeyDescriptionCommand.js +2 -2
  63. package/dist-es/commands/UpdatePrimaryRegionCommand.js +2 -2
  64. package/dist-es/commands/VerifyCommand.js +2 -2
  65. package/dist-es/commands/VerifyMacCommand.js +2 -2
  66. package/dist-es/endpoint/bdd.js +1 -1
  67. package/dist-es/endpoint/endpointResolver.js +1 -1
  68. package/dist-es/models/KMSServiceException.js +1 -1
  69. package/dist-es/runtimeConfig.browser.js +4 -6
  70. package/dist-es/runtimeConfig.js +4 -8
  71. package/dist-es/runtimeConfig.shared.js +3 -4
  72. package/dist-es/runtimeExtensions.js +2 -2
  73. package/dist-types/KMSClient.d.ts +5 -5
  74. package/dist-types/commands/CancelKeyDeletionCommand.d.ts +6 -4
  75. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +6 -4
  76. package/dist-types/commands/CreateAliasCommand.d.ts +6 -4
  77. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -4
  78. package/dist-types/commands/CreateGrantCommand.d.ts +6 -4
  79. package/dist-types/commands/CreateKeyCommand.d.ts +6 -4
  80. package/dist-types/commands/DecryptCommand.d.ts +6 -4
  81. package/dist-types/commands/DeleteAliasCommand.d.ts +6 -4
  82. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +6 -4
  83. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
  84. package/dist-types/commands/DeriveSharedSecretCommand.d.ts +6 -4
  85. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -4
  86. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -4
  87. package/dist-types/commands/DisableKeyCommand.d.ts +6 -4
  88. package/dist-types/commands/DisableKeyRotationCommand.d.ts +6 -4
  89. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -4
  90. package/dist-types/commands/EnableKeyCommand.d.ts +6 -4
  91. package/dist-types/commands/EnableKeyRotationCommand.d.ts +6 -4
  92. package/dist-types/commands/EncryptCommand.d.ts +6 -4
  93. package/dist-types/commands/GenerateDataKeyCommand.d.ts +6 -4
  94. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +6 -4
  95. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -4
  96. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -4
  97. package/dist-types/commands/GenerateMacCommand.d.ts +6 -4
  98. package/dist-types/commands/GenerateRandomCommand.d.ts +6 -4
  99. package/dist-types/commands/GetKeyLastUsageCommand.d.ts +6 -4
  100. package/dist-types/commands/GetKeyPolicyCommand.d.ts +6 -4
  101. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  102. package/dist-types/commands/GetParametersForImportCommand.d.ts +6 -4
  103. package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -4
  104. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +6 -4
  105. package/dist-types/commands/ListAliasesCommand.d.ts +6 -4
  106. package/dist-types/commands/ListGrantsCommand.d.ts +6 -4
  107. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +6 -4
  108. package/dist-types/commands/ListKeyRotationsCommand.d.ts +6 -4
  109. package/dist-types/commands/ListKeysCommand.d.ts +6 -4
  110. package/dist-types/commands/ListResourceTagsCommand.d.ts +6 -4
  111. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +6 -4
  112. package/dist-types/commands/PutKeyPolicyCommand.d.ts +6 -4
  113. package/dist-types/commands/ReEncryptCommand.d.ts +6 -4
  114. package/dist-types/commands/ReplicateKeyCommand.d.ts +6 -4
  115. package/dist-types/commands/RetireGrantCommand.d.ts +6 -4
  116. package/dist-types/commands/RevokeGrantCommand.d.ts +6 -4
  117. package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +6 -4
  118. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +6 -4
  119. package/dist-types/commands/SignCommand.d.ts +6 -4
  120. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  121. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  122. package/dist-types/commands/UpdateAliasCommand.d.ts +6 -4
  123. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -4
  124. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
  125. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
  126. package/dist-types/commands/VerifyCommand.d.ts +6 -4
  127. package/dist-types/commands/VerifyMacCommand.d.ts +6 -4
  128. package/dist-types/endpoint/bdd.d.ts +1 -1
  129. package/dist-types/extensionConfiguration.d.ts +1 -1
  130. package/dist-types/models/KMSServiceException.d.ts +1 -1
  131. package/dist-types/models/errors.d.ts +1 -1
  132. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  133. package/dist-types/runtimeConfig.d.ts +2 -2
  134. package/dist-types/runtimeConfig.native.d.ts +2 -2
  135. package/dist-types/ts3.4/KMSClient.d.ts +8 -14
  136. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +6 -6
  142. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +6 -8
  153. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +6 -6
  172. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +6 -8
  176. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/SignCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +6 -8
  190. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  191. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  192. package/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
  193. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  194. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  195. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  196. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  197. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface ScheduleKeyDeletionCommandOutput
19
19
  declare const ScheduleKeyDeletionCommand_base: {
20
20
  new (
21
21
  input: ScheduleKeyDeletionCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ScheduleKeyDeletionCommandInput,
24
24
  ScheduleKeyDeletionCommandOutput,
25
25
  KMSClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ScheduleKeyDeletionCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ScheduleKeyDeletionCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ScheduleKeyDeletionCommandInput,
33
33
  ScheduleKeyDeletionCommandOutput,
34
34
  KMSClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class ScheduleKeyDeletionCommand extends ScheduleKeyDeletionCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -11,21 +11,23 @@ export { $Command };
11
11
  export interface SignCommandInput extends SignRequest {}
12
12
  export interface SignCommandOutput extends SignResponse, __MetadataBearer {}
13
13
  declare const SignCommand_base: {
14
- new (input: SignCommandInput): import("@smithy/smithy-client").CommandImpl<
14
+ new (input: SignCommandInput): import("@smithy/core/client").CommandImpl<
15
15
  SignCommandInput,
16
16
  SignCommandOutput,
17
17
  KMSClientResolvedConfig,
18
18
  ServiceInputTypes,
19
19
  ServiceOutputTypes
20
20
  >;
21
- new (input: SignCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ new (input: SignCommandInput): import("@smithy/core/client").CommandImpl<
22
22
  SignCommandInput,
23
23
  SignCommandOutput,
24
24
  KMSClientResolvedConfig,
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ getEndpointParameterInstructions(): {
29
+ [x: string]: unknown;
30
+ };
29
31
  };
30
32
  export declare class SignCommand extends SignCommand_base {
31
33
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -13,7 +13,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {}
13
13
  declare const TagResourceCommand_base: {
14
14
  new (
15
15
  input: TagResourceCommandInput
16
- ): import("@smithy/smithy-client").CommandImpl<
16
+ ): import("@smithy/core/client").CommandImpl<
17
17
  TagResourceCommandInput,
18
18
  TagResourceCommandOutput,
19
19
  KMSClientResolvedConfig,
@@ -22,14 +22,16 @@ declare const TagResourceCommand_base: {
22
22
  >;
23
23
  new (
24
24
  input: TagResourceCommandInput
25
- ): import("@smithy/smithy-client").CommandImpl<
25
+ ): import("@smithy/core/client").CommandImpl<
26
26
  TagResourceCommandInput,
27
27
  TagResourceCommandOutput,
28
28
  KMSClientResolvedConfig,
29
29
  ServiceInputTypes,
30
30
  ServiceOutputTypes
31
31
  >;
32
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ getEndpointParameterInstructions(): {
33
+ [x: string]: unknown;
34
+ };
33
35
  };
34
36
  export declare class TagResourceCommand extends TagResourceCommand_base {
35
37
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -13,7 +13,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {}
13
13
  declare const UntagResourceCommand_base: {
14
14
  new (
15
15
  input: UntagResourceCommandInput
16
- ): import("@smithy/smithy-client").CommandImpl<
16
+ ): import("@smithy/core/client").CommandImpl<
17
17
  UntagResourceCommandInput,
18
18
  UntagResourceCommandOutput,
19
19
  KMSClientResolvedConfig,
@@ -22,14 +22,16 @@ declare const UntagResourceCommand_base: {
22
22
  >;
23
23
  new (
24
24
  input: UntagResourceCommandInput
25
- ): import("@smithy/smithy-client").CommandImpl<
25
+ ): import("@smithy/core/client").CommandImpl<
26
26
  UntagResourceCommandInput,
27
27
  UntagResourceCommandOutput,
28
28
  KMSClientResolvedConfig,
29
29
  ServiceInputTypes,
30
30
  ServiceOutputTypes
31
31
  >;
32
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ getEndpointParameterInstructions(): {
33
+ [x: string]: unknown;
34
+ };
33
35
  };
34
36
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
35
37
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -13,7 +13,7 @@ export interface UpdateAliasCommandOutput extends __MetadataBearer {}
13
13
  declare const UpdateAliasCommand_base: {
14
14
  new (
15
15
  input: UpdateAliasCommandInput
16
- ): import("@smithy/smithy-client").CommandImpl<
16
+ ): import("@smithy/core/client").CommandImpl<
17
17
  UpdateAliasCommandInput,
18
18
  UpdateAliasCommandOutput,
19
19
  KMSClientResolvedConfig,
@@ -22,14 +22,16 @@ declare const UpdateAliasCommand_base: {
22
22
  >;
23
23
  new (
24
24
  input: UpdateAliasCommandInput
25
- ): import("@smithy/smithy-client").CommandImpl<
25
+ ): import("@smithy/core/client").CommandImpl<
26
26
  UpdateAliasCommandInput,
27
27
  UpdateAliasCommandOutput,
28
28
  KMSClientResolvedConfig,
29
29
  ServiceInputTypes,
30
30
  ServiceOutputTypes
31
31
  >;
32
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ getEndpointParameterInstructions(): {
33
+ [x: string]: unknown;
34
+ };
33
35
  };
34
36
  export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
35
37
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateCustomKeyStoreCommandOutput
19
19
  declare const UpdateCustomKeyStoreCommand_base: {
20
20
  new (
21
21
  input: UpdateCustomKeyStoreCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateCustomKeyStoreCommandInput,
24
24
  UpdateCustomKeyStoreCommandOutput,
25
25
  KMSClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateCustomKeyStoreCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateCustomKeyStoreCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateCustomKeyStoreCommandInput,
33
33
  UpdateCustomKeyStoreCommandOutput,
34
34
  KMSClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateCustomKeyStoreCommand extends UpdateCustomKeyStoreCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -14,7 +14,7 @@ export interface UpdateKeyDescriptionCommandOutput extends __MetadataBearer {}
14
14
  declare const UpdateKeyDescriptionCommand_base: {
15
15
  new (
16
16
  input: UpdateKeyDescriptionCommandInput
17
- ): import("@smithy/smithy-client").CommandImpl<
17
+ ): import("@smithy/core/client").CommandImpl<
18
18
  UpdateKeyDescriptionCommandInput,
19
19
  UpdateKeyDescriptionCommandOutput,
20
20
  KMSClientResolvedConfig,
@@ -23,14 +23,16 @@ declare const UpdateKeyDescriptionCommand_base: {
23
23
  >;
24
24
  new (
25
25
  input: UpdateKeyDescriptionCommandInput
26
- ): import("@smithy/smithy-client").CommandImpl<
26
+ ): import("@smithy/core/client").CommandImpl<
27
27
  UpdateKeyDescriptionCommandInput,
28
28
  UpdateKeyDescriptionCommandOutput,
29
29
  KMSClientResolvedConfig,
30
30
  ServiceInputTypes,
31
31
  ServiceOutputTypes
32
32
  >;
33
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ getEndpointParameterInstructions(): {
34
+ [x: string]: unknown;
35
+ };
34
36
  };
35
37
  export declare class UpdateKeyDescriptionCommand extends UpdateKeyDescriptionCommand_base {
36
38
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -14,7 +14,7 @@ export interface UpdatePrimaryRegionCommandOutput extends __MetadataBearer {}
14
14
  declare const UpdatePrimaryRegionCommand_base: {
15
15
  new (
16
16
  input: UpdatePrimaryRegionCommandInput
17
- ): import("@smithy/smithy-client").CommandImpl<
17
+ ): import("@smithy/core/client").CommandImpl<
18
18
  UpdatePrimaryRegionCommandInput,
19
19
  UpdatePrimaryRegionCommandOutput,
20
20
  KMSClientResolvedConfig,
@@ -23,14 +23,16 @@ declare const UpdatePrimaryRegionCommand_base: {
23
23
  >;
24
24
  new (
25
25
  input: UpdatePrimaryRegionCommandInput
26
- ): import("@smithy/smithy-client").CommandImpl<
26
+ ): import("@smithy/core/client").CommandImpl<
27
27
  UpdatePrimaryRegionCommandInput,
28
28
  UpdatePrimaryRegionCommandOutput,
29
29
  KMSClientResolvedConfig,
30
30
  ServiceInputTypes,
31
31
  ServiceOutputTypes
32
32
  >;
33
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ getEndpointParameterInstructions(): {
34
+ [x: string]: unknown;
35
+ };
34
36
  };
35
37
  export declare class UpdatePrimaryRegionCommand extends UpdatePrimaryRegionCommand_base {
36
38
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -11,21 +11,23 @@ export { $Command };
11
11
  export interface VerifyCommandInput extends VerifyRequest {}
12
12
  export interface VerifyCommandOutput extends VerifyResponse, __MetadataBearer {}
13
13
  declare const VerifyCommand_base: {
14
- new (input: VerifyCommandInput): import("@smithy/smithy-client").CommandImpl<
14
+ new (input: VerifyCommandInput): import("@smithy/core/client").CommandImpl<
15
15
  VerifyCommandInput,
16
16
  VerifyCommandOutput,
17
17
  KMSClientResolvedConfig,
18
18
  ServiceInputTypes,
19
19
  ServiceOutputTypes
20
20
  >;
21
- new (input: VerifyCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ new (input: VerifyCommandInput): import("@smithy/core/client").CommandImpl<
22
22
  VerifyCommandInput,
23
23
  VerifyCommandOutput,
24
24
  KMSClientResolvedConfig,
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ getEndpointParameterInstructions(): {
29
+ [x: string]: unknown;
30
+ };
29
31
  };
30
32
  export declare class VerifyCommand extends VerifyCommand_base {
31
33
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  KMSClientResolvedConfig,
@@ -13,25 +13,23 @@ export interface VerifyMacCommandOutput
13
13
  extends VerifyMacResponse,
14
14
  __MetadataBearer {}
15
15
  declare const VerifyMacCommand_base: {
16
- new (
17
- input: VerifyMacCommandInput
18
- ): import("@smithy/smithy-client").CommandImpl<
16
+ new (input: VerifyMacCommandInput): import("@smithy/core/client").CommandImpl<
19
17
  VerifyMacCommandInput,
20
18
  VerifyMacCommandOutput,
21
19
  KMSClientResolvedConfig,
22
20
  ServiceInputTypes,
23
21
  ServiceOutputTypes
24
22
  >;
25
- new (
26
- input: VerifyMacCommandInput
27
- ): import("@smithy/smithy-client").CommandImpl<
23
+ new (input: VerifyMacCommandInput): import("@smithy/core/client").CommandImpl<
28
24
  VerifyMacCommandInput,
29
25
  VerifyMacCommandOutput,
30
26
  KMSClientResolvedConfig,
31
27
  ServiceInputTypes,
32
28
  ServiceOutputTypes
33
29
  >;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
30
+ getEndpointParameterInstructions(): {
31
+ [x: string]: unknown;
32
+ };
35
33
  };
36
34
  export declare class VerifyMacCommand extends VerifyMacCommand_base {
37
35
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface KMSExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class KMSServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { KMSServiceException as __BaseException } from "./KMSServiceException";
3
3
  export declare class AlreadyExistsException extends __BaseException {
4
4
  readonly name: "AlreadyExistsException";
@@ -3,7 +3,7 @@ import { KMSClientConfig } from "./KMSClient";
3
3
  export declare const getRuntimeConfig: (config: KMSClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { KMSClientConfig } from "./KMSClient";
3
3
  export declare const getRuntimeConfig: (config: KMSClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kms",
3
3
  "description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
4
- "version": "3.1045.0",
4
+ "version": "3.1046.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kms",
@@ -23,42 +23,21 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.8",
27
- "@aws-sdk/credential-provider-node": "^3.972.39",
28
- "@aws-sdk/middleware-host-header": "^3.972.10",
26
+ "@aws-sdk/core": "^3.974.9",
27
+ "@aws-sdk/credential-provider-node": "^3.972.40",
28
+ "@aws-sdk/middleware-host-header": "^3.972.11",
29
29
  "@aws-sdk/middleware-logger": "^3.972.10",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
31
- "@aws-sdk/middleware-user-agent": "^3.972.38",
32
- "@aws-sdk/region-config-resolver": "^3.972.13",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
32
+ "@aws-sdk/region-config-resolver": "^3.972.14",
33
33
  "@aws-sdk/types": "^3.973.8",
34
- "@aws-sdk/util-endpoints": "^3.996.8",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
36
- "@aws-sdk/util-user-agent-node": "^3.973.24",
37
- "@smithy/config-resolver": "^4.4.17",
38
- "@smithy/core": "^3.23.17",
39
- "@smithy/fetch-http-handler": "^5.3.17",
40
- "@smithy/hash-node": "^4.2.14",
41
- "@smithy/invalid-dependency": "^4.2.14",
42
- "@smithy/middleware-content-length": "^4.2.14",
43
- "@smithy/middleware-endpoint": "^4.4.32",
44
- "@smithy/middleware-retry": "^4.5.7",
45
- "@smithy/middleware-serde": "^4.2.20",
46
- "@smithy/middleware-stack": "^4.2.14",
47
- "@smithy/node-config-provider": "^4.3.14",
48
- "@smithy/node-http-handler": "^4.6.1",
49
- "@smithy/protocol-http": "^5.3.14",
50
- "@smithy/smithy-client": "^4.12.13",
34
+ "@aws-sdk/util-endpoints": "^3.996.9",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
37
+ "@smithy/core": "^3.24.1",
38
+ "@smithy/fetch-http-handler": "^5.4.1",
39
+ "@smithy/node-http-handler": "^4.7.1",
51
40
  "@smithy/types": "^4.14.1",
52
- "@smithy/url-parser": "^4.2.14",
53
- "@smithy/util-base64": "^4.3.2",
54
- "@smithy/util-body-length-browser": "^4.2.2",
55
- "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.49",
57
- "@smithy/util-defaults-mode-node": "^4.2.54",
58
- "@smithy/util-endpoints": "^3.4.2",
59
- "@smithy/util-middleware": "^4.2.14",
60
- "@smithy/util-retry": "^4.3.6",
61
- "@smithy/util-utf8": "^4.2.2",
62
41
  "tslib": "^2.6.2"
63
42
  },
64
43
  "devDependencies": {