aws-sdk-autoscalingplans 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscalingplans.rb +1 -1
- data/lib/aws-sdk-autoscalingplans/client.rb +1 -1
- data/lib/aws-sdk-autoscalingplans/types.rb +46 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5e66d84dbc29102f5789abcc5e6dbdc2ecea8a6
|
4
|
+
data.tar.gz: 58e8d108cce9e8a08bba2b879a89f3f5b6de5ab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd5e60317334cf22702e991823f19972b039880e071a35fe8b965243daacb5650e4e3d7c3c60fb4335fc7dbadfccf5f5f53be8d401168a143694ab033d9cfd02
|
7
|
+
data.tar.gz: b455cc340e0324c5d787b3a7949557a5e62537332bb11899bcbbdb5680f132a875e1e2ffbdde28b75dfacea721c1e5e59075eb07fc2931b90deb46d6573d8762
|
@@ -744,7 +744,7 @@ module Aws::AutoScalingPlans
|
|
744
744
|
params: params,
|
745
745
|
config: config)
|
746
746
|
context[:gem_name] = 'aws-sdk-autoscalingplans'
|
747
|
-
context[:gem_version] = '1.
|
747
|
+
context[:gem_version] = '1.9.0'
|
748
748
|
Seahorse::Client::Request.new(handlers, context)
|
749
749
|
end
|
750
750
|
|
@@ -154,8 +154,7 @@ module Aws::AutoScalingPlans
|
|
154
154
|
# specification, AWS Auto Scaling needs access to the `Sum` and
|
155
155
|
# `Average` statistics that CloudWatch computes from metric data.
|
156
156
|
# Statistics are calculations used to aggregate data over specified time
|
157
|
-
# periods.
|
158
|
-
# Guide][1].
|
157
|
+
# periods.
|
159
158
|
#
|
160
159
|
# When you choose a load metric, make sure that the required `Sum` and
|
161
160
|
# `Average` statistics for your metric are available in CloudWatch and
|
@@ -168,13 +167,13 @@ module Aws::AutoScalingPlans
|
|
168
167
|
# then the `Average` statistic for the specified metric must represent
|
169
168
|
# the average request count processed by each instance of the group.
|
170
169
|
#
|
171
|
-
# For information about terminology,
|
172
|
-
# Concepts][
|
170
|
+
# For information about terminology, available metrics, or how to
|
171
|
+
# publish new metrics, see [Amazon CloudWatch Concepts][1] in the
|
172
|
+
# *Amazon CloudWatch User Guide*.
|
173
173
|
#
|
174
174
|
#
|
175
175
|
#
|
176
|
-
# [1]:
|
177
|
-
# [2]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
176
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
178
177
|
#
|
179
178
|
# @note When making an API call, you may pass CustomizedLoadMetricSpecification
|
180
179
|
# data as a hash:
|
@@ -202,6 +201,10 @@ module Aws::AutoScalingPlans
|
|
202
201
|
#
|
203
202
|
# @!attribute [rw] dimensions
|
204
203
|
# The dimensions of the metric.
|
204
|
+
#
|
205
|
+
# Conditional: If you published your metric with dimensions, you must
|
206
|
+
# specify the same dimensions in your customized load metric
|
207
|
+
# specification.
|
205
208
|
# @return [Array<Types::MetricDimension>]
|
206
209
|
#
|
207
210
|
# @!attribute [rw] statistic
|
@@ -227,12 +230,26 @@ module Aws::AutoScalingPlans
|
|
227
230
|
# Represents a CloudWatch metric of your choosing that can be used for
|
228
231
|
# dynamic scaling as part of a target tracking scaling policy.
|
229
232
|
#
|
230
|
-
#
|
231
|
-
#
|
233
|
+
# To create your customized scaling metric specification:
|
234
|
+
#
|
235
|
+
# * Add values for each required parameter from CloudWatch. You can use
|
236
|
+
# an existing metric, or a new metric that you create. To use your own
|
237
|
+
# metric, you must first publish the metric to CloudWatch. For more
|
238
|
+
# information, see [Publish Custom Metrics][1] in the *Amazon
|
239
|
+
# CloudWatch User Guide*.
|
240
|
+
#
|
241
|
+
# * Choose a metric that changes proportionally with capacity. The value
|
242
|
+
# of the metric should increase or decrease in inverse proportion to
|
243
|
+
# the number of capacity units. That is, the value of the metric
|
244
|
+
# should decrease when capacity increases.
|
245
|
+
#
|
246
|
+
# For more information about CloudWatch, see [Amazon CloudWatch
|
247
|
+
# Concepts][2].
|
232
248
|
#
|
233
249
|
#
|
234
250
|
#
|
235
|
-
# [1]:
|
251
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html
|
252
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
236
253
|
#
|
237
254
|
# @note When making an API call, you may pass CustomizedScalingMetricSpecification
|
238
255
|
# data as a hash:
|
@@ -260,6 +277,10 @@ module Aws::AutoScalingPlans
|
|
260
277
|
#
|
261
278
|
# @!attribute [rw] dimensions
|
262
279
|
# The dimensions of the metric.
|
280
|
+
#
|
281
|
+
# Conditional: If you published your metric with dimensions, you must
|
282
|
+
# specify the same dimensions in your customized scaling metric
|
283
|
+
# specification.
|
263
284
|
# @return [Array<Types::MetricDimension>]
|
264
285
|
#
|
265
286
|
# @!attribute [rw] statistic
|
@@ -702,11 +723,15 @@ module Aws::AutoScalingPlans
|
|
702
723
|
# ahead and schedules scaling actions that proactively add and remove
|
703
724
|
# resource capacity to match the forecast.
|
704
725
|
#
|
705
|
-
#
|
726
|
+
# We recommend waiting a minimum of 24 hours after creating an Auto
|
727
|
+
# Scaling group to configure predictive scaling. At minimum, there must
|
728
|
+
# be 24 hours of historical data to generate a forecast.
|
729
|
+
#
|
730
|
+
# For more information, see [Getting Started with AWS Auto Scaling][1].
|
706
731
|
#
|
707
732
|
#
|
708
733
|
#
|
709
|
-
# [1]:
|
734
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/userguide/auto-scaling-getting-started.html
|
710
735
|
#
|
711
736
|
# @note When making an API call, you may pass ScalingInstruction
|
712
737
|
# data as a hash:
|
@@ -823,7 +848,7 @@ module Aws::AutoScalingPlans
|
|
823
848
|
#
|
824
849
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
825
850
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
826
|
-
# edition.
|
851
|
+
# edition and Aurora PostgreSQL-compatible edition.
|
827
852
|
# @return [String]
|
828
853
|
#
|
829
854
|
# @!attribute [rw] min_capacity
|
@@ -1103,7 +1128,7 @@ module Aws::AutoScalingPlans
|
|
1103
1128
|
#
|
1104
1129
|
# * `rds:cluster:ReadReplicaCount` - The count of Aurora Replicas in
|
1105
1130
|
# an Aurora DB cluster. Available for Aurora MySQL-compatible
|
1106
|
-
# edition.
|
1131
|
+
# edition and Aurora PostgreSQL-compatible edition.
|
1107
1132
|
# @return [String]
|
1108
1133
|
#
|
1109
1134
|
# @!attribute [rw] scaling_policies
|
@@ -1154,7 +1179,8 @@ module Aws::AutoScalingPlans
|
|
1154
1179
|
# @return [String]
|
1155
1180
|
#
|
1156
1181
|
# @!attribute [rw] target_tracking_configuration
|
1157
|
-
# The target tracking scaling policy.
|
1182
|
+
# The target tracking scaling policy. Includes support for predefined
|
1183
|
+
# or customized metrics.
|
1158
1184
|
# @return [Types::TargetTrackingConfiguration]
|
1159
1185
|
#
|
1160
1186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/ScalingPolicy AWS API Documentation
|
@@ -1192,8 +1218,8 @@ module Aws::AutoScalingPlans
|
|
1192
1218
|
include Aws::Structure
|
1193
1219
|
end
|
1194
1220
|
|
1195
|
-
# Describes a target tracking configuration
|
1196
|
-
# ScalingInstruction and ScalingPolicy.
|
1221
|
+
# Describes a target tracking configuration to use with AWS Auto
|
1222
|
+
# Scaling. Used with ScalingInstruction and ScalingPolicy.
|
1197
1223
|
#
|
1198
1224
|
# @note When making an API call, you may pass TargetTrackingConfiguration
|
1199
1225
|
# data as a hash:
|
@@ -1223,11 +1249,13 @@ module Aws::AutoScalingPlans
|
|
1223
1249
|
# }
|
1224
1250
|
#
|
1225
1251
|
# @!attribute [rw] predefined_scaling_metric_specification
|
1226
|
-
# A predefined metric.
|
1252
|
+
# A predefined metric. You can specify either a predefined metric or a
|
1253
|
+
# customized metric.
|
1227
1254
|
# @return [Types::PredefinedScalingMetricSpecification]
|
1228
1255
|
#
|
1229
1256
|
# @!attribute [rw] customized_scaling_metric_specification
|
1230
|
-
# A customized metric.
|
1257
|
+
# A customized metric. You can specify either a predefined metric or a
|
1258
|
+
# customized metric.
|
1231
1259
|
# @return [Types::CustomizedScalingMetricSpecification]
|
1232
1260
|
#
|
1233
1261
|
# @!attribute [rw] target_value
|
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.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|