aws-sdk-autoscaling 1.127.0 → 1.128.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-autoscaling/auto_scaling_group.rb +3 -0
- data/lib/aws-sdk-autoscaling/client.rb +7 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +4 -0
- data/lib/aws-sdk-autoscaling/types.rb +40 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +4 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f436c612b27245c4e4935dde2e4e1f4817196c94e7a60f5865f233a5004bbf6
|
4
|
+
data.tar.gz: 0aa8fb022848f19d0eb0194db2f7128cc905928721c9ba5215fc1153eafd004c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4685b69e194e5a1ab56b52ad61a0570a199aaa4fb9876541448ad69f35bab660d81e15ae77e2ee51afed1f3ddb5c5d11dfe02e72f08c141eaca440c823e1b76
|
7
|
+
data.tar.gz: 8792ab4413766419d6a94bd2590a76c69a8afc1a9aab669a6009f9e323ba1ab918ff4a79217df08e2b788ec1dd026ced3058284216d888defc7f35b9e71d228a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.128.0 (2024-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Now, Amazon EC2 Auto Scaling customers can enable target tracking policies to take quicker scaling decisions, enhancing their application performance and EC2 utilization. To get started, specify target tracking to monitor a metric that is available on Amazon CloudWatch at seconds-level interval.
|
8
|
+
|
4
9
|
1.127.0 (2024-11-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.128.0
|
@@ -712,6 +712,7 @@ module Aws::AutoScaling
|
|
712
712
|
# ],
|
713
713
|
# statistic: "Average", # accepts Average, Minimum, Maximum, SampleCount, Sum
|
714
714
|
# unit: "MetricUnit",
|
715
|
+
# period: 1,
|
715
716
|
# metrics: [
|
716
717
|
# {
|
717
718
|
# id: "XmlStringMaxLen64", # required
|
@@ -729,8 +730,10 @@ module Aws::AutoScaling
|
|
729
730
|
# },
|
730
731
|
# stat: "XmlStringMetricStat", # required
|
731
732
|
# unit: "MetricUnit",
|
733
|
+
# period: 1,
|
732
734
|
# },
|
733
735
|
# label: "XmlStringMetricLabel",
|
736
|
+
# period: 1,
|
734
737
|
# return_data: false,
|
735
738
|
# },
|
736
739
|
# ],
|
@@ -3804,6 +3804,7 @@ module Aws::AutoScaling
|
|
3804
3804
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.dimensions[0].value #=> String
|
3805
3805
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.statistic #=> String, one of "Average", "Minimum", "Maximum", "SampleCount", "Sum"
|
3806
3806
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.unit #=> String
|
3807
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.period #=> Integer
|
3807
3808
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics #=> Array
|
3808
3809
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].id #=> String
|
3809
3810
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].expression #=> String
|
@@ -3814,7 +3815,9 @@ module Aws::AutoScaling
|
|
3814
3815
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.metric.dimensions[0].value #=> String
|
3815
3816
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.stat #=> String
|
3816
3817
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.unit #=> String
|
3818
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.period #=> Integer
|
3817
3819
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].label #=> String
|
3820
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].period #=> Integer
|
3818
3821
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].return_data #=> Boolean
|
3819
3822
|
# resp.scaling_policies[0].target_tracking_configuration.target_value #=> Float
|
3820
3823
|
# resp.scaling_policies[0].target_tracking_configuration.disable_scale_in #=> Boolean
|
@@ -5797,6 +5800,7 @@ module Aws::AutoScaling
|
|
5797
5800
|
# ],
|
5798
5801
|
# statistic: "Average", # accepts Average, Minimum, Maximum, SampleCount, Sum
|
5799
5802
|
# unit: "MetricUnit",
|
5803
|
+
# period: 1,
|
5800
5804
|
# metrics: [
|
5801
5805
|
# {
|
5802
5806
|
# id: "XmlStringMaxLen64", # required
|
@@ -5814,8 +5818,10 @@ module Aws::AutoScaling
|
|
5814
5818
|
# },
|
5815
5819
|
# stat: "XmlStringMetricStat", # required
|
5816
5820
|
# unit: "MetricUnit",
|
5821
|
+
# period: 1,
|
5817
5822
|
# },
|
5818
5823
|
# label: "XmlStringMetricLabel",
|
5824
|
+
# period: 1,
|
5819
5825
|
# return_data: false,
|
5820
5826
|
# },
|
5821
5827
|
# ],
|
@@ -7436,7 +7442,7 @@ module Aws::AutoScaling
|
|
7436
7442
|
tracer: tracer
|
7437
7443
|
)
|
7438
7444
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7439
|
-
context[:gem_version] = '1.
|
7445
|
+
context[:gem_version] = '1.128.0'
|
7440
7446
|
Seahorse::Client::Request.new(handlers, context)
|
7441
7447
|
end
|
7442
7448
|
|
@@ -254,6 +254,7 @@ module Aws::AutoScaling
|
|
254
254
|
MetricDimensionName = Shapes::StringShape.new(name: 'MetricDimensionName')
|
255
255
|
MetricDimensionValue = Shapes::StringShape.new(name: 'MetricDimensionValue')
|
256
256
|
MetricDimensions = Shapes::ListShape.new(name: 'MetricDimensions')
|
257
|
+
MetricGranularityInSeconds = Shapes::IntegerShape.new(name: 'MetricGranularityInSeconds')
|
257
258
|
MetricGranularityType = Shapes::StructureShape.new(name: 'MetricGranularityType')
|
258
259
|
MetricGranularityTypes = Shapes::ListShape.new(name: 'MetricGranularityTypes')
|
259
260
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
@@ -715,6 +716,7 @@ module Aws::AutoScaling
|
|
715
716
|
CustomizedMetricSpecification.add_member(:dimensions, Shapes::ShapeRef.new(shape: MetricDimensions, location_name: "Dimensions"))
|
716
717
|
CustomizedMetricSpecification.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic, location_name: "Statistic"))
|
717
718
|
CustomizedMetricSpecification.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
719
|
+
CustomizedMetricSpecification.add_member(:period, Shapes::ShapeRef.new(shape: MetricGranularityInSeconds, location_name: "Period"))
|
718
720
|
CustomizedMetricSpecification.add_member(:metrics, Shapes::ShapeRef.new(shape: TargetTrackingMetricDataQueries, location_name: "Metrics"))
|
719
721
|
CustomizedMetricSpecification.struct_class = Types::CustomizedMetricSpecification
|
720
722
|
|
@@ -1554,12 +1556,14 @@ module Aws::AutoScaling
|
|
1554
1556
|
TargetTrackingMetricDataQuery.add_member(:expression, Shapes::ShapeRef.new(shape: XmlStringMaxLen2047, location_name: "Expression"))
|
1555
1557
|
TargetTrackingMetricDataQuery.add_member(:metric_stat, Shapes::ShapeRef.new(shape: TargetTrackingMetricStat, location_name: "MetricStat"))
|
1556
1558
|
TargetTrackingMetricDataQuery.add_member(:label, Shapes::ShapeRef.new(shape: XmlStringMetricLabel, location_name: "Label"))
|
1559
|
+
TargetTrackingMetricDataQuery.add_member(:period, Shapes::ShapeRef.new(shape: MetricGranularityInSeconds, location_name: "Period"))
|
1557
1560
|
TargetTrackingMetricDataQuery.add_member(:return_data, Shapes::ShapeRef.new(shape: ReturnData, location_name: "ReturnData"))
|
1558
1561
|
TargetTrackingMetricDataQuery.struct_class = Types::TargetTrackingMetricDataQuery
|
1559
1562
|
|
1560
1563
|
TargetTrackingMetricStat.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, required: true, location_name: "Metric"))
|
1561
1564
|
TargetTrackingMetricStat.add_member(:stat, Shapes::ShapeRef.new(shape: XmlStringMetricStat, required: true, location_name: "Stat"))
|
1562
1565
|
TargetTrackingMetricStat.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
1566
|
+
TargetTrackingMetricStat.add_member(:period, Shapes::ShapeRef.new(shape: MetricGranularityInSeconds, location_name: "Period"))
|
1563
1567
|
TargetTrackingMetricStat.struct_class = Types::TargetTrackingMetricStat
|
1564
1568
|
|
1565
1569
|
TerminateInstanceInAutoScalingGroupType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, required: true, location_name: "InstanceId"))
|
@@ -1863,6 +1863,18 @@ module Aws::AutoScaling
|
|
1863
1863
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
1864
1864
|
# @return [String]
|
1865
1865
|
#
|
1866
|
+
# @!attribute [rw] period
|
1867
|
+
# The period of the metric in seconds. The default value is 60.
|
1868
|
+
# Accepted values are 10, 30, and 60. For high resolution metric, set
|
1869
|
+
# the value to less than 60. For more information, see [Create a
|
1870
|
+
# target tracking policy using high-resolution metrics for faster
|
1871
|
+
# response][1].
|
1872
|
+
#
|
1873
|
+
#
|
1874
|
+
#
|
1875
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/policy-creating-high-resolution-metrics.html
|
1876
|
+
# @return [Integer]
|
1877
|
+
#
|
1866
1878
|
# @!attribute [rw] metrics
|
1867
1879
|
# The metrics to include in the target tracking scaling policy, as a
|
1868
1880
|
# metric data query. This can include both raw metric and metric math
|
@@ -1877,6 +1889,7 @@ module Aws::AutoScaling
|
|
1877
1889
|
:dimensions,
|
1878
1890
|
:statistic,
|
1879
1891
|
:unit,
|
1892
|
+
:period,
|
1880
1893
|
:metrics)
|
1881
1894
|
SENSITIVE = []
|
1882
1895
|
include Aws::Structure
|
@@ -7703,6 +7716,18 @@ module Aws::AutoScaling
|
|
7703
7716
|
# what the value represents.
|
7704
7717
|
# @return [String]
|
7705
7718
|
#
|
7719
|
+
# @!attribute [rw] period
|
7720
|
+
# The period of the metric in seconds. The default value is 60.
|
7721
|
+
# Accepted values are 10, 30, and 60. For high resolution metric, set
|
7722
|
+
# the value to less than 60. For more information, see [Create a
|
7723
|
+
# target tracking policy using high-resolution metrics for faster
|
7724
|
+
# response][1].
|
7725
|
+
#
|
7726
|
+
#
|
7727
|
+
#
|
7728
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/policy-creating-high-resolution-metrics.html
|
7729
|
+
# @return [Integer]
|
7730
|
+
#
|
7706
7731
|
# @!attribute [rw] return_data
|
7707
7732
|
# Indicates whether to return the timestamps and raw data values of
|
7708
7733
|
# this metric.
|
@@ -7724,6 +7749,7 @@ module Aws::AutoScaling
|
|
7724
7749
|
:expression,
|
7725
7750
|
:metric_stat,
|
7726
7751
|
:label,
|
7752
|
+
:period,
|
7727
7753
|
:return_data)
|
7728
7754
|
SENSITIVE = []
|
7729
7755
|
include Aws::Structure
|
@@ -7765,12 +7791,25 @@ module Aws::AutoScaling
|
|
7765
7791
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
7766
7792
|
# @return [String]
|
7767
7793
|
#
|
7794
|
+
# @!attribute [rw] period
|
7795
|
+
# The period of the metric in seconds. The default value is 60.
|
7796
|
+
# Accepted values are 10, 30, and 60. For high resolution metric, set
|
7797
|
+
# the value to less than 60. For more information, see [Create a
|
7798
|
+
# target tracking policy using high-resolution metrics for faster
|
7799
|
+
# response][1].
|
7800
|
+
#
|
7801
|
+
#
|
7802
|
+
#
|
7803
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/policy-creating-high-resolution-metrics.html
|
7804
|
+
# @return [Integer]
|
7805
|
+
#
|
7768
7806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingMetricStat AWS API Documentation
|
7769
7807
|
#
|
7770
7808
|
class TargetTrackingMetricStat < Struct.new(
|
7771
7809
|
:metric,
|
7772
7810
|
:stat,
|
7773
|
-
:unit
|
7811
|
+
:unit,
|
7812
|
+
:period)
|
7774
7813
|
SENSITIVE = []
|
7775
7814
|
include Aws::Structure
|
7776
7815
|
end
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/auto_scaling_group.rbs
CHANGED
@@ -217,6 +217,7 @@ module Aws
|
|
217
217
|
]?,
|
218
218
|
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
219
219
|
unit: ::String?,
|
220
|
+
period: ::Integer?,
|
220
221
|
metrics: Array[
|
221
222
|
{
|
222
223
|
id: ::String,
|
@@ -233,9 +234,11 @@ module Aws
|
|
233
234
|
]?
|
234
235
|
},
|
235
236
|
stat: ::String,
|
236
|
-
unit: ::String
|
237
|
+
unit: ::String?,
|
238
|
+
period: ::Integer?
|
237
239
|
}?,
|
238
240
|
label: ::String?,
|
241
|
+
period: ::Integer?,
|
239
242
|
return_data: bool?
|
240
243
|
},
|
241
244
|
]?
|
data/sig/client.rbs
CHANGED
@@ -903,6 +903,7 @@ module Aws
|
|
903
903
|
]?,
|
904
904
|
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
905
905
|
unit: ::String?,
|
906
|
+
period: ::Integer?,
|
906
907
|
metrics: Array[
|
907
908
|
{
|
908
909
|
id: ::String,
|
@@ -919,9 +920,11 @@ module Aws
|
|
919
920
|
]?
|
920
921
|
},
|
921
922
|
stat: ::String,
|
922
|
-
unit: ::String
|
923
|
+
unit: ::String?,
|
924
|
+
period: ::Integer?
|
923
925
|
}?,
|
924
926
|
label: ::String?,
|
927
|
+
period: ::Integer?,
|
925
928
|
return_data: bool?
|
926
929
|
},
|
927
930
|
]?
|
data/sig/types.rbs
CHANGED
@@ -350,6 +350,7 @@ module Aws::AutoScaling
|
|
350
350
|
attr_accessor dimensions: ::Array[Types::MetricDimension]
|
351
351
|
attr_accessor statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")
|
352
352
|
attr_accessor unit: ::String
|
353
|
+
attr_accessor period: ::Integer
|
353
354
|
attr_accessor metrics: ::Array[Types::TargetTrackingMetricDataQuery]
|
354
355
|
SENSITIVE: []
|
355
356
|
end
|
@@ -1378,6 +1379,7 @@ module Aws::AutoScaling
|
|
1378
1379
|
attr_accessor expression: ::String
|
1379
1380
|
attr_accessor metric_stat: Types::TargetTrackingMetricStat
|
1380
1381
|
attr_accessor label: ::String
|
1382
|
+
attr_accessor period: ::Integer
|
1381
1383
|
attr_accessor return_data: bool
|
1382
1384
|
SENSITIVE: []
|
1383
1385
|
end
|
@@ -1386,6 +1388,7 @@ module Aws::AutoScaling
|
|
1386
1388
|
attr_accessor metric: Types::Metric
|
1387
1389
|
attr_accessor stat: ::String
|
1388
1390
|
attr_accessor unit: ::String
|
1391
|
+
attr_accessor period: ::Integer
|
1389
1392
|
SENSITIVE: []
|
1390
1393
|
end
|
1391
1394
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.128.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: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|