aws-sdk-opsworks 1.51.0 → 1.53.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,22 @@
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 OpsWorks
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ValidationException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ end
21
+ end
22
+ end
data/sig/layer.rbs ADDED
@@ -0,0 +1,114 @@
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 OpsWorks
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html
11
+ class Layer
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.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/OpsWorks/Layer.html#id-instance_method
18
+ def id: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#arn-instance_method
21
+ def arn: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#stack_id-instance_method
24
+ def stack_id: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#layer_id-instance_method
27
+ def layer_id: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#type-instance_method
30
+ def type: () -> ("aws-flow-ruby" | "ecs-cluster" | "java-app" | "lb" | "web" | "php-app" | "rails-app" | "nodejs-app" | "memcached" | "db-master" | "monitoring-master" | "custom")
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#name-instance_method
33
+ def name: () -> ::String
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#shortname-instance_method
36
+ def shortname: () -> ::String
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#attributes-instance_method
39
+ def attributes: () -> ::Hash[("EcsClusterArn" | "EnableHaproxyStats" | "HaproxyStatsUrl" | "HaproxyStatsUser" | "HaproxyStatsPassword" | "HaproxyHealthCheckUrl" | "HaproxyHealthCheckMethod" | "MysqlRootPassword" | "MysqlRootPasswordUbiquitous" | "GangliaUrl" | "GangliaUser" | "GangliaPassword" | "MemcachedMemory" | "NodejsVersion" | "RubyVersion" | "RubygemsVersion" | "ManageBundler" | "BundlerVersion" | "RailsStack" | "PassengerVersion" | "Jvm" | "JvmVersion" | "JvmOptions" | "JavaAppServer" | "JavaAppServerVersion"), ::String]
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#cloud_watch_logs_configuration-instance_method
42
+ def cloud_watch_logs_configuration: () -> Types::CloudWatchLogsConfiguration
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#custom_instance_profile_arn-instance_method
45
+ def custom_instance_profile_arn: () -> ::String
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#custom_json-instance_method
48
+ def custom_json: () -> ::String
49
+
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#custom_security_group_ids-instance_method
51
+ def custom_security_group_ids: () -> ::Array[::String]
52
+
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#default_security_group_names-instance_method
54
+ def default_security_group_names: () -> ::Array[::String]
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#packages-instance_method
57
+ def packages: () -> ::Array[::String]
58
+
59
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#volume_configurations-instance_method
60
+ def volume_configurations: () -> ::Array[Types::VolumeConfiguration]
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#enable_auto_healing-instance_method
63
+ def enable_auto_healing: () -> bool
64
+
65
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#auto_assign_elastic_ips-instance_method
66
+ def auto_assign_elastic_ips: () -> bool
67
+
68
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#auto_assign_public_ips-instance_method
69
+ def auto_assign_public_ips: () -> bool
70
+
71
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#default_recipes-instance_method
72
+ def default_recipes: () -> Types::Recipes
73
+
74
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#custom_recipes-instance_method
75
+ def custom_recipes: () -> Types::Recipes
76
+
77
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#created_at-instance_method
78
+ def created_at: () -> ::String
79
+
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#install_updates_on_boot-instance_method
81
+ def install_updates_on_boot: () -> bool
82
+
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#use_ebs_optimized_instances-instance_method
84
+ def use_ebs_optimized_instances: () -> bool
85
+
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#lifecycle_event_configuration-instance_method
87
+ def lifecycle_event_configuration: () -> Types::LifecycleEventConfiguration
88
+
89
+ def client: () -> Client
90
+
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#load-instance_method
92
+ def load: () -> self
93
+ alias reload load
94
+
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#data-instance_method
96
+ def data: () -> Types::Layer
97
+
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#data_loaded?-instance_method
99
+ def data_loaded?: () -> bool
100
+
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#delete-instance_method
103
+ def delete: (
104
+ ) -> ::Aws::EmptyStructure
105
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
106
+
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Layer.html#stack-instance_method
108
+ def stack: () -> Stack?
109
+
110
+ class Collection < ::Aws::Resources::Collection[Layer]
111
+ end
112
+ end
113
+ end
114
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,129 @@
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 OpsWorks
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Resource.html#create_stack-instance_method
79
+ def create_stack: (
80
+ name: ::String,
81
+ region: ::String,
82
+ ?vpc_id: ::String,
83
+ ?attributes: Hash[("Color"), ::String],
84
+ service_role_arn: ::String,
85
+ default_instance_profile_arn: ::String,
86
+ ?default_os: ::String,
87
+ ?hostname_theme: ::String,
88
+ ?default_availability_zone: ::String,
89
+ ?default_subnet_id: ::String,
90
+ ?custom_json: ::String,
91
+ ?configuration_manager: {
92
+ name: ::String?,
93
+ version: ::String?
94
+ },
95
+ ?chef_configuration: {
96
+ manage_berkshelf: bool?,
97
+ berkshelf_version: ::String?
98
+ },
99
+ ?use_custom_cookbooks: bool,
100
+ ?use_opsworks_security_groups: bool,
101
+ ?custom_cookbooks_source: {
102
+ type: ("git" | "svn" | "archive" | "s3")?,
103
+ url: ::String?,
104
+ username: ::String?,
105
+ password: ::String?,
106
+ ssh_key: ::String?,
107
+ revision: ::String?
108
+ },
109
+ ?default_ssh_key_name: ::String,
110
+ ?default_root_device_type: ("ebs" | "instance-store"),
111
+ ?agent_version: ::String
112
+ ) -> Stack
113
+ | (?Hash[Symbol, untyped]) -> Stack
114
+
115
+
116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Resource.html#layer-instance_method
117
+ def layer: (String id) -> Layer
118
+
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Resource.html#stack-instance_method
120
+ def stack: (String id) -> Stack
121
+
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Resource.html#stacks-instance_method
123
+ def stacks: (
124
+ ?stack_ids: Array[::String]
125
+ ) -> Stack::Collection
126
+ | (?Hash[Symbol, untyped]) -> Stack::Collection
127
+ end
128
+ end
129
+ end
data/sig/stack.rbs ADDED
@@ -0,0 +1,177 @@
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 OpsWorks
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html
11
+ class Stack
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.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/OpsWorks/Stack.html#id-instance_method
18
+ def id: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#stack_id-instance_method
21
+ def stack_id: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#name-instance_method
24
+ def name: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#arn-instance_method
27
+ def arn: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#region-instance_method
30
+ def region: () -> ::String
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#vpc_id-instance_method
33
+ def vpc_id: () -> ::String
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#attributes-instance_method
36
+ def attributes: () -> ::Hash[("Color"), ::String]
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#service_role_arn-instance_method
39
+ def service_role_arn: () -> ::String
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_instance_profile_arn-instance_method
42
+ def default_instance_profile_arn: () -> ::String
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_os-instance_method
45
+ def default_os: () -> ::String
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#hostname_theme-instance_method
48
+ def hostname_theme: () -> ::String
49
+
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_availability_zone-instance_method
51
+ def default_availability_zone: () -> ::String
52
+
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_subnet_id-instance_method
54
+ def default_subnet_id: () -> ::String
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#custom_json-instance_method
57
+ def custom_json: () -> ::String
58
+
59
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#configuration_manager-instance_method
60
+ def configuration_manager: () -> Types::StackConfigurationManager
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#chef_configuration-instance_method
63
+ def chef_configuration: () -> Types::ChefConfiguration
64
+
65
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#use_custom_cookbooks-instance_method
66
+ def use_custom_cookbooks: () -> bool
67
+
68
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#use_opsworks_security_groups-instance_method
69
+ def use_opsworks_security_groups: () -> bool
70
+
71
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#custom_cookbooks_source-instance_method
72
+ def custom_cookbooks_source: () -> Types::Source
73
+
74
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_ssh_key_name-instance_method
75
+ def default_ssh_key_name: () -> ::String
76
+
77
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#created_at-instance_method
78
+ def created_at: () -> ::String
79
+
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#default_root_device_type-instance_method
81
+ def default_root_device_type: () -> ("ebs" | "instance-store")
82
+
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#agent_version-instance_method
84
+ def agent_version: () -> ::String
85
+
86
+ def client: () -> Client
87
+
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#load-instance_method
89
+ def load: () -> self
90
+ alias reload load
91
+
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#data-instance_method
93
+ def data: () -> Types::Stack
94
+
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#data_loaded?-instance_method
96
+ def data_loaded?: () -> bool
97
+
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#create_layer-instance_method
100
+ def create_layer: (
101
+ type: ("aws-flow-ruby" | "ecs-cluster" | "java-app" | "lb" | "web" | "php-app" | "rails-app" | "nodejs-app" | "memcached" | "db-master" | "monitoring-master" | "custom"),
102
+ name: ::String,
103
+ shortname: ::String,
104
+ ?attributes: Hash[("EcsClusterArn" | "EnableHaproxyStats" | "HaproxyStatsUrl" | "HaproxyStatsUser" | "HaproxyStatsPassword" | "HaproxyHealthCheckUrl" | "HaproxyHealthCheckMethod" | "MysqlRootPassword" | "MysqlRootPasswordUbiquitous" | "GangliaUrl" | "GangliaUser" | "GangliaPassword" | "MemcachedMemory" | "NodejsVersion" | "RubyVersion" | "RubygemsVersion" | "ManageBundler" | "BundlerVersion" | "RailsStack" | "PassengerVersion" | "Jvm" | "JvmVersion" | "JvmOptions" | "JavaAppServer" | "JavaAppServerVersion"), ::String],
105
+ ?cloud_watch_logs_configuration: {
106
+ enabled: bool?,
107
+ log_streams: Array[
108
+ {
109
+ log_group_name: ::String?,
110
+ datetime_format: ::String?,
111
+ time_zone: ("LOCAL" | "UTC")?,
112
+ file: ::String?,
113
+ file_fingerprint_lines: ::String?,
114
+ multi_line_start_pattern: ::String?,
115
+ initial_position: ("start_of_file" | "end_of_file")?,
116
+ encoding: ("ascii" | "big5" | "big5hkscs" | "cp037" | "cp424" | "cp437" | "cp500" | "cp720" | "cp737" | "cp775" | "cp850" | "cp852" | "cp855" | "cp856" | "cp857" | "cp858" | "cp860" | "cp861" | "cp862" | "cp863" | "cp864" | "cp865" | "cp866" | "cp869" | "cp874" | "cp875" | "cp932" | "cp949" | "cp950" | "cp1006" | "cp1026" | "cp1140" | "cp1250" | "cp1251" | "cp1252" | "cp1253" | "cp1254" | "cp1255" | "cp1256" | "cp1257" | "cp1258" | "euc_jp" | "euc_jis_2004" | "euc_jisx0213" | "euc_kr" | "gb2312" | "gbk" | "gb18030" | "hz" | "iso2022_jp" | "iso2022_jp_1" | "iso2022_jp_2" | "iso2022_jp_2004" | "iso2022_jp_3" | "iso2022_jp_ext" | "iso2022_kr" | "latin_1" | "iso8859_2" | "iso8859_3" | "iso8859_4" | "iso8859_5" | "iso8859_6" | "iso8859_7" | "iso8859_8" | "iso8859_9" | "iso8859_10" | "iso8859_13" | "iso8859_14" | "iso8859_15" | "iso8859_16" | "johab" | "koi8_r" | "koi8_u" | "mac_cyrillic" | "mac_greek" | "mac_iceland" | "mac_latin2" | "mac_roman" | "mac_turkish" | "ptcp154" | "shift_jis" | "shift_jis_2004" | "shift_jisx0213" | "utf_32" | "utf_32_be" | "utf_32_le" | "utf_16" | "utf_16_be" | "utf_16_le" | "utf_7" | "utf_8" | "utf_8_sig")?,
117
+ buffer_duration: ::Integer?,
118
+ batch_count: ::Integer?,
119
+ batch_size: ::Integer?
120
+ },
121
+ ]?
122
+ },
123
+ ?custom_instance_profile_arn: ::String,
124
+ ?custom_json: ::String,
125
+ ?custom_security_group_ids: Array[::String],
126
+ ?packages: Array[::String],
127
+ ?volume_configurations: Array[
128
+ {
129
+ mount_point: ::String,
130
+ raid_level: ::Integer?,
131
+ number_of_disks: ::Integer,
132
+ size: ::Integer,
133
+ volume_type: ::String?,
134
+ iops: ::Integer?,
135
+ encrypted: bool?
136
+ },
137
+ ],
138
+ ?enable_auto_healing: bool,
139
+ ?auto_assign_elastic_ips: bool,
140
+ ?auto_assign_public_ips: bool,
141
+ ?custom_recipes: {
142
+ setup: Array[::String]?,
143
+ configure: Array[::String]?,
144
+ deploy: Array[::String]?,
145
+ undeploy: Array[::String]?,
146
+ shutdown: Array[::String]?
147
+ },
148
+ ?install_updates_on_boot: bool,
149
+ ?use_ebs_optimized_instances: bool,
150
+ ?lifecycle_event_configuration: {
151
+ shutdown: {
152
+ execution_timeout: ::Integer?,
153
+ delay_until_elb_connections_drained: bool?
154
+ }?
155
+ }
156
+ ) -> Layer
157
+ | (?Hash[Symbol, untyped]) -> Layer
158
+
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#delete-instance_method
160
+ def delete: (
161
+ ) -> ::Aws::EmptyStructure
162
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
163
+
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#layers-instance_method
165
+ def layers: (
166
+ ?layer_ids: Array[::String]
167
+ ) -> Layer::Collection
168
+ | (?Hash[Symbol, untyped]) -> Layer::Collection
169
+
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/Stack.html#summary-instance_method
171
+ def summary: () -> StackSummary
172
+
173
+ class Collection < ::Aws::Resources::Collection[Stack]
174
+ end
175
+ end
176
+ end
177
+ end
@@ -0,0 +1,55 @@
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 OpsWorks
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html
11
+ class StackSummary
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#initialize-instance_method
13
+ def initialize: (String stack_id, Hash[Symbol, untyped] options) -> void
14
+ | (stack_id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#stack_id-instance_method
18
+ def stack_id: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#name-instance_method
21
+ def name: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#arn-instance_method
24
+ def arn: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#layers_count-instance_method
27
+ def layers_count: () -> ::Integer
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#apps_count-instance_method
30
+ def apps_count: () -> ::Integer
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#instances_count-instance_method
33
+ def instances_count: () -> Types::InstancesCount
34
+
35
+ def client: () -> Client
36
+
37
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#load-instance_method
38
+ def load: () -> self
39
+ alias reload load
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#data-instance_method
42
+ def data: () -> Types::StackSummary
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#data_loaded?-instance_method
45
+ def data_loaded?: () -> bool
46
+
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpsWorks/StackSummary.html#stack-instance_method
49
+ def stack: () -> Stack
50
+
51
+ class Collection < ::Aws::Resources::Collection[StackSummary]
52
+ end
53
+ end
54
+ end
55
+ end