Skip to content

Commit 80c8e5f

Browse files
author
awstools
committed
feat(client-cloudformation): Added support for UNKNOWN drift status.
1 parent daee31f commit 80c8e5f

19 files changed

+344
-208
lines changed

clients/client-cloudformation/src/commands/CreateStackInstancesCommand.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,24 @@ export interface CreateStackInstancesCommandOutput extends CreateStackInstancesO
3232
* stack instance refers to a stack in a specific account and Region. You must specify at least
3333
* one value for either <code>Accounts</code> or <code>DeploymentTargets</code>, and you must
3434
* specify at least one value for <code>Regions</code>.</p>
35+
* <note>
36+
* <p>The maximum number of organizational unit (OUs) supported by a
37+
* <code>CreateStackInstances</code> operation is 50.</p>
38+
* <p>If you need more than 50, consider the following options:</p>
39+
* <ul>
40+
* <li>
41+
* <p>
42+
* <i>Batch processing:</i> If you don't want to expose your OU
43+
* hierarchy, split up the operations into multiple calls with less than 50 OUs
44+
* each.</p>
45+
* </li>
46+
* <li>
47+
* <p>
48+
* <i>Parent OU strategy:</i> If you don't mind exposing the OU
49+
* hierarchy, target a parent OU that contains all desired child OUs.</p>
50+
* </li>
51+
* </ul>
52+
* </note>
3553
* @example
3654
* Use a bare-bones client and the command you need to make an API call.
3755
* ```javascript

clients/client-cloudformation/src/commands/DeleteStackInstancesCommand.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,24 @@ export interface DeleteStackInstancesCommandOutput extends DeleteStackInstancesO
2929

3030
/**
3131
* <p>Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions.</p>
32+
* <note>
33+
* <p>The maximum number of organizational unit (OUs) supported by a
34+
* <code>DeleteStackInstances</code> operation is 50.</p>
35+
* <p>If you need more than 50, consider the following options:</p>
36+
* <ul>
37+
* <li>
38+
* <p>
39+
* <i>Batch processing:</i> If you don't want to expose your OU
40+
* hierarchy, split up the operations into multiple calls with less than 50 OUs
41+
* each.</p>
42+
* </li>
43+
* <li>
44+
* <p>
45+
* <i>Parent OU strategy:</i> If you don't mind exposing the OU
46+
* hierarchy, target a parent OU that contains all desired child OUs.</p>
47+
* </li>
48+
* </ul>
49+
* </note>
3250
* @example
3351
* Use a bare-bones client and the command you need to make an API call.
3452
* ```javascript

clients/client-cloudformation/src/commands/DescribeStackResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface DescribeStackResourceCommandOutput extends DescribeStackResourc
5656
* // Description: "STRING_VALUE",
5757
* // Metadata: "STRING_VALUE",
5858
* // DriftInformation: { // StackResourceDriftInformation
59-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
59+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
6060
* // LastCheckTimestamp: new Date("TIMESTAMP"),
6161
* // },
6262
* // ModuleInfo: { // ModuleInfo

clients/client-cloudformation/src/commands/DescribeStackResourceDriftsCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface DescribeStackResourceDriftsCommandOutput extends DescribeStackR
4848
* const input = { // DescribeStackResourceDriftsInput
4949
* StackName: "STRING_VALUE", // required
5050
* StackResourceDriftStatusFilters: [ // StackResourceDriftStatusFilters
51-
* "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED",
51+
* "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN",
5252
* ],
5353
* NextToken: "STRING_VALUE",
5454
* MaxResults: Number("int"),
@@ -78,12 +78,13 @@ export interface DescribeStackResourceDriftsCommandOutput extends DescribeStackR
7878
* // DifferenceType: "ADD" || "REMOVE" || "NOT_EQUAL", // required
7979
* // },
8080
* // ],
81-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
81+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
8282
* // Timestamp: new Date("TIMESTAMP"), // required
8383
* // ModuleInfo: { // ModuleInfo
8484
* // TypeHierarchy: "STRING_VALUE",
8585
* // LogicalIdHierarchy: "STRING_VALUE",
8686
* // },
87+
* // DriftStatusReason: "STRING_VALUE",
8788
* // },
8889
* // ],
8990
* // NextToken: "STRING_VALUE",

clients/client-cloudformation/src/commands/DescribeStackResourcesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export interface DescribeStackResourcesCommandOutput extends DescribeStackResour
7272
* // ResourceStatusReason: "STRING_VALUE",
7373
* // Description: "STRING_VALUE",
7474
* // DriftInformation: { // StackResourceDriftInformation
75-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
75+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
7676
* // LastCheckTimestamp: new Date("TIMESTAMP"),
7777
* // },
7878
* // ModuleInfo: { // ModuleInfo

clients/client-cloudformation/src/commands/DescribeStackSetCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ export interface DescribeStackSetCommandOutput extends DescribeStackSetOutput, _
2929

3030
/**
3131
* <p>Returns the description of the specified StackSet.</p>
32+
* <note>
33+
* <p>This API provides <i>strongly consistent</i> reads meaning it will always
34+
* return the most up-to-date data.</p>
35+
* </note>
3236
* @example
3337
* Use a bare-bones client and the command you need to make an API call.
3438
* ```javascript

clients/client-cloudformation/src/commands/DescribeStackSetOperationCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ export interface DescribeStackSetOperationCommandOutput extends DescribeStackSet
2929

3030
/**
3131
* <p>Returns the description of the specified StackSet operation.</p>
32+
* <note>
33+
* <p>This API provides <i>strongly consistent</i> reads meaning it will always
34+
* return the most up-to-date data.</p>
35+
* </note>
3236
* @example
3337
* Use a bare-bones client and the command you need to make an API call.
3438
* ```javascript

clients/client-cloudformation/src/commands/DetectStackResourceDriftCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ export interface DetectStackResourceDriftCommandOutput extends DetectStackResour
7575
* // DifferenceType: "ADD" || "REMOVE" || "NOT_EQUAL", // required
7676
* // },
7777
* // ],
78-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
78+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
7979
* // Timestamp: new Date("TIMESTAMP"), // required
8080
* // ModuleInfo: { // ModuleInfo
8181
* // TypeHierarchy: "STRING_VALUE",
8282
* // LogicalIdHierarchy: "STRING_VALUE",
8383
* // },
84+
* // DriftStatusReason: "STRING_VALUE",
8485
* // },
8586
* // };
8687
*

clients/client-cloudformation/src/commands/ListStackInstanceResourceDriftsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface ListStackInstanceResourceDriftsCommandOutput
5151
* NextToken: "STRING_VALUE",
5252
* MaxResults: Number("int"),
5353
* StackInstanceResourceDriftStatuses: [ // StackResourceDriftStatusFilters
54-
* "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED",
54+
* "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN",
5555
* ],
5656
* StackInstanceAccount: "STRING_VALUE", // required
5757
* StackInstanceRegion: "STRING_VALUE", // required
@@ -81,7 +81,7 @@ export interface ListStackInstanceResourceDriftsCommandOutput
8181
* // DifferenceType: "ADD" || "REMOVE" || "NOT_EQUAL", // required
8282
* // },
8383
* // ],
84-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
84+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
8585
* // Timestamp: new Date("TIMESTAMP"), // required
8686
* // },
8787
* // ],

clients/client-cloudformation/src/commands/ListStackResourcesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface ListStackResourcesCommandOutput extends ListStackResourcesOutpu
5353
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "EXPORT_FAILED" || "EXPORT_COMPLETE" || "EXPORT_IN_PROGRESS" || "EXPORT_ROLLBACK_IN_PROGRESS" || "EXPORT_ROLLBACK_FAILED" || "EXPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED", // required
5454
* // ResourceStatusReason: "STRING_VALUE",
5555
* // DriftInformation: { // StackResourceDriftInformationSummary
56-
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED", // required
56+
* // StackResourceDriftStatus: "IN_SYNC" || "MODIFIED" || "DELETED" || "NOT_CHECKED" || "UNKNOWN", // required
5757
* // LastCheckTimestamp: new Date("TIMESTAMP"),
5858
* // },
5959
* // ModuleInfo: { // ModuleInfo

0 commit comments

Comments
 (0)