@aws-sdk/client-migration-hub 3.183.0 → 3.185.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/MigrationHub.js +77 -70
  4. package/dist-es/MigrationHubClient.js +28 -22
  5. package/dist-es/commands/AssociateCreatedArtifactCommand.js +28 -21
  6. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +28 -21
  7. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +28 -21
  8. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +28 -21
  9. package/dist-es/commands/DescribeApplicationStateCommand.js +28 -21
  10. package/dist-es/commands/DescribeMigrationTaskCommand.js +28 -21
  11. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +28 -21
  12. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +28 -21
  13. package/dist-es/commands/ImportMigrationTaskCommand.js +28 -21
  14. package/dist-es/commands/ListApplicationStatesCommand.js +28 -21
  15. package/dist-es/commands/ListCreatedArtifactsCommand.js +28 -21
  16. package/dist-es/commands/ListDiscoveredResourcesCommand.js +28 -21
  17. package/dist-es/commands/ListMigrationTasksCommand.js +28 -21
  18. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +28 -21
  19. package/dist-es/commands/NotifyApplicationStateCommand.js +28 -21
  20. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +28 -21
  21. package/dist-es/commands/PutResourceAttributesCommand.js +28 -21
  22. package/dist-es/endpoints.js +8 -8
  23. package/dist-es/models/MigrationHubServiceException.js +10 -5
  24. package/dist-es/models/models_0.js +164 -247
  25. package/dist-es/pagination/ListApplicationStatesPaginator.js +68 -25
  26. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +68 -25
  27. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +68 -25
  28. package/dist-es/pagination/ListMigrationTasksPaginator.js +68 -25
  29. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_json1_1.js +1816 -1415
  31. package/dist-es/runtimeConfig.browser.js +12 -26
  32. package/dist-es/runtimeConfig.js +12 -30
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteProgressUpdateStreamRequestFilterSensitiveLog, DeleteProgressUpdateStreamResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteProgressUpdateStreamCommand, serializeAws_json1_1DeleteProgressUpdateStreamCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteProgressUpdateStreamCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteProgressUpdateStreamCommand = (function (_super) {
7
+ __extends(DeleteProgressUpdateStreamCommand, _super);
8
+ function DeleteProgressUpdateStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteProgressUpdateStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "DeleteProgressUpdateStreamCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DeleteProgressUpdateStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteProgressUpdateStreamRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteProgressUpdateStreamResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteProgressUpdateStreamCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteProgressUpdateStreamCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteProgressUpdateStreamCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteProgressUpdateStreamCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteProgressUpdateStreamCommand;
38
+ }($Command));
39
+ export { DeleteProgressUpdateStreamCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeApplicationStateRequestFilterSensitiveLog, DescribeApplicationStateResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeApplicationStateCommand, serializeAws_json1_1DescribeApplicationStateCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeApplicationStateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeApplicationStateCommand = (function (_super) {
7
+ __extends(DescribeApplicationStateCommand, _super);
8
+ function DescribeApplicationStateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeApplicationStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "DescribeApplicationStateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DescribeApplicationStateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeApplicationStateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeApplicationStateResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeApplicationStateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeApplicationStateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeApplicationStateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeApplicationStateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeApplicationStateCommand;
38
+ }($Command));
39
+ export { DescribeApplicationStateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeMigrationTaskRequestFilterSensitiveLog, DescribeMigrationTaskResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeMigrationTaskCommand, serializeAws_json1_1DescribeMigrationTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeMigrationTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeMigrationTaskCommand = (function (_super) {
7
+ __extends(DescribeMigrationTaskCommand, _super);
8
+ function DescribeMigrationTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeMigrationTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "DescribeMigrationTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DescribeMigrationTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeMigrationTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeMigrationTaskResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeMigrationTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeMigrationTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeMigrationTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeMigrationTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeMigrationTaskCommand;
38
+ }($Command));
39
+ export { DescribeMigrationTaskCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateCreatedArtifactRequestFilterSensitiveLog, DisassociateCreatedArtifactResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisassociateCreatedArtifactCommand, serializeAws_json1_1DisassociateCreatedArtifactCommand, } from "../protocols/Aws_json1_1";
5
- export class DisassociateCreatedArtifactCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateCreatedArtifactCommand = (function (_super) {
7
+ __extends(DisassociateCreatedArtifactCommand, _super);
8
+ function DisassociateCreatedArtifactCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateCreatedArtifactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "DisassociateCreatedArtifactCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DisassociateCreatedArtifactCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateCreatedArtifactRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateCreatedArtifactResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateCreatedArtifactCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisassociateCreatedArtifactCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateCreatedArtifactCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisassociateCreatedArtifactCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateCreatedArtifactCommand;
38
+ }($Command));
39
+ export { DisassociateCreatedArtifactCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateDiscoveredResourceRequestFilterSensitiveLog, DisassociateDiscoveredResourceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisassociateDiscoveredResourceCommand, serializeAws_json1_1DisassociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DisassociateDiscoveredResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateDiscoveredResourceCommand = (function (_super) {
7
+ __extends(DisassociateDiscoveredResourceCommand, _super);
8
+ function DisassociateDiscoveredResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateDiscoveredResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "DisassociateDiscoveredResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DisassociateDiscoveredResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateDiscoveredResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateDiscoveredResourceResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateDiscoveredResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisassociateDiscoveredResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateDiscoveredResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisassociateDiscoveredResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateDiscoveredResourceCommand;
38
+ }($Command));
39
+ export { DisassociateDiscoveredResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ImportMigrationTaskRequestFilterSensitiveLog, ImportMigrationTaskResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ImportMigrationTaskCommand, serializeAws_json1_1ImportMigrationTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class ImportMigrationTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportMigrationTaskCommand = (function (_super) {
7
+ __extends(ImportMigrationTaskCommand, _super);
8
+ function ImportMigrationTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportMigrationTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "ImportMigrationTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "ImportMigrationTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportMigrationTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ImportMigrationTaskResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportMigrationTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ImportMigrationTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportMigrationTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ImportMigrationTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportMigrationTaskCommand;
38
+ }($Command));
39
+ export { ImportMigrationTaskCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationStatesRequestFilterSensitiveLog, ListApplicationStatesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListApplicationStatesCommand, serializeAws_json1_1ListApplicationStatesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListApplicationStatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationStatesCommand = (function (_super) {
7
+ __extends(ListApplicationStatesCommand, _super);
8
+ function ListApplicationStatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationStatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "ListApplicationStatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "ListApplicationStatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationStatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationStatesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListApplicationStatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListApplicationStatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationStatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListApplicationStatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationStatesCommand;
38
+ }($Command));
39
+ export { ListApplicationStatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCreatedArtifactsRequestFilterSensitiveLog, ListCreatedArtifactsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListCreatedArtifactsCommand, serializeAws_json1_1ListCreatedArtifactsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListCreatedArtifactsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCreatedArtifactsCommand = (function (_super) {
7
+ __extends(ListCreatedArtifactsCommand, _super);
8
+ function ListCreatedArtifactsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCreatedArtifactsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "ListCreatedArtifactsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "ListCreatedArtifactsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCreatedArtifactsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCreatedArtifactsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCreatedArtifactsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListCreatedArtifactsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCreatedArtifactsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListCreatedArtifactsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCreatedArtifactsCommand;
38
+ }($Command));
39
+ export { ListCreatedArtifactsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDiscoveredResourcesRequestFilterSensitiveLog, ListDiscoveredResourcesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDiscoveredResourcesCommand, serializeAws_json1_1ListDiscoveredResourcesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDiscoveredResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDiscoveredResourcesCommand = (function (_super) {
7
+ __extends(ListDiscoveredResourcesCommand, _super);
8
+ function ListDiscoveredResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDiscoveredResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "ListDiscoveredResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "ListDiscoveredResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDiscoveredResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDiscoveredResourcesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDiscoveredResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDiscoveredResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDiscoveredResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDiscoveredResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDiscoveredResourcesCommand;
38
+ }($Command));
39
+ export { ListDiscoveredResourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListMigrationTasksRequestFilterSensitiveLog, ListMigrationTasksResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListMigrationTasksCommand, serializeAws_json1_1ListMigrationTasksCommand, } from "../protocols/Aws_json1_1";
5
- export class ListMigrationTasksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMigrationTasksCommand = (function (_super) {
7
+ __extends(ListMigrationTasksCommand, _super);
8
+ function ListMigrationTasksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMigrationTasksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubClient";
15
- const commandName = "ListMigrationTasksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "ListMigrationTasksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMigrationTasksRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMigrationTasksResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListMigrationTasksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListMigrationTasksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMigrationTasksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListMigrationTasksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMigrationTasksCommand;
38
+ }($Command));
39
+ export { ListMigrationTasksCommand };