@aws-sdk/client-migrationhubstrategy 3.803.0 → 3.806.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 (35) hide show
  1. package/dist-cjs/runtimeConfig.js +6 -6
  2. package/dist-es/runtimeConfig.js +6 -6
  3. package/dist-types/commands/GetApplicationComponentDetailsCommand.d.ts +1 -1
  4. package/dist-types/commands/GetApplicationComponentStrategiesCommand.d.ts +1 -1
  5. package/dist-types/commands/GetAssessmentCommand.d.ts +1 -1
  6. package/dist-types/commands/GetImportFileTaskCommand.d.ts +1 -1
  7. package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +1 -1
  8. package/dist-types/commands/GetServerDetailsCommand.d.ts +1 -1
  9. package/dist-types/commands/GetServerStrategiesCommand.d.ts +1 -1
  10. package/dist-types/commands/StartImportFileTaskCommand.d.ts +1 -1
  11. package/dist-types/commands/StopAssessmentCommand.d.ts +1 -1
  12. package/dist-types/commands/UpdateApplicationComponentConfigCommand.d.ts +1 -1
  13. package/dist-types/commands/UpdateServerConfigCommand.d.ts +1 -1
  14. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  15. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  16. package/dist-types/runtimeConfig.d.ts +16 -16
  17. package/dist-types/runtimeConfig.native.d.ts +18 -18
  18. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  19. package/dist-types/ts3.4/commands/GetApplicationComponentDetailsCommand.d.ts +1 -1
  20. package/dist-types/ts3.4/commands/GetApplicationComponentStrategiesCommand.d.ts +1 -1
  21. package/dist-types/ts3.4/commands/GetAssessmentCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/GetImportFileTaskCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/GetRecommendationReportDetailsCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/GetServerDetailsCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/GetServerStrategiesCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/StartImportFileTaskCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/StopAssessmentCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/UpdateApplicationComponentConfigCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/UpdateServerConfigCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  35. package/package.json +22 -22
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
- const profileConfig = { profile: config?.profile };
26
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
27
27
  return {
28
28
  ...clientSharedValues,
29
29
  ...config,
30
30
  runtime: "node",
31
31
  defaultsMode,
32
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
32
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
33
33
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
34
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
35
35
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
36
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
37
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
38
38
  region: config?.region ??
39
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
39
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
40
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
41
41
  retryMode: config?.retryMode ??
42
42
  (0, node_config_provider_1.loadConfig)({
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
45
45
  }, config),
46
46
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
47
47
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
48
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
50
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
51
51
  };
52
52
  };
53
53
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const profileConfig = { profile: config?.profile };
22
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
26
26
  runtime: "node",
27
27
  defaultsMode,
28
- authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
28
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
31
31
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
32
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
33
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
34
34
  region: config?.region ??
35
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
37
  retryMode: config?.retryMode ??
38
38
  loadNodeConfig({
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
41
41
  }, config),
42
42
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
43
  streamCollector: config?.streamCollector ?? streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
47
  };
48
48
  };
@@ -23,7 +23,7 @@ export interface GetApplicationComponentDetailsCommandOutput extends GetApplicat
23
23
  }
24
24
  declare const GetApplicationComponentDetailsCommand_base: {
25
25
  new (input: GetApplicationComponentDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentDetailsCommandInput, GetApplicationComponentDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetApplicationComponentDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentDetailsCommandInput, GetApplicationComponentDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetApplicationComponentDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentDetailsCommandInput, GetApplicationComponentDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetApplicationComponentStrategiesCommandOutput extends GetAppli
23
23
  }
24
24
  declare const GetApplicationComponentStrategiesCommand_base: {
25
25
  new (input: GetApplicationComponentStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetApplicationComponentStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetApplicationComponentStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __Met
23
23
  }
24
24
  declare const GetAssessmentCommand_base: {
25
25
  new (input: GetAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssessmentCommandInput, GetAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssessmentCommandInput, GetAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssessmentCommandInput, GetAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetImportFileTaskCommandOutput extends GetImportFileTaskRespons
23
23
  }
24
24
  declare const GetImportFileTaskCommand_base: {
25
25
  new (input: GetImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetImportFileTaskCommandInput, GetImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetImportFileTaskCommandInput, GetImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetImportFileTaskCommandInput, GetImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetRecommendationReportDetailsCommandOutput extends GetRecommen
23
23
  }
24
24
  declare const GetRecommendationReportDetailsCommand_base: {
25
25
  new (input: GetRecommendationReportDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetRecommendationReportDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRecommendationReportDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetServerDetailsCommandOutput extends GetServerDetailsResponse,
23
23
  }
24
24
  declare const GetServerDetailsCommand_base: {
25
25
  new (input: GetServerDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerDetailsCommandInput, GetServerDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetServerDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerDetailsCommandInput, GetServerDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetServerDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerDetailsCommandInput, GetServerDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetServerStrategiesCommandOutput extends GetServerStrategiesRes
23
23
  }
24
24
  declare const GetServerStrategiesCommand_base: {
25
25
  new (input: GetServerStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetServerStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetServerStrategiesCommandInput): import("@smithy/smithy-client").CommandImpl<GetServerStrategiesCommandInput, GetServerStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface StartImportFileTaskCommandOutput extends StartImportFileTaskRes
23
23
  }
24
24
  declare const StartImportFileTaskCommand_base: {
25
25
  new (input: StartImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartImportFileTaskCommandInput, StartImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StartImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartImportFileTaskCommandInput, StartImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartImportFileTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartImportFileTaskCommandInput, StartImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface StopAssessmentCommandOutput extends StopAssessmentResponse, __M
23
23
  }
24
24
  declare const StopAssessmentCommand_base: {
25
25
  new (input: StopAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<StopAssessmentCommandInput, StopAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StopAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<StopAssessmentCommandInput, StopAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopAssessmentCommandInput): import("@smithy/smithy-client").CommandImpl<StopAssessmentCommandInput, StopAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UpdateApplicationComponentConfigCommandOutput extends UpdateApp
23
23
  }
24
24
  declare const UpdateApplicationComponentConfigCommand_base: {
25
25
  new (input: UpdateApplicationComponentConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationComponentConfigCommandInput, UpdateApplicationComponentConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateApplicationComponentConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationComponentConfigCommandInput, UpdateApplicationComponentConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateApplicationComponentConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationComponentConfigCommandInput, UpdateApplicationComponentConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UpdateServerConfigCommandOutput extends UpdateServerConfigRespo
23
23
  }
24
24
  declare const UpdateServerConfigCommand_base: {
25
25
  new (input: UpdateServerConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateServerConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateServerConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput, MigrationHubStrategyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
13
13
  };
14
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
- defaultSigningName: string;
16
- };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
17
15
  export declare const commonParams: {
18
16
  readonly UseFIPS: {
19
17
  readonly type: "builtInParams";
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-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
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
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
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -21,30 +21,30 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: (_input: string | Uint8Array) => string;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: (input: string | Uint8Array) => string;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
- profile?: string | undefined;
29
+ profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
35
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
- logger?: import("@smithy/types").Logger | undefined;
37
+ logger?: import("@smithy/types").Logger;
38
38
  }) => import("@smithy/types").EndpointV2;
39
- tls?: boolean | undefined;
40
- serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
44
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
50
  };
@@ -8,8 +8,8 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
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
15
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -23,28 +23,28 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
23
23
  cacheMiddleware?: boolean | undefined;
24
24
  urlParser: import("@smithy/types").UrlParser;
25
25
  base64Decoder: import("@smithy/types").Decoder;
26
- base64Encoder: (_input: string | Uint8Array) => string;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
27
  utf8Decoder: import("@smithy/types").Decoder;
28
- utf8Encoder: (input: string | Uint8Array) => string;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
29
  disableHostPrefix: boolean;
30
30
  serviceId: string;
31
- profile?: string | undefined;
31
+ profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
36
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
37
37
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
- logger?: import("@smithy/types").Logger | undefined;
38
+ logger?: import("@smithy/types").Logger;
39
39
  }) => import("@smithy/types").EndpointV2;
40
- tls?: boolean | undefined;
41
- serviceConfiguredEndpoint?: undefined;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
44
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
50
  };
@@ -7,43 +7,43 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
7
7
  sha256: import("@smithy/types").HashConstructor;
8
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;
9
9
  apiVersion: string;
10
- cacheMiddleware?: boolean | undefined;
10
+ cacheMiddleware?: boolean;
11
11
  urlParser: import("@smithy/types").UrlParser;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
13
  streamCollector: import("@smithy/types").StreamCollector;
14
14
  base64Decoder: import("@smithy/types").Decoder;
15
- base64Encoder: (_input: string | Uint8Array) => string;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
- utf8Encoder: (input: string | Uint8Array) => string;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- profile?: string | undefined;
24
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
25
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
30
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
- logger?: import("@smithy/types").Logger | undefined;
36
+ logger?: import("@smithy/types").Logger;
37
37
  }) => import("@smithy/types").EndpointV2;
38
- tls?: boolean | undefined;
39
- serviceConfiguredEndpoint?: undefined;
40
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
42
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
43
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
44
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
45
- signingEscapePath?: boolean | undefined;
46
- systemClockOffset?: number | undefined;
47
- signingRegion?: string | undefined;
48
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
49
  };
@@ -5,10 +5,10 @@ import { MigrationHubStrategyClientConfig } from "./MigrationHubStrategyClient";
5
5
  export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: (_input: string | Uint8Array) => string;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger?: import("@smithy/types").Logger | undefined;
11
+ logger?: import("@smithy/types").Logger;
12
12
  }) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: MigrationHubStrategyClientConfig
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
21
  };
@@ -27,7 +27,7 @@ declare const GetApplicationComponentDetailsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetApplicationComponentDetailsCommandInput
30
+ input: GetApplicationComponentDetailsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetApplicationComponentDetailsCommandInput,
33
33
  GetApplicationComponentDetailsCommandOutput,
@@ -27,7 +27,7 @@ declare const GetApplicationComponentStrategiesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetApplicationComponentStrategiesCommandInput
30
+ input: GetApplicationComponentStrategiesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetApplicationComponentStrategiesCommandInput,
33
33
  GetApplicationComponentStrategiesCommandOutput,
@@ -26,7 +26,7 @@ declare const GetAssessmentCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetAssessmentCommandInput
29
+ input: GetAssessmentCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetAssessmentCommandInput,
32
32
  GetAssessmentCommandOutput,
@@ -27,7 +27,7 @@ declare const GetImportFileTaskCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetImportFileTaskCommandInput
30
+ input: GetImportFileTaskCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetImportFileTaskCommandInput,
33
33
  GetImportFileTaskCommandOutput,
@@ -27,7 +27,7 @@ declare const GetRecommendationReportDetailsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetRecommendationReportDetailsCommandInput
30
+ input: GetRecommendationReportDetailsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetRecommendationReportDetailsCommandInput,
33
33
  GetRecommendationReportDetailsCommandOutput,
@@ -26,7 +26,7 @@ declare const GetServerDetailsCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetServerDetailsCommandInput
29
+ input: GetServerDetailsCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetServerDetailsCommandInput,
32
32
  GetServerDetailsCommandOutput,
@@ -27,7 +27,7 @@ declare const GetServerStrategiesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetServerStrategiesCommandInput
30
+ input: GetServerStrategiesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetServerStrategiesCommandInput,
33
33
  GetServerStrategiesCommandOutput,
@@ -27,7 +27,7 @@ declare const StartImportFileTaskCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartImportFileTaskCommandInput
30
+ input: StartImportFileTaskCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartImportFileTaskCommandInput,
33
33
  StartImportFileTaskCommandOutput,
@@ -26,7 +26,7 @@ declare const StopAssessmentCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: StopAssessmentCommandInput
29
+ input: StopAssessmentCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  StopAssessmentCommandInput,
32
32
  StopAssessmentCommandOutput,
@@ -27,7 +27,7 @@ declare const UpdateApplicationComponentConfigCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: UpdateApplicationComponentConfigCommandInput
30
+ input: UpdateApplicationComponentConfigCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  UpdateApplicationComponentConfigCommandInput,
33
33
  UpdateApplicationComponentConfigCommandOutput,
@@ -27,7 +27,7 @@ declare const UpdateServerConfigCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: UpdateServerConfigCommandInput
30
+ input: UpdateServerConfigCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  UpdateServerConfigCommandInput,
33
33
  UpdateServerConfigCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -14,9 +14,7 @@ export declare const getRuntimeConfig: (
14
14
  _: unknown
15
15
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
16
  defaultUserAgentProvider: (
17
- config?:
18
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
19
- | undefined
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
20
18
  ) => Promise<import("@smithy/types").UserAgent>;
21
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
22
20
  region: string | import("@smithy/types").Provider<any>;
@@ -32,23 +30,22 @@ export declare const getRuntimeConfig: (
32
30
  cacheMiddleware?: boolean | undefined;
33
31
  urlParser: import("@smithy/types").UrlParser;
34
32
  base64Decoder: import("@smithy/types").Decoder;
35
- base64Encoder: (_input: string | Uint8Array) => string;
33
+ base64Encoder: (_input: Uint8Array | string) => string;
36
34
  utf8Decoder: import("@smithy/types").Decoder;
37
- utf8Encoder: (input: string | Uint8Array) => string;
35
+ utf8Encoder: (input: Uint8Array | string) => string;
38
36
  disableHostPrefix: boolean;
39
37
  serviceId: string;
40
- profile?: string | undefined;
38
+ profile?: string;
41
39
  logger: import("@smithy/types").Logger;
42
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ customUserAgent?: string | import("@smithy/types").UserAgent;
44
42
  userAgentAppId?:
45
43
  | string
46
- | import("@smithy/types").Provider<string | undefined>
47
- | undefined;
44
+ | undefined
45
+ | import("@smithy/types").Provider<string | undefined>;
48
46
  retryStrategy?:
49
47
  | import("@smithy/types").RetryStrategy
50
- | import("@smithy/types").RetryStrategyV2
51
- | undefined;
48
+ | import("@smithy/types").RetryStrategyV2;
52
49
  endpoint?:
53
50
  | ((
54
51
  | string
@@ -69,34 +66,27 @@ export declare const getRuntimeConfig: (
69
66
  endpointProvider: (
70
67
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
68
  context?: {
72
- logger?: import("@smithy/types").Logger | undefined;
69
+ logger?: import("@smithy/types").Logger;
73
70
  }
74
71
  ) => import("@smithy/types").EndpointV2;
75
- tls?: boolean | undefined;
76
- serviceConfiguredEndpoint?: undefined;
77
- authSchemePreference?:
78
- | string[]
79
- | import("@smithy/types").Provider<string[]>
80
- | undefined;
72
+ tls?: boolean;
73
+ serviceConfiguredEndpoint?: never;
74
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
81
75
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
82
76
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
83
77
  credentials?:
84
78
  | import("@smithy/types").AwsCredentialIdentity
85
- | import("@smithy/types").AwsCredentialIdentityProvider
86
- | undefined;
79
+ | import("@smithy/types").AwsCredentialIdentityProvider;
87
80
  signer?:
88
81
  | import("@smithy/types").RequestSigner
89
82
  | ((
90
- authScheme?: import("@smithy/types").AuthScheme | undefined
91
- ) => Promise<import("@smithy/types").RequestSigner>)
92
- | undefined;
93
- signingEscapePath?: boolean | undefined;
94
- systemClockOffset?: number | undefined;
95
- signingRegion?: string | undefined;
96
- signerConstructor?:
97
- | (new (
98
- options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
100
- ) => import("@smithy/types").RequestSigner)
101
- | undefined;
83
+ authScheme?: import("@smithy/types").AuthScheme
84
+ ) => Promise<import("@smithy/types").RequestSigner>);
85
+ signingEscapePath?: boolean;
86
+ systemClockOffset?: number;
87
+ signingRegion?: string;
88
+ signerConstructor?: new (
89
+ options: import("@smithy/signature-v4").SignatureV4Init &
90
+ import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ ) => import("@smithy/types").RequestSigner;
102
92
  };
@@ -12,16 +12,12 @@ export declare const getRuntimeConfig: (
12
12
  credentialDefaultProvider:
13
13
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
14
  | ((
15
- init?:
16
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
17
- | undefined
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
18
16
  ) => import("@smithy/types").MemoizedProvider<
19
17
  import("@smithy/types").AwsCredentialIdentity
20
18
  >);
21
19
  defaultUserAgentProvider: (
22
- config?:
23
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
24
- | undefined
20
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
25
21
  ) => Promise<import("@smithy/types").UserAgent>;
26
22
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
23
  region: string | import("@smithy/types").Provider<string>;
@@ -38,19 +34,18 @@ export declare const getRuntimeConfig: (
38
34
  cacheMiddleware?: boolean | undefined;
39
35
  urlParser: import("@smithy/types").UrlParser;
40
36
  base64Decoder: import("@smithy/types").Decoder;
41
- base64Encoder: (_input: string | Uint8Array) => string;
37
+ base64Encoder: (_input: Uint8Array | string) => string;
42
38
  utf8Decoder: import("@smithy/types").Decoder;
43
- utf8Encoder: (input: string | Uint8Array) => string;
39
+ utf8Encoder: (input: Uint8Array | string) => string;
44
40
  disableHostPrefix: boolean;
45
41
  serviceId: string;
46
- profile?: string | undefined;
42
+ profile?: string;
47
43
  logger: import("@smithy/types").Logger;
48
44
  extensions: import("./runtimeExtensions").RuntimeExtension[];
49
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
46
  retryStrategy?:
51
47
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
48
+ | import("@smithy/types").RetryStrategyV2;
54
49
  endpoint?:
55
50
  | ((
56
51
  | string
@@ -71,30 +66,26 @@ export declare const getRuntimeConfig: (
71
66
  endpointProvider: (
72
67
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
68
  context?: {
74
- logger?: import("@smithy/types").Logger | undefined;
69
+ logger?: import("@smithy/types").Logger;
75
70
  }
76
71
  ) => import("@smithy/types").EndpointV2;
77
- tls?: boolean | undefined;
78
- serviceConfiguredEndpoint?: undefined;
72
+ tls?: boolean;
73
+ serviceConfiguredEndpoint?: never;
79
74
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
75
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
81
76
  credentials?:
82
77
  | import("@smithy/types").AwsCredentialIdentity
83
- | import("@smithy/types").AwsCredentialIdentityProvider
84
- | undefined;
78
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
79
  signer?:
86
80
  | import("@smithy/types").RequestSigner
87
81
  | ((
88
- authScheme?: import("@smithy/types").AuthScheme | undefined
89
- ) => Promise<import("@smithy/types").RequestSigner>)
90
- | undefined;
91
- signingEscapePath?: boolean | undefined;
92
- systemClockOffset?: number | undefined;
93
- signingRegion?: string | undefined;
94
- signerConstructor?:
95
- | (new (
96
- options: import("@smithy/signature-v4").SignatureV4Init &
97
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
- ) => import("@smithy/types").RequestSigner)
99
- | undefined;
82
+ authScheme?: import("@smithy/types").AuthScheme
83
+ ) => Promise<import("@smithy/types").RequestSigner>);
84
+ signingEscapePath?: boolean;
85
+ systemClockOffset?: number;
86
+ signingRegion?: string;
87
+ signerConstructor?: new (
88
+ options: import("@smithy/signature-v4").SignatureV4Init &
89
+ import("@smithy/signature-v4").SignatureV4CryptoInit
90
+ ) => import("@smithy/types").RequestSigner;
100
91
  };
@@ -11,24 +11,22 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
- cacheMiddleware?: boolean | undefined;
14
+ cacheMiddleware?: boolean;
15
15
  urlParser: import("@smithy/types").UrlParser;
16
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  base64Decoder: import("@smithy/types").Decoder;
19
- base64Encoder: (_input: string | Uint8Array) => string;
19
+ base64Encoder: (_input: Uint8Array | string) => string;
20
20
  utf8Decoder: import("@smithy/types").Decoder;
21
- utf8Encoder: (input: string | Uint8Array) => string;
21
+ utf8Encoder: (input: Uint8Array | string) => string;
22
22
  disableHostPrefix: boolean;
23
23
  serviceId: string;
24
24
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  region: string | import("@smithy/types").Provider<any>;
27
- profile?: string | undefined;
27
+ profile?: string;
28
28
  defaultUserAgentProvider: (
29
- config?:
30
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
- | undefined
29
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
32
30
  ) => Promise<import("@smithy/types").UserAgent>;
33
31
  credentialDefaultProvider:
34
32
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -44,15 +42,14 @@ export declare const getRuntimeConfig: (
44
42
  | import("@smithy/types").Provider<
45
43
  import("@smithy/smithy-client").DefaultsMode
46
44
  >;
47
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
46
  userAgentAppId?:
49
47
  | string
50
- | import("@smithy/types").Provider<string | undefined>
51
- | undefined;
48
+ | undefined
49
+ | import("@smithy/types").Provider<string | undefined>;
52
50
  retryStrategy?:
53
51
  | import("@smithy/types").RetryStrategy
54
- | import("@smithy/types").RetryStrategyV2
55
- | undefined;
52
+ | import("@smithy/types").RetryStrategyV2;
56
53
  endpoint?:
57
54
  | ((
58
55
  | string
@@ -73,34 +70,27 @@ export declare const getRuntimeConfig: (
73
70
  endpointProvider: (
74
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
75
72
  context?: {
76
- logger?: import("@smithy/types").Logger | undefined;
73
+ logger?: import("@smithy/types").Logger;
77
74
  }
78
75
  ) => import("@smithy/types").EndpointV2;
79
- tls?: boolean | undefined;
80
- serviceConfiguredEndpoint?: undefined;
81
- authSchemePreference?:
82
- | string[]
83
- | import("@smithy/types").Provider<string[]>
84
- | undefined;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
78
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
85
79
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
86
80
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubStrategyHttpAuthSchemeProvider;
87
81
  credentials?:
88
82
  | import("@smithy/types").AwsCredentialIdentity
89
- | import("@smithy/types").AwsCredentialIdentityProvider
90
- | undefined;
83
+ | import("@smithy/types").AwsCredentialIdentityProvider;
91
84
  signer?:
92
85
  | import("@smithy/types").RequestSigner
93
86
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme | undefined
95
- ) => Promise<import("@smithy/types").RequestSigner>)
96
- | undefined;
97
- signingEscapePath?: boolean | undefined;
98
- systemClockOffset?: number | undefined;
99
- signingRegion?: string | undefined;
100
- signerConstructor?:
101
- | (new (
102
- options: import("@smithy/signature-v4").SignatureV4Init &
103
- import("@smithy/signature-v4").SignatureV4CryptoInit
104
- ) => import("@smithy/types").RequestSigner)
105
- | undefined;
87
+ authScheme?: import("@smithy/types").AuthScheme
88
+ ) => Promise<import("@smithy/types").RequestSigner>);
89
+ signingEscapePath?: boolean;
90
+ systemClockOffset?: number;
91
+ signingRegion?: string;
92
+ signerConstructor?: new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner;
106
96
  };
@@ -4,12 +4,12 @@ export declare const getRuntimeConfig: (
4
4
  ) => {
5
5
  apiVersion: string;
6
6
  base64Decoder: import("@smithy/types").Decoder;
7
- base64Encoder: (_input: string | Uint8Array) => string;
7
+ base64Encoder: (_input: Uint8Array | string) => string;
8
8
  disableHostPrefix: boolean;
9
9
  endpointProvider: (
10
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
11
  context?: {
12
- logger?: import("@smithy/types").Logger | undefined;
12
+ logger?: import("@smithy/types").Logger;
13
13
  }
14
14
  ) => import("@smithy/types").EndpointV2;
15
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
19
19
  serviceId: string;
20
20
  urlParser: import("@smithy/types").UrlParser;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: (input: string | Uint8Array) => string;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
23
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhubstrategy",
3
3
  "description": "AWS SDK for JavaScript Migrationhubstrategy Client for Node.js, Browser and React Native",
4
- "version": "3.803.0",
4
+ "version": "3.806.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migrationhubstrategy",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.803.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
34
- "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
23
+ "@aws-sdk/core": "3.806.0",
24
+ "@aws-sdk/credential-provider-node": "3.806.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.806.0",
29
+ "@aws-sdk/region-config-resolver": "3.806.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.806.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.806.0",
34
+ "@smithy/config-resolver": "^4.1.1",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.1",
41
- "@smithy/middleware-retry": "^4.1.2",
40
+ "@smithy/middleware-endpoint": "^4.1.3",
41
+ "@smithy/middleware-retry": "^4.1.4",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
- "@smithy/node-config-provider": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.1.0",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.1",
47
+ "@smithy/smithy-client": "^4.2.3",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.9",
54
- "@smithy/util-defaults-mode-node": "^4.0.9",
55
- "@smithy/util-endpoints": "^3.0.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
54
+ "@smithy/util-defaults-mode-node": "^4.0.11",
55
+ "@smithy/util-endpoints": "^3.0.3",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-utf8": "^4.0.0",
@@ -64,7 +64,7 @@
64
64
  "concurrently": "7.0.0",
65
65
  "downlevel-dts": "0.10.1",
66
66
  "rimraf": "3.0.2",
67
- "typescript": "~5.2.2"
67
+ "typescript": "~5.8.3"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=18.0.0"