aws-sdk-cloudformation 1.41.0 → 1.131.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 +742 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudformation/client.rb +4562 -1172
- data/lib/aws-sdk-cloudformation/client_api.rb +1318 -28
- data/lib/aws-sdk-cloudformation/customizations.rb +1 -1
- data/lib/aws-sdk-cloudformation/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-cloudformation/endpoint_provider.rb +53 -0
- data/lib/aws-sdk-cloudformation/endpoints.rb +20 -0
- data/lib/aws-sdk-cloudformation/errors.rb +131 -1
- data/lib/aws-sdk-cloudformation/event.rb +68 -4
- data/lib/aws-sdk-cloudformation/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-cloudformation/resource.rb +133 -105
- data/lib/aws-sdk-cloudformation/stack.rb +316 -229
- data/lib/aws-sdk-cloudformation/stack_resource.rb +24 -11
- data/lib/aws-sdk-cloudformation/stack_resource_summary.rb +18 -7
- data/lib/aws-sdk-cloudformation/types.rb +6213 -2394
- data/lib/aws-sdk-cloudformation/waiters.rb +173 -11
- data/lib/aws-sdk-cloudformation.rb +24 -15
- data/sig/client.rbs +1668 -0
- data/sig/errors.rbs +75 -0
- data/sig/event.rbs +83 -0
- data/sig/resource.rbs +139 -0
- data/sig/stack.rbs +229 -0
- data/sig/stack_resource.rbs +74 -0
- data/sig/stack_resource_summary.rbs +62 -0
- data/sig/types.rbs +2104 -0
- data/sig/waiters.rbs +122 -0
- metadata +27 -15
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -67,16 +67,18 @@ module Aws::CloudFormation
|
|
67
67
|
# The following table lists the valid waiter names, the operations they call,
|
68
68
|
# and the default `:delay` and `:max_attempts` values.
|
69
69
|
#
|
70
|
-
# | waiter_name
|
71
|
-
# |
|
72
|
-
# | change_set_create_complete
|
73
|
-
# | stack_create_complete
|
74
|
-
# | stack_delete_complete
|
75
|
-
# | stack_exists
|
76
|
-
# | stack_import_complete
|
77
|
-
# |
|
78
|
-
# |
|
79
|
-
# |
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | ------------------------------- | ----------------------------------- | -------- | ------------- |
|
72
|
+
# | change_set_create_complete | {Client#describe_change_set} | 30 | 120 |
|
73
|
+
# | stack_create_complete | {Client#describe_stacks} | 30 | 120 |
|
74
|
+
# | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
|
75
|
+
# | stack_exists | {Client#describe_stacks} | 5 | 20 |
|
76
|
+
# | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
|
77
|
+
# | stack_refactor_create_complete | {Client#describe_stack_refactor} | 5 | 120 |
|
78
|
+
# | stack_refactor_execute_complete | {Client#describe_stack_refactor} | 15 | 120 |
|
79
|
+
# | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
|
80
|
+
# | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
|
81
|
+
# | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
|
80
82
|
#
|
81
83
|
module Waiters
|
82
84
|
|
@@ -153,6 +155,54 @@ module Aws::CloudFormation
|
|
153
155
|
"matcher" => "pathAll",
|
154
156
|
"state" => "success"
|
155
157
|
},
|
158
|
+
{
|
159
|
+
"argument" => "stacks[].stack_status",
|
160
|
+
"expected" => "UPDATE_COMPLETE",
|
161
|
+
"matcher" => "pathAll",
|
162
|
+
"state" => "success"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"argument" => "stacks[].stack_status",
|
166
|
+
"expected" => "UPDATE_IN_PROGRESS",
|
167
|
+
"matcher" => "pathAll",
|
168
|
+
"state" => "success"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"argument" => "stacks[].stack_status",
|
172
|
+
"expected" => "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS",
|
173
|
+
"matcher" => "pathAll",
|
174
|
+
"state" => "success"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"argument" => "stacks[].stack_status",
|
178
|
+
"expected" => "UPDATE_FAILED",
|
179
|
+
"matcher" => "pathAll",
|
180
|
+
"state" => "success"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"argument" => "stacks[].stack_status",
|
184
|
+
"expected" => "UPDATE_ROLLBACK_IN_PROGRESS",
|
185
|
+
"matcher" => "pathAll",
|
186
|
+
"state" => "success"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"argument" => "stacks[].stack_status",
|
190
|
+
"expected" => "UPDATE_ROLLBACK_FAILED",
|
191
|
+
"matcher" => "pathAll",
|
192
|
+
"state" => "success"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"argument" => "stacks[].stack_status",
|
196
|
+
"expected" => "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
|
197
|
+
"matcher" => "pathAll",
|
198
|
+
"state" => "success"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"argument" => "stacks[].stack_status",
|
202
|
+
"expected" => "UPDATE_ROLLBACK_COMPLETE",
|
203
|
+
"matcher" => "pathAll",
|
204
|
+
"state" => "success"
|
205
|
+
},
|
156
206
|
{
|
157
207
|
"argument" => "stacks[].stack_status",
|
158
208
|
"expected" => "CREATE_FAILED",
|
@@ -267,6 +317,12 @@ module Aws::CloudFormation
|
|
267
317
|
"expected" => "UPDATE_ROLLBACK_COMPLETE",
|
268
318
|
"matcher" => "pathAny",
|
269
319
|
"state" => "failure"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"argument" => "stacks[].stack_status",
|
323
|
+
"expected" => "UPDATE_COMPLETE",
|
324
|
+
"matcher" => "pathAny",
|
325
|
+
"state" => "failure"
|
270
326
|
}
|
271
327
|
]
|
272
328
|
)
|
@@ -400,6 +456,112 @@ module Aws::CloudFormation
|
|
400
456
|
|
401
457
|
end
|
402
458
|
|
459
|
+
# Wait until the stack refactor status is CREATE_COMPLETE.
|
460
|
+
class StackRefactorCreateComplete
|
461
|
+
|
462
|
+
# @param [Hash] options
|
463
|
+
# @option options [required, Client] :client
|
464
|
+
# @option options [Integer] :max_attempts (120)
|
465
|
+
# @option options [Integer] :delay (5)
|
466
|
+
# @option options [Proc] :before_attempt
|
467
|
+
# @option options [Proc] :before_wait
|
468
|
+
def initialize(options)
|
469
|
+
@client = options.fetch(:client)
|
470
|
+
@waiter = Aws::Waiters::Waiter.new({
|
471
|
+
max_attempts: 120,
|
472
|
+
delay: 5,
|
473
|
+
poller: Aws::Waiters::Poller.new(
|
474
|
+
operation_name: :describe_stack_refactor,
|
475
|
+
acceptors: [
|
476
|
+
{
|
477
|
+
"argument" => "status",
|
478
|
+
"expected" => "CREATE_COMPLETE",
|
479
|
+
"matcher" => "path",
|
480
|
+
"state" => "success"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"argument" => "status",
|
484
|
+
"expected" => "CREATE_FAILED",
|
485
|
+
"matcher" => "path",
|
486
|
+
"state" => "failure"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"expected" => "ValidationError",
|
490
|
+
"matcher" => "error",
|
491
|
+
"state" => "failure"
|
492
|
+
}
|
493
|
+
]
|
494
|
+
)
|
495
|
+
}.merge(options))
|
496
|
+
end
|
497
|
+
|
498
|
+
# @option (see Client#describe_stack_refactor)
|
499
|
+
# @return (see Client#describe_stack_refactor)
|
500
|
+
def wait(params = {})
|
501
|
+
@waiter.wait(client: @client, params: params)
|
502
|
+
end
|
503
|
+
|
504
|
+
# @api private
|
505
|
+
attr_reader :waiter
|
506
|
+
|
507
|
+
end
|
508
|
+
|
509
|
+
# Wait until the stack refactor status is EXECUTE_COMPLETE.
|
510
|
+
class StackRefactorExecuteComplete
|
511
|
+
|
512
|
+
# @param [Hash] options
|
513
|
+
# @option options [required, Client] :client
|
514
|
+
# @option options [Integer] :max_attempts (120)
|
515
|
+
# @option options [Integer] :delay (15)
|
516
|
+
# @option options [Proc] :before_attempt
|
517
|
+
# @option options [Proc] :before_wait
|
518
|
+
def initialize(options)
|
519
|
+
@client = options.fetch(:client)
|
520
|
+
@waiter = Aws::Waiters::Waiter.new({
|
521
|
+
max_attempts: 120,
|
522
|
+
delay: 15,
|
523
|
+
poller: Aws::Waiters::Poller.new(
|
524
|
+
operation_name: :describe_stack_refactor,
|
525
|
+
acceptors: [
|
526
|
+
{
|
527
|
+
"argument" => "execution_status",
|
528
|
+
"expected" => "EXECUTE_COMPLETE",
|
529
|
+
"matcher" => "path",
|
530
|
+
"state" => "success"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"argument" => "execution_status",
|
534
|
+
"expected" => "EXECUTE_FAILED",
|
535
|
+
"matcher" => "path",
|
536
|
+
"state" => "failure"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"argument" => "execution_status",
|
540
|
+
"expected" => "ROLLBACK_COMPLETE",
|
541
|
+
"matcher" => "path",
|
542
|
+
"state" => "failure"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"expected" => "ValidationError",
|
546
|
+
"matcher" => "error",
|
547
|
+
"state" => "failure"
|
548
|
+
}
|
549
|
+
]
|
550
|
+
)
|
551
|
+
}.merge(options))
|
552
|
+
end
|
553
|
+
|
554
|
+
# @option (see Client#describe_stack_refactor)
|
555
|
+
# @return (see Client#describe_stack_refactor)
|
556
|
+
def wait(params = {})
|
557
|
+
@waiter.wait(client: @client, params: params)
|
558
|
+
end
|
559
|
+
|
560
|
+
# @api private
|
561
|
+
attr_reader :waiter
|
562
|
+
|
563
|
+
end
|
564
|
+
|
403
565
|
# Wait until stack status is UPDATE_ROLLBACK_COMPLETE.
|
404
566
|
class StackRollbackComplete
|
405
567
|
|
@@ -3,24 +3,15 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
13
|
-
|
14
|
-
require_relative 'aws-sdk-cloudformation/client_api'
|
15
|
-
require_relative 'aws-sdk-cloudformation/client'
|
16
|
-
require_relative 'aws-sdk-cloudformation/errors'
|
17
|
-
require_relative 'aws-sdk-cloudformation/waiters'
|
18
|
-
require_relative 'aws-sdk-cloudformation/resource'
|
19
|
-
require_relative 'aws-sdk-cloudformation/event'
|
20
|
-
require_relative 'aws-sdk-cloudformation/stack'
|
21
|
-
require_relative 'aws-sdk-cloudformation/stack_resource'
|
22
|
-
require_relative 'aws-sdk-cloudformation/stack_resource_summary'
|
23
|
-
require_relative 'aws-sdk-cloudformation/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudformation)
|
24
15
|
|
25
16
|
# This module provides support for AWS CloudFormation. This module is available in the
|
26
17
|
# `aws-sdk-cloudformation` gem.
|
@@ -32,7 +23,7 @@ require_relative 'aws-sdk-cloudformation/customizations'
|
|
32
23
|
# structure.
|
33
24
|
#
|
34
25
|
# cloud_formation = Aws::CloudFormation::Client.new
|
35
|
-
# resp = cloud_formation.
|
26
|
+
# resp = cloud_formation.activate_organizations_access(params)
|
36
27
|
#
|
37
28
|
# See {Client} for more information.
|
38
29
|
#
|
@@ -49,9 +40,27 @@ require_relative 'aws-sdk-cloudformation/customizations'
|
|
49
40
|
#
|
50
41
|
# See {Errors} for more information.
|
51
42
|
#
|
52
|
-
#
|
43
|
+
# @!group service
|
53
44
|
module Aws::CloudFormation
|
45
|
+
autoload :Types, 'aws-sdk-cloudformation/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-cloudformation/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-cloudformation/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-cloudformation/client'
|
51
|
+
autoload :Errors, 'aws-sdk-cloudformation/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-cloudformation/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-cloudformation/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-cloudformation/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-cloudformation/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-cloudformation/endpoints'
|
57
|
+
autoload :Event, 'aws-sdk-cloudformation/event'
|
58
|
+
autoload :Stack, 'aws-sdk-cloudformation/stack'
|
59
|
+
autoload :StackResource, 'aws-sdk-cloudformation/stack_resource'
|
60
|
+
autoload :StackResourceSummary, 'aws-sdk-cloudformation/stack_resource_summary'
|
54
61
|
|
55
|
-
GEM_VERSION = '1.
|
62
|
+
GEM_VERSION = '1.131.0'
|
56
63
|
|
57
64
|
end
|
65
|
+
|
66
|
+
require_relative 'aws-sdk-cloudformation/customizations'
|