aws-sdk-cloudformation 1.33.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +32 -9
- data/lib/aws-sdk-cloudformation/client_api.rb +37 -0
- data/lib/aws-sdk-cloudformation/resource.rb +1 -1
- data/lib/aws-sdk-cloudformation/types.rb +49 -12
- data/lib/aws-sdk-cloudformation/waiters.rb +63 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24979486d951b99029cb27ac6bef38ef26328eff0afaddc417c3703746f20c3c
|
4
|
+
data.tar.gz: 726fda529d8a5ca4722c5b4e20d6e5da942396941492d21a0c0733a88e6b6d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab4d91cf1a950e939074a2f407492044d92e819980cd1fd953fc5b871da167a29caaa1ddc5704aa231ba808fc479b2841e64bcd78cabe63c3776d9dcd698bd38
|
7
|
+
data.tar.gz: d22568792cefe76995723c148b972b20774a835cfa123bfac6ef016475881277764ee982cbe47b3187614b9d66c278255414e279b322bca64ccd31551c6a2c81
|
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::CloudFormation
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::Query)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::CloudFormation
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::CloudFormation
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::CloudFormation
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -1742,6 +1744,8 @@ module Aws::CloudFormation
|
|
1742
1744
|
# * {Types::DescribeAccountLimitsOutput#account_limits #account_limits} => Array<Types::AccountLimit>
|
1743
1745
|
# * {Types::DescribeAccountLimitsOutput#next_token #next_token} => String
|
1744
1746
|
#
|
1747
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1748
|
+
#
|
1745
1749
|
# @example Request syntax with placeholder values
|
1746
1750
|
#
|
1747
1751
|
# resp = client.describe_account_limits({
|
@@ -2509,6 +2513,7 @@ module Aws::CloudFormation
|
|
2509
2513
|
# * stack_delete_complete
|
2510
2514
|
# * stack_exists
|
2511
2515
|
# * stack_import_complete
|
2516
|
+
# * stack_rollback_complete
|
2512
2517
|
# * stack_update_complete
|
2513
2518
|
#
|
2514
2519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks AWS API Documentation
|
@@ -2558,6 +2563,7 @@ module Aws::CloudFormation
|
|
2558
2563
|
# * {Types::DescribeTypeOutput#type #type} => String
|
2559
2564
|
# * {Types::DescribeTypeOutput#type_name #type_name} => String
|
2560
2565
|
# * {Types::DescribeTypeOutput#default_version_id #default_version_id} => String
|
2566
|
+
# * {Types::DescribeTypeOutput#is_default_version #is_default_version} => Boolean
|
2561
2567
|
# * {Types::DescribeTypeOutput#description #description} => String
|
2562
2568
|
# * {Types::DescribeTypeOutput#schema #schema} => String
|
2563
2569
|
# * {Types::DescribeTypeOutput#provisioning_type #provisioning_type} => String
|
@@ -2585,6 +2591,7 @@ module Aws::CloudFormation
|
|
2585
2591
|
# resp.type #=> String, one of "RESOURCE"
|
2586
2592
|
# resp.type_name #=> String
|
2587
2593
|
# resp.default_version_id #=> String
|
2594
|
+
# resp.is_default_version #=> Boolean
|
2588
2595
|
# resp.description #=> String
|
2589
2596
|
# resp.schema #=> String
|
2590
2597
|
# resp.provisioning_type #=> String, one of "NON_PROVISIONABLE", "IMMUTABLE", "FULLY_MUTABLE"
|
@@ -3218,6 +3225,8 @@ module Aws::CloudFormation
|
|
3218
3225
|
# * {Types::ListChangeSetsOutput#summaries #summaries} => Array<Types::ChangeSetSummary>
|
3219
3226
|
# * {Types::ListChangeSetsOutput#next_token #next_token} => String
|
3220
3227
|
#
|
3228
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3229
|
+
#
|
3221
3230
|
# @example Request syntax with placeholder values
|
3222
3231
|
#
|
3223
3232
|
# resp = client.list_change_sets({
|
@@ -3378,6 +3387,8 @@ module Aws::CloudFormation
|
|
3378
3387
|
# * {Types::ListStackInstancesOutput#summaries #summaries} => Array<Types::StackInstanceSummary>
|
3379
3388
|
# * {Types::ListStackInstancesOutput#next_token #next_token} => String
|
3380
3389
|
#
|
3390
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3391
|
+
#
|
3381
3392
|
# @example Request syntax with placeholder values
|
3382
3393
|
#
|
3383
3394
|
# resp = client.list_stack_instances({
|
@@ -3497,6 +3508,8 @@ module Aws::CloudFormation
|
|
3497
3508
|
# * {Types::ListStackSetOperationResultsOutput#summaries #summaries} => Array<Types::StackSetOperationResultSummary>
|
3498
3509
|
# * {Types::ListStackSetOperationResultsOutput#next_token #next_token} => String
|
3499
3510
|
#
|
3511
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3512
|
+
#
|
3500
3513
|
# @example Request syntax with placeholder values
|
3501
3514
|
#
|
3502
3515
|
# resp = client.list_stack_set_operation_results({
|
@@ -3553,6 +3566,8 @@ module Aws::CloudFormation
|
|
3553
3566
|
# * {Types::ListStackSetOperationsOutput#summaries #summaries} => Array<Types::StackSetOperationSummary>
|
3554
3567
|
# * {Types::ListStackSetOperationsOutput#next_token #next_token} => String
|
3555
3568
|
#
|
3569
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3570
|
+
#
|
3556
3571
|
# @example Request syntax with placeholder values
|
3557
3572
|
#
|
3558
3573
|
# resp = client.list_stack_set_operations({
|
@@ -3606,6 +3621,8 @@ module Aws::CloudFormation
|
|
3606
3621
|
# * {Types::ListStackSetsOutput#summaries #summaries} => Array<Types::StackSetSummary>
|
3607
3622
|
# * {Types::ListStackSetsOutput#next_token #next_token} => String
|
3608
3623
|
#
|
3624
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3625
|
+
#
|
3609
3626
|
# @example Request syntax with placeholder values
|
3610
3627
|
#
|
3611
3628
|
# resp = client.list_stack_sets({
|
@@ -3838,6 +3855,7 @@ module Aws::CloudFormation
|
|
3838
3855
|
# resp.type_version_summaries[0].type #=> String, one of "RESOURCE"
|
3839
3856
|
# resp.type_version_summaries[0].type_name #=> String
|
3840
3857
|
# resp.type_version_summaries[0].version_id #=> String
|
3858
|
+
# resp.type_version_summaries[0].is_default_version #=> Boolean
|
3841
3859
|
# resp.type_version_summaries[0].arn #=> String
|
3842
3860
|
# resp.type_version_summaries[0].time_created #=> Time
|
3843
3861
|
# resp.type_version_summaries[0].description #=> String
|
@@ -4112,14 +4130,17 @@ module Aws::CloudFormation
|
|
4112
4130
|
# Specifies logging configuration information for a type.
|
4113
4131
|
#
|
4114
4132
|
# @option params [String] :execution_role_arn
|
4115
|
-
# The Amazon Resource Name (ARN) of the IAM
|
4116
|
-
#
|
4117
|
-
# handlers, you must create an <i> <a
|
4133
|
+
# The Amazon Resource Name (ARN) of the IAM role for CloudFormation to
|
4134
|
+
# assume when invoking the resource provider. If your resource type
|
4135
|
+
# calls AWS APIs in any of its handlers, you must create an <i> <a
|
4118
4136
|
# href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
|
4119
4137
|
# execution role</a> </i> that includes the necessary permissions to
|
4120
4138
|
# call those AWS APIs, and provision that execution role in your
|
4121
|
-
# account. CloudFormation
|
4122
|
-
#
|
4139
|
+
# account. When CloudFormation needs to invoke the resource provider
|
4140
|
+
# handler, CloudFormation assumes this execution role to create a
|
4141
|
+
# temporary session token, which it then passes to the resource provider
|
4142
|
+
# handler, thereby supplying your resource provider with the appropriate
|
4143
|
+
# credentials.
|
4123
4144
|
#
|
4124
4145
|
# @option params [String] :client_request_token
|
4125
4146
|
# A unique identifier that acts as an idempotency key for this
|
@@ -5282,7 +5303,7 @@ module Aws::CloudFormation
|
|
5282
5303
|
params: params,
|
5283
5304
|
config: config)
|
5284
5305
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
5285
|
-
context[:gem_version] = '1.
|
5306
|
+
context[:gem_version] = '1.38.0'
|
5286
5307
|
Seahorse::Client::Request.new(handlers, context)
|
5287
5308
|
end
|
5288
5309
|
|
@@ -5355,6 +5376,7 @@ module Aws::CloudFormation
|
|
5355
5376
|
# | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
|
5356
5377
|
# | stack_exists | {Client#describe_stacks} | 5 | 20 |
|
5357
5378
|
# | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
|
5379
|
+
# | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
|
5358
5380
|
# | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
|
5359
5381
|
# | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
|
5360
5382
|
#
|
@@ -5412,6 +5434,7 @@ module Aws::CloudFormation
|
|
5412
5434
|
stack_delete_complete: Waiters::StackDeleteComplete,
|
5413
5435
|
stack_exists: Waiters::StackExists,
|
5414
5436
|
stack_import_complete: Waiters::StackImportComplete,
|
5437
|
+
stack_rollback_complete: Waiters::StackRollbackComplete,
|
5415
5438
|
stack_update_complete: Waiters::StackUpdateComplete,
|
5416
5439
|
type_registration_complete: Waiters::TypeRegistrationComplete
|
5417
5440
|
}
|
@@ -139,6 +139,7 @@ module Aws::CloudFormation
|
|
139
139
|
InvalidChangeSetStatusException = Shapes::StructureShape.new(name: 'InvalidChangeSetStatusException')
|
140
140
|
InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
|
141
141
|
InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException')
|
142
|
+
IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
|
142
143
|
Key = Shapes::StringShape.new(name: 'Key')
|
143
144
|
LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
|
144
145
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -663,6 +664,7 @@ module Aws::CloudFormation
|
|
663
664
|
DescribeTypeOutput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
|
664
665
|
DescribeTypeOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
665
666
|
DescribeTypeOutput.add_member(:default_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "DefaultVersionId"))
|
667
|
+
DescribeTypeOutput.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion"))
|
666
668
|
DescribeTypeOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
667
669
|
DescribeTypeOutput.add_member(:schema, Shapes::ShapeRef.new(shape: TypeSchema, location_name: "Schema"))
|
668
670
|
DescribeTypeOutput.add_member(:provisioning_type, Shapes::ShapeRef.new(shape: ProvisioningType, location_name: "ProvisioningType"))
|
@@ -1336,6 +1338,7 @@ module Aws::CloudFormation
|
|
1336
1338
|
TypeVersionSummary.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
|
1337
1339
|
TypeVersionSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
1338
1340
|
TypeVersionSummary.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId"))
|
1341
|
+
TypeVersionSummary.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion"))
|
1339
1342
|
TypeVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn"))
|
1340
1343
|
TypeVersionSummary.add_member(:time_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TimeCreated"))
|
1341
1344
|
TypeVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -1554,6 +1557,11 @@ module Aws::CloudFormation
|
|
1554
1557
|
o.http_request_uri = "/"
|
1555
1558
|
o.input = Shapes::ShapeRef.new(shape: DescribeAccountLimitsInput)
|
1556
1559
|
o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput)
|
1560
|
+
o[:pager] = Aws::Pager.new(
|
1561
|
+
tokens: {
|
1562
|
+
"next_token" => "next_token"
|
1563
|
+
}
|
1564
|
+
)
|
1557
1565
|
end)
|
1558
1566
|
|
1559
1567
|
api.add_operation(:describe_change_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1756,6 +1764,11 @@ module Aws::CloudFormation
|
|
1756
1764
|
o.http_request_uri = "/"
|
1757
1765
|
o.input = Shapes::ShapeRef.new(shape: ListChangeSetsInput)
|
1758
1766
|
o.output = Shapes::ShapeRef.new(shape: ListChangeSetsOutput)
|
1767
|
+
o[:pager] = Aws::Pager.new(
|
1768
|
+
tokens: {
|
1769
|
+
"next_token" => "next_token"
|
1770
|
+
}
|
1771
|
+
)
|
1759
1772
|
end)
|
1760
1773
|
|
1761
1774
|
api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1791,6 +1804,12 @@ module Aws::CloudFormation
|
|
1791
1804
|
o.input = Shapes::ShapeRef.new(shape: ListStackInstancesInput)
|
1792
1805
|
o.output = Shapes::ShapeRef.new(shape: ListStackInstancesOutput)
|
1793
1806
|
o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
|
1807
|
+
o[:pager] = Aws::Pager.new(
|
1808
|
+
limit_key: "max_results",
|
1809
|
+
tokens: {
|
1810
|
+
"next_token" => "next_token"
|
1811
|
+
}
|
1812
|
+
)
|
1794
1813
|
end)
|
1795
1814
|
|
1796
1815
|
api.add_operation(:list_stack_resources, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1814,6 +1833,12 @@ module Aws::CloudFormation
|
|
1814
1833
|
o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationResultsOutput)
|
1815
1834
|
o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
|
1816
1835
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException)
|
1836
|
+
o[:pager] = Aws::Pager.new(
|
1837
|
+
limit_key: "max_results",
|
1838
|
+
tokens: {
|
1839
|
+
"next_token" => "next_token"
|
1840
|
+
}
|
1841
|
+
)
|
1817
1842
|
end)
|
1818
1843
|
|
1819
1844
|
api.add_operation(:list_stack_set_operations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1823,6 +1848,12 @@ module Aws::CloudFormation
|
|
1823
1848
|
o.input = Shapes::ShapeRef.new(shape: ListStackSetOperationsInput)
|
1824
1849
|
o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationsOutput)
|
1825
1850
|
o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
|
1851
|
+
o[:pager] = Aws::Pager.new(
|
1852
|
+
limit_key: "max_results",
|
1853
|
+
tokens: {
|
1854
|
+
"next_token" => "next_token"
|
1855
|
+
}
|
1856
|
+
)
|
1826
1857
|
end)
|
1827
1858
|
|
1828
1859
|
api.add_operation(:list_stack_sets, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1831,6 +1862,12 @@ module Aws::CloudFormation
|
|
1831
1862
|
o.http_request_uri = "/"
|
1832
1863
|
o.input = Shapes::ShapeRef.new(shape: ListStackSetsInput)
|
1833
1864
|
o.output = Shapes::ShapeRef.new(shape: ListStackSetsOutput)
|
1865
|
+
o[:pager] = Aws::Pager.new(
|
1866
|
+
limit_key: "max_results",
|
1867
|
+
tokens: {
|
1868
|
+
"next_token" => "next_token"
|
1869
|
+
}
|
1870
|
+
)
|
1834
1871
|
end)
|
1835
1872
|
|
1836
1873
|
api.add_operation(:list_stacks, Seahorse::Model::Operation.new.tap do |o|
|
@@ -316,7 +316,7 @@ module Aws::CloudFormation
|
|
316
316
|
# [2]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
|
317
317
|
# @return [Stack]
|
318
318
|
def create_stack(options = {})
|
319
|
-
|
319
|
+
@client.create_stack(options)
|
320
320
|
Stack.new(
|
321
321
|
name: options[:stack_name],
|
322
322
|
client: @client
|
@@ -2584,6 +2584,10 @@ module Aws::CloudFormation
|
|
2584
2584
|
# To set the default version of a type, use ` SetTypeDefaultVersion `.
|
2585
2585
|
# @return [String]
|
2586
2586
|
#
|
2587
|
+
# @!attribute [rw] is_default_version
|
2588
|
+
# Whether the specified type version is set as the default version.
|
2589
|
+
# @return [Boolean]
|
2590
|
+
#
|
2587
2591
|
# @!attribute [rw] description
|
2588
2592
|
# The description of the registered type.
|
2589
2593
|
# @return [String]
|
@@ -2688,6 +2692,7 @@ module Aws::CloudFormation
|
|
2688
2692
|
:type,
|
2689
2693
|
:type_name,
|
2690
2694
|
:default_version_id,
|
2695
|
+
:is_default_version,
|
2691
2696
|
:description,
|
2692
2697
|
:schema,
|
2693
2698
|
:provisioning_type,
|
@@ -4572,14 +4577,17 @@ module Aws::CloudFormation
|
|
4572
4577
|
# @return [Types::LoggingConfig]
|
4573
4578
|
#
|
4574
4579
|
# @!attribute [rw] execution_role_arn
|
4575
|
-
# The Amazon Resource Name (ARN) of the IAM
|
4576
|
-
#
|
4577
|
-
# its handlers, you must create an <i> <a
|
4580
|
+
# The Amazon Resource Name (ARN) of the IAM role for CloudFormation to
|
4581
|
+
# assume when invoking the resource provider. If your resource type
|
4582
|
+
# calls AWS APIs in any of its handlers, you must create an <i> <a
|
4578
4583
|
# href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
|
4579
4584
|
# execution role</a> </i> that includes the necessary permissions to
|
4580
4585
|
# call those AWS APIs, and provision that execution role in your
|
4581
|
-
# account. CloudFormation
|
4582
|
-
#
|
4586
|
+
# account. When CloudFormation needs to invoke the resource provider
|
4587
|
+
# handler, CloudFormation assumes this execution role to create a
|
4588
|
+
# temporary session token, which it then passes to the resource
|
4589
|
+
# provider handler, thereby supplying your resource provider with the
|
4590
|
+
# appropriate credentials.
|
4583
4591
|
# @return [String]
|
4584
4592
|
#
|
4585
4593
|
# @!attribute [rw] client_request_token
|
@@ -5514,7 +5522,13 @@ module Aws::CloudFormation
|
|
5514
5522
|
# @return [String]
|
5515
5523
|
#
|
5516
5524
|
# @!attribute [rw] organizational_unit_id
|
5517
|
-
#
|
5525
|
+
# \[`Service-managed` permissions\] The organization root ID or
|
5526
|
+
# organizational unit (OU) IDs that you specified for
|
5527
|
+
# [DeploymentTargets][1].
|
5528
|
+
#
|
5529
|
+
#
|
5530
|
+
#
|
5531
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html
|
5518
5532
|
# @return [String]
|
5519
5533
|
#
|
5520
5534
|
# @!attribute [rw] drift_status
|
@@ -5616,7 +5630,13 @@ module Aws::CloudFormation
|
|
5616
5630
|
# @return [String]
|
5617
5631
|
#
|
5618
5632
|
# @!attribute [rw] organizational_unit_id
|
5619
|
-
#
|
5633
|
+
# \[`Service-managed` permissions\] The organization root ID or
|
5634
|
+
# organizational unit (OU) IDs that you specified for
|
5635
|
+
# [DeploymentTargets][1].
|
5636
|
+
#
|
5637
|
+
#
|
5638
|
+
#
|
5639
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html
|
5620
5640
|
# @return [String]
|
5621
5641
|
#
|
5622
5642
|
# @!attribute [rw] drift_status
|
@@ -6177,7 +6197,13 @@ module Aws::CloudFormation
|
|
6177
6197
|
# @return [String]
|
6178
6198
|
#
|
6179
6199
|
# @!attribute [rw] organizational_unit_ids
|
6180
|
-
#
|
6200
|
+
# \[`Service-managed` permissions\] The organization root ID or
|
6201
|
+
# organizational unit (OU) IDs that you specified for
|
6202
|
+
# [DeploymentTargets][1].
|
6203
|
+
#
|
6204
|
+
#
|
6205
|
+
#
|
6206
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html
|
6181
6207
|
# @return [Array<String>]
|
6182
6208
|
#
|
6183
6209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet AWS API Documentation
|
@@ -6521,9 +6547,9 @@ module Aws::CloudFormation
|
|
6521
6547
|
#
|
6522
6548
|
# @!attribute [rw] max_concurrent_count
|
6523
6549
|
# The maximum number of accounts in which to perform this operation at
|
6524
|
-
# one time. This is dependent on the value of
|
6525
|
-
# `
|
6526
|
-
#
|
6550
|
+
# one time. This is dependent on the value of `FailureToleranceCount`.
|
6551
|
+
# `MaxConcurrentCount` is at most one more than the
|
6552
|
+
# `FailureToleranceCount`.
|
6527
6553
|
#
|
6528
6554
|
# Note that this setting lets you specify the *maximum* for
|
6529
6555
|
# operations. For large deployments, under certain circumstances the
|
@@ -6612,7 +6638,13 @@ module Aws::CloudFormation
|
|
6612
6638
|
# @return [Types::AccountGateResult]
|
6613
6639
|
#
|
6614
6640
|
# @!attribute [rw] organizational_unit_id
|
6615
|
-
#
|
6641
|
+
# \[`Service-managed` permissions\] The organization root ID or
|
6642
|
+
# organizational unit (OU) IDs that you specified for
|
6643
|
+
# [DeploymentTargets][1].
|
6644
|
+
#
|
6645
|
+
#
|
6646
|
+
#
|
6647
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html
|
6616
6648
|
# @return [String]
|
6617
6649
|
#
|
6618
6650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary AWS API Documentation
|
@@ -7047,6 +7079,10 @@ module Aws::CloudFormation
|
|
7047
7079
|
# type version when it is registered.
|
7048
7080
|
# @return [String]
|
7049
7081
|
#
|
7082
|
+
# @!attribute [rw] is_default_version
|
7083
|
+
# Whether the specified type version is set as the default version.
|
7084
|
+
# @return [Boolean]
|
7085
|
+
#
|
7050
7086
|
# @!attribute [rw] arn
|
7051
7087
|
# The Amazon Resource Name (ARN) of the type version.
|
7052
7088
|
# @return [String]
|
@@ -7065,6 +7101,7 @@ module Aws::CloudFormation
|
|
7065
7101
|
:type,
|
7066
7102
|
:type_name,
|
7067
7103
|
:version_id,
|
7104
|
+
:is_default_version,
|
7068
7105
|
:arn,
|
7069
7106
|
:time_created,
|
7070
7107
|
:description)
|
@@ -72,6 +72,7 @@ module Aws::CloudFormation
|
|
72
72
|
# | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
|
73
73
|
# | stack_exists | {Client#describe_stacks} | 5 | 20 |
|
74
74
|
# | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
|
75
|
+
# | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
|
75
76
|
# | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
|
76
77
|
# | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
|
77
78
|
#
|
@@ -397,6 +398,68 @@ module Aws::CloudFormation
|
|
397
398
|
|
398
399
|
end
|
399
400
|
|
401
|
+
# Wait until stack status is UPDATE_ROLLBACK_COMPLETE.
|
402
|
+
class StackRollbackComplete
|
403
|
+
|
404
|
+
# @param [Hash] options
|
405
|
+
# @option options [required, Client] :client
|
406
|
+
# @option options [Integer] :max_attempts (120)
|
407
|
+
# @option options [Integer] :delay (30)
|
408
|
+
# @option options [Proc] :before_attempt
|
409
|
+
# @option options [Proc] :before_wait
|
410
|
+
def initialize(options)
|
411
|
+
@client = options.fetch(:client)
|
412
|
+
@waiter = Aws::Waiters::Waiter.new({
|
413
|
+
max_attempts: 120,
|
414
|
+
delay: 30,
|
415
|
+
poller: Aws::Waiters::Poller.new(
|
416
|
+
operation_name: :describe_stacks,
|
417
|
+
acceptors: [
|
418
|
+
{
|
419
|
+
"argument" => "stacks[].stack_status",
|
420
|
+
"expected" => "UPDATE_ROLLBACK_COMPLETE",
|
421
|
+
"matcher" => "pathAll",
|
422
|
+
"state" => "success"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"argument" => "stacks[].stack_status",
|
426
|
+
"expected" => "UPDATE_FAILED",
|
427
|
+
"matcher" => "pathAny",
|
428
|
+
"state" => "failure"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"argument" => "stacks[].stack_status",
|
432
|
+
"expected" => "UPDATE_ROLLBACK_FAILED",
|
433
|
+
"matcher" => "pathAny",
|
434
|
+
"state" => "failure"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"argument" => "stacks[].stack_status",
|
438
|
+
"expected" => "DELETE_FAILED",
|
439
|
+
"matcher" => "pathAny",
|
440
|
+
"state" => "failure"
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"expected" => "ValidationError",
|
444
|
+
"matcher" => "error",
|
445
|
+
"state" => "failure"
|
446
|
+
}
|
447
|
+
]
|
448
|
+
)
|
449
|
+
}.merge(options))
|
450
|
+
end
|
451
|
+
|
452
|
+
# @option (see Client#describe_stacks)
|
453
|
+
# @return (see Client#describe_stacks)
|
454
|
+
def wait(params = {})
|
455
|
+
@waiter.wait(client: @client, params: params)
|
456
|
+
end
|
457
|
+
|
458
|
+
# @api private
|
459
|
+
attr_reader :waiter
|
460
|
+
|
461
|
+
end
|
462
|
+
|
400
463
|
# Wait until stack status is UPDATE_COMPLETE.
|
401
464
|
class StackUpdateComplete
|
402
465
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudformation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|