@aws-sdk/client-launch-wizard 3.587.0 → 3.590.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.
Files changed (35) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +189 -1
  3. package/dist-es/LaunchWizard.js +8 -0
  4. package/dist-es/commands/GetWorkloadDeploymentPatternCommand.js +24 -0
  5. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  6. package/dist-es/commands/TagResourceCommand.js +24 -0
  7. package/dist-es/commands/UntagResourceCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/protocols/Aws_restJson1.js +104 -0
  10. package/dist-types/LaunchWizard.d.ts +28 -0
  11. package/dist-types/LaunchWizardClient.d.ts +10 -6
  12. package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteDeploymentCommand.d.ts +4 -0
  14. package/dist-types/commands/GetDeploymentCommand.d.ts +4 -0
  15. package/dist-types/commands/GetWorkloadDeploymentPatternCommand.d.ts +98 -0
  16. package/dist-types/commands/ListTagsForResourceCommand.d.ts +71 -0
  17. package/dist-types/commands/ListWorkloadDeploymentPatternsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListWorkloadsCommand.d.ts +1 -1
  19. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  20. package/dist-types/commands/UntagResourceCommand.d.ts +70 -0
  21. package/dist-types/commands/index.d.ts +4 -0
  22. package/dist-types/models/models_0.d.ts +241 -23
  23. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -1
  25. package/dist-types/ts3.4/LaunchWizard.d.ts +68 -0
  26. package/dist-types/ts3.4/LaunchWizardClient.d.ts +27 -3
  27. package/dist-types/ts3.4/commands/GetWorkloadDeploymentPatternCommand.d.ts +39 -0
  28. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +56 -8
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  35. package/package.json +5 -5
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LaunchWizardClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LaunchWizardClient";
8
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface TagResourceCommandInput extends TagResourceInput {}
11
+ export interface TagResourceCommandOutput
12
+ extends TagResourceOutput,
13
+ __MetadataBearer {}
14
+ declare const TagResourceCommand_base: {
15
+ new (
16
+ input: TagResourceCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ TagResourceCommandInput,
19
+ TagResourceCommandOutput,
20
+ LaunchWizardClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: TagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ LaunchWizardClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ LaunchWizardClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../LaunchWizardClient";
8
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface UntagResourceCommandInput extends UntagResourceInput {}
11
+ export interface UntagResourceCommandOutput
12
+ extends UntagResourceOutput,
13
+ __MetadataBearer {}
14
+ declare const UntagResourceCommand_base: {
15
+ new (
16
+ input: UntagResourceCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ UntagResourceCommandInput,
19
+ UntagResourceCommandOutput,
20
+ LaunchWizardClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: UntagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ UntagResourceCommandInput,
28
+ UntagResourceCommandOutput,
29
+ LaunchWizardClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -2,7 +2,11 @@ export * from "./CreateDeploymentCommand";
2
2
  export * from "./DeleteDeploymentCommand";
3
3
  export * from "./GetDeploymentCommand";
4
4
  export * from "./GetWorkloadCommand";
5
+ export * from "./GetWorkloadDeploymentPatternCommand";
5
6
  export * from "./ListDeploymentEventsCommand";
6
7
  export * from "./ListDeploymentsCommand";
8
+ export * from "./ListTagsForResourceCommand";
7
9
  export * from "./ListWorkloadDeploymentPatternsCommand";
8
10
  export * from "./ListWorkloadsCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
@@ -6,6 +6,7 @@ export interface CreateDeploymentInput {
6
6
  name: string | undefined;
7
7
  specifications: Record<string, string> | undefined;
8
8
  dryRun?: boolean;
9
+ tags?: Record<string, string>;
9
10
  }
10
11
  export interface CreateDeploymentOutput {
11
12
  deploymentId?: string;
@@ -98,6 +99,8 @@ export interface DeploymentData {
98
99
  specifications?: Record<string, string>;
99
100
  resourceGroup?: string;
100
101
  deletedAt?: Date;
102
+ tags?: Record<string, string>;
103
+ deploymentArn?: string;
101
104
  }
102
105
  export interface GetDeploymentOutput {
103
106
  deployment?: DeploymentData;
@@ -129,6 +132,18 @@ export interface ListDeploymentsOutput {
129
132
  deployments?: DeploymentDataSummary[];
130
133
  nextToken?: string;
131
134
  }
135
+ export interface DeploymentConditionalField {
136
+ name?: string;
137
+ value?: string;
138
+ comparator?: string;
139
+ }
140
+ export interface DeploymentSpecificationsField {
141
+ name?: string;
142
+ description?: string;
143
+ allowedValues?: string[];
144
+ required?: string;
145
+ conditionals?: DeploymentConditionalField[];
146
+ }
132
147
  export interface GetWorkloadInput {
133
148
  workloadName: string | undefined;
134
149
  }
@@ -152,6 +167,47 @@ export interface WorkloadData {
152
167
  export interface GetWorkloadOutput {
153
168
  workload?: WorkloadData;
154
169
  }
170
+ export interface GetWorkloadDeploymentPatternInput {
171
+ workloadName: string | undefined;
172
+ deploymentPatternName: string | undefined;
173
+ }
174
+ export declare const WorkloadDeploymentPatternStatus: {
175
+ readonly ACTIVE: "ACTIVE";
176
+ readonly DELETED: "DELETED";
177
+ readonly DISABLED: "DISABLED";
178
+ readonly INACTIVE: "INACTIVE";
179
+ };
180
+ export type WorkloadDeploymentPatternStatus =
181
+ (typeof WorkloadDeploymentPatternStatus)[keyof typeof WorkloadDeploymentPatternStatus];
182
+ export interface WorkloadDeploymentPatternData {
183
+ workloadName?: string;
184
+ deploymentPatternName?: string;
185
+ workloadVersionName?: string;
186
+ displayName?: string;
187
+ description?: string;
188
+ status?: WorkloadDeploymentPatternStatus;
189
+ statusMessage?: string;
190
+ specifications?: DeploymentSpecificationsField[];
191
+ }
192
+ export interface GetWorkloadDeploymentPatternOutput {
193
+ workloadDeploymentPattern?: WorkloadDeploymentPatternData;
194
+ }
195
+ export interface ListTagsForResourceInput {
196
+ resourceArn: string | undefined;
197
+ }
198
+ export interface ListTagsForResourceOutput {
199
+ tags?: Record<string, string>;
200
+ }
201
+ export interface TagResourceInput {
202
+ resourceArn: string | undefined;
203
+ tags: Record<string, string> | undefined;
204
+ }
205
+ export interface TagResourceOutput {}
206
+ export interface UntagResourceInput {
207
+ resourceArn: string | undefined;
208
+ tagKeys: string[] | undefined;
209
+ }
210
+ export interface UntagResourceOutput {}
155
211
  export interface ListWorkloadsInput {
156
212
  maxResults?: number;
157
213
  nextToken?: string;
@@ -169,14 +225,6 @@ export interface ListWorkloadDeploymentPatternsInput {
169
225
  maxResults?: number;
170
226
  nextToken?: string;
171
227
  }
172
- export declare const WorkloadDeploymentPatternStatus: {
173
- readonly ACTIVE: "ACTIVE";
174
- readonly DELETED: "DELETED";
175
- readonly DISABLED: "DISABLED";
176
- readonly INACTIVE: "INACTIVE";
177
- };
178
- export type WorkloadDeploymentPatternStatus =
179
- (typeof WorkloadDeploymentPatternStatus)[keyof typeof WorkloadDeploymentPatternStatus];
180
228
  export interface WorkloadDeploymentPatternDataSummary {
181
229
  workloadName?: string;
182
230
  deploymentPatternName?: string;
@@ -19,6 +19,10 @@ import {
19
19
  GetWorkloadCommandInput,
20
20
  GetWorkloadCommandOutput,
21
21
  } from "../commands/GetWorkloadCommand";
22
+ import {
23
+ GetWorkloadDeploymentPatternCommandInput,
24
+ GetWorkloadDeploymentPatternCommandOutput,
25
+ } from "../commands/GetWorkloadDeploymentPatternCommand";
22
26
  import {
23
27
  ListDeploymentEventsCommandInput,
24
28
  ListDeploymentEventsCommandOutput,
@@ -27,6 +31,10 @@ import {
27
31
  ListDeploymentsCommandInput,
28
32
  ListDeploymentsCommandOutput,
29
33
  } from "../commands/ListDeploymentsCommand";
34
+ import {
35
+ ListTagsForResourceCommandInput,
36
+ ListTagsForResourceCommandOutput,
37
+ } from "../commands/ListTagsForResourceCommand";
30
38
  import {
31
39
  ListWorkloadDeploymentPatternsCommandInput,
32
40
  ListWorkloadDeploymentPatternsCommandOutput,
@@ -35,6 +43,14 @@ import {
35
43
  ListWorkloadsCommandInput,
36
44
  ListWorkloadsCommandOutput,
37
45
  } from "../commands/ListWorkloadsCommand";
46
+ import {
47
+ TagResourceCommandInput,
48
+ TagResourceCommandOutput,
49
+ } from "../commands/TagResourceCommand";
50
+ import {
51
+ UntagResourceCommandInput,
52
+ UntagResourceCommandOutput,
53
+ } from "../commands/UntagResourceCommand";
38
54
  export declare const se_CreateDeploymentCommand: (
39
55
  input: CreateDeploymentCommandInput,
40
56
  context: __SerdeContext
@@ -51,6 +67,10 @@ export declare const se_GetWorkloadCommand: (
51
67
  input: GetWorkloadCommandInput,
52
68
  context: __SerdeContext
53
69
  ) => Promise<__HttpRequest>;
70
+ export declare const se_GetWorkloadDeploymentPatternCommand: (
71
+ input: GetWorkloadDeploymentPatternCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
54
74
  export declare const se_ListDeploymentEventsCommand: (
55
75
  input: ListDeploymentEventsCommandInput,
56
76
  context: __SerdeContext
@@ -59,6 +79,10 @@ export declare const se_ListDeploymentsCommand: (
59
79
  input: ListDeploymentsCommandInput,
60
80
  context: __SerdeContext
61
81
  ) => Promise<__HttpRequest>;
82
+ export declare const se_ListTagsForResourceCommand: (
83
+ input: ListTagsForResourceCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
62
86
  export declare const se_ListWorkloadDeploymentPatternsCommand: (
63
87
  input: ListWorkloadDeploymentPatternsCommandInput,
64
88
  context: __SerdeContext
@@ -67,6 +91,14 @@ export declare const se_ListWorkloadsCommand: (
67
91
  input: ListWorkloadsCommandInput,
68
92
  context: __SerdeContext
69
93
  ) => Promise<__HttpRequest>;
94
+ export declare const se_TagResourceCommand: (
95
+ input: TagResourceCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_UntagResourceCommand: (
99
+ input: UntagResourceCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
70
102
  export declare const de_CreateDeploymentCommand: (
71
103
  output: __HttpResponse,
72
104
  context: __SerdeContext
@@ -83,6 +115,10 @@ export declare const de_GetWorkloadCommand: (
83
115
  output: __HttpResponse,
84
116
  context: __SerdeContext
85
117
  ) => Promise<GetWorkloadCommandOutput>;
118
+ export declare const de_GetWorkloadDeploymentPatternCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<GetWorkloadDeploymentPatternCommandOutput>;
86
122
  export declare const de_ListDeploymentEventsCommand: (
87
123
  output: __HttpResponse,
88
124
  context: __SerdeContext
@@ -91,6 +127,10 @@ export declare const de_ListDeploymentsCommand: (
91
127
  output: __HttpResponse,
92
128
  context: __SerdeContext
93
129
  ) => Promise<ListDeploymentsCommandOutput>;
130
+ export declare const de_ListTagsForResourceCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<ListTagsForResourceCommandOutput>;
94
134
  export declare const de_ListWorkloadDeploymentPatternsCommand: (
95
135
  output: __HttpResponse,
96
136
  context: __SerdeContext
@@ -99,3 +139,11 @@ export declare const de_ListWorkloadsCommand: (
99
139
  output: __HttpResponse,
100
140
  context: __SerdeContext
101
141
  ) => Promise<ListWorkloadsCommandOutput>;
142
+ export declare const de_TagResourceCommand: (
143
+ output: __HttpResponse,
144
+ context: __SerdeContext
145
+ ) => Promise<TagResourceCommandOutput>;
146
+ export declare const de_UntagResourceCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<UntagResourceCommandOutput>;
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: LaunchWizardClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-launch-wizard",
3
3
  "description": "AWS SDK for JavaScript Launch Wizard Client for Node.js, Browser and React Native",
4
- "version": "3.587.0",
4
+ "version": "3.590.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-launch-wizard",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.587.0",
24
- "@aws-sdk/client-sts": "3.587.0",
25
- "@aws-sdk/core": "3.587.0",
26
- "@aws-sdk/credential-provider-node": "3.587.0",
23
+ "@aws-sdk/client-sso-oidc": "3.590.0",
24
+ "@aws-sdk/client-sts": "3.590.0",
25
+ "@aws-sdk/core": "3.588.0",
26
+ "@aws-sdk/credential-provider-node": "3.590.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",