aws-sdk-autoscalingplans 1.51.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d8ab304cfc095485d6149b750e3077c40903566a6964970e065874efeabbbaf
4
- data.tar.gz: 404ce907a3062a1c1bcb971195dbd9af945a970caca99b9eda617be54dd990d1
3
+ metadata.gz: 1e10948e8ec776d748538cfe601acaef86fbb3ab41f8ee4d5a1824bebdca0c60
4
+ data.tar.gz: a9faa292f9c702723d2c0d251e9ee48da550b9140fc3e971c72f6a63a34e5e0c
5
5
  SHA512:
6
- metadata.gz: 5d543c7b5b2f4cb326bf251f0985b3b090500a7bd718b4031019bb9534118186484a2c7a25a5fbac65a26debe4b5af7679b2313d7d5313dbf896476ab289961e
7
- data.tar.gz: e5f52f712f3b70b5585aa936b29a0645f608c81e0addeb6295ccd3cd021535d960ead085706f72acec5e94cb802d1588961e2ff52d06338bdead861b4825c14f
6
+ metadata.gz: 795aa062f7f476aaafe336ea7d1dc6b55ca23b9cd0a29e0def6f8308c5e8fb4b2063a21b58350f80e6c5efbde361075181acde26b6e95aa1dc2f89cf5f06f114
7
+ data.tar.gz: c1b60ed17fb9665ef75f30ce18be4936dd404dcf450317bad7cadb4cc521c631c2f421fa1bc07c0a845db65fe69906d315aa8d34fa6c39e5889e71d2fda95ea7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.51.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -945,7 +945,7 @@ module Aws::AutoScalingPlans
945
945
  params: params,
946
946
  config: config)
947
947
  context[:gem_name] = 'aws-sdk-autoscalingplans'
948
- context[:gem_version] = '1.51.0'
948
+ context[:gem_version] = '1.52.0'
949
949
  Seahorse::Client::Request.new(handlers, context)
950
950
  end
951
951
 
@@ -14,6 +14,7 @@ module Aws::AutoScalingPlans
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::AutoScalingPlans::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-autoscalingplans/customizations'
52
52
  # @!group service
53
53
  module Aws::AutoScalingPlans
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,294 @@
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 AutoScalingPlans
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#initialize-instance_method
14
+ def self.new: (
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
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateScalingPlanResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScalingPlanResponse]
78
+ def scaling_plan_version: () -> ::Integer
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#create_scaling_plan-instance_method
81
+ def create_scaling_plan: (
82
+ scaling_plan_name: ::String,
83
+ application_source: {
84
+ cloud_formation_stack_arn: ::String?,
85
+ tag_filters: Array[
86
+ {
87
+ key: ::String?,
88
+ values: Array[::String]?
89
+ },
90
+ ]?
91
+ },
92
+ scaling_instructions: Array[
93
+ {
94
+ service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
95
+ resource_id: ::String,
96
+ scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits"),
97
+ min_capacity: ::Integer,
98
+ max_capacity: ::Integer,
99
+ target_tracking_configurations: Array[
100
+ {
101
+ predefined_scaling_metric_specification: {
102
+ predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"),
103
+ resource_label: ::String?
104
+ }?,
105
+ customized_scaling_metric_specification: {
106
+ metric_name: ::String,
107
+ namespace: ::String,
108
+ dimensions: Array[
109
+ {
110
+ name: ::String,
111
+ value: ::String
112
+ },
113
+ ]?,
114
+ statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
115
+ unit: ::String?
116
+ }?,
117
+ target_value: ::Float,
118
+ disable_scale_in: bool?,
119
+ scale_out_cooldown: ::Integer?,
120
+ scale_in_cooldown: ::Integer?,
121
+ estimated_instance_warmup: ::Integer?
122
+ },
123
+ ],
124
+ predefined_load_metric_specification: {
125
+ predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
126
+ resource_label: ::String?
127
+ }?,
128
+ customized_load_metric_specification: {
129
+ metric_name: ::String,
130
+ namespace: ::String,
131
+ dimensions: Array[
132
+ {
133
+ name: ::String,
134
+ value: ::String
135
+ },
136
+ ]?,
137
+ statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
138
+ unit: ::String?
139
+ }?,
140
+ scheduled_action_buffer_time: ::Integer?,
141
+ predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")?,
142
+ predictive_scaling_max_capacity_buffer: ::Integer?,
143
+ predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")?,
144
+ scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")?,
145
+ disable_dynamic_scaling: bool?
146
+ },
147
+ ]
148
+ ) -> _CreateScalingPlanResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScalingPlanResponseSuccess
150
+
151
+ interface _DeleteScalingPlanResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScalingPlanResponse]
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#delete_scaling_plan-instance_method
155
+ def delete_scaling_plan: (
156
+ scaling_plan_name: ::String,
157
+ scaling_plan_version: ::Integer
158
+ ) -> _DeleteScalingPlanResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScalingPlanResponseSuccess
160
+
161
+ interface _DescribeScalingPlanResourcesResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScalingPlanResourcesResponse]
163
+ def scaling_plan_resources: () -> ::Array[Types::ScalingPlanResource]
164
+ def next_token: () -> ::String
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#describe_scaling_plan_resources-instance_method
167
+ def describe_scaling_plan_resources: (
168
+ scaling_plan_name: ::String,
169
+ scaling_plan_version: ::Integer,
170
+ ?max_results: ::Integer,
171
+ ?next_token: ::String
172
+ ) -> _DescribeScalingPlanResourcesResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingPlanResourcesResponseSuccess
174
+
175
+ interface _DescribeScalingPlansResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScalingPlansResponse]
177
+ def scaling_plans: () -> ::Array[Types::ScalingPlan]
178
+ def next_token: () -> ::String
179
+ end
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#describe_scaling_plans-instance_method
181
+ def describe_scaling_plans: (
182
+ ?scaling_plan_names: Array[::String],
183
+ ?scaling_plan_version: ::Integer,
184
+ ?application_sources: Array[
185
+ {
186
+ cloud_formation_stack_arn: ::String?,
187
+ tag_filters: Array[
188
+ {
189
+ key: ::String?,
190
+ values: Array[::String]?
191
+ },
192
+ ]?
193
+ },
194
+ ],
195
+ ?max_results: ::Integer,
196
+ ?next_token: ::String
197
+ ) -> _DescribeScalingPlansResponseSuccess
198
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingPlansResponseSuccess
199
+
200
+ interface _GetScalingPlanResourceForecastDataResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetScalingPlanResourceForecastDataResponse]
202
+ def datapoints: () -> ::Array[Types::Datapoint]
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#get_scaling_plan_resource_forecast_data-instance_method
205
+ def get_scaling_plan_resource_forecast_data: (
206
+ scaling_plan_name: ::String,
207
+ scaling_plan_version: ::Integer,
208
+ service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
209
+ resource_id: ::String,
210
+ scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits"),
211
+ forecast_data_type: ("CapacityForecast" | "LoadForecast" | "ScheduledActionMinCapacity" | "ScheduledActionMaxCapacity"),
212
+ start_time: ::Time,
213
+ end_time: ::Time
214
+ ) -> _GetScalingPlanResourceForecastDataResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScalingPlanResourceForecastDataResponseSuccess
216
+
217
+ interface _UpdateScalingPlanResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScalingPlanResponse]
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Client.html#update_scaling_plan-instance_method
221
+ def update_scaling_plan: (
222
+ scaling_plan_name: ::String,
223
+ scaling_plan_version: ::Integer,
224
+ ?application_source: {
225
+ cloud_formation_stack_arn: ::String?,
226
+ tag_filters: Array[
227
+ {
228
+ key: ::String?,
229
+ values: Array[::String]?
230
+ },
231
+ ]?
232
+ },
233
+ ?scaling_instructions: Array[
234
+ {
235
+ service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
236
+ resource_id: ::String,
237
+ scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits"),
238
+ min_capacity: ::Integer,
239
+ max_capacity: ::Integer,
240
+ target_tracking_configurations: Array[
241
+ {
242
+ predefined_scaling_metric_specification: {
243
+ predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"),
244
+ resource_label: ::String?
245
+ }?,
246
+ customized_scaling_metric_specification: {
247
+ metric_name: ::String,
248
+ namespace: ::String,
249
+ dimensions: Array[
250
+ {
251
+ name: ::String,
252
+ value: ::String
253
+ },
254
+ ]?,
255
+ statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
256
+ unit: ::String?
257
+ }?,
258
+ target_value: ::Float,
259
+ disable_scale_in: bool?,
260
+ scale_out_cooldown: ::Integer?,
261
+ scale_in_cooldown: ::Integer?,
262
+ estimated_instance_warmup: ::Integer?
263
+ },
264
+ ],
265
+ predefined_load_metric_specification: {
266
+ predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
267
+ resource_label: ::String?
268
+ }?,
269
+ customized_load_metric_specification: {
270
+ metric_name: ::String,
271
+ namespace: ::String,
272
+ dimensions: Array[
273
+ {
274
+ name: ::String,
275
+ value: ::String
276
+ },
277
+ ]?,
278
+ statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
279
+ unit: ::String?
280
+ }?,
281
+ scheduled_action_buffer_time: ::Integer?,
282
+ predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")?,
283
+ predictive_scaling_max_capacity_buffer: ::Integer?,
284
+ predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")?,
285
+ scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")?,
286
+ disable_dynamic_scaling: bool?
287
+ },
288
+ ]
289
+ ) -> _UpdateScalingPlanResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScalingPlanResponseSuccess
291
+ end
292
+ end
293
+ end
294
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
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 AutoScalingPlans
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConcurrentUpdateException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServiceException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InvalidNextTokenException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class LimitExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ObjectNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/resource.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 AutoScalingPlans
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScalingPlans/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
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,233 @@
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::AutoScalingPlans
9
+ module Types
10
+
11
+ class ApplicationSource
12
+ attr_accessor cloud_formation_stack_arn: ::String
13
+ attr_accessor tag_filters: ::Array[Types::TagFilter]
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class ConcurrentUpdateException
18
+ attr_accessor message: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class CreateScalingPlanRequest
23
+ attr_accessor scaling_plan_name: ::String
24
+ attr_accessor application_source: Types::ApplicationSource
25
+ attr_accessor scaling_instructions: ::Array[Types::ScalingInstruction]
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class CreateScalingPlanResponse
30
+ attr_accessor scaling_plan_version: ::Integer
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class CustomizedLoadMetricSpecification
35
+ attr_accessor metric_name: ::String
36
+ attr_accessor namespace: ::String
37
+ attr_accessor dimensions: ::Array[Types::MetricDimension]
38
+ attr_accessor statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")
39
+ attr_accessor unit: ::String
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class CustomizedScalingMetricSpecification
44
+ attr_accessor metric_name: ::String
45
+ attr_accessor namespace: ::String
46
+ attr_accessor dimensions: ::Array[Types::MetricDimension]
47
+ attr_accessor statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")
48
+ attr_accessor unit: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class Datapoint
53
+ attr_accessor timestamp: ::Time
54
+ attr_accessor value: ::Float
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class DeleteScalingPlanRequest
59
+ attr_accessor scaling_plan_name: ::String
60
+ attr_accessor scaling_plan_version: ::Integer
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class DeleteScalingPlanResponse < Aws::EmptyStructure
65
+ end
66
+
67
+ class DescribeScalingPlanResourcesRequest
68
+ attr_accessor scaling_plan_name: ::String
69
+ attr_accessor scaling_plan_version: ::Integer
70
+ attr_accessor max_results: ::Integer
71
+ attr_accessor next_token: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class DescribeScalingPlanResourcesResponse
76
+ attr_accessor scaling_plan_resources: ::Array[Types::ScalingPlanResource]
77
+ attr_accessor next_token: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class DescribeScalingPlansRequest
82
+ attr_accessor scaling_plan_names: ::Array[::String]
83
+ attr_accessor scaling_plan_version: ::Integer
84
+ attr_accessor application_sources: ::Array[Types::ApplicationSource]
85
+ attr_accessor max_results: ::Integer
86
+ attr_accessor next_token: ::String
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class DescribeScalingPlansResponse
91
+ attr_accessor scaling_plans: ::Array[Types::ScalingPlan]
92
+ attr_accessor next_token: ::String
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class GetScalingPlanResourceForecastDataRequest
97
+ attr_accessor scaling_plan_name: ::String
98
+ attr_accessor scaling_plan_version: ::Integer
99
+ attr_accessor service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb")
100
+ attr_accessor resource_id: ::String
101
+ attr_accessor scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits")
102
+ attr_accessor forecast_data_type: ("CapacityForecast" | "LoadForecast" | "ScheduledActionMinCapacity" | "ScheduledActionMaxCapacity")
103
+ attr_accessor start_time: ::Time
104
+ attr_accessor end_time: ::Time
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class GetScalingPlanResourceForecastDataResponse
109
+ attr_accessor datapoints: ::Array[Types::Datapoint]
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class InternalServiceException
114
+ attr_accessor message: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class InvalidNextTokenException
119
+ attr_accessor message: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class LimitExceededException
124
+ attr_accessor message: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class MetricDimension
129
+ attr_accessor name: ::String
130
+ attr_accessor value: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class ObjectNotFoundException
135
+ attr_accessor message: ::String
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class PredefinedLoadMetricSpecification
140
+ attr_accessor predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount")
141
+ attr_accessor resource_label: ::String
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class PredefinedScalingMetricSpecification
146
+ attr_accessor predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut")
147
+ attr_accessor resource_label: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class ScalingInstruction
152
+ attr_accessor service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb")
153
+ attr_accessor resource_id: ::String
154
+ attr_accessor scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits")
155
+ attr_accessor min_capacity: ::Integer
156
+ attr_accessor max_capacity: ::Integer
157
+ attr_accessor target_tracking_configurations: ::Array[Types::TargetTrackingConfiguration]
158
+ attr_accessor predefined_load_metric_specification: Types::PredefinedLoadMetricSpecification
159
+ attr_accessor customized_load_metric_specification: Types::CustomizedLoadMetricSpecification
160
+ attr_accessor scheduled_action_buffer_time: ::Integer
161
+ attr_accessor predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")
162
+ attr_accessor predictive_scaling_max_capacity_buffer: ::Integer
163
+ attr_accessor predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")
164
+ attr_accessor scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")
165
+ attr_accessor disable_dynamic_scaling: bool
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class ScalingPlan
170
+ attr_accessor scaling_plan_name: ::String
171
+ attr_accessor scaling_plan_version: ::Integer
172
+ attr_accessor application_source: Types::ApplicationSource
173
+ attr_accessor scaling_instructions: ::Array[Types::ScalingInstruction]
174
+ attr_accessor status_code: ("Active" | "ActiveWithProblems" | "CreationInProgress" | "CreationFailed" | "DeletionInProgress" | "DeletionFailed" | "UpdateInProgress" | "UpdateFailed")
175
+ attr_accessor status_message: ::String
176
+ attr_accessor status_start_time: ::Time
177
+ attr_accessor creation_time: ::Time
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class ScalingPlanResource
182
+ attr_accessor scaling_plan_name: ::String
183
+ attr_accessor scaling_plan_version: ::Integer
184
+ attr_accessor service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb")
185
+ attr_accessor resource_id: ::String
186
+ attr_accessor scalable_dimension: ("autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits")
187
+ attr_accessor scaling_policies: ::Array[Types::ScalingPolicy]
188
+ attr_accessor scaling_status_code: ("Inactive" | "PartiallyActive" | "Active")
189
+ attr_accessor scaling_status_message: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class ScalingPolicy
194
+ attr_accessor policy_name: ::String
195
+ attr_accessor policy_type: ("TargetTrackingScaling")
196
+ attr_accessor target_tracking_configuration: Types::TargetTrackingConfiguration
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class TagFilter
201
+ attr_accessor key: ::String
202
+ attr_accessor values: ::Array[::String]
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class TargetTrackingConfiguration
207
+ attr_accessor predefined_scaling_metric_specification: Types::PredefinedScalingMetricSpecification
208
+ attr_accessor customized_scaling_metric_specification: Types::CustomizedScalingMetricSpecification
209
+ attr_accessor target_value: ::Float
210
+ attr_accessor disable_scale_in: bool
211
+ attr_accessor scale_out_cooldown: ::Integer
212
+ attr_accessor scale_in_cooldown: ::Integer
213
+ attr_accessor estimated_instance_warmup: ::Integer
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class UpdateScalingPlanRequest
218
+ attr_accessor scaling_plan_name: ::String
219
+ attr_accessor scaling_plan_version: ::Integer
220
+ attr_accessor application_source: Types::ApplicationSource
221
+ attr_accessor scaling_instructions: ::Array[Types::ScalingInstruction]
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class UpdateScalingPlanResponse < Aws::EmptyStructure
226
+ end
227
+
228
+ class ValidationException
229
+ attr_accessor message: ::String
230
+ SENSITIVE: []
231
+ end
232
+ end
233
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
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 AutoScalingPlans
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscalingplans
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-autoscalingplans/plugins/endpoints.rb
67
67
  - lib/aws-sdk-autoscalingplans/resource.rb
68
68
  - lib/aws-sdk-autoscalingplans/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-autoscalingplans
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-autoscalingplans/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS Auto Scaling Plans
94
99
  test_files: []