@aws-sdk/client-mgn 3.1046.0 → 3.1048.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const client_1 = require("@aws-sdk/core/client");
5
5
  const endpoints_1 = require("@smithy/core/endpoints");
6
6
  const bdd_1 = require("./bdd");
7
7
  const cache = new endpoints_1.EndpointCache({
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
15
15
  }));
16
16
  };
17
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
18
- endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
18
+ endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1,9 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
- var middlewareLogger = require('@aws-sdk/middleware-logger');
5
- var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
- var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
3
+ var client$1 = require('@aws-sdk/core/client');
7
4
  var core = require('@smithy/core');
8
5
  var client = require('@smithy/core/client');
9
6
  var config = require('@smithy/core/config');
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
13
10
  var schema = require('@smithy/core/schema');
14
11
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
12
  var runtimeConfig = require('./runtimeConfig');
16
- var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
13
  var schemas_0 = require('./schemas/schemas_0');
18
14
  var errors = require('./models/errors');
19
15
  var MgnServiceException = require('./models/MgnServiceException');
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
72
68
  };
73
69
 
74
70
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
71
+ const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
72
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
73
+ return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
74
  };
79
75
 
80
76
  class MgnClient extends client.Client {
@@ -84,21 +80,21 @@ class MgnClient extends client.Client {
84
80
  super(_config_0);
85
81
  this.initConfig = _config_0;
86
82
  const _config_1 = resolveClientEndpointParameters(_config_0);
87
- const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
83
+ const _config_2 = client$1.resolveUserAgentConfig(_config_1);
88
84
  const _config_3 = retry.resolveRetryConfig(_config_2);
89
85
  const _config_4 = config.resolveRegionConfig(_config_3);
90
- const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
86
+ const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
91
87
  const _config_6 = endpoints.resolveEndpointConfig(_config_5);
92
88
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
89
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
90
  this.config = _config_8;
95
91
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
- this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
92
+ this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
97
93
  this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
94
  this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
99
- this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
100
- this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
101
- this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
95
+ this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
96
+ this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
97
+ this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
102
98
  this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
103
99
  httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMgnHttpAuthSchemeParametersProvider,
104
100
  identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
@@ -1675,6 +1671,7 @@ const NetworkMigrationMapperSegmentType = {
1675
1671
  };
1676
1672
  const SecurityGroupMappingStrategy = {
1677
1673
  MAP: "MAP",
1674
+ MAP_DHCP: "MAP_DHCP",
1678
1675
  SKIP: "SKIP",
1679
1676
  };
1680
1677
  const ReplicationConfigurationDataPlaneRouting = {
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
- const client_1 = require("@smithy/core/client");
7
+ const client_1 = require("@aws-sdk/core/client");
8
+ const client_2 = require("@smithy/core/client");
9
9
  const config_1 = require("@smithy/core/config");
10
10
  const retry_1 = require("@smithy/core/retry");
11
11
  const serde_1 = require("@smithy/core/serde");
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
13
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
14
  const getRuntimeConfig = (config) => {
15
15
  const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
16
- const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
16
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
17
17
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
18
18
  return {
19
19
  ...clientSharedValues,
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
22
22
  defaultsMode,
23
23
  bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
24
24
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
25
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
25
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26
26
  maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
- region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
27
+ region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
28
28
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
29
29
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
30
30
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_1 = require("@aws-sdk/core/client");
7
7
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
9
  const client_2 = require("@smithy/core/client");
11
10
  const config_1 = require("@smithy/core/config");
12
11
  const retry_1 = require("@smithy/core/retry");
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
31
30
  authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
32
31
  bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
33
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
34
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
34
  maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
35
  region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
37
36
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
44
43
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
44
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
45
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
47
- userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
48
47
  };
49
48
  };
50
49
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1716,8 +1716,8 @@ exports.NetworkMigrationCodeGenerationJobDetails$ = [3, n0, _NMCGJD,
1716
1716
  ];
1717
1717
  exports.NetworkMigrationCodeGenerationSegment$ = [3, n0, _NMCGS,
1718
1718
  0,
1719
- [_jID, _nMEID, _nMDID, _sID, _sTe, _lID, _mSID, _ar, _cA],
1720
- [0, 0, 0, 0, 0, 0, 0, () => NetworkMigrationCodeGenerationArtifacts, 4]
1719
+ [_jID, _nMEID, _nMDID, _sID, _sTe, _lID, _mSID, _ar, _rS, _cA],
1720
+ [0, 0, 0, 0, 0, 0, 0, () => NetworkMigrationCodeGenerationArtifacts, 64 | 0, 4]
1721
1721
  ];
1722
1722
  exports.NetworkMigrationDefinition$ = [3, n0, _NMD,
1723
1723
  0,
@@ -1,7 +1,4 @@
1
- import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
- import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
- import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
1
+ import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
5
2
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
3
  import { Client as __Client, } from "@smithy/core/client";
7
4
  import { resolveRegionConfig } from "@smithy/core/config";
@@ -1,4 +1,4 @@
1
- import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/core/client";
2
2
  import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
@@ -231,6 +231,7 @@ export const NetworkMigrationMapperSegmentType = {
231
231
  };
232
232
  export const SecurityGroupMappingStrategy = {
233
233
  MAP: "MAP",
234
+ MAP_DHCP: "MAP_DHCP",
234
235
  SKIP: "SKIP",
235
236
  };
236
237
  export const ReplicationConfigurationDataPlaneRouting = {
@@ -1,6 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
4
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
5
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
6
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
@@ -1,8 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
2
+ import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
@@ -1,4 +1,4 @@
1
- import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
2
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
3
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
@@ -1706,8 +1706,8 @@ export var NetworkMigrationCodeGenerationJobDetails$ = [3, n0, _NMCGJD,
1706
1706
  ];
1707
1707
  export var NetworkMigrationCodeGenerationSegment$ = [3, n0, _NMCGS,
1708
1708
  0,
1709
- [_jID, _nMEID, _nMDID, _sID, _sTe, _lID, _mSID, _ar, _cA],
1710
- [0, 0, 0, 0, 0, 0, 0, () => NetworkMigrationCodeGenerationArtifacts, 4]
1709
+ [_jID, _nMEID, _nMDID, _sID, _sTe, _lID, _mSID, _ar, _rS, _cA],
1710
+ [0, 0, 0, 0, 0, 0, 0, () => NetworkMigrationCodeGenerationArtifacts, 64 | 0, 4]
1711
1711
  ];
1712
1712
  export var NetworkMigrationDefinition$ = [3, n0, _NMD,
1713
1713
  0,
@@ -1,5 +1,4 @@
1
- import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
3
2
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
3
  import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
4
  import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
@@ -79,6 +79,9 @@ declare const ListNetworkMigrationCodeGenerationSegmentsCommand_base: {
79
79
  * // createdAt: new Date("TIMESTAMP"),
80
80
  * // },
81
81
  * // ],
82
+ * // referencedSegments: [ // referencedSegmentsList
83
+ * // "STRING_VALUE",
84
+ * // ],
82
85
  * // createdAt: new Date("TIMESTAMP"),
83
86
  * // },
84
87
  * // ],
@@ -547,6 +547,7 @@ export type NetworkMigrationMapperSegmentType = (typeof NetworkMigrationMapperSe
547
547
  */
548
548
  export declare const SecurityGroupMappingStrategy: {
549
549
  readonly MAP: "MAP";
550
+ readonly MAP_DHCP: "MAP_DHCP";
550
551
  readonly SKIP: "SKIP";
551
552
  };
552
553
  /**
@@ -3026,6 +3026,11 @@ export interface NetworkMigrationCodeGenerationSegment {
3026
3026
  * @public
3027
3027
  */
3028
3028
  artifacts?: NetworkMigrationCodeGenerationArtifact[] | undefined;
3029
+ /**
3030
+ * <p>A list of other segments that this segment depends on or references.</p>
3031
+ * @public
3032
+ */
3033
+ referencedSegments?: string[] | undefined;
3029
3034
  /**
3030
3035
  * <p>The timestamp when the segment was created.</p>
3031
3036
  * @public
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").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/core/protocols").HttpHandler<any> | RequestHandler;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").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/core/protocols").HttpHandler<any>;
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
26
26
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
27
  region: string | import("@smithy/types").Provider<any>;
28
28
  profile?: string;
29
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
30
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
31
  maxAttempts: number | import("@smithy/types").Provider<number>;
32
32
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -1,11 +1,9 @@
1
1
  import {
2
2
  HostHeaderInputConfig,
3
3
  HostHeaderResolvedConfig,
4
- } from "@aws-sdk/middleware-host-header";
5
- import {
6
4
  UserAgentInputConfig,
7
5
  UserAgentResolvedConfig,
8
- } from "@aws-sdk/middleware-user-agent";
6
+ } from "@aws-sdk/core/client";
9
7
  import {
10
8
  DefaultsMode as __DefaultsMode,
11
9
  SmithyConfiguration as __SmithyConfiguration,
@@ -299,6 +299,7 @@ export type NetworkMigrationMapperSegmentType =
299
299
  (typeof NetworkMigrationMapperSegmentType)[keyof typeof NetworkMigrationMapperSegmentType];
300
300
  export declare const SecurityGroupMappingStrategy: {
301
301
  readonly MAP: "MAP";
302
+ readonly MAP_DHCP: "MAP_DHCP";
302
303
  readonly SKIP: "SKIP";
303
304
  };
304
305
  export type SecurityGroupMappingStrategy =
@@ -790,6 +790,7 @@ export interface NetworkMigrationCodeGenerationSegment {
790
790
  logicalID?: string | undefined;
791
791
  mapperSegmentID?: string | undefined;
792
792
  artifacts?: NetworkMigrationCodeGenerationArtifact[] | undefined;
793
+ referencedSegments?: string[] | undefined;
793
794
  createdAt?: Date | undefined;
794
795
  }
795
796
  export interface ListNetworkMigrationCodeGenerationSegmentsResponse {
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
15
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
16
16
  ) => Promise<import("@smithy/types").UserAgent>;
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
13
13
  init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
14
  ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
34
34
  region: string | import("@smithy/types").Provider<any>;
35
35
  profile?: string;
36
36
  defaultUserAgentProvider: (
37
- config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
37
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
38
38
  ) => Promise<import("@smithy/types").UserAgent>;
39
39
  credentialDefaultProvider:
40
40
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mgn",
3
3
  "description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
4
- "version": "3.1046.0",
4
+ "version": "3.1048.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mgn",
@@ -21,20 +21,12 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.9",
25
- "@aws-sdk/credential-provider-node": "^3.972.40",
26
- "@aws-sdk/middleware-host-header": "^3.972.11",
27
- "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
- "@aws-sdk/middleware-user-agent": "^3.972.39",
30
- "@aws-sdk/region-config-resolver": "^3.972.14",
24
+ "@aws-sdk/core": "^3.974.11",
25
+ "@aws-sdk/credential-provider-node": "^3.972.42",
31
26
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.9",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
- "@aws-sdk/util-user-agent-node": "^3.973.25",
35
- "@smithy/core": "^3.24.1",
36
- "@smithy/fetch-http-handler": "^5.4.1",
37
- "@smithy/node-http-handler": "^4.7.1",
27
+ "@smithy/core": "^3.24.2",
28
+ "@smithy/fetch-http-handler": "^5.4.2",
29
+ "@smithy/node-http-handler": "^4.7.2",
38
30
  "@smithy/types": "^4.14.1",
39
31
  "tslib": "^2.6.2"
40
32
  },