@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
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListApplicationStatesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "ListApplicationStatesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "ListApplicationStates",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_ListApplicationStatesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListApplicationStatesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListApplicationStatesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "ListApplicationStates", {})
|
|
22
|
+
.n("MigrationHubClient", "ListApplicationStatesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListApplicationStatesCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListApplicationStatesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListApplicationStatesCommand = ListApplicationStatesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListCreatedArtifactsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "ListCreatedArtifactsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "ListCreatedArtifacts",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_ListCreatedArtifactsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListCreatedArtifactsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListCreatedArtifactsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "ListCreatedArtifacts", {})
|
|
22
|
+
.n("MigrationHubClient", "ListCreatedArtifactsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListCreatedArtifactsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListCreatedArtifactsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListCreatedArtifactsCommand = ListCreatedArtifactsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListDiscoveredResourcesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "ListDiscoveredResourcesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "ListDiscoveredResources",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_ListDiscoveredResourcesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListDiscoveredResourcesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListDiscoveredResourcesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "ListDiscoveredResources", {})
|
|
22
|
+
.n("MigrationHubClient", "ListDiscoveredResourcesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListDiscoveredResourcesCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListDiscoveredResourcesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListMigrationTasksCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "ListMigrationTasksCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "ListMigrationTasks",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_ListMigrationTasksCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListMigrationTasksCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListMigrationTasksCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "ListMigrationTasks", {})
|
|
22
|
+
.n("MigrationHubClient", "ListMigrationTasksCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListMigrationTasksCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListMigrationTasksCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListMigrationTasksCommand = ListMigrationTasksCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListProgressUpdateStreamsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "ListProgressUpdateStreamsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "ListProgressUpdateStreams",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_ListProgressUpdateStreamsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListProgressUpdateStreamsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListProgressUpdateStreamsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "ListProgressUpdateStreams", {})
|
|
22
|
+
.n("MigrationHubClient", "ListProgressUpdateStreamsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListProgressUpdateStreamsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListProgressUpdateStreamsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListProgressUpdateStreamsCommand = ListProgressUpdateStreamsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class NotifyApplicationStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "NotifyApplicationStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "NotifyApplicationState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_NotifyApplicationStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_NotifyApplicationStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class NotifyApplicationStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "NotifyApplicationState", {})
|
|
22
|
+
.n("MigrationHubClient", "NotifyApplicationStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_NotifyApplicationStateCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_NotifyApplicationStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.NotifyApplicationStateCommand = NotifyApplicationStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class NotifyMigrationTaskStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "NotifyMigrationTaskStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "NotifyMigrationTaskState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_NotifyMigrationTaskStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_NotifyMigrationTaskStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class NotifyMigrationTaskStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "NotifyMigrationTaskState", {})
|
|
22
|
+
.n("MigrationHubClient", "NotifyMigrationTaskStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_NotifyMigrationTaskStateCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_NotifyMigrationTaskStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.NotifyMigrationTaskStateCommand = NotifyMigrationTaskStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class PutResourceAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubClient";
|
|
29
|
-
const commandName = "PutResourceAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHub",
|
|
38
|
-
operation: "PutResourceAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_PutResourceAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_PutResourceAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutResourceAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHub", "PutResourceAttributes", {})
|
|
22
|
+
.n("MigrationHubClient", "PutResourceAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_PutResourceAttributesCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_PutResourceAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutResourceAttributesCommand = PutResourceAttributesCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplicationStates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListApplicationStatesCommand_1 = require("../commands/ListApplicationStatesCommand");
|
|
5
6
|
const MigrationHubClient_1 = require("../MigrationHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListApplicationStatesCommand_1.ListApplicationStatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListApplicationStates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubClient_1.MigrationHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListApplicationStates = paginateListApplicationStates;
|
|
7
|
+
exports.paginateListApplicationStates = (0, core_1.createPaginator)(MigrationHubClient_1.MigrationHubClient, ListApplicationStatesCommand_1.ListApplicationStatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCreatedArtifacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCreatedArtifactsCommand_1 = require("../commands/ListCreatedArtifactsCommand");
|
|
5
6
|
const MigrationHubClient_1 = require("../MigrationHubClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCreatedArtifactsCommand_1.ListCreatedArtifactsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCreatedArtifacts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubClient_1.MigrationHubClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCreatedArtifacts = paginateListCreatedArtifacts;
|
|
7
|
+
exports.paginateListCreatedArtifacts = (0, core_1.createPaginator)(MigrationHubClient_1.MigrationHubClient, ListCreatedArtifactsCommand_1.ListCreatedArtifactsCommand, "NextToken", "NextToken", "MaxResults");
|