@aws-sdk/client-migrationhub-config 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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1085.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -23,64 +23,64 @@ import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
23
23
  export interface MigrationHubConfig {
24
24
  createHomeRegionControl(
25
25
  args: CreateHomeRegionControlCommandInput,
26
- options?: __HttpHandlerOptions
26
+ options?: __HttpHandlerOptions,
27
27
  ): Promise<CreateHomeRegionControlCommandOutput>;
28
28
  createHomeRegionControl(
29
29
  args: CreateHomeRegionControlCommandInput,
30
- cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void
30
+ cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void,
31
31
  ): void;
32
32
  createHomeRegionControl(
33
33
  args: CreateHomeRegionControlCommandInput,
34
34
  options: __HttpHandlerOptions,
35
- cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void
35
+ cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void,
36
36
  ): void;
37
37
  deleteHomeRegionControl(
38
38
  args: DeleteHomeRegionControlCommandInput,
39
- options?: __HttpHandlerOptions
39
+ options?: __HttpHandlerOptions,
40
40
  ): Promise<DeleteHomeRegionControlCommandOutput>;
41
41
  deleteHomeRegionControl(
42
42
  args: DeleteHomeRegionControlCommandInput,
43
- cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void
43
+ cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void,
44
44
  ): void;
45
45
  deleteHomeRegionControl(
46
46
  args: DeleteHomeRegionControlCommandInput,
47
47
  options: __HttpHandlerOptions,
48
- cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void
48
+ cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void,
49
49
  ): void;
50
50
  describeHomeRegionControls(): Promise<DescribeHomeRegionControlsCommandOutput>;
51
51
  describeHomeRegionControls(
52
52
  args: DescribeHomeRegionControlsCommandInput,
53
- options?: __HttpHandlerOptions
53
+ options?: __HttpHandlerOptions,
54
54
  ): Promise<DescribeHomeRegionControlsCommandOutput>;
55
55
  describeHomeRegionControls(
56
56
  args: DescribeHomeRegionControlsCommandInput,
57
- cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void
57
+ cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void,
58
58
  ): void;
59
59
  describeHomeRegionControls(
60
60
  args: DescribeHomeRegionControlsCommandInput,
61
61
  options: __HttpHandlerOptions,
62
- cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void
62
+ cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void,
63
63
  ): void;
64
64
  getHomeRegion(): Promise<GetHomeRegionCommandOutput>;
65
65
  getHomeRegion(
66
66
  args: GetHomeRegionCommandInput,
67
- options?: __HttpHandlerOptions
67
+ options?: __HttpHandlerOptions,
68
68
  ): Promise<GetHomeRegionCommandOutput>;
69
69
  getHomeRegion(
70
70
  args: GetHomeRegionCommandInput,
71
- cb: (err: any, data?: GetHomeRegionCommandOutput) => void
71
+ cb: (err: any, data?: GetHomeRegionCommandOutput) => void,
72
72
  ): void;
73
73
  getHomeRegion(
74
74
  args: GetHomeRegionCommandInput,
75
75
  options: __HttpHandlerOptions,
76
- cb: (err: any, data?: GetHomeRegionCommandOutput) => void
76
+ cb: (err: any, data?: GetHomeRegionCommandOutput) => void,
77
77
  ): void;
78
78
  paginateDescribeHomeRegionControls(
79
79
  args?: DescribeHomeRegionControlsCommandInput,
80
80
  paginationConfig?: Pick<
81
81
  PaginationConfiguration,
82
82
  Exclude<keyof PaginationConfiguration, "client">
83
- >
83
+ >,
84
84
  ): Paginator<DescribeHomeRegionControlsCommandOutput>;
85
85
  }
86
86
  export declare class MigrationHubConfig
@@ -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 {
@@ -69,8 +66,7 @@ export type ServiceOutputTypes =
69
66
  | DeleteHomeRegionControlCommandOutput
70
67
  | DescribeHomeRegionControlsCommandOutput
71
68
  | GetHomeRegionCommandOutput;
72
- export interface ClientDefaults
73
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
69
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
74
70
  requestHandler?: __HttpHandlerUserInput;
75
71
  sha256?: __ChecksumConstructor | __HashConstructor;
76
72
  urlParser?: __UrlParser;
@@ -106,8 +102,7 @@ export type MigrationHubConfigClientConfigType = Partial<
106
102
  EndpointInputConfig<EndpointParameters> &
107
103
  HttpAuthSchemeInputConfig &
108
104
  ClientInputEndpointParameters;
109
- export interface MigrationHubConfigClientConfig
110
- extends MigrationHubConfigClientConfigType {}
105
+ export interface MigrationHubConfigClientConfig extends MigrationHubConfigClientConfigType {}
111
106
  export type MigrationHubConfigClientResolvedConfigType =
112
107
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
113
108
  Required<ClientDefaults> &
@@ -119,8 +114,7 @@ export type MigrationHubConfigClientResolvedConfigType =
119
114
  EndpointResolvedConfig<EndpointParameters> &
120
115
  HttpAuthSchemeResolvedConfig &
121
116
  ClientResolvedEndpointParameters;
122
- export interface MigrationHubConfigClientResolvedConfig
123
- extends MigrationHubConfigClientResolvedConfigType {}
117
+ export interface MigrationHubConfigClientResolvedConfig extends MigrationHubConfigClientResolvedConfigType {}
124
118
  export declare class MigrationHubConfigClient extends __Client<
125
119
  __HttpHandlerOptions,
126
120
  ServiceInputTypes,
@@ -128,10 +122,6 @@ export declare class MigrationHubConfigClient extends __Client<
128
122
  MigrationHubConfigClientResolvedConfig
129
123
  > {
130
124
  readonly config: MigrationHubConfigClientResolvedConfig;
131
- constructor(
132
- ...[
133
- configuration,
134
- ]: __CheckOptionalClientConfig<MigrationHubConfigClientConfig>
135
- );
125
+ constructor(...[configuration]: __CheckOptionalClientConfig<MigrationHubConfigClientConfig>);
136
126
  destroy(): void;
137
127
  }
@@ -7,17 +7,10 @@ import { MigrationHubConfigHttpAuthSchemeProvider } from "./httpAuthSchemeProvid
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: MigrationHubConfigHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: MigrationHubConfigHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): MigrationHubConfigHttpAuthSchemeProvider;
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;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { MigrationHubConfigClientResolvedConfig } from "../MigrationHubConfigClient";
15
- export interface MigrationHubConfigHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface MigrationHubConfigHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface MigrationHubConfigHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- MigrationHubConfigClientResolvedConfig,
22
- HandlerExecutionContext,
23
- MigrationHubConfigHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface MigrationHubConfigHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ MigrationHubConfigClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ MigrationHubConfigHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultMigrationHubConfigHttpAuthSchemeParametersProvider: (
27
25
  config: MigrationHubConfigClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<MigrationHubConfigHttpAuthSchemeParameters>;
31
- export interface MigrationHubConfigHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<MigrationHubConfigHttpAuthSchemeParameters> {}
29
+ export interface MigrationHubConfigHttpAuthSchemeProvider extends HttpAuthSchemeProvider<MigrationHubConfigHttpAuthSchemeParameters> {}
33
30
  export declare const defaultMigrationHubConfigHttpAuthSchemeProvider: MigrationHubConfigHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: MigrationHubConfigHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: MigrationHubConfigHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./MigrationHubConfigClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  MigrationHubConfigClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ 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
- CreateHomeRegionControlRequest,
4
- CreateHomeRegionControlResult,
5
- } from "../models/models_0";
2
+ import { CreateHomeRegionControlRequest, CreateHomeRegionControlResult } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface CreateHomeRegionControlCommandInput
8
- extends CreateHomeRegionControlRequest {}
4
+ export interface CreateHomeRegionControlCommandInput extends CreateHomeRegionControlRequest {}
9
5
  export interface CreateHomeRegionControlCommandOutput
10
- extends CreateHomeRegionControlResult,
11
- __MetadataBearer {}
6
+ extends CreateHomeRegionControlResult, __MetadataBearer {}
12
7
  declare const CreateHomeRegionControlCommand_base: {
13
8
  new (
14
- input: CreateHomeRegionControlCommandInput
9
+ input: CreateHomeRegionControlCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  CreateHomeRegionControlCommandInput,
17
12
  CreateHomeRegionControlCommandOutput,
@@ -20,7 +15,7 @@ declare const CreateHomeRegionControlCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: CreateHomeRegionControlCommandInput
18
+ input: CreateHomeRegionControlCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  CreateHomeRegionControlCommandInput,
26
21
  CreateHomeRegionControlCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DeleteHomeRegionControlRequest,
4
- DeleteHomeRegionControlResult,
5
- } from "../models/models_0";
2
+ import { DeleteHomeRegionControlRequest, DeleteHomeRegionControlResult } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface DeleteHomeRegionControlCommandInput
8
- extends DeleteHomeRegionControlRequest {}
4
+ export interface DeleteHomeRegionControlCommandInput extends DeleteHomeRegionControlRequest {}
9
5
  export interface DeleteHomeRegionControlCommandOutput
10
- extends DeleteHomeRegionControlResult,
11
- __MetadataBearer {}
6
+ extends DeleteHomeRegionControlResult, __MetadataBearer {}
12
7
  declare const DeleteHomeRegionControlCommand_base: {
13
8
  new (
14
- input: DeleteHomeRegionControlCommandInput
9
+ input: DeleteHomeRegionControlCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  DeleteHomeRegionControlCommandInput,
17
12
  DeleteHomeRegionControlCommandOutput,
@@ -20,7 +15,7 @@ declare const DeleteHomeRegionControlCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: DeleteHomeRegionControlCommandInput
18
+ input: DeleteHomeRegionControlCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  DeleteHomeRegionControlCommandInput,
26
21
  DeleteHomeRegionControlCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  DescribeHomeRegionControlsResult,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface DescribeHomeRegionControlsCommandInput
8
- extends DescribeHomeRegionControlsRequest {}
7
+ export interface DescribeHomeRegionControlsCommandInput extends DescribeHomeRegionControlsRequest {}
9
8
  export interface DescribeHomeRegionControlsCommandOutput
10
- extends DescribeHomeRegionControlsResult,
11
- __MetadataBearer {}
9
+ extends DescribeHomeRegionControlsResult, __MetadataBearer {}
12
10
  declare const DescribeHomeRegionControlsCommand_base: {
13
11
  new (
14
- input: DescribeHomeRegionControlsCommandInput
12
+ input: DescribeHomeRegionControlsCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  DescribeHomeRegionControlsCommandInput,
17
15
  DescribeHomeRegionControlsCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {}
5
- export interface GetHomeRegionCommandOutput
6
- extends GetHomeRegionResult,
7
- __MetadataBearer {}
5
+ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __MetadataBearer {}
8
6
  declare const GetHomeRegionCommand_base: {
9
7
  new (
10
- input: GetHomeRegionCommandInput
8
+ input: GetHomeRegionCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  GetHomeRegionCommandInput,
13
11
  GetHomeRegionCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface MigrationHubConfigExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -4,9 +4,7 @@ export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
6
  Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
8
  }
11
9
  export declare class DryRunOperation extends __BaseException {
12
10
  readonly name: "DryRunOperation";
@@ -18,32 +16,24 @@ export declare class InternalServerError extends __BaseException {
18
16
  readonly name: "InternalServerError";
19
17
  readonly $fault: "server";
20
18
  Message?: string | undefined;
21
- constructor(
22
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
23
- );
19
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
24
20
  }
25
21
  export declare class InvalidInputException extends __BaseException {
26
22
  readonly name: "InvalidInputException";
27
23
  readonly $fault: "client";
28
24
  Message?: string | undefined;
29
- constructor(
30
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
31
- );
25
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
32
26
  }
33
27
  export declare class ServiceUnavailableException extends __BaseException {
34
28
  readonly name: "ServiceUnavailableException";
35
29
  readonly $fault: "server";
36
30
  Message?: string | undefined;
37
- constructor(
38
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
39
- );
31
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
40
32
  }
41
33
  export declare class ThrottlingException extends __BaseException {
42
34
  readonly name: "ThrottlingException";
43
35
  readonly $fault: "client";
44
36
  Message: string | undefined;
45
37
  RetryAfterSeconds?: number | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
48
- );
38
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
49
39
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { MigrationHubConfigClient } from "../MigrationHubConfigClient";
3
- export interface MigrationHubConfigPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface MigrationHubConfigPaginationConfiguration extends PaginationConfiguration {
5
4
  client: MigrationHubConfigClient;
6
5
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
- export declare const getRuntimeConfig: (
4
- config: MigrationHubConfigClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
96
81
  signer?:
97
82
  | import("@smithy/types").RequestSigner
98
83
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
100
85
  ) => Promise<import("@smithy/types").RequestSigner>);
101
86
  signingEscapePath?: boolean;
102
87
  systemClockOffset?: number;
103
88
  signingRegion?: string;
104
89
  signerConstructor?: new (
105
90
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
92
  ) => import("@smithy/types").RequestSigner;
108
93
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
- export declare const getRuntimeConfig: (
4
- config: MigrationHubConfigClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- retryStrategy?:
59
- | import("@smithy/types").RetryStrategy
60
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
61
51
  endpoint?:
62
52
  | ((
63
53
  | string
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
79
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
70
  context?: {
81
71
  logger?: import("@smithy/types").Logger;
82
- }
72
+ },
83
73
  ) => import("@smithy/types").EndpointV2;
84
74
  tls?: boolean;
85
75
  serviceConfiguredEndpoint?: never;
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
91
81
  signer?:
92
82
  | import("@smithy/types").RequestSigner
93
83
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
95
85
  ) => Promise<import("@smithy/types").RequestSigner>);
96
86
  signingEscapePath?: boolean;
97
87
  systemClockOffset?: number;
98
88
  signingRegion?: string;
99
89
  signerConstructor?: new (
100
90
  options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
102
92
  ) => import("@smithy/types").RequestSigner;
103
93
  };
@@ -1,7 +1,5 @@
1
1
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
2
- export declare const getRuntimeConfig: (
3
- config: MigrationHubConfigClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
107
92
  signingRegion?: string;
108
93
  signerConstructor?: new (
109
94
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
96
  ) => import("@smithy/types").RequestSigner;
112
97
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
- export declare const getRuntimeConfig: (
4
- config: MigrationHubConfigClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubConfigHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { MigrationHubConfigExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: MigrationHubConfigExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: MigrationHubConfigExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var MigrationHubConfigServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var DryRunOperation$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migrationhub-config",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-migrationhub-config"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migrationhub-config",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-migrationhub-config"
68
68
  }
69
69
  }