aws-sdk-cloudformation 1.125.0 → 1.127.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.
@@ -7,34 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/query.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/query'
38
38
 
39
39
  module Aws::CloudFormation
40
40
  # An API client for CloudFormation. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -876,12 +876,12 @@ module Aws::CloudFormation
876
876
  # Conditional: You must specify only `TemplateBody` or `TemplateURL`.
877
877
  #
878
878
  # @option params [String] :template_url
879
- # The location of the file that contains the revised template. The URL
880
- # must point to a template (max size: 460,800 bytes) that's located in
881
- # an Amazon S3 bucket or a Systems Manager document. CloudFormation
882
- # generates the change set by comparing this template with the stack
883
- # that you specified. The location for an Amazon S3 bucket must start
884
- # with `https://`.
879
+ # The URL of the file that contains the revised template. The URL must
880
+ # point to a template (max size: 1 MB) that's located in an Amazon S3
881
+ # bucket or a Systems Manager document. CloudFormation generates the
882
+ # change set by comparing this template with the stack that you
883
+ # specified. The location for an Amazon S3 bucket must start with
884
+ # `https://`.
885
885
  #
886
886
  # Conditional: You must specify only `TemplateBody` or `TemplateURL`.
887
887
  #
@@ -925,15 +925,17 @@ module Aws::CloudFormation
925
925
  #
926
926
  # * [AWS::IAM::InstanceProfile][3]
927
927
  #
928
- # * [ AWS::IAM::Policy][4]
928
+ # * [ AWS::IAM::ManagedPolicy][4]
929
929
  #
930
- # * [ AWS::IAM::Role][5]
930
+ # * [ AWS::IAM::Policy][5]
931
931
  #
932
- # * [ AWS::IAM::User][6]
932
+ # * [ AWS::IAM::Role][6]
933
933
  #
934
- # * [AWS::IAM::UserToGroupAddition][7]
934
+ # * [ AWS::IAM::User][7]
935
+ #
936
+ # * [AWS::IAM::UserToGroupAddition][8]
935
937
  # For more information, see [Acknowledging IAM resources in
936
- # CloudFormation templates][8].
938
+ # CloudFormation templates][9].
937
939
  #
938
940
  # * `CAPABILITY_AUTO_EXPAND`
939
941
  #
@@ -946,8 +948,8 @@ module Aws::CloudFormation
946
948
  # your stack template contains one or more macros, and you choose to
947
949
  # create a stack directly from the processed template, without first
948
950
  # reviewing the resulting changes in a change set, you must
949
- # acknowledge this capability. This includes the [AWS::Include][9] and
950
- # [AWS::Serverless][10] transforms, which are macros hosted by
951
+ # acknowledge this capability. This includes the [AWS::Include][10]
952
+ # and [AWS::Serverless][11] transforms, which are macros hosted by
951
953
  # CloudFormation.
952
954
  #
953
955
  # <note markdown="1"> This capacity doesn't apply to creating change sets, and specifying
@@ -961,7 +963,7 @@ module Aws::CloudFormation
961
963
  # </note>
962
964
  #
963
965
  # For more information about macros, see [Perform custom processing on
964
- # CloudFormation templates with template macros][11].
966
+ # CloudFormation templates with template macros][12].
965
967
  #
966
968
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
967
969
  # specified.
@@ -973,14 +975,15 @@ module Aws::CloudFormation
973
975
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
974
976
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
975
977
  # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
976
- # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
977
- # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
978
- # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
979
- # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
980
- # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
981
- # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
982
- # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
983
- # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
978
+ # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html
979
+ # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
980
+ # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
981
+ # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
982
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
983
+ # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
984
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
985
+ # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
986
+ # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
984
987
  #
985
988
  # @option params [Array<String>] :resource_types
986
989
  # The template resource types that you have permissions to work with if
@@ -1001,7 +1004,7 @@ module Aws::CloudFormation
1001
1004
  #
1002
1005
  #
1003
1006
  #
1004
- # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html
1007
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
1005
1008
  #
1006
1009
  # @option params [String] :role_arn
1007
1010
  # The Amazon Resource Name (ARN) of an IAM role that CloudFormation
@@ -1308,10 +1311,10 @@ module Aws::CloudFormation
1308
1311
  # `TemplateURL` parameter, but not both.
1309
1312
  #
1310
1313
  # @option params [String] :template_url
1311
- # Location of file containing the template body. The URL must point to a
1312
- # template (max size: 460,800 bytes) that's located in an Amazon S3
1313
- # bucket or a Systems Manager document. The location for an Amazon S3
1314
- # bucket must start with `https://`.
1314
+ # The URL of a file containing the template body. The URL must point to
1315
+ # a template (max size: 1 MB) that's located in an Amazon S3 bucket or
1316
+ # a Systems Manager document. The location for an Amazon S3 bucket must
1317
+ # start with `https://`.
1315
1318
  #
1316
1319
  # Conditional: You must specify either the `TemplateBody` or the
1317
1320
  # `TemplateURL` parameter, but not both.
@@ -1378,15 +1381,17 @@ module Aws::CloudFormation
1378
1381
  #
1379
1382
  # * [AWS::IAM::InstanceProfile][3]
1380
1383
  #
1381
- # * [AWS::IAM::Policy][4]
1384
+ # * [ AWS::IAM::ManagedPolicy][4]
1382
1385
  #
1383
- # * [AWS::IAM::Role][5]
1386
+ # * [AWS::IAM::Policy][5]
1384
1387
  #
1385
- # * [AWS::IAM::User][6]
1388
+ # * [AWS::IAM::Role][6]
1386
1389
  #
1387
- # * [AWS::IAM::UserToGroupAddition][7]
1390
+ # * [AWS::IAM::User][7]
1391
+ #
1392
+ # * [AWS::IAM::UserToGroupAddition][8]
1388
1393
  # For more information, see [Acknowledging IAM resources in
1389
- # CloudFormation templates][8].
1394
+ # CloudFormation templates][9].
1390
1395
  #
1391
1396
  # * `CAPABILITY_AUTO_EXPAND`
1392
1397
  #
@@ -1399,8 +1404,8 @@ module Aws::CloudFormation
1399
1404
  # your stack template contains one or more macros, and you choose to
1400
1405
  # create a stack directly from the processed template, without first
1401
1406
  # reviewing the resulting changes in a change set, you must
1402
- # acknowledge this capability. This includes the [AWS::Include][9] and
1403
- # [AWS::Serverless][10] transforms, which are macros hosted by
1407
+ # acknowledge this capability. This includes the [AWS::Include][10]
1408
+ # and [AWS::Serverless][11] transforms, which are macros hosted by
1404
1409
  # CloudFormation.
1405
1410
  #
1406
1411
  # If you want to create a stack from a stack template that contains
@@ -1416,7 +1421,7 @@ module Aws::CloudFormation
1416
1421
  # notified.
1417
1422
  #
1418
1423
  # For more information, see [Perform custom processing on
1419
- # CloudFormation templates with template macros][11].
1424
+ # CloudFormation templates with template macros][12].
1420
1425
  #
1421
1426
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
1422
1427
  # specified.
@@ -1428,14 +1433,15 @@ module Aws::CloudFormation
1428
1433
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
1429
1434
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
1430
1435
  # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
1431
- # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
1432
- # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
1433
- # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
1434
- # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
1435
- # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
1436
- # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
1437
- # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
1438
- # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
1436
+ # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html
1437
+ # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
1438
+ # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
1439
+ # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
1440
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
1441
+ # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
1442
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
1443
+ # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
1444
+ # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
1439
1445
  #
1440
1446
  # @option params [Array<String>] :resource_types
1441
1447
  # The template resource types that you have permissions to work with for
@@ -1462,7 +1468,7 @@ module Aws::CloudFormation
1462
1468
  #
1463
1469
  #
1464
1470
  #
1465
- # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html
1471
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
1466
1472
  #
1467
1473
  # @option params [String] :role_arn
1468
1474
  # The Amazon Resource Name (ARN) of an IAM role that CloudFormation
@@ -1622,7 +1628,7 @@ module Aws::CloudFormation
1622
1628
  # instances from.
1623
1629
  #
1624
1630
  # @option params [Array<String>] :accounts
1625
- # \[Self-managed permissions\] The names of one or more Amazon Web
1631
+ # \[Self-managed permissions\] The account IDs of one or more Amazon Web
1626
1632
  # Services accounts that you want to create stack instances in the
1627
1633
  # specified Region(s) for.
1628
1634
  #
@@ -1767,6 +1773,65 @@ module Aws::CloudFormation
1767
1773
  req.send_request(options)
1768
1774
  end
1769
1775
 
1776
+ # Creates a refactor across multiple stacks, with the list of stacks and
1777
+ # resources that are affected.
1778
+ #
1779
+ # @option params [String] :description
1780
+ # A description to help you identify the stack refactor.
1781
+ #
1782
+ # @option params [Boolean] :enable_stack_creation
1783
+ # Determines if a new stack is created with the refactor.
1784
+ #
1785
+ # @option params [Array<Types::ResourceMapping>] :resource_mappings
1786
+ # The mappings for the stack resource `Source` and stack resource
1787
+ # `Destination`.
1788
+ #
1789
+ # @option params [required, Array<Types::StackDefinition>] :stack_definitions
1790
+ # The stacks being refactored.
1791
+ #
1792
+ # @return [Types::CreateStackRefactorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1793
+ #
1794
+ # * {Types::CreateStackRefactorOutput#stack_refactor_id #stack_refactor_id} => String
1795
+ #
1796
+ # @example Request syntax with placeholder values
1797
+ #
1798
+ # resp = client.create_stack_refactor({
1799
+ # description: "Description",
1800
+ # enable_stack_creation: false,
1801
+ # resource_mappings: [
1802
+ # {
1803
+ # source: { # required
1804
+ # stack_name: "StackName", # required
1805
+ # logical_resource_id: "LogicalResourceId", # required
1806
+ # },
1807
+ # destination: { # required
1808
+ # stack_name: "StackName", # required
1809
+ # logical_resource_id: "LogicalResourceId", # required
1810
+ # },
1811
+ # },
1812
+ # ],
1813
+ # stack_definitions: [ # required
1814
+ # {
1815
+ # stack_name: "StackName",
1816
+ # template_body: "TemplateBody",
1817
+ # template_url: "TemplateURL",
1818
+ # },
1819
+ # ],
1820
+ # })
1821
+ #
1822
+ # @example Response structure
1823
+ #
1824
+ # resp.stack_refactor_id #=> String
1825
+ #
1826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackRefactor AWS API Documentation
1827
+ #
1828
+ # @overload create_stack_refactor(params = {})
1829
+ # @param [Hash] params ({})
1830
+ def create_stack_refactor(params = {}, options = {})
1831
+ req = build_request(:create_stack_refactor, params)
1832
+ req.send_request(options)
1833
+ end
1834
+
1770
1835
  # Creates a stack set.
1771
1836
  #
1772
1837
  # @option params [required, String] :stack_set_name
@@ -1791,9 +1856,10 @@ module Aws::CloudFormation
1791
1856
  # TemplateURL parameter, but not both.
1792
1857
  #
1793
1858
  # @option params [String] :template_url
1794
- # The location of the file that contains the template body. The URL must
1795
- # point to a template (maximum size: 460,800 bytes) that's located in
1796
- # an Amazon S3 bucket or a Systems Manager document.
1859
+ # The URL of a file that contains the template body. The URL must point
1860
+ # to a template (maximum size: 1 MB) that's located in an Amazon S3
1861
+ # bucket or a Systems Manager document. The location for an Amazon S3
1862
+ # bucket must start with `https://`.
1797
1863
  #
1798
1864
  # Conditional: You must specify either the TemplateBody or the
1799
1865
  # TemplateURL parameter, but not both.
@@ -1854,8 +1920,8 @@ module Aws::CloudFormation
1854
1920
  # directly from the processed template, without first reviewing the
1855
1921
  # resulting changes in a change set. To create the stack set directly,
1856
1922
  # you must acknowledge this capability. For more information, see
1857
- # [Using CloudFormation Macros to Perform Custom Processing on
1858
- # Templates][9].
1923
+ # [Perform custom processing on CloudFormation templates with template
1924
+ # macros][9].
1859
1925
  #
1860
1926
  # Stack sets with service-managed permissions don't currently support
1861
1927
  # the use of macros in templates. (This includes the
@@ -1874,9 +1940,9 @@ module Aws::CloudFormation
1874
1940
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
1875
1941
  # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
1876
1942
  # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
1877
- # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
1943
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
1878
1944
  # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
1879
- # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
1945
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
1880
1946
  # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
1881
1947
  #
1882
1948
  # @option params [Array<Types::Tag>] :tags
@@ -1897,8 +1963,8 @@ module Aws::CloudFormation
1897
1963
  # Specify an IAM role only if you are using customized administrator
1898
1964
  # roles to control which users or groups can manage specific stack sets
1899
1965
  # within the same administrator account. For more information, see
1900
- # [Prerequisites: Granting Permissions for Stack Set Operations][1] in
1901
- # the *CloudFormation User Guide*.
1966
+ # [Prerequisites for using StackSets][1] in the *CloudFormation User
1967
+ # Guide*.
1902
1968
  #
1903
1969
  #
1904
1970
  #
@@ -1920,17 +1986,17 @@ module Aws::CloudFormation
1920
1986
  #
1921
1987
  # * With `self-managed` permissions, you must create the administrator
1922
1988
  # and execution roles required to deploy to target accounts. For more
1923
- # information, see [Grant Self-Managed Stack Set Permissions][1].
1989
+ # information, see [Grant self-managed permissions][1].
1924
1990
  #
1925
1991
  # * With `service-managed` permissions, StackSets automatically creates
1926
1992
  # the IAM roles required to deploy to accounts managed by
1927
- # Organizations. For more information, see [Grant Service-Managed
1928
- # Stack Set Permissions][2].
1993
+ # Organizations. For more information, see [Activate trusted access
1994
+ # for stack sets with Organizations][2].
1929
1995
  #
1930
1996
  #
1931
1997
  #
1932
1998
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
1933
- # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-service-managed.html
1999
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html
1934
2000
  #
1935
2001
  # @option params [Types::AutoDeployment] :auto_deployment
1936
2002
  # Describes whether StackSets automatically deploys to Organizations
@@ -2255,8 +2321,8 @@ module Aws::CloudFormation
2255
2321
  # instances for.
2256
2322
  #
2257
2323
  # @option params [Array<String>] :accounts
2258
- # \[Self-managed permissions\] The names of the Amazon Web Services
2259
- # accounts that you want to delete stack instances for.
2324
+ # \[Self-managed permissions\] The account IDs of the Amazon Web
2325
+ # Services accounts that you want to delete stack instances for.
2260
2326
  #
2261
2327
  # You can specify `Accounts` or `DeploymentTargets`, but not both.
2262
2328
  #
@@ -2670,7 +2736,7 @@ module Aws::CloudFormation
2670
2736
  # retrieve.
2671
2737
  #
2672
2738
  # @option params [String] :logical_resource_id
2673
- # If specified, lists only the hooks related to the specified
2739
+ # If specified, lists only the Hooks related to the specified
2674
2740
  # `LogicalResourceId`.
2675
2741
  #
2676
2742
  # @return [Types::DescribeChangeSetHooksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -3178,7 +3244,7 @@ module Aws::CloudFormation
3178
3244
  # resp.stack_events[0].physical_resource_id #=> String
3179
3245
  # resp.stack_events[0].resource_type #=> String
3180
3246
  # resp.stack_events[0].timestamp #=> Time
3181
- # resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3247
+ # resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3182
3248
  # resp.stack_events[0].resource_status_reason #=> String
3183
3249
  # resp.stack_events[0].resource_properties #=> String
3184
3250
  # resp.stack_events[0].client_request_token #=> String
@@ -3279,6 +3345,54 @@ module Aws::CloudFormation
3279
3345
  req.send_request(options)
3280
3346
  end
3281
3347
 
3348
+ # Describes the stack refactor status.
3349
+ #
3350
+ # @option params [required, String] :stack_refactor_id
3351
+ # The ID associated with the stack refactor created from the
3352
+ # CreateStackRefactor action.
3353
+ #
3354
+ # @return [Types::DescribeStackRefactorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3355
+ #
3356
+ # * {Types::DescribeStackRefactorOutput#description #description} => String
3357
+ # * {Types::DescribeStackRefactorOutput#stack_refactor_id #stack_refactor_id} => String
3358
+ # * {Types::DescribeStackRefactorOutput#stack_ids #stack_ids} => Array&lt;String&gt;
3359
+ # * {Types::DescribeStackRefactorOutput#execution_status #execution_status} => String
3360
+ # * {Types::DescribeStackRefactorOutput#execution_status_reason #execution_status_reason} => String
3361
+ # * {Types::DescribeStackRefactorOutput#status #status} => String
3362
+ # * {Types::DescribeStackRefactorOutput#status_reason #status_reason} => String
3363
+ #
3364
+ # @example Request syntax with placeholder values
3365
+ #
3366
+ # resp = client.describe_stack_refactor({
3367
+ # stack_refactor_id: "StackRefactorId", # required
3368
+ # })
3369
+ #
3370
+ # @example Response structure
3371
+ #
3372
+ # resp.description #=> String
3373
+ # resp.stack_refactor_id #=> String
3374
+ # resp.stack_ids #=> Array
3375
+ # resp.stack_ids[0] #=> String
3376
+ # resp.execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "OBSOLETE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3377
+ # resp.execution_status_reason #=> String
3378
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
3379
+ # resp.status_reason #=> String
3380
+ #
3381
+ #
3382
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3383
+ #
3384
+ # * stack_refactor_create_complete
3385
+ # * stack_refactor_execute_complete
3386
+ #
3387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackRefactor AWS API Documentation
3388
+ #
3389
+ # @overload describe_stack_refactor(params = {})
3390
+ # @param [Hash] params ({})
3391
+ def describe_stack_refactor(params = {}, options = {})
3392
+ req = build_request(:describe_stack_refactor, params)
3393
+ req.send_request(options)
3394
+ end
3395
+
3282
3396
  # Returns a description of the specified resource in the specified
3283
3397
  # stack.
3284
3398
  #
@@ -3320,7 +3434,7 @@ module Aws::CloudFormation
3320
3434
  # resp.stack_resource_detail.physical_resource_id #=> String
3321
3435
  # resp.stack_resource_detail.resource_type #=> String
3322
3436
  # resp.stack_resource_detail.last_updated_timestamp #=> Time
3323
- # resp.stack_resource_detail.resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3437
+ # resp.stack_resource_detail.resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3324
3438
  # resp.stack_resource_detail.resource_status_reason #=> String
3325
3439
  # resp.stack_resource_detail.description #=> String
3326
3440
  # resp.stack_resource_detail.metadata #=> String
@@ -3517,7 +3631,7 @@ module Aws::CloudFormation
3517
3631
  # resp.stack_resources[0].physical_resource_id #=> String
3518
3632
  # resp.stack_resources[0].resource_type #=> String
3519
3633
  # resp.stack_resources[0].timestamp #=> Time
3520
- # resp.stack_resources[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3634
+ # resp.stack_resources[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
3521
3635
  # resp.stack_resources[0].resource_status_reason #=> String
3522
3636
  # resp.stack_resources[0].description #=> String
3523
3637
  # resp.stack_resources[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
@@ -4147,8 +4261,8 @@ module Aws::CloudFormation
4147
4261
  # Detect drift on a stack set. When CloudFormation performs drift
4148
4262
  # detection on a stack set, it performs drift detection on the stack
4149
4263
  # associated with each stack instance in the stack set. For more
4150
- # information, see [How CloudFormation performs drift detection on a
4151
- # stack set][1].
4264
+ # information, see [Performing drift detection on CloudFormation
4265
+ # StackSets][1].
4152
4266
  #
4153
4267
  # `DetectStackSetDrift` returns the `OperationId` of the stack set drift
4154
4268
  # detection operation. Use this operation id with
@@ -4173,9 +4287,6 @@ module Aws::CloudFormation
4173
4287
  # specific stack instance, including its drift status and last drift
4174
4288
  # time checked.
4175
4289
  #
4176
- # For more information about performing a drift detection operation on a
4177
- # stack set, see [Detecting unmanaged changes in stack sets][1].
4178
- #
4179
4290
  # You can only run a single drift detection operation on a given stack
4180
4291
  # set at one time.
4181
4292
  #
@@ -4275,8 +4386,8 @@ module Aws::CloudFormation
4275
4386
  # are passed, only `TemplateBody` is used.
4276
4387
  #
4277
4388
  # @option params [String] :template_url
4278
- # Location of file containing the template body. The URL must point to a
4279
- # template that's located in an Amazon S3 bucket or a Systems Manager
4389
+ # The URL of a file containing the template body. The URL must point to
4390
+ # a template that's located in an Amazon S3 bucket or a Systems Manager
4280
4391
  # document. The location for an Amazon S3 bucket must start with
4281
4392
  # `https://`.
4282
4393
  #
@@ -4398,6 +4509,29 @@ module Aws::CloudFormation
4398
4509
  req.send_request(options)
4399
4510
  end
4400
4511
 
4512
+ # Executes the stack refactor operation.
4513
+ #
4514
+ # @option params [required, String] :stack_refactor_id
4515
+ # The ID associated with the stack refactor created from the
4516
+ # CreateStackRefactor action.
4517
+ #
4518
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4519
+ #
4520
+ # @example Request syntax with placeholder values
4521
+ #
4522
+ # resp = client.execute_stack_refactor({
4523
+ # stack_refactor_id: "StackRefactorId", # required
4524
+ # })
4525
+ #
4526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteStackRefactor AWS API Documentation
4527
+ #
4528
+ # @overload execute_stack_refactor(params = {})
4529
+ # @param [Hash] params ({})
4530
+ def execute_stack_refactor(params = {}, options = {})
4531
+ req = build_request(:execute_stack_refactor, params)
4532
+ req.send_request(options)
4533
+ end
4534
+
4401
4535
  # Retrieves a generated template. If the template is in an `InProgress`
4402
4536
  # or `Pending` status then the template returned will be the template
4403
4537
  # when the template was last in a `Complete` status. If the template has
@@ -4591,10 +4725,10 @@ module Aws::CloudFormation
4591
4725
  # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
4592
4726
  #
4593
4727
  # @option params [String] :template_url
4594
- # Location of file containing the template body. The URL must point to a
4595
- # template (max size: 460,800 bytes) that's located in an Amazon S3
4596
- # bucket or a Systems Manager document. The location for an Amazon S3
4597
- # bucket must start with `https://`.
4728
+ # The URL of a file containing the template body. The URL must point to
4729
+ # a template (max size: 1 MB) that's located in an Amazon S3 bucket or
4730
+ # a Systems Manager document. The location for an Amazon S3 bucket must
4731
+ # start with `https://`.
4598
4732
  #
4599
4733
  # Conditional: You must specify only one of the following parameters:
4600
4734
  # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
@@ -5638,6 +5772,126 @@ module Aws::CloudFormation
5638
5772
  req.send_request(options)
5639
5773
  end
5640
5774
 
5775
+ # Lists the stack refactor actions that will be taken after calling the
5776
+ # ExecuteStackRefactor action.
5777
+ #
5778
+ # @option params [required, String] :stack_refactor_id
5779
+ # The ID associated with the stack refactor created from the
5780
+ # CreateStackRefactor action.
5781
+ #
5782
+ # @option params [String] :next_token
5783
+ # If the request doesn't return all the remaining results, `NextToken`
5784
+ # is set to a token. To retrieve the next set of results, call this
5785
+ # action again and assign that token to the request object's
5786
+ # `NextToken` parameter. If the request returns all results, `NextToken`
5787
+ # is set to `null`.
5788
+ #
5789
+ # @option params [Integer] :max_results
5790
+ # The maximum number of results to be returned with a single call. If
5791
+ # the number of available results exceeds this maximum, the response
5792
+ # includes a `NextToken` value that you can assign to the `NextToken`
5793
+ # request parameter to get the next set of results.
5794
+ #
5795
+ # @return [Types::ListStackRefactorActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5796
+ #
5797
+ # * {Types::ListStackRefactorActionsOutput#stack_refactor_actions #stack_refactor_actions} => Array&lt;Types::StackRefactorAction&gt;
5798
+ # * {Types::ListStackRefactorActionsOutput#next_token #next_token} => String
5799
+ #
5800
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5801
+ #
5802
+ # @example Request syntax with placeholder values
5803
+ #
5804
+ # resp = client.list_stack_refactor_actions({
5805
+ # stack_refactor_id: "StackRefactorId", # required
5806
+ # next_token: "NextToken",
5807
+ # max_results: 1,
5808
+ # })
5809
+ #
5810
+ # @example Response structure
5811
+ #
5812
+ # resp.stack_refactor_actions #=> Array
5813
+ # resp.stack_refactor_actions[0].action #=> String, one of "MOVE", "CREATE"
5814
+ # resp.stack_refactor_actions[0].entity #=> String, one of "RESOURCE", "STACK"
5815
+ # resp.stack_refactor_actions[0].physical_resource_id #=> String
5816
+ # resp.stack_refactor_actions[0].resource_identifier #=> String
5817
+ # resp.stack_refactor_actions[0].description #=> String
5818
+ # resp.stack_refactor_actions[0].detection #=> String, one of "AUTO", "MANUAL"
5819
+ # resp.stack_refactor_actions[0].detection_reason #=> String
5820
+ # resp.stack_refactor_actions[0].tag_resources #=> Array
5821
+ # resp.stack_refactor_actions[0].tag_resources[0].key #=> String
5822
+ # resp.stack_refactor_actions[0].tag_resources[0].value #=> String
5823
+ # resp.stack_refactor_actions[0].untag_resources #=> Array
5824
+ # resp.stack_refactor_actions[0].untag_resources[0] #=> String
5825
+ # resp.stack_refactor_actions[0].resource_mapping.source.stack_name #=> String
5826
+ # resp.stack_refactor_actions[0].resource_mapping.source.logical_resource_id #=> String
5827
+ # resp.stack_refactor_actions[0].resource_mapping.destination.stack_name #=> String
5828
+ # resp.stack_refactor_actions[0].resource_mapping.destination.logical_resource_id #=> String
5829
+ # resp.next_token #=> String
5830
+ #
5831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorActions AWS API Documentation
5832
+ #
5833
+ # @overload list_stack_refactor_actions(params = {})
5834
+ # @param [Hash] params ({})
5835
+ def list_stack_refactor_actions(params = {}, options = {})
5836
+ req = build_request(:list_stack_refactor_actions, params)
5837
+ req.send_request(options)
5838
+ end
5839
+
5840
+ # Lists all account stack refactor operations and their statuses.
5841
+ #
5842
+ # @option params [Array<String>] :execution_status_filter
5843
+ # Execution status to use as a filter. Specify one or more execution
5844
+ # status codes to list only stack refactors with the specified execution
5845
+ # status codes.
5846
+ #
5847
+ # @option params [String] :next_token
5848
+ # If the request doesn't return all the remaining results, `NextToken`
5849
+ # is set to a token. To retrieve the next set of results, call this
5850
+ # action again and assign that token to the request object's
5851
+ # `NextToken` parameter. If the request returns all results, `NextToken`
5852
+ # is set to `null`.
5853
+ #
5854
+ # @option params [Integer] :max_results
5855
+ # The maximum number of results to be returned with a single call. If
5856
+ # the number of available results exceeds this maximum, the response
5857
+ # includes a `NextToken` value that you can assign to the `NextToken`
5858
+ # request parameter to get the next set of results.
5859
+ #
5860
+ # @return [Types::ListStackRefactorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5861
+ #
5862
+ # * {Types::ListStackRefactorsOutput#stack_refactor_summaries #stack_refactor_summaries} => Array&lt;Types::StackRefactorSummary&gt;
5863
+ # * {Types::ListStackRefactorsOutput#next_token #next_token} => String
5864
+ #
5865
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5866
+ #
5867
+ # @example Request syntax with placeholder values
5868
+ #
5869
+ # resp = client.list_stack_refactors({
5870
+ # execution_status_filter: ["UNAVAILABLE"], # accepts UNAVAILABLE, AVAILABLE, OBSOLETE, EXECUTE_IN_PROGRESS, EXECUTE_COMPLETE, EXECUTE_FAILED, ROLLBACK_IN_PROGRESS, ROLLBACK_COMPLETE, ROLLBACK_FAILED
5871
+ # next_token: "NextToken",
5872
+ # max_results: 1,
5873
+ # })
5874
+ #
5875
+ # @example Response structure
5876
+ #
5877
+ # resp.stack_refactor_summaries #=> Array
5878
+ # resp.stack_refactor_summaries[0].stack_refactor_id #=> String
5879
+ # resp.stack_refactor_summaries[0].description #=> String
5880
+ # resp.stack_refactor_summaries[0].execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "OBSOLETE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
5881
+ # resp.stack_refactor_summaries[0].execution_status_reason #=> String
5882
+ # resp.stack_refactor_summaries[0].status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
5883
+ # resp.stack_refactor_summaries[0].status_reason #=> String
5884
+ # resp.next_token #=> String
5885
+ #
5886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactors AWS API Documentation
5887
+ #
5888
+ # @overload list_stack_refactors(params = {})
5889
+ # @param [Hash] params ({})
5890
+ def list_stack_refactors(params = {}, options = {})
5891
+ req = build_request(:list_stack_refactors, params)
5892
+ req.send_request(options)
5893
+ end
5894
+
5641
5895
  # Returns descriptions of all resources of the specified stack.
5642
5896
  #
5643
5897
  # For deleted stacks, ListStackResources returns resource information
@@ -5679,7 +5933,7 @@ module Aws::CloudFormation
5679
5933
  # resp.stack_resource_summaries[0].physical_resource_id #=> String
5680
5934
  # resp.stack_resource_summaries[0].resource_type #=> String
5681
5935
  # resp.stack_resource_summaries[0].last_updated_timestamp #=> Time
5682
- # resp.stack_resource_summaries[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
5936
+ # resp.stack_resource_summaries[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED"
5683
5937
  # resp.stack_resource_summaries[0].resource_status_reason #=> String
5684
5938
  # resp.stack_resource_summaries[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
5685
5939
  # resp.stack_resource_summaries[0].drift_information.last_check_timestamp #=> Time
@@ -6667,7 +6921,7 @@ module Aws::CloudFormation
6667
6921
  #
6668
6922
  # * For modules, `company_or_organization::service::type::MODULE`.
6669
6923
  #
6670
- # * For hooks, `MyCompany::Testing::MyTestHook`.
6924
+ # * For Hooks, `MyCompany::Testing::MyTestHook`.
6671
6925
  #
6672
6926
  # <note markdown="1"> The following organization namespaces are reserved and can't be used
6673
6927
  # in your extension names:
@@ -7431,8 +7685,8 @@ module Aws::CloudFormation
7431
7685
  # `true`.
7432
7686
  #
7433
7687
  # @option params [String] :template_url
7434
- # Location of file containing the template body. The URL must point to a
7435
- # template that's located in an Amazon S3 bucket or a Systems Manager
7688
+ # The URL of a file containing the template body. The URL must point to
7689
+ # a template that's located in an Amazon S3 bucket or a Systems Manager
7436
7690
  # document. The location for an Amazon S3 bucket must start with
7437
7691
  # `https://`.
7438
7692
  #
@@ -7511,15 +7765,17 @@ module Aws::CloudFormation
7511
7765
  #
7512
7766
  # * [AWS::IAM::InstanceProfile][3]
7513
7767
  #
7514
- # * [AWS::IAM::Policy][4]
7768
+ # * [ AWS::IAM::ManagedPolicy][4]
7515
7769
  #
7516
- # * [ AWS::IAM::Role][5]
7770
+ # * [AWS::IAM::Policy][5]
7517
7771
  #
7518
- # * [ AWS::IAM::User][6]
7772
+ # * [ AWS::IAM::Role][6]
7519
7773
  #
7520
- # * [AWS::IAM::UserToGroupAddition][7]
7774
+ # * [ AWS::IAM::User][7]
7775
+ #
7776
+ # * [AWS::IAM::UserToGroupAddition][8]
7521
7777
  # For more information, see [Acknowledging IAM resources in
7522
- # CloudFormation templates][8].
7778
+ # CloudFormation templates][9].
7523
7779
  #
7524
7780
  # * `CAPABILITY_AUTO_EXPAND`
7525
7781
  #
@@ -7532,8 +7788,8 @@ module Aws::CloudFormation
7532
7788
  # your stack template contains one or more macros, and you choose to
7533
7789
  # update a stack directly from the processed template, without first
7534
7790
  # reviewing the resulting changes in a change set, you must
7535
- # acknowledge this capability. This includes the [AWS::Include][9] and
7536
- # [AWS::Serverless][10] transforms, which are macros hosted by
7791
+ # acknowledge this capability. This includes the [AWS::Include][10]
7792
+ # and [AWS::Serverless][11] transforms, which are macros hosted by
7537
7793
  # CloudFormation.
7538
7794
  #
7539
7795
  # If you want to update a stack from a stack template that contains
@@ -7549,7 +7805,7 @@ module Aws::CloudFormation
7549
7805
  # notified.
7550
7806
  #
7551
7807
  # For more information, see [Perform custom processing on
7552
- # CloudFormation templates with template macros][11].
7808
+ # CloudFormation templates with template macros][12].
7553
7809
  #
7554
7810
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
7555
7811
  # specified.
@@ -7561,14 +7817,15 @@ module Aws::CloudFormation
7561
7817
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
7562
7818
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
7563
7819
  # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
7564
- # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
7565
- # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
7566
- # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
7567
- # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
7568
- # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
7569
- # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
7570
- # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
7571
- # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
7820
+ # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html
7821
+ # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
7822
+ # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
7823
+ # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
7824
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
7825
+ # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
7826
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
7827
+ # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
7828
+ # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
7572
7829
  #
7573
7830
  # @option params [Array<String>] :resource_types
7574
7831
  # The template resource types that you have permissions to work with for
@@ -7589,7 +7846,7 @@ module Aws::CloudFormation
7589
7846
  #
7590
7847
  #
7591
7848
  #
7592
- # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html
7849
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
7593
7850
  #
7594
7851
  # @option params [String] :role_arn
7595
7852
  # The Amazon Resource Name (ARN) of an IAM role that CloudFormation
@@ -7770,7 +8027,7 @@ module Aws::CloudFormation
7770
8027
  # instances.
7771
8028
  #
7772
8029
  # @option params [Array<String>] :accounts
7773
- # \[Self-managed permissions\] The names of one or more Amazon Web
8030
+ # \[Self-managed permissions\] The account IDs of one or more Amazon Web
7774
8031
  # Services accounts for which you want to update parameter values for
7775
8032
  # stack instances. The overridden parameter values will be applied to
7776
8033
  # all stack instances in the specified accounts and Amazon Web Services
@@ -7947,9 +8204,10 @@ module Aws::CloudFormation
7947
8204
  # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true.
7948
8205
  #
7949
8206
  # @option params [String] :template_url
7950
- # The location of the file that contains the template body. The URL must
7951
- # point to a template (maximum size: 460,800 bytes) that is located in
7952
- # an Amazon S3 bucket or a Systems Manager document.
8207
+ # The URL of a file that contains the template body. The URL must point
8208
+ # to a template (maximum size: 1 MB) that is located in an Amazon S3
8209
+ # bucket or a Systems Manager document. The location for an Amazon S3
8210
+ # bucket must start with `https://`.
7953
8211
  #
7954
8212
  # Conditional: You must specify only one of the following parameters:
7955
8213
  # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true.
@@ -8013,8 +8271,8 @@ module Aws::CloudFormation
8013
8271
  # directly from the processed template, without first reviewing the
8014
8272
  # resulting changes in a change set. To update the stack set directly,
8015
8273
  # you must acknowledge this capability. For more information, see
8016
- # [Using CloudFormation Macros to Perform Custom Processing on
8017
- # Templates][9].
8274
+ # [Perform custom processing on CloudFormation templates with template
8275
+ # macros][9].
8018
8276
  #
8019
8277
  # Stack sets with service-managed permissions do not currently support
8020
8278
  # the use of macros in templates. (This includes the
@@ -8033,9 +8291,9 @@ module Aws::CloudFormation
8033
8291
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
8034
8292
  # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
8035
8293
  # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
8036
- # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
8294
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
8037
8295
  # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
8038
- # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
8296
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
8039
8297
  # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
8040
8298
  #
8041
8299
  # @option params [Array<Types::Tag>] :tags
@@ -8079,7 +8337,7 @@ module Aws::CloudFormation
8079
8337
  # Specify an IAM role only if you are using customized administrator
8080
8338
  # roles to control which users or groups can manage specific stack sets
8081
8339
  # within the same administrator account. For more information, see
8082
- # [Granting Permissions for Stack Set Operations][1] in the
8340
+ # [Prerequisites for using CloudFormation StackSets][1] in the
8083
8341
  # *CloudFormation User Guide*.
8084
8342
  #
8085
8343
  # If you specified a customized administrator role when you created the
@@ -8130,17 +8388,17 @@ module Aws::CloudFormation
8130
8388
  #
8131
8389
  # * With `self-managed` permissions, you must create the administrator
8132
8390
  # and execution roles required to deploy to target accounts. For more
8133
- # information, see [Grant Self-Managed Stack Set Permissions][1].
8391
+ # information, see [Grant self-managed permissions][1].
8134
8392
  #
8135
8393
  # * With `service-managed` permissions, StackSets automatically creates
8136
8394
  # the IAM roles required to deploy to accounts managed by
8137
- # Organizations. For more information, see [Grant Service-Managed
8138
- # Stack Set Permissions][2].
8395
+ # Organizations. For more information, see [Activate trusted access
8396
+ # for stack sets with Organizations][2].
8139
8397
  #
8140
8398
  #
8141
8399
  #
8142
8400
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
8143
- # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-service-managed.html
8401
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html
8144
8402
  #
8145
8403
  # @option params [Types::AutoDeployment] :auto_deployment
8146
8404
  # \[Service-managed permissions\] Describes whether StackSets
@@ -8360,10 +8618,10 @@ module Aws::CloudFormation
8360
8618
  # are passed, only `TemplateBody` is used.
8361
8619
  #
8362
8620
  # @option params [String] :template_url
8363
- # Location of file containing the template body. The URL must point to a
8364
- # template (max size: 460,800 bytes) that is located in an Amazon S3
8365
- # bucket or a Systems Manager document. The location for an Amazon S3
8366
- # bucket must start with `https://`.
8621
+ # The URL of a file containing the template body. The URL must point to
8622
+ # a template (max size: 1 MB) that is located in an Amazon S3 bucket or
8623
+ # a Systems Manager document. The location for an Amazon S3 bucket must
8624
+ # start with `https://`.
8367
8625
  #
8368
8626
  # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both
8369
8627
  # are passed, only `TemplateBody` is used.
@@ -8424,7 +8682,7 @@ module Aws::CloudFormation
8424
8682
  tracer: tracer
8425
8683
  )
8426
8684
  context[:gem_name] = 'aws-sdk-cloudformation'
8427
- context[:gem_version] = '1.125.0'
8685
+ context[:gem_version] = '1.127.0'
8428
8686
  Seahorse::Client::Request.new(handlers, context)
8429
8687
  end
8430
8688
 
@@ -8490,16 +8748,18 @@ module Aws::CloudFormation
8490
8748
  # The following table lists the valid waiter names, the operations they call,
8491
8749
  # and the default `:delay` and `:max_attempts` values.
8492
8750
  #
8493
- # | waiter_name | params | :delay | :max_attempts |
8494
- # | -------------------------- | ----------------------------------- | -------- | ------------- |
8495
- # | change_set_create_complete | {Client#describe_change_set} | 30 | 120 |
8496
- # | stack_create_complete | {Client#describe_stacks} | 30 | 120 |
8497
- # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
8498
- # | stack_exists | {Client#describe_stacks} | 5 | 20 |
8499
- # | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
8500
- # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
8501
- # | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
8502
- # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
8751
+ # | waiter_name | params | :delay | :max_attempts |
8752
+ # | ------------------------------- | ----------------------------------- | -------- | ------------- |
8753
+ # | change_set_create_complete | {Client#describe_change_set} | 30 | 120 |
8754
+ # | stack_create_complete | {Client#describe_stacks} | 30 | 120 |
8755
+ # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
8756
+ # | stack_exists | {Client#describe_stacks} | 5 | 20 |
8757
+ # | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
8758
+ # | stack_refactor_create_complete | {Client#describe_stack_refactor} | 5 | 120 |
8759
+ # | stack_refactor_execute_complete | {Client#describe_stack_refactor} | 15 | 120 |
8760
+ # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
8761
+ # | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
8762
+ # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
8503
8763
  #
8504
8764
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
8505
8765
  # because the waiter has entered a state that it will not transition
@@ -8555,6 +8815,8 @@ module Aws::CloudFormation
8555
8815
  stack_delete_complete: Waiters::StackDeleteComplete,
8556
8816
  stack_exists: Waiters::StackExists,
8557
8817
  stack_import_complete: Waiters::StackImportComplete,
8818
+ stack_refactor_create_complete: Waiters::StackRefactorCreateComplete,
8819
+ stack_refactor_execute_complete: Waiters::StackRefactorExecuteComplete,
8558
8820
  stack_rollback_complete: Waiters::StackRollbackComplete,
8559
8821
  stack_update_complete: Waiters::StackUpdateComplete,
8560
8822
  type_registration_complete: Waiters::TypeRegistrationComplete