@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,70 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { CreateRouteRequest, CreateRouteResponse } from "../models/models_0";
5
+ export interface CreateRouteCommandInput extends CreateRouteRequest {
6
+ }
7
+ export interface CreateRouteCommandOutput extends CreateRouteResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the
11
+ * environment owner, regardless of which account creates the route. Routes target a service in
12
+ * the application. If an application does not have any routes, then the first route must be
13
+ * created as a <code>DEFAULT</code>
14
+ * <code>RouteType</code>.</p>
15
+ * <p>When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic
16
+ * to the target service as follows:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>If the service has a URL endpoint, and the endpoint resolves to a private IP address,
20
+ * Refactor Spaces routes traffic using the API Gateway VPC link. </p>
21
+ * </li>
22
+ * <li>
23
+ * <p>If the service has a URL endpoint, and the endpoint resolves to a public IP address,
24
+ * Refactor Spaces routes traffic over the public internet.</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>If the service has an Lambda function endpoint, then Refactor Spaces uses
28
+ * the API Gateway
29
+ * Lambda integration.</p>
30
+ * </li>
31
+ * </ul>
32
+ * <p>A health check is performed on the service when the route is created. If the health check
33
+ * fails, the route transitions to <code>FAILED</code>, and no traffic is sent to the service.</p>
34
+ * <p>For Lambda functions, the Lambda function state is checked. If
35
+ * the function is not active, the function configuration is updated so that Lambda
36
+ * resources are provisioned. If the Lambda state is <code>Failed</code>, then the
37
+ * route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
38
+ * <p>For public URLs, a connection is opened to the public endpoint. If the URL is not reachable,
39
+ * the health check fails. For private URLs, a target group is created and the target group
40
+ * health check is run.</p>
41
+ * <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
42
+ * <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
43
+ * health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
44
+ * for your target groups</a>. The health check is considered successful if at least one
45
+ * target within the target group transitions to a healthy state.</p>
46
+ * @example
47
+ * Use a bare-bones client and the command you need to make an API call.
48
+ * ```javascript
49
+ * import { MigrationHubRefactorSpacesClient, CreateRouteCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
50
+ * // const { MigrationHubRefactorSpacesClient, CreateRouteCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
51
+ * const client = new MigrationHubRefactorSpacesClient(config);
52
+ * const command = new CreateRouteCommand(input);
53
+ * const response = await client.send(command);
54
+ * ```
55
+ *
56
+ * @see {@link CreateRouteCommandInput} for command's `input` shape.
57
+ * @see {@link CreateRouteCommandOutput} for command's `response` shape.
58
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
59
+ *
60
+ */
61
+ export declare class CreateRouteCommand extends $Command<CreateRouteCommandInput, CreateRouteCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
62
+ readonly input: CreateRouteCommandInput;
63
+ constructor(input: CreateRouteCommandInput);
64
+ /**
65
+ * @internal
66
+ */
67
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRouteCommandInput, CreateRouteCommandOutput>;
68
+ private serialize;
69
+ private deserialize;
70
+ }
@@ -0,0 +1,44 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { CreateServiceRequest, CreateServiceResponse } from "../models/models_0";
5
+ export interface CreateServiceCommandInput extends CreateServiceRequest {
6
+ }
7
+ export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the
11
+ * environment owner, regardless of which account in the environment creates the service.
12
+ * Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda
13
+ * function endpoint.</p>
14
+ * <important>
15
+ * <p>If an Amazon Web Services resourceis launched in a service VPC, and you want it to be
16
+ * accessible to all of an environment’s services with VPCs and routes, apply the
17
+ * <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
18
+ * cross-account constraints, apply your own security group.</p>
19
+ * </important>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { MigrationHubRefactorSpacesClient, CreateServiceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
24
+ * // const { MigrationHubRefactorSpacesClient, CreateServiceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
25
+ * const client = new MigrationHubRefactorSpacesClient(config);
26
+ * const command = new CreateServiceCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link CreateServiceCommandInput} for command's `input` shape.
31
+ * @see {@link CreateServiceCommandOutput} for command's `response` shape.
32
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class CreateServiceCommand extends $Command<CreateServiceCommandInput, CreateServiceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
36
+ readonly input: CreateServiceCommandInput;
37
+ constructor(input: CreateServiceCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceCommandInput, CreateServiceCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
5
+ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
6
+ }
7
+ export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first
11
+ * delete any services or routes within the application.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { MigrationHubRefactorSpacesClient, DeleteApplicationCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
16
+ * // const { MigrationHubRefactorSpacesClient, DeleteApplicationCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
17
+ * const client = new MigrationHubRefactorSpacesClient(config);
18
+ * const command = new DeleteApplicationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
24
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
28
+ readonly input: DeleteApplicationCommandInput;
29
+ constructor(input: DeleteApplicationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
5
+ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest {
6
+ }
7
+ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. Before you can delete an environment, you must first
11
+ * delete any applications and services within the environment.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { MigrationHubRefactorSpacesClient, DeleteEnvironmentCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
16
+ * // const { MigrationHubRefactorSpacesClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
17
+ * const client = new MigrationHubRefactorSpacesClient(config);
18
+ * const command = new DeleteEnvironmentCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
24
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteEnvironmentCommand extends $Command<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
28
+ readonly input: DeleteEnvironmentCommandInput;
29
+ constructor(input: DeleteEnvironmentCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
5
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
6
+ }
7
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes the resource policy set for the environment. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new DeleteResourcePolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: DeleteResourcePolicyCommandInput;
28
+ constructor(input: DeleteResourcePolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { DeleteRouteRequest, DeleteRouteResponse } from "../models/models_0";
5
+ export interface DeleteRouteCommandInput extends DeleteRouteRequest {
6
+ }
7
+ export interface DeleteRouteCommandOutput extends DeleteRouteResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces route.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, DeleteRouteCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, DeleteRouteCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new DeleteRouteCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteRouteCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteRouteCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteRouteCommand extends $Command<DeleteRouteCommandInput, DeleteRouteCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: DeleteRouteCommandInput;
28
+ constructor(input: DeleteRouteCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRouteCommandInput, DeleteRouteCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { DeleteServiceRequest, DeleteServiceResponse } from "../models/models_0";
5
+ export interface DeleteServiceCommandInput extends DeleteServiceRequest {
6
+ }
7
+ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an Amazon Web Services Migration Hub Refactor Spaces service. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, DeleteServiceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, DeleteServiceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new DeleteServiceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteServiceCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteServiceCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteServiceCommand extends $Command<DeleteServiceCommandInput, DeleteServiceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: DeleteServiceCommandInput;
28
+ constructor(input: DeleteServiceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteServiceCommandInput, DeleteServiceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
5
+ export interface GetApplicationCommandInput extends GetApplicationRequest {
6
+ }
7
+ export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, GetApplicationCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, GetApplicationCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new GetApplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetApplicationCommandInput} for command's `input` shape.
22
+ * @see {@link GetApplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: GetApplicationCommandInput;
28
+ constructor(input: GetApplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationCommandInput, GetApplicationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
5
+ export interface GetEnvironmentCommandInput extends GetEnvironmentRequest {
6
+ }
7
+ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces environment.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, GetEnvironmentCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, GetEnvironmentCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new GetEnvironmentCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
22
+ * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetEnvironmentCommand extends $Command<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: GetEnvironmentCommandInput;
28
+ constructor(input: GetEnvironmentCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEnvironmentCommandInput, GetEnvironmentCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
+ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
6
+ }
7
+ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets the resource-based permission policy that is set for the given environment. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, GetResourcePolicyCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, GetResourcePolicyCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new GetResourcePolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
22
+ * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: GetResourcePolicyCommandInput;
28
+ constructor(input: GetResourcePolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { GetRouteRequest, GetRouteResponse } from "../models/models_0";
5
+ export interface GetRouteCommandInput extends GetRouteRequest {
6
+ }
7
+ export interface GetRouteCommandOutput extends GetRouteResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces route.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, GetRouteCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, GetRouteCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new GetRouteCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetRouteCommandInput} for command's `input` shape.
22
+ * @see {@link GetRouteCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetRouteCommand extends $Command<GetRouteCommandInput, GetRouteCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: GetRouteCommandInput;
28
+ constructor(input: GetRouteCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRouteCommandInput, GetRouteCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { GetServiceRequest, GetServiceResponse } from "../models/models_0";
5
+ export interface GetServiceCommandInput extends GetServiceRequest {
6
+ }
7
+ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets an Amazon Web Services Migration Hub Refactor Spaces service. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, GetServiceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, GetServiceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new GetServiceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetServiceCommandInput} for command's `input` shape.
22
+ * @see {@link GetServiceCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetServiceCommand extends $Command<GetServiceCommandInput, GetServiceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: GetServiceCommandInput;
28
+ constructor(input: GetServiceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetServiceCommandInput, GetServiceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
5
+ export interface ListApplicationsCommandInput extends ListApplicationsRequest {
6
+ }
7
+ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, ListApplicationsCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, ListApplicationsCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new ListApplicationsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListApplicationsCommandInput} for command's `input` shape.
22
+ * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListApplicationsCommand extends $Command<ListApplicationsCommandInput, ListApplicationsCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: ListApplicationsCommandInput;
28
+ constructor(input: ListApplicationsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationsCommandInput, ListApplicationsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { ListEnvironmentVpcsRequest, ListEnvironmentVpcsResponse } from "../models/models_0";
5
+ export interface ListEnvironmentVpcsCommandInput extends ListEnvironmentVpcsRequest {
6
+ }
7
+ export interface ListEnvironmentVpcsCommandOutput extends ListEnvironmentVpcsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists all the virtual private clouds (VPCs) that are part of an Amazon Web Services Migration Hub Refactor Spaces environment. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, ListEnvironmentVpcsCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, ListEnvironmentVpcsCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new ListEnvironmentVpcsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListEnvironmentVpcsCommandInput} for command's `input` shape.
22
+ * @see {@link ListEnvironmentVpcsCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListEnvironmentVpcsCommand extends $Command<ListEnvironmentVpcsCommandInput, ListEnvironmentVpcsCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: ListEnvironmentVpcsCommandInput;
28
+ constructor(input: ListEnvironmentVpcsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnvironmentVpcsCommandInput, ListEnvironmentVpcsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { ListEnvironmentsRequest, ListEnvironmentsResponse } from "../models/models_0";
5
+ export interface ListEnvironmentsCommandInput extends ListEnvironmentsRequest {
6
+ }
7
+ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller
11
+ * account. </p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { MigrationHubRefactorSpacesClient, ListEnvironmentsCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
16
+ * // const { MigrationHubRefactorSpacesClient, ListEnvironmentsCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
17
+ * const client = new MigrationHubRefactorSpacesClient(config);
18
+ * const command = new ListEnvironmentsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
23
+ * @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
24
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
28
+ readonly input: ListEnvironmentsCommandInput;
29
+ constructor(input: ListEnvironmentsCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
4
+ import { ListRoutesRequest, ListRoutesResponse } from "../models/models_0";
5
+ export interface ListRoutesCommandInput extends ListRoutesRequest {
6
+ }
7
+ export interface ListRoutesCommandOutput extends ListRoutesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MigrationHubRefactorSpacesClient, ListRoutesCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
15
+ * // const { MigrationHubRefactorSpacesClient, ListRoutesCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
16
+ * const client = new MigrationHubRefactorSpacesClient(config);
17
+ * const command = new ListRoutesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListRoutesCommandInput} for command's `input` shape.
22
+ * @see {@link ListRoutesCommandOutput} for command's `response` shape.
23
+ * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListRoutesCommand extends $Command<ListRoutesCommandInput, ListRoutesCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
27
+ readonly input: ListRoutesCommandInput;
28
+ constructor(input: ListRoutesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoutesCommandInput, ListRoutesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }