@aws-sdk/client-migration-hub 3.477.0 → 3.481.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/commands/AssociateCreatedArtifactCommand.js +18 -41
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +18 -41
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +18 -41
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +18 -41
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +18 -41
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +18 -41
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +18 -41
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +18 -41
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationStatesCommand.js +18 -41
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +18 -41
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListMigrationTasksCommand.js +18 -41
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +18 -41
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +18 -41
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +18 -41
- package/dist-cjs/commands/PutResourceAttributesCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListApplicationStatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMigrationTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +2 -24
- package/dist-es/commands/AssociateCreatedArtifactCommand.js +18 -41
- package/dist-es/commands/AssociateDiscoveredResourceCommand.js +18 -41
- package/dist-es/commands/CreateProgressUpdateStreamCommand.js +18 -41
- package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +18 -41
- package/dist-es/commands/DescribeApplicationStateCommand.js +18 -41
- package/dist-es/commands/DescribeMigrationTaskCommand.js +18 -41
- package/dist-es/commands/DisassociateCreatedArtifactCommand.js +18 -41
- package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +18 -41
- package/dist-es/commands/ImportMigrationTaskCommand.js +18 -41
- package/dist-es/commands/ListApplicationStatesCommand.js +18 -41
- package/dist-es/commands/ListCreatedArtifactsCommand.js +18 -41
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +18 -41
- package/dist-es/commands/ListMigrationTasksCommand.js +18 -41
- package/dist-es/commands/ListProgressUpdateStreamsCommand.js +18 -41
- package/dist-es/commands/NotifyApplicationStateCommand.js +18 -41
- package/dist-es/commands/NotifyMigrationTaskStateCommand.js +18 -41
- package/dist-es/commands/PutResourceAttributesCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListApplicationStatesPaginator.js +2 -23
- package/dist-es/pagination/ListCreatedArtifactsPaginator.js +2 -23
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListMigrationTasksPaginator.js +2 -23
- package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +2 -23
- package/dist-types/commands/AssociateCreatedArtifactCommand.d.ts +6 -21
- package/dist-types/commands/AssociateDiscoveredResourceCommand.d.ts +6 -21
- package/dist-types/commands/CreateProgressUpdateStreamCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProgressUpdateStreamCommand.d.ts +6 -21
- package/dist-types/commands/DescribeApplicationStateCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMigrationTaskCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateCreatedArtifactCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateDiscoveredResourceCommand.d.ts +6 -21
- package/dist-types/commands/ImportMigrationTaskCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationStatesCommand.d.ts +6 -21
- package/dist-types/commands/ListCreatedArtifactsCommand.d.ts +6 -21
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListMigrationTasksCommand.d.ts +6 -21
- package/dist-types/commands/ListProgressUpdateStreamsCommand.d.ts +6 -21
- package/dist-types/commands/NotifyApplicationStateCommand.d.ts +6 -21
- package/dist-types/commands/NotifyMigrationTaskStateCommand.d.ts +6 -21
- package/dist-types/commands/PutResourceAttributesCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListApplicationStatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCreatedArtifactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDiscoveredResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMigrationTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProgressUpdateStreamsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListApplicationStatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCreatedArtifactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDiscoveredResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMigrationTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProgressUpdateStreamsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ImportMigrationTaskCommand, se_ImportMigrationTaskCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ImportMigrationTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ImportMigrationTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ImportMigrationTask",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ImportMigrationTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ImportMigrationTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ImportMigrationTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ImportMigrationTask", {})
|
|
19
|
+
.n("MigrationHubClient", "ImportMigrationTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ImportMigrationTaskCommand)
|
|
22
|
+
.de(de_ImportMigrationTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListApplicationStatesCommand, se_ListApplicationStatesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListApplicationStatesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ListApplicationStatesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ListApplicationStates",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListApplicationStatesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListApplicationStatesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListApplicationStatesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ListApplicationStates", {})
|
|
19
|
+
.n("MigrationHubClient", "ListApplicationStatesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListApplicationStatesCommand)
|
|
22
|
+
.de(de_ListApplicationStatesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListCreatedArtifactsCommand, se_ListCreatedArtifactsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListCreatedArtifactsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ListCreatedArtifactsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ListCreatedArtifacts",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListCreatedArtifactsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListCreatedArtifactsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListCreatedArtifactsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ListCreatedArtifacts", {})
|
|
19
|
+
.n("MigrationHubClient", "ListCreatedArtifactsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCreatedArtifactsCommand)
|
|
22
|
+
.de(de_ListCreatedArtifactsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListDiscoveredResourcesCommand, se_ListDiscoveredResourcesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListDiscoveredResourcesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ListDiscoveredResourcesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ListDiscoveredResources",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListDiscoveredResourcesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListDiscoveredResourcesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListDiscoveredResourcesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ListDiscoveredResources", {})
|
|
19
|
+
.n("MigrationHubClient", "ListDiscoveredResourcesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListDiscoveredResourcesCommand)
|
|
22
|
+
.de(de_ListDiscoveredResourcesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListMigrationTasksCommand, se_ListMigrationTasksCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListMigrationTasksCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ListMigrationTasksCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ListMigrationTasks",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListMigrationTasksCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListMigrationTasksCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListMigrationTasksCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ListMigrationTasks", {})
|
|
19
|
+
.n("MigrationHubClient", "ListMigrationTasksCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListMigrationTasksCommand)
|
|
22
|
+
.de(de_ListMigrationTasksCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListProgressUpdateStreamsCommand, se_ListProgressUpdateStreamsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListProgressUpdateStreamsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "ListProgressUpdateStreamsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "ListProgressUpdateStreams",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListProgressUpdateStreamsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListProgressUpdateStreamsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListProgressUpdateStreamsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "ListProgressUpdateStreams", {})
|
|
19
|
+
.n("MigrationHubClient", "ListProgressUpdateStreamsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListProgressUpdateStreamsCommand)
|
|
22
|
+
.de(de_ListProgressUpdateStreamsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_NotifyApplicationStateCommand, se_NotifyApplicationStateCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class NotifyApplicationStateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "NotifyApplicationStateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "NotifyApplicationState",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_NotifyApplicationStateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_NotifyApplicationStateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class NotifyApplicationStateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "NotifyApplicationState", {})
|
|
19
|
+
.n("MigrationHubClient", "NotifyApplicationStateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_NotifyApplicationStateCommand)
|
|
22
|
+
.de(de_NotifyApplicationStateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_NotifyMigrationTaskStateCommand, se_NotifyMigrationTaskStateCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class NotifyMigrationTaskStateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "NotifyMigrationTaskStateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "NotifyMigrationTaskState",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_NotifyMigrationTaskStateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_NotifyMigrationTaskStateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class NotifyMigrationTaskStateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "NotifyMigrationTaskState", {})
|
|
19
|
+
.n("MigrationHubClient", "NotifyMigrationTaskStateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_NotifyMigrationTaskStateCommand)
|
|
22
|
+
.de(de_NotifyMigrationTaskStateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutResourceAttributesCommand, se_PutResourceAttributesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutResourceAttributesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubClient";
|
|
26
|
-
const commandName = "PutResourceAttributesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHub",
|
|
35
|
-
operation: "PutResourceAttributes",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutResourceAttributesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutResourceAttributesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutResourceAttributesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHub", "PutResourceAttributes", {})
|
|
19
|
+
.n("MigrationHubClient", "PutResourceAttributesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutResourceAttributesCommand)
|
|
22
|
+
.de(de_PutResourceAttributesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "mgh",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationStatesCommand, } from "../commands/ListApplicationStatesCommand";
|
|
2
3
|
import { MigrationHubClient } from "../MigrationHubClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationStatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationStates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MigrationHubClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationStates = createPaginator(MigrationHubClient, ListApplicationStatesCommand, "NextToken", "NextToken", "MaxResults");
|