aws-sdk-autoscaling 1.102.0 → 1.103.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/resource.rbs ADDED
@@ -0,0 +1,341 @@
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
+ on_demand_max_price_percentage_over_lowest_price: ::Integer?,
120
+ bare_metal: ("included" | "excluded" | "required")?,
121
+ burstable_performance: ("included" | "excluded" | "required")?,
122
+ require_hibernate_support: bool?,
123
+ network_interface_count: {
124
+ min: ::Integer?,
125
+ max: ::Integer?
126
+ }?,
127
+ local_storage: ("included" | "excluded" | "required")?,
128
+ local_storage_types: Array[("hdd" | "ssd")]?,
129
+ total_local_storage_gb: {
130
+ min: ::Float?,
131
+ max: ::Float?
132
+ }?,
133
+ baseline_ebs_bandwidth_mbps: {
134
+ min: ::Integer?,
135
+ max: ::Integer?
136
+ }?,
137
+ accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
138
+ accelerator_count: {
139
+ min: ::Integer?,
140
+ max: ::Integer?
141
+ }?,
142
+ accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
143
+ accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
144
+ accelerator_total_memory_mi_b: {
145
+ min: ::Integer?,
146
+ max: ::Integer?
147
+ }?,
148
+ network_bandwidth_gbps: {
149
+ min: ::Float?,
150
+ max: ::Float?
151
+ }?,
152
+ allowed_instance_types: Array[::String]?
153
+ }?
154
+ },
155
+ ]?
156
+ }?,
157
+ instances_distribution: {
158
+ on_demand_allocation_strategy: ::String?,
159
+ on_demand_base_capacity: ::Integer?,
160
+ on_demand_percentage_above_base_capacity: ::Integer?,
161
+ spot_allocation_strategy: ::String?,
162
+ spot_instance_pools: ::Integer?,
163
+ spot_max_price: ::String?
164
+ }?
165
+ },
166
+ ?instance_id: ::String,
167
+ min_size: ::Integer,
168
+ max_size: ::Integer,
169
+ ?desired_capacity: ::Integer,
170
+ ?default_cooldown: ::Integer,
171
+ ?availability_zones: Array[::String],
172
+ ?load_balancer_names: Array[::String],
173
+ ?target_group_arns: Array[::String],
174
+ ?health_check_type: ::String,
175
+ ?health_check_grace_period: ::Integer,
176
+ ?placement_group: ::String,
177
+ ?vpc_zone_identifier: ::String,
178
+ ?termination_policies: Array[::String],
179
+ ?new_instances_protected_from_scale_in: bool,
180
+ ?capacity_rebalance: bool,
181
+ ?lifecycle_hook_specification_list: Array[
182
+ {
183
+ lifecycle_hook_name: ::String,
184
+ lifecycle_transition: ::String,
185
+ notification_metadata: ::String?,
186
+ heartbeat_timeout: ::Integer?,
187
+ default_result: ::String?,
188
+ notification_target_arn: ::String?,
189
+ role_arn: ::String?
190
+ },
191
+ ],
192
+ ?tags: Array[
193
+ {
194
+ resource_id: ::String?,
195
+ resource_type: ::String?,
196
+ key: ::String,
197
+ value: ::String?,
198
+ propagate_at_launch: bool?
199
+ },
200
+ ],
201
+ ?service_linked_role_arn: ::String,
202
+ ?max_instance_lifetime: ::Integer,
203
+ ?context: ::String,
204
+ ?desired_capacity_type: ::String,
205
+ ?default_instance_warmup: ::Integer,
206
+ ?traffic_sources: Array[
207
+ {
208
+ identifier: ::String,
209
+ type: ::String?
210
+ },
211
+ ],
212
+ ?instance_maintenance_policy: {
213
+ min_healthy_percentage: ::Integer?,
214
+ max_healthy_percentage: ::Integer?
215
+ }
216
+ ) -> AutoScalingGroup
217
+ | (?Hash[Symbol, untyped]) -> AutoScalingGroup
218
+
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#create_launch_configuration-instance_method
220
+ def create_launch_configuration: (
221
+ launch_configuration_name: ::String,
222
+ ?image_id: ::String,
223
+ ?key_name: ::String,
224
+ ?security_groups: Array[::String],
225
+ ?classic_link_vpc_id: ::String,
226
+ ?classic_link_vpc_security_groups: Array[::String],
227
+ ?user_data: ::String,
228
+ ?instance_id: ::String,
229
+ ?instance_type: ::String,
230
+ ?kernel_id: ::String,
231
+ ?ramdisk_id: ::String,
232
+ ?block_device_mappings: Array[
233
+ {
234
+ virtual_name: ::String?,
235
+ device_name: ::String,
236
+ ebs: {
237
+ snapshot_id: ::String?,
238
+ volume_size: ::Integer?,
239
+ volume_type: ::String?,
240
+ delete_on_termination: bool?,
241
+ iops: ::Integer?,
242
+ encrypted: bool?,
243
+ throughput: ::Integer?
244
+ }?,
245
+ no_device: bool?
246
+ },
247
+ ],
248
+ ?instance_monitoring: {
249
+ enabled: bool?
250
+ },
251
+ ?spot_price: ::String,
252
+ ?iam_instance_profile: ::String,
253
+ ?ebs_optimized: bool,
254
+ ?associate_public_ip_address: bool,
255
+ ?placement_tenancy: ::String,
256
+ ?metadata_options: {
257
+ http_tokens: ("optional" | "required")?,
258
+ http_put_response_hop_limit: ::Integer?,
259
+ http_endpoint: ("disabled" | "enabled")?
260
+ }
261
+ ) -> LaunchConfiguration
262
+ | (?Hash[Symbol, untyped]) -> LaunchConfiguration
263
+
264
+
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#activities-instance_method
266
+ def activities: (
267
+ ?activity_ids: Array[::String],
268
+ ?auto_scaling_group_name: ::String,
269
+ ?include_deleted_groups: bool
270
+ ) -> Activity::Collection
271
+ | (?Hash[Symbol, untyped]) -> Activity::Collection
272
+
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#activity-instance_method
274
+ def activity: (String id) -> Activity
275
+
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#group-instance_method
277
+ def group: (String name) -> AutoScalingGroup
278
+
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#groups-instance_method
280
+ def groups: (
281
+ ?auto_scaling_group_names: Array[::String],
282
+ ?filters: Array[
283
+ {
284
+ name: ::String?,
285
+ values: Array[::String]?
286
+ },
287
+ ]
288
+ ) -> AutoScalingGroup::Collection
289
+ | (?Hash[Symbol, untyped]) -> AutoScalingGroup::Collection
290
+
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#instances-instance_method
292
+ def instances: (
293
+ ?instance_ids: Array[::String]
294
+ ) -> Instance::Collection
295
+ | (?Hash[Symbol, untyped]) -> Instance::Collection
296
+
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#launch_configuration-instance_method
298
+ def launch_configuration: (String name) -> LaunchConfiguration
299
+
300
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#launch_configurations-instance_method
301
+ def launch_configurations: (
302
+ ?launch_configuration_names: Array[::String]
303
+ ) -> LaunchConfiguration::Collection
304
+ | (?Hash[Symbol, untyped]) -> LaunchConfiguration::Collection
305
+
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#policies-instance_method
307
+ def policies: (
308
+ ?auto_scaling_group_name: ::String,
309
+ ?policy_names: Array[::String],
310
+ ?policy_types: Array[::String]
311
+ ) -> ScalingPolicy::Collection
312
+ | (?Hash[Symbol, untyped]) -> ScalingPolicy::Collection
313
+
314
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#policy-instance_method
315
+ def policy: (String name) -> ScalingPolicy
316
+
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#scheduled_action-instance_method
318
+ def scheduled_action: (String name) -> ScheduledAction
319
+
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#scheduled_actions-instance_method
321
+ def scheduled_actions: (
322
+ ?auto_scaling_group_name: ::String,
323
+ ?scheduled_action_names: Array[::String],
324
+ ?start_time: ::Time,
325
+ ?end_time: ::Time
326
+ ) -> ScheduledAction::Collection
327
+ | (?Hash[Symbol, untyped]) -> ScheduledAction::Collection
328
+
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Resource.html#tags-instance_method
330
+ def tags: (
331
+ ?filters: Array[
332
+ {
333
+ name: ::String?,
334
+ values: Array[::String]?
335
+ },
336
+ ]
337
+ ) -> Tag::Collection
338
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
339
+ end
340
+ end
341
+ 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