@aws-sdk/client-migration-hub-refactor-spaces 3.43.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 (172) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +215 -0
  4. package/dist-cjs/MigrationHubRefactorSpaces.js +352 -0
  5. package/dist-cjs/MigrationHubRefactorSpacesClient.js +35 -0
  6. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  7. package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
  8. package/dist-cjs/commands/CreateRouteCommand.js +36 -0
  9. package/dist-cjs/commands/CreateServiceCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
  13. package/dist-cjs/commands/DeleteRouteCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteServiceCommand.js +36 -0
  15. package/dist-cjs/commands/GetApplicationCommand.js +36 -0
  16. package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
  17. package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
  18. package/dist-cjs/commands/GetRouteCommand.js +36 -0
  19. package/dist-cjs/commands/GetServiceCommand.js +36 -0
  20. package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
  21. package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +36 -0
  22. package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
  23. package/dist-cjs/commands/ListRoutesCommand.js +36 -0
  24. package/dist-cjs/commands/ListServicesCommand.js +36 -0
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  26. package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  29. package/dist-cjs/commands/index.js +26 -0
  30. package/dist-cjs/endpoints.js +130 -0
  31. package/dist-cjs/index.js +8 -0
  32. package/dist-cjs/models/index.js +4 -0
  33. package/dist-cjs/models/models_0.js +561 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListApplicationsPaginator.js +35 -0
  36. package/dist-cjs/pagination/ListEnvironmentVpcsPaginator.js +35 -0
  37. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +35 -0
  38. package/dist-cjs/pagination/ListRoutesPaginator.js +35 -0
  39. package/dist-cjs/pagination/ListServicesPaginator.js +35 -0
  40. package/dist-cjs/pagination/index.js +9 -0
  41. package/dist-cjs/protocols/Aws_restJson1.js +3834 -0
  42. package/dist-cjs/runtimeConfig.browser.js +40 -0
  43. package/dist-cjs/runtimeConfig.js +44 -0
  44. package/dist-cjs/runtimeConfig.native.js +16 -0
  45. package/dist-cjs/runtimeConfig.shared.js +17 -0
  46. package/dist-es/MigrationHubRefactorSpaces.js +355 -0
  47. package/dist-es/MigrationHubRefactorSpacesClient.js +37 -0
  48. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  49. package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
  50. package/dist-es/commands/CreateRouteCommand.js +39 -0
  51. package/dist-es/commands/CreateServiceCommand.js +39 -0
  52. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  53. package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
  54. package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
  55. package/dist-es/commands/DeleteRouteCommand.js +39 -0
  56. package/dist-es/commands/DeleteServiceCommand.js +39 -0
  57. package/dist-es/commands/GetApplicationCommand.js +39 -0
  58. package/dist-es/commands/GetEnvironmentCommand.js +39 -0
  59. package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
  60. package/dist-es/commands/GetRouteCommand.js +39 -0
  61. package/dist-es/commands/GetServiceCommand.js +39 -0
  62. package/dist-es/commands/ListApplicationsCommand.js +39 -0
  63. package/dist-es/commands/ListEnvironmentVpcsCommand.js +39 -0
  64. package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
  65. package/dist-es/commands/ListRoutesCommand.js +39 -0
  66. package/dist-es/commands/ListServicesCommand.js +39 -0
  67. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  68. package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
  69. package/dist-es/commands/TagResourceCommand.js +39 -0
  70. package/dist-es/commands/UntagResourceCommand.js +39 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoints.js +126 -0
  73. package/dist-es/index.js +5 -0
  74. package/dist-es/models/index.js +1 -0
  75. package/dist-es/models/models_0.js +395 -0
  76. package/dist-es/pagination/Interfaces.js +1 -0
  77. package/dist-es/pagination/ListApplicationsPaginator.js +74 -0
  78. package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +74 -0
  79. package/dist-es/pagination/ListEnvironmentsPaginator.js +74 -0
  80. package/dist-es/pagination/ListRoutesPaginator.js +74 -0
  81. package/dist-es/pagination/ListServicesPaginator.js +74 -0
  82. package/dist-es/pagination/index.js +6 -0
  83. package/dist-es/protocols/Aws_restJson1.js +4225 -0
  84. package/dist-es/runtimeConfig.browser.js +17 -0
  85. package/dist-es/runtimeConfig.js +21 -0
  86. package/dist-es/runtimeConfig.native.js +8 -0
  87. package/dist-es/runtimeConfig.shared.js +13 -0
  88. package/dist-types/MigrationHubRefactorSpaces.d.ts +240 -0
  89. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +169 -0
  90. package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
  91. package/dist-types/commands/CreateEnvironmentCommand.d.ts +39 -0
  92. package/dist-types/commands/CreateRouteCommand.d.ts +70 -0
  93. package/dist-types/commands/CreateServiceCommand.d.ts +44 -0
  94. package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
  95. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
  96. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
  97. package/dist-types/commands/DeleteRouteCommand.d.ts +35 -0
  98. package/dist-types/commands/DeleteServiceCommand.d.ts +35 -0
  99. package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
  100. package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
  101. package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
  102. package/dist-types/commands/GetRouteCommand.d.ts +35 -0
  103. package/dist-types/commands/GetServiceCommand.d.ts +35 -0
  104. package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
  105. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +35 -0
  106. package/dist-types/commands/ListEnvironmentsCommand.d.ts +36 -0
  107. package/dist-types/commands/ListRoutesCommand.d.ts +35 -0
  108. package/dist-types/commands/ListServicesCommand.d.ts +35 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
  110. package/dist-types/commands/PutResourcePolicyCommand.d.ts +38 -0
  111. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  112. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  113. package/dist-types/commands/index.d.ts +23 -0
  114. package/dist-types/endpoints.d.ts +2 -0
  115. package/dist-types/index.d.ts +5 -0
  116. package/dist-types/models/index.d.ts +1 -0
  117. package/dist-types/models/models_0.d.ts +2193 -0
  118. package/dist-types/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
  120. package/dist-types/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
  121. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  122. package/dist-types/pagination/ListRoutesPaginator.d.ts +4 -0
  123. package/dist-types/pagination/ListServicesPaginator.d.ts +4 -0
  124. package/dist-types/pagination/index.d.ts +6 -0
  125. package/dist-types/protocols/Aws_restJson1.d.ts +71 -0
  126. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  127. package/dist-types/runtimeConfig.d.ts +39 -0
  128. package/dist-types/runtimeConfig.native.d.ts +38 -0
  129. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  130. package/dist-types/ts3.4/MigrationHubRefactorSpaces.d.ts +120 -0
  131. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +94 -0
  132. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  156. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  157. package/dist-types/ts3.4/index.d.ts +5 -0
  158. package/dist-types/ts3.4/models/index.d.ts +1 -0
  159. package/dist-types/ts3.4/models/models_0.d.ts +1267 -0
  160. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  161. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
  162. package/dist-types/ts3.4/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
  163. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  164. package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +4 -0
  165. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
  166. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
  168. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  169. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  170. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  171. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  172. package/package.json +96 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateServiceRequest, CreateServiceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateServiceCommand, serializeAws_restJson1CreateServiceCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ CreateServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: CreateServiceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateServiceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1CreateServiceCommand(input, context);
33
+ };
34
+ CreateServiceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateServiceCommand(output, context);
36
+ };
37
+ return CreateServiceCommand;
38
+ }($Command));
39
+ export { CreateServiceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteApplicationResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteApplicationCommand(input, context);
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteApplicationCommand(output, context);
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: DeleteEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteEnvironmentResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteEnvironmentCommand(input, context);
33
+ };
34
+ DeleteEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteEnvironmentCommand(output, context);
36
+ };
37
+ return DeleteEnvironmentCommand;
38
+ }($Command));
39
+ export { DeleteEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteResourcePolicyCommand, serializeAws_restJson1DeleteResourcePolicyCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: DeleteResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteResourcePolicyResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
33
+ };
34
+ DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
36
+ };
37
+ return DeleteResourcePolicyCommand;
38
+ }($Command));
39
+ export { DeleteResourcePolicyCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteRouteRequest, DeleteRouteResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteRouteCommand, serializeAws_restJson1DeleteRouteCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteRouteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: DeleteRouteRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteRouteResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteRouteCommand(input, context);
33
+ };
34
+ DeleteRouteCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteRouteCommand(output, context);
36
+ };
37
+ return DeleteRouteCommand;
38
+ }($Command));
39
+ export { DeleteRouteCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteServiceRequest, DeleteServiceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteServiceCommand, serializeAws_restJson1DeleteServiceCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: DeleteServiceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteServiceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteServiceCommand(input, context);
33
+ };
34
+ DeleteServiceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteServiceCommand(output, context);
36
+ };
37
+ return DeleteServiceCommand;
38
+ }($Command));
39
+ export { DeleteServiceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetApplicationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetApplicationResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetApplicationCommand(input, context);
33
+ };
34
+ GetApplicationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetApplicationCommand(output, context);
36
+ };
37
+ return GetApplicationCommand;
38
+ }($Command));
39
+ export { GetApplicationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetEnvironmentResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetEnvironmentCommand(input, context);
33
+ };
34
+ GetEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetEnvironmentCommand(output, context);
36
+ };
37
+ return GetEnvironmentCommand;
38
+ }($Command));
39
+ export { GetEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetResourcePolicyCommand, serializeAws_restJson1GetResourcePolicyCommand, } from "../protocols/Aws_restJson1";
6
+ var GetResourcePolicyCommand = (function (_super) {
7
+ __extends(GetResourcePolicyCommand, _super);
8
+ function GetResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "GetResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetResourcePolicyResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetResourcePolicyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetResourcePolicyCommand(input, context);
33
+ };
34
+ GetResourcePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetResourcePolicyCommand(output, context);
36
+ };
37
+ return GetResourcePolicyCommand;
38
+ }($Command));
39
+ export { GetResourcePolicyCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetRouteRequest, GetRouteResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetRouteCommand, serializeAws_restJson1GetRouteCommand, } from "../protocols/Aws_restJson1";
6
+ var GetRouteCommand = (function (_super) {
7
+ __extends(GetRouteCommand, _super);
8
+ function GetRouteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetRouteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "GetRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetRouteRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRouteResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRouteCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetRouteCommand(input, context);
33
+ };
34
+ GetRouteCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetRouteCommand(output, context);
36
+ };
37
+ return GetRouteCommand;
38
+ }($Command));
39
+ export { GetRouteCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetServiceRequest, GetServiceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetServiceCommand, serializeAws_restJson1GetServiceCommand, } from "../protocols/Aws_restJson1";
6
+ var GetServiceCommand = (function (_super) {
7
+ __extends(GetServiceCommand, _super);
8
+ function GetServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "GetServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetServiceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetServiceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetServiceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetServiceCommand(input, context);
33
+ };
34
+ GetServiceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetServiceCommand(output, context);
36
+ };
37
+ return GetServiceCommand;
38
+ }($Command));
39
+ export { GetServiceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListApplicationsCommand = (function (_super) {
7
+ __extends(ListApplicationsCommand, _super);
8
+ function ListApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListApplicationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "ListApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListApplicationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListApplicationsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListApplicationsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListApplicationsCommand(input, context);
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListApplicationsCommand(output, context);
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListEnvironmentVpcsRequest, ListEnvironmentVpcsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEnvironmentVpcsCommand, serializeAws_restJson1ListEnvironmentVpcsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListEnvironmentVpcsCommand = (function (_super) {
7
+ __extends(ListEnvironmentVpcsCommand, _super);
8
+ function ListEnvironmentVpcsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListEnvironmentVpcsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "ListEnvironmentVpcsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListEnvironmentVpcsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListEnvironmentVpcsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEnvironmentVpcsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListEnvironmentVpcsCommand(input, context);
33
+ };
34
+ ListEnvironmentVpcsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListEnvironmentVpcsCommand(output, context);
36
+ };
37
+ return ListEnvironmentVpcsCommand;
38
+ }($Command));
39
+ export { ListEnvironmentVpcsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListEnvironmentsRequest, ListEnvironmentsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListEnvironmentsCommand = (function (_super) {
7
+ __extends(ListEnvironmentsCommand, _super);
8
+ function ListEnvironmentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListEnvironmentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "ListEnvironmentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListEnvironmentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListEnvironmentsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEnvironmentsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListEnvironmentsCommand(input, context);
33
+ };
34
+ ListEnvironmentsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListEnvironmentsCommand(output, context);
36
+ };
37
+ return ListEnvironmentsCommand;
38
+ }($Command));
39
+ export { ListEnvironmentsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListRoutesRequest, ListRoutesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListRoutesCommand, serializeAws_restJson1ListRoutesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListRoutesCommand = (function (_super) {
7
+ __extends(ListRoutesCommand, _super);
8
+ function ListRoutesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListRoutesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "ListRoutesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListRoutesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListRoutesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRoutesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListRoutesCommand(input, context);
33
+ };
34
+ ListRoutesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListRoutesCommand(output, context);
36
+ };
37
+ return ListRoutesCommand;
38
+ }($Command));
39
+ export { ListRoutesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListServicesRequest, ListServicesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListServicesCommand, serializeAws_restJson1ListServicesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListServicesCommand = (function (_super) {
7
+ __extends(ListServicesCommand, _super);
8
+ function ListServicesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListServicesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubRefactorSpacesClient";
18
+ var commandName = "ListServicesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListServicesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListServicesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListServicesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListServicesCommand(input, context);
33
+ };
34
+ ListServicesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListServicesCommand(output, context);
36
+ };
37
+ return ListServicesCommand;
38
+ }($Command));
39
+ export { ListServicesCommand };