aws-sdk-cloudformation 1.104.0 → 1.105.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a72ba5389c06b47b5650f814e6377456b0c43bb34c51f718a53c529b7785d07a
4
- data.tar.gz: cb9be22cbef24702c552a6ae7ecc9658d28a13e855a458f2c7f423544083ffe7
3
+ metadata.gz: 171a810c34ddad992397725a909b8b4fe69b98771480b7a9168aa87186eba35f
4
+ data.tar.gz: 3bc256ba68f2275025904d61d6042e34ed6edb4b2feebcdc6f62677c60ee7578
5
5
  SHA512:
6
- metadata.gz: a0784f741b95b4081a9d85e949237b5abb1aabcea0689c0d40bd205c155633ea7edef2a49aaf0b3909498c13df3f318b9742c05e7a3f065e6df0564c0d5dcc5b
7
- data.tar.gz: 1e7ce9a50713fc1471f2d5e87c54a6a722dc4a804c3ff4c10fcc0ad68f50d7c69001889680de571becfeb4e553026c8a14e15cf5d17eb84c27e8a0113ed42e8f
6
+ metadata.gz: 32ed301f9b7abf6d0e16e53264540f0be20edec40ac3d36effd117abe1d831216fc137340467a0de5c59d85b6a872c29234f93fdb113d06cba336c6b7ff6cab6
7
+ data.tar.gz: 10273e0fd930a2f4d337e69de5d839265811768f8cc738d904c11ef8b73fa0aa3a2b16d5c8ace8628040dfcc8cad2f94702a6992d7d8ef3fd0d4e7d699085d22
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.105.0 (2024-04-12)
5
+ ------------------
6
+
7
+ * Feature - Adding support for the new parameter "IncludePropertyValues" in the CloudFormation DescribeChangeSet API. When this parameter is included, the DescribeChangeSet response will include more detailed information such as before and after values for the resource properties that will change.
8
+
4
9
  1.104.0 (2024-04-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.105.0
@@ -2473,6 +2473,10 @@ module Aws::CloudFormation
2473
2473
  # A string (provided by the DescribeChangeSet response output) that
2474
2474
  # identifies the next page of information that you want to retrieve.
2475
2475
  #
2476
+ # @option params [Boolean] :include_property_values
2477
+ # If `true`, the returned changes include detailed changes in the
2478
+ # property values.
2479
+ #
2476
2480
  # @return [Types::DescribeChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2477
2481
  #
2478
2482
  # * {Types::DescribeChangeSetOutput#change_set_name #change_set_name} => String
@@ -2503,6 +2507,7 @@ module Aws::CloudFormation
2503
2507
  # change_set_name: "ChangeSetNameOrId", # required
2504
2508
  # stack_name: "StackNameOrId",
2505
2509
  # next_token: "NextToken",
2510
+ # include_property_values: false,
2506
2511
  # })
2507
2512
  #
2508
2513
  # @example Response structure
@@ -2547,12 +2552,18 @@ module Aws::CloudFormation
2547
2552
  # resp.changes[0].resource_change.details[0].target.attribute #=> String, one of "Properties", "Metadata", "CreationPolicy", "UpdatePolicy", "DeletionPolicy", "UpdateReplacePolicy", "Tags"
2548
2553
  # resp.changes[0].resource_change.details[0].target.name #=> String
2549
2554
  # resp.changes[0].resource_change.details[0].target.requires_recreation #=> String, one of "Never", "Conditionally", "Always"
2555
+ # resp.changes[0].resource_change.details[0].target.path #=> String
2556
+ # resp.changes[0].resource_change.details[0].target.before_value #=> String
2557
+ # resp.changes[0].resource_change.details[0].target.after_value #=> String
2558
+ # resp.changes[0].resource_change.details[0].target.attribute_change_type #=> String, one of "Add", "Remove", "Modify"
2550
2559
  # resp.changes[0].resource_change.details[0].evaluation #=> String, one of "Static", "Dynamic"
2551
2560
  # resp.changes[0].resource_change.details[0].change_source #=> String, one of "ResourceReference", "ParameterReference", "ResourceAttribute", "DirectModification", "Automatic"
2552
2561
  # resp.changes[0].resource_change.details[0].causing_entity #=> String
2553
2562
  # resp.changes[0].resource_change.change_set_id #=> String
2554
2563
  # resp.changes[0].resource_change.module_info.type_hierarchy #=> String
2555
2564
  # resp.changes[0].resource_change.module_info.logical_id_hierarchy #=> String
2565
+ # resp.changes[0].resource_change.before_context #=> String
2566
+ # resp.changes[0].resource_change.after_context #=> String
2556
2567
  # resp.next_token #=> String
2557
2568
  # resp.include_nested_stacks #=> Boolean
2558
2569
  # resp.parent_change_set_id #=> String
@@ -8331,7 +8342,7 @@ module Aws::CloudFormation
8331
8342
  params: params,
8332
8343
  config: config)
8333
8344
  context[:gem_name] = 'aws-sdk-cloudformation'
8334
- context[:gem_version] = '1.104.0'
8345
+ context[:gem_version] = '1.105.0'
8335
8346
  Seahorse::Client::Request.new(handlers, context)
8336
8347
  end
8337
8348
 
@@ -27,10 +27,13 @@ module Aws::CloudFormation
27
27
  ActivateOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'ActivateOrganizationsAccessOutput')
28
28
  ActivateTypeInput = Shapes::StructureShape.new(name: 'ActivateTypeInput')
29
29
  ActivateTypeOutput = Shapes::StructureShape.new(name: 'ActivateTypeOutput')
30
+ AfterContext = Shapes::StringShape.new(name: 'AfterContext')
31
+ AfterValue = Shapes::StringShape.new(name: 'AfterValue')
30
32
  AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
31
33
  AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
32
34
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
33
35
  Arn = Shapes::StringShape.new(name: 'Arn')
36
+ AttributeChangeType = Shapes::StringShape.new(name: 'AttributeChangeType')
34
37
  AutoDeployment = Shapes::StructureShape.new(name: 'AutoDeployment')
35
38
  AutoDeploymentNullable = Shapes::BooleanShape.new(name: 'AutoDeploymentNullable')
36
39
  AutoUpdate = Shapes::BooleanShape.new(name: 'AutoUpdate')
@@ -38,6 +41,8 @@ module Aws::CloudFormation
38
41
  BatchDescribeTypeConfigurationsErrors = Shapes::ListShape.new(name: 'BatchDescribeTypeConfigurationsErrors')
39
42
  BatchDescribeTypeConfigurationsInput = Shapes::StructureShape.new(name: 'BatchDescribeTypeConfigurationsInput')
40
43
  BatchDescribeTypeConfigurationsOutput = Shapes::StructureShape.new(name: 'BatchDescribeTypeConfigurationsOutput')
44
+ BeforeContext = Shapes::StringShape.new(name: 'BeforeContext')
45
+ BeforeValue = Shapes::StringShape.new(name: 'BeforeValue')
41
46
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
42
47
  BoxedMaxResults = Shapes::IntegerShape.new(name: 'BoxedMaxResults')
43
48
  CFNRegistryException = Shapes::StructureShape.new(name: 'CFNRegistryException')
@@ -204,6 +209,7 @@ module Aws::CloudFormation
204
209
  InProgressStackInstancesCount = Shapes::IntegerShape.new(name: 'InProgressStackInstancesCount')
205
210
  InSyncStackInstancesCount = Shapes::IntegerShape.new(name: 'InSyncStackInstancesCount')
206
211
  IncludeNestedStacks = Shapes::BooleanShape.new(name: 'IncludeNestedStacks')
212
+ IncludePropertyValues = Shapes::BooleanShape.new(name: 'IncludePropertyValues')
207
213
  InsufficientCapabilitiesException = Shapes::StructureShape.new(name: 'InsufficientCapabilitiesException')
208
214
  InvalidChangeSetStatusException = Shapes::StructureShape.new(name: 'InvalidChangeSetStatusException')
209
215
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
@@ -365,6 +371,7 @@ module Aws::CloudFormation
365
371
  ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
366
372
  ResourceModel = Shapes::StringShape.new(name: 'ResourceModel')
367
373
  ResourceProperties = Shapes::StringShape.new(name: 'ResourceProperties')
374
+ ResourcePropertyPath = Shapes::StringShape.new(name: 'ResourcePropertyPath')
368
375
  ResourceScanId = Shapes::StringShape.new(name: 'ResourceScanId')
369
376
  ResourceScanInProgressException = Shapes::StructureShape.new(name: 'ResourceScanInProgressException')
370
377
  ResourceScanLimitExceededException = Shapes::StructureShape.new(name: 'ResourceScanLimitExceededException')
@@ -874,6 +881,7 @@ module Aws::CloudFormation
874
881
  DescribeChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName"))
875
882
  DescribeChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName"))
876
883
  DescribeChangeSetInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
884
+ DescribeChangeSetInput.add_member(:include_property_values, Shapes::ShapeRef.new(shape: IncludePropertyValues, location_name: "IncludePropertyValues"))
877
885
  DescribeChangeSetInput.struct_class = Types::DescribeChangeSetInput
878
886
 
879
887
  DescribeChangeSetOutput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName"))
@@ -1511,6 +1519,8 @@ module Aws::CloudFormation
1511
1519
  ResourceChange.add_member(:details, Shapes::ShapeRef.new(shape: ResourceChangeDetails, location_name: "Details"))
1512
1520
  ResourceChange.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId"))
1513
1521
  ResourceChange.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
1522
+ ResourceChange.add_member(:before_context, Shapes::ShapeRef.new(shape: BeforeContext, location_name: "BeforeContext"))
1523
+ ResourceChange.add_member(:after_context, Shapes::ShapeRef.new(shape: AfterContext, location_name: "AfterContext"))
1514
1524
  ResourceChange.struct_class = Types::ResourceChange
1515
1525
 
1516
1526
  ResourceChangeDetail.add_member(:target, Shapes::ShapeRef.new(shape: ResourceTargetDefinition, location_name: "Target"))
@@ -1569,6 +1579,10 @@ module Aws::CloudFormation
1569
1579
  ResourceTargetDefinition.add_member(:attribute, Shapes::ShapeRef.new(shape: ResourceAttribute, location_name: "Attribute"))
1570
1580
  ResourceTargetDefinition.add_member(:name, Shapes::ShapeRef.new(shape: PropertyName, location_name: "Name"))
1571
1581
  ResourceTargetDefinition.add_member(:requires_recreation, Shapes::ShapeRef.new(shape: RequiresRecreation, location_name: "RequiresRecreation"))
1582
+ ResourceTargetDefinition.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePropertyPath, location_name: "Path"))
1583
+ ResourceTargetDefinition.add_member(:before_value, Shapes::ShapeRef.new(shape: BeforeValue, location_name: "BeforeValue"))
1584
+ ResourceTargetDefinition.add_member(:after_value, Shapes::ShapeRef.new(shape: AfterValue, location_name: "AfterValue"))
1585
+ ResourceTargetDefinition.add_member(:attribute_change_type, Shapes::ShapeRef.new(shape: AttributeChangeType, location_name: "AttributeChangeType"))
1572
1586
  ResourceTargetDefinition.struct_class = Types::ResourceTargetDefinition
1573
1587
 
1574
1588
  ResourceToImport.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
@@ -381,8 +381,11 @@ module Aws::CloudFormation
381
381
  # perform if you execute the change set.
382
382
  #
383
383
  # @!attribute [rw] type
384
- # The type of entity that CloudFormation changes. Currently, the only
385
- # entity type is `Resource`.
384
+ # The type of entity that CloudFormation changes.
385
+ #
386
+ # * `Resource` This change is for a resource.
387
+ #
388
+ # ^
386
389
  # @return [String]
387
390
  #
388
391
  # @!attribute [rw] hook_invocation_count
@@ -2379,12 +2382,18 @@ module Aws::CloudFormation
2379
2382
  # identifies the next page of information that you want to retrieve.
2380
2383
  # @return [String]
2381
2384
  #
2385
+ # @!attribute [rw] include_property_values
2386
+ # If `true`, the returned changes include detailed changes in the
2387
+ # property values.
2388
+ # @return [Boolean]
2389
+ #
2382
2390
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput AWS API Documentation
2383
2391
  #
2384
2392
  class DescribeChangeSetInput < Struct.new(
2385
2393
  :change_set_name,
2386
2394
  :stack_name,
2387
- :next_token)
2395
+ :next_token,
2396
+ :include_property_values)
2388
2397
  SENSITIVE = []
2389
2398
  include Aws::Structure
2390
2399
  end
@@ -6648,6 +6657,16 @@ module Aws::CloudFormation
6648
6657
  # stack template.
6649
6658
  # @return [Types::ModuleInfo]
6650
6659
  #
6660
+ # @!attribute [rw] before_context
6661
+ # An encoded JSON string containing the context of the resource before
6662
+ # the change is executed.
6663
+ # @return [String]
6664
+ #
6665
+ # @!attribute [rw] after_context
6666
+ # An encoded JSON string containing the context of the resource after
6667
+ # the change is executed.
6668
+ # @return [String]
6669
+ #
6651
6670
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange AWS API Documentation
6652
6671
  #
6653
6672
  class ResourceChange < Struct.new(
@@ -6660,7 +6679,9 @@ module Aws::CloudFormation
6660
6679
  :scope,
6661
6680
  :details,
6662
6681
  :change_set_id,
6663
- :module_info)
6682
+ :module_info,
6683
+ :before_context,
6684
+ :after_context)
6664
6685
  SENSITIVE = []
6665
6686
  include Aws::Structure
6666
6687
  end
@@ -7008,12 +7029,41 @@ module Aws::CloudFormation
7008
7029
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
7009
7030
  # @return [String]
7010
7031
  #
7032
+ # @!attribute [rw] path
7033
+ # The property path of the property.
7034
+ # @return [String]
7035
+ #
7036
+ # @!attribute [rw] before_value
7037
+ # The value of the property before the change is executed. Large
7038
+ # values can be truncated.
7039
+ # @return [String]
7040
+ #
7041
+ # @!attribute [rw] after_value
7042
+ # The value of the property after the change is executed. Large values
7043
+ # can be truncated.
7044
+ # @return [String]
7045
+ #
7046
+ # @!attribute [rw] attribute_change_type
7047
+ # The type of change to be made to the property if the change is
7048
+ # executed.
7049
+ #
7050
+ # * `Add` The item will be added.
7051
+ #
7052
+ # * `Remove` The item will be removed.
7053
+ #
7054
+ # * `Modify` The item will be modified.
7055
+ # @return [String]
7056
+ #
7011
7057
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition AWS API Documentation
7012
7058
  #
7013
7059
  class ResourceTargetDefinition < Struct.new(
7014
7060
  :attribute,
7015
7061
  :name,
7016
- :requires_recreation)
7062
+ :requires_recreation,
7063
+ :path,
7064
+ :before_value,
7065
+ :after_value,
7066
+ :attribute_change_type)
7017
7067
  SENSITIVE = []
7018
7068
  include Aws::Structure
7019
7069
  end
@@ -57,6 +57,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
57
57
  # @!group service
58
58
  module Aws::CloudFormation
59
59
 
60
- GEM_VERSION = '1.104.0'
60
+ GEM_VERSION = '1.105.0'
61
61
 
62
62
  end
data/sig/client.rbs CHANGED
@@ -478,7 +478,8 @@ module Aws
478
478
  def describe_change_set: (
479
479
  change_set_name: ::String,
480
480
  ?stack_name: ::String,
481
- ?next_token: ::String
481
+ ?next_token: ::String,
482
+ ?include_property_values: bool
482
483
  ) -> _DescribeChangeSetResponseSuccess
483
484
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChangeSetResponseSuccess
484
485
 
@@ -1509,7 +1510,8 @@ module Aws
1509
1510
  def wait_until: (:change_set_create_complete waiter_name,
1510
1511
  change_set_name: ::String,
1511
1512
  ?stack_name: ::String,
1512
- ?next_token: ::String
1513
+ ?next_token: ::String,
1514
+ ?include_property_values: bool
1513
1515
  ) -> Client::_DescribeChangeSetResponseSuccess
1514
1516
  | (:change_set_create_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChangeSetResponseSuccess
1515
1517
  | (:stack_create_complete waiter_name,
data/sig/types.rbs CHANGED
@@ -378,6 +378,7 @@ module Aws::CloudFormation
378
378
  attr_accessor change_set_name: ::String
379
379
  attr_accessor stack_name: ::String
380
380
  attr_accessor next_token: ::String
381
+ attr_accessor include_property_values: bool
381
382
  SENSITIVE: []
382
383
  end
383
384
 
@@ -1205,6 +1206,8 @@ module Aws::CloudFormation
1205
1206
  attr_accessor details: ::Array[Types::ResourceChangeDetail]
1206
1207
  attr_accessor change_set_id: ::String
1207
1208
  attr_accessor module_info: Types::ModuleInfo
1209
+ attr_accessor before_context: ::String
1210
+ attr_accessor after_context: ::String
1208
1211
  SENSITIVE: []
1209
1212
  end
1210
1213
 
@@ -1263,6 +1266,10 @@ module Aws::CloudFormation
1263
1266
  attr_accessor attribute: ("Properties" | "Metadata" | "CreationPolicy" | "UpdatePolicy" | "DeletionPolicy" | "UpdateReplacePolicy" | "Tags")
1264
1267
  attr_accessor name: ::String
1265
1268
  attr_accessor requires_recreation: ("Never" | "Conditionally" | "Always")
1269
+ attr_accessor path: ::String
1270
+ attr_accessor before_value: ::String
1271
+ attr_accessor after_value: ::String
1272
+ attr_accessor attribute_change_type: ("Add" | "Remove" | "Modify")
1266
1273
  SENSITIVE: []
1267
1274
  end
1268
1275
 
data/sig/waiters.rbs CHANGED
@@ -16,7 +16,8 @@ module Aws
16
16
  def wait: (
17
17
  change_set_name: ::String,
18
18
  ?stack_name: ::String,
19
- ?next_token: ::String
19
+ ?next_token: ::String,
20
+ ?include_property_values: bool
20
21
  ) -> Client::_DescribeChangeSetResponseSuccess
21
22
  | (Hash[Symbol, untyped]) -> Client::_DescribeChangeSetResponseSuccess
22
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.104.0
4
+ version: 1.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-03 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core