aws-sdk-autoscaling 1.102.0 → 1.104.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/resource.rbs ADDED
@@ -0,0 +1,342 @@
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 AutoScaling
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/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/AutoScaling/Resource.html#create_group-instance_method
78
+ def create_group: (
79
+ auto_scaling_group_name: ::String,
80
+ ?launch_configuration_name: ::String,
81
+ ?launch_template: {
82
+ launch_template_id: ::String?,
83
+ launch_template_name: ::String?,
84
+ version: ::String?
85
+ },
86
+ ?mixed_instances_policy: {
87
+ launch_template: {
88
+ launch_template_specification: {
89
+ launch_template_id: ::String?,
90
+ launch_template_name: ::String?,
91
+ version: ::String?
92
+ }?,
93
+ overrides: Array[
94
+ {
95
+ instance_type: ::String?,
96
+ weighted_capacity: ::String?,
97
+ launch_template_specification: {
98
+ launch_template_id: ::String?,
99
+ launch_template_name: ::String?,
100
+ version: ::String?
101
+ }?,
102
+ instance_requirements: {
103
+ v_cpu_count: {
104
+ min: ::Integer,
105
+ max: ::Integer?
106
+ },
107
+ memory_mi_b: {
108
+ min: ::Integer,
109
+ max: ::Integer?
110
+ },
111
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
112
+ memory_gi_b_per_v_cpu: {
113
+ min: ::Float?,
114
+ max: ::Float?
115
+ }?,
116
+ excluded_instance_types: Array[::String]?,
117
+ instance_generations: Array[("current" | "previous")]?,
118
+ spot_max_price_percentage_over_lowest_price: ::Integer?,
119
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
120
+ on_demand_max_price_percentage_over_lowest_price: ::Integer?,
121
+ bare_metal: ("included" | "excluded" | "required")?,
122
+ burstable_performance: ("included" | "excluded" | "required")?,
123
+ require_hibernate_support: bool?,
124
+ network_interface_count: {
125
+ min: ::Integer?,
126
+ max: ::Integer?
127
+ }?,
128
+ local_storage: ("included" | "excluded" | "required")?,
129
+ local_storage_types: Array[("hdd" | "ssd")]?,
130
+ total_local_storage_gb: {
131
+ min: ::Float?,
132
+ max: ::Float?
133
+ }?,
134
+ baseline_ebs_bandwidth_mbps: {
135
+ min: ::Integer?,
136
+ max: ::Integer?
137
+ }?,
138
+ accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
139
+ accelerator_count: {
140
+ min: ::Integer?,
141
+ max: ::Integer?
142
+ }?,
143
+ accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
144
+ accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
145
+ accelerator_total_memory_mi_b: {
146
+ min: ::Integer?,
147
+ max: ::Integer?
148
+ }?,
149
+ network_bandwidth_gbps: {
150
+ min: ::Float?,
151
+ max: ::Float?
152
+ }?,
153
+ allowed_instance_types: Array[::String]?
154
+ }?
155
+ },
156
+ ]?
157
+ }?,
158
+ instances_distribution: {
159
+ on_demand_allocation_strategy: ::String?,
160
+ on_demand_base_capacity: ::Integer?,
161
+ on_demand_percentage_above_base_capacity: ::Integer?,
162
+ spot_allocation_strategy: ::String?,
163
+ spot_instance_pools: ::Integer?,
164
+ spot_max_price: ::String?
165
+ }?
166
+ },
167
+ ?instance_id: ::String,
168
+ min_size: ::Integer,
169
+ max_size: ::Integer,
170
+ ?desired_capacity: ::Integer,
171
+ ?default_cooldown: ::Integer,
172
+ ?availability_zones: Array[::String],
173
+ ?load_balancer_names: Array[::String],
174
+ ?target_group_arns: Array[::String],
175
+ ?health_check_type: ::String,
176
+ ?health_check_grace_period: ::Integer,
177
+ ?placement_group: ::String,
178
+ ?vpc_zone_identifier: ::String,
179
+ ?termination_policies: Array[::String],
180
+ ?new_instances_protected_from_scale_in: bool,
181
+ ?capacity_rebalance: bool,
182
+ ?lifecycle_hook_specification_list: Array[
183
+ {
184
+ lifecycle_hook_name: ::String,
185
+ lifecycle_transition: ::String,
186
+ notification_metadata: ::String?,
187
+ heartbeat_timeout: ::Integer?,
188
+ default_result: ::String?,
189
+ notification_target_arn: ::String?,
190
+ role_arn: ::String?
191
+ },
192
+ ],
193
+ ?tags: Array[
194
+ {
195
+ resource_id: ::String?,
196
+ resource_type: ::String?,
197
+ key: ::String,
198
+ value: ::String?,
199
+ propagate_at_launch: bool?
200
+ },
201
+ ],
202
+ ?service_linked_role_arn: ::String,
203
+ ?max_instance_lifetime: ::Integer,
204
+ ?context: ::String,
205
+ ?desired_capacity_type: ::String,
206
+ ?default_instance_warmup: ::Integer,
207
+ ?traffic_sources: Array[
208
+ {
209
+ identifier: ::String,
210
+ type: ::String?
211
+ },
212
+ ],
213
+ ?instance_maintenance_policy: {
214
+ min_healthy_percentage: ::Integer?,
215
+ max_healthy_percentage: ::Integer?
216
+ }
217
+ ) -> AutoScalingGroup
218
+ | (?Hash[Symbol, untyped]) -> AutoScalingGroup
219
+
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#create_launch_configuration-instance_method
221
+ def create_launch_configuration: (
222
+ launch_configuration_name: ::String,
223
+ ?image_id: ::String,
224
+ ?key_name: ::String,
225
+ ?security_groups: Array[::String],
226
+ ?classic_link_vpc_id: ::String,
227
+ ?classic_link_vpc_security_groups: Array[::String],
228
+ ?user_data: ::String,
229
+ ?instance_id: ::String,
230
+ ?instance_type: ::String,
231
+ ?kernel_id: ::String,
232
+ ?ramdisk_id: ::String,
233
+ ?block_device_mappings: Array[
234
+ {
235
+ virtual_name: ::String?,
236
+ device_name: ::String,
237
+ ebs: {
238
+ snapshot_id: ::String?,
239
+ volume_size: ::Integer?,
240
+ volume_type: ::String?,
241
+ delete_on_termination: bool?,
242
+ iops: ::Integer?,
243
+ encrypted: bool?,
244
+ throughput: ::Integer?
245
+ }?,
246
+ no_device: bool?
247
+ },
248
+ ],
249
+ ?instance_monitoring: {
250
+ enabled: bool?
251
+ },
252
+ ?spot_price: ::String,
253
+ ?iam_instance_profile: ::String,
254
+ ?ebs_optimized: bool,
255
+ ?associate_public_ip_address: bool,
256
+ ?placement_tenancy: ::String,
257
+ ?metadata_options: {
258
+ http_tokens: ("optional" | "required")?,
259
+ http_put_response_hop_limit: ::Integer?,
260
+ http_endpoint: ("disabled" | "enabled")?
261
+ }
262
+ ) -> LaunchConfiguration
263
+ | (?Hash[Symbol, untyped]) -> LaunchConfiguration
264
+
265
+
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#activities-instance_method
267
+ def activities: (
268
+ ?activity_ids: Array[::String],
269
+ ?auto_scaling_group_name: ::String,
270
+ ?include_deleted_groups: bool
271
+ ) -> Activity::Collection
272
+ | (?Hash[Symbol, untyped]) -> Activity::Collection
273
+
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#activity-instance_method
275
+ def activity: (String id) -> Activity
276
+
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#group-instance_method
278
+ def group: (String name) -> AutoScalingGroup
279
+
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#groups-instance_method
281
+ def groups: (
282
+ ?auto_scaling_group_names: Array[::String],
283
+ ?filters: Array[
284
+ {
285
+ name: ::String?,
286
+ values: Array[::String]?
287
+ },
288
+ ]
289
+ ) -> AutoScalingGroup::Collection
290
+ | (?Hash[Symbol, untyped]) -> AutoScalingGroup::Collection
291
+
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#instances-instance_method
293
+ def instances: (
294
+ ?instance_ids: Array[::String]
295
+ ) -> Instance::Collection
296
+ | (?Hash[Symbol, untyped]) -> Instance::Collection
297
+
298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#launch_configuration-instance_method
299
+ def launch_configuration: (String name) -> LaunchConfiguration
300
+
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#launch_configurations-instance_method
302
+ def launch_configurations: (
303
+ ?launch_configuration_names: Array[::String]
304
+ ) -> LaunchConfiguration::Collection
305
+ | (?Hash[Symbol, untyped]) -> LaunchConfiguration::Collection
306
+
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#policies-instance_method
308
+ def policies: (
309
+ ?auto_scaling_group_name: ::String,
310
+ ?policy_names: Array[::String],
311
+ ?policy_types: Array[::String]
312
+ ) -> ScalingPolicy::Collection
313
+ | (?Hash[Symbol, untyped]) -> ScalingPolicy::Collection
314
+
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#policy-instance_method
316
+ def policy: (String name) -> ScalingPolicy
317
+
318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#scheduled_action-instance_method
319
+ def scheduled_action: (String name) -> ScheduledAction
320
+
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#scheduled_actions-instance_method
322
+ def scheduled_actions: (
323
+ ?auto_scaling_group_name: ::String,
324
+ ?scheduled_action_names: Array[::String],
325
+ ?start_time: ::Time,
326
+ ?end_time: ::Time
327
+ ) -> ScheduledAction::Collection
328
+ | (?Hash[Symbol, untyped]) -> ScheduledAction::Collection
329
+
330
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#tags-instance_method
331
+ def tags: (
332
+ ?filters: Array[
333
+ {
334
+ name: ::String?,
335
+ values: Array[::String]?
336
+ },
337
+ ]
338
+ ) -> Tag::Collection
339
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
340
+ end
341
+ end
342
+ end
@@ -0,0 +1,101 @@
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 AutoScaling
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html
11
+ class ScalingPolicy
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.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/AutoScaling/ScalingPolicy.html#name-instance_method
18
+ def name: () -> String
19
+ alias policy_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#auto_scaling_group_name-instance_method
22
+ def auto_scaling_group_name: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#policy_arn-instance_method
25
+ def policy_arn: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#policy_type-instance_method
28
+ def policy_type: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#adjustment_type-instance_method
31
+ def adjustment_type: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#min_adjustment_step-instance_method
34
+ def min_adjustment_step: () -> ::Integer
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#min_adjustment_magnitude-instance_method
37
+ def min_adjustment_magnitude: () -> ::Integer
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#scaling_adjustment-instance_method
40
+ def scaling_adjustment: () -> ::Integer
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#cooldown-instance_method
43
+ def cooldown: () -> ::Integer
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#step_adjustments-instance_method
46
+ def step_adjustments: () -> ::Array[Types::StepAdjustment]
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#metric_aggregation_type-instance_method
49
+ def metric_aggregation_type: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#estimated_instance_warmup-instance_method
52
+ def estimated_instance_warmup: () -> ::Integer
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#alarms-instance_method
55
+ def alarms: () -> ::Array[Types::Alarm]
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#target_tracking_configuration-instance_method
58
+ def target_tracking_configuration: () -> Types::TargetTrackingConfiguration
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#enabled-instance_method
61
+ def enabled: () -> bool
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#predictive_scaling_configuration-instance_method
64
+ def predictive_scaling_configuration: () -> Types::PredictiveScalingConfiguration
65
+
66
+ def client: () -> Client
67
+
68
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#load-instance_method
69
+ def load: () -> self
70
+ alias reload load
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#data-instance_method
73
+ def data: () -> Types::ScalingPolicy
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#data_loaded?-instance_method
76
+ def data_loaded?: () -> bool
77
+
78
+
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#delete-instance_method
80
+ def delete: (
81
+ ?auto_scaling_group_name: ::String
82
+ ) -> ::Aws::EmptyStructure
83
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
84
+
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#execute-instance_method
86
+ def execute: (
87
+ ?auto_scaling_group_name: ::String,
88
+ ?honor_cooldown: bool,
89
+ ?metric_value: ::Float,
90
+ ?breach_threshold: ::Float
91
+ ) -> ::Aws::EmptyStructure
92
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
93
+
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScalingPolicy.html#group-instance_method
95
+ def group: () -> AutoScalingGroup?
96
+
97
+ class Collection < ::Aws::Resources::Collection[ScalingPolicy]
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,77 @@
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 AutoScaling
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html
11
+ class ScheduledAction
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.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/AutoScaling/ScheduledAction.html#name-instance_method
18
+ def name: () -> String
19
+ alias scheduled_action_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#auto_scaling_group_name-instance_method
22
+ def auto_scaling_group_name: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#scheduled_action_arn-instance_method
25
+ def scheduled_action_arn: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#time-instance_method
28
+ def time: () -> ::Time
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#start_time-instance_method
31
+ def start_time: () -> ::Time
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#end_time-instance_method
34
+ def end_time: () -> ::Time
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#recurrence-instance_method
37
+ def recurrence: () -> ::String
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#min_size-instance_method
40
+ def min_size: () -> ::Integer
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#max_size-instance_method
43
+ def max_size: () -> ::Integer
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#desired_capacity-instance_method
46
+ def desired_capacity: () -> ::Integer
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#time_zone-instance_method
49
+ def time_zone: () -> ::String
50
+
51
+ def client: () -> Client
52
+
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#load-instance_method
54
+ def load: () -> self
55
+ alias reload load
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#data-instance_method
58
+ def data: () -> Types::ScheduledUpdateGroupAction
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#data_loaded?-instance_method
61
+ def data_loaded?: () -> bool
62
+
63
+
64
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#delete-instance_method
65
+ def delete: (
66
+ auto_scaling_group_name: ::String
67
+ ) -> ::Aws::EmptyStructure
68
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
69
+
70
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/ScheduledAction.html#group-instance_method
71
+ def group: () -> AutoScalingGroup?
72
+
73
+ class Collection < ::Aws::Resources::Collection[ScheduledAction]
74
+ end
75
+ end
76
+ end
77
+ end
data/sig/tag.rbs ADDED
@@ -0,0 +1,85 @@
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 AutoScaling
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html
11
+ class Tag
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#initialize-instance_method
13
+ def initialize: (String key, String resource_id, String resource_type, Hash[Symbol, untyped] options) -> void
14
+ | (key: String, resource_id: String, resource_type: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#key-instance_method
18
+ def key: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#resource_id-instance_method
21
+ def resource_id: () -> String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#resource_type-instance_method
24
+ def resource_type: () -> String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#value-instance_method
27
+ def value: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#propagate_at_launch-instance_method
30
+ def propagate_at_launch: () -> bool
31
+
32
+ def client: () -> Client
33
+
34
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#load-instance_method
35
+ def load: () -> self
36
+ alias reload load
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#data-instance_method
39
+ def data: () -> Types::TagDescription
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#data_loaded?-instance_method
42
+ def data_loaded?: () -> bool
43
+
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#create-instance_method
46
+ def create: (
47
+ tags: Array[
48
+ {
49
+ resource_id: ::String?,
50
+ resource_type: ::String?,
51
+ key: ::String,
52
+ value: ::String?,
53
+ propagate_at_launch: bool?
54
+ },
55
+ ]
56
+ ) -> ::Aws::EmptyStructure
57
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
58
+
59
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Tag.html#delete-instance_method
60
+ def delete: (
61
+ tags: Array[
62
+ {
63
+ resource_id: ::String?,
64
+ resource_type: ::String?,
65
+ key: ::String,
66
+ value: ::String?,
67
+ propagate_at_launch: bool?
68
+ },
69
+ ]
70
+ ) -> ::Aws::EmptyStructure
71
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
72
+
73
+ class Collection < ::Aws::Resources::Collection[Tag]
74
+
75
+ def batch_create: (
76
+ ) -> void
77
+ | (?Hash[Symbol, untyped]) -> void
78
+
79
+ def batch_delete!: (
80
+ ) -> void
81
+ | (?Hash[Symbol, untyped]) -> void
82
+ end
83
+ end
84
+ end
85
+ end