@aws-sdk/client-launch-wizard 3.970.0 → 3.972.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 +22 -4
- package/dist-cjs/index.js +149 -11
- package/dist-es/LaunchWizard.js +6 -0
- package/dist-es/commands/GetDeploymentPatternVersionCommand.js +16 -0
- package/dist-es/commands/ListDeploymentPatternVersionsCommand.js +16 -0
- package/dist-es/commands/UpdateDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/pagination/ListDeploymentPatternVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +85 -11
- package/dist-types/LaunchWizard.d.ts +22 -4
- package/dist-types/LaunchWizardClient.d.ts +6 -6
- package/dist-types/commands/CreateDeploymentCommand.d.ts +27 -29
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -5
- package/dist-types/commands/GetDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/GetDeploymentPatternVersionCommand.d.ts +88 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +2 -3
- package/dist-types/commands/GetWorkloadDeploymentPatternCommand.d.ts +5 -8
- package/dist-types/commands/ListDeploymentEventsCommand.d.ts +1 -2
- package/dist-types/commands/ListDeploymentPatternVersionsCommand.d.ts +165 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/ListWorkloadDeploymentPatternsCommand.d.ts +6 -6
- package/dist-types/commands/ListWorkloadsCommand.d.ts +4 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +177 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -4
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/errors.d.ts +2 -4
- package/dist-types/models/models_0.d.ts +220 -87
- package/dist-types/pagination/ListDeploymentPatternVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/LaunchWizard.d.ts +51 -0
- package/dist-types/ts3.4/LaunchWizardClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/GetDeploymentPatternVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDeploymentPatternVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -1
- package/dist-types/ts3.4/pagination/ListDeploymentPatternVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +14 -14
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import type { ListDeploymentPatternVersionsInput, ListDeploymentPatternVersionsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDeploymentPatternVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDeploymentPatternVersionsCommandInput extends ListDeploymentPatternVersionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDeploymentPatternVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDeploymentPatternVersionsCommandOutput extends ListDeploymentPatternVersionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDeploymentPatternVersionsCommand_base: {
|
|
25
|
+
new (input: ListDeploymentPatternVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDeploymentPatternVersionsCommandInput, ListDeploymentPatternVersionsCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListDeploymentPatternVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDeploymentPatternVersionsCommandInput, ListDeploymentPatternVersionsCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the deployment pattern versions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LaunchWizardClient, ListDeploymentPatternVersionsCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
35
|
+
* // const { LaunchWizardClient, ListDeploymentPatternVersionsCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
36
|
+
* // import type { LaunchWizardClientConfig } from "@aws-sdk/client-launch-wizard";
|
|
37
|
+
* const config = {}; // type is LaunchWizardClientConfig
|
|
38
|
+
* const client = new LaunchWizardClient(config);
|
|
39
|
+
* const input = { // ListDeploymentPatternVersionsInput
|
|
40
|
+
* workloadName: "STRING_VALUE", // required
|
|
41
|
+
* deploymentPatternName: "STRING_VALUE", // required
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* filters: [ // FilterList
|
|
45
|
+
* { // DeploymentPatternVersionFilter
|
|
46
|
+
* name: "updateFromVersion", // required
|
|
47
|
+
* values: [ // DeploymentPatternVersionFilterValues // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
53
|
+
* const command = new ListDeploymentPatternVersionsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // ListDeploymentPatternVersionsOutput
|
|
56
|
+
* // deploymentPatternVersions: [ // DeploymentPatternVersionDataSummaryList
|
|
57
|
+
* // { // DeploymentPatternVersionDataSummary
|
|
58
|
+
* // deploymentPatternVersionName: "STRING_VALUE",
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // documentationUrl: "STRING_VALUE",
|
|
61
|
+
* // workloadName: "STRING_VALUE",
|
|
62
|
+
* // deploymentPatternName: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // nextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListDeploymentPatternVersionsCommandInput - {@link ListDeploymentPatternVersionsCommandInput}
|
|
71
|
+
* @returns {@link ListDeploymentPatternVersionsCommandOutput}
|
|
72
|
+
* @see {@link ListDeploymentPatternVersionsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListDeploymentPatternVersionsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link LaunchWizardServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @example List all visible versions for the given workload and deployment pattern.
|
|
90
|
+
* ```javascript
|
|
91
|
+
* //
|
|
92
|
+
* const input = {
|
|
93
|
+
* deploymentPatternName: "default",
|
|
94
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new ListDeploymentPatternVersionsCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* deploymentPatternVersions: [
|
|
101
|
+
* {
|
|
102
|
+
* deploymentPatternName: "default",
|
|
103
|
+
* deploymentPatternVersionName: "4.0.6",
|
|
104
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
105
|
+
* },
|
|
106
|
+
* {
|
|
107
|
+
* deploymentPatternName: "default",
|
|
108
|
+
* deploymentPatternVersionName: "3.2.5",
|
|
109
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* deploymentPatternName: "default",
|
|
113
|
+
* deploymentPatternVersionName: "3.1.0",
|
|
114
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
115
|
+
* }
|
|
116
|
+
* ]
|
|
117
|
+
* }
|
|
118
|
+
* *\/
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* @example List filtered versions for the given workload and deployment pattern.
|
|
122
|
+
* ```javascript
|
|
123
|
+
* //
|
|
124
|
+
* const input = {
|
|
125
|
+
* deploymentPatternName: "default",
|
|
126
|
+
* filters: [
|
|
127
|
+
* {
|
|
128
|
+
* name: "updateFromVersion",
|
|
129
|
+
* values: [
|
|
130
|
+
* "4.0.2"
|
|
131
|
+
* ]
|
|
132
|
+
* }
|
|
133
|
+
* ],
|
|
134
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
135
|
+
* };
|
|
136
|
+
* const command = new ListDeploymentPatternVersionsCommand(input);
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response is
|
|
139
|
+
* {
|
|
140
|
+
* deploymentPatternVersions: [
|
|
141
|
+
* {
|
|
142
|
+
* deploymentPatternName: "default",
|
|
143
|
+
* deploymentPatternVersionName: "4.0.6",
|
|
144
|
+
* workloadName: "security-automations-for-aws-waf"
|
|
145
|
+
* }
|
|
146
|
+
* ]
|
|
147
|
+
* }
|
|
148
|
+
* *\/
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare class ListDeploymentPatternVersionsCommand extends ListDeploymentPatternVersionsCommand_base {
|
|
154
|
+
/** @internal type navigation helper, not in runtime. */
|
|
155
|
+
protected static __types: {
|
|
156
|
+
api: {
|
|
157
|
+
input: ListDeploymentPatternVersionsInput;
|
|
158
|
+
output: ListDeploymentPatternVersionsOutput;
|
|
159
|
+
};
|
|
160
|
+
sdk: {
|
|
161
|
+
input: ListDeploymentPatternVersionsCommandInput;
|
|
162
|
+
output: ListDeploymentPatternVersionsCommandOutput;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
}
|
|
@@ -57,8 +57,9 @@ declare const ListDeploymentsCommand_base: {
|
|
|
57
57
|
* // id: "STRING_VALUE",
|
|
58
58
|
* // workloadName: "STRING_VALUE",
|
|
59
59
|
* // patternName: "STRING_VALUE",
|
|
60
|
-
* // status: "COMPLETED" || "CREATING" || "DELETE_IN_PROGRESS" || "DELETE_INITIATING" || "DELETE_FAILED" || "DELETED" || "FAILED" || "IN_PROGRESS" || "VALIDATING",
|
|
60
|
+
* // status: "COMPLETED" || "CREATING" || "DELETE_IN_PROGRESS" || "DELETE_INITIATING" || "DELETE_FAILED" || "DELETED" || "FAILED" || "IN_PROGRESS" || "VALIDATING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETED" || "UPDATE_FAILED" || "UPDATE_ROLLBACK_COMPLETED" || "UPDATE_ROLLBACK_FAILED",
|
|
61
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
62
63
|
* // },
|
|
63
64
|
* // ],
|
|
64
65
|
* // nextToken: "STRING_VALUE",
|
|
@@ -73,8 +74,7 @@ declare const ListDeploymentsCommand_base: {
|
|
|
73
74
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
74
75
|
*
|
|
75
76
|
* @throws {@link InternalServerException} (server fault)
|
|
76
|
-
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
77
|
-
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
77
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ValidationException} (client fault)
|
|
80
80
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
@@ -56,8 +56,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
56
56
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
57
57
|
*
|
|
58
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>
|
|
59
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
61
60
|
*
|
|
62
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
62
|
* <p>The specified workload or deployment resource can't be found.</p>
|
|
@@ -49,6 +49,7 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
|
|
|
49
49
|
* // workloadName: "STRING_VALUE",
|
|
50
50
|
* // deploymentPatternName: "STRING_VALUE",
|
|
51
51
|
* // workloadVersionName: "STRING_VALUE",
|
|
52
|
+
* // deploymentPatternVersionName: "STRING_VALUE",
|
|
52
53
|
* // displayName: "STRING_VALUE",
|
|
53
54
|
* // description: "STRING_VALUE",
|
|
54
55
|
* // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
|
|
@@ -67,8 +68,7 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
|
|
|
67
68
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
68
69
|
*
|
|
69
70
|
* @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>
|
|
71
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
74
|
* <p>The specified workload or deployment resource can't be found.</p>
|
|
@@ -93,19 +93,19 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
|
|
|
93
93
|
* workloadDeploymentPatterns: [
|
|
94
94
|
* {
|
|
95
95
|
* deploymentPatternName: "SapHanaHA",
|
|
96
|
+
* deploymentPatternVersionName: "2023-08-02-01-00-00",
|
|
96
97
|
* description: "Deployment Option Description",
|
|
97
98
|
* displayName: "Deployment Option Display Name",
|
|
98
99
|
* status: "ACTIVE",
|
|
99
|
-
* workloadName: "SAP"
|
|
100
|
-
* workloadVersionName: "2023-08-02-01-00-00"
|
|
100
|
+
* workloadName: "SAP"
|
|
101
101
|
* },
|
|
102
102
|
* {
|
|
103
103
|
* deploymentPatternName: "SapHanaMulti",
|
|
104
|
+
* deploymentPatternVersionName: "2023-08-02-01-00-00",
|
|
104
105
|
* description: "Deployment Option Description",
|
|
105
106
|
* displayName: "Deployment Option Display Name",
|
|
106
107
|
* status: "ACTIVE",
|
|
107
|
-
* workloadName: "SAP"
|
|
108
|
-
* workloadVersionName: "2023-08-02-01-00-00"
|
|
108
|
+
* workloadName: "SAP"
|
|
109
109
|
* }
|
|
110
110
|
* ]
|
|
111
111
|
* }
|
|
@@ -47,6 +47,7 @@ declare const ListWorkloadsCommand_base: {
|
|
|
47
47
|
* // { // WorkloadDataSummary
|
|
48
48
|
* // workloadName: "STRING_VALUE",
|
|
49
49
|
* // displayName: "STRING_VALUE",
|
|
50
|
+
* // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
|
|
50
51
|
* // },
|
|
51
52
|
* // ],
|
|
52
53
|
* // nextToken: "STRING_VALUE",
|
|
@@ -61,8 +62,7 @@ declare const ListWorkloadsCommand_base: {
|
|
|
61
62
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
62
63
|
*
|
|
63
64
|
* @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>
|
|
65
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ValidationException} (client fault)
|
|
68
68
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
@@ -82,10 +82,12 @@ declare const ListWorkloadsCommand_base: {
|
|
|
82
82
|
* workloads: [
|
|
83
83
|
* {
|
|
84
84
|
* displayName: "SAP",
|
|
85
|
+
* status: "ACTIVE",
|
|
85
86
|
* workloadName: "SAP"
|
|
86
87
|
* },
|
|
87
88
|
* {
|
|
88
89
|
* displayName: "MS SQL Server",
|
|
90
|
+
* status: "ACTIVE",
|
|
89
91
|
* workloadName: "SQL"
|
|
90
92
|
* }
|
|
91
93
|
* ]
|
|
@@ -55,8 +55,7 @@ declare const TagResourceCommand_base: {
|
|
|
55
55
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
56
56
|
*
|
|
57
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>
|
|
58
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
60
59
|
*
|
|
61
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
61
|
* <p>The specified workload or deployment resource can't be found.</p>
|
|
@@ -55,8 +55,7 @@ declare const UntagResourceCommand_base: {
|
|
|
55
55
|
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
56
56
|
*
|
|
57
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>
|
|
58
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
60
59
|
*
|
|
61
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
61
|
* <p>The specified workload or deployment resource can't be found.</p>
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient";
|
|
4
|
+
import type { UpdateDeploymentInput, UpdateDeploymentOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateDeploymentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDeploymentCommandInput extends UpdateDeploymentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDeploymentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDeploymentCommandOutput extends UpdateDeploymentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDeploymentCommand_base: {
|
|
25
|
+
new (input: UpdateDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDeploymentCommandInput, UpdateDeploymentCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDeploymentCommandInput, UpdateDeploymentCommandOutput, LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a deployment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LaunchWizardClient, UpdateDeploymentCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import
|
|
35
|
+
* // const { LaunchWizardClient, UpdateDeploymentCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import
|
|
36
|
+
* // import type { LaunchWizardClientConfig } from "@aws-sdk/client-launch-wizard";
|
|
37
|
+
* const config = {}; // type is LaunchWizardClientConfig
|
|
38
|
+
* const client = new LaunchWizardClient(config);
|
|
39
|
+
* const input = { // UpdateDeploymentInput
|
|
40
|
+
* deploymentId: "STRING_VALUE", // required
|
|
41
|
+
* specifications: { // DeploymentSpecifications // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* workloadVersionName: "STRING_VALUE",
|
|
45
|
+
* deploymentPatternVersionName: "STRING_VALUE",
|
|
46
|
+
* dryRun: true || false,
|
|
47
|
+
* force: true || false,
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateDeploymentCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateDeploymentOutput
|
|
52
|
+
* // deployment: { // DeploymentDataSummary
|
|
53
|
+
* // name: "STRING_VALUE",
|
|
54
|
+
* // id: "STRING_VALUE",
|
|
55
|
+
* // workloadName: "STRING_VALUE",
|
|
56
|
+
* // patternName: "STRING_VALUE",
|
|
57
|
+
* // status: "COMPLETED" || "CREATING" || "DELETE_IN_PROGRESS" || "DELETE_INITIATING" || "DELETE_FAILED" || "DELETED" || "FAILED" || "IN_PROGRESS" || "VALIDATING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETED" || "UPDATE_FAILED" || "UPDATE_ROLLBACK_COMPLETED" || "UPDATE_ROLLBACK_FAILED",
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param UpdateDeploymentCommandInput - {@link UpdateDeploymentCommandInput}
|
|
66
|
+
* @returns {@link UpdateDeploymentCommandOutput}
|
|
67
|
+
* @see {@link UpdateDeploymentCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link UpdateDeploymentCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceLimitException} (client fault)
|
|
75
|
+
* <p>You have exceeded an Launch Wizard resource limit. For example, you might have too many deployments in progress.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link LaunchWizardServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from LaunchWizard service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @example Edit deployment specifications.
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
92
|
+
* dryRun: false,
|
|
93
|
+
* specifications: {
|
|
94
|
+
* CreateSecurityGroup: "No",
|
|
95
|
+
* DeploymentArtifactsS3Uri: "aws-bucket-name",
|
|
96
|
+
* DisableDeploymentRollback: "No",
|
|
97
|
+
* EnableEbsVolumeEncryption: "No",
|
|
98
|
+
* KeyPairName: "keyName",
|
|
99
|
+
* ProxyServerAddress: "http://mno.abc.com:8080",
|
|
100
|
+
* SapSysGroupId: "5003",
|
|
101
|
+
* SapVirtualIPOptIn: "No",
|
|
102
|
+
* SaveDeploymentArtifacts: "Yes",
|
|
103
|
+
* SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
104
|
+
* Timezone: "Pacific/Wake",
|
|
105
|
+
* VpcId: "vpc-1234567"
|
|
106
|
+
* }
|
|
107
|
+
* };
|
|
108
|
+
* const command = new UpdateDeploymentCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* {
|
|
112
|
+
* deployment: {
|
|
113
|
+
* createdAt: 1736286728468,
|
|
114
|
+
* id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
115
|
+
* name: "TestDeployment1",
|
|
116
|
+
* patternName: "SapHanaSingle",
|
|
117
|
+
* status: "UPDATE_IN_PROGRESS",
|
|
118
|
+
* workloadName: "SAP"
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
|
+
* *\/
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @example Update deployment version.
|
|
125
|
+
* ```javascript
|
|
126
|
+
* //
|
|
127
|
+
* const input = {
|
|
128
|
+
* deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
129
|
+
* deploymentPatternVersionName: "2.0.0",
|
|
130
|
+
* dryRun: false,
|
|
131
|
+
* specifications: {
|
|
132
|
+
* CreateSecurityGroup: "No",
|
|
133
|
+
* DeploymentArtifactsS3Uri: "aws-bucket-name",
|
|
134
|
+
* DisableDeploymentRollback: "No",
|
|
135
|
+
* EnableEbsVolumeEncryption: "No",
|
|
136
|
+
* KeyPairName: "keyName",
|
|
137
|
+
* NewParameter: "Allow",
|
|
138
|
+
* ProxyServerAddress: "http://mno.abc.com:8080",
|
|
139
|
+
* SapSysGroupId: "5003",
|
|
140
|
+
* SapVirtualIPOptIn: "No",
|
|
141
|
+
* SaveDeploymentArtifacts: "Yes",
|
|
142
|
+
* SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
143
|
+
* Timezone: "Pacific/Wake",
|
|
144
|
+
* VpcId: "vpc-1234567"
|
|
145
|
+
* }
|
|
146
|
+
* };
|
|
147
|
+
* const command = new UpdateDeploymentCommand(input);
|
|
148
|
+
* const response = await client.send(command);
|
|
149
|
+
* /* response is
|
|
150
|
+
* {
|
|
151
|
+
* deployment: {
|
|
152
|
+
* createdAt: 1736286728468,
|
|
153
|
+
* id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
154
|
+
* name: "TestDeployment1",
|
|
155
|
+
* patternName: "SapHanaSingle",
|
|
156
|
+
* status: "UPDATE_IN_PROGRESS",
|
|
157
|
+
* workloadName: "SAP"
|
|
158
|
+
* }
|
|
159
|
+
* }
|
|
160
|
+
* *\/
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class UpdateDeploymentCommand extends UpdateDeploymentCommand_base {
|
|
166
|
+
/** @internal type navigation helper, not in runtime. */
|
|
167
|
+
protected static __types: {
|
|
168
|
+
api: {
|
|
169
|
+
input: UpdateDeploymentInput;
|
|
170
|
+
output: UpdateDeploymentOutput;
|
|
171
|
+
};
|
|
172
|
+
sdk: {
|
|
173
|
+
input: UpdateDeploymentCommandInput;
|
|
174
|
+
output: UpdateDeploymentCommandOutput;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export * from "./CreateDeploymentCommand";
|
|
2
2
|
export * from "./DeleteDeploymentCommand";
|
|
3
3
|
export * from "./GetDeploymentCommand";
|
|
4
|
+
export * from "./GetDeploymentPatternVersionCommand";
|
|
4
5
|
export * from "./GetWorkloadCommand";
|
|
5
6
|
export * from "./GetWorkloadDeploymentPatternCommand";
|
|
6
7
|
export * from "./ListDeploymentEventsCommand";
|
|
8
|
+
export * from "./ListDeploymentPatternVersionsCommand";
|
|
7
9
|
export * from "./ListDeploymentsCommand";
|
|
8
10
|
export * from "./ListTagsForResourceCommand";
|
|
9
11
|
export * from "./ListWorkloadDeploymentPatternsCommand";
|
|
10
12
|
export * from "./ListWorkloadsCommand";
|
|
11
13
|
export * from "./TagResourceCommand";
|
|
12
14
|
export * from "./UntagResourceCommand";
|
|
15
|
+
export * from "./UpdateDeploymentCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
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>
|
|
2
|
+
* <p>Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for third party applications, such as Microsoft SQL Server Always On and HANA based SAP systems, without the need to manually identify and provision individual Amazon Web Services resources.</p>
|
|
6
3
|
*
|
|
7
4
|
* @packageDocumentation
|
|
8
5
|
*/
|
|
@@ -11,6 +11,11 @@ export declare const DeploymentStatus: {
|
|
|
11
11
|
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
12
12
|
readonly FAILED: "FAILED";
|
|
13
13
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
14
|
+
readonly UPDATE_COMPLETED: "UPDATE_COMPLETED";
|
|
15
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
16
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
17
|
+
readonly UPDATE_ROLLBACK_COMPLETED: "UPDATE_ROLLBACK_COMPLETED";
|
|
18
|
+
readonly UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED";
|
|
14
19
|
readonly VALIDATING: "VALIDATING";
|
|
15
20
|
};
|
|
16
21
|
/**
|
|
@@ -47,6 +52,17 @@ export declare const DeploymentFilterKey: {
|
|
|
47
52
|
* @public
|
|
48
53
|
*/
|
|
49
54
|
export type DeploymentFilterKey = (typeof DeploymentFilterKey)[keyof typeof DeploymentFilterKey];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const DeploymentPatternVersionFilterKey: {
|
|
60
|
+
readonly DEPLOYMENT_PATTERN_VERSION_NAME: "updateFromVersion";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type DeploymentPatternVersionFilterKey = (typeof DeploymentPatternVersionFilterKey)[keyof typeof DeploymentPatternVersionFilterKey];
|
|
50
66
|
/**
|
|
51
67
|
* @public
|
|
52
68
|
* @enum
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchWizardServiceException as __BaseException } from "./LaunchWizardServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact
|
|
5
|
-
* us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
4
|
+
* <p>An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on <a href="https://repost.aws/">re:Post</a>.</p>
|
|
6
5
|
* @public
|
|
7
6
|
*/
|
|
8
7
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -14,8 +13,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
14
13
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
15
14
|
}
|
|
16
15
|
/**
|
|
17
|
-
* <p>You have exceeded an Launch Wizard resource limit. For example, you might have too many
|
|
18
|
-
* deployments in progress.</p>
|
|
16
|
+
* <p>You have exceeded an Launch Wizard resource limit. For example, you might have too many deployments in progress.</p>
|
|
19
17
|
* @public
|
|
20
18
|
*/
|
|
21
19
|
export declare class ResourceLimitException extends __BaseException {
|