@aws-sdk/client-cloudformation 3.28.0 → 3.32.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/CHANGELOG.md +38 -0
- package/CloudFormation.ts +126 -61
- package/CloudFormationClient.ts +14 -11
- package/README.md +11 -11
- package/commands/ContinueUpdateRollbackCommand.ts +6 -5
- package/commands/CreateChangeSetCommand.ts +7 -8
- package/commands/CreateStackInstancesCommand.ts +1 -3
- package/commands/DeleteStackInstancesCommand.ts +1 -1
- package/commands/DeleteStackSetCommand.ts +1 -1
- package/commands/DescribeAccountLimitsCommand.ts +2 -2
- package/commands/DescribeChangeSetCommand.ts +2 -1
- package/commands/DescribeStackInstanceCommand.ts +1 -1
- package/commands/DescribeStackResourceDriftsCommand.ts +3 -4
- package/commands/DescribeStacksCommand.ts +1 -1
- package/commands/EstimateTemplateCostCommand.ts +3 -2
- package/commands/ExecuteChangeSetCommand.ts +3 -3
- package/commands/GetTemplateCommand.ts +1 -2
- package/commands/ListChangeSetsCommand.ts +2 -1
- package/commands/ListExportsCommand.ts +1 -1
- package/commands/ListImportsCommand.ts +2 -2
- package/commands/ListStackInstancesCommand.ts +1 -1
- package/commands/ListStackSetsCommand.ts +2 -2
- package/commands/RegisterPublisherCommand.ts +1 -1
- package/commands/RegisterTypeCommand.ts +1 -1
- package/commands/RollbackStackCommand.ts +123 -0
- package/commands/SignalResourceCommand.ts +3 -2
- package/commands/UpdateTerminationProtectionCommand.ts +1 -1
- package/commands/ValidateTemplateCommand.ts +3 -4
- package/dist/cjs/CloudFormation.js +26 -11
- package/dist/cjs/CloudFormation.js.map +1 -1
- package/dist/cjs/CloudFormationClient.js +11 -11
- package/dist/cjs/CloudFormationClient.js.map +1 -1
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js +6 -5
- package/dist/cjs/commands/ContinueUpdateRollbackCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChangeSetCommand.js +7 -8
- package/dist/cjs/commands/CreateChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStackInstancesCommand.js +1 -3
- package/dist/cjs/commands/CreateStackInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStackInstancesCommand.js +1 -1
- package/dist/cjs/commands/DeleteStackSetCommand.js +1 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +2 -2
- package/dist/cjs/commands/DescribeChangeSetCommand.js +2 -1
- package/dist/cjs/commands/DescribeChangeSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStackInstanceCommand.js +1 -1
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js +3 -4
- package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStacksCommand.js +1 -1
- package/dist/cjs/commands/EstimateTemplateCostCommand.js +3 -2
- package/dist/cjs/commands/EstimateTemplateCostCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteChangeSetCommand.js +3 -3
- package/dist/cjs/commands/GetTemplateCommand.js +1 -2
- package/dist/cjs/commands/GetTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/ListChangeSetsCommand.js +2 -1
- package/dist/cjs/commands/ListChangeSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListExportsCommand.js +1 -1
- package/dist/cjs/commands/ListImportsCommand.js +2 -2
- package/dist/cjs/commands/ListStackInstancesCommand.js +1 -1
- package/dist/cjs/commands/ListStackSetsCommand.js +2 -2
- package/dist/cjs/commands/RegisterPublisherCommand.js +1 -1
- package/dist/cjs/commands/RegisterTypeCommand.js +1 -1
- package/dist/cjs/commands/RollbackStackCommand.js +90 -0
- package/dist/cjs/commands/RollbackStackCommand.js.map +1 -0
- package/dist/cjs/commands/SignalResourceCommand.js +3 -2
- package/dist/cjs/commands/SignalResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTerminationProtectionCommand.js +1 -1
- package/dist/cjs/commands/ValidateTemplateCommand.js +3 -4
- package/dist/cjs/commands/ValidateTemplateCommand.js.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +26 -1
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +135 -47
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/CloudFormation.js +26 -11
- package/dist/es/CloudFormation.js.map +1 -1
- package/dist/es/CloudFormationClient.js +11 -11
- package/dist/es/CloudFormationClient.js.map +1 -1
- package/dist/es/commands/ContinueUpdateRollbackCommand.js +6 -5
- package/dist/es/commands/ContinueUpdateRollbackCommand.js.map +1 -1
- package/dist/es/commands/CreateChangeSetCommand.js +7 -8
- package/dist/es/commands/CreateChangeSetCommand.js.map +1 -1
- package/dist/es/commands/CreateStackInstancesCommand.js +1 -3
- package/dist/es/commands/CreateStackInstancesCommand.js.map +1 -1
- package/dist/es/commands/DeleteStackInstancesCommand.js +1 -1
- package/dist/es/commands/DeleteStackSetCommand.js +1 -1
- package/dist/es/commands/DescribeAccountLimitsCommand.js +2 -2
- package/dist/es/commands/DescribeChangeSetCommand.js +2 -1
- package/dist/es/commands/DescribeChangeSetCommand.js.map +1 -1
- package/dist/es/commands/DescribeStackInstanceCommand.js +1 -1
- package/dist/es/commands/DescribeStackResourceDriftsCommand.js +3 -4
- package/dist/es/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
- package/dist/es/commands/DescribeStacksCommand.js +1 -1
- package/dist/es/commands/EstimateTemplateCostCommand.js +3 -2
- package/dist/es/commands/EstimateTemplateCostCommand.js.map +1 -1
- package/dist/es/commands/ExecuteChangeSetCommand.js +3 -3
- package/dist/es/commands/GetTemplateCommand.js +1 -2
- package/dist/es/commands/GetTemplateCommand.js.map +1 -1
- package/dist/es/commands/ListChangeSetsCommand.js +2 -1
- package/dist/es/commands/ListChangeSetsCommand.js.map +1 -1
- package/dist/es/commands/ListExportsCommand.js +1 -1
- package/dist/es/commands/ListImportsCommand.js +2 -2
- package/dist/es/commands/ListStackInstancesCommand.js +1 -1
- package/dist/es/commands/ListStackSetsCommand.js +2 -2
- package/dist/es/commands/RegisterPublisherCommand.js +1 -1
- package/dist/es/commands/RegisterTypeCommand.js +1 -1
- package/dist/es/commands/RollbackStackCommand.js +94 -0
- package/dist/es/commands/RollbackStackCommand.js.map +1 -0
- package/dist/es/commands/SignalResourceCommand.js +3 -2
- package/dist/es/commands/SignalResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateTerminationProtectionCommand.js +1 -1
- package/dist/es/commands/ValidateTemplateCommand.js +3 -4
- package/dist/es/commands/ValidateTemplateCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +21 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +140 -46
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/dist/types/CloudFormation.d.ts +96 -61
- package/dist/types/CloudFormationClient.d.ts +14 -13
- package/dist/types/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
- package/dist/types/commands/CreateChangeSetCommand.d.ts +7 -8
- package/dist/types/commands/CreateStackInstancesCommand.d.ts +1 -3
- package/dist/types/commands/DeleteStackInstancesCommand.d.ts +1 -1
- package/dist/types/commands/DeleteStackSetCommand.d.ts +1 -1
- package/dist/types/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/dist/types/commands/DescribeChangeSetCommand.d.ts +2 -1
- package/dist/types/commands/DescribeStackInstanceCommand.d.ts +1 -1
- package/dist/types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
- package/dist/types/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist/types/commands/EstimateTemplateCostCommand.d.ts +3 -2
- package/dist/types/commands/ExecuteChangeSetCommand.d.ts +3 -3
- package/dist/types/commands/GetTemplateCommand.d.ts +1 -2
- package/dist/types/commands/ListChangeSetsCommand.d.ts +2 -1
- package/dist/types/commands/ListExportsCommand.d.ts +1 -1
- package/dist/types/commands/ListImportsCommand.d.ts +2 -2
- package/dist/types/commands/ListStackInstancesCommand.d.ts +1 -1
- package/dist/types/commands/ListStackSetsCommand.d.ts +2 -2
- package/dist/types/commands/RegisterPublisherCommand.d.ts +1 -1
- package/dist/types/commands/RegisterTypeCommand.d.ts +1 -1
- package/dist/types/commands/RollbackStackCommand.d.ts +64 -0
- package/dist/types/commands/SignalResourceCommand.d.ts +3 -2
- package/dist/types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/dist/types/commands/ValidateTemplateCommand.d.ts +3 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +424 -376
- package/dist/types/protocols/Aws_query.d.ts +3 -0
- package/dist/types/ts3.4/CloudFormation.d.ts +96 -61
- package/dist/types/ts3.4/CloudFormationClient.d.ts +14 -13
- package/dist/types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
- package/dist/types/ts3.4/commands/CreateChangeSetCommand.d.ts +7 -8
- package/dist/types/ts3.4/commands/CreateStackInstancesCommand.d.ts +1 -3
- package/dist/types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DeleteStackSetCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/DescribeChangeSetCommand.d.ts +2 -1
- package/dist/types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
- package/dist/types/ts3.4/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +3 -2
- package/dist/types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/GetTemplateCommand.d.ts +1 -2
- package/dist/types/ts3.4/commands/ListChangeSetsCommand.d.ts +2 -1
- package/dist/types/ts3.4/commands/ListExportsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListImportsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/ListStackInstancesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/RollbackStackCommand.d.ts +64 -0
- package/dist/types/ts3.4/commands/SignalResourceCommand.d.ts +3 -2
- package/dist/types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ValidateTemplateCommand.d.ts +3 -4
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +424 -376
- package/dist/types/ts3.4/protocols/Aws_query.d.ts +3 -0
- package/index.ts +1 -0
- package/models/models_0.ts +435 -375
- package/package.json +32 -32
- package/protocols/Aws_query.ts +151 -46
|
@@ -51,6 +51,7 @@ import { PublishTypeCommandInput, PublishTypeCommandOutput } from "../commands/P
|
|
|
51
51
|
import { RecordHandlerProgressCommandInput, RecordHandlerProgressCommandOutput } from "../commands/RecordHandlerProgressCommand";
|
|
52
52
|
import { RegisterPublisherCommandInput, RegisterPublisherCommandOutput } from "../commands/RegisterPublisherCommand";
|
|
53
53
|
import { RegisterTypeCommandInput, RegisterTypeCommandOutput } from "../commands/RegisterTypeCommand";
|
|
54
|
+
import { RollbackStackCommandInput, RollbackStackCommandOutput } from "../commands/RollbackStackCommand";
|
|
54
55
|
import { SetStackPolicyCommandInput, SetStackPolicyCommandOutput } from "../commands/SetStackPolicyCommand";
|
|
55
56
|
import { SetTypeConfigurationCommandInput, SetTypeConfigurationCommandOutput } from "../commands/SetTypeConfigurationCommand";
|
|
56
57
|
import { SetTypeDefaultVersionCommandInput, SetTypeDefaultVersionCommandOutput } from "../commands/SetTypeDefaultVersionCommand";
|
|
@@ -117,6 +118,7 @@ export declare const serializeAws_queryPublishTypeCommand: (input: PublishTypeCo
|
|
|
117
118
|
export declare const serializeAws_queryRecordHandlerProgressCommand: (input: RecordHandlerProgressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
119
|
export declare const serializeAws_queryRegisterPublisherCommand: (input: RegisterPublisherCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
120
|
export declare const serializeAws_queryRegisterTypeCommand: (input: RegisterTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
121
|
+
export declare const serializeAws_queryRollbackStackCommand: (input: RollbackStackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
120
122
|
export declare const serializeAws_querySetStackPolicyCommand: (input: SetStackPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
121
123
|
export declare const serializeAws_querySetTypeConfigurationCommand: (input: SetTypeConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
122
124
|
export declare const serializeAws_querySetTypeDefaultVersionCommand: (input: SetTypeDefaultVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -181,6 +183,7 @@ export declare const deserializeAws_queryPublishTypeCommand: (output: __HttpResp
|
|
|
181
183
|
export declare const deserializeAws_queryRecordHandlerProgressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RecordHandlerProgressCommandOutput>;
|
|
182
184
|
export declare const deserializeAws_queryRegisterPublisherCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterPublisherCommandOutput>;
|
|
183
185
|
export declare const deserializeAws_queryRegisterTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterTypeCommandOutput>;
|
|
186
|
+
export declare const deserializeAws_queryRollbackStackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RollbackStackCommandOutput>;
|
|
184
187
|
export declare const deserializeAws_querySetStackPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetStackPolicyCommandOutput>;
|
|
185
188
|
export declare const deserializeAws_querySetTypeConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetTypeConfigurationCommandOutput>;
|
|
186
189
|
export declare const deserializeAws_querySetTypeDefaultVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetTypeDefaultVersionCommandOutput>;
|
|
@@ -52,6 +52,7 @@ import { PublishTypeCommandInput, PublishTypeCommandOutput } from "./commands/Pu
|
|
|
52
52
|
import { RecordHandlerProgressCommandInput, RecordHandlerProgressCommandOutput } from "./commands/RecordHandlerProgressCommand";
|
|
53
53
|
import { RegisterPublisherCommandInput, RegisterPublisherCommandOutput } from "./commands/RegisterPublisherCommand";
|
|
54
54
|
import { RegisterTypeCommandInput, RegisterTypeCommandOutput } from "./commands/RegisterTypeCommand";
|
|
55
|
+
import { RollbackStackCommandInput, RollbackStackCommandOutput } from "./commands/RollbackStackCommand";
|
|
55
56
|
import { SetStackPolicyCommandInput, SetStackPolicyCommandOutput } from "./commands/SetStackPolicyCommand";
|
|
56
57
|
import { SetTypeConfigurationCommandInput, SetTypeConfigurationCommandOutput } from "./commands/SetTypeConfigurationCommand";
|
|
57
58
|
import { SetTypeDefaultVersionCommandInput, SetTypeDefaultVersionCommandOutput } from "./commands/SetTypeDefaultVersionCommand";
|
|
@@ -66,20 +67,20 @@ import { ValidateTemplateCommandInput, ValidateTemplateCommandOutput } from "./c
|
|
|
66
67
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
67
68
|
/**
|
|
68
69
|
* <fullname>AWS CloudFormation</fullname>
|
|
69
|
-
* <p>CloudFormation allows you to create and manage Amazon Web Services
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
70
|
+
* <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments
|
|
71
|
+
* predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such
|
|
72
|
+
* as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification
|
|
73
|
+
* Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly
|
|
74
|
+
* scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services
|
|
75
|
+
* infrastructure.</p>
|
|
75
76
|
* <p>With CloudFormation, you declare all of your resources and dependencies in a
|
|
76
77
|
* template file. The template defines a collection of resources as a single unit called a
|
|
77
|
-
* stack. CloudFormation creates and deletes all member resources of the stack
|
|
78
|
-
*
|
|
78
|
+
* stack. CloudFormation creates and deletes all member resources of the stack together
|
|
79
|
+
* and manages all dependencies between the resources for you.</p>
|
|
79
80
|
* <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation Product Page</a>.</p>
|
|
80
|
-
* <p>CloudFormation makes use of other Amazon Web Services products. If you need
|
|
81
|
-
*
|
|
82
|
-
*
|
|
81
|
+
* <p>CloudFormation makes use of other Amazon Web Services products. If you need additional
|
|
82
|
+
* technical information about a specific Amazon Web Services product, you can find the product's technical
|
|
83
|
+
* documentation at <a href="https://docs.aws.amazon.com/">
|
|
83
84
|
* <code>docs.aws.amazon.com</code>
|
|
84
85
|
* </a>.</p>
|
|
85
86
|
*/
|
|
@@ -121,11 +122,12 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
121
122
|
* the cause of the failure, you can manually <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed"> fix the error</a> and continue the rollback. By continuing the rollback, you can
|
|
122
123
|
* return your stack to a working state (the <code>UPDATE_ROLLBACK_COMPLETE</code> state), and
|
|
123
124
|
* then try to update the stack again.</p>
|
|
124
|
-
* <p>A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
125
|
+
* <p>A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when
|
|
126
|
+
* CloudFormation cannot roll back all changes after a failed stack update. For example, you
|
|
127
|
+
* might have a stack that is rolling back to an old database instance that was deleted
|
|
128
|
+
* outside of CloudFormation. Because CloudFormation doesn't know the database was
|
|
129
|
+
* deleted, it assumes that the database instance still exists and attempts to roll back to
|
|
130
|
+
* it, causing the update rollback to fail.</p>
|
|
129
131
|
*/
|
|
130
132
|
continueUpdateRollback(args: ContinueUpdateRollbackCommandInput, options?: __HttpHandlerOptions): Promise<ContinueUpdateRollbackCommandOutput>;
|
|
131
133
|
continueUpdateRollback(args: ContinueUpdateRollbackCommandInput, cb: (err: any, data?: ContinueUpdateRollbackCommandOutput) => void): void;
|
|
@@ -134,12 +136,11 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
134
136
|
* <p>Creates a list of changes that will be applied to a stack so that you can review the
|
|
135
137
|
* changes before executing them. You can create a change set for a stack that doesn't exist
|
|
136
138
|
* or an existing stack. If you create a change set for a stack that doesn't exist, the change
|
|
137
|
-
* set shows all of the resources that CloudFormation will create. If you create a
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* stack.</p>
|
|
139
|
+
* set shows all of the resources that CloudFormation will create. If you create a change
|
|
140
|
+
* set for an existing stack, CloudFormation compares the stack's information with the
|
|
141
|
+
* information that you submit in the change set and lists the differences. Use change sets to
|
|
142
|
+
* understand which resources CloudFormation will create or change, and how it will change
|
|
143
|
+
* resources in an existing stack, before you create or update a stack.</p>
|
|
143
144
|
* <p>To create a change set for a stack that doesn't exist, for the
|
|
144
145
|
* <code>ChangeSetType</code> parameter, specify <code>CREATE</code>. To create a change
|
|
145
146
|
* set for an existing stack, specify <code>UPDATE</code> for the <code>ChangeSetType</code>
|
|
@@ -149,8 +150,8 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
149
150
|
* status of the change set or to review it, use the <a>DescribeChangeSet</a>
|
|
150
151
|
* action.</p>
|
|
151
152
|
* <p>When you are satisfied with the changes the change set will make, execute the change
|
|
152
|
-
* set by using the <a>ExecuteChangeSet</a> action. CloudFormation doesn't
|
|
153
|
-
*
|
|
153
|
+
* set by using the <a>ExecuteChangeSet</a> action. CloudFormation doesn't make
|
|
154
|
+
* changes until you execute the change set.</p>
|
|
154
155
|
* <p>To create a change set for the entire stack hierachy, set
|
|
155
156
|
* <code>IncludeNestedStacks</code> to <code>True</code>.</p>
|
|
156
157
|
*/
|
|
@@ -166,9 +167,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
166
167
|
createStack(args: CreateStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStackCommandOutput) => void): void;
|
|
167
168
|
/**
|
|
168
169
|
* <p>Creates stack instances for the specified accounts, within the specified Regions. A
|
|
169
|
-
* stack instance refers to a stack in a specific account and Region. You must specify at
|
|
170
|
-
* least one value for either <code>Accounts</code> or <code>DeploymentTargets</code>, and you
|
|
171
|
-
* must specify at least one value for <code>Regions</code>.</p>
|
|
170
|
+
* stack instance refers to a stack in a specific account and Region. You must specify at least one value for either <code>Accounts</code> or <code>DeploymentTargets</code>, and you must specify at least one value for <code>Regions</code>.</p>
|
|
172
171
|
*/
|
|
173
172
|
createStackInstances(args: CreateStackInstancesCommandInput, options?: __HttpHandlerOptions): Promise<CreateStackInstancesCommandOutput>;
|
|
174
173
|
createStackInstances(args: CreateStackInstancesCommandInput, cb: (err: any, data?: CreateStackInstancesCommandOutput) => void): void;
|
|
@@ -212,14 +211,14 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
212
211
|
deleteStack(args: DeleteStackCommandInput, cb: (err: any, data?: DeleteStackCommandOutput) => void): void;
|
|
213
212
|
deleteStack(args: DeleteStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStackCommandOutput) => void): void;
|
|
214
213
|
/**
|
|
215
|
-
* <p>Deletes stack instances for the specified accounts, in the specified Regions
|
|
214
|
+
* <p>Deletes stack instances for the specified accounts, in the specified Regions.</p>
|
|
216
215
|
*/
|
|
217
216
|
deleteStackInstances(args: DeleteStackInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStackInstancesCommandOutput>;
|
|
218
217
|
deleteStackInstances(args: DeleteStackInstancesCommandInput, cb: (err: any, data?: DeleteStackInstancesCommandOutput) => void): void;
|
|
219
218
|
deleteStackInstances(args: DeleteStackInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStackInstancesCommandOutput) => void): void;
|
|
220
219
|
/**
|
|
221
220
|
* <p>Deletes a stack set. Before you can delete a stack set, all of its member stack
|
|
222
|
-
* instances must be deleted. For more information about how to do this, see <a>DeleteStackInstances</a
|
|
221
|
+
* instances must be deleted. For more information about how to do this, see <a>DeleteStackInstances</a>.</p>
|
|
223
222
|
*/
|
|
224
223
|
deleteStackSet(args: DeleteStackSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStackSetCommandOutput>;
|
|
225
224
|
deleteStackSet(args: DeleteStackSetCommandInput, cb: (err: any, data?: DeleteStackSetCommandOutput) => void): void;
|
|
@@ -242,14 +241,15 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
242
241
|
/**
|
|
243
242
|
* <p>Retrieves your account's CloudFormation limits, such as the maximum number of
|
|
244
243
|
* stacks that you can create in your account. For more information about account limits, see
|
|
245
|
-
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
|
|
246
|
-
*
|
|
244
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
|
|
245
|
+
* Limits</a> in the <i>CloudFormation User Guide</i>.</p>
|
|
247
246
|
*/
|
|
248
247
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
|
|
249
248
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
|
|
250
249
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
|
|
251
250
|
/**
|
|
252
|
-
* <p>Returns the inputs for the change set and a list of changes that CloudFormation
|
|
251
|
+
* <p>Returns the inputs for the change set and a list of changes that CloudFormation
|
|
252
|
+
* will make if you execute the change set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html">Updating Stacks Using Change Sets</a> in the CloudFormation User
|
|
253
253
|
* Guide.</p>
|
|
254
254
|
*/
|
|
255
255
|
describeChangeSet(args: DescribeChangeSetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeChangeSetCommandOutput>;
|
|
@@ -309,7 +309,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
309
309
|
describeStackEvents(args: DescribeStackEventsCommandInput, cb: (err: any, data?: DescribeStackEventsCommandOutput) => void): void;
|
|
310
310
|
describeStackEvents(args: DescribeStackEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStackEventsCommandOutput) => void): void;
|
|
311
311
|
/**
|
|
312
|
-
* <p>Returns the stack instance that's associated with the specified stack set, account, and Region.</p>
|
|
312
|
+
* <p>Returns the stack instance that's associated with the specified stack set, Amazon Web Services account, and Region.</p>
|
|
313
313
|
* <p>For a list of stack instances that are associated with a specific stack set, use
|
|
314
314
|
* <a>ListStackInstances</a>.</p>
|
|
315
315
|
*/
|
|
@@ -329,10 +329,9 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
329
329
|
* specified stack. This includes actual and expected configuration values for resources where
|
|
330
330
|
* CloudFormation detects configuration drift.</p>
|
|
331
331
|
* <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
|
|
332
|
-
* resource that has been checked for drift. Resources that
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
|
|
332
|
+
* resource that has been checked for drift. Resources that haven't yet been checked for drift
|
|
333
|
+
* are not included. Resources that do not currently support drift detection are not checked,
|
|
334
|
+
* and so not included. For a list of resources that support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
|
|
336
335
|
* <p>Use <a>DetectStackResourceDrift</a> to detect drift on individual
|
|
337
336
|
* resources, or <a>DetectStackDrift</a> to detect drift on all supported resources
|
|
338
337
|
* for a given stack.</p>
|
|
@@ -369,7 +368,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
369
368
|
* <p>Returns the description for the specified stack; if no stack name was specified, then
|
|
370
369
|
* it returns the description for all the stacks created.</p>
|
|
371
370
|
* <note>
|
|
372
|
-
* <p>If the stack does not exist, an <code>
|
|
371
|
+
* <p>If the stack does not exist, an <code>ValidationError</code> is
|
|
373
372
|
* returned.</p>
|
|
374
373
|
* </note>
|
|
375
374
|
*/
|
|
@@ -506,17 +505,18 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
506
505
|
detectStackSetDrift(args: DetectStackSetDriftCommandInput, cb: (err: any, data?: DetectStackSetDriftCommandOutput) => void): void;
|
|
507
506
|
detectStackSetDrift(args: DetectStackSetDriftCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetectStackSetDriftCommandOutput) => void): void;
|
|
508
507
|
/**
|
|
509
|
-
* <p>Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple
|
|
510
|
-
* resources required to run the
|
|
508
|
+
* <p>Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple
|
|
509
|
+
* Monthly Calculator URL with a query string that describes the resources required to run the
|
|
510
|
+
* template.</p>
|
|
511
511
|
*/
|
|
512
512
|
estimateTemplateCost(args: EstimateTemplateCostCommandInput, options?: __HttpHandlerOptions): Promise<EstimateTemplateCostCommandOutput>;
|
|
513
513
|
estimateTemplateCost(args: EstimateTemplateCostCommandInput, cb: (err: any, data?: EstimateTemplateCostCommandOutput) => void): void;
|
|
514
514
|
estimateTemplateCost(args: EstimateTemplateCostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EstimateTemplateCostCommandOutput) => void): void;
|
|
515
515
|
/**
|
|
516
516
|
* <p>Updates a stack using the input information that was provided when the specified
|
|
517
|
-
* change set was created. After the call successfully completes, CloudFormation
|
|
518
|
-
*
|
|
519
|
-
*
|
|
517
|
+
* change set was created. After the call successfully completes, CloudFormation starts
|
|
518
|
+
* updating the stack. Use the <a>DescribeStacks</a> action to view the status of
|
|
519
|
+
* the update.</p>
|
|
520
520
|
* <p>When you execute a change set, CloudFormation deletes all other change sets
|
|
521
521
|
* associated with the stack because they aren't valid for the updated stack.</p>
|
|
522
522
|
* <p>If a stack policy is associated with the stack, CloudFormation enforces the
|
|
@@ -541,8 +541,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
541
541
|
* <p>For deleted stacks, GetTemplate returns the template for up to 90 days after the
|
|
542
542
|
* stack has been deleted.</p>
|
|
543
543
|
* <note>
|
|
544
|
-
* <p>
|
|
545
|
-
* </p>
|
|
544
|
+
* <p>If the template does not exist, a <code>ValidationError</code> is returned.</p>
|
|
546
545
|
* </note>
|
|
547
546
|
*/
|
|
548
547
|
getTemplate(args: GetTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateCommandOutput>;
|
|
@@ -576,7 +575,8 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
576
575
|
importStacksToStackSet(args: ImportStacksToStackSetCommandInput, cb: (err: any, data?: ImportStacksToStackSetCommandOutput) => void): void;
|
|
577
576
|
importStacksToStackSet(args: ImportStacksToStackSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportStacksToStackSetCommandOutput) => void): void;
|
|
578
577
|
/**
|
|
579
|
-
* <p>Returns the ID and status of each active change set for a stack. For example,
|
|
578
|
+
* <p>Returns the ID and status of each active change set for a stack. For example,
|
|
579
|
+
* CloudFormation lists change sets that are in the <code>CREATE_IN_PROGRESS</code> or
|
|
580
580
|
* <code>CREATE_PENDING</code> state.</p>
|
|
581
581
|
*/
|
|
582
582
|
listChangeSets(args: ListChangeSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListChangeSetsCommandOutput>;
|
|
@@ -587,7 +587,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
587
587
|
* action. Use this action to see the exported output values that you can import into other
|
|
588
588
|
* stacks. To import values, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
|
|
589
589
|
* <code>Fn::ImportValue</code>
|
|
590
|
-
* </a> function
|
|
590
|
+
* </a> function.</p>
|
|
591
591
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html">
|
|
592
592
|
* CloudFormation Export Stack Output Values</a>.</p>
|
|
593
593
|
*/
|
|
@@ -597,10 +597,10 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
597
597
|
/**
|
|
598
598
|
* <p>Lists all stacks that are importing an exported output value. To modify or remove an
|
|
599
599
|
* exported output value, first use this action to see which stacks are using it. To see the
|
|
600
|
-
* exported output values in your account, see <a>ListExports</a
|
|
600
|
+
* exported output values in your account, see <a>ListExports</a>.</p>
|
|
601
601
|
* <p>For more information about importing an exported output value, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
|
|
602
602
|
* <code>Fn::ImportValue</code>
|
|
603
|
-
* </a> function
|
|
603
|
+
* </a> function.</p>
|
|
604
604
|
*/
|
|
605
605
|
listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
|
|
606
606
|
listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
@@ -608,7 +608,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
608
608
|
/**
|
|
609
609
|
* <p>Returns summary information about stack instances that are associated with the
|
|
610
610
|
* specified stack set. You can filter for stack instances that are associated with a specific
|
|
611
|
-
*
|
|
611
|
+
* Amazon Web Services account name or Region, or that have a specific status.</p>
|
|
612
612
|
*/
|
|
613
613
|
listStackInstances(args: ListStackInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListStackInstancesCommandOutput>;
|
|
614
614
|
listStackInstances(args: ListStackInstancesCommandInput, cb: (err: any, data?: ListStackInstancesCommandOutput) => void): void;
|
|
@@ -649,8 +649,8 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
649
649
|
* <ul>
|
|
650
650
|
* <li>
|
|
651
651
|
* <p>[Self-managed permissions] If you set the <code>CallAs</code> parameter to
|
|
652
|
-
* <code>SELF</code> while signed in to your account,
|
|
653
|
-
* <code>ListStackSets</code> returns all self-managed stack sets in your account.</p>
|
|
652
|
+
* <code>SELF</code> while signed in to your Amazon Web Services account,
|
|
653
|
+
* <code>ListStackSets</code> returns all self-managed stack sets in your Amazon Web Services account.</p>
|
|
654
654
|
* </li>
|
|
655
655
|
* <li>
|
|
656
656
|
* <p>[Service-managed permissions] If you set the <code>CallAs</code> parameter to
|
|
@@ -708,7 +708,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
708
708
|
/**
|
|
709
709
|
* <p>Registers your account as a publisher of public extensions in the CloudFormation
|
|
710
710
|
* registry. Public extensions are available for use by all CloudFormation users. This
|
|
711
|
-
* publisher ID applies to your account in all Regions.</p>
|
|
711
|
+
* publisher ID applies to your account in all Amazon Web Services Regions.</p>
|
|
712
712
|
* <p>For information on requirements for registering as a public extension publisher, see
|
|
713
713
|
* <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs">Registering your account to publish CloudFormation
|
|
714
714
|
* extensions</a> in the <i>CloudFormation CLI User Guide</i>.</p>
|
|
@@ -719,7 +719,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
719
719
|
registerPublisher(args: RegisterPublisherCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterPublisherCommandOutput) => void): void;
|
|
720
720
|
/**
|
|
721
721
|
* <p>Registers an extension with the CloudFormation service. Registering an
|
|
722
|
-
* extension makes it available for use in CloudFormation templates in your account, and includes:</p>
|
|
722
|
+
* extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes:</p>
|
|
723
723
|
* <ul>
|
|
724
724
|
* <li>
|
|
725
725
|
* <p>Validating the extension schema</p>
|
|
@@ -750,6 +750,41 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
750
750
|
registerType(args: RegisterTypeCommandInput, options?: __HttpHandlerOptions): Promise<RegisterTypeCommandOutput>;
|
|
751
751
|
registerType(args: RegisterTypeCommandInput, cb: (err: any, data?: RegisterTypeCommandOutput) => void): void;
|
|
752
752
|
registerType(args: RegisterTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterTypeCommandOutput) => void): void;
|
|
753
|
+
/**
|
|
754
|
+
* <p>When specifying <code>RollbackStack</code>, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the <a>DescribeStacks</a> API.</p>
|
|
755
|
+
* <p>Rolls back the specified stack to the last known stable state from <code>CREATE_FAILED</code> or <code>UPDATE_FAILED</code> stack statuses.</p>
|
|
756
|
+
* <p>This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a <code>*_COMPLETE</code>. This includes the following stack statuses.</p>
|
|
757
|
+
* <ul>
|
|
758
|
+
* <li>
|
|
759
|
+
* <p>
|
|
760
|
+
* <code>CREATE_COMPLETE</code>
|
|
761
|
+
* </p>
|
|
762
|
+
* </li>
|
|
763
|
+
* <li>
|
|
764
|
+
* <p>
|
|
765
|
+
* <code>UPDATE_COMPLETE</code>
|
|
766
|
+
* </p>
|
|
767
|
+
* </li>
|
|
768
|
+
* <li>
|
|
769
|
+
* <p>
|
|
770
|
+
* <code>UPDATE_ROLLBACK_COMPLETE</code>
|
|
771
|
+
* </p>
|
|
772
|
+
* </li>
|
|
773
|
+
* <li>
|
|
774
|
+
* <p>
|
|
775
|
+
* <code>IMPORT_COMPLETE</code>
|
|
776
|
+
* </p>
|
|
777
|
+
* </li>
|
|
778
|
+
* <li>
|
|
779
|
+
* <p>
|
|
780
|
+
* <code>IMPORT_ROLLBACK_COMPLETE</code>
|
|
781
|
+
* </p>
|
|
782
|
+
* </li>
|
|
783
|
+
* </ul>
|
|
784
|
+
*/
|
|
785
|
+
rollbackStack(args: RollbackStackCommandInput, options?: __HttpHandlerOptions): Promise<RollbackStackCommandOutput>;
|
|
786
|
+
rollbackStack(args: RollbackStackCommandInput, cb: (err: any, data?: RollbackStackCommandOutput) => void): void;
|
|
787
|
+
rollbackStack(args: RollbackStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RollbackStackCommandOutput) => void): void;
|
|
753
788
|
/**
|
|
754
789
|
* <p>Sets a stack policy for a specified stack.</p>
|
|
755
790
|
*/
|
|
@@ -783,8 +818,9 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
783
818
|
setTypeDefaultVersion(args: SetTypeDefaultVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTypeDefaultVersionCommandOutput) => void): void;
|
|
784
819
|
/**
|
|
785
820
|
* <p>Sends a signal to the specified resource with a success or failure status. You can
|
|
786
|
-
* use the SignalResource API in conjunction with a creation policy or update policy.
|
|
787
|
-
*
|
|
821
|
+
* use the SignalResource API in conjunction with a creation policy or update policy.
|
|
822
|
+
* CloudFormation doesn't proceed with a stack creation or update until resources receive the
|
|
823
|
+
* required number of signals or the timeout period is exceeded. The SignalResource API is
|
|
788
824
|
* useful in cases where you want to send signals from anywhere other than an Amazon EC2
|
|
789
825
|
* instance.</p>
|
|
790
826
|
*/
|
|
@@ -871,7 +907,7 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
871
907
|
* a stack with termination protection enabled, the operation fails and the stack remains
|
|
872
908
|
* unchanged. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html">Protecting a
|
|
873
909
|
* Stack From Being Deleted</a> in the <i>CloudFormation User Guide</i>.</p>
|
|
874
|
-
* <p>
|
|
910
|
+
* <p>For <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html">nested
|
|
875
911
|
* stacks</a>, termination protection is set on the root stack and cannot be changed
|
|
876
912
|
* directly on the nested stack.</p>
|
|
877
913
|
*/
|
|
@@ -879,10 +915,9 @@ export declare class CloudFormation extends CloudFormationClient {
|
|
|
879
915
|
updateTerminationProtection(args: UpdateTerminationProtectionCommandInput, cb: (err: any, data?: UpdateTerminationProtectionCommandOutput) => void): void;
|
|
880
916
|
updateTerminationProtection(args: UpdateTerminationProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTerminationProtectionCommandOutput) => void): void;
|
|
881
917
|
/**
|
|
882
|
-
* <p>Validates a specified template. CloudFormation first checks if the template
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
* error.</p>
|
|
918
|
+
* <p>Validates a specified template. CloudFormation first checks if the template is
|
|
919
|
+
* valid JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both
|
|
920
|
+
* these checks fail, CloudFormation returns a template validation error.</p>
|
|
886
921
|
*/
|
|
887
922
|
validateTemplate(args: ValidateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<ValidateTemplateCommandOutput>;
|
|
888
923
|
validateTemplate(args: ValidateTemplateCommandInput, cb: (err: any, data?: ValidateTemplateCommandOutput) => void): void;
|
|
@@ -51,6 +51,7 @@ import { PublishTypeCommandInput, PublishTypeCommandOutput } from "./commands/Pu
|
|
|
51
51
|
import { RecordHandlerProgressCommandInput, RecordHandlerProgressCommandOutput } from "./commands/RecordHandlerProgressCommand";
|
|
52
52
|
import { RegisterPublisherCommandInput, RegisterPublisherCommandOutput } from "./commands/RegisterPublisherCommand";
|
|
53
53
|
import { RegisterTypeCommandInput, RegisterTypeCommandOutput } from "./commands/RegisterTypeCommand";
|
|
54
|
+
import { RollbackStackCommandInput, RollbackStackCommandOutput } from "./commands/RollbackStackCommand";
|
|
54
55
|
import { SetStackPolicyCommandInput, SetStackPolicyCommandOutput } from "./commands/SetStackPolicyCommand";
|
|
55
56
|
import { SetTypeConfigurationCommandInput, SetTypeConfigurationCommandOutput } from "./commands/SetTypeConfigurationCommand";
|
|
56
57
|
import { SetTypeDefaultVersionCommandInput, SetTypeDefaultVersionCommandOutput } from "./commands/SetTypeDefaultVersionCommand";
|
|
@@ -70,8 +71,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
70
71
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
71
72
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
72
73
|
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
73
|
-
export declare type ServiceInputTypes = ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribePublisherCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
|
|
74
|
-
export declare type ServiceOutputTypes = ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribePublisherCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
|
|
74
|
+
export declare type ServiceInputTypes = ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribePublisherCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
|
|
75
|
+
export declare type ServiceOutputTypes = ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribePublisherCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
|
|
75
76
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
76
77
|
/**
|
|
77
78
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -179,20 +180,20 @@ export interface CloudFormationClientResolvedConfig extends CloudFormationClient
|
|
|
179
180
|
}
|
|
180
181
|
/**
|
|
181
182
|
* <fullname>AWS CloudFormation</fullname>
|
|
182
|
-
* <p>CloudFormation allows you to create and manage Amazon Web Services
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
183
|
+
* <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments
|
|
184
|
+
* predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such
|
|
185
|
+
* as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification
|
|
186
|
+
* Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly
|
|
187
|
+
* scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services
|
|
188
|
+
* infrastructure.</p>
|
|
188
189
|
* <p>With CloudFormation, you declare all of your resources and dependencies in a
|
|
189
190
|
* template file. The template defines a collection of resources as a single unit called a
|
|
190
|
-
* stack. CloudFormation creates and deletes all member resources of the stack
|
|
191
|
-
*
|
|
191
|
+
* stack. CloudFormation creates and deletes all member resources of the stack together
|
|
192
|
+
* and manages all dependencies between the resources for you.</p>
|
|
192
193
|
* <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation Product Page</a>.</p>
|
|
193
|
-
* <p>CloudFormation makes use of other Amazon Web Services products. If you need
|
|
194
|
-
*
|
|
195
|
-
*
|
|
194
|
+
* <p>CloudFormation makes use of other Amazon Web Services products. If you need additional
|
|
195
|
+
* technical information about a specific Amazon Web Services product, you can find the product's technical
|
|
196
|
+
* documentation at <a href="https://docs.aws.amazon.com/">
|
|
196
197
|
* <code>docs.aws.amazon.com</code>
|
|
197
198
|
* </a>.</p>
|
|
198
199
|
*/
|
|
@@ -12,11 +12,12 @@ export interface ContinueUpdateRollbackCommandOutput extends ContinueUpdateRollb
|
|
|
12
12
|
* the cause of the failure, you can manually <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed"> fix the error</a> and continue the rollback. By continuing the rollback, you can
|
|
13
13
|
* return your stack to a working state (the <code>UPDATE_ROLLBACK_COMPLETE</code> state), and
|
|
14
14
|
* then try to update the stack again.</p>
|
|
15
|
-
* <p>A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* <p>A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when
|
|
16
|
+
* CloudFormation cannot roll back all changes after a failed stack update. For example, you
|
|
17
|
+
* might have a stack that is rolling back to an old database instance that was deleted
|
|
18
|
+
* outside of CloudFormation. Because CloudFormation doesn't know the database was
|
|
19
|
+
* deleted, it assumes that the database instance still exists and attempts to roll back to
|
|
20
|
+
* it, causing the update rollback to fail.</p>
|
|
20
21
|
* @example
|
|
21
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
23
|
* ```javascript
|
|
@@ -10,12 +10,11 @@ export interface CreateChangeSetCommandOutput extends CreateChangeSetOutput, __M
|
|
|
10
10
|
* <p>Creates a list of changes that will be applied to a stack so that you can review the
|
|
11
11
|
* changes before executing them. You can create a change set for a stack that doesn't exist
|
|
12
12
|
* or an existing stack. If you create a change set for a stack that doesn't exist, the change
|
|
13
|
-
* set shows all of the resources that CloudFormation will create. If you create a
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* stack.</p>
|
|
13
|
+
* set shows all of the resources that CloudFormation will create. If you create a change
|
|
14
|
+
* set for an existing stack, CloudFormation compares the stack's information with the
|
|
15
|
+
* information that you submit in the change set and lists the differences. Use change sets to
|
|
16
|
+
* understand which resources CloudFormation will create or change, and how it will change
|
|
17
|
+
* resources in an existing stack, before you create or update a stack.</p>
|
|
19
18
|
* <p>To create a change set for a stack that doesn't exist, for the
|
|
20
19
|
* <code>ChangeSetType</code> parameter, specify <code>CREATE</code>. To create a change
|
|
21
20
|
* set for an existing stack, specify <code>UPDATE</code> for the <code>ChangeSetType</code>
|
|
@@ -25,8 +24,8 @@ export interface CreateChangeSetCommandOutput extends CreateChangeSetOutput, __M
|
|
|
25
24
|
* status of the change set or to review it, use the <a>DescribeChangeSet</a>
|
|
26
25
|
* action.</p>
|
|
27
26
|
* <p>When you are satisfied with the changes the change set will make, execute the change
|
|
28
|
-
* set by using the <a>ExecuteChangeSet</a> action. CloudFormation doesn't
|
|
29
|
-
*
|
|
27
|
+
* set by using the <a>ExecuteChangeSet</a> action. CloudFormation doesn't make
|
|
28
|
+
* changes until you execute the change set.</p>
|
|
30
29
|
* <p>To create a change set for the entire stack hierachy, set
|
|
31
30
|
* <code>IncludeNestedStacks</code> to <code>True</code>.</p>
|
|
32
31
|
* @example
|
|
@@ -8,9 +8,7 @@ export interface CreateStackInstancesCommandOutput extends CreateStackInstancesO
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates stack instances for the specified accounts, within the specified Regions. A
|
|
11
|
-
* stack instance refers to a stack in a specific account and Region. You must specify at
|
|
12
|
-
* least one value for either <code>Accounts</code> or <code>DeploymentTargets</code>, and you
|
|
13
|
-
* must specify at least one value for <code>Regions</code>.</p>
|
|
11
|
+
* stack instance refers to a stack in a specific account and Region. You must specify at least one value for either <code>Accounts</code> or <code>DeploymentTargets</code>, and you must specify at least one value for <code>Regions</code>.</p>
|
|
14
12
|
* @example
|
|
15
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
14
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DeleteStackInstancesCommandInput extends DeleteStackInstancesIn
|
|
|
7
7
|
export interface DeleteStackInstancesCommandOutput extends DeleteStackInstancesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes stack instances for the specified accounts, in the specified Regions
|
|
10
|
+
* <p>Deletes stack instances for the specified accounts, in the specified Regions.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface DeleteStackSetCommandOutput extends DeleteStackSetOutput, __Met
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a stack set. Before you can delete a stack set, all of its member stack
|
|
11
|
-
* instances must be deleted. For more information about how to do this, see <a>DeleteStackInstances</a
|
|
11
|
+
* instances must be deleted. For more information about how to do this, see <a>DeleteStackInstances</a>.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves your account's CloudFormation limits, such as the maximum number of
|
|
11
11
|
* stacks that you can create in your account. For more information about account limits, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
|
|
13
|
-
*
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation
|
|
13
|
+
* Limits</a> in the <i>CloudFormation User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface DescribeChangeSetCommandInput extends DescribeChangeSetInput {
|
|
|
7
7
|
export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns the inputs for the change set and a list of changes that CloudFormation
|
|
10
|
+
* <p>Returns the inputs for the change set and a list of changes that CloudFormation
|
|
11
|
+
* will make if you execute the change set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html">Updating Stacks Using Change Sets</a> in the CloudFormation User
|
|
11
12
|
* Guide.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface DescribeStackInstanceCommandInput extends DescribeStackInstance
|
|
|
7
7
|
export interface DescribeStackInstanceCommandOutput extends DescribeStackInstanceOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns the stack instance that's associated with the specified stack set, account, and Region.</p>
|
|
10
|
+
* <p>Returns the stack instance that's associated with the specified stack set, Amazon Web Services account, and Region.</p>
|
|
11
11
|
* <p>For a list of stack instances that are associated with a specific stack set, use
|
|
12
12
|
* <a>ListStackInstances</a>.</p>
|
|
13
13
|
* @example
|
|
@@ -11,10 +11,9 @@ export interface DescribeStackResourceDriftsCommandOutput extends DescribeStackR
|
|
|
11
11
|
* specified stack. This includes actual and expected configuration values for resources where
|
|
12
12
|
* CloudFormation detects configuration drift.</p>
|
|
13
13
|
* <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack
|
|
14
|
-
* resource that has been checked for drift. Resources that
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
|
|
14
|
+
* resource that has been checked for drift. Resources that haven't yet been checked for drift
|
|
15
|
+
* are not included. Resources that do not currently support drift detection are not checked,
|
|
16
|
+
* and so not included. For a list of resources that support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
|
|
18
17
|
* <p>Use <a>DetectStackResourceDrift</a> to detect drift on individual
|
|
19
18
|
* resources, or <a>DetectStackDrift</a> to detect drift on all supported resources
|
|
20
19
|
* for a given stack.</p>
|
|
@@ -10,7 +10,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksOutput, __Met
|
|
|
10
10
|
* <p>Returns the description for the specified stack; if no stack name was specified, then
|
|
11
11
|
* it returns the description for all the stacks created.</p>
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>If the stack does not exist, an <code>
|
|
13
|
+
* <p>If the stack does not exist, an <code>ValidationError</code> is
|
|
14
14
|
* returned.</p>
|
|
15
15
|
* </note>
|
|
16
16
|
* @example
|