Skip to content

Commit eb10720

Browse files
author
awstools
committedJan 30, 2023
feat(client-cloudformation): This feature provides a method of obtaining which regions a stackset has stack instances deployed in.
1 parent 89fb3ff commit eb10720

File tree

3 files changed

+556
-249
lines changed

3 files changed

+556
-249
lines changed
 

‎clients/client-cloudformation/src/models/models_0.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4760,6 +4760,8 @@ export interface StackSet {
47604760
* conflicting operations.</p>
47614761
*/
47624762
ManagedExecution?: ManagedExecution;
4763+
4764+
Regions?: string[];
47634765
}
47644766

47654767
export interface DescribeStackSetOutput {

‎clients/client-cloudformation/src/protocols/Aws_query.ts

+6
Original file line numberDiff line numberDiff line change
@@ -9520,6 +9520,7 @@ const deserializeAws_queryStackSet = (output: any, context: __SerdeContext): Sta
95209520
PermissionModel: undefined,
95219521
OrganizationalUnitIds: undefined,
95229522
ManagedExecution: undefined,
9523+
Regions: undefined,
95239524
};
95249525
if (output["StackSetName"] !== undefined) {
95259526
contents.StackSetName = __expectString(output["StackSetName"]);
@@ -9589,6 +9590,11 @@ const deserializeAws_queryStackSet = (output: any, context: __SerdeContext): Sta
95899590
if (output["ManagedExecution"] !== undefined) {
95909591
contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
95919592
}
9593+
if (output.Regions === "") {
9594+
contents.Regions = [];
9595+
} else if (output["Regions"] !== undefined && output["Regions"]["member"] !== undefined) {
9596+
contents.Regions = deserializeAws_queryRegionList(__getArrayIfSingleItem(output["Regions"]["member"]), context);
9597+
}
95929598
return contents;
95939599
};
95949600

‎codegen/sdk-codegen/aws-models/cloudformation.json

+548-249
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.