aws-sdk-cloudformation 1.96.0 → 1.98.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +2 -2
- data/lib/aws-sdk-cloudformation/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudformation/types.rb +3 -3
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +1366 -0
- data/sig/errors.rbs +61 -0
- data/sig/event.rbs +80 -0
- data/sig/resource.rbs +134 -0
- data/sig/stack.rbs +222 -0
- data/sig/stack_resource.rbs +74 -0
- data/sig/stack_resource_summary.rbs +62 -0
- data/sig/types.rbs +1687 -0
- data/sig/waiters.rbs +101 -0
- metadata +17 -8
data/sig/errors.rbs
ADDED
@@ -0,0 +1,61 @@
|
|
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 CreatedButModifiedException < ::Aws::Errors::ServiceError
|
22
|
+
end
|
23
|
+
class InsufficientCapabilitiesException < ::Aws::Errors::ServiceError
|
24
|
+
end
|
25
|
+
class InvalidChangeSetStatusException < ::Aws::Errors::ServiceError
|
26
|
+
end
|
27
|
+
class InvalidOperationException < ::Aws::Errors::ServiceError
|
28
|
+
end
|
29
|
+
class InvalidStateTransitionException < ::Aws::Errors::ServiceError
|
30
|
+
end
|
31
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
32
|
+
end
|
33
|
+
class NameAlreadyExistsException < ::Aws::Errors::ServiceError
|
34
|
+
end
|
35
|
+
class OperationIdAlreadyExistsException < ::Aws::Errors::ServiceError
|
36
|
+
end
|
37
|
+
class OperationInProgressException < ::Aws::Errors::ServiceError
|
38
|
+
end
|
39
|
+
class OperationNotFoundException < ::Aws::Errors::ServiceError
|
40
|
+
end
|
41
|
+
class OperationStatusCheckFailedException < ::Aws::Errors::ServiceError
|
42
|
+
end
|
43
|
+
class StackInstanceNotFoundException < ::Aws::Errors::ServiceError
|
44
|
+
end
|
45
|
+
class StackNotFoundException < ::Aws::Errors::ServiceError
|
46
|
+
end
|
47
|
+
class StackSetNotEmptyException < ::Aws::Errors::ServiceError
|
48
|
+
end
|
49
|
+
class StackSetNotFoundException < ::Aws::Errors::ServiceError
|
50
|
+
end
|
51
|
+
class StaleRequestException < ::Aws::Errors::ServiceError
|
52
|
+
end
|
53
|
+
class TokenAlreadyExistsException < ::Aws::Errors::ServiceError
|
54
|
+
end
|
55
|
+
class TypeConfigurationNotFoundException < ::Aws::Errors::ServiceError
|
56
|
+
end
|
57
|
+
class TypeNotFoundException < ::Aws::Errors::ServiceError
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
data/sig/event.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
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" | "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
|
+
def client: () -> Client
|
67
|
+
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data-instance_method
|
70
|
+
def data: () -> Types::StackEvent
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data_loaded?-instance_method
|
73
|
+
def data_loaded?: () -> bool
|
74
|
+
|
75
|
+
|
76
|
+
class Collection < ::Aws::Resources::Collection[Event]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,134 @@
|
|
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
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#create_stack-instance_method
|
78
|
+
def create_stack: (
|
79
|
+
stack_name: ::String,
|
80
|
+
?template_body: ::String,
|
81
|
+
?template_url: ::String,
|
82
|
+
?parameters: Array[
|
83
|
+
{
|
84
|
+
parameter_key: ::String?,
|
85
|
+
parameter_value: ::String?,
|
86
|
+
use_previous_value: bool?,
|
87
|
+
resolved_value: ::String?
|
88
|
+
},
|
89
|
+
],
|
90
|
+
?disable_rollback: bool,
|
91
|
+
?rollback_configuration: {
|
92
|
+
rollback_triggers: Array[
|
93
|
+
{
|
94
|
+
arn: ::String,
|
95
|
+
type: ::String
|
96
|
+
},
|
97
|
+
]?,
|
98
|
+
monitoring_time_in_minutes: ::Integer?
|
99
|
+
},
|
100
|
+
?timeout_in_minutes: ::Integer,
|
101
|
+
?notification_arns: Array[::String],
|
102
|
+
?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
|
103
|
+
?resource_types: Array[::String],
|
104
|
+
?role_arn: ::String,
|
105
|
+
?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"),
|
106
|
+
?stack_policy_body: ::String,
|
107
|
+
?stack_policy_url: ::String,
|
108
|
+
?tags: Array[
|
109
|
+
{
|
110
|
+
key: ::String,
|
111
|
+
value: ::String
|
112
|
+
},
|
113
|
+
],
|
114
|
+
?client_request_token: ::String,
|
115
|
+
?enable_termination_protection: bool,
|
116
|
+
?retain_except_on_create: bool
|
117
|
+
) -> Stack
|
118
|
+
| (?Hash[Symbol, untyped]) -> Stack
|
119
|
+
|
120
|
+
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#event-instance_method
|
122
|
+
def event: (String id) -> Event
|
123
|
+
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stack-instance_method
|
125
|
+
def stack: (String name) -> Stack
|
126
|
+
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stacks-instance_method
|
128
|
+
def stacks: (
|
129
|
+
?stack_name: ::String
|
130
|
+
) -> Stack::Collection
|
131
|
+
| (?Hash[Symbol, untyped]) -> Stack::Collection
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
data/sig/stack.rbs
ADDED
@@ -0,0 +1,222 @@
|
|
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
|
+
def client: () -> Client
|
88
|
+
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#load-instance_method
|
90
|
+
def load: () -> self
|
91
|
+
alias reload load
|
92
|
+
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data-instance_method
|
94
|
+
def data: () -> Types::Stack
|
95
|
+
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data_loaded?-instance_method
|
97
|
+
def data_loaded?: () -> bool
|
98
|
+
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#exists?-instance_method
|
100
|
+
def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
|
101
|
+
| (?Hash[Symbol, untyped]) -> bool
|
102
|
+
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#wait_until_exists-instance_method
|
104
|
+
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
|
105
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Stack
|
106
|
+
|
107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#cancel_update-instance_method
|
108
|
+
def cancel_update: (
|
109
|
+
?client_request_token: ::String
|
110
|
+
) -> ::Aws::EmptyStructure
|
111
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
112
|
+
|
113
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#create-instance_method
|
114
|
+
def create: (
|
115
|
+
?template_body: ::String,
|
116
|
+
?template_url: ::String,
|
117
|
+
?parameters: Array[
|
118
|
+
{
|
119
|
+
parameter_key: ::String?,
|
120
|
+
parameter_value: ::String?,
|
121
|
+
use_previous_value: bool?,
|
122
|
+
resolved_value: ::String?
|
123
|
+
},
|
124
|
+
],
|
125
|
+
?disable_rollback: bool,
|
126
|
+
?rollback_configuration: {
|
127
|
+
rollback_triggers: Array[
|
128
|
+
{
|
129
|
+
arn: ::String,
|
130
|
+
type: ::String
|
131
|
+
},
|
132
|
+
]?,
|
133
|
+
monitoring_time_in_minutes: ::Integer?
|
134
|
+
},
|
135
|
+
?timeout_in_minutes: ::Integer,
|
136
|
+
?notification_arns: Array[::String],
|
137
|
+
?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
|
138
|
+
?resource_types: Array[::String],
|
139
|
+
?role_arn: ::String,
|
140
|
+
?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"),
|
141
|
+
?stack_policy_body: ::String,
|
142
|
+
?stack_policy_url: ::String,
|
143
|
+
?tags: Array[
|
144
|
+
{
|
145
|
+
key: ::String,
|
146
|
+
value: ::String
|
147
|
+
},
|
148
|
+
],
|
149
|
+
?client_request_token: ::String,
|
150
|
+
?enable_termination_protection: bool,
|
151
|
+
?retain_except_on_create: bool
|
152
|
+
) -> Types::CreateStackOutput
|
153
|
+
| (?Hash[Symbol, untyped]) -> Types::CreateStackOutput
|
154
|
+
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#delete-instance_method
|
156
|
+
def delete: (
|
157
|
+
?retain_resources: Array[::String],
|
158
|
+
?role_arn: ::String,
|
159
|
+
?client_request_token: ::String
|
160
|
+
) -> ::Aws::EmptyStructure
|
161
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
162
|
+
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#update-instance_method
|
164
|
+
def update: (
|
165
|
+
?template_body: ::String,
|
166
|
+
?template_url: ::String,
|
167
|
+
?use_previous_template: bool,
|
168
|
+
?stack_policy_during_update_body: ::String,
|
169
|
+
?stack_policy_during_update_url: ::String,
|
170
|
+
?parameters: Array[
|
171
|
+
{
|
172
|
+
parameter_key: ::String?,
|
173
|
+
parameter_value: ::String?,
|
174
|
+
use_previous_value: bool?,
|
175
|
+
resolved_value: ::String?
|
176
|
+
},
|
177
|
+
],
|
178
|
+
?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")],
|
179
|
+
?resource_types: Array[::String],
|
180
|
+
?role_arn: ::String,
|
181
|
+
?rollback_configuration: {
|
182
|
+
rollback_triggers: Array[
|
183
|
+
{
|
184
|
+
arn: ::String,
|
185
|
+
type: ::String
|
186
|
+
},
|
187
|
+
]?,
|
188
|
+
monitoring_time_in_minutes: ::Integer?
|
189
|
+
},
|
190
|
+
?stack_policy_body: ::String,
|
191
|
+
?stack_policy_url: ::String,
|
192
|
+
?notification_arns: Array[::String],
|
193
|
+
?tags: Array[
|
194
|
+
{
|
195
|
+
key: ::String,
|
196
|
+
value: ::String
|
197
|
+
},
|
198
|
+
],
|
199
|
+
?disable_rollback: bool,
|
200
|
+
?client_request_token: ::String,
|
201
|
+
?retain_except_on_create: bool
|
202
|
+
) -> Types::UpdateStackOutput
|
203
|
+
| (?Hash[Symbol, untyped]) -> Types::UpdateStackOutput
|
204
|
+
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#events-instance_method
|
206
|
+
def events: (
|
207
|
+
) -> Event::Collection
|
208
|
+
| (?Hash[Symbol, untyped]) -> Event::Collection
|
209
|
+
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource-instance_method
|
211
|
+
def resource: (String logical_id) -> StackResource
|
212
|
+
|
213
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource_summaries-instance_method
|
214
|
+
def resource_summaries: (
|
215
|
+
) -> StackResourceSummary::Collection
|
216
|
+
| (?Hash[Symbol, untyped]) -> StackResourceSummary::Collection
|
217
|
+
|
218
|
+
class Collection < ::Aws::Resources::Collection[Stack]
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
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" | "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
|
@@ -0,0 +1,62 @@
|
|
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/StackResourceSummary.html
|
11
|
+
class StackResourceSummary
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.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/StackResourceSummary.html#stack_name-instance_method
|
18
|
+
def stack_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.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/StackResourceSummary.html#physical_resource_id-instance_method
|
25
|
+
def physical_resource_id: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_type-instance_method
|
28
|
+
def resource_type: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#last_updated_timestamp-instance_method
|
31
|
+
def last_updated_timestamp: () -> ::Time
|
32
|
+
|
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")
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_status_reason-instance_method
|
37
|
+
def resource_status_reason: () -> ::String
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#drift_information-instance_method
|
40
|
+
def drift_information: () -> Types::StackResourceDriftInformationSummary
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#module_info-instance_method
|
43
|
+
def module_info: () -> Types::ModuleInfo
|
44
|
+
|
45
|
+
def client: () -> Client
|
46
|
+
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#data-instance_method
|
49
|
+
def data: () -> Types::StackResourceSummary
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#data_loaded?-instance_method
|
52
|
+
def data_loaded?: () -> bool
|
53
|
+
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource-instance_method
|
56
|
+
def resource: () -> StackResource
|
57
|
+
|
58
|
+
class Collection < ::Aws::Resources::Collection[StackResourceSummary]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|