aws-sdk-cloudformation 1.124.0 → 1.126.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +409 -124
- data/lib/aws-sdk-cloudformation/client_api.rb +180 -0
- data/lib/aws-sdk-cloudformation/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-cloudformation/errors.rb +11 -0
- data/lib/aws-sdk-cloudformation/event.rb +1 -1
- data/lib/aws-sdk-cloudformation/resource.rb +24 -21
- data/lib/aws-sdk-cloudformation/stack.rb +46 -40
- data/lib/aws-sdk-cloudformation/types.rb +570 -144
- data/lib/aws-sdk-cloudformation/waiters.rb +118 -10
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +88 -0
- data/sig/errors.rbs +2 -0
- data/sig/event.rbs +1 -1
- data/sig/resource.rbs +2 -0
- data/sig/stack_resource.rbs +1 -1
- data/sig/stack_resource_summary.rbs +1 -1
- data/sig/types.rbs +110 -4
- data/sig/waiters.rbs +20 -0
- metadata +4 -4
@@ -257,11 +257,34 @@ module Aws::CloudFormation
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -853,12 +876,12 @@ module Aws::CloudFormation
|
|
853
876
|
# Conditional: You must specify only `TemplateBody` or `TemplateURL`.
|
854
877
|
#
|
855
878
|
# @option params [String] :template_url
|
856
|
-
# The
|
857
|
-
#
|
858
|
-
#
|
859
|
-
#
|
860
|
-
#
|
861
|
-
#
|
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://`.
|
862
885
|
#
|
863
886
|
# Conditional: You must specify only `TemplateBody` or `TemplateURL`.
|
864
887
|
#
|
@@ -902,15 +925,17 @@ module Aws::CloudFormation
|
|
902
925
|
#
|
903
926
|
# * [AWS::IAM::InstanceProfile][3]
|
904
927
|
#
|
905
|
-
# * [ AWS::IAM::
|
928
|
+
# * [ AWS::IAM::ManagedPolicy][4]
|
906
929
|
#
|
907
|
-
# * [ AWS::IAM::
|
930
|
+
# * [ AWS::IAM::Policy][5]
|
908
931
|
#
|
909
|
-
# * [ AWS::IAM::
|
932
|
+
# * [ AWS::IAM::Role][6]
|
910
933
|
#
|
911
|
-
# * [AWS::IAM::
|
934
|
+
# * [ AWS::IAM::User][7]
|
935
|
+
#
|
936
|
+
# * [AWS::IAM::UserToGroupAddition][8]
|
912
937
|
# For more information, see [Acknowledging IAM resources in
|
913
|
-
# CloudFormation templates][
|
938
|
+
# CloudFormation templates][9].
|
914
939
|
#
|
915
940
|
# * `CAPABILITY_AUTO_EXPAND`
|
916
941
|
#
|
@@ -923,8 +948,8 @@ module Aws::CloudFormation
|
|
923
948
|
# your stack template contains one or more macros, and you choose to
|
924
949
|
# create a stack directly from the processed template, without first
|
925
950
|
# reviewing the resulting changes in a change set, you must
|
926
|
-
# acknowledge this capability. This includes the [AWS::Include][
|
927
|
-
# [AWS::Serverless][
|
951
|
+
# acknowledge this capability. This includes the [AWS::Include][10]
|
952
|
+
# and [AWS::Serverless][11] transforms, which are macros hosted by
|
928
953
|
# CloudFormation.
|
929
954
|
#
|
930
955
|
# <note markdown="1"> This capacity doesn't apply to creating change sets, and specifying
|
@@ -938,7 +963,7 @@ module Aws::CloudFormation
|
|
938
963
|
# </note>
|
939
964
|
#
|
940
965
|
# For more information about macros, see [Perform custom processing on
|
941
|
-
# CloudFormation templates with template macros][
|
966
|
+
# CloudFormation templates with template macros][12].
|
942
967
|
#
|
943
968
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
944
969
|
# specified.
|
@@ -950,14 +975,15 @@ module Aws::CloudFormation
|
|
950
975
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
|
951
976
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
|
952
977
|
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
|
953
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
954
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
955
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
956
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
957
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
958
|
-
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
959
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-
|
960
|
-
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
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
|
961
987
|
#
|
962
988
|
# @option params [Array<String>] :resource_types
|
963
989
|
# The template resource types that you have permissions to work with if
|
@@ -978,7 +1004,7 @@ module Aws::CloudFormation
|
|
978
1004
|
#
|
979
1005
|
#
|
980
1006
|
#
|
981
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1007
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
|
982
1008
|
#
|
983
1009
|
# @option params [String] :role_arn
|
984
1010
|
# The Amazon Resource Name (ARN) of an IAM role that CloudFormation
|
@@ -1285,10 +1311,10 @@ module Aws::CloudFormation
|
|
1285
1311
|
# `TemplateURL` parameter, but not both.
|
1286
1312
|
#
|
1287
1313
|
# @option params [String] :template_url
|
1288
|
-
#
|
1289
|
-
# template (max size:
|
1290
|
-
#
|
1291
|
-
#
|
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://`.
|
1292
1318
|
#
|
1293
1319
|
# Conditional: You must specify either the `TemplateBody` or the
|
1294
1320
|
# `TemplateURL` parameter, but not both.
|
@@ -1355,15 +1381,17 @@ module Aws::CloudFormation
|
|
1355
1381
|
#
|
1356
1382
|
# * [AWS::IAM::InstanceProfile][3]
|
1357
1383
|
#
|
1358
|
-
# * [AWS::IAM::
|
1384
|
+
# * [ AWS::IAM::ManagedPolicy][4]
|
1359
1385
|
#
|
1360
|
-
# * [AWS::IAM::
|
1386
|
+
# * [AWS::IAM::Policy][5]
|
1361
1387
|
#
|
1362
|
-
# * [AWS::IAM::
|
1388
|
+
# * [AWS::IAM::Role][6]
|
1363
1389
|
#
|
1364
|
-
# * [AWS::IAM::
|
1390
|
+
# * [AWS::IAM::User][7]
|
1391
|
+
#
|
1392
|
+
# * [AWS::IAM::UserToGroupAddition][8]
|
1365
1393
|
# For more information, see [Acknowledging IAM resources in
|
1366
|
-
# CloudFormation templates][
|
1394
|
+
# CloudFormation templates][9].
|
1367
1395
|
#
|
1368
1396
|
# * `CAPABILITY_AUTO_EXPAND`
|
1369
1397
|
#
|
@@ -1376,8 +1404,8 @@ module Aws::CloudFormation
|
|
1376
1404
|
# your stack template contains one or more macros, and you choose to
|
1377
1405
|
# create a stack directly from the processed template, without first
|
1378
1406
|
# reviewing the resulting changes in a change set, you must
|
1379
|
-
# acknowledge this capability. This includes the [AWS::Include][
|
1380
|
-
# [AWS::Serverless][
|
1407
|
+
# acknowledge this capability. This includes the [AWS::Include][10]
|
1408
|
+
# and [AWS::Serverless][11] transforms, which are macros hosted by
|
1381
1409
|
# CloudFormation.
|
1382
1410
|
#
|
1383
1411
|
# If you want to create a stack from a stack template that contains
|
@@ -1393,7 +1421,7 @@ module Aws::CloudFormation
|
|
1393
1421
|
# notified.
|
1394
1422
|
#
|
1395
1423
|
# For more information, see [Perform custom processing on
|
1396
|
-
# CloudFormation templates with template macros][
|
1424
|
+
# CloudFormation templates with template macros][12].
|
1397
1425
|
#
|
1398
1426
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
1399
1427
|
# specified.
|
@@ -1405,14 +1433,15 @@ module Aws::CloudFormation
|
|
1405
1433
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
|
1406
1434
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
|
1407
1435
|
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
|
1408
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
1409
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
1410
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
1411
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
1412
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1413
|
-
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1414
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-
|
1415
|
-
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
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
|
1416
1445
|
#
|
1417
1446
|
# @option params [Array<String>] :resource_types
|
1418
1447
|
# The template resource types that you have permissions to work with for
|
@@ -1439,7 +1468,7 @@ module Aws::CloudFormation
|
|
1439
1468
|
#
|
1440
1469
|
#
|
1441
1470
|
#
|
1442
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1471
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
|
1443
1472
|
#
|
1444
1473
|
# @option params [String] :role_arn
|
1445
1474
|
# The Amazon Resource Name (ARN) of an IAM role that CloudFormation
|
@@ -1599,7 +1628,7 @@ module Aws::CloudFormation
|
|
1599
1628
|
# instances from.
|
1600
1629
|
#
|
1601
1630
|
# @option params [Array<String>] :accounts
|
1602
|
-
# \[Self-managed permissions\] The
|
1631
|
+
# \[Self-managed permissions\] The account IDs of one or more Amazon Web
|
1603
1632
|
# Services accounts that you want to create stack instances in the
|
1604
1633
|
# specified Region(s) for.
|
1605
1634
|
#
|
@@ -1744,6 +1773,65 @@ module Aws::CloudFormation
|
|
1744
1773
|
req.send_request(options)
|
1745
1774
|
end
|
1746
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
|
+
|
1747
1835
|
# Creates a stack set.
|
1748
1836
|
#
|
1749
1837
|
# @option params [required, String] :stack_set_name
|
@@ -1768,9 +1856,10 @@ module Aws::CloudFormation
|
|
1768
1856
|
# TemplateURL parameter, but not both.
|
1769
1857
|
#
|
1770
1858
|
# @option params [String] :template_url
|
1771
|
-
# The
|
1772
|
-
#
|
1773
|
-
#
|
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://`.
|
1774
1863
|
#
|
1775
1864
|
# Conditional: You must specify either the TemplateBody or the
|
1776
1865
|
# TemplateURL parameter, but not both.
|
@@ -1831,8 +1920,8 @@ module Aws::CloudFormation
|
|
1831
1920
|
# directly from the processed template, without first reviewing the
|
1832
1921
|
# resulting changes in a change set. To create the stack set directly,
|
1833
1922
|
# you must acknowledge this capability. For more information, see
|
1834
|
-
# [
|
1835
|
-
#
|
1923
|
+
# [Perform custom processing on CloudFormation templates with template
|
1924
|
+
# macros][9].
|
1836
1925
|
#
|
1837
1926
|
# Stack sets with service-managed permissions don't currently support
|
1838
1927
|
# the use of macros in templates. (This includes the
|
@@ -1851,9 +1940,9 @@ module Aws::CloudFormation
|
|
1851
1940
|
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
|
1852
1941
|
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
|
1853
1942
|
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
|
1854
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1943
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
1855
1944
|
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
1856
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
1945
|
+
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
1857
1946
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
1858
1947
|
#
|
1859
1948
|
# @option params [Array<Types::Tag>] :tags
|
@@ -1874,8 +1963,8 @@ module Aws::CloudFormation
|
|
1874
1963
|
# Specify an IAM role only if you are using customized administrator
|
1875
1964
|
# roles to control which users or groups can manage specific stack sets
|
1876
1965
|
# within the same administrator account. For more information, see
|
1877
|
-
# [Prerequisites
|
1878
|
-
#
|
1966
|
+
# [Prerequisites for using StackSets][1] in the *CloudFormation User
|
1967
|
+
# Guide*.
|
1879
1968
|
#
|
1880
1969
|
#
|
1881
1970
|
#
|
@@ -1897,17 +1986,17 @@ module Aws::CloudFormation
|
|
1897
1986
|
#
|
1898
1987
|
# * With `self-managed` permissions, you must create the administrator
|
1899
1988
|
# and execution roles required to deploy to target accounts. For more
|
1900
|
-
# information, see [Grant
|
1989
|
+
# information, see [Grant self-managed permissions][1].
|
1901
1990
|
#
|
1902
1991
|
# * With `service-managed` permissions, StackSets automatically creates
|
1903
1992
|
# the IAM roles required to deploy to accounts managed by
|
1904
|
-
# Organizations. For more information, see [
|
1905
|
-
#
|
1993
|
+
# Organizations. For more information, see [Activate trusted access
|
1994
|
+
# for stack sets with Organizations][2].
|
1906
1995
|
#
|
1907
1996
|
#
|
1908
1997
|
#
|
1909
1998
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
1910
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-
|
1999
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html
|
1911
2000
|
#
|
1912
2001
|
# @option params [Types::AutoDeployment] :auto_deployment
|
1913
2002
|
# Describes whether StackSets automatically deploys to Organizations
|
@@ -2232,8 +2321,8 @@ module Aws::CloudFormation
|
|
2232
2321
|
# instances for.
|
2233
2322
|
#
|
2234
2323
|
# @option params [Array<String>] :accounts
|
2235
|
-
# \[Self-managed permissions\] The
|
2236
|
-
# 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.
|
2237
2326
|
#
|
2238
2327
|
# You can specify `Accounts` or `DeploymentTargets`, but not both.
|
2239
2328
|
#
|
@@ -2647,7 +2736,7 @@ module Aws::CloudFormation
|
|
2647
2736
|
# retrieve.
|
2648
2737
|
#
|
2649
2738
|
# @option params [String] :logical_resource_id
|
2650
|
-
# If specified, lists only the
|
2739
|
+
# If specified, lists only the Hooks related to the specified
|
2651
2740
|
# `LogicalResourceId`.
|
2652
2741
|
#
|
2653
2742
|
# @return [Types::DescribeChangeSetHooksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3155,7 +3244,7 @@ module Aws::CloudFormation
|
|
3155
3244
|
# resp.stack_events[0].physical_resource_id #=> String
|
3156
3245
|
# resp.stack_events[0].resource_type #=> String
|
3157
3246
|
# resp.stack_events[0].timestamp #=> Time
|
3158
|
-
# 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"
|
3159
3248
|
# resp.stack_events[0].resource_status_reason #=> String
|
3160
3249
|
# resp.stack_events[0].resource_properties #=> String
|
3161
3250
|
# resp.stack_events[0].client_request_token #=> String
|
@@ -3256,6 +3345,54 @@ module Aws::CloudFormation
|
|
3256
3345
|
req.send_request(options)
|
3257
3346
|
end
|
3258
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<String>
|
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
|
+
|
3259
3396
|
# Returns a description of the specified resource in the specified
|
3260
3397
|
# stack.
|
3261
3398
|
#
|
@@ -3297,7 +3434,7 @@ module Aws::CloudFormation
|
|
3297
3434
|
# resp.stack_resource_detail.physical_resource_id #=> String
|
3298
3435
|
# resp.stack_resource_detail.resource_type #=> String
|
3299
3436
|
# resp.stack_resource_detail.last_updated_timestamp #=> Time
|
3300
|
-
# 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"
|
3301
3438
|
# resp.stack_resource_detail.resource_status_reason #=> String
|
3302
3439
|
# resp.stack_resource_detail.description #=> String
|
3303
3440
|
# resp.stack_resource_detail.metadata #=> String
|
@@ -3494,7 +3631,7 @@ module Aws::CloudFormation
|
|
3494
3631
|
# resp.stack_resources[0].physical_resource_id #=> String
|
3495
3632
|
# resp.stack_resources[0].resource_type #=> String
|
3496
3633
|
# resp.stack_resources[0].timestamp #=> Time
|
3497
|
-
# 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"
|
3498
3635
|
# resp.stack_resources[0].resource_status_reason #=> String
|
3499
3636
|
# resp.stack_resources[0].description #=> String
|
3500
3637
|
# resp.stack_resources[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
|
@@ -4124,8 +4261,8 @@ module Aws::CloudFormation
|
|
4124
4261
|
# Detect drift on a stack set. When CloudFormation performs drift
|
4125
4262
|
# detection on a stack set, it performs drift detection on the stack
|
4126
4263
|
# associated with each stack instance in the stack set. For more
|
4127
|
-
# information, see [
|
4128
|
-
#
|
4264
|
+
# information, see [Performing drift detection on CloudFormation
|
4265
|
+
# StackSets][1].
|
4129
4266
|
#
|
4130
4267
|
# `DetectStackSetDrift` returns the `OperationId` of the stack set drift
|
4131
4268
|
# detection operation. Use this operation id with
|
@@ -4150,9 +4287,6 @@ module Aws::CloudFormation
|
|
4150
4287
|
# specific stack instance, including its drift status and last drift
|
4151
4288
|
# time checked.
|
4152
4289
|
#
|
4153
|
-
# For more information about performing a drift detection operation on a
|
4154
|
-
# stack set, see [Detecting unmanaged changes in stack sets][1].
|
4155
|
-
#
|
4156
4290
|
# You can only run a single drift detection operation on a given stack
|
4157
4291
|
# set at one time.
|
4158
4292
|
#
|
@@ -4252,8 +4386,8 @@ module Aws::CloudFormation
|
|
4252
4386
|
# are passed, only `TemplateBody` is used.
|
4253
4387
|
#
|
4254
4388
|
# @option params [String] :template_url
|
4255
|
-
#
|
4256
|
-
# 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
|
4257
4391
|
# document. The location for an Amazon S3 bucket must start with
|
4258
4392
|
# `https://`.
|
4259
4393
|
#
|
@@ -4375,6 +4509,29 @@ module Aws::CloudFormation
|
|
4375
4509
|
req.send_request(options)
|
4376
4510
|
end
|
4377
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
|
+
|
4378
4535
|
# Retrieves a generated template. If the template is in an `InProgress`
|
4379
4536
|
# or `Pending` status then the template returned will be the template
|
4380
4537
|
# when the template was last in a `Complete` status. If the template has
|
@@ -4568,10 +4725,10 @@ module Aws::CloudFormation
|
|
4568
4725
|
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
4569
4726
|
#
|
4570
4727
|
# @option params [String] :template_url
|
4571
|
-
#
|
4572
|
-
# template (max size:
|
4573
|
-
#
|
4574
|
-
#
|
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://`.
|
4575
4732
|
#
|
4576
4733
|
# Conditional: You must specify only one of the following parameters:
|
4577
4734
|
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
@@ -5615,6 +5772,126 @@ module Aws::CloudFormation
|
|
5615
5772
|
req.send_request(options)
|
5616
5773
|
end
|
5617
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<Types::StackRefactorAction>
|
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<Types::StackRefactorSummary>
|
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
|
+
|
5618
5895
|
# Returns descriptions of all resources of the specified stack.
|
5619
5896
|
#
|
5620
5897
|
# For deleted stacks, ListStackResources returns resource information
|
@@ -5656,7 +5933,7 @@ module Aws::CloudFormation
|
|
5656
5933
|
# resp.stack_resource_summaries[0].physical_resource_id #=> String
|
5657
5934
|
# resp.stack_resource_summaries[0].resource_type #=> String
|
5658
5935
|
# resp.stack_resource_summaries[0].last_updated_timestamp #=> Time
|
5659
|
-
# 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"
|
5660
5937
|
# resp.stack_resource_summaries[0].resource_status_reason #=> String
|
5661
5938
|
# resp.stack_resource_summaries[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
|
5662
5939
|
# resp.stack_resource_summaries[0].drift_information.last_check_timestamp #=> Time
|
@@ -6644,7 +6921,7 @@ module Aws::CloudFormation
|
|
6644
6921
|
#
|
6645
6922
|
# * For modules, `company_or_organization::service::type::MODULE`.
|
6646
6923
|
#
|
6647
|
-
# * For
|
6924
|
+
# * For Hooks, `MyCompany::Testing::MyTestHook`.
|
6648
6925
|
#
|
6649
6926
|
# <note markdown="1"> The following organization namespaces are reserved and can't be used
|
6650
6927
|
# in your extension names:
|
@@ -7408,8 +7685,8 @@ module Aws::CloudFormation
|
|
7408
7685
|
# `true`.
|
7409
7686
|
#
|
7410
7687
|
# @option params [String] :template_url
|
7411
|
-
#
|
7412
|
-
# 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
|
7413
7690
|
# document. The location for an Amazon S3 bucket must start with
|
7414
7691
|
# `https://`.
|
7415
7692
|
#
|
@@ -7488,15 +7765,17 @@ module Aws::CloudFormation
|
|
7488
7765
|
#
|
7489
7766
|
# * [AWS::IAM::InstanceProfile][3]
|
7490
7767
|
#
|
7491
|
-
# * [AWS::IAM::
|
7768
|
+
# * [ AWS::IAM::ManagedPolicy][4]
|
7492
7769
|
#
|
7493
|
-
# * [
|
7770
|
+
# * [AWS::IAM::Policy][5]
|
7494
7771
|
#
|
7495
|
-
# * [ AWS::IAM::
|
7772
|
+
# * [ AWS::IAM::Role][6]
|
7496
7773
|
#
|
7497
|
-
# * [AWS::IAM::
|
7774
|
+
# * [ AWS::IAM::User][7]
|
7775
|
+
#
|
7776
|
+
# * [AWS::IAM::UserToGroupAddition][8]
|
7498
7777
|
# For more information, see [Acknowledging IAM resources in
|
7499
|
-
# CloudFormation templates][
|
7778
|
+
# CloudFormation templates][9].
|
7500
7779
|
#
|
7501
7780
|
# * `CAPABILITY_AUTO_EXPAND`
|
7502
7781
|
#
|
@@ -7509,8 +7788,8 @@ module Aws::CloudFormation
|
|
7509
7788
|
# your stack template contains one or more macros, and you choose to
|
7510
7789
|
# update a stack directly from the processed template, without first
|
7511
7790
|
# reviewing the resulting changes in a change set, you must
|
7512
|
-
# acknowledge this capability. This includes the [AWS::Include][
|
7513
|
-
# [AWS::Serverless][
|
7791
|
+
# acknowledge this capability. This includes the [AWS::Include][10]
|
7792
|
+
# and [AWS::Serverless][11] transforms, which are macros hosted by
|
7514
7793
|
# CloudFormation.
|
7515
7794
|
#
|
7516
7795
|
# If you want to update a stack from a stack template that contains
|
@@ -7526,7 +7805,7 @@ module Aws::CloudFormation
|
|
7526
7805
|
# notified.
|
7527
7806
|
#
|
7528
7807
|
# For more information, see [Perform custom processing on
|
7529
|
-
# CloudFormation templates with template macros][
|
7808
|
+
# CloudFormation templates with template macros][12].
|
7530
7809
|
#
|
7531
7810
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
7532
7811
|
# specified.
|
@@ -7538,14 +7817,15 @@ module Aws::CloudFormation
|
|
7538
7817
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
|
7539
7818
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
|
7540
7819
|
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
|
7541
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
7542
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
7543
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
7544
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
7545
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
7546
|
-
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
7547
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-
|
7548
|
-
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
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
|
7549
7829
|
#
|
7550
7830
|
# @option params [Array<String>] :resource_types
|
7551
7831
|
# The template resource types that you have permissions to work with for
|
@@ -7566,7 +7846,7 @@ module Aws::CloudFormation
|
|
7566
7846
|
#
|
7567
7847
|
#
|
7568
7848
|
#
|
7569
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
7849
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
|
7570
7850
|
#
|
7571
7851
|
# @option params [String] :role_arn
|
7572
7852
|
# The Amazon Resource Name (ARN) of an IAM role that CloudFormation
|
@@ -7747,7 +8027,7 @@ module Aws::CloudFormation
|
|
7747
8027
|
# instances.
|
7748
8028
|
#
|
7749
8029
|
# @option params [Array<String>] :accounts
|
7750
|
-
# \[Self-managed permissions\] The
|
8030
|
+
# \[Self-managed permissions\] The account IDs of one or more Amazon Web
|
7751
8031
|
# Services accounts for which you want to update parameter values for
|
7752
8032
|
# stack instances. The overridden parameter values will be applied to
|
7753
8033
|
# all stack instances in the specified accounts and Amazon Web Services
|
@@ -7924,9 +8204,10 @@ module Aws::CloudFormation
|
|
7924
8204
|
# `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true.
|
7925
8205
|
#
|
7926
8206
|
# @option params [String] :template_url
|
7927
|
-
# The
|
7928
|
-
#
|
7929
|
-
#
|
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://`.
|
7930
8211
|
#
|
7931
8212
|
# Conditional: You must specify only one of the following parameters:
|
7932
8213
|
# `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true.
|
@@ -7990,8 +8271,8 @@ module Aws::CloudFormation
|
|
7990
8271
|
# directly from the processed template, without first reviewing the
|
7991
8272
|
# resulting changes in a change set. To update the stack set directly,
|
7992
8273
|
# you must acknowledge this capability. For more information, see
|
7993
|
-
# [
|
7994
|
-
#
|
8274
|
+
# [Perform custom processing on CloudFormation templates with template
|
8275
|
+
# macros][9].
|
7995
8276
|
#
|
7996
8277
|
# Stack sets with service-managed permissions do not currently support
|
7997
8278
|
# the use of macros in templates. (This includes the
|
@@ -8010,9 +8291,9 @@ module Aws::CloudFormation
|
|
8010
8291
|
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
|
8011
8292
|
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
|
8012
8293
|
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
|
8013
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
8294
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
8014
8295
|
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
8015
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
8296
|
+
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
8016
8297
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
8017
8298
|
#
|
8018
8299
|
# @option params [Array<Types::Tag>] :tags
|
@@ -8056,7 +8337,7 @@ module Aws::CloudFormation
|
|
8056
8337
|
# Specify an IAM role only if you are using customized administrator
|
8057
8338
|
# roles to control which users or groups can manage specific stack sets
|
8058
8339
|
# within the same administrator account. For more information, see
|
8059
|
-
# [
|
8340
|
+
# [Prerequisites for using CloudFormation StackSets][1] in the
|
8060
8341
|
# *CloudFormation User Guide*.
|
8061
8342
|
#
|
8062
8343
|
# If you specified a customized administrator role when you created the
|
@@ -8107,17 +8388,17 @@ module Aws::CloudFormation
|
|
8107
8388
|
#
|
8108
8389
|
# * With `self-managed` permissions, you must create the administrator
|
8109
8390
|
# and execution roles required to deploy to target accounts. For more
|
8110
|
-
# information, see [Grant
|
8391
|
+
# information, see [Grant self-managed permissions][1].
|
8111
8392
|
#
|
8112
8393
|
# * With `service-managed` permissions, StackSets automatically creates
|
8113
8394
|
# the IAM roles required to deploy to accounts managed by
|
8114
|
-
# Organizations. For more information, see [
|
8115
|
-
#
|
8395
|
+
# Organizations. For more information, see [Activate trusted access
|
8396
|
+
# for stack sets with Organizations][2].
|
8116
8397
|
#
|
8117
8398
|
#
|
8118
8399
|
#
|
8119
8400
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
8120
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-
|
8401
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html
|
8121
8402
|
#
|
8122
8403
|
# @option params [Types::AutoDeployment] :auto_deployment
|
8123
8404
|
# \[Service-managed permissions\] Describes whether StackSets
|
@@ -8337,10 +8618,10 @@ module Aws::CloudFormation
|
|
8337
8618
|
# are passed, only `TemplateBody` is used.
|
8338
8619
|
#
|
8339
8620
|
# @option params [String] :template_url
|
8340
|
-
#
|
8341
|
-
# template (max size:
|
8342
|
-
#
|
8343
|
-
#
|
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://`.
|
8344
8625
|
#
|
8345
8626
|
# Conditional: You must pass `TemplateURL` or `TemplateBody`. If both
|
8346
8627
|
# are passed, only `TemplateBody` is used.
|
@@ -8401,7 +8682,7 @@ module Aws::CloudFormation
|
|
8401
8682
|
tracer: tracer
|
8402
8683
|
)
|
8403
8684
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
8404
|
-
context[:gem_version] = '1.
|
8685
|
+
context[:gem_version] = '1.126.0'
|
8405
8686
|
Seahorse::Client::Request.new(handlers, context)
|
8406
8687
|
end
|
8407
8688
|
|
@@ -8467,16 +8748,18 @@ module Aws::CloudFormation
|
|
8467
8748
|
# The following table lists the valid waiter names, the operations they call,
|
8468
8749
|
# and the default `:delay` and `:max_attempts` values.
|
8469
8750
|
#
|
8470
|
-
# | waiter_name
|
8471
|
-
# |
|
8472
|
-
# | change_set_create_complete
|
8473
|
-
# | stack_create_complete
|
8474
|
-
# | stack_delete_complete
|
8475
|
-
# | stack_exists
|
8476
|
-
# | stack_import_complete
|
8477
|
-
# |
|
8478
|
-
# |
|
8479
|
-
# |
|
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 |
|
8480
8763
|
#
|
8481
8764
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
8482
8765
|
# because the waiter has entered a state that it will not transition
|
@@ -8532,6 +8815,8 @@ module Aws::CloudFormation
|
|
8532
8815
|
stack_delete_complete: Waiters::StackDeleteComplete,
|
8533
8816
|
stack_exists: Waiters::StackExists,
|
8534
8817
|
stack_import_complete: Waiters::StackImportComplete,
|
8818
|
+
stack_refactor_create_complete: Waiters::StackRefactorCreateComplete,
|
8819
|
+
stack_refactor_execute_complete: Waiters::StackRefactorExecuteComplete,
|
8535
8820
|
stack_rollback_complete: Waiters::StackRollbackComplete,
|
8536
8821
|
stack_update_complete: Waiters::StackUpdateComplete,
|
8537
8822
|
type_registration_complete: Waiters::TypeRegistrationComplete
|