@aws-sdk/client-launch-wizard 3.587.0 → 3.588.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/README.md +32 -0
- package/dist-cjs/index.js +189 -1
- package/dist-es/LaunchWizard.js +8 -0
- package/dist-es/commands/GetWorkloadDeploymentPatternCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +104 -0
- package/dist-types/LaunchWizard.d.ts +28 -0
- package/dist-types/LaunchWizardClient.d.ts +6 -2
- package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/GetWorkloadDeploymentPatternCommand.d.ts +98 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +71 -0
- package/dist-types/commands/ListWorkloadDeploymentPatternsCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +70 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +241 -23
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/LaunchWizard.d.ts +68 -0
- package/dist-types/ts3.4/LaunchWizardClient.d.ts +26 -2
- package/dist-types/ts3.4/commands/GetWorkloadDeploymentPatternCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +5 -5
|
@@ -3,10 +3,14 @@ import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./c
|
|
|
3
3
|
import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
|
|
4
4
|
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
5
5
|
import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
|
|
6
|
+
import { GetWorkloadDeploymentPatternCommandInput, GetWorkloadDeploymentPatternCommandOutput } from "./commands/GetWorkloadDeploymentPatternCommand";
|
|
6
7
|
import { ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput } from "./commands/ListDeploymentEventsCommand";
|
|
7
8
|
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
8
10
|
import { ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput } from "./commands/ListWorkloadDeploymentPatternsCommand";
|
|
9
11
|
import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
|
|
12
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
10
14
|
import { LaunchWizardClient } from "./LaunchWizardClient";
|
|
11
15
|
export interface LaunchWizard {
|
|
12
16
|
/**
|
|
@@ -33,6 +37,12 @@ export interface LaunchWizard {
|
|
|
33
37
|
getWorkload(args: GetWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkloadCommandOutput>;
|
|
34
38
|
getWorkload(args: GetWorkloadCommandInput, cb: (err: any, data?: GetWorkloadCommandOutput) => void): void;
|
|
35
39
|
getWorkload(args: GetWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkloadCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link GetWorkloadDeploymentPatternCommand}
|
|
42
|
+
*/
|
|
43
|
+
getWorkloadDeploymentPattern(args: GetWorkloadDeploymentPatternCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkloadDeploymentPatternCommandOutput>;
|
|
44
|
+
getWorkloadDeploymentPattern(args: GetWorkloadDeploymentPatternCommandInput, cb: (err: any, data?: GetWorkloadDeploymentPatternCommandOutput) => void): void;
|
|
45
|
+
getWorkloadDeploymentPattern(args: GetWorkloadDeploymentPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkloadDeploymentPatternCommandOutput) => void): void;
|
|
36
46
|
/**
|
|
37
47
|
* @see {@link ListDeploymentEventsCommand}
|
|
38
48
|
*/
|
|
@@ -46,6 +56,12 @@ export interface LaunchWizard {
|
|
|
46
56
|
listDeployments(args: ListDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentsCommandOutput>;
|
|
47
57
|
listDeployments(args: ListDeploymentsCommandInput, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
48
58
|
listDeployments(args: ListDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link ListTagsForResourceCommand}
|
|
61
|
+
*/
|
|
62
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
64
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
49
65
|
/**
|
|
50
66
|
* @see {@link ListWorkloadDeploymentPatternsCommand}
|
|
51
67
|
*/
|
|
@@ -59,6 +75,18 @@ export interface LaunchWizard {
|
|
|
59
75
|
listWorkloads(args: ListWorkloadsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkloadsCommandOutput>;
|
|
60
76
|
listWorkloads(args: ListWorkloadsCommandInput, cb: (err: any, data?: ListWorkloadsCommandOutput) => void): void;
|
|
61
77
|
listWorkloads(args: ListWorkloadsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkloadsCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link TagResourceCommand}
|
|
80
|
+
*/
|
|
81
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
82
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
83
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link UntagResourceCommand}
|
|
86
|
+
*/
|
|
87
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
88
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
89
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
62
90
|
}
|
|
63
91
|
/**
|
|
64
92
|
* <p>Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for
|
|
@@ -11,21 +11,25 @@ import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./c
|
|
|
11
11
|
import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
|
|
12
12
|
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
13
13
|
import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
|
|
14
|
+
import { GetWorkloadDeploymentPatternCommandInput, GetWorkloadDeploymentPatternCommandOutput } from "./commands/GetWorkloadDeploymentPatternCommand";
|
|
14
15
|
import { ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput } from "./commands/ListDeploymentEventsCommand";
|
|
15
16
|
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
17
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
16
18
|
import { ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput } from "./commands/ListWorkloadDeploymentPatternsCommand";
|
|
17
19
|
import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
|
|
20
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
22
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
23
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
20
24
|
export { __Client };
|
|
21
25
|
/**
|
|
22
26
|
* @public
|
|
23
27
|
*/
|
|
24
|
-
export type ServiceInputTypes = CreateDeploymentCommandInput | DeleteDeploymentCommandInput | GetDeploymentCommandInput | GetWorkloadCommandInput | ListDeploymentEventsCommandInput | ListDeploymentsCommandInput | ListWorkloadDeploymentPatternsCommandInput | ListWorkloadsCommandInput;
|
|
28
|
+
export type ServiceInputTypes = CreateDeploymentCommandInput | DeleteDeploymentCommandInput | GetDeploymentCommandInput | GetWorkloadCommandInput | GetWorkloadDeploymentPatternCommandInput | ListDeploymentEventsCommandInput | ListDeploymentsCommandInput | ListTagsForResourceCommandInput | ListWorkloadDeploymentPatternsCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
25
29
|
/**
|
|
26
30
|
* @public
|
|
27
31
|
*/
|
|
28
|
-
export type ServiceOutputTypes = CreateDeploymentCommandOutput | DeleteDeploymentCommandOutput | GetDeploymentCommandOutput | GetWorkloadCommandOutput | ListDeploymentEventsCommandOutput | ListDeploymentsCommandOutput | ListWorkloadDeploymentPatternsCommandOutput | ListWorkloadsCommandOutput;
|
|
32
|
+
export type ServiceOutputTypes = CreateDeploymentCommandOutput | DeleteDeploymentCommandOutput | GetDeploymentCommandOutput | GetWorkloadCommandOutput | GetWorkloadDeploymentPatternCommandOutput | ListDeploymentEventsCommandOutput | ListDeploymentsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadDeploymentPatternsCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
29
33
|
/**
|
|
30
34
|
* @public
|
|
31
35
|
*/
|
|
@@ -43,6 +43,9 @@ declare const CreateDeploymentCommand_base: {
|
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* dryRun: true || false,
|
|
46
|
+
* tags: { // Tags
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
46
49
|
* };
|
|
47
50
|
* const command = new CreateDeploymentCommand(input);
|
|
48
51
|
* const response = await client.send(command);
|
|
@@ -55,6 +55,10 @@ declare const DeleteDeploymentCommand_base: {
|
|
|
55
55
|
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
56
56
|
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link ResourceLimitException} (client fault)
|
|
59
|
+
* <p>You have exceeded an Launch Wizard resource limit. For example, you might have too many
|
|
60
|
+
* deployments in progress.</p>
|
|
61
|
+
*
|
|
58
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
63
|
* <p>The specified workload or deployment resource can't be found.</p>
|
|
60
64
|
*
|
|
@@ -51,6 +51,10 @@ declare const GetDeploymentCommand_base: {
|
|
|
51
51
|
* // },
|
|
52
52
|
* // resourceGroup: "STRING_VALUE",
|
|
53
53
|
* // deletedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // tags: { // Tags
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // deploymentArn: "STRING_VALUE",
|
|
54
58
|
* // },
|
|
55
59
|
* // };
|
|
56
60
|
*
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import { GetWorkloadDeploymentPatternInput, GetWorkloadDeploymentPatternOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetWorkloadDeploymentPatternCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetWorkloadDeploymentPatternCommandInput extends GetWorkloadDeploymentPatternInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetWorkloadDeploymentPatternCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetWorkloadDeploymentPatternCommandOutput extends GetWorkloadDeploymentPatternOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetWorkloadDeploymentPatternCommand_base: {
|
|
24
|
+
new (input: GetWorkloadDeploymentPatternCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkloadDeploymentPatternCommandInput, GetWorkloadDeploymentPatternCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetWorkloadDeploymentPatternCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkloadDeploymentPatternCommandInput, GetWorkloadDeploymentPatternCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns details for a given workload and deployment pattern, including the available
|
|
30
|
+
* specifications. You can use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html">ListWorkloads</a>
|
|
31
|
+
* operation to discover the available workload names and the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html">ListWorkloadDeploymentPatterns</a> operation to discover the available deployment
|
|
32
|
+
* pattern names of a given workload.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { LaunchWizardClient, GetWorkloadDeploymentPatternCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
37
|
+
* // const { LaunchWizardClient, GetWorkloadDeploymentPatternCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
38
|
+
* const client = new LaunchWizardClient(config);
|
|
39
|
+
* const input = { // GetWorkloadDeploymentPatternInput
|
|
40
|
+
* workloadName: "STRING_VALUE", // required
|
|
41
|
+
* deploymentPatternName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetWorkloadDeploymentPatternCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetWorkloadDeploymentPatternOutput
|
|
46
|
+
* // workloadDeploymentPattern: { // WorkloadDeploymentPatternData
|
|
47
|
+
* // workloadName: "STRING_VALUE",
|
|
48
|
+
* // deploymentPatternName: "STRING_VALUE",
|
|
49
|
+
* // workloadVersionName: "STRING_VALUE",
|
|
50
|
+
* // displayName: "STRING_VALUE",
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
|
|
53
|
+
* // statusMessage: "STRING_VALUE",
|
|
54
|
+
* // specifications: [ // DeploymentSpecificationsData
|
|
55
|
+
* // { // DeploymentSpecificationsField
|
|
56
|
+
* // name: "STRING_VALUE",
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // allowedValues: [ // AllowedValues
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // required: "STRING_VALUE",
|
|
62
|
+
* // conditionals: [ // SpecificationsConditionalData
|
|
63
|
+
* // { // DeploymentConditionalField
|
|
64
|
+
* // name: "STRING_VALUE",
|
|
65
|
+
* // value: "STRING_VALUE",
|
|
66
|
+
* // comparator: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param GetWorkloadDeploymentPatternCommandInput - {@link GetWorkloadDeploymentPatternCommandInput}
|
|
77
|
+
* @returns {@link GetWorkloadDeploymentPatternCommandOutput}
|
|
78
|
+
* @see {@link GetWorkloadDeploymentPatternCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link GetWorkloadDeploymentPatternCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
84
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link LaunchWizardServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class GetWorkloadDeploymentPatternCommand extends GetWorkloadDeploymentPatternCommand_base {
|
|
98
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListTagsForResourceCommand_base: {
|
|
24
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Lists the tags associated with a specified resource.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { LaunchWizardClient, ListTagsForResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
34
|
+
* // const { LaunchWizardClient, ListTagsForResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
35
|
+
* const client = new LaunchWizardClient(config);
|
|
36
|
+
* const input = { // ListTagsForResourceInput
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTagsForResourceOutput
|
|
42
|
+
* // tags: { // Tags
|
|
43
|
+
* // "<keys>": "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
50
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
51
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
57
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link LaunchWizardServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
71
|
+
}
|
|
@@ -26,7 +26,7 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Lists the workload deployment patterns.</p>
|
|
29
|
+
* <p>Lists the workload deployment patterns for a given workload name. You can use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html">ListWorkloads</a> operation to discover the available workload names.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const ListWorkloadsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Lists the
|
|
29
|
+
* <p>Lists the available workload names. You can use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html">ListWorkloadDeploymentPatterns</a> operation to discover the available deployment patterns for a given workload.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link TagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link TagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const TagResourceCommand_base: {
|
|
24
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Adds the specified tags to the given resource.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { LaunchWizardClient, TagResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
34
|
+
* // const { LaunchWizardClient, TagResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
35
|
+
* const client = new LaunchWizardClient(config);
|
|
36
|
+
* const input = { // TagResourceInput
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* tags: { // Tags // required
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
42
|
+
* const command = new TagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
49
|
+
* @returns {@link TagResourceCommandOutput}
|
|
50
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
56
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link LaunchWizardServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
70
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UntagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UntagResourceCommand_base: {
|
|
24
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Removes the specified tags from the given resource.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { LaunchWizardClient, UntagResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
34
|
+
* // const { LaunchWizardClient, UntagResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
35
|
+
* const client = new LaunchWizardClient(config);
|
|
36
|
+
* const input = { // UntagResourceInput
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* tagKeys: [ // TagKeyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
56
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link LaunchWizardServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
70
|
+
}
|
|
@@ -2,7 +2,11 @@ export * from "./CreateDeploymentCommand";
|
|
|
2
2
|
export * from "./DeleteDeploymentCommand";
|
|
3
3
|
export * from "./GetDeploymentCommand";
|
|
4
4
|
export * from "./GetWorkloadCommand";
|
|
5
|
+
export * from "./GetWorkloadDeploymentPatternCommand";
|
|
5
6
|
export * from "./ListDeploymentEventsCommand";
|
|
6
7
|
export * from "./ListDeploymentsCommand";
|
|
8
|
+
export * from "./ListTagsForResourceCommand";
|
|
7
9
|
export * from "./ListWorkloadDeploymentPatternsCommand";
|
|
8
10
|
export * from "./ListWorkloadsCommand";
|
|
11
|
+
export * from "./TagResourceCommand";
|
|
12
|
+
export * from "./UntagResourceCommand";
|