@aws-sdk/client-cloudformation 3.353.0 → 3.355.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/models/models_0.js +7 -2
- package/dist-cjs/protocols/Aws_query.js +6 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_query.js +6 -0
- package/dist-types/commands/CreateChangeSetCommand.d.ts +1 -0
- package/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +84 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ResourceSignalStatus = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = exports.InvalidStateTransitionException = exports.StackSetOperationResultStatus = exports.OperationResultFilterName = exports.StackInstanceFilterName = exports.StackNotFoundException = exports.TemplateStage = exports.RegistrationStatus = exports.Visibility = exports.TypeTestsStatus = exports.ProvisioningType = exports.DeprecatedStatus = exports.StackSetOperationStatus = exports.StackSetOperationAction = exports.StackSetStatus = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.StackStatus = exports.DifferenceType = exports.StackResourceDriftStatus = exports.StackInstanceNotFoundException = exports.StackInstanceStatus = exports.StackInstanceDetailedStatus = void 0;
|
|
3
|
+
exports.HookStatus = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.PublisherStatus = exports.IdentityProvider = exports.OrganizationStatus = exports.RegistryType = exports.StackSetNotEmptyException = exports.InvalidChangeSetStatusException = exports.NameAlreadyExistsException = exports.PermissionModels = exports.CreatedButModifiedException = exports.StaleRequestException = exports.StackSetNotFoundException = exports.OperationInProgressException = exports.OperationIdAlreadyExistsException = exports.RegionConcurrencyType = exports.OnFailure = exports.LimitExceededException = exports.InsufficientCapabilitiesException = exports.OnStackFailure = exports.ChangeSetType = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetNotFoundException = exports.ChangeSetHooksStatus = exports.HookTargetType = exports.HookInvocationPoint = exports.HookFailureMode = exports.ChangeType = exports.Replacement = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.TokenAlreadyExistsException = exports.CallAs = exports.TypeConfigurationNotFoundException = exports.AlreadyExistsException = exports.TypeNotFoundException = exports.CFNRegistryException = exports.VersionBump = exports.ThirdPartyType = exports.OperationNotFoundException = exports.InvalidOperationException = exports.AccountGateStatus = exports.AccountFilterType = void 0;
|
|
4
|
+
exports.ResourceSignalStatus = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = exports.InvalidStateTransitionException = exports.StackSetOperationResultStatus = exports.OperationResultFilterName = exports.StackInstanceFilterName = exports.StackNotFoundException = exports.TemplateStage = exports.RegistrationStatus = exports.Visibility = exports.TypeTestsStatus = exports.ProvisioningType = exports.DeprecatedStatus = exports.StackSetOperationStatus = exports.StackSetOperationAction = exports.StackSetStatus = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.StackStatus = exports.DifferenceType = exports.StackResourceDriftStatus = exports.StackInstanceNotFoundException = exports.StackInstanceStatus = exports.StackInstanceDetailedStatus = exports.ResourceStatus = void 0;
|
|
5
5
|
const CloudFormationServiceException_1 = require("./CloudFormationServiceException");
|
|
6
6
|
exports.AccountFilterType = {
|
|
7
7
|
DIFFERENCE: "DIFFERENCE",
|
|
@@ -227,6 +227,11 @@ exports.ChangeSetType = {
|
|
|
227
227
|
IMPORT: "IMPORT",
|
|
228
228
|
UPDATE: "UPDATE",
|
|
229
229
|
};
|
|
230
|
+
exports.OnStackFailure = {
|
|
231
|
+
DELETE: "DELETE",
|
|
232
|
+
DO_NOTHING: "DO_NOTHING",
|
|
233
|
+
ROLLBACK: "ROLLBACK",
|
|
234
|
+
};
|
|
230
235
|
class InsufficientCapabilitiesException extends CloudFormationServiceException_1.CloudFormationServiceException {
|
|
231
236
|
constructor(opts) {
|
|
232
237
|
super({
|
|
@@ -3498,6 +3498,9 @@ const se_CreateChangeSetInput = (input, context) => {
|
|
|
3498
3498
|
if (input.IncludeNestedStacks != null) {
|
|
3499
3499
|
entries["IncludeNestedStacks"] = input.IncludeNestedStacks;
|
|
3500
3500
|
}
|
|
3501
|
+
if (input.OnStackFailure != null) {
|
|
3502
|
+
entries["OnStackFailure"] = input.OnStackFailure;
|
|
3503
|
+
}
|
|
3501
3504
|
return entries;
|
|
3502
3505
|
};
|
|
3503
3506
|
const se_CreateStackInput = (input, context) => {
|
|
@@ -5817,6 +5820,9 @@ const de_DescribeChangeSetOutput = (output, context) => {
|
|
|
5817
5820
|
if (output["RootChangeSetId"] !== undefined) {
|
|
5818
5821
|
contents.RootChangeSetId = (0, smithy_client_1.expectString)(output["RootChangeSetId"]);
|
|
5819
5822
|
}
|
|
5823
|
+
if (output["OnStackFailure"] !== undefined) {
|
|
5824
|
+
contents.OnStackFailure = (0, smithy_client_1.expectString)(output["OnStackFailure"]);
|
|
5825
|
+
}
|
|
5820
5826
|
return contents;
|
|
5821
5827
|
};
|
|
5822
5828
|
const de_DescribeOrganizationsAccessOutput = (output, context) => {
|
|
@@ -215,6 +215,11 @@ export const ChangeSetType = {
|
|
|
215
215
|
IMPORT: "IMPORT",
|
|
216
216
|
UPDATE: "UPDATE",
|
|
217
217
|
};
|
|
218
|
+
export const OnStackFailure = {
|
|
219
|
+
DELETE: "DELETE",
|
|
220
|
+
DO_NOTHING: "DO_NOTHING",
|
|
221
|
+
ROLLBACK: "ROLLBACK",
|
|
222
|
+
};
|
|
218
223
|
export class InsufficientCapabilitiesException extends __BaseException {
|
|
219
224
|
constructor(opts) {
|
|
220
225
|
super({
|
|
@@ -3355,6 +3355,9 @@ const se_CreateChangeSetInput = (input, context) => {
|
|
|
3355
3355
|
if (input.IncludeNestedStacks != null) {
|
|
3356
3356
|
entries["IncludeNestedStacks"] = input.IncludeNestedStacks;
|
|
3357
3357
|
}
|
|
3358
|
+
if (input.OnStackFailure != null) {
|
|
3359
|
+
entries["OnStackFailure"] = input.OnStackFailure;
|
|
3360
|
+
}
|
|
3358
3361
|
return entries;
|
|
3359
3362
|
};
|
|
3360
3363
|
const se_CreateStackInput = (input, context) => {
|
|
@@ -5674,6 +5677,9 @@ const de_DescribeChangeSetOutput = (output, context) => {
|
|
|
5674
5677
|
if (output["RootChangeSetId"] !== undefined) {
|
|
5675
5678
|
contents.RootChangeSetId = __expectString(output["RootChangeSetId"]);
|
|
5676
5679
|
}
|
|
5680
|
+
if (output["OnStackFailure"] !== undefined) {
|
|
5681
|
+
contents.OnStackFailure = __expectString(output["OnStackFailure"]);
|
|
5682
|
+
}
|
|
5677
5683
|
return contents;
|
|
5678
5684
|
};
|
|
5679
5685
|
const de_DescribeOrganizationsAccessOutput = (output, context) => {
|
|
@@ -97,6 +97,7 @@ export interface CreateChangeSetCommandOutput extends CreateChangeSetOutput, __M
|
|
|
97
97
|
* },
|
|
98
98
|
* ],
|
|
99
99
|
* IncludeNestedStacks: true || false,
|
|
100
|
+
* OnStackFailure: "DO_NOTHING" || "ROLLBACK" || "DELETE",
|
|
100
101
|
* };
|
|
101
102
|
* const command = new CreateChangeSetCommand(input);
|
|
102
103
|
* const response = await client.send(command);
|
|
@@ -115,6 +115,7 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput,
|
|
|
115
115
|
* // IncludeNestedStacks: true || false,
|
|
116
116
|
* // ParentChangeSetId: "STRING_VALUE",
|
|
117
117
|
* // RootChangeSetId: "STRING_VALUE",
|
|
118
|
+
* // OnStackFailure: "DO_NOTHING" || "ROLLBACK" || "DELETE",
|
|
118
119
|
* // };
|
|
119
120
|
*
|
|
120
121
|
* ```
|
|
@@ -1197,6 +1197,19 @@ export interface ContinueUpdateRollbackInput {
|
|
|
1197
1197
|
*/
|
|
1198
1198
|
export interface ContinueUpdateRollbackOutput {
|
|
1199
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
* @public
|
|
1202
|
+
* @enum
|
|
1203
|
+
*/
|
|
1204
|
+
export declare const OnStackFailure: {
|
|
1205
|
+
readonly DELETE: "DELETE";
|
|
1206
|
+
readonly DO_NOTHING: "DO_NOTHING";
|
|
1207
|
+
readonly ROLLBACK: "ROLLBACK";
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* @public
|
|
1211
|
+
*/
|
|
1212
|
+
export type OnStackFailure = (typeof OnStackFailure)[keyof typeof OnStackFailure];
|
|
1200
1213
|
/**
|
|
1201
1214
|
* @public
|
|
1202
1215
|
* <p>The Parameter data type.</p>
|
|
@@ -1528,6 +1541,35 @@ export interface CreateChangeSetInput {
|
|
|
1528
1541
|
* set to <code>False</code>. To include nested sets in a change set, specify <code>True</code>.</p>
|
|
1529
1542
|
*/
|
|
1530
1543
|
IncludeNestedStacks?: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
* <p>Determines what action will be taken if stack creation fails. If this parameter is specified, the
|
|
1546
|
+
* <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API operation must not
|
|
1547
|
+
* be specified. This must be one of these values:</p>
|
|
1548
|
+
* <ul>
|
|
1549
|
+
* <li>
|
|
1550
|
+
* <p>
|
|
1551
|
+
* <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
|
|
1552
|
+
* <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status
|
|
1553
|
+
* of the stack is <code>DELETE_FAILED</code>.</p>
|
|
1554
|
+
* </li>
|
|
1555
|
+
* <li>
|
|
1556
|
+
* <p>
|
|
1557
|
+
* <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
|
|
1558
|
+
* <code>true</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
|
|
1559
|
+
* operation.</p>
|
|
1560
|
+
* </li>
|
|
1561
|
+
* <li>
|
|
1562
|
+
* <p>
|
|
1563
|
+
* <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
|
|
1564
|
+
* <code>false</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
|
|
1565
|
+
* operation.</p>
|
|
1566
|
+
* </li>
|
|
1567
|
+
* </ul>
|
|
1568
|
+
* <p>For nested stacks, when the <code>OnStackFailure</code> parameter is set to <code>DELETE</code> for the change
|
|
1569
|
+
* set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to
|
|
1570
|
+
* be deleted.</p>
|
|
1571
|
+
*/
|
|
1572
|
+
OnStackFailure?: OnStackFailure | string;
|
|
1531
1573
|
}
|
|
1532
1574
|
/**
|
|
1533
1575
|
* @public
|
|
@@ -2782,6 +2824,32 @@ export interface DescribeChangeSetOutput {
|
|
|
2782
2824
|
* <p>Specifies the change set ID of the root change set in the current nested change set hierarchy.</p>
|
|
2783
2825
|
*/
|
|
2784
2826
|
RootChangeSetId?: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* <p>Determines what action will be taken if stack creation fails. When this parameter is specified, the
|
|
2829
|
+
* <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API operation must not
|
|
2830
|
+
* be specified. This must be one of these values:</p>
|
|
2831
|
+
* <ul>
|
|
2832
|
+
* <li>
|
|
2833
|
+
* <p>
|
|
2834
|
+
* <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
|
|
2835
|
+
* <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status
|
|
2836
|
+
* of the stack is <code>DELETE_FAILED</code>.</p>
|
|
2837
|
+
* </li>
|
|
2838
|
+
* <li>
|
|
2839
|
+
* <p>
|
|
2840
|
+
* <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
|
|
2841
|
+
* <code>true</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
|
|
2842
|
+
* operation.</p>
|
|
2843
|
+
* </li>
|
|
2844
|
+
* <li>
|
|
2845
|
+
* <p>
|
|
2846
|
+
* <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
|
|
2847
|
+
* <code>false</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
|
|
2848
|
+
* operation.</p>
|
|
2849
|
+
* </li>
|
|
2850
|
+
* </ul>
|
|
2851
|
+
*/
|
|
2852
|
+
OnStackFailure?: OnStackFailure | string;
|
|
2785
2853
|
}
|
|
2786
2854
|
/**
|
|
2787
2855
|
* @public
|
|
@@ -5247,7 +5315,22 @@ export interface ExecuteChangeSetInput {
|
|
|
5247
5315
|
*/
|
|
5248
5316
|
ClientRequestToken?: string;
|
|
5249
5317
|
/**
|
|
5250
|
-
* <p>Preserves the state of previously provisioned resources when an operation
|
|
5318
|
+
* <p>Preserves the state of previously provisioned resources when an operation
|
|
5319
|
+
* fails. This parameter can't be specified when
|
|
5320
|
+
* the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation was
|
|
5321
|
+
* specified.</p>
|
|
5322
|
+
* <ul>
|
|
5323
|
+
* <li>
|
|
5324
|
+
* <p>
|
|
5325
|
+
* <code>True</code> - if the stack creation fails, do nothing. This is equivalent to specifying
|
|
5326
|
+
* <code>DO_NOTHING</code> for the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation.</p>
|
|
5327
|
+
* </li>
|
|
5328
|
+
* <li>
|
|
5329
|
+
* <p>
|
|
5330
|
+
* <code>False</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
|
|
5331
|
+
* <code>ROLLBACK</code> for the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation.</p>
|
|
5332
|
+
* </li>
|
|
5333
|
+
* </ul>
|
|
5251
5334
|
* <p>Default: <code>True</code>
|
|
5252
5335
|
* </p>
|
|
5253
5336
|
*/
|
|
@@ -347,6 +347,13 @@ export interface ContinueUpdateRollbackInput {
|
|
|
347
347
|
ClientRequestToken?: string;
|
|
348
348
|
}
|
|
349
349
|
export interface ContinueUpdateRollbackOutput {}
|
|
350
|
+
export declare const OnStackFailure: {
|
|
351
|
+
readonly DELETE: "DELETE";
|
|
352
|
+
readonly DO_NOTHING: "DO_NOTHING";
|
|
353
|
+
readonly ROLLBACK: "ROLLBACK";
|
|
354
|
+
};
|
|
355
|
+
export type OnStackFailure =
|
|
356
|
+
(typeof OnStackFailure)[keyof typeof OnStackFailure];
|
|
350
357
|
export interface Parameter {
|
|
351
358
|
ParameterKey?: string;
|
|
352
359
|
ParameterValue?: string;
|
|
@@ -388,6 +395,7 @@ export interface CreateChangeSetInput {
|
|
|
388
395
|
ChangeSetType?: ChangeSetType | string;
|
|
389
396
|
ResourcesToImport?: ResourceToImport[];
|
|
390
397
|
IncludeNestedStacks?: boolean;
|
|
398
|
+
OnStackFailure?: OnStackFailure | string;
|
|
391
399
|
}
|
|
392
400
|
export interface CreateChangeSetOutput {
|
|
393
401
|
Id?: string;
|
|
@@ -654,6 +662,7 @@ export interface DescribeChangeSetOutput {
|
|
|
654
662
|
IncludeNestedStacks?: boolean;
|
|
655
663
|
ParentChangeSetId?: string;
|
|
656
664
|
RootChangeSetId?: string;
|
|
665
|
+
OnStackFailure?: OnStackFailure | string;
|
|
657
666
|
}
|
|
658
667
|
export interface DescribeChangeSetHooksInput {
|
|
659
668
|
ChangeSetName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.355.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.354.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.354.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.354.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.353.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.347.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.354.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.354.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.352.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.354.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.350.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
43
|
"@aws-sdk/types": "3.347.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.353.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.354.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.352.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.347.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.354.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-waiter": "3.347.0",
|
|
56
56
|
"@smithy/protocol-http": "^1.0.1",
|