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.
data/sig/errors.rbs ADDED
@@ -0,0 +1,75 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFormation
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AlreadyExistsException < ::Aws::Errors::ServiceError
15
+ end
16
+ class CFNRegistryException < ::Aws::Errors::ServiceError
17
+ def message: () -> ::String
18
+ end
19
+ class ChangeSetNotFoundException < ::Aws::Errors::ServiceError
20
+ end
21
+ class ConcurrentResourcesLimitExceededException < ::Aws::Errors::ServiceError
22
+ end
23
+ class CreatedButModifiedException < ::Aws::Errors::ServiceError
24
+ end
25
+ class GeneratedTemplateNotFoundException < ::Aws::Errors::ServiceError
26
+ end
27
+ class HookResultNotFoundException < ::Aws::Errors::ServiceError
28
+ end
29
+ class InsufficientCapabilitiesException < ::Aws::Errors::ServiceError
30
+ end
31
+ class InvalidChangeSetStatusException < ::Aws::Errors::ServiceError
32
+ end
33
+ class InvalidOperationException < ::Aws::Errors::ServiceError
34
+ end
35
+ class InvalidStateTransitionException < ::Aws::Errors::ServiceError
36
+ end
37
+ class LimitExceededException < ::Aws::Errors::ServiceError
38
+ end
39
+ class NameAlreadyExistsException < ::Aws::Errors::ServiceError
40
+ end
41
+ class OperationIdAlreadyExistsException < ::Aws::Errors::ServiceError
42
+ end
43
+ class OperationInProgressException < ::Aws::Errors::ServiceError
44
+ end
45
+ class OperationNotFoundException < ::Aws::Errors::ServiceError
46
+ end
47
+ class OperationStatusCheckFailedException < ::Aws::Errors::ServiceError
48
+ end
49
+ class ResourceScanInProgressException < ::Aws::Errors::ServiceError
50
+ end
51
+ class ResourceScanLimitExceededException < ::Aws::Errors::ServiceError
52
+ end
53
+ class ResourceScanNotFoundException < ::Aws::Errors::ServiceError
54
+ end
55
+ class StackInstanceNotFoundException < ::Aws::Errors::ServiceError
56
+ end
57
+ class StackNotFoundException < ::Aws::Errors::ServiceError
58
+ end
59
+ class StackRefactorNotFoundException < ::Aws::Errors::ServiceError
60
+ end
61
+ class StackSetNotEmptyException < ::Aws::Errors::ServiceError
62
+ end
63
+ class StackSetNotFoundException < ::Aws::Errors::ServiceError
64
+ end
65
+ class StaleRequestException < ::Aws::Errors::ServiceError
66
+ end
67
+ class TokenAlreadyExistsException < ::Aws::Errors::ServiceError
68
+ end
69
+ class TypeConfigurationNotFoundException < ::Aws::Errors::ServiceError
70
+ end
71
+ class TypeNotFoundException < ::Aws::Errors::ServiceError
72
+ end
73
+ end
74
+ end
75
+ end
data/sig/event.rbs ADDED
@@ -0,0 +1,83 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFormation
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html
11
+ class Event
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#id-instance_method
18
+ def id: () -> String
19
+ alias event_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#stack_id-instance_method
22
+ def stack_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#stack_name-instance_method
25
+ def stack_name: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#logical_resource_id-instance_method
28
+ def logical_resource_id: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#physical_resource_id-instance_method
31
+ def physical_resource_id: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_type-instance_method
34
+ def resource_type: () -> ::String
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#timestamp-instance_method
37
+ def timestamp: () -> ::Time
38
+
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" | "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
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_status_reason-instance_method
43
+ def resource_status_reason: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_properties-instance_method
46
+ def resource_properties: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#client_request_token-instance_method
49
+ def client_request_token: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_type-instance_method
52
+ def hook_type: () -> ::String
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_status-instance_method
55
+ def hook_status: () -> ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED")
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_status_reason-instance_method
58
+ def hook_status_reason: () -> ::String
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_invocation_point-instance_method
61
+ def hook_invocation_point: () -> ("PRE_PROVISION")
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_failure_mode-instance_method
64
+ def hook_failure_mode: () -> ("FAIL" | "WARN")
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#detailed_status-instance_method
67
+ def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
68
+
69
+ def client: () -> Client
70
+
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data-instance_method
73
+ def data: () -> Types::StackEvent
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data_loaded?-instance_method
76
+ def data_loaded?: () -> bool
77
+
78
+
79
+ class Collection < ::Aws::Resources::Collection[Event]
80
+ end
81
+ end
82
+ end
83
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,139 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFormation
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_checksum_calculation: String,
43
+ ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?sigv4a_signing_region_set: Array[String],
55
+ ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
57
+ ?token_provider: untyped,
58
+ ?use_dualstack_endpoint: bool,
59
+ ?use_fips_endpoint: bool,
60
+ ?validate_params: bool,
61
+ ?endpoint_provider: untyped,
62
+ ?http_proxy: String,
63
+ ?http_open_timeout: (Float | Integer),
64
+ ?http_read_timeout: (Float | Integer),
65
+ ?http_idle_timeout: (Float | Integer),
66
+ ?http_continue_timeout: (Float | Integer),
67
+ ?ssl_timeout: (Float | Integer | nil),
68
+ ?http_wire_trace: bool,
69
+ ?ssl_verify_peer: bool,
70
+ ?ssl_ca_bundle: String,
71
+ ?ssl_ca_directory: String,
72
+ ?ssl_ca_store: String,
73
+ ?on_chunk_received: Proc,
74
+ ?on_chunk_sent: Proc,
75
+ ?raise_response_errors: bool
76
+ ) -> void
77
+ | (?Hash[Symbol, untyped]) -> void
78
+
79
+ def client: () -> Client
80
+
81
+
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#create_stack-instance_method
83
+ def create_stack: (
84
+ stack_name: ::String,
85
+ ?template_body: ::String,
86
+ ?template_url: ::String,
87
+ ?parameters: Array[
88
+ {
89
+ parameter_key: ::String?,
90
+ parameter_value: ::String?,
91
+ use_previous_value: bool?,
92
+ resolved_value: ::String?
93
+ },
94
+ ],
95
+ ?disable_rollback: bool,
96
+ ?rollback_configuration: {
97
+ rollback_triggers: Array[
98
+ {
99
+ arn: ::String,
100
+ type: ::String
101
+ },
102
+ ]?,
103
+ monitoring_time_in_minutes: ::Integer?
104
+ },
105
+ ?timeout_in_minutes: ::Integer,
106
+ ?notification_arns: Array[::String],
107
+ ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
108
+ ?resource_types: Array[::String],
109
+ ?role_arn: ::String,
110
+ ?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"),
111
+ ?stack_policy_body: ::String,
112
+ ?stack_policy_url: ::String,
113
+ ?tags: Array[
114
+ {
115
+ key: ::String,
116
+ value: ::String
117
+ },
118
+ ],
119
+ ?client_request_token: ::String,
120
+ ?enable_termination_protection: bool,
121
+ ?retain_except_on_create: bool
122
+ ) -> Stack
123
+ | (?Hash[Symbol, untyped]) -> Stack
124
+
125
+
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#event-instance_method
127
+ def event: (String id) -> Event
128
+
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stack-instance_method
130
+ def stack: (String name) -> Stack
131
+
132
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stacks-instance_method
133
+ def stacks: (
134
+ ?stack_name: ::String
135
+ ) -> Stack::Collection
136
+ | (?Hash[Symbol, untyped]) -> Stack::Collection
137
+ end
138
+ end
139
+ end
data/sig/stack.rbs ADDED
@@ -0,0 +1,229 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFormation
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html
11
+ class Stack
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#initialize-instance_method
13
+ def initialize: (String name, Hash[Symbol, untyped] options) -> void
14
+ | (name: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#name-instance_method
18
+ def name: () -> String
19
+ alias stack_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_id-instance_method
22
+ def stack_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#change_set_id-instance_method
25
+ def change_set_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#description-instance_method
28
+ def description: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#parameters-instance_method
31
+ def parameters: () -> ::Array[Types::Parameter]
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#creation_time-instance_method
34
+ def creation_time: () -> ::Time
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#deletion_time-instance_method
37
+ def deletion_time: () -> ::Time
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#last_updated_time-instance_method
40
+ def last_updated_time: () -> ::Time
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#rollback_configuration-instance_method
43
+ def rollback_configuration: () -> Types::RollbackConfiguration
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_status-instance_method
46
+ def stack_status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE")
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_status_reason-instance_method
49
+ def stack_status_reason: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#disable_rollback-instance_method
52
+ def disable_rollback: () -> bool
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#notification_arns-instance_method
55
+ def notification_arns: () -> ::Array[::String]
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#timeout_in_minutes-instance_method
58
+ def timeout_in_minutes: () -> ::Integer
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#capabilities-instance_method
61
+ def capabilities: () -> ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")]
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#outputs-instance_method
64
+ def outputs: () -> ::Array[Types::Output]
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#role_arn-instance_method
67
+ def role_arn: () -> ::String
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#tags-instance_method
70
+ def tags: () -> ::Array[Types::Tag]
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#enable_termination_protection-instance_method
73
+ def enable_termination_protection: () -> bool
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#parent_id-instance_method
76
+ def parent_id: () -> ::String
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#root_id-instance_method
79
+ def root_id: () -> ::String
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#drift_information-instance_method
82
+ def drift_information: () -> Types::StackDriftInformation
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#retain_except_on_create-instance_method
85
+ def retain_except_on_create: () -> bool
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#deletion_mode-instance_method
88
+ def deletion_mode: () -> ("STANDARD" | "FORCE_DELETE_STACK")
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#detailed_status-instance_method
91
+ def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
92
+
93
+ def client: () -> Client
94
+
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#load-instance_method
96
+ def load: () -> self
97
+ alias reload load
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data-instance_method
100
+ def data: () -> Types::Stack
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data_loaded?-instance_method
103
+ def data_loaded?: () -> bool
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#exists?-instance_method
106
+ def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
107
+ | (?Hash[Symbol, untyped]) -> bool
108
+
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#wait_until_exists-instance_method
110
+ def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Stack
111
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Stack
112
+
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#cancel_update-instance_method
114
+ def cancel_update: (
115
+ ?client_request_token: ::String
116
+ ) -> ::Aws::EmptyStructure
117
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
118
+
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#create-instance_method
120
+ def create: (
121
+ ?template_body: ::String,
122
+ ?template_url: ::String,
123
+ ?parameters: Array[
124
+ {
125
+ parameter_key: ::String?,
126
+ parameter_value: ::String?,
127
+ use_previous_value: bool?,
128
+ resolved_value: ::String?
129
+ },
130
+ ],
131
+ ?disable_rollback: bool,
132
+ ?rollback_configuration: {
133
+ rollback_triggers: Array[
134
+ {
135
+ arn: ::String,
136
+ type: ::String
137
+ },
138
+ ]?,
139
+ monitoring_time_in_minutes: ::Integer?
140
+ },
141
+ ?timeout_in_minutes: ::Integer,
142
+ ?notification_arns: Array[::String],
143
+ ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
144
+ ?resource_types: Array[::String],
145
+ ?role_arn: ::String,
146
+ ?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"),
147
+ ?stack_policy_body: ::String,
148
+ ?stack_policy_url: ::String,
149
+ ?tags: Array[
150
+ {
151
+ key: ::String,
152
+ value: ::String
153
+ },
154
+ ],
155
+ ?client_request_token: ::String,
156
+ ?enable_termination_protection: bool,
157
+ ?retain_except_on_create: bool
158
+ ) -> Types::CreateStackOutput
159
+ | (?Hash[Symbol, untyped]) -> Types::CreateStackOutput
160
+
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#delete-instance_method
162
+ def delete: (
163
+ ?retain_resources: Array[::String],
164
+ ?role_arn: ::String,
165
+ ?client_request_token: ::String,
166
+ ?deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK")
167
+ ) -> ::Aws::EmptyStructure
168
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
169
+
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#update-instance_method
171
+ def update: (
172
+ ?template_body: ::String,
173
+ ?template_url: ::String,
174
+ ?use_previous_template: bool,
175
+ ?stack_policy_during_update_body: ::String,
176
+ ?stack_policy_during_update_url: ::String,
177
+ ?parameters: Array[
178
+ {
179
+ parameter_key: ::String?,
180
+ parameter_value: ::String?,
181
+ use_previous_value: bool?,
182
+ resolved_value: ::String?
183
+ },
184
+ ],
185
+ ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
186
+ ?resource_types: Array[::String],
187
+ ?role_arn: ::String,
188
+ ?rollback_configuration: {
189
+ rollback_triggers: Array[
190
+ {
191
+ arn: ::String,
192
+ type: ::String
193
+ },
194
+ ]?,
195
+ monitoring_time_in_minutes: ::Integer?
196
+ },
197
+ ?stack_policy_body: ::String,
198
+ ?stack_policy_url: ::String,
199
+ ?notification_arns: Array[::String],
200
+ ?tags: Array[
201
+ {
202
+ key: ::String,
203
+ value: ::String
204
+ },
205
+ ],
206
+ ?disable_rollback: bool,
207
+ ?client_request_token: ::String,
208
+ ?retain_except_on_create: bool
209
+ ) -> Types::UpdateStackOutput
210
+ | (?Hash[Symbol, untyped]) -> Types::UpdateStackOutput
211
+
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#events-instance_method
213
+ def events: (
214
+ ) -> Event::Collection
215
+ | (?Hash[Symbol, untyped]) -> Event::Collection
216
+
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource-instance_method
218
+ def resource: (String logical_id) -> StackResource
219
+
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource_summaries-instance_method
221
+ def resource_summaries: (
222
+ ) -> StackResourceSummary::Collection
223
+ | (?Hash[Symbol, untyped]) -> StackResourceSummary::Collection
224
+
225
+ class Collection < ::Aws::Resources::Collection[Stack]
226
+ end
227
+ end
228
+ end
229
+ end
@@ -0,0 +1,74 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFormation
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html
11
+ class StackResource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#initialize-instance_method
13
+ def initialize: (String stack_name, String logical_id, Hash[Symbol, untyped] options) -> void
14
+ | (stack_name: String, logical_id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack_name-instance_method
18
+ def stack_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#logical_id-instance_method
21
+ def logical_id: () -> String
22
+ alias logical_resource_id logical_id
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack_id-instance_method
25
+ def stack_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#physical_resource_id-instance_method
28
+ def physical_resource_id: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_type-instance_method
31
+ def resource_type: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#last_updated_timestamp-instance_method
34
+ def last_updated_timestamp: () -> ::Time
35
+
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" | "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
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_status_reason-instance_method
40
+ def resource_status_reason: () -> ::String
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#description-instance_method
43
+ def description: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#metadata-instance_method
46
+ def metadata: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#drift_information-instance_method
49
+ def drift_information: () -> Types::StackResourceDriftInformation
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#module_info-instance_method
52
+ def module_info: () -> Types::ModuleInfo
53
+
54
+ def client: () -> Client
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#load-instance_method
57
+ def load: () -> self
58
+ alias reload load
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#data-instance_method
61
+ def data: () -> Types::StackResourceDetail
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#data_loaded?-instance_method
64
+ def data_loaded?: () -> bool
65
+
66
+
67
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack-instance_method
68
+ def stack: () -> Stack
69
+
70
+ class Collection < ::Aws::Resources::Collection[StackResource]
71
+ end
72
+ end
73
+ end
74
+ end