@aws-sdk/client-ebs 3.1045.0 → 3.1047.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 (53) 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 +28 -29
  5. package/dist-cjs/models/EBSServiceException.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 +10 -12
  9. package/dist-es/EBS.js +1 -1
  10. package/dist-es/EBSClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CompleteSnapshotCommand.js +2 -2
  13. package/dist-es/commands/GetSnapshotBlockCommand.js +2 -2
  14. package/dist-es/commands/ListChangedBlocksCommand.js +2 -2
  15. package/dist-es/commands/ListSnapshotBlocksCommand.js +2 -2
  16. package/dist-es/commands/PutSnapshotBlockCommand.js +2 -2
  17. package/dist-es/commands/StartSnapshotCommand.js +2 -2
  18. package/dist-es/endpoint/bdd.js +1 -1
  19. package/dist-es/endpoint/endpointResolver.js +1 -1
  20. package/dist-es/models/EBSServiceException.js +1 -1
  21. package/dist-es/runtimeConfig.browser.js +4 -6
  22. package/dist-es/runtimeConfig.js +4 -8
  23. package/dist-es/runtimeConfig.shared.js +3 -5
  24. package/dist-es/runtimeExtensions.js +2 -2
  25. package/dist-types/EBSClient.d.ts +5 -5
  26. package/dist-types/commands/CompleteSnapshotCommand.d.ts +6 -4
  27. package/dist-types/commands/GetSnapshotBlockCommand.d.ts +6 -4
  28. package/dist-types/commands/ListChangedBlocksCommand.d.ts +6 -4
  29. package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +6 -4
  30. package/dist-types/commands/PutSnapshotBlockCommand.d.ts +6 -4
  31. package/dist-types/commands/StartSnapshotCommand.d.ts +6 -4
  32. package/dist-types/endpoint/bdd.d.ts +1 -1
  33. package/dist-types/extensionConfiguration.d.ts +1 -1
  34. package/dist-types/models/EBSServiceException.d.ts +1 -1
  35. package/dist-types/models/errors.d.ts +1 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  37. package/dist-types/runtimeConfig.d.ts +2 -2
  38. package/dist-types/runtimeConfig.native.d.ts +2 -2
  39. package/dist-types/ts3.4/EBSClient.d.ts +8 -14
  40. package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +6 -4
  41. package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +6 -4
  42. package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +6 -4
  43. package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +6 -4
  44. package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +6 -4
  45. package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +6 -4
  46. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  47. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  48. package/dist-types/ts3.4/models/EBSServiceException.d.ts +1 -1
  49. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  53. package/package.json +13 -35
@@ -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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {
22
22
  export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CompleteSnapshotCommand_base: {
25
- new (input: CompleteSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CompleteSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CompleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CompleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Seals and completes the snapshot after all of the required blocks of data have been
@@ -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 type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
@@ -23,9 +23,11 @@ export interface GetSnapshotBlockCommandOutput extends Omit<GetSnapshotBlockResp
23
23
  BlockData?: StreamingBlobPayloadOutputTypes;
24
24
  }
25
25
  declare const GetSnapshotBlockCommand_base: {
26
- new (input: GetSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: GetSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ new (input: GetSnapshotBlockCommandInput): import("@smithy/core/client").CommandImpl<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: GetSnapshotBlockCommandInput): import("@smithy/core/client").CommandImpl<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): {
29
+ [x: string]: unknown;
30
+ };
29
31
  };
30
32
  /**
31
33
  * <p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>
@@ -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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface ListChangedBlocksCommandInput extends ListChangedBlocksRequest
22
22
  export interface ListChangedBlocksCommandOutput extends ListChangedBlocksResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListChangedBlocksCommand_base: {
25
- new (input: ListChangedBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListChangedBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListChangedBlocksCommandInput): import("@smithy/core/client").CommandImpl<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListChangedBlocksCommandInput): import("@smithy/core/client").CommandImpl<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns information about the blocks that are different between two
@@ -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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface ListSnapshotBlocksCommandInput extends ListSnapshotBlocksReques
22
22
  export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListSnapshotBlocksCommand_base: {
25
- new (input: ListSnapshotBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListSnapshotBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListSnapshotBlocksCommandInput): import("@smithy/core/client").CommandImpl<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListSnapshotBlocksCommandInput): import("@smithy/core/client").CommandImpl<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>
@@ -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 type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
@@ -23,9 +23,11 @@ export interface PutSnapshotBlockCommandInput extends Omit<PutSnapshotBlockReque
23
23
  export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse, __MetadataBearer {
24
24
  }
25
25
  declare const PutSnapshotBlockCommand_base: {
26
- new (input: PutSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: PutSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ new (input: PutSnapshotBlockCommandInput): import("@smithy/core/client").CommandImpl<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: PutSnapshotBlockCommandInput): import("@smithy/core/client").CommandImpl<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): {
29
+ [x: string]: unknown;
30
+ };
29
31
  };
30
32
  /**
31
33
  * <p>Writes a block of data to a snapshot. If the specified block contains
@@ -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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
4
  import type { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface StartSnapshotCommandInput extends StartSnapshotRequest {
22
22
  export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __MetadataBearer {
23
23
  }
24
24
  declare const StartSnapshotCommand_base: {
25
- new (input: StartSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: StartSnapshotCommandInput): import("@smithy/core/client").CommandImpl<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartSnapshotCommandInput): import("@smithy/core/client").CommandImpl<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state
@@ -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 type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { EBSServiceException as __BaseException } from "./EBSServiceException";
3
3
  import type { AccessDeniedExceptionReason, RequestThrottledExceptionReason, ResourceNotFoundExceptionReason, ServiceQuotaExceededExceptionReason, ValidationExceptionReason } from "./enums";
4
4
  /**
@@ -5,13 +5,13 @@ import type { EBSClientConfig } from "./EBSClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: EBSClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,14 +5,14 @@ import type { EBSClientConfig } from "./EBSClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: EBSClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { EBSClientConfig } from "./EBSClient";
5
5
  export declare const getRuntimeConfig: (config: EBSClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
10
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
32
32
  retryMode: string | import("@smithy/types").Provider<string>;
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
36
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
37
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
38
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -6,25 +6,19 @@ import {
6
6
  UserAgentInputConfig,
7
7
  UserAgentResolvedConfig,
8
8
  } from "@aws-sdk/middleware-user-agent";
9
- import {
10
- RegionInputConfig,
11
- RegionResolvedConfig,
12
- } from "@smithy/config-resolver";
13
- import {
14
- EndpointInputConfig,
15
- EndpointResolvedConfig,
16
- } from "@smithy/middleware-endpoint";
17
- import {
18
- RetryInputConfig,
19
- RetryResolvedConfig,
20
- } from "@smithy/middleware-retry";
21
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
9
  import {
23
10
  DefaultsMode as __DefaultsMode,
24
11
  SmithyConfiguration as __SmithyConfiguration,
25
12
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
13
  Client as __Client,
27
- } from "@smithy/smithy-client";
14
+ } from "@smithy/core/client";
15
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
16
+ import {
17
+ EndpointInputConfig,
18
+ EndpointResolvedConfig,
19
+ } from "@smithy/core/endpoints";
20
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
21
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
28
22
  import {
29
23
  AwsCredentialIdentityProvider,
30
24
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -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
  EBSClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface CompleteSnapshotCommandOutput
18
18
  declare const CompleteSnapshotCommand_base: {
19
19
  new (
20
20
  input: CompleteSnapshotCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  CompleteSnapshotCommandInput,
23
23
  CompleteSnapshotCommandOutput,
24
24
  EBSClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const CompleteSnapshotCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: CompleteSnapshotCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  CompleteSnapshotCommandInput,
32
32
  CompleteSnapshotCommandOutput,
33
33
  EBSClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class CompleteSnapshotCommand extends CompleteSnapshotCommand_base {
40
42
  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 {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadOutputTypes,
@@ -26,7 +26,7 @@ export interface GetSnapshotBlockCommandOutput
26
26
  declare const GetSnapshotBlockCommand_base: {
27
27
  new (
28
28
  input: GetSnapshotBlockCommandInput
29
- ): import("@smithy/smithy-client").CommandImpl<
29
+ ): import("@smithy/core/client").CommandImpl<
30
30
  GetSnapshotBlockCommandInput,
31
31
  GetSnapshotBlockCommandOutput,
32
32
  EBSClientResolvedConfig,
@@ -35,14 +35,16 @@ declare const GetSnapshotBlockCommand_base: {
35
35
  >;
36
36
  new (
37
37
  input: GetSnapshotBlockCommandInput
38
- ): import("@smithy/smithy-client").CommandImpl<
38
+ ): import("@smithy/core/client").CommandImpl<
39
39
  GetSnapshotBlockCommandInput,
40
40
  GetSnapshotBlockCommandOutput,
41
41
  EBSClientResolvedConfig,
42
42
  ServiceInputTypes,
43
43
  ServiceOutputTypes
44
44
  >;
45
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
45
+ getEndpointParameterInstructions(): {
46
+ [x: string]: unknown;
47
+ };
46
48
  };
47
49
  export declare class GetSnapshotBlockCommand extends GetSnapshotBlockCommand_base {
48
50
  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
  EBSClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface ListChangedBlocksCommandOutput
19
19
  declare const ListChangedBlocksCommand_base: {
20
20
  new (
21
21
  input: ListChangedBlocksCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ListChangedBlocksCommandInput,
24
24
  ListChangedBlocksCommandOutput,
25
25
  EBSClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ListChangedBlocksCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ListChangedBlocksCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ListChangedBlocksCommandInput,
33
33
  ListChangedBlocksCommandOutput,
34
34
  EBSClientResolvedConfig,
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 ListChangedBlocksCommand extends ListChangedBlocksCommand_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
  EBSClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface ListSnapshotBlocksCommandOutput
19
19
  declare const ListSnapshotBlocksCommand_base: {
20
20
  new (
21
21
  input: ListSnapshotBlocksCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ListSnapshotBlocksCommandInput,
24
24
  ListSnapshotBlocksCommandOutput,
25
25
  EBSClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ListSnapshotBlocksCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ListSnapshotBlocksCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ListSnapshotBlocksCommandInput,
33
33
  ListSnapshotBlocksCommandOutput,
34
34
  EBSClientResolvedConfig,
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 ListSnapshotBlocksCommand extends ListSnapshotBlocksCommand_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 {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadInputTypes,
@@ -27,7 +27,7 @@ export interface PutSnapshotBlockCommandOutput
27
27
  declare const PutSnapshotBlockCommand_base: {
28
28
  new (
29
29
  input: PutSnapshotBlockCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  PutSnapshotBlockCommandInput,
32
32
  PutSnapshotBlockCommandOutput,
33
33
  EBSClientResolvedConfig,
@@ -36,14 +36,16 @@ declare const PutSnapshotBlockCommand_base: {
36
36
  >;
37
37
  new (
38
38
  input: PutSnapshotBlockCommandInput
39
- ): import("@smithy/smithy-client").CommandImpl<
39
+ ): import("@smithy/core/client").CommandImpl<
40
40
  PutSnapshotBlockCommandInput,
41
41
  PutSnapshotBlockCommandOutput,
42
42
  EBSClientResolvedConfig,
43
43
  ServiceInputTypes,
44
44
  ServiceOutputTypes
45
45
  >;
46
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
46
+ getEndpointParameterInstructions(): {
47
+ [x: string]: unknown;
48
+ };
47
49
  };
48
50
  export declare class PutSnapshotBlockCommand extends PutSnapshotBlockCommand_base {
49
51
  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
  EBSClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface StartSnapshotCommandOutput
18
18
  declare const StartSnapshotCommand_base: {
19
19
  new (
20
20
  input: StartSnapshotCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  StartSnapshotCommandInput,
23
23
  StartSnapshotCommandOutput,
24
24
  EBSClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const StartSnapshotCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: StartSnapshotCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  StartSnapshotCommandInput,
32
32
  StartSnapshotCommandOutput,
33
33
  EBSClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class StartSnapshotCommand extends StartSnapshotCommand_base {
40
42
  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 EBSExtensionConfiguration
@@ -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 EBSServiceException 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 { EBSServiceException as __BaseException } from "./EBSServiceException";
3
3
  import {
4
4
  AccessDeniedExceptionReason,
@@ -3,7 +3,7 @@ import { EBSClientConfig } from "./EBSClient";
3
3
  export declare const getRuntimeConfig: (config: EBSClientConfig) => {
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: EBSClientConfig) => {
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 { EBSClientConfig } from "./EBSClient";
3
3
  export declare const getRuntimeConfig: (config: EBSClientConfig) => {
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: EBSClientConfig) => {
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: EBSClientConfig) => {
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: EBSClientConfig) => {
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
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
54
54
  customUserAgent?: string | import("@smithy/types").UserAgent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ebs",
3
3
  "description": "AWS SDK for JavaScript Ebs Client for Node.js, Browser and React Native",
4
- "version": "3.1045.0",
4
+ "version": "3.1047.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-ebs",
@@ -21,43 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.10",
25
+ "@aws-sdk/credential-provider-node": "^3.972.41",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.40",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/fetch-http-handler": "^5.3.17",
38
- "@smithy/hash-node": "^4.2.14",
39
- "@smithy/invalid-dependency": "^4.2.14",
40
- "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.7",
43
- "@smithy/middleware-serde": "^4.2.20",
44
- "@smithy/middleware-stack": "^4.2.14",
45
- "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.6.1",
47
- "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.26",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
49
38
  "@smithy/types": "^4.14.1",
50
- "@smithy/url-parser": "^4.2.14",
51
- "@smithy/util-base64": "^4.3.2",
52
- "@smithy/util-body-length-browser": "^4.2.2",
53
- "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.49",
55
- "@smithy/util-defaults-mode-node": "^4.2.54",
56
- "@smithy/util-endpoints": "^3.4.2",
57
- "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.6",
59
- "@smithy/util-stream": "^4.5.25",
60
- "@smithy/util-utf8": "^4.2.2",
61
39
  "tslib": "^2.6.2"
62
40
  },
63
41
  "devDependencies": {