aws-sdk-cloudformation 1.30.0 → 1.31.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 +7 -4
- data/lib/aws-sdk-cloudformation/client.rb +61 -10
- data/lib/aws-sdk-cloudformation/client_api.rb +38 -0
- data/lib/aws-sdk-cloudformation/errors.rb +231 -0
- data/lib/aws-sdk-cloudformation/event.rb +1 -0
- data/lib/aws-sdk-cloudformation/resource.rb +7 -0
- data/lib/aws-sdk-cloudformation/stack.rb +1 -0
- data/lib/aws-sdk-cloudformation/stack_resource.rb +1 -0
- data/lib/aws-sdk-cloudformation/stack_resource_summary.rb +1 -0
- data/lib/aws-sdk-cloudformation/types.rb +139 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7e48150e8125d5c7c373ed7aa8987b4e18d794
|
4
|
+
data.tar.gz: a9088ed012a4ef68228a17cab6802bb1abebd32c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41674c031d133ee7c9515405a4623a737a62692b5081aee2b205836d6f803fa07f6a150d9ccfcb180b332ec380eeab8899e0d361bf8c5e7140d83536b2ab98e4
|
7
|
+
data.tar.gz: 88b5c85e0e2377cc4bd99fd21ce08e54ff92ddf7d60f3e5a36cbc39a438c31f14dc6265c16234437373bed0cfa92acc3f2ded08609a6f5f7652085d1fd3b4166
|
@@ -29,17 +29,20 @@ require_relative 'aws-sdk-cloudformation/customizations'
|
|
29
29
|
# methods each accept a hash of request parameters and return a response
|
30
30
|
# structure.
|
31
31
|
#
|
32
|
+
# cloud_formation = Aws::CloudFormation::Client.new
|
33
|
+
# resp = cloud_formation.cancel_update_stack(params)
|
34
|
+
#
|
32
35
|
# See {Client} for more information.
|
33
36
|
#
|
34
37
|
# # Errors
|
35
38
|
#
|
36
|
-
# Errors returned from AWS CloudFormation
|
37
|
-
# extend {Errors::ServiceError}.
|
39
|
+
# Errors returned from AWS CloudFormation are defined in the
|
40
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
38
41
|
#
|
39
42
|
# begin
|
40
43
|
# # do stuff
|
41
44
|
# rescue Aws::CloudFormation::Errors::ServiceError
|
42
|
-
# # rescues all
|
45
|
+
# # rescues all AWS CloudFormation API errors
|
43
46
|
# end
|
44
47
|
#
|
45
48
|
# See {Errors} for more information.
|
@@ -47,6 +50,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
|
|
47
50
|
# @service
|
48
51
|
module Aws::CloudFormation
|
49
52
|
|
50
|
-
GEM_VERSION = '1.
|
53
|
+
GEM_VERSION = '1.31.0'
|
51
54
|
|
52
55
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudformation)
|
31
31
|
|
32
32
|
module Aws::CloudFormation
|
33
|
+
# An API client for CloudFormation. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::CloudFormation::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -108,6 +120,12 @@ module Aws::CloudFormation
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::CloudFormation
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -166,15 +188,29 @@ module Aws::CloudFormation
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,26 @@ module Aws::CloudFormation
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
233
|
+
# no retry mode is provided.
|
234
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
235
|
+
# This includes support for retry quotas, which limit the number of
|
236
|
+
# unsuccessful retries a client can make.
|
237
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
238
|
+
# functionality of `standard` mode along with automatic client side
|
239
|
+
# throttling. This is a provisional mode that may change behavior
|
240
|
+
# in the future.
|
190
241
|
#
|
191
242
|
# @option options [String] :secret_access_key
|
192
243
|
#
|
@@ -209,16 +260,16 @@ module Aws::CloudFormation
|
|
209
260
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
261
|
#
|
211
262
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
263
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
264
|
# `Timeout::Error`.
|
214
265
|
#
|
215
266
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
267
|
# number of seconds to wait for response data. This value can
|
217
268
|
# safely be set
|
218
|
-
# per-request on the session
|
269
|
+
# per-request on the session yielded by {#session_for}.
|
219
270
|
#
|
220
271
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
272
|
+
# seconds a connection is allowed to sit idle before it is
|
222
273
|
# considered stale. Stale connections are closed and removed
|
223
274
|
# from the pool before making a request.
|
224
275
|
#
|
@@ -227,7 +278,7 @@ module Aws::CloudFormation
|
|
227
278
|
# request body. This option has no effect unless the request has
|
228
279
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
280
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
281
|
+
# request on the session yielded by {#session_for}.
|
231
282
|
#
|
232
283
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
284
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -5187,7 +5238,7 @@ module Aws::CloudFormation
|
|
5187
5238
|
params: params,
|
5188
5239
|
config: config)
|
5189
5240
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
5190
|
-
context[:gem_version] = '1.
|
5241
|
+
context[:gem_version] = '1.31.0'
|
5191
5242
|
Seahorse::Client::Request.new(handlers, context)
|
5192
5243
|
end
|
5193
5244
|
|
@@ -389,6 +389,8 @@ module Aws::CloudFormation
|
|
389
389
|
|
390
390
|
AllowedValues.member = Shapes::ShapeRef.new(shape: AllowedValue)
|
391
391
|
|
392
|
+
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
393
|
+
|
392
394
|
AutoDeployment.add_member(:enabled, Shapes::ShapeRef.new(shape: AutoDeploymentNullable, location_name: "Enabled"))
|
393
395
|
AutoDeployment.add_member(:retain_stacks_on_account_removal, Shapes::ShapeRef.new(shape: RetainStacksOnAccountRemovalNullable, location_name: "RetainStacksOnAccountRemoval"))
|
394
396
|
AutoDeployment.struct_class = Types::AutoDeployment
|
@@ -406,6 +408,8 @@ module Aws::CloudFormation
|
|
406
408
|
Change.add_member(:resource_change, Shapes::ShapeRef.new(shape: ResourceChange, location_name: "ResourceChange"))
|
407
409
|
Change.struct_class = Types::Change
|
408
410
|
|
411
|
+
ChangeSetNotFoundException.struct_class = Types::ChangeSetNotFoundException
|
412
|
+
|
409
413
|
ChangeSetSummaries.member = Shapes::ShapeRef.new(shape: ChangeSetSummary)
|
410
414
|
|
411
415
|
ChangeSetSummary.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
@@ -502,6 +506,8 @@ module Aws::CloudFormation
|
|
502
506
|
CreateStackSetOutput.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId"))
|
503
507
|
CreateStackSetOutput.struct_class = Types::CreateStackSetOutput
|
504
508
|
|
509
|
+
CreatedButModifiedException.struct_class = Types::CreatedButModifiedException
|
510
|
+
|
505
511
|
DeleteChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName"))
|
506
512
|
DeleteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName"))
|
507
513
|
DeleteChangeSetInput.struct_class = Types::DeleteChangeSetInput
|
@@ -757,6 +763,16 @@ module Aws::CloudFormation
|
|
757
763
|
|
758
764
|
Imports.member = Shapes::ShapeRef.new(shape: StackName)
|
759
765
|
|
766
|
+
InsufficientCapabilitiesException.struct_class = Types::InsufficientCapabilitiesException
|
767
|
+
|
768
|
+
InvalidChangeSetStatusException.struct_class = Types::InvalidChangeSetStatusException
|
769
|
+
|
770
|
+
InvalidOperationException.struct_class = Types::InvalidOperationException
|
771
|
+
|
772
|
+
InvalidStateTransitionException.struct_class = Types::InvalidStateTransitionException
|
773
|
+
|
774
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
775
|
+
|
760
776
|
ListChangeSetsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName"))
|
761
777
|
ListChangeSetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
762
778
|
ListChangeSetsInput.struct_class = Types::ListChangeSetsInput
|
@@ -876,8 +892,18 @@ module Aws::CloudFormation
|
|
876
892
|
|
877
893
|
LogicalResourceIds.member = Shapes::ShapeRef.new(shape: LogicalResourceId)
|
878
894
|
|
895
|
+
NameAlreadyExistsException.struct_class = Types::NameAlreadyExistsException
|
896
|
+
|
879
897
|
NotificationARNs.member = Shapes::ShapeRef.new(shape: NotificationARN)
|
880
898
|
|
899
|
+
OperationIdAlreadyExistsException.struct_class = Types::OperationIdAlreadyExistsException
|
900
|
+
|
901
|
+
OperationInProgressException.struct_class = Types::OperationInProgressException
|
902
|
+
|
903
|
+
OperationNotFoundException.struct_class = Types::OperationNotFoundException
|
904
|
+
|
905
|
+
OperationStatusCheckFailedException.struct_class = Types::OperationStatusCheckFailedException
|
906
|
+
|
881
907
|
OrganizationalUnitIdList.member = Shapes::ShapeRef.new(shape: OrganizationalUnitId)
|
882
908
|
|
883
909
|
Output.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
@@ -1086,6 +1112,8 @@ module Aws::CloudFormation
|
|
1086
1112
|
StackInstance.add_member(:last_drift_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastDriftCheckTimestamp"))
|
1087
1113
|
StackInstance.struct_class = Types::StackInstance
|
1088
1114
|
|
1115
|
+
StackInstanceNotFoundException.struct_class = Types::StackInstanceNotFoundException
|
1116
|
+
|
1089
1117
|
StackInstanceSummaries.member = Shapes::ShapeRef.new(shape: StackInstanceSummary)
|
1090
1118
|
|
1091
1119
|
StackInstanceSummary.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId"))
|
@@ -1188,6 +1216,10 @@ module Aws::CloudFormation
|
|
1188
1216
|
StackSetDriftDetectionDetails.add_member(:failed_stack_instances_count, Shapes::ShapeRef.new(shape: FailedStackInstancesCount, location_name: "FailedStackInstancesCount"))
|
1189
1217
|
StackSetDriftDetectionDetails.struct_class = Types::StackSetDriftDetectionDetails
|
1190
1218
|
|
1219
|
+
StackSetNotEmptyException.struct_class = Types::StackSetNotEmptyException
|
1220
|
+
|
1221
|
+
StackSetNotFoundException.struct_class = Types::StackSetNotFoundException
|
1222
|
+
|
1191
1223
|
StackSetOperation.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId"))
|
1192
1224
|
StackSetOperation.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId"))
|
1193
1225
|
StackSetOperation.add_member(:action, Shapes::ShapeRef.new(shape: StackSetOperationAction, location_name: "Action"))
|
@@ -1261,6 +1293,8 @@ module Aws::CloudFormation
|
|
1261
1293
|
|
1262
1294
|
StageList.member = Shapes::ShapeRef.new(shape: TemplateStage)
|
1263
1295
|
|
1296
|
+
StaleRequestException.struct_class = Types::StaleRequestException
|
1297
|
+
|
1264
1298
|
StopStackSetOperationInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
|
1265
1299
|
StopStackSetOperationInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "OperationId"))
|
1266
1300
|
StopStackSetOperationInput.struct_class = Types::StopStackSetOperationInput
|
@@ -1281,8 +1315,12 @@ module Aws::CloudFormation
|
|
1281
1315
|
|
1282
1316
|
TemplateParameters.member = Shapes::ShapeRef.new(shape: TemplateParameter)
|
1283
1317
|
|
1318
|
+
TokenAlreadyExistsException.struct_class = Types::TokenAlreadyExistsException
|
1319
|
+
|
1284
1320
|
TransformsList.member = Shapes::ShapeRef.new(shape: TransformName)
|
1285
1321
|
|
1322
|
+
TypeNotFoundException.struct_class = Types::TypeNotFoundException
|
1323
|
+
|
1286
1324
|
TypeSummaries.member = Shapes::ShapeRef.new(shape: TypeSummary)
|
1287
1325
|
|
1288
1326
|
TypeSummary.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
|
@@ -6,10 +6,62 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CloudFormation
|
9
|
+
|
10
|
+
# When CloudFormation returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::CloudFormation::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all CloudFormation errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::CloudFormation::Errors::ServiceError
|
18
|
+
# # rescues all CloudFormation API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {AlreadyExistsException}
|
29
|
+
# * {CFNRegistryException}
|
30
|
+
# * {ChangeSetNotFoundException}
|
31
|
+
# * {CreatedButModifiedException}
|
32
|
+
# * {InsufficientCapabilitiesException}
|
33
|
+
# * {InvalidChangeSetStatusException}
|
34
|
+
# * {InvalidOperationException}
|
35
|
+
# * {InvalidStateTransitionException}
|
36
|
+
# * {LimitExceededException}
|
37
|
+
# * {NameAlreadyExistsException}
|
38
|
+
# * {OperationIdAlreadyExistsException}
|
39
|
+
# * {OperationInProgressException}
|
40
|
+
# * {OperationNotFoundException}
|
41
|
+
# * {OperationStatusCheckFailedException}
|
42
|
+
# * {StackInstanceNotFoundException}
|
43
|
+
# * {StackSetNotEmptyException}
|
44
|
+
# * {StackSetNotFoundException}
|
45
|
+
# * {StaleRequestException}
|
46
|
+
# * {TokenAlreadyExistsException}
|
47
|
+
# * {TypeNotFoundException}
|
48
|
+
#
|
49
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
50
|
+
# if they are not defined above.
|
9
51
|
module Errors
|
10
52
|
|
11
53
|
extend Aws::Errors::DynamicErrors
|
12
54
|
|
55
|
+
class AlreadyExistsException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::CloudFormation::Types::AlreadyExistsException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
13
65
|
class CFNRegistryException < ServiceError
|
14
66
|
|
15
67
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +75,186 @@ module Aws::CloudFormation
|
|
23
75
|
def message
|
24
76
|
@message || @data[:message]
|
25
77
|
end
|
78
|
+
end
|
79
|
+
|
80
|
+
class ChangeSetNotFoundException < ServiceError
|
81
|
+
|
82
|
+
# @param [Seahorse::Client::RequestContext] context
|
83
|
+
# @param [String] message
|
84
|
+
# @param [Aws::CloudFormation::Types::ChangeSetNotFoundException] data
|
85
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
86
|
+
super(context, message, data)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class CreatedButModifiedException < ServiceError
|
91
|
+
|
92
|
+
# @param [Seahorse::Client::RequestContext] context
|
93
|
+
# @param [String] message
|
94
|
+
# @param [Aws::CloudFormation::Types::CreatedButModifiedException] data
|
95
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
96
|
+
super(context, message, data)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
class InsufficientCapabilitiesException < ServiceError
|
101
|
+
|
102
|
+
# @param [Seahorse::Client::RequestContext] context
|
103
|
+
# @param [String] message
|
104
|
+
# @param [Aws::CloudFormation::Types::InsufficientCapabilitiesException] data
|
105
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
106
|
+
super(context, message, data)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
class InvalidChangeSetStatusException < ServiceError
|
111
|
+
|
112
|
+
# @param [Seahorse::Client::RequestContext] context
|
113
|
+
# @param [String] message
|
114
|
+
# @param [Aws::CloudFormation::Types::InvalidChangeSetStatusException] data
|
115
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
116
|
+
super(context, message, data)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class InvalidOperationException < ServiceError
|
121
|
+
|
122
|
+
# @param [Seahorse::Client::RequestContext] context
|
123
|
+
# @param [String] message
|
124
|
+
# @param [Aws::CloudFormation::Types::InvalidOperationException] data
|
125
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
126
|
+
super(context, message, data)
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
class InvalidStateTransitionException < ServiceError
|
131
|
+
|
132
|
+
# @param [Seahorse::Client::RequestContext] context
|
133
|
+
# @param [String] message
|
134
|
+
# @param [Aws::CloudFormation::Types::InvalidStateTransitionException] data
|
135
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
136
|
+
super(context, message, data)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class LimitExceededException < ServiceError
|
141
|
+
|
142
|
+
# @param [Seahorse::Client::RequestContext] context
|
143
|
+
# @param [String] message
|
144
|
+
# @param [Aws::CloudFormation::Types::LimitExceededException] data
|
145
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
146
|
+
super(context, message, data)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class NameAlreadyExistsException < ServiceError
|
151
|
+
|
152
|
+
# @param [Seahorse::Client::RequestContext] context
|
153
|
+
# @param [String] message
|
154
|
+
# @param [Aws::CloudFormation::Types::NameAlreadyExistsException] data
|
155
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
156
|
+
super(context, message, data)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
class OperationIdAlreadyExistsException < ServiceError
|
161
|
+
|
162
|
+
# @param [Seahorse::Client::RequestContext] context
|
163
|
+
# @param [String] message
|
164
|
+
# @param [Aws::CloudFormation::Types::OperationIdAlreadyExistsException] data
|
165
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
166
|
+
super(context, message, data)
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
class OperationInProgressException < ServiceError
|
171
|
+
|
172
|
+
# @param [Seahorse::Client::RequestContext] context
|
173
|
+
# @param [String] message
|
174
|
+
# @param [Aws::CloudFormation::Types::OperationInProgressException] data
|
175
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
176
|
+
super(context, message, data)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
class OperationNotFoundException < ServiceError
|
181
|
+
|
182
|
+
# @param [Seahorse::Client::RequestContext] context
|
183
|
+
# @param [String] message
|
184
|
+
# @param [Aws::CloudFormation::Types::OperationNotFoundException] data
|
185
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
186
|
+
super(context, message, data)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
class OperationStatusCheckFailedException < ServiceError
|
191
|
+
|
192
|
+
# @param [Seahorse::Client::RequestContext] context
|
193
|
+
# @param [String] message
|
194
|
+
# @param [Aws::CloudFormation::Types::OperationStatusCheckFailedException] data
|
195
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
196
|
+
super(context, message, data)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
class StackInstanceNotFoundException < ServiceError
|
201
|
+
|
202
|
+
# @param [Seahorse::Client::RequestContext] context
|
203
|
+
# @param [String] message
|
204
|
+
# @param [Aws::CloudFormation::Types::StackInstanceNotFoundException] data
|
205
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
206
|
+
super(context, message, data)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class StackSetNotEmptyException < ServiceError
|
211
|
+
|
212
|
+
# @param [Seahorse::Client::RequestContext] context
|
213
|
+
# @param [String] message
|
214
|
+
# @param [Aws::CloudFormation::Types::StackSetNotEmptyException] data
|
215
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
216
|
+
super(context, message, data)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
class StackSetNotFoundException < ServiceError
|
221
|
+
|
222
|
+
# @param [Seahorse::Client::RequestContext] context
|
223
|
+
# @param [String] message
|
224
|
+
# @param [Aws::CloudFormation::Types::StackSetNotFoundException] data
|
225
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
226
|
+
super(context, message, data)
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
class StaleRequestException < ServiceError
|
231
|
+
|
232
|
+
# @param [Seahorse::Client::RequestContext] context
|
233
|
+
# @param [String] message
|
234
|
+
# @param [Aws::CloudFormation::Types::StaleRequestException] data
|
235
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
236
|
+
super(context, message, data)
|
237
|
+
end
|
238
|
+
end
|
26
239
|
|
240
|
+
class TokenAlreadyExistsException < ServiceError
|
241
|
+
|
242
|
+
# @param [Seahorse::Client::RequestContext] context
|
243
|
+
# @param [String] message
|
244
|
+
# @param [Aws::CloudFormation::Types::TokenAlreadyExistsException] data
|
245
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
246
|
+
super(context, message, data)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
class TypeNotFoundException < ServiceError
|
251
|
+
|
252
|
+
# @param [Seahorse::Client::RequestContext] context
|
253
|
+
# @param [String] message
|
254
|
+
# @param [Aws::CloudFormation::Types::TypeNotFoundException] data
|
255
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
256
|
+
super(context, message, data)
|
257
|
+
end
|
27
258
|
end
|
28
259
|
|
29
260
|
end
|
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CloudFormation
|
9
|
+
# This class provides a resource oriented interface for CloudFormation.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::CloudFormation::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::CloudFormation::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::CloudFormation::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
@@ -109,6 +109,12 @@ module Aws::CloudFormation
|
|
109
109
|
include Aws::Structure
|
110
110
|
end
|
111
111
|
|
112
|
+
# The resource with the name requested already exists.
|
113
|
+
#
|
114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AlreadyExistsException AWS API Documentation
|
115
|
+
#
|
116
|
+
class AlreadyExistsException < Aws::EmptyStructure; end
|
117
|
+
|
112
118
|
# \[`Service-managed` permissions\] Describes whether StackSets
|
113
119
|
# automatically deploys to AWS Organizations accounts that are added to
|
114
120
|
# a target organization or organizational unit (OU).
|
@@ -206,6 +212,13 @@ module Aws::CloudFormation
|
|
206
212
|
include Aws::Structure
|
207
213
|
end
|
208
214
|
|
215
|
+
# The specified change set name or ID doesn't exit. To view valid
|
216
|
+
# change sets for a stack, use the `ListChangeSets` action.
|
217
|
+
#
|
218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetNotFoundException AWS API Documentation
|
219
|
+
#
|
220
|
+
class ChangeSetNotFoundException < Aws::EmptyStructure; end
|
221
|
+
|
209
222
|
# The `ChangeSetSummary` structure describes a change set, its status,
|
210
223
|
# and the stack with which it's associated.
|
211
224
|
#
|
@@ -1460,6 +1473,12 @@ module Aws::CloudFormation
|
|
1460
1473
|
include Aws::Structure
|
1461
1474
|
end
|
1462
1475
|
|
1476
|
+
# The specified resource exists, but has been changed.
|
1477
|
+
#
|
1478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreatedButModifiedException AWS API Documentation
|
1479
|
+
#
|
1480
|
+
class CreatedButModifiedException < Aws::EmptyStructure; end
|
1481
|
+
|
1463
1482
|
# The input for the DeleteChangeSet action.
|
1464
1483
|
#
|
1465
1484
|
# @note When making an API call, you may pass DeleteChangeSetInput
|
@@ -3286,6 +3305,51 @@ module Aws::CloudFormation
|
|
3286
3305
|
include Aws::Structure
|
3287
3306
|
end
|
3288
3307
|
|
3308
|
+
# The template contains resources with capabilities that weren't
|
3309
|
+
# specified in the Capabilities parameter.
|
3310
|
+
#
|
3311
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InsufficientCapabilitiesException AWS API Documentation
|
3312
|
+
#
|
3313
|
+
class InsufficientCapabilitiesException < Aws::EmptyStructure; end
|
3314
|
+
|
3315
|
+
# The specified change set can't be used to update the stack. For
|
3316
|
+
# example, the change set status might be `CREATE_IN_PROGRESS`, or the
|
3317
|
+
# stack status might be `UPDATE_IN_PROGRESS`.
|
3318
|
+
#
|
3319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidChangeSetStatusException AWS API Documentation
|
3320
|
+
#
|
3321
|
+
class InvalidChangeSetStatusException < Aws::EmptyStructure; end
|
3322
|
+
|
3323
|
+
# The specified operation isn't valid.
|
3324
|
+
#
|
3325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidOperationException AWS API Documentation
|
3326
|
+
#
|
3327
|
+
class InvalidOperationException < Aws::EmptyStructure; end
|
3328
|
+
|
3329
|
+
# Error reserved for use by the [CloudFormation CLI][1]. CloudFormation
|
3330
|
+
# does not return this error to users.
|
3331
|
+
#
|
3332
|
+
#
|
3333
|
+
#
|
3334
|
+
# [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html
|
3335
|
+
#
|
3336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidStateTransitionException AWS API Documentation
|
3337
|
+
#
|
3338
|
+
class InvalidStateTransitionException < Aws::EmptyStructure; end
|
3339
|
+
|
3340
|
+
# The quota for the resource has already been reached.
|
3341
|
+
#
|
3342
|
+
# For information on resource and stack limitations, see [Limits][1] in
|
3343
|
+
# the *AWS CloudFormation User Guide*.
|
3344
|
+
#
|
3345
|
+
#
|
3346
|
+
#
|
3347
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html
|
3348
|
+
#
|
3349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/LimitExceededException AWS API Documentation
|
3350
|
+
#
|
3351
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
3352
|
+
|
3289
3353
|
# The input for the ListChangeSets action.
|
3290
3354
|
#
|
3291
3355
|
# @note When making an API call, you may pass ListChangeSetsInput
|
@@ -4112,6 +4176,42 @@ module Aws::CloudFormation
|
|
4112
4176
|
include Aws::Structure
|
4113
4177
|
end
|
4114
4178
|
|
4179
|
+
# The specified name is already in use.
|
4180
|
+
#
|
4181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/NameAlreadyExistsException AWS API Documentation
|
4182
|
+
#
|
4183
|
+
class NameAlreadyExistsException < Aws::EmptyStructure; end
|
4184
|
+
|
4185
|
+
# The specified operation ID already exists.
|
4186
|
+
#
|
4187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationIdAlreadyExistsException AWS API Documentation
|
4188
|
+
#
|
4189
|
+
class OperationIdAlreadyExistsException < Aws::EmptyStructure; end
|
4190
|
+
|
4191
|
+
# Another operation is currently in progress for this stack set. Only
|
4192
|
+
# one operation can be performed for a stack set at a given time.
|
4193
|
+
#
|
4194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationInProgressException AWS API Documentation
|
4195
|
+
#
|
4196
|
+
class OperationInProgressException < Aws::EmptyStructure; end
|
4197
|
+
|
4198
|
+
# The specified ID refers to an operation that doesn't exist.
|
4199
|
+
#
|
4200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationNotFoundException AWS API Documentation
|
4201
|
+
#
|
4202
|
+
class OperationNotFoundException < Aws::EmptyStructure; end
|
4203
|
+
|
4204
|
+
# Error reserved for use by the [CloudFormation CLI][1]. CloudFormation
|
4205
|
+
# does not return this error to users.
|
4206
|
+
#
|
4207
|
+
#
|
4208
|
+
#
|
4209
|
+
# [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html
|
4210
|
+
#
|
4211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationStatusCheckFailedException AWS API Documentation
|
4212
|
+
#
|
4213
|
+
class OperationStatusCheckFailedException < Aws::EmptyStructure; end
|
4214
|
+
|
4115
4215
|
# The Output data type.
|
4116
4216
|
#
|
4117
4217
|
# @!attribute [rw] output_key
|
@@ -5461,6 +5561,12 @@ module Aws::CloudFormation
|
|
5461
5561
|
include Aws::Structure
|
5462
5562
|
end
|
5463
5563
|
|
5564
|
+
# The specified stack instance doesn't exist.
|
5565
|
+
#
|
5566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceNotFoundException AWS API Documentation
|
5567
|
+
#
|
5568
|
+
class StackInstanceNotFoundException < Aws::EmptyStructure; end
|
5569
|
+
|
5464
5570
|
# The structure that contains summary information about a stack
|
5465
5571
|
# instance.
|
5466
5572
|
#
|
@@ -6214,6 +6320,20 @@ module Aws::CloudFormation
|
|
6214
6320
|
include Aws::Structure
|
6215
6321
|
end
|
6216
6322
|
|
6323
|
+
# You can't yet delete this stack set, because it still contains one or
|
6324
|
+
# more stack instances. Delete all stack instances from the stack set
|
6325
|
+
# before deleting the stack set.
|
6326
|
+
#
|
6327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetNotEmptyException AWS API Documentation
|
6328
|
+
#
|
6329
|
+
class StackSetNotEmptyException < Aws::EmptyStructure; end
|
6330
|
+
|
6331
|
+
# The specified stack set doesn't exist.
|
6332
|
+
#
|
6333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetNotFoundException AWS API Documentation
|
6334
|
+
#
|
6335
|
+
class StackSetNotFoundException < Aws::EmptyStructure; end
|
6336
|
+
|
6217
6337
|
# The structure that contains information about a stack set operation.
|
6218
6338
|
#
|
6219
6339
|
# @!attribute [rw] operation_id
|
@@ -6770,6 +6890,13 @@ module Aws::CloudFormation
|
|
6770
6890
|
include Aws::Structure
|
6771
6891
|
end
|
6772
6892
|
|
6893
|
+
# Another operation has been performed on this stack set since the
|
6894
|
+
# specified operation was performed.
|
6895
|
+
#
|
6896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StaleRequestException AWS API Documentation
|
6897
|
+
#
|
6898
|
+
class StaleRequestException < Aws::EmptyStructure; end
|
6899
|
+
|
6773
6900
|
# @note When making an API call, you may pass StopStackSetOperationInput
|
6774
6901
|
# data as a hash:
|
6775
6902
|
#
|
@@ -6858,6 +6985,18 @@ module Aws::CloudFormation
|
|
6858
6985
|
include Aws::Structure
|
6859
6986
|
end
|
6860
6987
|
|
6988
|
+
# A client request token already exists.
|
6989
|
+
#
|
6990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TokenAlreadyExistsException AWS API Documentation
|
6991
|
+
#
|
6992
|
+
class TokenAlreadyExistsException < Aws::EmptyStructure; end
|
6993
|
+
|
6994
|
+
# The specified type does not exist in the CloudFormation registry.
|
6995
|
+
#
|
6996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeNotFoundException AWS API Documentation
|
6997
|
+
#
|
6998
|
+
class TypeNotFoundException < Aws::EmptyStructure; end
|
6999
|
+
|
6861
7000
|
# Contains summary information about the specified CloudFormation type.
|
6862
7001
|
#
|
6863
7002
|
# @!attribute [rw] type
|
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.31.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-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|