aws-sdk-cloudformation 1.41.0 → 1.46.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: 5567c7545584e95524b19713434c6dcb3da5e52a665b7346b9002a65ada199e4
4
- data.tar.gz: 56e28211fdfe5b0c8c5d15e438cf887a81c23367e2787190404b733f348818fc
3
+ metadata.gz: 15c916e3c7de4fd18aa11937b2c814ef4617b44e3a1573a9dc421375d43432e0
4
+ data.tar.gz: 85d9ad2d96b296e25126fdd2dd1934f0e8f5d6aa4e4f98bc2f8b94515f242b51
5
5
  SHA512:
6
- metadata.gz: c428424f2fa75f6da46918007dcdbbe1f91b050edbb014ef312e2145228bfd1f678bce754ff867b6b1bb131e08893bb8c7bf7b96d8fcc9da16088f832df6c1e3
7
- data.tar.gz: 024a05c1718444adda684aeb032c05a0612e6e5e10d8bff7f03892f8f4cbf76740c8ee4e182a24e6ca5934884bb4b63aacf7f56fad0c0d543cce242f56451c78
6
+ metadata.gz: cc0432d94e09c25e9a5b0b81f7642f43a8cfa3afb9eb92025ab90412cc842f7b778849fda0244a3219e02ee1e6d1a7a48ab214bfad7d2215bee3e9de8f0ca517
7
+ data.tar.gz: 620d4c358c2542fd872214a478f2116b2a6af72efaddcde15f441ea6ea254a98447608517f877bec489751dd89de12ddcc566571d1311a83b2336c3caebdc26e
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -49,9 +50,9 @@ require_relative 'aws-sdk-cloudformation/customizations'
49
50
  #
50
51
  # See {Errors} for more information.
51
52
  #
52
- # @service
53
+ # @!group service
53
54
  module Aws::CloudFormation
54
55
 
55
- GEM_VERSION = '1.41.0'
56
+ GEM_VERSION = '1.46.0'
56
57
 
57
58
  end
@@ -85,13 +85,28 @@ module Aws::CloudFormation
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::CloudFormation
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -490,6 +505,9 @@ module Aws::CloudFormation
490
505
  # execute the change set by using the ExecuteChangeSet action. AWS
491
506
  # CloudFormation doesn't make changes until you execute the change set.
492
507
  #
508
+ # To create a change set for the entire stack hierachy, set
509
+ # `IncludeNestedStacks` to `True`.
510
+ #
493
511
  # @option params [required, String] :stack_name
494
512
  # The name or the unique ID of the stack for which you are creating a
495
513
  # change set. AWS CloudFormation generates the change set by comparing
@@ -583,11 +601,10 @@ module Aws::CloudFormation
583
601
  # <note markdown="1"> This capacity does not apply to creating change sets, and specifying
584
602
  # it when creating change sets has no effect.
585
603
  #
586
- # Also, change sets do not currently support nested stacks. If you
587
- # want to create a stack from a stack template that contains macros
588
- # *and* nested stacks, you must create or update the stack directly
589
- # from the template using the CreateStack or UpdateStack action, and
590
- # specifying this capability.
604
+ # If you want to create a stack from a stack template that contains
605
+ # macros *and* nested stacks, you must create or update the stack
606
+ # directly from the template using the CreateStack or UpdateStack
607
+ # action, and specifying this capability.
591
608
  #
592
609
  # </note>
593
610
  #
@@ -695,6 +712,11 @@ module Aws::CloudFormation
695
712
  # @option params [Array<Types::ResourceToImport>] :resources_to_import
696
713
  # The resources to import into your stack.
697
714
  #
715
+ # @option params [Boolean] :include_nested_stacks
716
+ # Creates a change set for the all nested stacks specified in the
717
+ # template. The default behavior of this action is set to `False`. To
718
+ # include nested sets in a change set, specify `True`.
719
+ #
698
720
  # @return [Types::CreateChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
699
721
  #
700
722
  # * {Types::CreateChangeSetOutput#id #id} => String
@@ -747,6 +769,7 @@ module Aws::CloudFormation
747
769
  # },
748
770
  # },
749
771
  # ],
772
+ # include_nested_stacks: false,
750
773
  # })
751
774
  #
752
775
  # @example Response structure
@@ -892,10 +915,9 @@ module Aws::CloudFormation
892
915
  # [AWS::Serverless][10] transforms, which are macros hosted by AWS
893
916
  # CloudFormation.
894
917
  #
895
- # Change sets do not currently support nested stacks. If you want to
896
- # create a stack from a stack template that contains macros *and*
897
- # nested stacks, you must create the stack directly from the template
898
- # using this capability.
918
+ # If you want to create a stack from a stack template that contains
919
+ # macros *and* nested stacks, you must create the stack directly from
920
+ # the template using this capability.
899
921
  #
900
922
  # You should only create stacks directly from a stack template that
901
923
  # contains macros if you know what processing the macro performs.
@@ -1461,6 +1483,11 @@ module Aws::CloudFormation
1461
1483
  # If the call successfully completes, AWS CloudFormation successfully
1462
1484
  # deleted the change set.
1463
1485
  #
1486
+ # If `IncludeNestedStacks` specifies `True` during the creation of the
1487
+ # nested change set, then `DeleteChangeSet` will delete all change sets
1488
+ # that belong to the stacks hierarchy and will also delete all change
1489
+ # sets for nested stacks with the status of `REVIEW_IN_PROGRESS`.
1490
+ #
1464
1491
  # @option params [required, String] :change_set_name
1465
1492
  # The name or Amazon Resource Name (ARN) of the change set that you want
1466
1493
  # to delete.
@@ -1714,7 +1741,7 @@ module Aws::CloudFormation
1714
1741
  #
1715
1742
  # resp = client.deregister_type({
1716
1743
  # arn: "PrivateTypeArn",
1717
- # type: "RESOURCE", # accepts RESOURCE
1744
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
1718
1745
  # type_name: "TypeName",
1719
1746
  # version_id: "TypeVersionId",
1720
1747
  # })
@@ -1809,6 +1836,9 @@ module Aws::CloudFormation
1809
1836
  # * {Types::DescribeChangeSetOutput#tags #tags} => Array&lt;Types::Tag&gt;
1810
1837
  # * {Types::DescribeChangeSetOutput#changes #changes} => Array&lt;Types::Change&gt;
1811
1838
  # * {Types::DescribeChangeSetOutput#next_token #next_token} => String
1839
+ # * {Types::DescribeChangeSetOutput#include_nested_stacks #include_nested_stacks} => Boolean
1840
+ # * {Types::DescribeChangeSetOutput#parent_change_set_id #parent_change_set_id} => String
1841
+ # * {Types::DescribeChangeSetOutput#root_change_set_id #root_change_set_id} => String
1812
1842
  #
1813
1843
  # @example Request syntax with placeholder values
1814
1844
  #
@@ -1832,7 +1862,7 @@ module Aws::CloudFormation
1832
1862
  # resp.parameters[0].resolved_value #=> String
1833
1863
  # resp.creation_time #=> Time
1834
1864
  # resp.execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "OBSOLETE"
1835
- # resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_COMPLETE", "FAILED"
1865
+ # resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "FAILED"
1836
1866
  # resp.status_reason #=> String
1837
1867
  # resp.notification_arns #=> Array
1838
1868
  # resp.notification_arns[0] #=> String
@@ -1847,7 +1877,7 @@ module Aws::CloudFormation
1847
1877
  # resp.tags[0].value #=> String
1848
1878
  # resp.changes #=> Array
1849
1879
  # resp.changes[0].type #=> String, one of "Resource"
1850
- # resp.changes[0].resource_change.action #=> String, one of "Add", "Modify", "Remove", "Import"
1880
+ # resp.changes[0].resource_change.action #=> String, one of "Add", "Modify", "Remove", "Import", "Dynamic"
1851
1881
  # resp.changes[0].resource_change.logical_resource_id #=> String
1852
1882
  # resp.changes[0].resource_change.physical_resource_id #=> String
1853
1883
  # resp.changes[0].resource_change.resource_type #=> String
@@ -1861,7 +1891,13 @@ module Aws::CloudFormation
1861
1891
  # resp.changes[0].resource_change.details[0].evaluation #=> String, one of "Static", "Dynamic"
1862
1892
  # resp.changes[0].resource_change.details[0].change_source #=> String, one of "ResourceReference", "ParameterReference", "ResourceAttribute", "DirectModification", "Automatic"
1863
1893
  # resp.changes[0].resource_change.details[0].causing_entity #=> String
1894
+ # resp.changes[0].resource_change.change_set_id #=> String
1895
+ # resp.changes[0].resource_change.module_info.type_hierarchy #=> String
1896
+ # resp.changes[0].resource_change.module_info.logical_id_hierarchy #=> String
1864
1897
  # resp.next_token #=> String
1898
+ # resp.include_nested_stacks #=> Boolean
1899
+ # resp.parent_change_set_id #=> String
1900
+ # resp.root_change_set_id #=> String
1865
1901
  #
1866
1902
  #
1867
1903
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2109,6 +2145,8 @@ module Aws::CloudFormation
2109
2145
  # resp.stack_resource_detail.metadata #=> String
2110
2146
  # resp.stack_resource_detail.drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
2111
2147
  # resp.stack_resource_detail.drift_information.last_check_timestamp #=> Time
2148
+ # resp.stack_resource_detail.module_info.type_hierarchy #=> String
2149
+ # resp.stack_resource_detail.module_info.logical_id_hierarchy #=> String
2112
2150
  #
2113
2151
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource AWS API Documentation
2114
2152
  #
@@ -2203,6 +2241,8 @@ module Aws::CloudFormation
2203
2241
  # resp.stack_resource_drifts[0].property_differences[0].difference_type #=> String, one of "ADD", "REMOVE", "NOT_EQUAL"
2204
2242
  # resp.stack_resource_drifts[0].stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
2205
2243
  # resp.stack_resource_drifts[0].timestamp #=> Time
2244
+ # resp.stack_resource_drifts[0].module_info.type_hierarchy #=> String
2245
+ # resp.stack_resource_drifts[0].module_info.logical_id_hierarchy #=> String
2206
2246
  # resp.next_token #=> String
2207
2247
  #
2208
2248
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceDrifts AWS API Documentation
@@ -2302,6 +2342,8 @@ module Aws::CloudFormation
2302
2342
  # resp.stack_resources[0].description #=> String
2303
2343
  # resp.stack_resources[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
2304
2344
  # resp.stack_resources[0].drift_information.last_check_timestamp #=> Time
2345
+ # resp.stack_resources[0].module_info.type_hierarchy #=> String
2346
+ # resp.stack_resources[0].module_info.logical_id_hierarchy #=> String
2305
2347
  #
2306
2348
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources AWS API Documentation
2307
2349
  #
@@ -2582,7 +2624,7 @@ module Aws::CloudFormation
2582
2624
  # @example Request syntax with placeholder values
2583
2625
  #
2584
2626
  # resp = client.describe_type({
2585
- # type: "RESOURCE", # accepts RESOURCE
2627
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
2586
2628
  # type_name: "TypeName",
2587
2629
  # arn: "TypeArn",
2588
2630
  # version_id: "TypeVersionId",
@@ -2591,7 +2633,7 @@ module Aws::CloudFormation
2591
2633
  # @example Response structure
2592
2634
  #
2593
2635
  # resp.arn #=> String
2594
- # resp.type #=> String, one of "RESOURCE"
2636
+ # resp.type #=> String, one of "RESOURCE", "MODULE"
2595
2637
  # resp.type_name #=> String
2596
2638
  # resp.default_version_id #=> String
2597
2639
  # resp.is_default_version #=> Boolean
@@ -2791,6 +2833,8 @@ module Aws::CloudFormation
2791
2833
  # resp.stack_resource_drift.property_differences[0].difference_type #=> String, one of "ADD", "REMOVE", "NOT_EQUAL"
2792
2834
  # resp.stack_resource_drift.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
2793
2835
  # resp.stack_resource_drift.timestamp #=> Time
2836
+ # resp.stack_resource_drift.module_info.type_hierarchy #=> String
2837
+ # resp.stack_resource_drift.module_info.logical_id_hierarchy #=> String
2794
2838
  #
2795
2839
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackResourceDrift AWS API Documentation
2796
2840
  #
@@ -2971,6 +3015,9 @@ module Aws::CloudFormation
2971
3015
  # enforces the policy during the update. You can't specify a temporary
2972
3016
  # stack policy that overrides the current policy.
2973
3017
  #
3018
+ # To create a change set for the entire stack hierachy,
3019
+ # `IncludeNestedStacks` must have been set to `True`.
3020
+ #
2974
3021
  # @option params [required, String] :change_set_name
2975
3022
  # The name or ARN of the change set that you want use to update the
2976
3023
  # specified stack.
@@ -3245,10 +3292,13 @@ module Aws::CloudFormation
3245
3292
  # resp.summaries[0].change_set_id #=> String
3246
3293
  # resp.summaries[0].change_set_name #=> String
3247
3294
  # resp.summaries[0].execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "OBSOLETE"
3248
- # resp.summaries[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_COMPLETE", "FAILED"
3295
+ # resp.summaries[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "FAILED"
3249
3296
  # resp.summaries[0].status_reason #=> String
3250
3297
  # resp.summaries[0].creation_time #=> Time
3251
3298
  # resp.summaries[0].description #=> String
3299
+ # resp.summaries[0].include_nested_stacks #=> Boolean
3300
+ # resp.summaries[0].parent_change_set_id #=> String
3301
+ # resp.summaries[0].root_change_set_id #=> String
3252
3302
  # resp.next_token #=> String
3253
3303
  #
3254
3304
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets AWS API Documentation
@@ -3481,6 +3531,8 @@ module Aws::CloudFormation
3481
3531
  # resp.stack_resource_summaries[0].resource_status_reason #=> String
3482
3532
  # resp.stack_resource_summaries[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
3483
3533
  # resp.stack_resource_summaries[0].drift_information.last_check_timestamp #=> Time
3534
+ # resp.stack_resource_summaries[0].module_info.type_hierarchy #=> String
3535
+ # resp.stack_resource_summaries[0].module_info.logical_id_hierarchy #=> String
3484
3536
  # resp.next_token #=> String
3485
3537
  #
3486
3538
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources AWS API Documentation
@@ -3773,7 +3825,7 @@ module Aws::CloudFormation
3773
3825
  # @example Request syntax with placeholder values
3774
3826
  #
3775
3827
  # resp = client.list_type_registrations({
3776
- # type: "RESOURCE", # accepts RESOURCE
3828
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
3777
3829
  # type_name: "TypeName",
3778
3830
  # type_arn: "TypeArn",
3779
3831
  # registration_status_filter: "COMPLETE", # accepts COMPLETE, IN_PROGRESS, FAILED
@@ -3855,7 +3907,7 @@ module Aws::CloudFormation
3855
3907
  # @example Request syntax with placeholder values
3856
3908
  #
3857
3909
  # resp = client.list_type_versions({
3858
- # type: "RESOURCE", # accepts RESOURCE
3910
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
3859
3911
  # type_name: "TypeName",
3860
3912
  # arn: "PrivateTypeArn",
3861
3913
  # max_results: 1,
@@ -3866,7 +3918,7 @@ module Aws::CloudFormation
3866
3918
  # @example Response structure
3867
3919
  #
3868
3920
  # resp.type_version_summaries #=> Array
3869
- # resp.type_version_summaries[0].type #=> String, one of "RESOURCE"
3921
+ # resp.type_version_summaries[0].type #=> String, one of "RESOURCE", "MODULE"
3870
3922
  # resp.type_version_summaries[0].type_name #=> String
3871
3923
  # resp.type_version_summaries[0].version_id #=> String
3872
3924
  # resp.type_version_summaries[0].is_default_version #=> Boolean
@@ -3931,6 +3983,9 @@ module Aws::CloudFormation
3931
3983
  # * `DEPRECATED`\: The type has been deregistered and can no longer be
3932
3984
  # used in CloudFormation operations.
3933
3985
  #
3986
+ # @option params [String] :type
3987
+ # The type of extension.
3988
+ #
3934
3989
  # @option params [Integer] :max_results
3935
3990
  # The maximum number of results to be returned with a single call. If
3936
3991
  # the number of available results exceeds this maximum, the response
@@ -3958,6 +4013,7 @@ module Aws::CloudFormation
3958
4013
  # visibility: "PUBLIC", # accepts PUBLIC, PRIVATE
3959
4014
  # provisioning_type: "NON_PROVISIONABLE", # accepts NON_PROVISIONABLE, IMMUTABLE, FULLY_MUTABLE
3960
4015
  # deprecated_status: "LIVE", # accepts LIVE, DEPRECATED
4016
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
3961
4017
  # max_results: 1,
3962
4018
  # next_token: "NextToken",
3963
4019
  # })
@@ -3965,7 +4021,7 @@ module Aws::CloudFormation
3965
4021
  # @example Response structure
3966
4022
  #
3967
4023
  # resp.type_summaries #=> Array
3968
- # resp.type_summaries[0].type #=> String, one of "RESOURCE"
4024
+ # resp.type_summaries[0].type #=> String, one of "RESOURCE", "MODULE"
3969
4025
  # resp.type_summaries[0].type_name #=> String
3970
4026
  # resp.type_summaries[0].default_version_id #=> String
3971
4027
  # resp.type_summaries[0].type_arn #=> String
@@ -4127,18 +4183,20 @@ module Aws::CloudFormation
4127
4183
  # you want to register, see [submit][1] in the *CloudFormation CLI User
4128
4184
  # Guide*.
4129
4185
  #
4130
- # <note markdown="1"> As part of registering a resource provider type, CloudFormation must
4131
- # be able to access the S3 bucket which contains the schema handler
4132
- # package for that resource provider. For more information, see [IAM
4133
- # Permissions for Registering a Resource Provider][2] in the *AWS
4134
- # CloudFormation User Guide*.
4186
+ # <note markdown="1"> The user registering the resource provider type must be able to access
4187
+ # the the schema handler package in the S3 bucket. That is, the user
4188
+ # needs to have [GetObject][2] permissions for the schema handler
4189
+ # package. For more information, see [Actions, Resources, and Condition
4190
+ # Keys for Amazon S3][3] in the *AWS Identity and Access Management User
4191
+ # Guide*.
4135
4192
  #
4136
4193
  # </note>
4137
4194
  #
4138
4195
  #
4139
4196
  #
4140
4197
  # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html
4141
- # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-register-permissions
4198
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
4199
+ # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html
4142
4200
  #
4143
4201
  # @option params [Types::LoggingConfig] :logging_config
4144
4202
  # Specifies logging configuration information for a type.
@@ -4170,7 +4228,7 @@ module Aws::CloudFormation
4170
4228
  # @example Request syntax with placeholder values
4171
4229
  #
4172
4230
  # resp = client.register_type({
4173
- # type: "RESOURCE", # accepts RESOURCE
4231
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
4174
4232
  # type_name: "TypeName", # required
4175
4233
  # schema_handler_package: "S3Url", # required
4176
4234
  # logging_config: {
@@ -4264,7 +4322,7 @@ module Aws::CloudFormation
4264
4322
  #
4265
4323
  # resp = client.set_type_default_version({
4266
4324
  # arn: "PrivateTypeArn",
4267
- # type: "RESOURCE", # accepts RESOURCE
4325
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
4268
4326
  # type_name: "TypeName",
4269
4327
  # version_id: "TypeVersionId",
4270
4328
  # })
@@ -4496,10 +4554,9 @@ module Aws::CloudFormation
4496
4554
  # [AWS::Serverless][10] transforms, which are macros hosted by AWS
4497
4555
  # CloudFormation.
4498
4556
  #
4499
- # Change sets do not currently support nested stacks. If you want to
4500
- # update a stack from a stack template that contains macros *and*
4501
- # nested stacks, you must update the stack directly from the template
4502
- # using this capability.
4557
+ # If you want to update a stack from a stack template that contains
4558
+ # macros *and* nested stacks, you must update the stack directly from
4559
+ # the template using this capability.
4503
4560
  #
4504
4561
  # You should only update stacks directly from a stack template that
4505
4562
  # contains macros if you know what processing the macro performs.
@@ -5317,7 +5374,7 @@ module Aws::CloudFormation
5317
5374
  params: params,
5318
5375
  config: config)
5319
5376
  context[:gem_name] = 'aws-sdk-cloudformation'
5320
- context[:gem_version] = '1.41.0'
5377
+ context[:gem_version] = '1.46.0'
5321
5378
  Seahorse::Client::Request.new(handlers, context)
5322
5379
  end
5323
5380
 
@@ -137,6 +137,7 @@ module Aws::CloudFormation
137
137
  Imports = Shapes::ListShape.new(name: 'Imports')
138
138
  InProgressStackInstancesCount = Shapes::IntegerShape.new(name: 'InProgressStackInstancesCount')
139
139
  InSyncStackInstancesCount = Shapes::IntegerShape.new(name: 'InSyncStackInstancesCount')
140
+ IncludeNestedStacks = Shapes::BooleanShape.new(name: 'IncludeNestedStacks')
140
141
  InsufficientCapabilitiesException = Shapes::StructureShape.new(name: 'InsufficientCapabilitiesException')
141
142
  InvalidChangeSetStatusException = Shapes::StructureShape.new(name: 'InvalidChangeSetStatusException')
142
143
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
@@ -173,12 +174,14 @@ module Aws::CloudFormation
173
174
  ListTypesOutput = Shapes::StructureShape.new(name: 'ListTypesOutput')
174
175
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
175
176
  LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig')
177
+ LogicalIdHierarchy = Shapes::StringShape.new(name: 'LogicalIdHierarchy')
176
178
  LogicalResourceId = Shapes::StringShape.new(name: 'LogicalResourceId')
177
179
  LogicalResourceIds = Shapes::ListShape.new(name: 'LogicalResourceIds')
178
180
  MaxConcurrentCount = Shapes::IntegerShape.new(name: 'MaxConcurrentCount')
179
181
  MaxConcurrentPercentage = Shapes::IntegerShape.new(name: 'MaxConcurrentPercentage')
180
182
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
181
183
  Metadata = Shapes::StringShape.new(name: 'Metadata')
184
+ ModuleInfo = Shapes::StructureShape.new(name: 'ModuleInfo')
182
185
  MonitoringTimeInMinutes = Shapes::IntegerShape.new(name: 'MonitoringTimeInMinutes')
183
186
  NameAlreadyExistsException = Shapes::StructureShape.new(name: 'NameAlreadyExistsException')
184
187
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -359,6 +362,7 @@ module Aws::CloudFormation
359
362
  TransformsList = Shapes::ListShape.new(name: 'TransformsList')
360
363
  Type = Shapes::StringShape.new(name: 'Type')
361
364
  TypeArn = Shapes::StringShape.new(name: 'TypeArn')
365
+ TypeHierarchy = Shapes::StringShape.new(name: 'TypeHierarchy')
362
366
  TypeName = Shapes::StringShape.new(name: 'TypeName')
363
367
  TypeNotFoundException = Shapes::StructureShape.new(name: 'TypeNotFoundException')
364
368
  TypeSchema = Shapes::StringShape.new(name: 'TypeSchema')
@@ -430,6 +434,9 @@ module Aws::CloudFormation
430
434
  ChangeSetSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: ChangeSetStatusReason, location_name: "StatusReason"))
431
435
  ChangeSetSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
432
436
  ChangeSetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
437
+ ChangeSetSummary.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks"))
438
+ ChangeSetSummary.add_member(:parent_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ParentChangeSetId"))
439
+ ChangeSetSummary.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId"))
433
440
  ChangeSetSummary.struct_class = Types::ChangeSetSummary
434
441
 
435
442
  Changes.member = Shapes::ShapeRef.new(shape: Change)
@@ -458,6 +465,7 @@ module Aws::CloudFormation
458
465
  CreateChangeSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
459
466
  CreateChangeSetInput.add_member(:change_set_type, Shapes::ShapeRef.new(shape: ChangeSetType, location_name: "ChangeSetType"))
460
467
  CreateChangeSetInput.add_member(:resources_to_import, Shapes::ShapeRef.new(shape: ResourcesToImport, location_name: "ResourcesToImport"))
468
+ CreateChangeSetInput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks"))
461
469
  CreateChangeSetInput.struct_class = Types::CreateChangeSetInput
462
470
 
463
471
  CreateChangeSetOutput.add_member(:id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "Id"))
@@ -586,6 +594,9 @@ module Aws::CloudFormation
586
594
  DescribeChangeSetOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
587
595
  DescribeChangeSetOutput.add_member(:changes, Shapes::ShapeRef.new(shape: Changes, location_name: "Changes"))
588
596
  DescribeChangeSetOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
597
+ DescribeChangeSetOutput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks"))
598
+ DescribeChangeSetOutput.add_member(:parent_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ParentChangeSetId"))
599
+ DescribeChangeSetOutput.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId"))
589
600
  DescribeChangeSetOutput.struct_class = Types::DescribeChangeSetOutput
590
601
 
591
602
  DescribeStackDriftDetectionStatusInput.add_member(:stack_drift_detection_id, Shapes::ShapeRef.new(shape: StackDriftDetectionId, required: true, location_name: "StackDriftDetectionId"))
@@ -889,6 +900,7 @@ module Aws::CloudFormation
889
900
  ListTypesInput.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility"))
890
901
  ListTypesInput.add_member(:provisioning_type, Shapes::ShapeRef.new(shape: ProvisioningType, location_name: "ProvisioningType"))
891
902
  ListTypesInput.add_member(:deprecated_status, Shapes::ShapeRef.new(shape: DeprecatedStatus, location_name: "DeprecatedStatus"))
903
+ ListTypesInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
892
904
  ListTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
893
905
  ListTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
894
906
  ListTypesInput.struct_class = Types::ListTypesInput
@@ -903,6 +915,10 @@ module Aws::CloudFormation
903
915
 
904
916
  LogicalResourceIds.member = Shapes::ShapeRef.new(shape: LogicalResourceId)
905
917
 
918
+ ModuleInfo.add_member(:type_hierarchy, Shapes::ShapeRef.new(shape: TypeHierarchy, location_name: "TypeHierarchy"))
919
+ ModuleInfo.add_member(:logical_id_hierarchy, Shapes::ShapeRef.new(shape: LogicalIdHierarchy, location_name: "LogicalIdHierarchy"))
920
+ ModuleInfo.struct_class = Types::ModuleInfo
921
+
906
922
  NameAlreadyExistsException.struct_class = Types::NameAlreadyExistsException
907
923
 
908
924
  NotificationARNs.member = Shapes::ShapeRef.new(shape: NotificationARN)
@@ -993,6 +1009,8 @@ module Aws::CloudFormation
993
1009
  ResourceChange.add_member(:replacement, Shapes::ShapeRef.new(shape: Replacement, location_name: "Replacement"))
994
1010
  ResourceChange.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "Scope"))
995
1011
  ResourceChange.add_member(:details, Shapes::ShapeRef.new(shape: ResourceChangeDetails, location_name: "Details"))
1012
+ ResourceChange.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId"))
1013
+ ResourceChange.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
996
1014
  ResourceChange.struct_class = Types::ResourceChange
997
1015
 
998
1016
  ResourceChangeDetail.add_member(:target, Shapes::ShapeRef.new(shape: ResourceTargetDefinition, location_name: "Target"))
@@ -1159,6 +1177,7 @@ module Aws::CloudFormation
1159
1177
  StackResource.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason"))
1160
1178
  StackResource.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1161
1179
  StackResource.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformation, location_name: "DriftInformation"))
1180
+ StackResource.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
1162
1181
  StackResource.struct_class = Types::StackResource
1163
1182
 
1164
1183
  StackResourceDetail.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
@@ -1172,6 +1191,7 @@ module Aws::CloudFormation
1172
1191
  StackResourceDetail.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1173
1192
  StackResourceDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
1174
1193
  StackResourceDetail.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformation, location_name: "DriftInformation"))
1194
+ StackResourceDetail.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
1175
1195
  StackResourceDetail.struct_class = Types::StackResourceDetail
1176
1196
 
1177
1197
  StackResourceDrift.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, required: true, location_name: "StackId"))
@@ -1184,6 +1204,7 @@ module Aws::CloudFormation
1184
1204
  StackResourceDrift.add_member(:property_differences, Shapes::ShapeRef.new(shape: PropertyDifferences, location_name: "PropertyDifferences"))
1185
1205
  StackResourceDrift.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus"))
1186
1206
  StackResourceDrift.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
1207
+ StackResourceDrift.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
1187
1208
  StackResourceDrift.struct_class = Types::StackResourceDrift
1188
1209
 
1189
1210
  StackResourceDriftInformation.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus"))
@@ -1207,6 +1228,7 @@ module Aws::CloudFormation
1207
1228
  StackResourceSummary.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "ResourceStatus"))
1208
1229
  StackResourceSummary.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason"))
1209
1230
  StackResourceSummary.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformationSummary, location_name: "DriftInformation"))
1231
+ StackResourceSummary.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
1210
1232
  StackResourceSummary.struct_class = Types::StackResourceSummary
1211
1233
 
1212
1234
  StackResources.member = Shapes::ShapeRef.new(shape: StackResource)
@@ -194,10 +194,9 @@ module Aws::CloudFormation
194
194
  # [AWS::Serverless][10] transforms, which are macros hosted by AWS
195
195
  # CloudFormation.
196
196
  #
197
- # Change sets do not currently support nested stacks. If you want to
198
- # create a stack from a stack template that contains macros *and*
199
- # nested stacks, you must create the stack directly from the template
200
- # using this capability.
197
+ # If you want to create a stack from a stack template that contains
198
+ # macros *and* nested stacks, you must create the stack directly from
199
+ # the template using this capability.
201
200
  #
202
201
  # You should only create stacks directly from a stack template that
203
202
  # contains macros if you know what processing the macro performs.
@@ -540,10 +540,9 @@ module Aws::CloudFormation
540
540
  # [AWS::Serverless][10] transforms, which are macros hosted by AWS
541
541
  # CloudFormation.
542
542
  #
543
- # Change sets do not currently support nested stacks. If you want to
544
- # create a stack from a stack template that contains macros *and*
545
- # nested stacks, you must create the stack directly from the template
546
- # using this capability.
543
+ # If you want to create a stack from a stack template that contains
544
+ # macros *and* nested stacks, you must create the stack directly from
545
+ # the template using this capability.
547
546
  #
548
547
  # You should only create stacks directly from a stack template that
549
548
  # contains macros if you know what processing the macro performs.
@@ -880,10 +879,9 @@ module Aws::CloudFormation
880
879
  # [AWS::Serverless][10] transforms, which are macros hosted by AWS
881
880
  # CloudFormation.
882
881
  #
883
- # Change sets do not currently support nested stacks. If you want to
884
- # update a stack from a stack template that contains macros *and*
885
- # nested stacks, you must update the stack directly from the template
886
- # using this capability.
882
+ # If you want to update a stack from a stack template that contains
883
+ # macros *and* nested stacks, you must update the stack directly from
884
+ # the template using this capability.
887
885
  #
888
886
  # You should only update stacks directly from a stack template that
889
887
  # contains macros if you know what processing the macro performs.
@@ -117,6 +117,14 @@ module Aws::CloudFormation
117
117
  data[:drift_information]
118
118
  end
119
119
 
120
+ # Contains information about the module from which the resource was
121
+ # created, if the resource was created from a module included in the
122
+ # stack template.
123
+ # @return [Types::ModuleInfo]
124
+ def module_info
125
+ data[:module_info]
126
+ end
127
+
120
128
  # @!endgroup
121
129
 
122
130
  # @return [Client]
@@ -93,6 +93,14 @@ module Aws::CloudFormation
93
93
  data[:drift_information]
94
94
  end
95
95
 
96
+ # Contains information about the module from which the resource was
97
+ # created, if the resource was created from a module included in the
98
+ # stack template.
99
+ # @return [Types::ModuleInfo]
100
+ def module_info
101
+ data[:module_info]
102
+ end
103
+
96
104
  # @!endgroup
97
105
 
98
106
  # @return [Client]
@@ -273,6 +273,19 @@ module Aws::CloudFormation
273
273
  # Descriptive information about the change set.
274
274
  # @return [String]
275
275
  #
276
+ # @!attribute [rw] include_nested_stacks
277
+ # Specifies the current setting of `IncludeNestedStacks` for the
278
+ # change set.
279
+ # @return [Boolean]
280
+ #
281
+ # @!attribute [rw] parent_change_set_id
282
+ # The parent change set ID.
283
+ # @return [String]
284
+ #
285
+ # @!attribute [rw] root_change_set_id
286
+ # The root change set ID.
287
+ # @return [String]
288
+ #
276
289
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary AWS API Documentation
277
290
  #
278
291
  class ChangeSetSummary < Struct.new(
@@ -284,7 +297,10 @@ module Aws::CloudFormation
284
297
  :status,
285
298
  :status_reason,
286
299
  :creation_time,
287
- :description)
300
+ :description,
301
+ :include_nested_stacks,
302
+ :parent_change_set_id,
303
+ :root_change_set_id)
288
304
  SENSITIVE = []
289
305
  include Aws::Structure
290
306
  end
@@ -451,6 +467,7 @@ module Aws::CloudFormation
451
467
  # },
452
468
  # },
453
469
  # ],
470
+ # include_nested_stacks: false,
454
471
  # }
455
472
  #
456
473
  # @!attribute [rw] stack_name
@@ -551,11 +568,10 @@ module Aws::CloudFormation
551
568
  # <note markdown="1"> This capacity does not apply to creating change sets, and
552
569
  # specifying it when creating change sets has no effect.
553
570
  #
554
- # Also, change sets do not currently support nested stacks. If you
555
- # want to create a stack from a stack template that contains macros
556
- # *and* nested stacks, you must create or update the stack directly
557
- # from the template using the CreateStack or UpdateStack action, and
558
- # specifying this capability.
571
+ # If you want to create a stack from a stack template that contains
572
+ # macros *and* nested stacks, you must create or update the stack
573
+ # directly from the template using the CreateStack or UpdateStack
574
+ # action, and specifying this capability.
559
575
  #
560
576
  # </note>
561
577
  #
@@ -675,6 +691,12 @@ module Aws::CloudFormation
675
691
  # The resources to import into your stack.
676
692
  # @return [Array<Types::ResourceToImport>]
677
693
  #
694
+ # @!attribute [rw] include_nested_stacks
695
+ # Creates a change set for the all nested stacks specified in the
696
+ # template. The default behavior of this action is set to `False`. To
697
+ # include nested sets in a change set, specify `True`.
698
+ # @return [Boolean]
699
+ #
678
700
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput AWS API Documentation
679
701
  #
680
702
  class CreateChangeSetInput < Struct.new(
@@ -693,7 +715,8 @@ module Aws::CloudFormation
693
715
  :client_token,
694
716
  :description,
695
717
  :change_set_type,
696
- :resources_to_import)
718
+ :resources_to_import,
719
+ :include_nested_stacks)
697
720
  SENSITIVE = []
698
721
  include Aws::Structure
699
722
  end
@@ -895,10 +918,9 @@ module Aws::CloudFormation
895
918
  # and [AWS::Serverless][10] transforms, which are macros hosted by
896
919
  # AWS CloudFormation.
897
920
  #
898
- # Change sets do not currently support nested stacks. If you want to
899
- # create a stack from a stack template that contains macros *and*
900
- # nested stacks, you must create the stack directly from the
901
- # template using this capability.
921
+ # If you want to create a stack from a stack template that contains
922
+ # macros *and* nested stacks, you must create the stack directly
923
+ # from the template using this capability.
902
924
  #
903
925
  # You should only create stacks directly from a stack template that
904
926
  # contains macros if you know what processing the macro performs.
@@ -1733,8 +1755,9 @@ module Aws::CloudFormation
1733
1755
 
1734
1756
  # \[`Service-managed` permissions\] The AWS Organizations accounts to
1735
1757
  # which StackSets deploys. StackSets does not deploy stack instances to
1736
- # the organization master account, even if the master account is in your
1737
- # organization or in an OU in your organization.
1758
+ # the organization management account, even if the organization
1759
+ # management account is in your organization or in an OU in your
1760
+ # organization.
1738
1761
  #
1739
1762
  # For update operations, you can specify either `Accounts` or
1740
1763
  # `OrganizationalUnitIds`. For create and delete operations, specify
@@ -1772,7 +1795,7 @@ module Aws::CloudFormation
1772
1795
  #
1773
1796
  # {
1774
1797
  # arn: "PrivateTypeArn",
1775
- # type: "RESOURCE", # accepts RESOURCE
1798
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
1776
1799
  # type_name: "TypeName",
1777
1800
  # version_id: "TypeVersionId",
1778
1801
  # }
@@ -1988,6 +2011,20 @@ module Aws::CloudFormation
1988
2011
  # of changes. If there is no additional page, this value is null.
1989
2012
  # @return [String]
1990
2013
  #
2014
+ # @!attribute [rw] include_nested_stacks
2015
+ # Verifies if `IncludeNestedStacks` is set to `True`.
2016
+ # @return [Boolean]
2017
+ #
2018
+ # @!attribute [rw] parent_change_set_id
2019
+ # Specifies the change set ID of the parent change set in the current
2020
+ # nested change set hierarchy.
2021
+ # @return [String]
2022
+ #
2023
+ # @!attribute [rw] root_change_set_id
2024
+ # Specifies the change set ID of the root change set in the current
2025
+ # nested change set hierarchy.
2026
+ # @return [String]
2027
+ #
1991
2028
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput AWS API Documentation
1992
2029
  #
1993
2030
  class DescribeChangeSetOutput < Struct.new(
@@ -2006,7 +2043,10 @@ module Aws::CloudFormation
2006
2043
  :capabilities,
2007
2044
  :tags,
2008
2045
  :changes,
2009
- :next_token)
2046
+ :next_token,
2047
+ :include_nested_stacks,
2048
+ :parent_change_set_id,
2049
+ :root_change_set_id)
2010
2050
  SENSITIVE = []
2011
2051
  include Aws::Structure
2012
2052
  end
@@ -2561,7 +2601,7 @@ module Aws::CloudFormation
2561
2601
  # data as a hash:
2562
2602
  #
2563
2603
  # {
2564
- # type: "RESOURCE", # accepts RESOURCE
2604
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
2565
2605
  # type_name: "TypeName",
2566
2606
  # arn: "TypeArn",
2567
2607
  # version_id: "TypeVersionId",
@@ -3953,7 +3993,7 @@ module Aws::CloudFormation
3953
3993
  # data as a hash:
3954
3994
  #
3955
3995
  # {
3956
- # type: "RESOURCE", # accepts RESOURCE
3996
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
3957
3997
  # type_name: "TypeName",
3958
3998
  # type_arn: "TypeArn",
3959
3999
  # registration_status_filter: "COMPLETE", # accepts COMPLETE, IN_PROGRESS, FAILED
@@ -4047,7 +4087,7 @@ module Aws::CloudFormation
4047
4087
  # data as a hash:
4048
4088
  #
4049
4089
  # {
4050
- # type: "RESOURCE", # accepts RESOURCE
4090
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
4051
4091
  # type_name: "TypeName",
4052
4092
  # arn: "PrivateTypeArn",
4053
4093
  # max_results: 1,
@@ -4153,6 +4193,7 @@ module Aws::CloudFormation
4153
4193
  # visibility: "PUBLIC", # accepts PUBLIC, PRIVATE
4154
4194
  # provisioning_type: "NON_PROVISIONABLE", # accepts NON_PROVISIONABLE, IMMUTABLE, FULLY_MUTABLE
4155
4195
  # deprecated_status: "LIVE", # accepts LIVE, DEPRECATED
4196
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
4156
4197
  # max_results: 1,
4157
4198
  # next_token: "NextToken",
4158
4199
  # }
@@ -4204,6 +4245,10 @@ module Aws::CloudFormation
4204
4245
  # used in CloudFormation operations.
4205
4246
  # @return [String]
4206
4247
  #
4248
+ # @!attribute [rw] type
4249
+ # The type of extension.
4250
+ # @return [String]
4251
+ #
4207
4252
  # @!attribute [rw] max_results
4208
4253
  # The maximum number of results to be returned with a single call. If
4209
4254
  # the number of available results exceeds this maximum, the response
@@ -4226,6 +4271,7 @@ module Aws::CloudFormation
4226
4271
  :visibility,
4227
4272
  :provisioning_type,
4228
4273
  :deprecated_status,
4274
+ :type,
4229
4275
  :max_results,
4230
4276
  :next_token)
4231
4277
  SENSITIVE = []
@@ -4283,6 +4329,51 @@ module Aws::CloudFormation
4283
4329
  include Aws::Structure
4284
4330
  end
4285
4331
 
4332
+ # Contains information about the module from which the resource was
4333
+ # created, if the resource was created from a module included in the
4334
+ # stack template.
4335
+ #
4336
+ # For more information on modules, see [Using modules to encapsulate and
4337
+ # reuse resource
4338
+ # configurations](AWSCloudFormation/latest/UserGuide/modules.html) in
4339
+ # the *CloudFormation User Guide*.
4340
+ #
4341
+ # @!attribute [rw] type_hierarchy
4342
+ # A concantenated list of the the module type or types containing the
4343
+ # resource. Module types are listed starting with the inner-most
4344
+ # nested module, and separated by `/`.
4345
+ #
4346
+ # In the following example, the resource was created from a module of
4347
+ # type `AWS::First::Example::MODULE`, that is nested inside a parent
4348
+ # module of type `AWS::Second::Example::MODULE`.
4349
+ #
4350
+ # `AWS::First::Example::MODULE/AWS::Second::Example::MODULE`
4351
+ # @return [String]
4352
+ #
4353
+ # @!attribute [rw] logical_id_hierarchy
4354
+ # A concantenated list of the logical IDs of the module or modules
4355
+ # containing the resource. Modules are listed starting with the
4356
+ # inner-most nested module, and separated by `/`.
4357
+ #
4358
+ # In the following example, the resource was created from a module,
4359
+ # `moduleA`, that is nested inside a parent module, `moduleB`.
4360
+ #
4361
+ # `moduleA/moduleB`
4362
+ #
4363
+ # For more information, see [Referencing resources in a
4364
+ # module](AWSCloudFormation/latest/UserGuide/modules.html#module-ref-resources)
4365
+ # in the *CloudFormation User Guide*.
4366
+ # @return [String]
4367
+ #
4368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ModuleInfo AWS API Documentation
4369
+ #
4370
+ class ModuleInfo < Struct.new(
4371
+ :type_hierarchy,
4372
+ :logical_id_hierarchy)
4373
+ SENSITIVE = []
4374
+ include Aws::Structure
4375
+ end
4376
+
4286
4377
  # The specified name is already in use.
4287
4378
  #
4288
4379
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/NameAlreadyExistsException AWS API Documentation
@@ -4618,7 +4709,7 @@ module Aws::CloudFormation
4618
4709
  # data as a hash:
4619
4710
  #
4620
4711
  # {
4621
- # type: "RESOURCE", # accepts RESOURCE
4712
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
4622
4713
  # type_name: "TypeName", # required
4623
4714
  # schema_handler_package: "S3Url", # required
4624
4715
  # logging_config: {
@@ -4668,18 +4759,20 @@ module Aws::CloudFormation
4668
4759
  # you want to register, see [submit][1] in the *CloudFormation CLI
4669
4760
  # User Guide*.
4670
4761
  #
4671
- # <note markdown="1"> As part of registering a resource provider type, CloudFormation must
4672
- # be able to access the S3 bucket which contains the schema handler
4673
- # package for that resource provider. For more information, see [IAM
4674
- # Permissions for Registering a Resource Provider][2] in the *AWS
4675
- # CloudFormation User Guide*.
4762
+ # <note markdown="1"> The user registering the resource provider type must be able to
4763
+ # access the the schema handler package in the S3 bucket. That is, the
4764
+ # user needs to have [GetObject][2] permissions for the schema handler
4765
+ # package. For more information, see [Actions, Resources, and
4766
+ # Condition Keys for Amazon S3][3] in the *AWS Identity and Access
4767
+ # Management User Guide*.
4676
4768
  #
4677
4769
  # </note>
4678
4770
  #
4679
4771
  #
4680
4772
  #
4681
4773
  # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html
4682
- # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-register-permissions
4774
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
4775
+ # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html
4683
4776
  # @return [String]
4684
4777
  #
4685
4778
  # @!attribute [rw] logging_config
@@ -4743,8 +4836,9 @@ module Aws::CloudFormation
4743
4836
  #
4744
4837
  # @!attribute [rw] action
4745
4838
  # The action that AWS CloudFormation takes on the resource, such as
4746
- # `Add` (adds a new resource), `Modify` (changes a resource), or
4747
- # `Remove` (deletes a resource).
4839
+ # `Add` (adds a new resource), `Modify` (changes a resource), `Remove`
4840
+ # (deletes a resource), `Import` (imports a resource), or `Dynamic`
4841
+ # (exact action for the resource cannot be determined).
4748
4842
  # @return [String]
4749
4843
  #
4750
4844
  # @!attribute [rw] logical_resource_id
@@ -4789,6 +4883,16 @@ module Aws::CloudFormation
4789
4883
  # resource.
4790
4884
  # @return [Array<Types::ResourceChangeDetail>]
4791
4885
  #
4886
+ # @!attribute [rw] change_set_id
4887
+ # The change set ID of the nested change set.
4888
+ # @return [String]
4889
+ #
4890
+ # @!attribute [rw] module_info
4891
+ # Contains information about the module from which the resource was
4892
+ # created, if the resource was created from a module included in the
4893
+ # stack template.
4894
+ # @return [Types::ModuleInfo]
4895
+ #
4792
4896
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange AWS API Documentation
4793
4897
  #
4794
4898
  class ResourceChange < Struct.new(
@@ -4798,7 +4902,9 @@ module Aws::CloudFormation
4798
4902
  :resource_type,
4799
4903
  :replacement,
4800
4904
  :scope,
4801
- :details)
4905
+ :details,
4906
+ :change_set_id,
4907
+ :module_info)
4802
4908
  SENSITIVE = []
4803
4909
  include Aws::Structure
4804
4910
  end
@@ -5170,7 +5276,7 @@ module Aws::CloudFormation
5170
5276
  #
5171
5277
  # {
5172
5278
  # arn: "PrivateTypeArn",
5173
- # type: "RESOURCE", # accepts RESOURCE
5279
+ # type: "RESOURCE", # accepts RESOURCE, MODULE
5174
5280
  # type_name: "TypeName",
5175
5281
  # version_id: "TypeVersionId",
5176
5282
  # }
@@ -5944,6 +6050,12 @@ module Aws::CloudFormation
5944
6050
  # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
5945
6051
  # @return [Types::StackResourceDriftInformation]
5946
6052
  #
6053
+ # @!attribute [rw] module_info
6054
+ # Contains information about the module from which the resource was
6055
+ # created, if the resource was created from a module included in the
6056
+ # stack template.
6057
+ # @return [Types::ModuleInfo]
6058
+ #
5947
6059
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource AWS API Documentation
5948
6060
  #
5949
6061
  class StackResource < Struct.new(
@@ -5956,7 +6068,8 @@ module Aws::CloudFormation
5956
6068
  :resource_status,
5957
6069
  :resource_status_reason,
5958
6070
  :description,
5959
- :drift_information)
6071
+ :drift_information,
6072
+ :module_info)
5960
6073
  SENSITIVE = []
5961
6074
  include Aws::Structure
5962
6075
  end
@@ -6027,6 +6140,12 @@ module Aws::CloudFormation
6027
6140
  # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
6028
6141
  # @return [Types::StackResourceDriftInformation]
6029
6142
  #
6143
+ # @!attribute [rw] module_info
6144
+ # Contains information about the module from which the resource was
6145
+ # created, if the resource was created from a module included in the
6146
+ # stack template.
6147
+ # @return [Types::ModuleInfo]
6148
+ #
6030
6149
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail AWS API Documentation
6031
6150
  #
6032
6151
  class StackResourceDetail < Struct.new(
@@ -6040,7 +6159,8 @@ module Aws::CloudFormation
6040
6159
  :resource_status_reason,
6041
6160
  :description,
6042
6161
  :metadata,
6043
- :drift_information)
6162
+ :drift_information,
6163
+ :module_info)
6044
6164
  SENSITIVE = []
6045
6165
  include Aws::Structure
6046
6166
  end
@@ -6136,6 +6256,12 @@ module Aws::CloudFormation
6136
6256
  # stack resource.
6137
6257
  # @return [Time]
6138
6258
  #
6259
+ # @!attribute [rw] module_info
6260
+ # Contains information about the module from which the resource was
6261
+ # created, if the resource was created from a module included in the
6262
+ # stack template.
6263
+ # @return [Types::ModuleInfo]
6264
+ #
6139
6265
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDrift AWS API Documentation
6140
6266
  #
6141
6267
  class StackResourceDrift < Struct.new(
@@ -6148,7 +6274,8 @@ module Aws::CloudFormation
6148
6274
  :actual_properties,
6149
6275
  :property_differences,
6150
6276
  :stack_resource_drift_status,
6151
- :timestamp)
6277
+ :timestamp,
6278
+ :module_info)
6152
6279
  SENSITIVE = []
6153
6280
  include Aws::Structure
6154
6281
  end
@@ -6287,6 +6414,12 @@ module Aws::CloudFormation
6287
6414
  # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
6288
6415
  # @return [Types::StackResourceDriftInformationSummary]
6289
6416
  #
6417
+ # @!attribute [rw] module_info
6418
+ # Contains information about the module from which the resource was
6419
+ # created, if the resource was created from a module included in the
6420
+ # stack template.
6421
+ # @return [Types::ModuleInfo]
6422
+ #
6290
6423
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary AWS API Documentation
6291
6424
  #
6292
6425
  class StackResourceSummary < Struct.new(
@@ -6296,7 +6429,8 @@ module Aws::CloudFormation
6296
6429
  :last_updated_timestamp,
6297
6430
  :resource_status,
6298
6431
  :resource_status_reason,
6299
- :drift_information)
6432
+ :drift_information,
6433
+ :module_info)
6300
6434
  SENSITIVE = []
6301
6435
  include Aws::Structure
6302
6436
  end
@@ -7515,10 +7649,9 @@ module Aws::CloudFormation
7515
7649
  # and [AWS::Serverless][10] transforms, which are macros hosted by
7516
7650
  # AWS CloudFormation.
7517
7651
  #
7518
- # Change sets do not currently support nested stacks. If you want to
7519
- # update a stack from a stack template that contains macros *and*
7520
- # nested stacks, you must update the stack directly from the
7521
- # template using this capability.
7652
+ # If you want to update a stack from a stack template that contains
7653
+ # macros *and* nested stacks, you must update the stack directly
7654
+ # from the template using this capability.
7522
7655
  #
7523
7656
  # You should only update stacks directly from a stack template that
7524
7657
  # contains macros if you know what processing the macro performs.
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.41.0
4
+ version: 1.46.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: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement