@aws-sdk/client-migration-hub-refactor-spaces 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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MigrationHubRefactorSpaces.js +105 -98
  4. package/dist-es/MigrationHubRefactorSpacesClient.js +28 -22
  5. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  6. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  7. package/dist-es/commands/CreateRouteCommand.js +28 -21
  8. package/dist-es/commands/CreateServiceCommand.js +28 -21
  9. package/dist-es/commands/DeleteApplicationCommand.js +28 -21
  10. package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  12. package/dist-es/commands/DeleteRouteCommand.js +28 -21
  13. package/dist-es/commands/DeleteServiceCommand.js +28 -21
  14. package/dist-es/commands/GetApplicationCommand.js +28 -21
  15. package/dist-es/commands/GetEnvironmentCommand.js +28 -21
  16. package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
  17. package/dist-es/commands/GetRouteCommand.js +28 -21
  18. package/dist-es/commands/GetServiceCommand.js +28 -21
  19. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  20. package/dist-es/commands/ListEnvironmentVpcsCommand.js +28 -21
  21. package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
  22. package/dist-es/commands/ListRoutesCommand.js +28 -21
  23. package/dist-es/commands/ListServicesCommand.js +28 -21
  24. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  25. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  26. package/dist-es/commands/TagResourceCommand.js +28 -21
  27. package/dist-es/commands/UntagResourceCommand.js +28 -21
  28. package/dist-es/commands/UpdateRouteCommand.js +28 -21
  29. package/dist-es/endpoints.js +8 -8
  30. package/dist-es/models/MigrationHubRefactorSpacesServiceException.js +10 -5
  31. package/dist-es/models/models_0.js +181 -333
  32. package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
  33. package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +68 -25
  34. package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
  35. package/dist-es/pagination/ListRoutesPaginator.js +68 -25
  36. package/dist-es/pagination/ListServicesPaginator.js +68 -25
  37. package/dist-es/protocols/Aws_restJson1.js +2978 -2213
  38. package/dist-es/runtimeConfig.browser.js +12 -26
  39. package/dist-es/runtimeConfig.js +12 -30
  40. package/dist-es/runtimeConfig.native.js +5 -8
  41. package/dist-es/runtimeConfig.shared.js +11 -8
  42. 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 { CreateEnvironmentRequestFilterSensitiveLog, CreateEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateEnvironmentCommand, serializeAws_restJson1CreateEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEnvironmentCommand = (function (_super) {
7
+ __extends(CreateEnvironmentCommand, _super);
8
+ function CreateEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEnvironmentCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "CreateEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "CreateEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEnvironmentResponseFilterSensitiveLog,
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
+ CreateEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEnvironmentCommand;
38
+ }($Command));
39
+ export { CreateEnvironmentCommand };
@@ -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 { CreateRouteRequestFilterSensitiveLog, CreateRouteResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRouteCommand, serializeAws_restJson1CreateRouteCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRouteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRouteCommand = (function (_super) {
7
+ __extends(CreateRouteCommand, _super);
8
+ function CreateRouteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRouteCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "CreateRouteCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "CreateRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRouteRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRouteResponseFilterSensitiveLog,
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
+ CreateRouteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRouteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRouteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRouteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRouteCommand;
38
+ }($Command));
39
+ export { CreateRouteCommand };
@@ -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 { CreateServiceRequestFilterSensitiveLog, CreateServiceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateServiceCommand, serializeAws_restJson1CreateServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateServiceCommand = (function (_super) {
7
+ __extends(CreateServiceCommand, _super);
8
+ function CreateServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateServiceCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "CreateServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "CreateServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateServiceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateServiceResponseFilterSensitiveLog,
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
+ CreateServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateServiceCommand;
38
+ }($Command));
39
+ export { CreateServiceCommand };
@@ -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 { DeleteApplicationRequestFilterSensitiveLog, DeleteApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApplicationCommand = (function (_super) {
7
+ __extends(DeleteApplicationCommand, _super);
8
+ function DeleteApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApplicationCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "DeleteApplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "DeleteApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteApplicationResponseFilterSensitiveLog,
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
+ DeleteApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -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 { DeleteEnvironmentRequestFilterSensitiveLog, DeleteEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEnvironmentCommand = (function (_super) {
7
+ __extends(DeleteEnvironmentCommand, _super);
8
+ function DeleteEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEnvironmentCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "DeleteEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "DeleteEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEnvironmentResponseFilterSensitiveLog,
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
+ DeleteEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEnvironmentCommand;
38
+ }($Command));
39
+ export { DeleteEnvironmentCommand };
@@ -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 { DeleteResourcePolicyRequestFilterSensitiveLog, DeleteResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteResourcePolicyCommand, serializeAws_restJson1DeleteResourcePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteResourcePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteResourcePolicyCommand = (function (_super) {
7
+ __extends(DeleteResourcePolicyCommand, _super);
8
+ function DeleteResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteResourcePolicyCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "DeleteResourcePolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "DeleteResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteResourcePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteResourcePolicyResponseFilterSensitiveLog,
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
+ DeleteResourcePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteResourcePolicyCommand;
38
+ }($Command));
39
+ export { DeleteResourcePolicyCommand };
@@ -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 { DeleteRouteRequestFilterSensitiveLog, DeleteRouteResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteRouteCommand, serializeAws_restJson1DeleteRouteCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteRouteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRouteCommand = (function (_super) {
7
+ __extends(DeleteRouteCommand, _super);
8
+ function DeleteRouteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRouteCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "DeleteRouteCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "DeleteRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRouteRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteRouteResponseFilterSensitiveLog,
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
+ DeleteRouteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteRouteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRouteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteRouteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRouteCommand;
38
+ }($Command));
39
+ export { DeleteRouteCommand };
@@ -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 { DeleteServiceRequestFilterSensitiveLog, DeleteServiceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteServiceCommand, serializeAws_restJson1DeleteServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteServiceCommand = (function (_super) {
7
+ __extends(DeleteServiceCommand, _super);
8
+ function DeleteServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteServiceCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "DeleteServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "DeleteServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteServiceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteServiceResponseFilterSensitiveLog,
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
+ DeleteServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteServiceCommand;
38
+ }($Command));
39
+ export { DeleteServiceCommand };
@@ -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 { GetApplicationRequestFilterSensitiveLog, GetApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApplicationCommand = (function (_super) {
7
+ __extends(GetApplicationCommand, _super);
8
+ function GetApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "GetApplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "GetApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationResponseFilterSensitiveLog,
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
+ GetApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationCommand;
38
+ }($Command));
39
+ export { GetApplicationCommand };
@@ -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 { GetEnvironmentRequestFilterSensitiveLog, GetEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEnvironmentCommand = (function (_super) {
7
+ __extends(GetEnvironmentCommand, _super);
8
+ function GetEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEnvironmentCommand.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 = "MigrationHubRefactorSpacesClient";
15
- const commandName = "GetEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "GetEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEnvironmentResponseFilterSensitiveLog,
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
+ GetEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEnvironmentCommand;
38
+ }($Command));
39
+ export { GetEnvironmentCommand };