@aws-sdk/client-mgn 3.1161.0 → 3.1163.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 +6 -4
- package/dist-es/models/enums.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/commands/CreateNetworkMigrationDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -1
- package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
3
|
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1162.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1203,8 +1203,8 @@ var CreateLaunchConfigurationTemplateRequest$ = [3, n0, _CLCTR,
|
|
|
1203
1203
|
];
|
|
1204
1204
|
var CreateNetworkMigrationDefinitionRequest$ = [3, n0, _CNMDR,
|
|
1205
1205
|
0,
|
|
1206
|
-
[_n, _tSC, _tN, _d, _sCo, _tD, _vPS, _cM, _t, _sT],
|
|
1207
|
-
[0, () => TargetS3Configuration$, () => TargetNetwork$, 0, () => SourceConfigurationList, 0, 0, () => CidrMappingsList, [() => TagsMap, 0], [() => ScopeTagsMap, 0]], 3
|
|
1206
|
+
[_n, _tSC, _tN, _cTl, _d, _sCo, _tD, _vPS, _cM, _t, _sT],
|
|
1207
|
+
[0, () => TargetS3Configuration$, () => TargetNetwork$, [0, 4], 0, () => SourceConfigurationList, 0, 0, () => CidrMappingsList, [() => TagsMap, 0], [() => ScopeTagsMap, 0]], 3
|
|
1208
1208
|
];
|
|
1209
1209
|
var CreateReplicationConfigurationTemplateRequest$ = [3, n0, _CRCTR,
|
|
1210
1210
|
0,
|
|
@@ -3020,6 +3020,7 @@ const getRuntimeConfig = (config) => {
|
|
|
3020
3020
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
3021
3021
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
3022
3022
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
3023
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 900_000),
|
|
3023
3024
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
3024
3025
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
3025
3026
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -3738,6 +3739,7 @@ const SourceEnvironment = {
|
|
|
3738
3739
|
CISCO_ACI: "CISCO_ACI",
|
|
3739
3740
|
FORTIGATE_FIREWALL: "FORTIGATE_FIREWALL",
|
|
3740
3741
|
LOGICAL_MODEL: "LOGICAL_MODEL",
|
|
3742
|
+
MIGRATION_PLANNING_ARTIFACTS: "MIGRATION_PLANNING_ARTIFACTS",
|
|
3741
3743
|
MODELIZE_IT: "MODELIZE_IT",
|
|
3742
3744
|
NSX: "NSX",
|
|
3743
3745
|
PALO_ALTO_FIREWALL: "PALO_ALTO_FIREWALL",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -141,6 +141,7 @@ export const SourceEnvironment = {
|
|
|
141
141
|
CISCO_ACI: "CISCO_ACI",
|
|
142
142
|
FORTIGATE_FIREWALL: "FORTIGATE_FIREWALL",
|
|
143
143
|
LOGICAL_MODEL: "LOGICAL_MODEL",
|
|
144
|
+
MIGRATION_PLANNING_ARTIFACTS: "MIGRATION_PLANNING_ARTIFACTS",
|
|
144
145
|
MODELIZE_IT: "MODELIZE_IT",
|
|
145
146
|
NSX: "NSX",
|
|
146
147
|
PALO_ALTO_FIREWALL: "PALO_ALTO_FIREWALL",
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, 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
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 900_000),
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -916,8 +916,8 @@ export var CreateLaunchConfigurationTemplateRequest$ = [3, n0, _CLCTR,
|
|
|
916
916
|
];
|
|
917
917
|
export var CreateNetworkMigrationDefinitionRequest$ = [3, n0, _CNMDR,
|
|
918
918
|
0,
|
|
919
|
-
[_n, _tSC, _tN, _d, _sCo, _tD, _vPS, _cM, _t, _sT],
|
|
920
|
-
[0, () => TargetS3Configuration$, () => TargetNetwork$, 0, () => SourceConfigurationList, 0, 0, () => CidrMappingsList, [() => TagsMap, 0], [() => ScopeTagsMap, 0]], 3
|
|
919
|
+
[_n, _tSC, _tN, _cTl, _d, _sCo, _tD, _vPS, _cM, _t, _sT],
|
|
920
|
+
[0, () => TargetS3Configuration$, () => TargetNetwork$, [0, 4], 0, () => SourceConfigurationList, 0, 0, () => CidrMappingsList, [() => TagsMap, 0], [() => ScopeTagsMap, 0]], 3
|
|
921
921
|
];
|
|
922
922
|
export var CreateReplicationConfigurationTemplateRequest$ = [3, n0, _CRCTR,
|
|
923
923
|
0,
|
|
@@ -34,6 +34,7 @@ declare const CreateNetworkMigrationDefinitionCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is MgnClientConfig
|
|
35
35
|
* const client = new MgnClient(config);
|
|
36
36
|
* const input = { // CreateNetworkMigrationDefinitionRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
37
38
|
* name: "STRING_VALUE", // required
|
|
38
39
|
* description: "STRING_VALUE",
|
|
39
40
|
* sourceConfigurations: [ // SourceConfigurationList
|
|
@@ -24,7 +24,7 @@ declare const DisconnectFromServiceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with Application Migration Service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.
|
|
27
|
+
* <p>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with Application Migration Service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.etaDateTime will be nullified.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const FinalizeCutoverCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.
|
|
27
|
+
* <p>Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.etaDateTime will be nullified.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -329,6 +329,7 @@ export declare const SourceEnvironment: {
|
|
|
329
329
|
readonly CISCO_ACI: "CISCO_ACI";
|
|
330
330
|
readonly FORTIGATE_FIREWALL: "FORTIGATE_FIREWALL";
|
|
331
331
|
readonly LOGICAL_MODEL: "LOGICAL_MODEL";
|
|
332
|
+
readonly MIGRATION_PLANNING_ARTIFACTS: "MIGRATION_PLANNING_ARTIFACTS";
|
|
332
333
|
readonly MODELIZE_IT: "MODELIZE_IT";
|
|
333
334
|
readonly NSX: "NSX";
|
|
334
335
|
readonly PALO_ALTO_FIREWALL: "PALO_ALTO_FIREWALL";
|
|
@@ -2338,6 +2338,11 @@ export interface TargetS3Configuration {
|
|
|
2338
2338
|
* @public
|
|
2339
2339
|
*/
|
|
2340
2340
|
export interface CreateNetworkMigrationDefinitionRequest {
|
|
2341
|
+
/**
|
|
2342
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
2343
|
+
* @public
|
|
2344
|
+
*/
|
|
2345
|
+
clientToken?: string | undefined;
|
|
2341
2346
|
/**
|
|
2342
2347
|
* <p>The name of the network migration definition.</p>
|
|
2343
2348
|
* @public
|
|
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
|
|
|
44
44
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
46
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
47
48
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
49
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
50
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -172,6 +172,7 @@ export declare const SourceEnvironment: {
|
|
|
172
172
|
readonly CISCO_ACI: "CISCO_ACI";
|
|
173
173
|
readonly FORTIGATE_FIREWALL: "FORTIGATE_FIREWALL";
|
|
174
174
|
readonly LOGICAL_MODEL: "LOGICAL_MODEL";
|
|
175
|
+
readonly MIGRATION_PLANNING_ARTIFACTS: "MIGRATION_PLANNING_ARTIFACTS";
|
|
175
176
|
readonly MODELIZE_IT: "MODELIZE_IT";
|
|
176
177
|
readonly NSX: "NSX";
|
|
177
178
|
readonly PALO_ALTO_FIREWALL: "PALO_ALTO_FIREWALL";
|
|
@@ -619,6 +619,7 @@ export interface TargetS3Configuration {
|
|
|
619
619
|
s3BucketOwner: string | undefined;
|
|
620
620
|
}
|
|
621
621
|
export interface CreateNetworkMigrationDefinitionRequest {
|
|
622
|
+
clientToken?: string | undefined;
|
|
622
623
|
name: string | undefined;
|
|
623
624
|
description?: string | undefined;
|
|
624
625
|
sourceConfigurations?: SourceConfiguration[] | undefined;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mgn",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mgn",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|