@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +215 -0
- package/dist-cjs/MigrationHubRefactorSpaces.js +352 -0
- package/dist-cjs/MigrationHubRefactorSpacesClient.js +35 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/CreateRouteCommand.js +36 -0
- package/dist-cjs/commands/CreateServiceCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteRouteCommand.js +36 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetRouteCommand.js +36 -0
- package/dist-cjs/commands/GetServiceCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
- package/dist-cjs/commands/ListRoutesCommand.js +36 -0
- package/dist-cjs/commands/ListServicesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +561 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListEnvironmentVpcsPaginator.js +35 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRoutesPaginator.js +35 -0
- package/dist-cjs/pagination/ListServicesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3834 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/MigrationHubRefactorSpaces.js +355 -0
- package/dist-es/MigrationHubRefactorSpacesClient.js +37 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
- package/dist-es/commands/CreateRouteCommand.js +39 -0
- package/dist-es/commands/CreateServiceCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
- package/dist-es/commands/DeleteRouteCommand.js +39 -0
- package/dist-es/commands/DeleteServiceCommand.js +39 -0
- package/dist-es/commands/GetApplicationCommand.js +39 -0
- package/dist-es/commands/GetEnvironmentCommand.js +39 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
- package/dist-es/commands/GetRouteCommand.js +39 -0
- package/dist-es/commands/GetServiceCommand.js +39 -0
- package/dist-es/commands/ListApplicationsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentVpcsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
- package/dist-es/commands/ListRoutesCommand.js +39 -0
- package/dist-es/commands/ListServicesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +395 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +74 -0
- package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +74 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +74 -0
- package/dist-es/pagination/ListRoutesPaginator.js +74 -0
- package/dist-es/pagination/ListServicesPaginator.js +74 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +4225 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/MigrationHubRefactorSpaces.d.ts +240 -0
- package/dist-types/MigrationHubRefactorSpacesClient.d.ts +169 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +39 -0
- package/dist-types/commands/CreateRouteCommand.d.ts +70 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +44 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRouteCommand.d.ts +35 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +35 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetRouteCommand.d.ts +35 -0
- package/dist-types/commands/GetServiceCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +36 -0
- package/dist-types/commands/ListRoutesCommand.d.ts +35 -0
- package/dist-types/commands/ListServicesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +41 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2193 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRoutesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +71 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/MigrationHubRefactorSpaces.d.ts +120 -0
- package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +94 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1267 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentVpcsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -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 { ListServicesRequest, ListServicesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListServicesCommandInput extends ListServicesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListServicesCommandOutput extends ListServicesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all the Amazon Web Services Migration Hub Refactor Spaces services 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, ListServicesCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
|
|
15
|
+
* // const { MigrationHubRefactorSpacesClient, ListServicesCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
|
|
16
|
+
* const client = new MigrationHubRefactorSpacesClient(config);
|
|
17
|
+
* const command = new ListServicesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListServicesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListServicesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListServicesCommand extends $Command<ListServicesCommandInput, ListServicesCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
27
|
+
readonly input: ListServicesCommandInput;
|
|
28
|
+
constructor(input: ListServicesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListServicesCommandInput, ListServicesCommandOutput>;
|
|
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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists the tags of a resource. The caller account must be the same as the resource’s
|
|
11
|
+
* <code>OwnerAccountId</code>. Listing tags in other accounts is not supported. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { MigrationHubRefactorSpacesClient, ListTagsForResourceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
|
|
16
|
+
* // const { MigrationHubRefactorSpacesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
|
|
17
|
+
* const client = new MigrationHubRefactorSpacesClient(config);
|
|
18
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
28
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
|
|
11
|
+
* must contain the same actions and condition statements as the
|
|
12
|
+
* <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
|
|
13
|
+
* permission in Resource Access Manager. The policy must not contain new lines or blank lines. </p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { MigrationHubRefactorSpacesClient, PutResourcePolicyCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
|
|
18
|
+
* // const { MigrationHubRefactorSpacesClient, PutResourcePolicyCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
|
|
19
|
+
* const client = new MigrationHubRefactorSpacesClient(config);
|
|
20
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
30
|
+
readonly input: PutResourcePolicyCommandInput;
|
|
31
|
+
constructor(input: PutResourcePolicyCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes the tags of a given resource. Tags are metadata which can be used to manage a
|
|
11
|
+
* resource. To tag a resource, the caller account must be the same as the resource’s
|
|
12
|
+
* <code>OwnerAccountId</code>. Tagging resources in other accounts is not supported.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated resources, such as an
|
|
15
|
+
* environment’s transit gateway.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { MigrationHubRefactorSpacesClient, TagResourceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
|
|
21
|
+
* // const { MigrationHubRefactorSpacesClient, TagResourceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
|
|
22
|
+
* const client = new MigrationHubRefactorSpacesClient(config);
|
|
23
|
+
* const command = new TagResourceCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
33
|
+
readonly input: TagResourceCommandInput;
|
|
34
|
+
constructor(input: TagResourceCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds to or modifies the tags of the given resource. Tags are metadata which can be used to
|
|
11
|
+
* manage a resource. To untag a resource, the caller account must be the same as the resource’s
|
|
12
|
+
* <code>OwnerAccountId</code>. Untagging resources across accounts is not supported. </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { MigrationHubRefactorSpacesClient, UntagResourceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
|
|
17
|
+
* // const { MigrationHubRefactorSpacesClient, UntagResourceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
|
|
18
|
+
* const client = new MigrationHubRefactorSpacesClient(config);
|
|
19
|
+
* const command = new UntagResourceCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
29
|
+
readonly input: UntagResourceCommandInput;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubRefactorSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from "./CreateApplicationCommand";
|
|
2
|
+
export * from "./CreateEnvironmentCommand";
|
|
3
|
+
export * from "./CreateRouteCommand";
|
|
4
|
+
export * from "./CreateServiceCommand";
|
|
5
|
+
export * from "./DeleteApplicationCommand";
|
|
6
|
+
export * from "./DeleteEnvironmentCommand";
|
|
7
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
8
|
+
export * from "./DeleteRouteCommand";
|
|
9
|
+
export * from "./DeleteServiceCommand";
|
|
10
|
+
export * from "./GetApplicationCommand";
|
|
11
|
+
export * from "./GetEnvironmentCommand";
|
|
12
|
+
export * from "./GetResourcePolicyCommand";
|
|
13
|
+
export * from "./GetRouteCommand";
|
|
14
|
+
export * from "./GetServiceCommand";
|
|
15
|
+
export * from "./ListApplicationsCommand";
|
|
16
|
+
export * from "./ListEnvironmentVpcsCommand";
|
|
17
|
+
export * from "./ListEnvironmentsCommand";
|
|
18
|
+
export * from "./ListRoutesCommand";
|
|
19
|
+
export * from "./ListServicesCommand";
|
|
20
|
+
export * from "./ListTagsForResourceCommand";
|
|
21
|
+
export * from "./PutResourcePolicyCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|