@aws-sdk/client-migration-hub 3.54.1 → 3.58.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/CHANGELOG.md +24 -0
- package/dist-cjs/MigrationHubClient.js +13 -13
- package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +3 -3
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +3 -3
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +3 -3
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +3 -3
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +3 -3
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +3 -3
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +3 -3
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +3 -3
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +3 -3
- package/dist-cjs/commands/ListApplicationStatesCommand.js +3 -3
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +3 -3
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListMigrationTasksCommand.js +3 -3
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +3 -3
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +3 -3
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +3 -3
- package/dist-cjs/commands/PutResourceAttributesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +67 -67
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MigrationHub.js +17 -17
- package/dist-es/pagination/ListApplicationStatesPaginator.js +4 -4
- package/dist-es/pagination/ListCreatedArtifactsPaginator.js +4 -4
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListMigrationTasksPaginator.js +4 -4
- package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-migration-hub
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-migration-hub
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-migration-hub
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-migration-hub
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class MigrationHubClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class AssociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class AssociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1AssociateCreatedArtifactCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1AssociateCreatedArtifactCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1AssociateCreatedArtifactCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateCreatedArtifactCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.AssociateCreatedArtifactCommand = AssociateCreatedArtifactCommand;
|
|
@@ -11,7 +11,7 @@ class AssociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class AssociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1AssociateDiscoveredResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1AssociateDiscoveredResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1AssociateDiscoveredResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateDiscoveredResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.AssociateDiscoveredResourceCommand = AssociateDiscoveredResourceCommand;
|
|
@@ -11,7 +11,7 @@ class CreateProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class CreateProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1CreateProgressUpdateStreamCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateProgressUpdateStreamCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1CreateProgressUpdateStreamCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateProgressUpdateStreamCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateProgressUpdateStreamCommand = CreateProgressUpdateStreamCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class DeleteProgressUpdateStreamCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteProgressUpdateStreamCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteProgressUpdateStreamCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteProgressUpdateStreamCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteProgressUpdateStreamCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteProgressUpdateStreamCommand = DeleteProgressUpdateStreamCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeApplicationStateCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class DescribeApplicationStateCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeApplicationStateCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeApplicationStateCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeApplicationStateCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeApplicationStateCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeApplicationStateCommand = DescribeApplicationStateCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class DescribeMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DescribeMigrationTaskCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeMigrationTaskCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeMigrationTaskCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeMigrationTaskCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeMigrationTaskCommand = DescribeMigrationTaskCommand;
|
|
@@ -11,7 +11,7 @@ class DisassociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class DisassociateCreatedArtifactCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DisassociateCreatedArtifactCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateCreatedArtifactCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DisassociateCreatedArtifactCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateCreatedArtifactCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DisassociateCreatedArtifactCommand = DisassociateCreatedArtifactCommand;
|
|
@@ -11,7 +11,7 @@ class DisassociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class DisassociateDiscoveredResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1DisassociateDiscoveredResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateDiscoveredResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DisassociateDiscoveredResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateDiscoveredResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DisassociateDiscoveredResourceCommand = DisassociateDiscoveredResourceCommand;
|
|
@@ -11,7 +11,7 @@ class ImportMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ImportMigrationTaskCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ImportMigrationTaskCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ImportMigrationTaskCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ImportMigrationTaskCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ImportMigrationTaskCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ImportMigrationTaskCommand = ImportMigrationTaskCommand;
|
|
@@ -11,7 +11,7 @@ class ListApplicationStatesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ListApplicationStatesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListApplicationStatesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListApplicationStatesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListApplicationStatesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListApplicationStatesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListApplicationStatesCommand = ListApplicationStatesCommand;
|
|
@@ -11,7 +11,7 @@ class ListCreatedArtifactsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ListCreatedArtifactsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListCreatedArtifactsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListCreatedArtifactsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListCreatedArtifactsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListCreatedArtifactsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListCreatedArtifactsCommand = ListCreatedArtifactsCommand;
|
|
@@ -11,7 +11,7 @@ class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListDiscoveredResourcesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListDiscoveredResourcesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListDiscoveredResourcesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListDiscoveredResourcesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
|
|
@@ -11,7 +11,7 @@ class ListMigrationTasksCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ListMigrationTasksCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListMigrationTasksCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListMigrationTasksCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListMigrationTasksCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListMigrationTasksCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListMigrationTasksCommand = ListMigrationTasksCommand;
|
|
@@ -11,7 +11,7 @@ class ListProgressUpdateStreamsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class ListProgressUpdateStreamsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1ListProgressUpdateStreamsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListProgressUpdateStreamsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1ListProgressUpdateStreamsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListProgressUpdateStreamsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListProgressUpdateStreamsCommand = ListProgressUpdateStreamsCommand;
|
|
@@ -11,7 +11,7 @@ class NotifyApplicationStateCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class NotifyApplicationStateCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1NotifyApplicationStateCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1NotifyApplicationStateCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1NotifyApplicationStateCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1NotifyApplicationStateCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.NotifyApplicationStateCommand = NotifyApplicationStateCommand;
|
|
@@ -11,7 +11,7 @@ class NotifyMigrationTaskStateCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class NotifyMigrationTaskStateCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1NotifyMigrationTaskStateCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1NotifyMigrationTaskStateCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1NotifyMigrationTaskStateCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1NotifyMigrationTaskStateCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.NotifyMigrationTaskStateCommand = NotifyMigrationTaskStateCommand;
|
|
@@ -11,7 +11,7 @@ class PutResourceAttributesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MigrationHubClient";
|
|
@@ -27,10 +27,10 @@ class PutResourceAttributesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1PutResourceAttributesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutResourceAttributesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1PutResourceAttributesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutResourceAttributesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PutResourceAttributesCommand = PutResourceAttributesCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "mgh",
|
|
128
128
|
regionHash,
|