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