@aws-sdk/client-kms 3.1086.0 → 3.1088.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 (76) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/KMS.d.ts +190 -283
  3. package/dist-types/ts3.4/KMSClient.d.ts +33 -100
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  6. package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  7. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -2
  10. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +5 -10
  11. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +3 -5
  12. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +4 -4
  13. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +4 -4
  14. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -2
  15. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +3 -5
  19. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +2 -2
  21. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +3 -4
  22. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +4 -6
  23. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +6 -2
  24. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +3 -4
  25. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +7 -5
  26. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +4 -9
  27. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +3 -5
  31. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +3 -8
  32. package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +3 -5
  34. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +5 -10
  35. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +3 -5
  37. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +3 -5
  40. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +4 -9
  41. package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +4 -9
  42. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +4 -4
  43. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +4 -9
  44. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +4 -10
  45. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -2
  46. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +7 -5
  47. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +3 -5
  48. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +2 -2
  50. package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +5 -10
  51. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +5 -10
  52. package/dist-types/ts3.4/commands/SignCommand.d.ts +6 -2
  53. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  54. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  55. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -2
  56. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +5 -10
  57. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +3 -4
  58. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +3 -4
  59. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +6 -2
  60. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +7 -5
  61. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  63. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  64. package/dist-types/ts3.4/models/enums.d.ts +13 -26
  65. package/dist-types/ts3.4/models/errors.d.ts +44 -167
  66. package/dist-types/ts3.4/models/models_0.d.ts +2 -6
  67. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -4
  68. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +1 -4
  69. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +1 -4
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  75. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  76. package/package.json +39 -39
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -44,30 +41,15 @@ import {
44
41
  ConnectCustomKeyStoreCommandInput,
45
42
  ConnectCustomKeyStoreCommandOutput,
46
43
  } from "./commands/ConnectCustomKeyStoreCommand";
47
- import {
48
- CreateAliasCommandInput,
49
- CreateAliasCommandOutput,
50
- } from "./commands/CreateAliasCommand";
44
+ import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
51
45
  import {
52
46
  CreateCustomKeyStoreCommandInput,
53
47
  CreateCustomKeyStoreCommandOutput,
54
48
  } from "./commands/CreateCustomKeyStoreCommand";
55
- import {
56
- CreateGrantCommandInput,
57
- CreateGrantCommandOutput,
58
- } from "./commands/CreateGrantCommand";
59
- import {
60
- CreateKeyCommandInput,
61
- CreateKeyCommandOutput,
62
- } from "./commands/CreateKeyCommand";
63
- import {
64
- DecryptCommandInput,
65
- DecryptCommandOutput,
66
- } from "./commands/DecryptCommand";
67
- import {
68
- DeleteAliasCommandInput,
69
- DeleteAliasCommandOutput,
70
- } from "./commands/DeleteAliasCommand";
49
+ import { CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand";
50
+ import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
51
+ import { DecryptCommandInput, DecryptCommandOutput } from "./commands/DecryptCommand";
52
+ import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
71
53
  import {
72
54
  DeleteCustomKeyStoreCommandInput,
73
55
  DeleteCustomKeyStoreCommandOutput,
@@ -84,14 +66,8 @@ import {
84
66
  DescribeCustomKeyStoresCommandInput,
85
67
  DescribeCustomKeyStoresCommandOutput,
86
68
  } from "./commands/DescribeCustomKeyStoresCommand";
87
- import {
88
- DescribeKeyCommandInput,
89
- DescribeKeyCommandOutput,
90
- } from "./commands/DescribeKeyCommand";
91
- import {
92
- DisableKeyCommandInput,
93
- DisableKeyCommandOutput,
94
- } from "./commands/DisableKeyCommand";
69
+ import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand";
70
+ import { DisableKeyCommandInput, DisableKeyCommandOutput } from "./commands/DisableKeyCommand";
95
71
  import {
96
72
  DisableKeyRotationCommandInput,
97
73
  DisableKeyRotationCommandOutput,
@@ -100,18 +76,12 @@ import {
100
76
  DisconnectCustomKeyStoreCommandInput,
101
77
  DisconnectCustomKeyStoreCommandOutput,
102
78
  } from "./commands/DisconnectCustomKeyStoreCommand";
103
- import {
104
- EnableKeyCommandInput,
105
- EnableKeyCommandOutput,
106
- } from "./commands/EnableKeyCommand";
79
+ import { EnableKeyCommandInput, EnableKeyCommandOutput } from "./commands/EnableKeyCommand";
107
80
  import {
108
81
  EnableKeyRotationCommandInput,
109
82
  EnableKeyRotationCommandOutput,
110
83
  } from "./commands/EnableKeyRotationCommand";
111
- import {
112
- EncryptCommandInput,
113
- EncryptCommandOutput,
114
- } from "./commands/EncryptCommand";
84
+ import { EncryptCommandInput, EncryptCommandOutput } from "./commands/EncryptCommand";
115
85
  import {
116
86
  GenerateDataKeyCommandInput,
117
87
  GenerateDataKeyCommandOutput,
@@ -128,10 +98,7 @@ import {
128
98
  GenerateDataKeyWithoutPlaintextCommandInput,
129
99
  GenerateDataKeyWithoutPlaintextCommandOutput,
130
100
  } from "./commands/GenerateDataKeyWithoutPlaintextCommand";
131
- import {
132
- GenerateMacCommandInput,
133
- GenerateMacCommandOutput,
134
- } from "./commands/GenerateMacCommand";
101
+ import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand";
135
102
  import {
136
103
  GenerateRandomCommandInput,
137
104
  GenerateRandomCommandOutput,
@@ -160,14 +127,8 @@ import {
160
127
  ImportKeyMaterialCommandInput,
161
128
  ImportKeyMaterialCommandOutput,
162
129
  } from "./commands/ImportKeyMaterialCommand";
163
- import {
164
- ListAliasesCommandInput,
165
- ListAliasesCommandOutput,
166
- } from "./commands/ListAliasesCommand";
167
- import {
168
- ListGrantsCommandInput,
169
- ListGrantsCommandOutput,
170
- } from "./commands/ListGrantsCommand";
130
+ import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
131
+ import { ListGrantsCommandInput, ListGrantsCommandOutput } from "./commands/ListGrantsCommand";
171
132
  import {
172
133
  ListKeyPoliciesCommandInput,
173
134
  ListKeyPoliciesCommandOutput,
@@ -176,10 +137,7 @@ import {
176
137
  ListKeyRotationsCommandInput,
177
138
  ListKeyRotationsCommandOutput,
178
139
  } from "./commands/ListKeyRotationsCommand";
179
- import {
180
- ListKeysCommandInput,
181
- ListKeysCommandOutput,
182
- } from "./commands/ListKeysCommand";
140
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
183
141
  import {
184
142
  ListResourceTagsCommandInput,
185
143
  ListResourceTagsCommandOutput,
@@ -192,22 +150,13 @@ import {
192
150
  PutKeyPolicyCommandInput,
193
151
  PutKeyPolicyCommandOutput,
194
152
  } from "./commands/PutKeyPolicyCommand";
195
- import {
196
- ReEncryptCommandInput,
197
- ReEncryptCommandOutput,
198
- } from "./commands/ReEncryptCommand";
153
+ import { ReEncryptCommandInput, ReEncryptCommandOutput } from "./commands/ReEncryptCommand";
199
154
  import {
200
155
  ReplicateKeyCommandInput,
201
156
  ReplicateKeyCommandOutput,
202
157
  } from "./commands/ReplicateKeyCommand";
203
- import {
204
- RetireGrantCommandInput,
205
- RetireGrantCommandOutput,
206
- } from "./commands/RetireGrantCommand";
207
- import {
208
- RevokeGrantCommandInput,
209
- RevokeGrantCommandOutput,
210
- } from "./commands/RevokeGrantCommand";
158
+ import { RetireGrantCommandInput, RetireGrantCommandOutput } from "./commands/RetireGrantCommand";
159
+ import { RevokeGrantCommandInput, RevokeGrantCommandOutput } from "./commands/RevokeGrantCommand";
211
160
  import {
212
161
  RotateKeyOnDemandCommandInput,
213
162
  RotateKeyOnDemandCommandOutput,
@@ -217,18 +166,12 @@ import {
217
166
  ScheduleKeyDeletionCommandOutput,
218
167
  } from "./commands/ScheduleKeyDeletionCommand";
219
168
  import { SignCommandInput, SignCommandOutput } from "./commands/SignCommand";
220
- import {
221
- TagResourceCommandInput,
222
- TagResourceCommandOutput,
223
- } from "./commands/TagResourceCommand";
169
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
224
170
  import {
225
171
  UntagResourceCommandInput,
226
172
  UntagResourceCommandOutput,
227
173
  } from "./commands/UntagResourceCommand";
228
- import {
229
- UpdateAliasCommandInput,
230
- UpdateAliasCommandOutput,
231
- } from "./commands/UpdateAliasCommand";
174
+ import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
232
175
  import {
233
176
  UpdateCustomKeyStoreCommandInput,
234
177
  UpdateCustomKeyStoreCommandOutput,
@@ -241,14 +184,8 @@ import {
241
184
  UpdatePrimaryRegionCommandInput,
242
185
  UpdatePrimaryRegionCommandOutput,
243
186
  } from "./commands/UpdatePrimaryRegionCommand";
244
- import {
245
- VerifyCommandInput,
246
- VerifyCommandOutput,
247
- } from "./commands/VerifyCommand";
248
- import {
249
- VerifyMacCommandInput,
250
- VerifyMacCommandOutput,
251
- } from "./commands/VerifyMacCommand";
187
+ import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand";
188
+ import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
252
189
  import {
253
190
  ClientInputEndpointParameters,
254
191
  ClientResolvedEndpointParameters,
@@ -366,8 +303,7 @@ export type ServiceOutputTypes =
366
303
  | UpdatePrimaryRegionCommandOutput
367
304
  | VerifyCommandOutput
368
305
  | VerifyMacCommandOutput;
369
- export interface ClientDefaults
370
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
306
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
371
307
  requestHandler?: __HttpHandlerUserInput;
372
308
  sha256?: __ChecksumConstructor | __HashConstructor;
373
309
  urlParser?: __UrlParser;
@@ -392,9 +328,7 @@ export interface ClientDefaults
392
328
  extensions?: RuntimeExtension[];
393
329
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
394
330
  }
395
- export type KMSClientConfigType = Partial<
396
- __SmithyConfiguration<__HttpHandlerOptions>
397
- > &
331
+ export type KMSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
398
332
  ClientDefaults &
399
333
  UserAgentInputConfig &
400
334
  RetryInputConfig &
@@ -404,17 +338,16 @@ export type KMSClientConfigType = Partial<
404
338
  HttpAuthSchemeInputConfig &
405
339
  ClientInputEndpointParameters;
406
340
  export interface KMSClientConfig extends KMSClientConfigType {}
407
- export type KMSClientResolvedConfigType =
408
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
409
- Required<ClientDefaults> &
410
- RuntimeExtensionsConfig &
411
- UserAgentResolvedConfig &
412
- RetryResolvedConfig &
413
- RegionResolvedConfig &
414
- HostHeaderResolvedConfig &
415
- EndpointResolvedConfig<EndpointParameters> &
416
- HttpAuthSchemeResolvedConfig &
417
- ClientResolvedEndpointParameters;
341
+ export type KMSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
342
+ Required<ClientDefaults> &
343
+ RuntimeExtensionsConfig &
344
+ UserAgentResolvedConfig &
345
+ RetryResolvedConfig &
346
+ RegionResolvedConfig &
347
+ HostHeaderResolvedConfig &
348
+ EndpointResolvedConfig<EndpointParameters> &
349
+ HttpAuthSchemeResolvedConfig &
350
+ ClientResolvedEndpointParameters;
418
351
  export interface KMSClientResolvedConfig extends KMSClientResolvedConfigType {}
419
352
  export declare class KMSClient extends __Client<
420
353
  __HttpHandlerOptions,
@@ -7,17 +7,10 @@ import { KMSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: KMSHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: KMSHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): KMSHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -15,32 +15,29 @@ import { KMSClientResolvedConfig } from "../KMSClient";
15
15
  export interface KMSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
16
  region?: string;
17
17
  }
18
- export interface KMSHttpAuthSchemeParametersProvider
19
- extends HttpAuthSchemeParametersProvider<
20
- KMSClientResolvedConfig,
21
- HandlerExecutionContext,
22
- KMSHttpAuthSchemeParameters,
23
- object
24
- > {}
18
+ export interface KMSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ KMSClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ KMSHttpAuthSchemeParameters,
22
+ object
23
+ > {}
25
24
  export declare const defaultKMSHttpAuthSchemeParametersProvider: (
26
25
  config: KMSClientResolvedConfig,
27
26
  context: HandlerExecutionContext,
28
- input: object
27
+ input: object,
29
28
  ) => Promise<KMSHttpAuthSchemeParameters>;
30
- export interface KMSHttpAuthSchemeProvider
31
- extends HttpAuthSchemeProvider<KMSHttpAuthSchemeParameters> {}
29
+ export interface KMSHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KMSHttpAuthSchemeParameters> {}
32
30
  export declare const defaultKMSHttpAuthSchemeProvider: KMSHttpAuthSchemeProvider;
33
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
32
  authSchemePreference?: string[] | Provider<string[]>;
35
33
  httpAuthSchemes?: HttpAuthScheme[];
36
34
  httpAuthSchemeProvider?: KMSHttpAuthSchemeProvider;
37
35
  }
38
- export interface HttpAuthSchemeResolvedConfig
39
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
40
37
  readonly authSchemePreference: Provider<string[]>;
41
38
  readonly httpAuthSchemes: HttpAuthScheme[];
42
39
  readonly httpAuthSchemeProvider: KMSHttpAuthSchemeProvider;
43
40
  }
44
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
45
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
46
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -1,25 +1,20 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/types";
2
- import {
3
- KMSClientResolvedConfig,
4
- ServiceInputTypes,
5
- ServiceOutputTypes,
6
- } from "./KMSClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
2
+ import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./KMSClient";
3
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
4
  added: EndpointParameterInstructions,
12
5
  plugins: (
13
6
  CommandCtor: any,
14
7
  clientStack: any,
15
8
  config: any,
16
- options: any
9
+ options: any,
17
10
  ) => import("@smithy/types").Pluggable<any, any>[],
18
11
  op: string,
19
12
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
13
+ smithyContext?: Record<string, unknown>,
21
14
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
15
+ new (
16
+ input: I,
17
+ ): import("@smithy/core/client").CommandImpl<
23
18
  I,
24
19
  O,
25
20
  KMSClientResolvedConfig,
@@ -38,9 +33,4 @@ export declare const command: <
38
33
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
34
  };
40
35
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
36
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- CancelKeyDeletionRequest,
4
- CancelKeyDeletionResponse,
5
- } from "../models/models_0";
2
+ import { CancelKeyDeletionRequest, CancelKeyDeletionResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface CancelKeyDeletionCommandInput
8
- extends CancelKeyDeletionRequest {}
4
+ export interface CancelKeyDeletionCommandInput extends CancelKeyDeletionRequest {}
9
5
  export interface CancelKeyDeletionCommandOutput
10
- extends CancelKeyDeletionResponse,
11
- __MetadataBearer {}
6
+ extends CancelKeyDeletionResponse, __MetadataBearer {}
12
7
  declare const CancelKeyDeletionCommand_base: {
13
8
  new (
14
- input: CancelKeyDeletionCommandInput
9
+ input: CancelKeyDeletionCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  CancelKeyDeletionCommandInput,
17
12
  CancelKeyDeletionCommandOutput,
@@ -20,7 +15,7 @@ declare const CancelKeyDeletionCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: CancelKeyDeletionCommandInput
18
+ input: CancelKeyDeletionCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  CancelKeyDeletionCommandInput,
26
21
  CancelKeyDeletionCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ConnectCustomKeyStoreRequest,
4
- ConnectCustomKeyStoreResponse,
5
- } from "../models/models_0";
2
+ import { ConnectCustomKeyStoreRequest, ConnectCustomKeyStoreResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface ConnectCustomKeyStoreCommandInput
8
- extends ConnectCustomKeyStoreRequest {}
4
+ export interface ConnectCustomKeyStoreCommandInput extends ConnectCustomKeyStoreRequest {}
9
5
  export interface ConnectCustomKeyStoreCommandOutput
10
- extends ConnectCustomKeyStoreResponse,
11
- __MetadataBearer {}
6
+ extends ConnectCustomKeyStoreResponse, __MetadataBearer {}
12
7
  declare const ConnectCustomKeyStoreCommand_base: {
13
8
  new (
14
- input: ConnectCustomKeyStoreCommandInput
9
+ input: ConnectCustomKeyStoreCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  ConnectCustomKeyStoreCommandInput,
17
12
  ConnectCustomKeyStoreCommandOutput,
@@ -20,7 +15,7 @@ declare const ConnectCustomKeyStoreCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: ConnectCustomKeyStoreCommandInput
18
+ input: ConnectCustomKeyStoreCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  ConnectCustomKeyStoreCommandInput,
26
21
  ConnectCustomKeyStoreCommandOutput,
@@ -5,7 +5,7 @@ export interface CreateAliasCommandInput extends CreateAliasRequest {}
5
5
  export interface CreateAliasCommandOutput extends __MetadataBearer {}
6
6
  declare const CreateAliasCommand_base: {
7
7
  new (
8
- input: CreateAliasCommandInput
8
+ input: CreateAliasCommandInput,
9
9
  ): import("@smithy/core/client").CommandImpl<
10
10
  CreateAliasCommandInput,
11
11
  CreateAliasCommandOutput,
@@ -14,7 +14,7 @@ declare const CreateAliasCommand_base: {
14
14
  import("..").ServiceOutputTypes
15
15
  >;
16
16
  new (
17
- input: CreateAliasCommandInput
17
+ input: CreateAliasCommandInput,
18
18
  ): import("@smithy/core/client").CommandImpl<
19
19
  CreateAliasCommandInput,
20
20
  CreateAliasCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- CreateCustomKeyStoreRequest,
4
- CreateCustomKeyStoreResponse,
5
- } from "../models/models_0";
2
+ import { CreateCustomKeyStoreRequest, CreateCustomKeyStoreResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface CreateCustomKeyStoreCommandInput
8
- extends CreateCustomKeyStoreRequest {}
4
+ export interface CreateCustomKeyStoreCommandInput extends CreateCustomKeyStoreRequest {}
9
5
  export interface CreateCustomKeyStoreCommandOutput
10
- extends CreateCustomKeyStoreResponse,
11
- __MetadataBearer {}
6
+ extends CreateCustomKeyStoreResponse, __MetadataBearer {}
12
7
  declare const CreateCustomKeyStoreCommand_base: {
13
8
  new (
14
- input: CreateCustomKeyStoreCommandInput
9
+ input: CreateCustomKeyStoreCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  CreateCustomKeyStoreCommandInput,
17
12
  CreateCustomKeyStoreCommandOutput,
@@ -20,7 +15,7 @@ declare const CreateCustomKeyStoreCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: CreateCustomKeyStoreCommandInput
18
+ input: CreateCustomKeyStoreCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  CreateCustomKeyStoreCommandInput,
26
21
  CreateCustomKeyStoreCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { CreateGrantRequest, CreateGrantResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface CreateGrantCommandInput extends CreateGrantRequest {}
5
- export interface CreateGrantCommandOutput
6
- extends CreateGrantResponse,
7
- __MetadataBearer {}
5
+ export interface CreateGrantCommandOutput extends CreateGrantResponse, __MetadataBearer {}
8
6
  declare const CreateGrantCommand_base: {
9
7
  new (
10
- input: CreateGrantCommandInput
8
+ input: CreateGrantCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  CreateGrantCommandInput,
13
11
  CreateGrantCommandOutput,
@@ -16,7 +14,7 @@ declare const CreateGrantCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: CreateGrantCommandInput
17
+ input: CreateGrantCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  CreateGrantCommandInput,
22
20
  CreateGrantCommandOutput,
@@ -2,11 +2,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { CreateKeyRequest, CreateKeyResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface CreateKeyCommandInput extends CreateKeyRequest {}
5
- export interface CreateKeyCommandOutput
6
- extends CreateKeyResponse,
7
- __MetadataBearer {}
5
+ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBearer {}
8
6
  declare const CreateKeyCommand_base: {
9
- new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<
7
+ new (
8
+ input: CreateKeyCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
10
  CreateKeyCommandInput,
11
11
  CreateKeyCommandOutput,
12
12
  import("..").KMSClientResolvedConfig,
@@ -2,11 +2,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { DecryptRequest, DecryptResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface DecryptCommandInput extends DecryptRequest {}
5
- export interface DecryptCommandOutput
6
- extends DecryptResponse,
7
- __MetadataBearer {}
5
+ export interface DecryptCommandOutput extends DecryptResponse, __MetadataBearer {}
8
6
  declare const DecryptCommand_base: {
9
- new (input: DecryptCommandInput): import("@smithy/core/client").CommandImpl<
7
+ new (
8
+ input: DecryptCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
10
  DecryptCommandInput,
11
11
  DecryptCommandOutput,
12
12
  import("..").KMSClientResolvedConfig,
@@ -5,7 +5,7 @@ export interface DeleteAliasCommandInput extends DeleteAliasRequest {}
5
5
  export interface DeleteAliasCommandOutput extends __MetadataBearer {}
6
6
  declare const DeleteAliasCommand_base: {
7
7
  new (
8
- input: DeleteAliasCommandInput
8
+ input: DeleteAliasCommandInput,
9
9
  ): import("@smithy/core/client").CommandImpl<
10
10
  DeleteAliasCommandInput,
11
11
  DeleteAliasCommandOutput,
@@ -14,7 +14,7 @@ declare const DeleteAliasCommand_base: {
14
14
  import("..").ServiceOutputTypes
15
15
  >;
16
16
  new (
17
- input: DeleteAliasCommandInput
17
+ input: DeleteAliasCommandInput,
18
18
  ): import("@smithy/core/client").CommandImpl<
19
19
  DeleteAliasCommandInput,
20
20
  DeleteAliasCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DeleteCustomKeyStoreRequest,
4
- DeleteCustomKeyStoreResponse,
5
- } from "../models/models_0";
2
+ import { DeleteCustomKeyStoreRequest, DeleteCustomKeyStoreResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface DeleteCustomKeyStoreCommandInput
8
- extends DeleteCustomKeyStoreRequest {}
4
+ export interface DeleteCustomKeyStoreCommandInput extends DeleteCustomKeyStoreRequest {}
9
5
  export interface DeleteCustomKeyStoreCommandOutput
10
- extends DeleteCustomKeyStoreResponse,
11
- __MetadataBearer {}
6
+ extends DeleteCustomKeyStoreResponse, __MetadataBearer {}
12
7
  declare const DeleteCustomKeyStoreCommand_base: {
13
8
  new (
14
- input: DeleteCustomKeyStoreCommandInput
9
+ input: DeleteCustomKeyStoreCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  DeleteCustomKeyStoreCommandInput,
17
12
  DeleteCustomKeyStoreCommandOutput,
@@ -20,7 +15,7 @@ declare const DeleteCustomKeyStoreCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: DeleteCustomKeyStoreCommandInput
18
+ input: DeleteCustomKeyStoreCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  DeleteCustomKeyStoreCommandInput,
26
21
  DeleteCustomKeyStoreCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  DeleteImportedKeyMaterialResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface DeleteImportedKeyMaterialCommandInput
8
- extends DeleteImportedKeyMaterialRequest {}
7
+ export interface DeleteImportedKeyMaterialCommandInput extends DeleteImportedKeyMaterialRequest {}
9
8
  export interface DeleteImportedKeyMaterialCommandOutput
10
- extends DeleteImportedKeyMaterialResponse,
11
- __MetadataBearer {}
9
+ extends DeleteImportedKeyMaterialResponse, __MetadataBearer {}
12
10
  declare const DeleteImportedKeyMaterialCommand_base: {
13
11
  new (
14
- input: DeleteImportedKeyMaterialCommandInput
12
+ input: DeleteImportedKeyMaterialCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  DeleteImportedKeyMaterialCommandInput,
17
15
  DeleteImportedKeyMaterialCommandOutput,
@@ -20,7 +18,7 @@ declare const DeleteImportedKeyMaterialCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: DeleteImportedKeyMaterialCommandInput
21
+ input: DeleteImportedKeyMaterialCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  DeleteImportedKeyMaterialCommandInput,
26
24
  DeleteImportedKeyMaterialCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DeriveSharedSecretRequest,
4
- DeriveSharedSecretResponse,
5
- } from "../models/models_0";
2
+ import { DeriveSharedSecretRequest, DeriveSharedSecretResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface DeriveSharedSecretCommandInput
8
- extends DeriveSharedSecretRequest {}
4
+ export interface DeriveSharedSecretCommandInput extends DeriveSharedSecretRequest {}
9
5
  export interface DeriveSharedSecretCommandOutput
10
- extends DeriveSharedSecretResponse,
11
- __MetadataBearer {}
6
+ extends DeriveSharedSecretResponse, __MetadataBearer {}
12
7
  declare const DeriveSharedSecretCommand_base: {
13
8
  new (
14
- input: DeriveSharedSecretCommandInput
9
+ input: DeriveSharedSecretCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  DeriveSharedSecretCommandInput,
17
12
  DeriveSharedSecretCommandOutput,
@@ -20,7 +15,7 @@ declare const DeriveSharedSecretCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: DeriveSharedSecretCommandInput
18
+ input: DeriveSharedSecretCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  DeriveSharedSecretCommandInput,
26
21
  DeriveSharedSecretCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  DescribeCustomKeyStoresResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface DescribeCustomKeyStoresCommandInput
8
- extends DescribeCustomKeyStoresRequest {}
7
+ export interface DescribeCustomKeyStoresCommandInput extends DescribeCustomKeyStoresRequest {}
9
8
  export interface DescribeCustomKeyStoresCommandOutput
10
- extends DescribeCustomKeyStoresResponse,
11
- __MetadataBearer {}
9
+ extends DescribeCustomKeyStoresResponse, __MetadataBearer {}
12
10
  declare const DescribeCustomKeyStoresCommand_base: {
13
11
  new (
14
- input: DescribeCustomKeyStoresCommandInput
12
+ input: DescribeCustomKeyStoresCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  DescribeCustomKeyStoresCommandInput,
17
15
  DescribeCustomKeyStoresCommandOutput,