aws-sdk-autoscalingplans 1.85.0 → 1.86.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscalingplans/client.rb +1 -1
- data/lib/aws-sdk-autoscalingplans.rb +1 -1
- data/sig/client.rbs +6 -112
- data/sig/params.rbs +74 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23d03d4141f539275e0413341783963386005264174814ab564d2c4bce816275
|
|
4
|
+
data.tar.gz: 6b12c17d7cf55fbc30c7105aceb0642ed5f7cf0b4507fa169f3efb1d48549915
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60b68cbcc28efc6c596d57ef32eb9750528b5315f73626f96fe6c8bdf14a52574ec1bcc4aa99a7471d065bed132caa7c318799f951eb90492ff122ddfa6da078
|
|
7
|
+
data.tar.gz: 6a67cee5b1800546656b26886ece06284d1dc7ca7b8e319ef614bcd9c5cb7b51b7c00a527d1ecb9ab9c23cf5de65f6dfd2b5c81fcc6f13badfd1c6107fdb89a5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.86.0
|
|
@@ -1035,7 +1035,7 @@ module Aws::AutoScalingPlans
|
|
|
1035
1035
|
tracer: tracer
|
|
1036
1036
|
)
|
|
1037
1037
|
context[:gem_name] = 'aws-sdk-autoscalingplans'
|
|
1038
|
-
context[:gem_version] = '1.
|
|
1038
|
+
context[:gem_version] = '1.86.0'
|
|
1039
1039
|
Seahorse::Client::Request.new(handlers, context)
|
|
1040
1040
|
end
|
|
1041
1041
|
|
data/sig/client.rbs
CHANGED
|
@@ -92,64 +92,11 @@ module Aws
|
|
|
92
92
|
{
|
|
93
93
|
key: ::String?,
|
|
94
94
|
values: Array[::String]?
|
|
95
|
-
}
|
|
95
|
+
}
|
|
96
96
|
]?
|
|
97
97
|
},
|
|
98
98
|
scaling_instructions: Array[
|
|
99
|
-
|
|
100
|
-
service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
|
|
101
|
-
resource_id: ::String,
|
|
102
|
-
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"),
|
|
103
|
-
min_capacity: ::Integer,
|
|
104
|
-
max_capacity: ::Integer,
|
|
105
|
-
target_tracking_configurations: Array[
|
|
106
|
-
{
|
|
107
|
-
predefined_scaling_metric_specification: {
|
|
108
|
-
predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"),
|
|
109
|
-
resource_label: ::String?
|
|
110
|
-
}?,
|
|
111
|
-
customized_scaling_metric_specification: {
|
|
112
|
-
metric_name: ::String,
|
|
113
|
-
namespace: ::String,
|
|
114
|
-
dimensions: Array[
|
|
115
|
-
{
|
|
116
|
-
name: ::String,
|
|
117
|
-
value: ::String
|
|
118
|
-
},
|
|
119
|
-
]?,
|
|
120
|
-
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
121
|
-
unit: ::String?
|
|
122
|
-
}?,
|
|
123
|
-
target_value: ::Float,
|
|
124
|
-
disable_scale_in: bool?,
|
|
125
|
-
scale_out_cooldown: ::Integer?,
|
|
126
|
-
scale_in_cooldown: ::Integer?,
|
|
127
|
-
estimated_instance_warmup: ::Integer?
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
predefined_load_metric_specification: {
|
|
131
|
-
predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
|
|
132
|
-
resource_label: ::String?
|
|
133
|
-
}?,
|
|
134
|
-
customized_load_metric_specification: {
|
|
135
|
-
metric_name: ::String,
|
|
136
|
-
namespace: ::String,
|
|
137
|
-
dimensions: Array[
|
|
138
|
-
{
|
|
139
|
-
name: ::String,
|
|
140
|
-
value: ::String
|
|
141
|
-
},
|
|
142
|
-
]?,
|
|
143
|
-
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
144
|
-
unit: ::String?
|
|
145
|
-
}?,
|
|
146
|
-
scheduled_action_buffer_time: ::Integer?,
|
|
147
|
-
predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")?,
|
|
148
|
-
predictive_scaling_max_capacity_buffer: ::Integer?,
|
|
149
|
-
predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")?,
|
|
150
|
-
scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")?,
|
|
151
|
-
disable_dynamic_scaling: bool?
|
|
152
|
-
},
|
|
99
|
+
Params::scaling_instruction
|
|
153
100
|
]
|
|
154
101
|
) -> _CreateScalingPlanResponseSuccess
|
|
155
102
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScalingPlanResponseSuccess
|
|
@@ -194,9 +141,9 @@ module Aws
|
|
|
194
141
|
{
|
|
195
142
|
key: ::String?,
|
|
196
143
|
values: Array[::String]?
|
|
197
|
-
}
|
|
144
|
+
}
|
|
198
145
|
]?
|
|
199
|
-
}
|
|
146
|
+
}
|
|
200
147
|
],
|
|
201
148
|
?max_results: ::Integer,
|
|
202
149
|
?next_token: ::String
|
|
@@ -233,64 +180,11 @@ module Aws
|
|
|
233
180
|
{
|
|
234
181
|
key: ::String?,
|
|
235
182
|
values: Array[::String]?
|
|
236
|
-
}
|
|
183
|
+
}
|
|
237
184
|
]?
|
|
238
185
|
},
|
|
239
186
|
?scaling_instructions: Array[
|
|
240
|
-
|
|
241
|
-
service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
|
|
242
|
-
resource_id: ::String,
|
|
243
|
-
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"),
|
|
244
|
-
min_capacity: ::Integer,
|
|
245
|
-
max_capacity: ::Integer,
|
|
246
|
-
target_tracking_configurations: Array[
|
|
247
|
-
{
|
|
248
|
-
predefined_scaling_metric_specification: {
|
|
249
|
-
predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"),
|
|
250
|
-
resource_label: ::String?
|
|
251
|
-
}?,
|
|
252
|
-
customized_scaling_metric_specification: {
|
|
253
|
-
metric_name: ::String,
|
|
254
|
-
namespace: ::String,
|
|
255
|
-
dimensions: Array[
|
|
256
|
-
{
|
|
257
|
-
name: ::String,
|
|
258
|
-
value: ::String
|
|
259
|
-
},
|
|
260
|
-
]?,
|
|
261
|
-
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
262
|
-
unit: ::String?
|
|
263
|
-
}?,
|
|
264
|
-
target_value: ::Float,
|
|
265
|
-
disable_scale_in: bool?,
|
|
266
|
-
scale_out_cooldown: ::Integer?,
|
|
267
|
-
scale_in_cooldown: ::Integer?,
|
|
268
|
-
estimated_instance_warmup: ::Integer?
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
predefined_load_metric_specification: {
|
|
272
|
-
predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
|
|
273
|
-
resource_label: ::String?
|
|
274
|
-
}?,
|
|
275
|
-
customized_load_metric_specification: {
|
|
276
|
-
metric_name: ::String,
|
|
277
|
-
namespace: ::String,
|
|
278
|
-
dimensions: Array[
|
|
279
|
-
{
|
|
280
|
-
name: ::String,
|
|
281
|
-
value: ::String
|
|
282
|
-
},
|
|
283
|
-
]?,
|
|
284
|
-
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
285
|
-
unit: ::String?
|
|
286
|
-
}?,
|
|
287
|
-
scheduled_action_buffer_time: ::Integer?,
|
|
288
|
-
predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")?,
|
|
289
|
-
predictive_scaling_max_capacity_buffer: ::Integer?,
|
|
290
|
-
predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")?,
|
|
291
|
-
scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")?,
|
|
292
|
-
disable_dynamic_scaling: bool?
|
|
293
|
-
},
|
|
187
|
+
Params::scaling_instruction
|
|
294
188
|
]
|
|
295
189
|
) -> _UpdateScalingPlanResponseSuccess
|
|
296
190
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScalingPlanResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module AutoScalingPlans
|
|
10
|
+
module Params
|
|
11
|
+
type customized_load_metric_specification = {
|
|
12
|
+
metric_name: ::String,
|
|
13
|
+
namespace: ::String,
|
|
14
|
+
dimensions: Array[
|
|
15
|
+
{
|
|
16
|
+
name: ::String,
|
|
17
|
+
value: ::String
|
|
18
|
+
}
|
|
19
|
+
]?,
|
|
20
|
+
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
21
|
+
unit: ::String?
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type scaling_instruction = {
|
|
25
|
+
service_namespace: ("autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"),
|
|
26
|
+
resource_id: ::String,
|
|
27
|
+
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"),
|
|
28
|
+
min_capacity: ::Integer,
|
|
29
|
+
max_capacity: ::Integer,
|
|
30
|
+
target_tracking_configurations: Array[
|
|
31
|
+
Params::target_tracking_configuration
|
|
32
|
+
],
|
|
33
|
+
predefined_load_metric_specification: {
|
|
34
|
+
predefined_load_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
|
|
35
|
+
resource_label: ::String?
|
|
36
|
+
}?,
|
|
37
|
+
customized_load_metric_specification: Params::customized_load_metric_specification?,
|
|
38
|
+
scheduled_action_buffer_time: ::Integer?,
|
|
39
|
+
predictive_scaling_max_capacity_behavior: ("SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity")?,
|
|
40
|
+
predictive_scaling_max_capacity_buffer: ::Integer?,
|
|
41
|
+
predictive_scaling_mode: ("ForecastAndScale" | "ForecastOnly")?,
|
|
42
|
+
scaling_policy_update_behavior: ("KeepExternalPolicies" | "ReplaceExternalPolicies")?,
|
|
43
|
+
disable_dynamic_scaling: bool?
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type customized_scaling_metric_specification = {
|
|
47
|
+
metric_name: ::String,
|
|
48
|
+
namespace: ::String,
|
|
49
|
+
dimensions: Array[
|
|
50
|
+
{
|
|
51
|
+
name: ::String,
|
|
52
|
+
value: ::String
|
|
53
|
+
}
|
|
54
|
+
]?,
|
|
55
|
+
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"),
|
|
56
|
+
unit: ::String?
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type target_tracking_configuration = {
|
|
60
|
+
predefined_scaling_metric_specification: {
|
|
61
|
+
predefined_scaling_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"),
|
|
62
|
+
resource_label: ::String?
|
|
63
|
+
}?,
|
|
64
|
+
customized_scaling_metric_specification: Params::customized_scaling_metric_specification?,
|
|
65
|
+
target_value: ::Float,
|
|
66
|
+
disable_scale_in: bool?,
|
|
67
|
+
scale_out_cooldown: ::Integer?,
|
|
68
|
+
scale_in_cooldown: ::Integer?,
|
|
69
|
+
estimated_instance_warmup: ::Integer?
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-autoscalingplans
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.86.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-autoscalingplans/types.rb
|
|
68
68
|
- sig/client.rbs
|
|
69
69
|
- sig/errors.rbs
|
|
70
|
+
- sig/params.rbs
|
|
70
71
|
- sig/resource.rbs
|
|
71
72
|
- sig/types.rbs
|
|
72
73
|
- sig/waiters.rbs
|