aws-sdk-autoscaling 1.127.0 → 1.129.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +3 -0
- data/lib/aws-sdk-autoscaling/client.rb +30 -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 +6 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9418375bb18c7ef796c0264470afc2c3049a1ba9df1e4e071cb471addb46d9f2
|
4
|
+
data.tar.gz: d0a0180ba07ce6951e5bd0a57bb839eafd82e18b07767f1dd63bfafbd126b876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d727981b4561335fe1d4e7e4da20e47a33c89785378b6e5128f13be4fa7bfdce28ec1fd02085c5862ab0e533e1fbaa0d9a22c5b0de6532954e401f6139be65d
|
7
|
+
data.tar.gz: e41082022117ba9d85054b0f60dbd5bcbfddfa4804da200396719b5f6a3a968c5e75c28d2e18ef962ac4a41f347e891a0f4d04bfd9e8be51184eaf91010296e0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.129.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.128.0 (2024-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.127.0 (2024-11-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.129.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
|
# ],
|
@@ -257,11 +257,34 @@ module Aws::AutoScaling
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -3804,6 +3827,7 @@ module Aws::AutoScaling
|
|
3804
3827
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.dimensions[0].value #=> String
|
3805
3828
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.statistic #=> String, one of "Average", "Minimum", "Maximum", "SampleCount", "Sum"
|
3806
3829
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.unit #=> String
|
3830
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.period #=> Integer
|
3807
3831
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics #=> Array
|
3808
3832
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].id #=> String
|
3809
3833
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].expression #=> String
|
@@ -3814,7 +3838,9 @@ module Aws::AutoScaling
|
|
3814
3838
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.metric.dimensions[0].value #=> String
|
3815
3839
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.stat #=> String
|
3816
3840
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.unit #=> String
|
3841
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].metric_stat.period #=> Integer
|
3817
3842
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].label #=> String
|
3843
|
+
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].period #=> Integer
|
3818
3844
|
# resp.scaling_policies[0].target_tracking_configuration.customized_metric_specification.metrics[0].return_data #=> Boolean
|
3819
3845
|
# resp.scaling_policies[0].target_tracking_configuration.target_value #=> Float
|
3820
3846
|
# resp.scaling_policies[0].target_tracking_configuration.disable_scale_in #=> Boolean
|
@@ -5797,6 +5823,7 @@ module Aws::AutoScaling
|
|
5797
5823
|
# ],
|
5798
5824
|
# statistic: "Average", # accepts Average, Minimum, Maximum, SampleCount, Sum
|
5799
5825
|
# unit: "MetricUnit",
|
5826
|
+
# period: 1,
|
5800
5827
|
# metrics: [
|
5801
5828
|
# {
|
5802
5829
|
# id: "XmlStringMaxLen64", # required
|
@@ -5814,8 +5841,10 @@ module Aws::AutoScaling
|
|
5814
5841
|
# },
|
5815
5842
|
# stat: "XmlStringMetricStat", # required
|
5816
5843
|
# unit: "MetricUnit",
|
5844
|
+
# period: 1,
|
5817
5845
|
# },
|
5818
5846
|
# label: "XmlStringMetricLabel",
|
5847
|
+
# period: 1,
|
5819
5848
|
# return_data: false,
|
5820
5849
|
# },
|
5821
5850
|
# ],
|
@@ -7436,7 +7465,7 @@ module Aws::AutoScaling
|
|
7436
7465
|
tracer: tracer
|
7437
7466
|
)
|
7438
7467
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7439
|
-
context[:gem_version] = '1.
|
7468
|
+
context[:gem_version] = '1.129.0'
|
7440
7469
|
Seahorse::Client::Request.new(handlers, context)
|
7441
7470
|
end
|
7442
7471
|
|
@@ -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
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -903,6 +905,7 @@ module Aws
|
|
903
905
|
]?,
|
904
906
|
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
905
907
|
unit: ::String?,
|
908
|
+
period: ::Integer?,
|
906
909
|
metrics: Array[
|
907
910
|
{
|
908
911
|
id: ::String,
|
@@ -919,9 +922,11 @@ module Aws
|
|
919
922
|
]?
|
920
923
|
},
|
921
924
|
stat: ::String,
|
922
|
-
unit: ::String
|
925
|
+
unit: ::String?,
|
926
|
+
period: ::Integer?
|
923
927
|
}?,
|
924
928
|
label: ::String?,
|
929
|
+
period: ::Integer?,
|
925
930
|
return_data: bool?
|
926
931
|
},
|
927
932
|
]?
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.129.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: 2025-01-15 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.
|
22
|
+
version: 3.216.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.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|