@aws-sdk/client-launch-wizard 3.443.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/LICENSE +201 -0
- package/README.md +272 -0
- package/dist-cjs/LaunchWizard.js +27 -0
- package/dist-cjs/LaunchWizardClient.js +43 -0
- package/dist-cjs/commands/CreateDeploymentCommand.js +52 -0
- package/dist-cjs/commands/DeleteDeploymentCommand.js +51 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +52 -0
- package/dist-cjs/commands/GetWorkloadCommand.js +51 -0
- package/dist-cjs/commands/ListDeploymentEventsCommand.js +51 -0
- package/dist-cjs/commands/ListDeploymentsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkloadDeploymentPatternsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkloadsCommand.js +51 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/LaunchWizardServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +109 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDeploymentEventsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkloadDeploymentPatternsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkloadsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +661 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/LaunchWizard.js +23 -0
- package/dist-es/LaunchWizardClient.js +39 -0
- package/dist-es/commands/CreateDeploymentCommand.js +48 -0
- package/dist-es/commands/DeleteDeploymentCommand.js +47 -0
- package/dist-es/commands/GetDeploymentCommand.js +48 -0
- package/dist-es/commands/GetWorkloadCommand.js +47 -0
- package/dist-es/commands/ListDeploymentEventsCommand.js +47 -0
- package/dist-es/commands/ListDeploymentsCommand.js +47 -0
- package/dist-es/commands/ListWorkloadDeploymentPatternsCommand.js +47 -0
- package/dist-es/commands/ListWorkloadsCommand.js +47 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/LaunchWizardServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +99 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDeploymentEventsPaginator.js +25 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkloadDeploymentPatternsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkloadsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +642 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/LaunchWizard.d.ts +69 -0
- package/dist-types/LaunchWizardClient.d.ts +180 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +84 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +95 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +91 -0
- package/dist-types/commands/ListDeploymentEventsCommand.d.ts +94 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +99 -0
- package/dist-types/commands/ListWorkloadDeploymentPatternsCommand.d.ts +96 -0
- package/dist-types/commands/ListWorkloadsCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/LaunchWizardServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +652 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDeploymentEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadDeploymentPatternsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/LaunchWizard.d.ts +143 -0
- package/dist-types/ts3.4/LaunchWizardClient.d.ts +167 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetWorkloadCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListDeploymentEventsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWorkloadDeploymentPatternsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/LaunchWizardServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +201 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDeploymentEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkloadDeploymentPatternsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
5
|
+
import { GetWorkloadInput, GetWorkloadOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetWorkloadCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWorkloadCommandInput extends GetWorkloadInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWorkloadCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkloadCommandOutput extends GetWorkloadOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns information about a workload.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LaunchWizardClient, GetWorkloadCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
31
|
+
* // const { LaunchWizardClient, GetWorkloadCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
32
|
+
* const client = new LaunchWizardClient(config);
|
|
33
|
+
* const input = { // GetWorkloadInput
|
|
34
|
+
* workloadName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetWorkloadCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetWorkloadOutput
|
|
39
|
+
* // workload: { // WorkloadData
|
|
40
|
+
* // workloadName: "STRING_VALUE",
|
|
41
|
+
* // displayName: "STRING_VALUE",
|
|
42
|
+
* // description: "STRING_VALUE",
|
|
43
|
+
* // documentationUrl: "STRING_VALUE",
|
|
44
|
+
* // iconUrl: "STRING_VALUE",
|
|
45
|
+
* // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
|
|
46
|
+
* // statusMessage: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetWorkloadCommandInput - {@link GetWorkloadCommandInput}
|
|
53
|
+
* @returns {@link GetWorkloadCommandOutput}
|
|
54
|
+
* @see {@link GetWorkloadCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetWorkloadCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
60
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link LaunchWizardServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class GetWorkloadCommand extends $Command<GetWorkloadCommandInput, GetWorkloadCommandOutput, LaunchWizardClientResolvedConfig> {
|
|
73
|
+
readonly input: GetWorkloadCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: GetWorkloadCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LaunchWizardClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkloadCommandInput, GetWorkloadCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
5
|
+
import { ListDeploymentEventsInput, ListDeploymentEventsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDeploymentEventsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDeploymentEventsCommandInput extends ListDeploymentEventsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDeploymentEventsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDeploymentEventsCommandOutput extends ListDeploymentEventsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the events of a deployment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LaunchWizardClient, ListDeploymentEventsCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
31
|
+
* // const { LaunchWizardClient, ListDeploymentEventsCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
32
|
+
* const client = new LaunchWizardClient(config);
|
|
33
|
+
* const input = { // ListDeploymentEventsInput
|
|
34
|
+
* deploymentId: "STRING_VALUE", // required
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListDeploymentEventsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListDeploymentEventsOutput
|
|
41
|
+
* // deploymentEvents: [ // DeploymentEventDataSummaryList
|
|
42
|
+
* // { // DeploymentEventDataSummary
|
|
43
|
+
* // name: "STRING_VALUE",
|
|
44
|
+
* // description: "STRING_VALUE",
|
|
45
|
+
* // status: "CANCELED" || "CANCELING" || "COMPLETED" || "CREATED" || "FAILED" || "IN_PROGRESS" || "PENDING" || "TIMED_OUT",
|
|
46
|
+
* // statusReason: "STRING_VALUE",
|
|
47
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // nextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListDeploymentEventsCommandInput - {@link ListDeploymentEventsCommandInput}
|
|
56
|
+
* @returns {@link ListDeploymentEventsCommandOutput}
|
|
57
|
+
* @see {@link ListDeploymentEventsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListDeploymentEventsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
63
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link LaunchWizardServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class ListDeploymentEventsCommand extends $Command<ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput, LaunchWizardClientResolvedConfig> {
|
|
76
|
+
readonly input: ListDeploymentEventsCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: ListDeploymentEventsCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LaunchWizardClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
5
|
+
import { ListDeploymentsInput, ListDeploymentsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDeploymentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDeploymentsCommandInput extends ListDeploymentsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDeploymentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDeploymentsCommandOutput extends ListDeploymentsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the deployments that have been created.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LaunchWizardClient, ListDeploymentsCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
31
|
+
* // const { LaunchWizardClient, ListDeploymentsCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
32
|
+
* const client = new LaunchWizardClient(config);
|
|
33
|
+
* const input = { // ListDeploymentsInput
|
|
34
|
+
* filters: [ // DeploymentFilterList
|
|
35
|
+
* { // DeploymentFilter
|
|
36
|
+
* name: "WORKLOAD_NAME" || "DEPLOYMENT_STATUS",
|
|
37
|
+
* values: [ // DeploymentFilterValues
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListDeploymentsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListDeploymentsOutput
|
|
48
|
+
* // deployments: [ // DeploymentDataSummaryList
|
|
49
|
+
* // { // DeploymentDataSummary
|
|
50
|
+
* // name: "STRING_VALUE",
|
|
51
|
+
* // id: "STRING_VALUE",
|
|
52
|
+
* // workloadName: "STRING_VALUE",
|
|
53
|
+
* // patternName: "STRING_VALUE",
|
|
54
|
+
* // status: "COMPLETED" || "CREATING" || "DELETE_IN_PROGRESS" || "DELETE_INITIATING" || "DELETE_FAILED" || "DELETED" || "FAILED" || "IN_PROGRESS" || "VALIDATING",
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListDeploymentsCommandInput - {@link ListDeploymentsCommandInput}
|
|
64
|
+
* @returns {@link ListDeploymentsCommandOutput}
|
|
65
|
+
* @see {@link ListDeploymentsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListDeploymentsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
71
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LaunchWizardServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListDeploymentsCommand extends $Command<ListDeploymentsCommandInput, ListDeploymentsCommandOutput, LaunchWizardClientResolvedConfig> {
|
|
81
|
+
readonly input: ListDeploymentsCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: ListDeploymentsCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LaunchWizardClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDeploymentsCommandInput, ListDeploymentsCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
5
|
+
import { ListWorkloadDeploymentPatternsInput, ListWorkloadDeploymentPatternsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListWorkloadDeploymentPatternsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkloadDeploymentPatternsCommandInput extends ListWorkloadDeploymentPatternsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkloadDeploymentPatternsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkloadDeploymentPatternsCommandOutput extends ListWorkloadDeploymentPatternsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the workload deployment patterns.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LaunchWizardClient, ListWorkloadDeploymentPatternsCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
31
|
+
* // const { LaunchWizardClient, ListWorkloadDeploymentPatternsCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
32
|
+
* const client = new LaunchWizardClient(config);
|
|
33
|
+
* const input = { // ListWorkloadDeploymentPatternsInput
|
|
34
|
+
* workloadName: "STRING_VALUE", // required
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListWorkloadDeploymentPatternsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListWorkloadDeploymentPatternsOutput
|
|
41
|
+
* // workloadDeploymentPatterns: [ // WorkloadDeploymentPatternDataSummaryList
|
|
42
|
+
* // { // WorkloadDeploymentPatternDataSummary
|
|
43
|
+
* // workloadName: "STRING_VALUE",
|
|
44
|
+
* // deploymentPatternName: "STRING_VALUE",
|
|
45
|
+
* // workloadVersionName: "STRING_VALUE",
|
|
46
|
+
* // displayName: "STRING_VALUE",
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
|
|
49
|
+
* // statusMessage: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListWorkloadDeploymentPatternsCommandInput - {@link ListWorkloadDeploymentPatternsCommandInput}
|
|
58
|
+
* @returns {@link ListWorkloadDeploymentPatternsCommandOutput}
|
|
59
|
+
* @see {@link ListWorkloadDeploymentPatternsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListWorkloadDeploymentPatternsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
65
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LaunchWizardServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListWorkloadDeploymentPatternsCommand extends $Command<ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput, LaunchWizardClientResolvedConfig> {
|
|
78
|
+
readonly input: ListWorkloadDeploymentPatternsCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ListWorkloadDeploymentPatternsCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LaunchWizardClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
5
|
+
import { ListWorkloadsInput, ListWorkloadsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListWorkloadsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkloadsCommandInput extends ListWorkloadsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkloadsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkloadsCommandOutput extends ListWorkloadsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the workloads.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { LaunchWizardClient, ListWorkloadsCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
31
|
+
* // const { LaunchWizardClient, ListWorkloadsCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
32
|
+
* const client = new LaunchWizardClient(config);
|
|
33
|
+
* const input = { // ListWorkloadsInput
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListWorkloadsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListWorkloadsOutput
|
|
40
|
+
* // workloads: [ // WorkloadDataSummaryList
|
|
41
|
+
* // { // WorkloadDataSummary
|
|
42
|
+
* // workloadName: "STRING_VALUE",
|
|
43
|
+
* // displayName: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // nextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param ListWorkloadsCommandInput - {@link ListWorkloadsCommandInput}
|
|
52
|
+
* @returns {@link ListWorkloadsCommandOutput}
|
|
53
|
+
* @see {@link ListWorkloadsCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link ListWorkloadsCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
59
|
+
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</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
|
+
*/
|
|
68
|
+
export declare class ListWorkloadsCommand extends $Command<ListWorkloadsCommandInput, ListWorkloadsCommandOutput, LaunchWizardClientResolvedConfig> {
|
|
69
|
+
readonly input: ListWorkloadsCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: ListWorkloadsCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LaunchWizardClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkloadsCommandInput, ListWorkloadsCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./CreateDeploymentCommand";
|
|
2
|
+
export * from "./DeleteDeploymentCommand";
|
|
3
|
+
export * from "./GetDeploymentCommand";
|
|
4
|
+
export * from "./GetWorkloadCommand";
|
|
5
|
+
export * from "./ListDeploymentEventsCommand";
|
|
6
|
+
export * from "./ListDeploymentsCommand";
|
|
7
|
+
export * from "./ListWorkloadDeploymentPatternsCommand";
|
|
8
|
+
export * from "./ListWorkloadsCommand";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
18
|
+
Region?: string;
|
|
19
|
+
UseDualStack?: boolean;
|
|
20
|
+
UseFIPS?: boolean;
|
|
21
|
+
Endpoint?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface LaunchWizardExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for
|
|
3
|
+
* third party applications, such as Microsoft SQL Server Always On and HANA based SAP
|
|
4
|
+
* systems, without the need to manually identify and provision individual Amazon Web Services
|
|
5
|
+
* resources.</p>
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
export * from "./LaunchWizardClient";
|
|
10
|
+
export * from "./LaunchWizard";
|
|
11
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
|
+
export * from "./commands";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./models";
|
|
15
|
+
import "@aws-sdk/util-endpoints";
|
|
16
|
+
export { LaunchWizardServiceException } from "./models/LaunchWizardServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from LaunchWizard service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class LaunchWizardServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|