@aws-sdk/client-cloudformation 3.379.1 → 3.382.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -3645,6 +3645,9 @@ const se_CreateStackInput = (input, context) => {
3645
3645
  if (input.EnableTerminationProtection != null) {
3646
3646
  entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
3647
3647
  }
3648
+ if (input.RetainExceptOnCreate != null) {
3649
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
3650
+ }
3648
3651
  return entries;
3649
3652
  };
3650
3653
  const se_CreateStackInstancesInput = (input, context) => {
@@ -4222,6 +4225,9 @@ const se_ExecuteChangeSetInput = (input, context) => {
4222
4225
  if (input.DisableRollback != null) {
4223
4226
  entries["DisableRollback"] = input.DisableRollback;
4224
4227
  }
4228
+ if (input.RetainExceptOnCreate != null) {
4229
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
4230
+ }
4225
4231
  return entries;
4226
4232
  };
4227
4233
  const se_GetStackPolicyInput = (input, context) => {
@@ -4880,6 +4886,9 @@ const se_RollbackStackInput = (input, context) => {
4880
4886
  if (input.ClientRequestToken != null) {
4881
4887
  entries["ClientRequestToken"] = input.ClientRequestToken;
4882
4888
  }
4889
+ if (input.RetainExceptOnCreate != null) {
4890
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
4891
+ }
4883
4892
  return entries;
4884
4893
  };
4885
4894
  const se_RollbackTrigger = (input, context) => {
@@ -5264,6 +5273,9 @@ const se_UpdateStackInput = (input, context) => {
5264
5273
  if (input.ClientRequestToken != null) {
5265
5274
  entries["ClientRequestToken"] = input.ClientRequestToken;
5266
5275
  }
5276
+ if (input.RetainExceptOnCreate != null) {
5277
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
5278
+ }
5267
5279
  return entries;
5268
5280
  };
5269
5281
  const se_UpdateStackInstancesInput = (input, context) => {
@@ -7020,6 +7032,9 @@ const de_Stack = (output, context) => {
7020
7032
  if (output["DriftInformation"] !== undefined) {
7021
7033
  contents.DriftInformation = de_StackDriftInformation(output["DriftInformation"], context);
7022
7034
  }
7035
+ if (output["RetainExceptOnCreate"] !== undefined) {
7036
+ contents.RetainExceptOnCreate = (0, smithy_client_1.parseBoolean)(output["RetainExceptOnCreate"]);
7037
+ }
7023
7038
  return contents;
7024
7039
  };
7025
7040
  const de_StackDriftInformation = (output, context) => {
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -3500,6 +3500,9 @@ const se_CreateStackInput = (input, context) => {
3500
3500
  if (input.EnableTerminationProtection != null) {
3501
3501
  entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
3502
3502
  }
3503
+ if (input.RetainExceptOnCreate != null) {
3504
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
3505
+ }
3503
3506
  return entries;
3504
3507
  };
3505
3508
  const se_CreateStackInstancesInput = (input, context) => {
@@ -4077,6 +4080,9 @@ const se_ExecuteChangeSetInput = (input, context) => {
4077
4080
  if (input.DisableRollback != null) {
4078
4081
  entries["DisableRollback"] = input.DisableRollback;
4079
4082
  }
4083
+ if (input.RetainExceptOnCreate != null) {
4084
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
4085
+ }
4080
4086
  return entries;
4081
4087
  };
4082
4088
  const se_GetStackPolicyInput = (input, context) => {
@@ -4735,6 +4741,9 @@ const se_RollbackStackInput = (input, context) => {
4735
4741
  if (input.ClientRequestToken != null) {
4736
4742
  entries["ClientRequestToken"] = input.ClientRequestToken;
4737
4743
  }
4744
+ if (input.RetainExceptOnCreate != null) {
4745
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
4746
+ }
4738
4747
  return entries;
4739
4748
  };
4740
4749
  const se_RollbackTrigger = (input, context) => {
@@ -5119,6 +5128,9 @@ const se_UpdateStackInput = (input, context) => {
5119
5128
  if (input.ClientRequestToken != null) {
5120
5129
  entries["ClientRequestToken"] = input.ClientRequestToken;
5121
5130
  }
5131
+ if (input.RetainExceptOnCreate != null) {
5132
+ entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
5133
+ }
5122
5134
  return entries;
5123
5135
  };
5124
5136
  const se_UpdateStackInstancesInput = (input, context) => {
@@ -6875,6 +6887,9 @@ const de_Stack = (output, context) => {
6875
6887
  if (output["DriftInformation"] !== undefined) {
6876
6888
  contents.DriftInformation = de_StackDriftInformation(output["DriftInformation"], context);
6877
6889
  }
6890
+ if (output["RetainExceptOnCreate"] !== undefined) {
6891
+ contents.RetainExceptOnCreate = __parseBoolean(output["RetainExceptOnCreate"]);
6892
+ }
6878
6893
  return contents;
6879
6894
  };
6880
6895
  const de_StackDriftInformation = (output, context) => {
@@ -75,6 +75,7 @@ export interface CreateStackCommandOutput extends CreateStackOutput, __MetadataB
75
75
  * ],
76
76
  * ClientRequestToken: "STRING_VALUE",
77
77
  * EnableTerminationProtection: true || false,
78
+ * RetainExceptOnCreate: true || false,
78
79
  * };
79
80
  * const command = new CreateStackCommand(input);
80
81
  * const response = await client.send(command);
@@ -99,6 +99,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksOutput, __Met
99
99
  * // StackDriftStatus: "DRIFTED" || "IN_SYNC" || "UNKNOWN" || "NOT_CHECKED", // required
100
100
  * // LastCheckTimestamp: new Date("TIMESTAMP"),
101
101
  * // },
102
+ * // RetainExceptOnCreate: true || false,
102
103
  * // },
103
104
  * // ],
104
105
  * // NextToken: "STRING_VALUE",
@@ -42,6 +42,7 @@ export interface ExecuteChangeSetCommandOutput extends ExecuteChangeSetOutput, _
42
42
  * StackName: "STRING_VALUE",
43
43
  * ClientRequestToken: "STRING_VALUE",
44
44
  * DisableRollback: true || false,
45
+ * RetainExceptOnCreate: true || false,
45
46
  * };
46
47
  * const command = new ExecuteChangeSetCommand(input);
47
48
  * const response = await client.send(command);
@@ -66,6 +66,7 @@ export interface RollbackStackCommandOutput extends RollbackStackOutput, __Metad
66
66
  * StackName: "STRING_VALUE", // required
67
67
  * RoleARN: "STRING_VALUE",
68
68
  * ClientRequestToken: "STRING_VALUE",
69
+ * RetainExceptOnCreate: true || false,
69
70
  * };
70
71
  * const command = new RollbackStackCommand(input);
71
72
  * const response = await client.send(command);
@@ -79,6 +79,7 @@ export interface UpdateStackCommandOutput extends UpdateStackOutput, __MetadataB
79
79
  * ],
80
80
  * DisableRollback: true || false,
81
81
  * ClientRequestToken: "STRING_VALUE",
82
+ * RetainExceptOnCreate: true || false,
82
83
  * };
83
84
  * const command = new UpdateStackCommand(input);
84
85
  * const response = await client.send(command);