@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,652 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { LaunchWizardServiceException as __BaseException } from "./LaunchWizardServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateDeploymentInput {
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>The name of the workload. You can use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html">
|
|
10
|
+
* <code>ListWorkloadDeploymentPatterns</code>
|
|
11
|
+
* </a> operation to discover supported
|
|
12
|
+
* values for this parameter.</p>
|
|
13
|
+
*/
|
|
14
|
+
workloadName: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>The name of the deployment pattern supported by a given workload. You can use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html">
|
|
18
|
+
* <code>ListWorkloadDeploymentPatterns</code>
|
|
19
|
+
* </a> operation to discover supported
|
|
20
|
+
* values for this parameter. </p>
|
|
21
|
+
*/
|
|
22
|
+
deploymentPatternName: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* <p>The name of the deployment.</p>
|
|
26
|
+
*/
|
|
27
|
+
name: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* <p>The settings specified for the deployment. For more information on the specifications
|
|
31
|
+
* required for creating a deployment, see <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications.html">Workload specifications</a>.</p>
|
|
32
|
+
*/
|
|
33
|
+
specifications: Record<string, string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>Checks whether you have the required permissions for the action, without actually making
|
|
37
|
+
* the request, and provides an error response. If you have the required permissions, the
|
|
38
|
+
* error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
39
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
40
|
+
*/
|
|
41
|
+
dryRun?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface CreateDeploymentOutput {
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* <p>The ID of the deployment.</p>
|
|
50
|
+
*/
|
|
51
|
+
deploymentId?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
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
|
+
export declare class InternalServerException extends __BaseException {
|
|
59
|
+
readonly name: "InternalServerException";
|
|
60
|
+
readonly $fault: "server";
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* <p>You have exceeded an Launch Wizard resource limit. For example, you might have too many
|
|
69
|
+
* deployments in progress.</p>
|
|
70
|
+
*/
|
|
71
|
+
export declare class ResourceLimitException extends __BaseException {
|
|
72
|
+
readonly name: "ResourceLimitException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>The specified workload or deployment resource can't be found.</p>
|
|
82
|
+
*/
|
|
83
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
84
|
+
readonly name: "ResourceNotFoundException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
94
|
+
*/
|
|
95
|
+
export declare class ValidationException extends __BaseException {
|
|
96
|
+
readonly name: "ValidationException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export interface DeleteDeploymentInput {
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* <p>The ID of the deployment.</p>
|
|
110
|
+
*/
|
|
111
|
+
deploymentId: string | undefined;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const DeploymentStatus: {
|
|
118
|
+
readonly COMPLETED: "COMPLETED";
|
|
119
|
+
readonly CREATING: "CREATING";
|
|
120
|
+
readonly DELETED: "DELETED";
|
|
121
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
122
|
+
readonly DELETE_INITIATING: "DELETE_INITIATING";
|
|
123
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
124
|
+
readonly FAILED: "FAILED";
|
|
125
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
126
|
+
readonly VALIDATING: "VALIDATING";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface DeleteDeploymentOutput {
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* <p>The status of the deployment.</p>
|
|
139
|
+
*/
|
|
140
|
+
status?: DeploymentStatus;
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* <p>The reason for the deployment status.</p>
|
|
144
|
+
*/
|
|
145
|
+
statusReason?: string;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export interface ListDeploymentEventsInput {
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* <p>The ID of the deployment.</p>
|
|
154
|
+
*/
|
|
155
|
+
deploymentId: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
159
|
+
* make another request with the token returned in the output.</p>
|
|
160
|
+
*/
|
|
161
|
+
maxResults?: number;
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end
|
|
165
|
+
* of the items returned by the previous request.</p>
|
|
166
|
+
*/
|
|
167
|
+
nextToken?: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
* @enum
|
|
172
|
+
*/
|
|
173
|
+
export declare const EventStatus: {
|
|
174
|
+
readonly CANCELED: "CANCELED";
|
|
175
|
+
readonly CANCELING: "CANCELING";
|
|
176
|
+
readonly COMPLETED: "COMPLETED";
|
|
177
|
+
readonly CREATED: "CREATED";
|
|
178
|
+
readonly FAILED: "FAILED";
|
|
179
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
180
|
+
readonly PENDING: "PENDING";
|
|
181
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>A summary of the deployment event data.</p>
|
|
190
|
+
*/
|
|
191
|
+
export interface DeploymentEventDataSummary {
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* <p>The name of the deployment event.</p>
|
|
195
|
+
*/
|
|
196
|
+
name?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* <p>The description of the deployment event.</p>
|
|
200
|
+
*/
|
|
201
|
+
description?: string;
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
* <p>The status of the deployment event.</p>
|
|
205
|
+
*/
|
|
206
|
+
status?: EventStatus;
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
* <p>The reason of the deployment event status.</p>
|
|
210
|
+
*/
|
|
211
|
+
statusReason?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
* <p>The timestamp of the deployment event.</p>
|
|
215
|
+
*/
|
|
216
|
+
timestamp?: Date;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export interface ListDeploymentEventsOutput {
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* <p>Lists the deployment events.</p>
|
|
225
|
+
*/
|
|
226
|
+
deploymentEvents?: DeploymentEventDataSummary[];
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
* <p>The token to include in another request to get the next page of items. This value is
|
|
230
|
+
* <code>null</code> when there are no more items to return.</p>
|
|
231
|
+
*/
|
|
232
|
+
nextToken?: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export interface GetDeploymentInput {
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
* <p>The ID of the deployment.</p>
|
|
241
|
+
*/
|
|
242
|
+
deploymentId: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* <p>The data associated with a deployment.</p>
|
|
247
|
+
*/
|
|
248
|
+
export interface DeploymentData {
|
|
249
|
+
/**
|
|
250
|
+
* @public
|
|
251
|
+
* <p>The name of the deployment.</p>
|
|
252
|
+
*/
|
|
253
|
+
name?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
* <p>The ID of the deployment.</p>
|
|
257
|
+
*/
|
|
258
|
+
id?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* <p>The name of the workload.</p>
|
|
262
|
+
*/
|
|
263
|
+
workloadName?: string;
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* <p>The pattern name of the deployment.</p>
|
|
267
|
+
*/
|
|
268
|
+
patternName?: string;
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* <p>The status of the deployment.</p>
|
|
272
|
+
*/
|
|
273
|
+
status?: DeploymentStatus;
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
* <p>The time the deployment was created.</p>
|
|
277
|
+
*/
|
|
278
|
+
createdAt?: Date;
|
|
279
|
+
/**
|
|
280
|
+
* @public
|
|
281
|
+
* <p>The specifications of the deployment. For more information on specifications for each
|
|
282
|
+
* deployment, see <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications.html">Workload specifications</a>.</p>
|
|
283
|
+
*/
|
|
284
|
+
specifications?: Record<string, string>;
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
* <p>The resource group of the deployment.</p>
|
|
288
|
+
*/
|
|
289
|
+
resourceGroup?: string;
|
|
290
|
+
/**
|
|
291
|
+
* @public
|
|
292
|
+
* <p>The time the deployment was deleted.</p>
|
|
293
|
+
*/
|
|
294
|
+
deletedAt?: Date;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export interface GetDeploymentOutput {
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* <p>An object that details the deployment.</p>
|
|
303
|
+
*/
|
|
304
|
+
deployment?: DeploymentData;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
* @enum
|
|
309
|
+
*/
|
|
310
|
+
export declare const DeploymentFilterKey: {
|
|
311
|
+
readonly DEPLOYMENT_STATUS: "DEPLOYMENT_STATUS";
|
|
312
|
+
readonly WORKLOAD_NAME: "WORKLOAD_NAME";
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export type DeploymentFilterKey = (typeof DeploymentFilterKey)[keyof typeof DeploymentFilterKey];
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
* <p>A filter name and value pair that is used to return more specific results from a
|
|
321
|
+
* describe operation. Filters can be used to match a set of resources by specific
|
|
322
|
+
* criteria.</p>
|
|
323
|
+
*/
|
|
324
|
+
export interface DeploymentFilter {
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* <p>The name of the filter. Filter names are case-sensitive.</p>
|
|
328
|
+
*/
|
|
329
|
+
name?: DeploymentFilterKey;
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
* <p>The filter values. Filter values are case-sensitive. If you specify multiple values for
|
|
333
|
+
* a filter, the values are joined with an <code>OR</code>, and the request returns all
|
|
334
|
+
* results that match any of the specified values.</p>
|
|
335
|
+
*/
|
|
336
|
+
values?: string[];
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
export interface ListDeploymentsInput {
|
|
342
|
+
/**
|
|
343
|
+
* @public
|
|
344
|
+
* <p>Filters to scope the results. The following filters are supported:</p>
|
|
345
|
+
* <ul>
|
|
346
|
+
* <li>
|
|
347
|
+
* <p>
|
|
348
|
+
* <code>WORKLOAD_NAME</code>
|
|
349
|
+
* </p>
|
|
350
|
+
* </li>
|
|
351
|
+
* <li>
|
|
352
|
+
* <p>
|
|
353
|
+
* <code>DEPLOYMENT_STATUS</code>
|
|
354
|
+
* </p>
|
|
355
|
+
* </li>
|
|
356
|
+
* </ul>
|
|
357
|
+
*/
|
|
358
|
+
filters?: DeploymentFilter[];
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
362
|
+
* make another request with the token returned in the output.</p>
|
|
363
|
+
*/
|
|
364
|
+
maxResults?: number;
|
|
365
|
+
/**
|
|
366
|
+
* @public
|
|
367
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end
|
|
368
|
+
* of the items returned by the previous request.</p>
|
|
369
|
+
*/
|
|
370
|
+
nextToken?: string;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @public
|
|
374
|
+
* <p>A summary of the deployment data.</p>
|
|
375
|
+
*/
|
|
376
|
+
export interface DeploymentDataSummary {
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
* <p>The name of the deployment</p>
|
|
380
|
+
*/
|
|
381
|
+
name?: string;
|
|
382
|
+
/**
|
|
383
|
+
* @public
|
|
384
|
+
* <p>The ID of the deployment.</p>
|
|
385
|
+
*/
|
|
386
|
+
id?: string;
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
* <p>The name of the workload.</p>
|
|
390
|
+
*/
|
|
391
|
+
workloadName?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
* <p>The name of the workload deployment pattern.</p>
|
|
395
|
+
*/
|
|
396
|
+
patternName?: string;
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
* <p>The status of the deployment.</p>
|
|
400
|
+
*/
|
|
401
|
+
status?: DeploymentStatus;
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
* <p>The time the deployment was created.</p>
|
|
405
|
+
*/
|
|
406
|
+
createdAt?: Date;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export interface ListDeploymentsOutput {
|
|
412
|
+
/**
|
|
413
|
+
* @public
|
|
414
|
+
* <p>Lists the deployments.</p>
|
|
415
|
+
*/
|
|
416
|
+
deployments?: DeploymentDataSummary[];
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
* <p>The token to include in another request to get the next page of items. This value is
|
|
420
|
+
* <code>null</code> when there are no more items to return.</p>
|
|
421
|
+
*/
|
|
422
|
+
nextToken?: string;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export interface GetWorkloadInput {
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* <p>The name of the workload.</p>
|
|
431
|
+
*/
|
|
432
|
+
workloadName: string | undefined;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* @public
|
|
436
|
+
* @enum
|
|
437
|
+
*/
|
|
438
|
+
export declare const WorkloadStatus: {
|
|
439
|
+
readonly ACTIVE: "ACTIVE";
|
|
440
|
+
readonly DELETED: "DELETED";
|
|
441
|
+
readonly DISABLED: "DISABLED";
|
|
442
|
+
readonly INACTIVE: "INACTIVE";
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
export type WorkloadStatus = (typeof WorkloadStatus)[keyof typeof WorkloadStatus];
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
* <p>Describes a workload.</p>
|
|
451
|
+
*/
|
|
452
|
+
export interface WorkloadData {
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* <p>The name of the workload.</p>
|
|
456
|
+
*/
|
|
457
|
+
workloadName?: string;
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
* <p>The display name of a workload.</p>
|
|
461
|
+
*/
|
|
462
|
+
displayName?: string;
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* <p>The description of a workload.</p>
|
|
466
|
+
*/
|
|
467
|
+
description?: string;
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* <p>The URL of a workload document.</p>
|
|
471
|
+
*/
|
|
472
|
+
documentationUrl?: string;
|
|
473
|
+
/**
|
|
474
|
+
* @public
|
|
475
|
+
* <p>The URL of a workload icon.</p>
|
|
476
|
+
*/
|
|
477
|
+
iconUrl?: string;
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* <p>The status of a workload.</p>
|
|
481
|
+
*/
|
|
482
|
+
status?: WorkloadStatus;
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
* <p>The message about a workload's status.</p>
|
|
486
|
+
*/
|
|
487
|
+
statusMessage?: string;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export interface GetWorkloadOutput {
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* <p>Information about the workload.</p>
|
|
496
|
+
*/
|
|
497
|
+
workload?: WorkloadData;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
export interface ListWorkloadsInput {
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
506
|
+
* make another request with the token returned in the output.</p>
|
|
507
|
+
*/
|
|
508
|
+
maxResults?: number;
|
|
509
|
+
/**
|
|
510
|
+
* @public
|
|
511
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end
|
|
512
|
+
* of the items returned by the previous request.</p>
|
|
513
|
+
*/
|
|
514
|
+
nextToken?: string;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* @public
|
|
518
|
+
* <p>Describes workload data.</p>
|
|
519
|
+
*/
|
|
520
|
+
export interface WorkloadDataSummary {
|
|
521
|
+
/**
|
|
522
|
+
* @public
|
|
523
|
+
* <p>The name of the workload.</p>
|
|
524
|
+
*/
|
|
525
|
+
workloadName?: string;
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
* <p>The display name of the workload data.</p>
|
|
529
|
+
*/
|
|
530
|
+
displayName?: string;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
export interface ListWorkloadsOutput {
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* <p>Information about the workloads.</p>
|
|
539
|
+
*/
|
|
540
|
+
workloads?: WorkloadDataSummary[];
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* <p>The token to include in another request to get the next page of items. This value is
|
|
544
|
+
* <code>null</code> when there are no more items to return.</p>
|
|
545
|
+
*/
|
|
546
|
+
nextToken?: string;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
export interface ListWorkloadDeploymentPatternsInput {
|
|
552
|
+
/**
|
|
553
|
+
* @public
|
|
554
|
+
* <p>The name of the workload.</p>
|
|
555
|
+
*/
|
|
556
|
+
workloadName: string | undefined;
|
|
557
|
+
/**
|
|
558
|
+
* @public
|
|
559
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
560
|
+
* make another request with the token returned in the output.</p>
|
|
561
|
+
*/
|
|
562
|
+
maxResults?: number;
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end
|
|
566
|
+
* of the items returned by the previous request.</p>
|
|
567
|
+
*/
|
|
568
|
+
nextToken?: string;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
* @enum
|
|
573
|
+
*/
|
|
574
|
+
export declare const WorkloadDeploymentPatternStatus: {
|
|
575
|
+
readonly ACTIVE: "ACTIVE";
|
|
576
|
+
readonly DELETED: "DELETED";
|
|
577
|
+
readonly DISABLED: "DISABLED";
|
|
578
|
+
readonly INACTIVE: "INACTIVE";
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
export type WorkloadDeploymentPatternStatus = (typeof WorkloadDeploymentPatternStatus)[keyof typeof WorkloadDeploymentPatternStatus];
|
|
584
|
+
/**
|
|
585
|
+
* @public
|
|
586
|
+
* <p>Describes a workload deployment pattern.</p>
|
|
587
|
+
*/
|
|
588
|
+
export interface WorkloadDeploymentPatternDataSummary {
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
* <p>The name of the workload.</p>
|
|
592
|
+
*/
|
|
593
|
+
workloadName?: string;
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
* <p>The name of a workload deployment pattern.</p>
|
|
597
|
+
*/
|
|
598
|
+
deploymentPatternName?: string;
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
* <p>The name of the workload deployment pattern version.</p>
|
|
602
|
+
*/
|
|
603
|
+
workloadVersionName?: string;
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
* <p>The display name of a workload deployment pattern.</p>
|
|
607
|
+
*/
|
|
608
|
+
displayName?: string;
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
* <p>The description of a workload deployment pattern.</p>
|
|
612
|
+
*/
|
|
613
|
+
description?: string;
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
* <p>The status of a workload deployment pattern.</p>
|
|
617
|
+
*/
|
|
618
|
+
status?: WorkloadDeploymentPatternStatus;
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
* <p>A message about a workload deployment pattern's status.</p>
|
|
622
|
+
*/
|
|
623
|
+
statusMessage?: string;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export interface ListWorkloadDeploymentPatternsOutput {
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
* <p>Describes the workload deployment patterns.</p>
|
|
632
|
+
*/
|
|
633
|
+
workloadDeploymentPatterns?: WorkloadDeploymentPatternDataSummary[];
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
* <p>The token to include in another request to get the next page of items. This value is
|
|
637
|
+
* <code>null</code> when there are no more items to return.</p>
|
|
638
|
+
*/
|
|
639
|
+
nextToken?: string;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* @internal
|
|
643
|
+
*/
|
|
644
|
+
export declare const CreateDeploymentInputFilterSensitiveLog: (obj: CreateDeploymentInput) => any;
|
|
645
|
+
/**
|
|
646
|
+
* @internal
|
|
647
|
+
*/
|
|
648
|
+
export declare const DeploymentDataFilterSensitiveLog: (obj: DeploymentData) => any;
|
|
649
|
+
/**
|
|
650
|
+
* @internal
|
|
651
|
+
*/
|
|
652
|
+
export declare const GetDeploymentOutputFilterSensitiveLog: (obj: GetDeploymentOutput) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput } from "../commands/ListDeploymentEventsCommand";
|
|
3
|
+
import { LaunchWizardPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListDeploymentEvents(config: LaunchWizardPaginationConfiguration, input: ListDeploymentEventsCommandInput, ...additionalArguments: any): Paginator<ListDeploymentEventsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "../commands/ListDeploymentsCommand";
|
|
3
|
+
import { LaunchWizardPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListDeployments(config: LaunchWizardPaginationConfiguration, input: ListDeploymentsCommandInput, ...additionalArguments: any): Paginator<ListDeploymentsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput } from "../commands/ListWorkloadDeploymentPatternsCommand";
|
|
3
|
+
import { LaunchWizardPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListWorkloadDeploymentPatterns(config: LaunchWizardPaginationConfiguration, input: ListWorkloadDeploymentPatternsCommandInput, ...additionalArguments: any): Paginator<ListWorkloadDeploymentPatternsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "../commands/ListWorkloadsCommand";
|
|
3
|
+
import { LaunchWizardPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListWorkloads(config: LaunchWizardPaginationConfiguration, input: ListWorkloadsCommandInput, ...additionalArguments: any): Paginator<ListWorkloadsCommandOutput>;
|