@aws-sdk/client-launch-wizard 3.1115.0 → 3.1117.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1114.0";
72
+ var version = "3.1116.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -187,9 +187,12 @@ class ValidationException extends LaunchWizardServiceException {
187
187
  }
188
188
  }
189
189
 
190
+ const _AC = "AccountConstraint";
191
+ const _ACL = "AccountConstraintsList";
190
192
  const _CD = "CreateDeployment";
191
193
  const _CDI = "CreateDeploymentInput";
192
194
  const _CDO = "CreateDeploymentOutput";
195
+ const _DAC = "DelegatedAdminConstraint";
193
196
  const _DCF = "DeploymentConditionalField";
194
197
  const _DD = "DeploymentData";
195
198
  const _DDI = "DeleteDeploymentInput";
@@ -239,6 +242,7 @@ const _LWDPI = "ListWorkloadDeploymentPatternsInput";
239
242
  const _LWDPO = "ListWorkloadDeploymentPatternsOutput";
240
243
  const _LWI = "ListWorkloadsInput";
241
244
  const _LWO = "ListWorkloadsOutput";
245
+ const _MAC = "ManagementAccountConstraint";
242
246
  const _RLE = "ResourceLimitException";
243
247
  const _RNFE = "ResourceNotFoundException";
244
248
  const _SCD = "SpecificationsConditionalData";
@@ -258,6 +262,7 @@ const _WDPDS = "WorkloadDeploymentPatternDataSummary";
258
262
  const _WDPDSL = "WorkloadDeploymentPatternDataSummaryList";
259
263
  const _WDS = "WorkloadDataSummary";
260
264
  const _WDSL = "WorkloadDataSummaryList";
265
+ const _aC = "accountConstraints";
261
266
  const _aV = "allowedValues";
262
267
  const _c = "client";
263
268
  const _cA = "createdAt";
@@ -266,6 +271,7 @@ const _con = "conditionals";
266
271
  const _d = "description";
267
272
  const _dA = "deletedAt";
268
273
  const _dAe = "deploymentArn";
274
+ const _dAel = "delegatedAdmin";
269
275
  const _dE = "deploymentEvents";
270
276
  const _dI = "deploymentId";
271
277
  const _dN = "displayName";
@@ -287,7 +293,9 @@ const _i = "id";
287
293
  const _iU = "iconUrl";
288
294
  const _m = "message";
289
295
  const _mA = "modifiedAt";
296
+ const _mAa = "managementAccount";
290
297
  const _mR = "maxResults";
298
+ const _me = "metadata";
291
299
  const _n = "name";
292
300
  const _nT = "nextToken";
293
301
  const _pN = "patternName";
@@ -296,6 +304,7 @@ const _rA = "resourceArn";
296
304
  const _rG = "resourceGroup";
297
305
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.launchwizard";
298
306
  const _sM = "statusMessage";
307
+ const _sP = "servicePrincipal";
299
308
  const _sR = "statusReason";
300
309
  const _se = "server";
301
310
  const _sp = "specifications";
@@ -354,6 +363,11 @@ var CreateDeploymentOutput$ = [3, n0, _CDO,
354
363
  [_dI],
355
364
  [0]
356
365
  ];
366
+ var DelegatedAdminConstraint$ = [3, n0, _DAC,
367
+ 0,
368
+ [_sP],
369
+ [0], 1
370
+ ];
357
371
  var DeleteDeploymentInput$ = [3, n0, _DDI,
358
372
  0,
359
373
  [_dI],
@@ -381,8 +395,8 @@ var DeploymentDataSummary$ = [3, n0, _DDS,
381
395
  ];
382
396
  var DeploymentEventDataSummary$ = [3, n0, _DEDS,
383
397
  0,
384
- [_n, _d, _st, _sR, _ti],
385
- [0, 0, 0, 0, 4]
398
+ [_n, _d, _st, _sR, _ti, _me],
399
+ [0, 0, 0, 0, 4, 128 | 0]
386
400
  ];
387
401
  var DeploymentFilter$ = [3, n0, _DF,
388
402
  0,
@@ -504,6 +518,11 @@ var ListWorkloadsOutput$ = [3, n0, _LWO,
504
518
  [_wo, _nT],
505
519
  [() => WorkloadDataSummaryList, 0]
506
520
  ];
521
+ var ManagementAccountConstraint$ = [3, n0, _MAC,
522
+ 0,
523
+ [],
524
+ []
525
+ ];
507
526
  var TagResourceInput$ = [3, n0, _TRI,
508
527
  0,
509
528
  [_rA, _t],
@@ -536,23 +555,26 @@ var UpdateDeploymentOutput$ = [3, n0, _UDO,
536
555
  ];
537
556
  var WorkloadData$ = [3, n0, _WD,
538
557
  0,
539
- [_wN, _dN, _st, _d, _dU, _iU, _sM],
540
- [0, 0, 0, 0, 0, 0, 0]
558
+ [_wN, _dN, _st, _aC, _d, _dU, _iU, _sM],
559
+ [0, 0, 0, () => AccountConstraintsList, 0, 0, 0, 0]
541
560
  ];
542
561
  var WorkloadDataSummary$ = [3, n0, _WDS,
543
562
  0,
544
- [_wN, _dN, _st],
545
- [0, 0, 0]
563
+ [_wN, _dN, _st, _aC],
564
+ [0, 0, 0, () => AccountConstraintsList]
546
565
  ];
547
566
  var WorkloadDeploymentPatternData$ = [3, n0, _WDPD,
548
567
  0,
549
- [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _sp],
550
- [0, 0, 0, 0, 0, 0, 0, 0, () => DeploymentSpecificationsData]
568
+ [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _aC, _sp],
569
+ [0, 0, 0, 0, 0, 0, 0, 0, () => AccountConstraintsList, () => DeploymentSpecificationsData]
551
570
  ];
552
571
  var WorkloadDeploymentPatternDataSummary$ = [3, n0, _WDPDS,
553
572
  0,
554
- [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM],
555
- [0, 0, 0, 0, 0, 0, 0, 0]
573
+ [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _aC],
574
+ [0, 0, 0, 0, 0, 0, 0, 0, () => AccountConstraintsList]
575
+ ];
576
+ var AccountConstraintsList = [1, n0, _ACL,
577
+ 0, () => AccountConstraint$
556
578
  ];
557
579
  var DeploymentDataSummaryList = [1, n0, _DDSL,
558
580
  0, () => DeploymentDataSummary$
@@ -584,6 +606,11 @@ var WorkloadDeploymentPatternDataSummaryList = [1, n0, _WDPDSL,
584
606
  var DeploymentSpecifications = [2, n0, _DS,
585
607
  8, 0, 0
586
608
  ];
609
+ var AccountConstraint$ = [4, n0, _AC,
610
+ 0,
611
+ [_mAa, _dAel],
612
+ [() => ManagementAccountConstraint$, () => DelegatedAdminConstraint$]
613
+ ];
587
614
  var CreateDeployment$ = [9, n0, _CD,
588
615
  { [_h]: ["POST", "/createDeployment", 200] }, () => CreateDeploymentInput$, () => CreateDeploymentOutput$
589
616
  ];
@@ -909,10 +936,12 @@ const WorkloadDeploymentPatternStatus = {
909
936
  INACTIVE: "INACTIVE",
910
937
  };
911
938
 
939
+ exports.AccountConstraint$ = AccountConstraint$;
912
940
  exports.CreateDeployment$ = CreateDeployment$;
913
941
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
914
942
  exports.CreateDeploymentInput$ = CreateDeploymentInput$;
915
943
  exports.CreateDeploymentOutput$ = CreateDeploymentOutput$;
944
+ exports.DelegatedAdminConstraint$ = DelegatedAdminConstraint$;
916
945
  exports.DeleteDeployment$ = DeleteDeployment$;
917
946
  exports.DeleteDeploymentCommand = DeleteDeploymentCommand;
918
947
  exports.DeleteDeploymentInput$ = DeleteDeploymentInput$;
@@ -975,6 +1004,7 @@ exports.ListWorkloads$ = ListWorkloads$;
975
1004
  exports.ListWorkloadsCommand = ListWorkloadsCommand;
976
1005
  exports.ListWorkloadsInput$ = ListWorkloadsInput$;
977
1006
  exports.ListWorkloadsOutput$ = ListWorkloadsOutput$;
1007
+ exports.ManagementAccountConstraint$ = ManagementAccountConstraint$;
978
1008
  exports.ResourceLimitException = ResourceLimitException;
979
1009
  exports.ResourceLimitException$ = ResourceLimitException$;
980
1010
  exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -1,6 +1,9 @@
1
+ const _AC = "AccountConstraint";
2
+ const _ACL = "AccountConstraintsList";
1
3
  const _CD = "CreateDeployment";
2
4
  const _CDI = "CreateDeploymentInput";
3
5
  const _CDO = "CreateDeploymentOutput";
6
+ const _DAC = "DelegatedAdminConstraint";
4
7
  const _DCF = "DeploymentConditionalField";
5
8
  const _DD = "DeploymentData";
6
9
  const _DDI = "DeleteDeploymentInput";
@@ -50,6 +53,7 @@ const _LWDPI = "ListWorkloadDeploymentPatternsInput";
50
53
  const _LWDPO = "ListWorkloadDeploymentPatternsOutput";
51
54
  const _LWI = "ListWorkloadsInput";
52
55
  const _LWO = "ListWorkloadsOutput";
56
+ const _MAC = "ManagementAccountConstraint";
53
57
  const _RLE = "ResourceLimitException";
54
58
  const _RNFE = "ResourceNotFoundException";
55
59
  const _SCD = "SpecificationsConditionalData";
@@ -69,6 +73,7 @@ const _WDPDS = "WorkloadDeploymentPatternDataSummary";
69
73
  const _WDPDSL = "WorkloadDeploymentPatternDataSummaryList";
70
74
  const _WDS = "WorkloadDataSummary";
71
75
  const _WDSL = "WorkloadDataSummaryList";
76
+ const _aC = "accountConstraints";
72
77
  const _aV = "allowedValues";
73
78
  const _c = "client";
74
79
  const _cA = "createdAt";
@@ -77,6 +82,7 @@ const _con = "conditionals";
77
82
  const _d = "description";
78
83
  const _dA = "deletedAt";
79
84
  const _dAe = "deploymentArn";
85
+ const _dAel = "delegatedAdmin";
80
86
  const _dE = "deploymentEvents";
81
87
  const _dI = "deploymentId";
82
88
  const _dN = "displayName";
@@ -98,7 +104,9 @@ const _i = "id";
98
104
  const _iU = "iconUrl";
99
105
  const _m = "message";
100
106
  const _mA = "modifiedAt";
107
+ const _mAa = "managementAccount";
101
108
  const _mR = "maxResults";
109
+ const _me = "metadata";
102
110
  const _n = "name";
103
111
  const _nT = "nextToken";
104
112
  const _pN = "patternName";
@@ -107,6 +115,7 @@ const _rA = "resourceArn";
107
115
  const _rG = "resourceGroup";
108
116
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.launchwizard";
109
117
  const _sM = "statusMessage";
118
+ const _sP = "servicePrincipal";
110
119
  const _sR = "statusReason";
111
120
  const _se = "server";
112
121
  const _sp = "specifications";
@@ -168,6 +177,11 @@ export var CreateDeploymentOutput$ = [3, n0, _CDO,
168
177
  [_dI],
169
178
  [0]
170
179
  ];
180
+ export var DelegatedAdminConstraint$ = [3, n0, _DAC,
181
+ 0,
182
+ [_sP],
183
+ [0], 1
184
+ ];
171
185
  export var DeleteDeploymentInput$ = [3, n0, _DDI,
172
186
  0,
173
187
  [_dI],
@@ -195,8 +209,8 @@ export var DeploymentDataSummary$ = [3, n0, _DDS,
195
209
  ];
196
210
  export var DeploymentEventDataSummary$ = [3, n0, _DEDS,
197
211
  0,
198
- [_n, _d, _st, _sR, _ti],
199
- [0, 0, 0, 0, 4]
212
+ [_n, _d, _st, _sR, _ti, _me],
213
+ [0, 0, 0, 0, 4, 128 | 0]
200
214
  ];
201
215
  export var DeploymentFilter$ = [3, n0, _DF,
202
216
  0,
@@ -318,6 +332,11 @@ export var ListWorkloadsOutput$ = [3, n0, _LWO,
318
332
  [_wo, _nT],
319
333
  [() => WorkloadDataSummaryList, 0]
320
334
  ];
335
+ export var ManagementAccountConstraint$ = [3, n0, _MAC,
336
+ 0,
337
+ [],
338
+ []
339
+ ];
321
340
  export var TagResourceInput$ = [3, n0, _TRI,
322
341
  0,
323
342
  [_rA, _t],
@@ -350,23 +369,26 @@ export var UpdateDeploymentOutput$ = [3, n0, _UDO,
350
369
  ];
351
370
  export var WorkloadData$ = [3, n0, _WD,
352
371
  0,
353
- [_wN, _dN, _st, _d, _dU, _iU, _sM],
354
- [0, 0, 0, 0, 0, 0, 0]
372
+ [_wN, _dN, _st, _aC, _d, _dU, _iU, _sM],
373
+ [0, 0, 0, () => AccountConstraintsList, 0, 0, 0, 0]
355
374
  ];
356
375
  export var WorkloadDataSummary$ = [3, n0, _WDS,
357
376
  0,
358
- [_wN, _dN, _st],
359
- [0, 0, 0]
377
+ [_wN, _dN, _st, _aC],
378
+ [0, 0, 0, () => AccountConstraintsList]
360
379
  ];
361
380
  export var WorkloadDeploymentPatternData$ = [3, n0, _WDPD,
362
381
  0,
363
- [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _sp],
364
- [0, 0, 0, 0, 0, 0, 0, 0, () => DeploymentSpecificationsData]
382
+ [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _aC, _sp],
383
+ [0, 0, 0, 0, 0, 0, 0, 0, () => AccountConstraintsList, () => DeploymentSpecificationsData]
365
384
  ];
366
385
  export var WorkloadDeploymentPatternDataSummary$ = [3, n0, _WDPDS,
367
386
  0,
368
- [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM],
369
- [0, 0, 0, 0, 0, 0, 0, 0]
387
+ [_wN, _dPN, _wVN, _dPVN, _dN, _d, _st, _sM, _aC],
388
+ [0, 0, 0, 0, 0, 0, 0, 0, () => AccountConstraintsList]
389
+ ];
390
+ var AccountConstraintsList = [1, n0, _ACL,
391
+ 0, () => AccountConstraint$
370
392
  ];
371
393
  var AllowedValues = 64 | 0;
372
394
  var DeploymentDataSummaryList = [1, n0, _DDSL,
@@ -399,10 +421,16 @@ var WorkloadDataSummaryList = [1, n0, _WDSL,
399
421
  var WorkloadDeploymentPatternDataSummaryList = [1, n0, _WDPDSL,
400
422
  0, () => WorkloadDeploymentPatternDataSummary$
401
423
  ];
424
+ var DeploymentEventMetadata = 128 | 0;
402
425
  var DeploymentSpecifications = [2, n0, _DS,
403
426
  8, 0, 0
404
427
  ];
405
428
  var Tags = 128 | 0;
429
+ export var AccountConstraint$ = [4, n0, _AC,
430
+ 0,
431
+ [_mAa, _dAel],
432
+ [() => ManagementAccountConstraint$, () => DelegatedAdminConstraint$]
433
+ ];
406
434
  export var CreateDeployment$ = [9, n0, _CD,
407
435
  { [_h]: ["POST", "/createDeployment", 200] }, () => CreateDeploymentInput$, () => CreateDeploymentOutput$
408
436
  ];
@@ -43,6 +43,14 @@ declare const GetWorkloadCommand_base: {
43
43
  * // workloadName: "STRING_VALUE",
44
44
  * // displayName: "STRING_VALUE",
45
45
  * // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
46
+ * // accountConstraints: [ // AccountConstraintsList
47
+ * // { // AccountConstraint Union: only one key present
48
+ * // managementAccount: {},
49
+ * // delegatedAdmin: { // DelegatedAdminConstraint
50
+ * // servicePrincipal: "STRING_VALUE", // required
51
+ * // },
52
+ * // },
53
+ * // ],
46
54
  * // description: "STRING_VALUE",
47
55
  * // documentationUrl: "STRING_VALUE",
48
56
  * // iconUrl: "STRING_VALUE",
@@ -49,6 +49,14 @@ declare const GetWorkloadDeploymentPatternCommand_base: {
49
49
  * // description: "STRING_VALUE",
50
50
  * // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
51
51
  * // statusMessage: "STRING_VALUE",
52
+ * // accountConstraints: [ // AccountConstraintsList
53
+ * // { // AccountConstraint Union: only one key present
54
+ * // managementAccount: {},
55
+ * // delegatedAdmin: { // DelegatedAdminConstraint
56
+ * // servicePrincipal: "STRING_VALUE", // required
57
+ * // },
58
+ * // },
59
+ * // ],
52
60
  * // specifications: [ // DeploymentSpecificationsData
53
61
  * // { // DeploymentSpecificationsField
54
62
  * // name: "STRING_VALUE",
@@ -48,6 +48,9 @@ declare const ListDeploymentEventsCommand_base: {
48
48
  * // status: "CANCELED" || "CANCELING" || "COMPLETED" || "CREATED" || "FAILED" || "IN_PROGRESS" || "PENDING" || "TIMED_OUT",
49
49
  * // statusReason: "STRING_VALUE",
50
50
  * // timestamp: new Date("TIMESTAMP"),
51
+ * // metadata: { // DeploymentEventMetadata
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
51
54
  * // },
52
55
  * // ],
53
56
  * // nextToken: "STRING_VALUE",
@@ -51,6 +51,14 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
51
51
  * // description: "STRING_VALUE",
52
52
  * // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
53
53
  * // statusMessage: "STRING_VALUE",
54
+ * // accountConstraints: [ // AccountConstraintsList
55
+ * // { // AccountConstraint Union: only one key present
56
+ * // managementAccount: {},
57
+ * // delegatedAdmin: { // DelegatedAdminConstraint
58
+ * // servicePrincipal: "STRING_VALUE", // required
59
+ * // },
60
+ * // },
61
+ * // ],
54
62
  * // },
55
63
  * // ],
56
64
  * // nextToken: "STRING_VALUE",
@@ -45,6 +45,14 @@ declare const ListWorkloadsCommand_base: {
45
45
  * // workloadName: "STRING_VALUE",
46
46
  * // displayName: "STRING_VALUE",
47
47
  * // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED",
48
+ * // accountConstraints: [ // AccountConstraintsList
49
+ * // { // AccountConstraint Union: only one key present
50
+ * // managementAccount: {},
51
+ * // delegatedAdmin: { // DelegatedAdminConstraint
52
+ * // servicePrincipal: "STRING_VALUE", // required
53
+ * // },
54
+ * // },
55
+ * // ],
48
56
  * // },
49
57
  * // ],
50
58
  * // nextToken: "STRING_VALUE",
@@ -1,4 +1,66 @@
1
1
  import type { DeploymentFilterKey, DeploymentPatternVersionFilterKey, DeploymentStatus, EventStatus, WorkloadDeploymentPatternStatus, WorkloadStatus } from "./enums";
2
+ /**
3
+ * The deployment must be initiated from a delegated administrator account for the specified service principal.
4
+ * @public
5
+ */
6
+ export interface DelegatedAdminConstraint {
7
+ /**
8
+ * The service principal for which the account must be a delegated administrator. For example, `stacksets.cloudformation.amazonaws.com`.
9
+ * @public
10
+ */
11
+ servicePrincipal: string | undefined;
12
+ }
13
+ /**
14
+ * The deployment must be initiated from the AWS Organizations management account.
15
+ * @public
16
+ */
17
+ export interface ManagementAccountConstraint {
18
+ }
19
+ /**
20
+ * A constraint on which AWS account a deployment can be initiated from. Specify one of the supported constraint types.
21
+ * @public
22
+ */
23
+ export type AccountConstraint = AccountConstraint.DelegatedAdminMember | AccountConstraint.ManagementAccountMember | AccountConstraint.$UnknownMember;
24
+ /**
25
+ * @public
26
+ */
27
+ export declare namespace AccountConstraint {
28
+ /**
29
+ * The deployment must be initiated from the AWS Organizations management account.
30
+ * @public
31
+ */
32
+ interface ManagementAccountMember {
33
+ managementAccount: ManagementAccountConstraint;
34
+ delegatedAdmin?: never;
35
+ $unknown?: never;
36
+ }
37
+ /**
38
+ * The deployment must be initiated from a delegated administrator account for the specified service principal.
39
+ * @public
40
+ */
41
+ interface DelegatedAdminMember {
42
+ managementAccount?: never;
43
+ delegatedAdmin: DelegatedAdminConstraint;
44
+ $unknown?: never;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ interface $UnknownMember {
50
+ managementAccount?: never;
51
+ delegatedAdmin?: never;
52
+ $unknown: [string, any];
53
+ }
54
+ /**
55
+ * @deprecated unused in schema-serde mode.
56
+ *
57
+ */
58
+ interface Visitor<T> {
59
+ managementAccount: (value: ManagementAccountConstraint) => T;
60
+ delegatedAdmin: (value: DelegatedAdminConstraint) => T;
61
+ _: (name: string, value: any) => T;
62
+ }
63
+ }
2
64
  /**
3
65
  * @public
4
66
  */
@@ -119,6 +181,12 @@ export interface DeploymentEventDataSummary {
119
181
  * @public
120
182
  */
121
183
  timestamp?: Date | undefined;
184
+ /**
185
+ * A map of metadata key-value pairs associated with a deployment event.
186
+ * For error detection events, contains workload context and log excerpts used for troubleshooting.
187
+ * @public
188
+ */
189
+ metadata?: Record<string, string> | undefined;
122
190
  }
123
191
  /**
124
192
  * @public
@@ -562,6 +630,11 @@ export interface WorkloadData {
562
630
  * @public
563
631
  */
564
632
  status?: WorkloadStatus | undefined;
633
+ /**
634
+ * Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
635
+ * @public
636
+ */
637
+ accountConstraints?: AccountConstraint[] | undefined;
565
638
  /**
566
639
  * <p>The description of a workload.</p>
567
640
  * @public
@@ -653,6 +726,11 @@ export interface WorkloadDeploymentPatternData {
653
726
  * @public
654
727
  */
655
728
  statusMessage?: string | undefined;
729
+ /**
730
+ * Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
731
+ * @public
732
+ */
733
+ accountConstraints?: AccountConstraint[] | undefined;
656
734
  /**
657
735
  * <p>The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html">SAP deployment specifications</a>. To retrieve the specifications required to create a deployment for other workloads, use the <a href="https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html"> <code>GetWorkloadDeploymentPattern</code> </a> operation.</p>
658
736
  * @public
@@ -764,6 +842,11 @@ export interface WorkloadDataSummary {
764
842
  * @public
765
843
  */
766
844
  status?: WorkloadStatus | undefined;
845
+ /**
846
+ * Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
847
+ * @public
848
+ */
849
+ accountConstraints?: AccountConstraint[] | undefined;
767
850
  }
768
851
  /**
769
852
  * @public
@@ -845,6 +928,11 @@ export interface WorkloadDeploymentPatternDataSummary {
845
928
  * @public
846
929
  */
847
930
  statusMessage?: string | undefined;
931
+ /**
932
+ * Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.
933
+ * @public
934
+ */
935
+ accountConstraints?: AccountConstraint[] | undefined;
848
936
  }
849
937
  /**
850
938
  * @public
@@ -1,5 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
3
  export declare var LaunchWizardServiceException$: StaticErrorSchema;
4
4
  export declare var InternalServerException$: StaticErrorSchema;
5
5
  export declare var ResourceLimitException$: StaticErrorSchema;
@@ -13,6 +13,7 @@ export declare var ValidationException$: StaticErrorSchema;
13
13
  export declare const errorTypeRegistries: TypeRegistry[];
14
14
  export declare var CreateDeploymentInput$: StaticStructureSchema;
15
15
  export declare var CreateDeploymentOutput$: StaticStructureSchema;
16
+ export declare var DelegatedAdminConstraint$: StaticStructureSchema;
16
17
  export declare var DeleteDeploymentInput$: StaticStructureSchema;
17
18
  export declare var DeleteDeploymentOutput$: StaticStructureSchema;
18
19
  export declare var DeploymentConditionalField$: StaticStructureSchema;
@@ -43,6 +44,7 @@ export declare var ListWorkloadDeploymentPatternsInput$: StaticStructureSchema;
43
44
  export declare var ListWorkloadDeploymentPatternsOutput$: StaticStructureSchema;
44
45
  export declare var ListWorkloadsInput$: StaticStructureSchema;
45
46
  export declare var ListWorkloadsOutput$: StaticStructureSchema;
47
+ export declare var ManagementAccountConstraint$: StaticStructureSchema;
46
48
  export declare var TagResourceInput$: StaticStructureSchema;
47
49
  export declare var TagResourceOutput$: StaticStructureSchema;
48
50
  export declare var UntagResourceInput$: StaticStructureSchema;
@@ -53,6 +55,7 @@ export declare var WorkloadData$: StaticStructureSchema;
53
55
  export declare var WorkloadDataSummary$: StaticStructureSchema;
54
56
  export declare var WorkloadDeploymentPatternData$: StaticStructureSchema;
55
57
  export declare var WorkloadDeploymentPatternDataSummary$: StaticStructureSchema;
58
+ export declare var AccountConstraint$: StaticUnionSchema;
56
59
  export declare var CreateDeployment$: StaticOperationSchema;
57
60
  export declare var DeleteDeployment$: StaticOperationSchema;
58
61
  export declare var GetDeployment$: StaticOperationSchema;
@@ -6,6 +6,36 @@ import {
6
6
  WorkloadDeploymentPatternStatus,
7
7
  WorkloadStatus,
8
8
  } from "./enums";
9
+ export interface DelegatedAdminConstraint {
10
+ servicePrincipal: string | undefined;
11
+ }
12
+ export interface ManagementAccountConstraint {}
13
+ export type AccountConstraint =
14
+ | AccountConstraint.DelegatedAdminMember
15
+ | AccountConstraint.ManagementAccountMember
16
+ | AccountConstraint.$UnknownMember;
17
+ export declare namespace AccountConstraint {
18
+ interface ManagementAccountMember {
19
+ managementAccount: ManagementAccountConstraint;
20
+ delegatedAdmin?: never;
21
+ $unknown?: never;
22
+ }
23
+ interface DelegatedAdminMember {
24
+ managementAccount?: never;
25
+ delegatedAdmin: DelegatedAdminConstraint;
26
+ $unknown?: never;
27
+ }
28
+ interface $UnknownMember {
29
+ managementAccount?: never;
30
+ delegatedAdmin?: never;
31
+ $unknown: [string, any];
32
+ }
33
+ interface Visitor<T> {
34
+ managementAccount: (value: ManagementAccountConstraint) => T;
35
+ delegatedAdmin: (value: DelegatedAdminConstraint) => T;
36
+ _: (name: string, value: any) => T;
37
+ }
38
+ }
9
39
  export interface CreateDeploymentInput {
10
40
  workloadName: string | undefined;
11
41
  deploymentPatternName: string | undefined;
@@ -35,6 +65,7 @@ export interface DeploymentEventDataSummary {
35
65
  status?: EventStatus | undefined;
36
66
  statusReason?: string | undefined;
37
67
  timestamp?: Date | undefined;
68
+ metadata?: Record<string, string> | undefined;
38
69
  }
39
70
  export interface ListDeploymentEventsOutput {
40
71
  deploymentEvents?: DeploymentEventDataSummary[] | undefined;
@@ -142,6 +173,7 @@ export interface WorkloadData {
142
173
  workloadName?: string | undefined;
143
174
  displayName?: string | undefined;
144
175
  status?: WorkloadStatus | undefined;
176
+ accountConstraints?: AccountConstraint[] | undefined;
145
177
  description?: string | undefined;
146
178
  documentationUrl?: string | undefined;
147
179
  iconUrl?: string | undefined;
@@ -163,6 +195,7 @@ export interface WorkloadDeploymentPatternData {
163
195
  description?: string | undefined;
164
196
  status?: WorkloadDeploymentPatternStatus | undefined;
165
197
  statusMessage?: string | undefined;
198
+ accountConstraints?: AccountConstraint[] | undefined;
166
199
  specifications?: DeploymentSpecificationsField[] | undefined;
167
200
  }
168
201
  export interface GetWorkloadDeploymentPatternOutput {
@@ -192,6 +225,7 @@ export interface WorkloadDataSummary {
192
225
  workloadName?: string | undefined;
193
226
  displayName?: string | undefined;
194
227
  status?: WorkloadStatus | undefined;
228
+ accountConstraints?: AccountConstraint[] | undefined;
195
229
  }
196
230
  export interface ListWorkloadsOutput {
197
231
  workloads?: WorkloadDataSummary[] | undefined;
@@ -211,6 +245,7 @@ export interface WorkloadDeploymentPatternDataSummary {
211
245
  description?: string | undefined;
212
246
  status?: WorkloadDeploymentPatternStatus | undefined;
213
247
  statusMessage?: string | undefined;
248
+ accountConstraints?: AccountConstraint[] | undefined;
214
249
  }
215
250
  export interface ListWorkloadDeploymentPatternsOutput {
216
251
  workloadDeploymentPatterns?: WorkloadDeploymentPatternDataSummary[] | undefined;
@@ -1,5 +1,10 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
3
8
  export declare var LaunchWizardServiceException$: StaticErrorSchema;
4
9
  export declare var InternalServerException$: StaticErrorSchema;
5
10
  export declare var ResourceLimitException$: StaticErrorSchema;
@@ -8,6 +13,7 @@ export declare var ValidationException$: StaticErrorSchema;
8
13
  export declare const errorTypeRegistries: TypeRegistry[];
9
14
  export declare var CreateDeploymentInput$: StaticStructureSchema;
10
15
  export declare var CreateDeploymentOutput$: StaticStructureSchema;
16
+ export declare var DelegatedAdminConstraint$: StaticStructureSchema;
11
17
  export declare var DeleteDeploymentInput$: StaticStructureSchema;
12
18
  export declare var DeleteDeploymentOutput$: StaticStructureSchema;
13
19
  export declare var DeploymentConditionalField$: StaticStructureSchema;
@@ -38,6 +44,7 @@ export declare var ListWorkloadDeploymentPatternsInput$: StaticStructureSchema;
38
44
  export declare var ListWorkloadDeploymentPatternsOutput$: StaticStructureSchema;
39
45
  export declare var ListWorkloadsInput$: StaticStructureSchema;
40
46
  export declare var ListWorkloadsOutput$: StaticStructureSchema;
47
+ export declare var ManagementAccountConstraint$: StaticStructureSchema;
41
48
  export declare var TagResourceInput$: StaticStructureSchema;
42
49
  export declare var TagResourceOutput$: StaticStructureSchema;
43
50
  export declare var UntagResourceInput$: StaticStructureSchema;
@@ -48,6 +55,7 @@ export declare var WorkloadData$: StaticStructureSchema;
48
55
  export declare var WorkloadDataSummary$: StaticStructureSchema;
49
56
  export declare var WorkloadDeploymentPatternData$: StaticStructureSchema;
50
57
  export declare var WorkloadDeploymentPatternDataSummary$: StaticStructureSchema;
58
+ export declare var AccountConstraint$: StaticUnionSchema;
51
59
  export declare var CreateDeployment$: StaticOperationSchema;
52
60
  export declare var DeleteDeployment$: StaticOperationSchema;
53
61
  export declare var GetDeployment$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-launch-wizard",
3
- "version": "3.1115.0",
3
+ "version": "3.1117.0",
4
4
  "description": "AWS SDK for JavaScript Launch Wizard Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-launch-wizard",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.8",
50
- "@aws-sdk/credential-provider-node": "^3.972.80",
51
- "@aws-sdk/types": "^3.974.4",
52
- "@smithy/core": "^3.31.1",
53
- "@smithy/fetch-http-handler": "^5.6.13",
54
- "@smithy/node-http-handler": "^4.9.13",
55
- "@smithy/types": "^4.16.1",
49
+ "@aws-sdk/core": "^3.977.9",
50
+ "@aws-sdk/credential-provider-node": "^3.972.81",
51
+ "@aws-sdk/types": "^3.974.5",
52
+ "@smithy/core": "^3.33.3",
53
+ "@smithy/fetch-http-handler": "^5.7.2",
54
+ "@smithy/node-http-handler": "^4.11.3",
55
+ "@smithy/types": "^4.17.2",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {