@aws-sdk/client-mgn 3.294.0 → 3.296.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/README.md +48 -0
- package/dist-cjs/Mgn.js +90 -0
- package/dist-cjs/commands/ArchiveApplicationCommand.js +4 -4
- package/dist-cjs/commands/ArchiveWaveCommand.js +4 -4
- package/dist-cjs/commands/AssociateApplicationsCommand.js +4 -4
- package/dist-cjs/commands/AssociateSourceServersCommand.js +4 -4
- package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +4 -4
- package/dist-cjs/commands/CreateApplicationCommand.js +4 -4
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/CreateWaveCommand.js +4 -4
- package/dist-cjs/commands/DeleteApplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteJobCommand.js +4 -4
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/DeleteSourceServerCommand.js +4 -4
- package/dist-cjs/commands/DeleteVcenterClientCommand.js +4 -4
- package/dist-cjs/commands/DeleteWaveCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobsCommand.js +4 -4
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
- package/dist-cjs/commands/DescribeSourceServersCommand.js +4 -4
- package/dist-cjs/commands/DescribeVcenterClientsCommand.js +4 -4
- package/dist-cjs/commands/DisassociateApplicationsCommand.js +4 -4
- package/dist-cjs/commands/DisassociateSourceServersCommand.js +4 -4
- package/dist-cjs/commands/DisconnectFromServiceCommand.js +4 -4
- package/dist-cjs/commands/FinalizeCutoverCommand.js +4 -4
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/InitializeServiceCommand.js +4 -4
- package/dist-cjs/commands/ListApplicationsCommand.js +4 -4
- package/dist-cjs/commands/ListExportErrorsCommand.js +46 -0
- package/dist-cjs/commands/ListExportsCommand.js +46 -0
- package/dist-cjs/commands/ListImportErrorsCommand.js +46 -0
- package/dist-cjs/commands/ListImportsCommand.js +46 -0
- package/dist-cjs/commands/ListSourceServerActionsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListTemplateActionsCommand.js +4 -4
- package/dist-cjs/commands/ListWavesCommand.js +4 -4
- package/dist-cjs/commands/MarkAsArchivedCommand.js +4 -4
- package/dist-cjs/commands/PutSourceServerActionCommand.js +4 -4
- package/dist-cjs/commands/PutTemplateActionCommand.js +4 -4
- package/dist-cjs/commands/RemoveSourceServerActionCommand.js +4 -4
- package/dist-cjs/commands/RemoveTemplateActionCommand.js +4 -4
- package/dist-cjs/commands/RetryDataReplicationCommand.js +4 -4
- package/dist-cjs/commands/StartCutoverCommand.js +4 -4
- package/dist-cjs/commands/StartExportCommand.js +46 -0
- package/dist-cjs/commands/StartImportCommand.js +46 -0
- package/dist-cjs/commands/StartReplicationCommand.js +4 -4
- package/dist-cjs/commands/StartTestCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/TerminateTargetInstancesCommand.js +4 -4
- package/dist-cjs/commands/UnarchiveApplicationCommand.js +4 -4
- package/dist-cjs/commands/UnarchiveWaveCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateApplicationCommand.js +4 -4
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
- package/dist-cjs/commands/UpdateWaveCommand.js +4 -4
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +191 -8
- package/dist-cjs/pagination/ListExportErrorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
- package/dist-cjs/pagination/ListImportErrorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListImportsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +676 -3
- package/dist-es/Mgn.js +90 -0
- package/dist-es/commands/ArchiveApplicationCommand.js +4 -4
- package/dist-es/commands/ArchiveWaveCommand.js +4 -4
- package/dist-es/commands/AssociateApplicationsCommand.js +4 -4
- package/dist-es/commands/AssociateSourceServersCommand.js +4 -4
- package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +4 -4
- package/dist-es/commands/CreateApplicationCommand.js +4 -4
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/CreateWaveCommand.js +4 -4
- package/dist-es/commands/DeleteApplicationCommand.js +4 -4
- package/dist-es/commands/DeleteJobCommand.js +4 -4
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/DeleteSourceServerCommand.js +4 -4
- package/dist-es/commands/DeleteVcenterClientCommand.js +4 -4
- package/dist-es/commands/DeleteWaveCommand.js +4 -4
- package/dist-es/commands/DescribeJobLogItemsCommand.js +4 -4
- package/dist-es/commands/DescribeJobsCommand.js +4 -4
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
- package/dist-es/commands/DescribeSourceServersCommand.js +4 -4
- package/dist-es/commands/DescribeVcenterClientsCommand.js +4 -4
- package/dist-es/commands/DisassociateApplicationsCommand.js +4 -4
- package/dist-es/commands/DisassociateSourceServersCommand.js +4 -4
- package/dist-es/commands/DisconnectFromServiceCommand.js +4 -4
- package/dist-es/commands/FinalizeCutoverCommand.js +4 -4
- package/dist-es/commands/GetLaunchConfigurationCommand.js +4 -4
- package/dist-es/commands/GetReplicationConfigurationCommand.js +4 -4
- package/dist-es/commands/InitializeServiceCommand.js +4 -4
- package/dist-es/commands/ListApplicationsCommand.js +4 -4
- package/dist-es/commands/ListExportErrorsCommand.js +42 -0
- package/dist-es/commands/ListExportsCommand.js +42 -0
- package/dist-es/commands/ListImportErrorsCommand.js +42 -0
- package/dist-es/commands/ListImportsCommand.js +42 -0
- package/dist-es/commands/ListSourceServerActionsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/ListTemplateActionsCommand.js +4 -4
- package/dist-es/commands/ListWavesCommand.js +4 -4
- package/dist-es/commands/MarkAsArchivedCommand.js +4 -4
- package/dist-es/commands/PutSourceServerActionCommand.js +4 -4
- package/dist-es/commands/PutTemplateActionCommand.js +4 -4
- package/dist-es/commands/RemoveSourceServerActionCommand.js +4 -4
- package/dist-es/commands/RemoveTemplateActionCommand.js +4 -4
- package/dist-es/commands/RetryDataReplicationCommand.js +4 -4
- package/dist-es/commands/StartCutoverCommand.js +4 -4
- package/dist-es/commands/StartExportCommand.js +42 -0
- package/dist-es/commands/StartImportCommand.js +42 -0
- package/dist-es/commands/StartReplicationCommand.js +4 -4
- package/dist-es/commands/StartTestCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/TerminateTargetInstancesCommand.js +4 -4
- package/dist-es/commands/UnarchiveApplicationCommand.js +4 -4
- package/dist-es/commands/UnarchiveWaveCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateApplicationCommand.js +4 -4
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
- package/dist-es/commands/UpdateWaveCommand.js +4 -4
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +157 -2
- package/dist-es/pagination/ListExportErrorsPaginator.js +25 -0
- package/dist-es/pagination/ListExportsPaginator.js +25 -0
- package/dist-es/pagination/ListImportErrorsPaginator.js +25 -0
- package/dist-es/pagination/ListImportsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +663 -2
- package/dist-types/Mgn.d.ts +42 -0
- package/dist-types/MgnClient.d.ts +10 -4
- package/dist-types/commands/ListExportErrorsCommand.d.ts +50 -0
- package/dist-types/commands/ListExportsCommand.d.ts +47 -0
- package/dist-types/commands/ListImportErrorsCommand.d.ts +50 -0
- package/dist-types/commands/ListImportsCommand.d.ts +50 -0
- package/dist-types/commands/StartExportCommand.d.ts +53 -0
- package/dist-types/commands/StartImportCommand.d.ts +59 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +641 -4
- package/dist-types/pagination/ListExportErrorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListImportErrorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Mgn.d.ts +102 -0
- package/dist-types/ts3.4/MgnClient.d.ts +40 -4
- package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartExportCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +268 -5
- package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +38 -36
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartImportRequestFilterSensitiveLog, StartImportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1StartImportCommand, serializeAws_restJson1StartImportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class StartImportCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartImportCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MgnClient";
|
|
25
|
+
const commandName = "StartImportCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: StartImportRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: StartImportResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1StartImportCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1StartImportCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { SourceServerFilterSensitiveLog, StartReplicationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1StartReplicationCommand, serializeAws_restJson1StartReplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class StartReplicationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class StartReplicationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, StartReplicationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { StartTestRequestFilterSensitiveLog, StartTestResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1StartTestCommand, serializeAws_restJson1StartTestCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class StartTestCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class StartTestCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, StartTestCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { TerminateTargetInstancesRequestFilterSensitiveLog, TerminateTargetInstancesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1TerminateTargetInstancesCommand, serializeAws_restJson1TerminateTargetInstancesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TerminateTargetInstancesCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class TerminateTargetInstancesCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, TerminateTargetInstancesCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ApplicationFilterSensitiveLog, UnarchiveApplicationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UnarchiveApplicationCommand, serializeAws_restJson1UnarchiveApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UnarchiveApplicationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UnarchiveApplicationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UnarchiveApplicationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UnarchiveWaveRequestFilterSensitiveLog, WaveFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UnarchiveWaveCommand, serializeAws_restJson1UnarchiveWaveCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UnarchiveWaveCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UnarchiveWaveCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UnarchiveWaveCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ApplicationFilterSensitiveLog, UpdateApplicationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateApplicationCommand, serializeAws_restJson1UpdateApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateApplicationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateApplicationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApplicationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { LaunchConfigurationFilterSensitiveLog, UpdateLaunchConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateLaunchConfigurationCommand, serializeAws_restJson1UpdateLaunchConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateLaunchConfigurationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateLaunchConfigurationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLaunchConfigurationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { LaunchConfigurationTemplateFilterSensitiveLog, UpdateLaunchConfigurationTemplateRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateLaunchConfigurationTemplateCommand, serializeAws_restJson1UpdateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateLaunchConfigurationTemplateCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateLaunchConfigurationTemplateCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ReplicationConfigurationFilterSensitiveLog, UpdateReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateReplicationConfigurationCommand, serializeAws_restJson1UpdateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateReplicationConfigurationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateReplicationConfigurationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateReplicationConfigurationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ReplicationConfigurationTemplateFilterSensitiveLog, UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand, serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateReplicationConfigurationTemplateCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateReplicationConfigurationTemplateCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateReplicationConfigurationTemplateCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { SourceServerFilterSensitiveLog, UpdateSourceServerReplicationTypeRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateSourceServerReplicationTypeCommand, serializeAws_restJson1UpdateSourceServerReplicationTypeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateSourceServerReplicationTypeCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateSourceServerReplicationTypeCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSourceServerReplicationTypeCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateWaveRequestFilterSensitiveLog, WaveFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateWaveCommand, serializeAws_restJson1UpdateWaveCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateWaveCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateWaveCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWaveCommand.getEndpointParameterInstructions()));
|
|
@@ -28,6 +28,10 @@ export * from "./GetLaunchConfigurationCommand";
|
|
|
28
28
|
export * from "./GetReplicationConfigurationCommand";
|
|
29
29
|
export * from "./InitializeServiceCommand";
|
|
30
30
|
export * from "./ListApplicationsCommand";
|
|
31
|
+
export * from "./ListExportErrorsCommand";
|
|
32
|
+
export * from "./ListExportsCommand";
|
|
33
|
+
export * from "./ListImportErrorsCommand";
|
|
34
|
+
export * from "./ListImportsCommand";
|
|
31
35
|
export * from "./ListSourceServerActionsCommand";
|
|
32
36
|
export * from "./ListTagsForResourceCommand";
|
|
33
37
|
export * from "./ListTemplateActionsCommand";
|
|
@@ -39,6 +43,8 @@ export * from "./RemoveSourceServerActionCommand";
|
|
|
39
43
|
export * from "./RemoveTemplateActionCommand";
|
|
40
44
|
export * from "./RetryDataReplicationCommand";
|
|
41
45
|
export * from "./StartCutoverCommand";
|
|
46
|
+
export * from "./StartExportCommand";
|
|
47
|
+
export * from "./StartImportCommand";
|
|
42
48
|
export * from "./StartReplicationCommand";
|
|
43
49
|
export * from "./StartTestCommand";
|
|
44
50
|
export * from "./TagResourceCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://mgn.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|