diff --git a/clients/client-cloudformation/src/commands/DescribeChangeSetCommand.ts b/clients/client-cloudformation/src/commands/DescribeChangeSetCommand.ts index 8067162e54df..5cb37c9b03fd 100644 --- a/clients/client-cloudformation/src/commands/DescribeChangeSetCommand.ts +++ b/clients/client-cloudformation/src/commands/DescribeChangeSetCommand.ts @@ -40,6 +40,7 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput, * ChangeSetName: "STRING_VALUE", // required * StackName: "STRING_VALUE", * NextToken: "STRING_VALUE", + * IncludePropertyValues: true || false, * }; * const command = new DescribeChangeSetCommand(input); * const response = await client.send(command); @@ -102,6 +103,10 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput, * // Attribute: "Properties" || "Metadata" || "CreationPolicy" || "UpdatePolicy" || "DeletionPolicy" || "UpdateReplacePolicy" || "Tags", * // Name: "STRING_VALUE", * // RequiresRecreation: "Never" || "Conditionally" || "Always", + * // Path: "STRING_VALUE", + * // BeforeValue: "STRING_VALUE", + * // AfterValue: "STRING_VALUE", + * // AttributeChangeType: "Add" || "Remove" || "Modify", * // }, * // Evaluation: "Static" || "Dynamic", * // ChangeSource: "ResourceReference" || "ParameterReference" || "ResourceAttribute" || "DirectModification" || "Automatic", @@ -113,6 +118,8 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput, * // TypeHierarchy: "STRING_VALUE", * // LogicalIdHierarchy: "STRING_VALUE", * // }, + * // BeforeContext: "STRING_VALUE", + * // AfterContext: "STRING_VALUE", * // }, * // }, * // ], diff --git a/clients/client-cloudformation/src/commands/SetTypeConfigurationCommand.ts b/clients/client-cloudformation/src/commands/SetTypeConfigurationCommand.ts index dff6a487e2a2..1baae3cf0231 100644 --- a/clients/client-cloudformation/src/commands/SetTypeConfigurationCommand.ts +++ b/clients/client-cloudformation/src/commands/SetTypeConfigurationCommand.ts @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { SetTypeConfigurationInput, SetTypeConfigurationOutput } from "../models/models_0"; +import { SetTypeConfigurationInput } from "../models/models_0"; +import { SetTypeConfigurationOutput } from "../models/models_1"; import { de_SetTypeConfigurationCommand, se_SetTypeConfigurationCommand } from "../protocols/Aws_query"; /** diff --git a/clients/client-cloudformation/src/models/models_0.ts b/clients/client-cloudformation/src/models/models_0.ts index 82cdc2561191..9149d30ac571 100644 --- a/clients/client-cloudformation/src/models/models_0.ts +++ b/clients/client-cloudformation/src/models/models_0.ts @@ -409,6 +409,21 @@ export class AlreadyExistsException extends __BaseException { } } +/** + * @public + * @enum + */ +export const AttributeChangeType = { + Add: "Add", + Modify: "Modify", + Remove: "Remove", +} as const; + +/** + * @public + */ +export type AttributeChangeType = (typeof AttributeChangeType)[keyof typeof AttributeChangeType]; + /** *
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations * accounts that are added to a target organization or organizational unit (OU).
@@ -820,6 +835,44 @@ export interface ResourceTargetDefinition { * @public */ RequiresRecreation?: RequiresRecreation; + + /** + *The property path of the property.
+ * @public + */ + Path?: string; + + /** + *The value of the property before the change is executed. Large values can be truncated.
+ * @public + */ + BeforeValue?: string; + + /** + *The value of the property after the change is executed. Large values can be truncated.
+ * @public + */ + AfterValue?: string; + + /** + *The type of change to be made to the property if the change is executed.
+ *
+ * Add
The item will be added.
+ * Remove
The item will be removed.
+ * Modify
The item will be modified.
An encoded JSON string containing the context of the resource before the change is executed.
+ * @public + */ + BeforeContext?: string; + + /** + *An encoded JSON string containing the context of the resource after the change is executed.
+ * @public + */ + AfterContext?: string; } /** @@ -1091,7 +1156,13 @@ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType]; */ export interface Change { /** - *The type of entity that CloudFormation changes. Currently, the only entity type is Resource
.
The type of entity that CloudFormation changes.
+ *
+ * Resource
This change is for a resource.
If true
, the returned changes include detailed changes in the property values.
The Amazon Resource Name (ARN) for the configuration data, in this account and Region.
- *Conditional: You must specify ConfigurationArn
, or Type
and
- * TypeName
.
The Amazon Resource Name (ARN) for the configuration data, in this account and Region.
+ *Conditional: You must specify ConfigurationArn
, or Type
and
+ * TypeName
.
The type of entity that CloudFormation changes. Currently, the only entity type is Resource
.
The type of entity that CloudFormation changes.
\n\n Resource
This change is for a resource.
A string (provided by the DescribeChangeSet response output) that identifies the next page of\n information that you want to retrieve.
" } + }, + "IncludePropertyValues": { + "target": "com.amazonaws.cloudformation#IncludePropertyValues", + "traits": { + "smithy.api#documentation": "If true
, the returned changes include detailed changes in the property values.
Contains information about the module from which the resource was created, if the resource was created from a\n module included in the stack template.
" } + }, + "BeforeContext": { + "target": "com.amazonaws.cloudformation#BeforeContext", + "traits": { + "smithy.api#documentation": "An encoded JSON string containing the context of the resource before the change is executed.
" + } + }, + "AfterContext": { + "target": "com.amazonaws.cloudformation#AfterContext", + "traits": { + "smithy.api#documentation": "An encoded JSON string containing the context of the resource after the change is executed.
" + } } }, "traits": { @@ -10355,6 +10411,9 @@ "com.amazonaws.cloudformation#ResourceProperties": { "type": "string" }, + "com.amazonaws.cloudformation#ResourcePropertyPath": { + "type": "string" + }, "com.amazonaws.cloudformation#ResourceScanId": { "type": "string" }, @@ -10680,6 +10739,30 @@ "traits": { "smithy.api#documentation": "If the Attribute
value is Properties
, indicates whether a change to this property\n causes the resource to be recreated. The value can be Never
, Always
, or\n Conditionally
. To determine the conditions for a Conditionally
recreation, see the update\n behavior for that property in the\n CloudFormation User Guide.
The property path of the property.
" + } + }, + "BeforeValue": { + "target": "com.amazonaws.cloudformation#BeforeValue", + "traits": { + "smithy.api#documentation": "The value of the property before the change is executed. Large values can be truncated.
" + } + }, + "AfterValue": { + "target": "com.amazonaws.cloudformation#AfterValue", + "traits": { + "smithy.api#documentation": "The value of the property after the change is executed. Large values can be truncated.
" + } + }, + "AttributeChangeType": { + "target": "com.amazonaws.cloudformation#AttributeChangeType", + "traits": { + "smithy.api#documentation": "The type of change to be made to the property if the change is executed.
\n\n Add
The item will be added.
\n Remove
The item will be removed.
\n Modify
The item will be modified.