aws-sdk-cloudformation 1.125.0 → 1.126.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +386 -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 +86 -0
- data/sig/errors.rbs +2 -0
- data/sig/event.rbs +1 -1
- 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 +2 -2
@@ -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
|
|
@@ -454,6 +456,112 @@ module Aws::CloudFormation
|
|
454
456
|
|
455
457
|
end
|
456
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
|
+
|
457
565
|
# Wait until stack status is UPDATE_ROLLBACK_COMPLETE.
|
458
566
|
class StackRollbackComplete
|
459
567
|
|
data/sig/client.rbs
CHANGED
@@ -307,6 +307,36 @@ module Aws
|
|
307
307
|
) -> _CreateStackInstancesResponseSuccess
|
308
308
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackInstancesResponseSuccess
|
309
309
|
|
310
|
+
interface _CreateStackRefactorResponseSuccess
|
311
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackRefactorOutput]
|
312
|
+
def stack_refactor_id: () -> ::String
|
313
|
+
end
|
314
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_stack_refactor-instance_method
|
315
|
+
def create_stack_refactor: (
|
316
|
+
?description: ::String,
|
317
|
+
?enable_stack_creation: bool,
|
318
|
+
?resource_mappings: Array[
|
319
|
+
{
|
320
|
+
source: {
|
321
|
+
stack_name: ::String,
|
322
|
+
logical_resource_id: ::String
|
323
|
+
},
|
324
|
+
destination: {
|
325
|
+
stack_name: ::String,
|
326
|
+
logical_resource_id: ::String
|
327
|
+
}
|
328
|
+
},
|
329
|
+
],
|
330
|
+
stack_definitions: Array[
|
331
|
+
{
|
332
|
+
stack_name: ::String?,
|
333
|
+
template_body: ::String?,
|
334
|
+
template_url: ::String?
|
335
|
+
},
|
336
|
+
]
|
337
|
+
) -> _CreateStackRefactorResponseSuccess
|
338
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackRefactorResponseSuccess
|
339
|
+
|
310
340
|
interface _CreateStackSetResponseSuccess
|
311
341
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackSetOutput]
|
312
342
|
def stack_set_id: () -> ::String
|
@@ -610,6 +640,22 @@ module Aws
|
|
610
640
|
) -> _DescribeStackInstanceResponseSuccess
|
611
641
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackInstanceResponseSuccess
|
612
642
|
|
643
|
+
interface _DescribeStackRefactorResponseSuccess
|
644
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackRefactorOutput]
|
645
|
+
def description: () -> ::String
|
646
|
+
def stack_refactor_id: () -> ::String
|
647
|
+
def stack_ids: () -> ::Array[::String]
|
648
|
+
def execution_status: () -> ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")
|
649
|
+
def execution_status_reason: () -> ::String
|
650
|
+
def status: () -> ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED")
|
651
|
+
def status_reason: () -> ::String
|
652
|
+
end
|
653
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_refactor-instance_method
|
654
|
+
def describe_stack_refactor: (
|
655
|
+
stack_refactor_id: ::String
|
656
|
+
) -> _DescribeStackRefactorResponseSuccess
|
657
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackRefactorResponseSuccess
|
658
|
+
|
613
659
|
interface _DescribeStackResourceResponseSuccess
|
614
660
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackResourceOutput]
|
615
661
|
def stack_resource_detail: () -> Types::StackResourceDetail
|
@@ -811,6 +857,12 @@ module Aws
|
|
811
857
|
) -> _ExecuteChangeSetResponseSuccess
|
812
858
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteChangeSetResponseSuccess
|
813
859
|
|
860
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#execute_stack_refactor-instance_method
|
861
|
+
def execute_stack_refactor: (
|
862
|
+
stack_refactor_id: ::String
|
863
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
864
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
865
|
+
|
814
866
|
interface _GetGeneratedTemplateResponseSuccess
|
815
867
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGeneratedTemplateOutput]
|
816
868
|
def status: () -> ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
|
@@ -1046,6 +1098,32 @@ module Aws
|
|
1046
1098
|
) -> _ListStackInstancesResponseSuccess
|
1047
1099
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackInstancesResponseSuccess
|
1048
1100
|
|
1101
|
+
interface _ListStackRefactorActionsResponseSuccess
|
1102
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListStackRefactorActionsOutput]
|
1103
|
+
def stack_refactor_actions: () -> ::Array[Types::StackRefactorAction]
|
1104
|
+
def next_token: () -> ::String
|
1105
|
+
end
|
1106
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_refactor_actions-instance_method
|
1107
|
+
def list_stack_refactor_actions: (
|
1108
|
+
stack_refactor_id: ::String,
|
1109
|
+
?next_token: ::String,
|
1110
|
+
?max_results: ::Integer
|
1111
|
+
) -> _ListStackRefactorActionsResponseSuccess
|
1112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackRefactorActionsResponseSuccess
|
1113
|
+
|
1114
|
+
interface _ListStackRefactorsResponseSuccess
|
1115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListStackRefactorsOutput]
|
1116
|
+
def stack_refactor_summaries: () -> ::Array[Types::StackRefactorSummary]
|
1117
|
+
def next_token: () -> ::String
|
1118
|
+
end
|
1119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_refactors-instance_method
|
1120
|
+
def list_stack_refactors: (
|
1121
|
+
?execution_status_filter: Array[("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")],
|
1122
|
+
?next_token: ::String,
|
1123
|
+
?max_results: ::Integer
|
1124
|
+
) -> _ListStackRefactorsResponseSuccess
|
1125
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackRefactorsResponseSuccess
|
1126
|
+
|
1049
1127
|
interface _ListStackResourcesResponseSuccess
|
1050
1128
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListStackResourcesOutput]
|
1051
1129
|
def stack_resource_summaries: () -> ::Array[Types::StackResourceSummary]
|
@@ -1555,6 +1633,14 @@ module Aws
|
|
1555
1633
|
?next_token: ::String
|
1556
1634
|
) -> Client::_DescribeStacksResponseSuccess
|
1557
1635
|
| (:stack_import_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess
|
1636
|
+
| (:stack_refactor_create_complete waiter_name,
|
1637
|
+
stack_refactor_id: ::String
|
1638
|
+
) -> Client::_DescribeStackRefactorResponseSuccess
|
1639
|
+
| (:stack_refactor_create_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStackRefactorResponseSuccess
|
1640
|
+
| (:stack_refactor_execute_complete waiter_name,
|
1641
|
+
stack_refactor_id: ::String
|
1642
|
+
) -> Client::_DescribeStackRefactorResponseSuccess
|
1643
|
+
| (:stack_refactor_execute_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStackRefactorResponseSuccess
|
1558
1644
|
| (:stack_rollback_complete waiter_name,
|
1559
1645
|
?stack_name: ::String,
|
1560
1646
|
?next_token: ::String
|
data/sig/errors.rbs
CHANGED
@@ -56,6 +56,8 @@ module Aws
|
|
56
56
|
end
|
57
57
|
class StackNotFoundException < ::Aws::Errors::ServiceError
|
58
58
|
end
|
59
|
+
class StackRefactorNotFoundException < ::Aws::Errors::ServiceError
|
60
|
+
end
|
59
61
|
class StackSetNotEmptyException < ::Aws::Errors::ServiceError
|
60
62
|
end
|
61
63
|
class StackSetNotFoundException < ::Aws::Errors::ServiceError
|
data/sig/event.rbs
CHANGED
@@ -37,7 +37,7 @@ module Aws
|
|
37
37
|
def timestamp: () -> ::Time
|
38
38
|
|
39
39
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_status-instance_method
|
40
|
-
def resource_status: () -> ("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")
|
40
|
+
def resource_status: () -> ("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")
|
41
41
|
|
42
42
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_status_reason-instance_method
|
43
43
|
def resource_status_reason: () -> ::String
|
data/sig/stack_resource.rbs
CHANGED
@@ -34,7 +34,7 @@ module Aws
|
|
34
34
|
def last_updated_timestamp: () -> ::Time
|
35
35
|
|
36
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_status-instance_method
|
37
|
-
def resource_status: () -> ("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")
|
37
|
+
def resource_status: () -> ("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")
|
38
38
|
|
39
39
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_status_reason-instance_method
|
40
40
|
def resource_status_reason: () -> ::String
|
@@ -31,7 +31,7 @@ module Aws
|
|
31
31
|
def last_updated_timestamp: () -> ::Time
|
32
32
|
|
33
33
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_status-instance_method
|
34
|
-
def resource_status: () -> ("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")
|
34
|
+
def resource_status: () -> ("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")
|
35
35
|
|
36
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_status_reason-instance_method
|
37
37
|
def resource_status_reason: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -234,6 +234,19 @@ module Aws::CloudFormation
|
|
234
234
|
SENSITIVE: []
|
235
235
|
end
|
236
236
|
|
237
|
+
class CreateStackRefactorInput
|
238
|
+
attr_accessor description: ::String
|
239
|
+
attr_accessor enable_stack_creation: bool
|
240
|
+
attr_accessor resource_mappings: ::Array[Types::ResourceMapping]
|
241
|
+
attr_accessor stack_definitions: ::Array[Types::StackDefinition]
|
242
|
+
SENSITIVE: []
|
243
|
+
end
|
244
|
+
|
245
|
+
class CreateStackRefactorOutput
|
246
|
+
attr_accessor stack_refactor_id: ::String
|
247
|
+
SENSITIVE: []
|
248
|
+
end
|
249
|
+
|
237
250
|
class CreateStackSetInput
|
238
251
|
attr_accessor stack_set_name: ::String
|
239
252
|
attr_accessor description: ::String
|
@@ -510,6 +523,22 @@ module Aws::CloudFormation
|
|
510
523
|
SENSITIVE: []
|
511
524
|
end
|
512
525
|
|
526
|
+
class DescribeStackRefactorInput
|
527
|
+
attr_accessor stack_refactor_id: ::String
|
528
|
+
SENSITIVE: []
|
529
|
+
end
|
530
|
+
|
531
|
+
class DescribeStackRefactorOutput
|
532
|
+
attr_accessor description: ::String
|
533
|
+
attr_accessor stack_refactor_id: ::String
|
534
|
+
attr_accessor stack_ids: ::Array[::String]
|
535
|
+
attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")
|
536
|
+
attr_accessor execution_status_reason: ::String
|
537
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED")
|
538
|
+
attr_accessor status_reason: ::String
|
539
|
+
SENSITIVE: []
|
540
|
+
end
|
541
|
+
|
513
542
|
class DescribeStackResourceDriftsInput
|
514
543
|
attr_accessor stack_name: ::String
|
515
544
|
attr_accessor stack_resource_drift_status_filters: ::Array[("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED")]
|
@@ -695,6 +724,11 @@ module Aws::CloudFormation
|
|
695
724
|
class ExecuteChangeSetOutput < Aws::EmptyStructure
|
696
725
|
end
|
697
726
|
|
727
|
+
class ExecuteStackRefactorInput
|
728
|
+
attr_accessor stack_refactor_id: ::String
|
729
|
+
SENSITIVE: []
|
730
|
+
end
|
731
|
+
|
698
732
|
class Export
|
699
733
|
attr_accessor exporting_stack_id: ::String
|
700
734
|
attr_accessor name: ::String
|
@@ -949,6 +983,32 @@ module Aws::CloudFormation
|
|
949
983
|
SENSITIVE: []
|
950
984
|
end
|
951
985
|
|
986
|
+
class ListStackRefactorActionsInput
|
987
|
+
attr_accessor stack_refactor_id: ::String
|
988
|
+
attr_accessor next_token: ::String
|
989
|
+
attr_accessor max_results: ::Integer
|
990
|
+
SENSITIVE: []
|
991
|
+
end
|
992
|
+
|
993
|
+
class ListStackRefactorActionsOutput
|
994
|
+
attr_accessor stack_refactor_actions: ::Array[Types::StackRefactorAction]
|
995
|
+
attr_accessor next_token: ::String
|
996
|
+
SENSITIVE: []
|
997
|
+
end
|
998
|
+
|
999
|
+
class ListStackRefactorsInput
|
1000
|
+
attr_accessor execution_status_filter: ::Array[("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")]
|
1001
|
+
attr_accessor next_token: ::String
|
1002
|
+
attr_accessor max_results: ::Integer
|
1003
|
+
SENSITIVE: []
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
class ListStackRefactorsOutput
|
1007
|
+
attr_accessor stack_refactor_summaries: ::Array[Types::StackRefactorSummary]
|
1008
|
+
attr_accessor next_token: ::String
|
1009
|
+
SENSITIVE: []
|
1010
|
+
end
|
1011
|
+
|
952
1012
|
class ListStackResourcesInput
|
953
1013
|
attr_accessor stack_name: ::String
|
954
1014
|
attr_accessor next_token: ::String
|
@@ -1273,6 +1333,18 @@ module Aws::CloudFormation
|
|
1273
1333
|
SENSITIVE: []
|
1274
1334
|
end
|
1275
1335
|
|
1336
|
+
class ResourceLocation
|
1337
|
+
attr_accessor stack_name: ::String
|
1338
|
+
attr_accessor logical_resource_id: ::String
|
1339
|
+
SENSITIVE: []
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
class ResourceMapping
|
1343
|
+
attr_accessor source: Types::ResourceLocation
|
1344
|
+
attr_accessor destination: Types::ResourceLocation
|
1345
|
+
SENSITIVE: []
|
1346
|
+
end
|
1347
|
+
|
1276
1348
|
class ResourceScanInProgressException < Aws::EmptyStructure
|
1277
1349
|
end
|
1278
1350
|
|
@@ -1417,6 +1489,13 @@ module Aws::CloudFormation
|
|
1417
1489
|
SENSITIVE: []
|
1418
1490
|
end
|
1419
1491
|
|
1492
|
+
class StackDefinition
|
1493
|
+
attr_accessor stack_name: ::String
|
1494
|
+
attr_accessor template_body: ::String
|
1495
|
+
attr_accessor template_url: ::String
|
1496
|
+
SENSITIVE: []
|
1497
|
+
end
|
1498
|
+
|
1420
1499
|
class StackDriftInformation
|
1421
1500
|
attr_accessor stack_drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED")
|
1422
1501
|
attr_accessor last_check_timestamp: ::Time
|
@@ -1437,7 +1516,7 @@ module Aws::CloudFormation
|
|
1437
1516
|
attr_accessor physical_resource_id: ::String
|
1438
1517
|
attr_accessor resource_type: ::String
|
1439
1518
|
attr_accessor timestamp: ::Time
|
1440
|
-
attr_accessor resource_status: ("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")
|
1519
|
+
attr_accessor resource_status: ("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")
|
1441
1520
|
attr_accessor resource_status_reason: ::String
|
1442
1521
|
attr_accessor resource_properties: ::String
|
1443
1522
|
attr_accessor client_request_token: ::String
|
@@ -1510,6 +1589,33 @@ module Aws::CloudFormation
|
|
1510
1589
|
class StackNotFoundException < Aws::EmptyStructure
|
1511
1590
|
end
|
1512
1591
|
|
1592
|
+
class StackRefactorAction
|
1593
|
+
attr_accessor action: ("MOVE" | "CREATE")
|
1594
|
+
attr_accessor entity: ("RESOURCE" | "STACK")
|
1595
|
+
attr_accessor physical_resource_id: ::String
|
1596
|
+
attr_accessor resource_identifier: ::String
|
1597
|
+
attr_accessor description: ::String
|
1598
|
+
attr_accessor detection: ("AUTO" | "MANUAL")
|
1599
|
+
attr_accessor detection_reason: ::String
|
1600
|
+
attr_accessor tag_resources: ::Array[Types::Tag]
|
1601
|
+
attr_accessor untag_resources: ::Array[::String]
|
1602
|
+
attr_accessor resource_mapping: Types::ResourceMapping
|
1603
|
+
SENSITIVE: []
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
class StackRefactorNotFoundException < Aws::EmptyStructure
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class StackRefactorSummary
|
1610
|
+
attr_accessor stack_refactor_id: ::String
|
1611
|
+
attr_accessor description: ::String
|
1612
|
+
attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")
|
1613
|
+
attr_accessor execution_status_reason: ::String
|
1614
|
+
attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED")
|
1615
|
+
attr_accessor status_reason: ::String
|
1616
|
+
SENSITIVE: []
|
1617
|
+
end
|
1618
|
+
|
1513
1619
|
class StackResource
|
1514
1620
|
attr_accessor stack_name: ::String
|
1515
1621
|
attr_accessor stack_id: ::String
|
@@ -1517,7 +1623,7 @@ module Aws::CloudFormation
|
|
1517
1623
|
attr_accessor physical_resource_id: ::String
|
1518
1624
|
attr_accessor resource_type: ::String
|
1519
1625
|
attr_accessor timestamp: ::Time
|
1520
|
-
attr_accessor resource_status: ("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")
|
1626
|
+
attr_accessor resource_status: ("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")
|
1521
1627
|
attr_accessor resource_status_reason: ::String
|
1522
1628
|
attr_accessor description: ::String
|
1523
1629
|
attr_accessor drift_information: Types::StackResourceDriftInformation
|
@@ -1532,7 +1638,7 @@ module Aws::CloudFormation
|
|
1532
1638
|
attr_accessor physical_resource_id: ::String
|
1533
1639
|
attr_accessor resource_type: ::String
|
1534
1640
|
attr_accessor last_updated_timestamp: ::Time
|
1535
|
-
attr_accessor resource_status: ("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")
|
1641
|
+
attr_accessor resource_status: ("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")
|
1536
1642
|
attr_accessor resource_status_reason: ::String
|
1537
1643
|
attr_accessor description: ::String
|
1538
1644
|
attr_accessor metadata: ::String
|
@@ -1573,7 +1679,7 @@ module Aws::CloudFormation
|
|
1573
1679
|
attr_accessor physical_resource_id: ::String
|
1574
1680
|
attr_accessor resource_type: ::String
|
1575
1681
|
attr_accessor last_updated_timestamp: ::Time
|
1576
|
-
attr_accessor resource_status: ("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")
|
1682
|
+
attr_accessor resource_status: ("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")
|
1577
1683
|
attr_accessor resource_status_reason: ::String
|
1578
1684
|
attr_accessor drift_information: Types::StackResourceDriftInformationSummary
|
1579
1685
|
attr_accessor module_info: Types::ModuleInfo
|
data/sig/waiters.rbs
CHANGED
@@ -66,6 +66,26 @@ module Aws
|
|
66
66
|
| (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess
|
67
67
|
end
|
68
68
|
|
69
|
+
class StackRefactorCreateComplete
|
70
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
71
|
+
| (?Hash[Symbol, untyped]) -> void
|
72
|
+
|
73
|
+
def wait: (
|
74
|
+
stack_refactor_id: ::String
|
75
|
+
) -> Client::_DescribeStackRefactorResponseSuccess
|
76
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeStackRefactorResponseSuccess
|
77
|
+
end
|
78
|
+
|
79
|
+
class StackRefactorExecuteComplete
|
80
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
81
|
+
| (?Hash[Symbol, untyped]) -> void
|
82
|
+
|
83
|
+
def wait: (
|
84
|
+
stack_refactor_id: ::String
|
85
|
+
) -> Client::_DescribeStackRefactorResponseSuccess
|
86
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeStackRefactorResponseSuccess
|
87
|
+
end
|
88
|
+
|
69
89
|
class StackRollbackComplete
|
70
90
|
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
71
91
|
| (?Hash[Symbol, untyped]) -> void
|
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.126.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: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|