aws-sdk-autoscaling 1.68.0 → 1.69.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/client.rb +26 -10
- data/lib/aws-sdk-autoscaling/client_api.rb +3 -0
- data/lib/aws-sdk-autoscaling/resource.rb +9 -1
- data/lib/aws-sdk-autoscaling/types.rb +82 -30
- data/lib/aws-sdk-autoscaling.rb +1 -1
- 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: 9b9ff5bc88028376ad5cc02aa0b988c65d9ece01837e44f92e657b8d9d2af551
|
4
|
+
data.tar.gz: 240a86297df3cbd5bf659130c297cea40add4ca3bb6fda8f3925dfd1e001a97d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1354d94c9b4ffc007265ccef28dc63af56470abdee62bf54c131d91756a89652660f23595ac4a48d70a078b33d280ed34f412ed712cac8318c9c0630d1af4b4
|
7
|
+
data.tar.gz: d57738e711bc5966b2b1ff89dee240abbaefebdc0d69559ca4f2c6e0b4f33f65867b0071615547838a111d90dcfff3f71eec43e04ed94a3d61aa14c03c1d0e6b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -1375,7 +1375,7 @@ module Aws::AutoScaling
|
|
1375
1375
|
# provide optimal I/O performance. This optimization is not available
|
1376
1376
|
# with all instance types. Additional fees are incurred when you enable
|
1377
1377
|
# EBS optimization for an instance type that is not EBS-optimized by
|
1378
|
-
# default. For more information, see [Amazon EBS-
|
1378
|
+
# default. For more information, see [Amazon EBS-optimized instances][1]
|
1379
1379
|
# in the *Amazon EC2 User Guide for Linux Instances*.
|
1380
1380
|
#
|
1381
1381
|
# The default value is `false`.
|
@@ -1917,11 +1917,11 @@ module Aws::AutoScaling
|
|
1917
1917
|
# Describes the current Amazon EC2 Auto Scaling resource quotas for your
|
1918
1918
|
# account.
|
1919
1919
|
#
|
1920
|
-
# When you establish an account, the account has
|
1921
|
-
# maximum number of Auto Scaling groups and launch
|
1922
|
-
# you can create in a given Region. For more
|
1923
|
-
# EC2 Auto Scaling service quotas][1] in the
|
1924
|
-
# User Guide*.
|
1920
|
+
# When you establish an Amazon Web Services account, the account has
|
1921
|
+
# initial quotas on the maximum number of Auto Scaling groups and launch
|
1922
|
+
# configurations that you can create in a given Region. For more
|
1923
|
+
# information, see [Amazon EC2 Auto Scaling service quotas][1] in the
|
1924
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1925
1925
|
#
|
1926
1926
|
#
|
1927
1927
|
#
|
@@ -2021,9 +2021,16 @@ module Aws::AutoScaling
|
|
2021
2021
|
# Gets information about the Auto Scaling groups in the account and
|
2022
2022
|
# Region.
|
2023
2023
|
#
|
2024
|
-
#
|
2025
|
-
#
|
2026
|
-
#
|
2024
|
+
# If you specify Auto Scaling group names, the output includes
|
2025
|
+
# information for only the specified Auto Scaling groups. If you specify
|
2026
|
+
# filters, the output includes information for only those Auto Scaling
|
2027
|
+
# groups that meet the filter criteria. If you do not specify group
|
2028
|
+
# names or filters, the output includes information for all Auto Scaling
|
2029
|
+
# groups.
|
2030
|
+
#
|
2031
|
+
# This operation also returns information about instances in Auto
|
2032
|
+
# Scaling groups. To retrieve information about the instances in a warm
|
2033
|
+
# pool, you must call the DescribeWarmPool API.
|
2027
2034
|
#
|
2028
2035
|
# @option params [Array<String>] :auto_scaling_group_names
|
2029
2036
|
# The names of the Auto Scaling groups. By default, you can only specify
|
@@ -2040,6 +2047,9 @@ module Aws::AutoScaling
|
|
2040
2047
|
# The maximum number of items to return with this call. The default
|
2041
2048
|
# value is `50` and the maximum value is `100`.
|
2042
2049
|
#
|
2050
|
+
# @option params [Array<Types::Filter>] :filters
|
2051
|
+
# One or more filters to limit the results based on specific tags.
|
2052
|
+
#
|
2043
2053
|
# @return [Types::AutoScalingGroupsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2044
2054
|
#
|
2045
2055
|
# * {Types::AutoScalingGroupsType#auto_scaling_groups #auto_scaling_groups} => Array<Types::AutoScalingGroup>
|
@@ -2108,6 +2118,12 @@ module Aws::AutoScaling
|
|
2108
2118
|
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
2109
2119
|
# next_token: "XmlString",
|
2110
2120
|
# max_records: 1,
|
2121
|
+
# filters: [
|
2122
|
+
# {
|
2123
|
+
# name: "XmlString",
|
2124
|
+
# values: ["XmlString"],
|
2125
|
+
# },
|
2126
|
+
# ],
|
2111
2127
|
# })
|
2112
2128
|
#
|
2113
2129
|
# @example Response structure
|
@@ -5990,7 +6006,7 @@ module Aws::AutoScaling
|
|
5990
6006
|
params: params,
|
5991
6007
|
config: config)
|
5992
6008
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5993
|
-
context[:gem_version] = '1.
|
6009
|
+
context[:gem_version] = '1.69.0'
|
5994
6010
|
Seahorse::Client::Request.new(handlers, context)
|
5995
6011
|
end
|
5996
6012
|
|
@@ -418,6 +418,7 @@ module Aws::AutoScaling
|
|
418
418
|
AutoScalingGroupNamesType.add_member(:auto_scaling_group_names, Shapes::ShapeRef.new(shape: AutoScalingGroupNames, location_name: "AutoScalingGroupNames"))
|
419
419
|
AutoScalingGroupNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
420
420
|
AutoScalingGroupNamesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
421
|
+
AutoScalingGroupNamesType.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
421
422
|
AutoScalingGroupNamesType.struct_class = Types::AutoScalingGroupNamesType
|
422
423
|
|
423
424
|
AutoScalingGroups.member = Shapes::ShapeRef.new(shape: AutoScalingGroup)
|
@@ -1594,6 +1595,7 @@ module Aws::AutoScaling
|
|
1594
1595
|
o.input = Shapes::ShapeRef.new(shape: DescribeLoadBalancerTargetGroupsRequest)
|
1595
1596
|
o.output = Shapes::ShapeRef.new(shape: DescribeLoadBalancerTargetGroupsResponse)
|
1596
1597
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1598
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1597
1599
|
end)
|
1598
1600
|
|
1599
1601
|
api.add_operation(:describe_load_balancers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1603,6 +1605,7 @@ module Aws::AutoScaling
|
|
1603
1605
|
o.input = Shapes::ShapeRef.new(shape: DescribeLoadBalancersRequest)
|
1604
1606
|
o.output = Shapes::ShapeRef.new(shape: DescribeLoadBalancersResponse)
|
1605
1607
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1608
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1606
1609
|
end)
|
1607
1610
|
|
1608
1611
|
api.add_operation(:describe_metric_collection_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -562,7 +562,7 @@ module Aws::AutoScaling
|
|
562
562
|
# provide optimal I/O performance. This optimization is not available
|
563
563
|
# with all instance types. Additional fees are incurred when you enable
|
564
564
|
# EBS optimization for an instance type that is not EBS-optimized by
|
565
|
-
# default. For more information, see [Amazon EBS-
|
565
|
+
# default. For more information, see [Amazon EBS-optimized instances][1]
|
566
566
|
# in the *Amazon EC2 User Guide for Linux Instances*.
|
567
567
|
#
|
568
568
|
# The default value is `false`.
|
@@ -694,6 +694,12 @@ module Aws::AutoScaling
|
|
694
694
|
#
|
695
695
|
# groups = auto_scaling.groups({
|
696
696
|
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
697
|
+
# filters: [
|
698
|
+
# {
|
699
|
+
# name: "XmlString",
|
700
|
+
# values: ["XmlString"],
|
701
|
+
# },
|
702
|
+
# ],
|
697
703
|
# })
|
698
704
|
# @param [Hash] options ({})
|
699
705
|
# @option options [Array<String>] :auto_scaling_group_names
|
@@ -702,6 +708,8 @@ module Aws::AutoScaling
|
|
702
708
|
# `MaxRecords` parameter.
|
703
709
|
#
|
704
710
|
# If you omit this parameter, all Auto Scaling groups are described.
|
711
|
+
# @option options [Array<Types::Filter>] :filters
|
712
|
+
# One or more filters to limit the results based on specific tags.
|
705
713
|
# @return [AutoScalingGroup::Collection]
|
706
714
|
def groups(options = {})
|
707
715
|
batches = Enumerator.new do |y|
|
@@ -456,6 +456,12 @@ module Aws::AutoScaling
|
|
456
456
|
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
457
457
|
# next_token: "XmlString",
|
458
458
|
# max_records: 1,
|
459
|
+
# filters: [
|
460
|
+
# {
|
461
|
+
# name: "XmlString",
|
462
|
+
# values: ["XmlString"],
|
463
|
+
# },
|
464
|
+
# ],
|
459
465
|
# }
|
460
466
|
#
|
461
467
|
# @!attribute [rw] auto_scaling_group_names
|
@@ -476,12 +482,17 @@ module Aws::AutoScaling
|
|
476
482
|
# value is `50` and the maximum value is `100`.
|
477
483
|
# @return [Integer]
|
478
484
|
#
|
485
|
+
# @!attribute [rw] filters
|
486
|
+
# One or more filters to limit the results based on specific tags.
|
487
|
+
# @return [Array<Types::Filter>]
|
488
|
+
#
|
479
489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroupNamesType AWS API Documentation
|
480
490
|
#
|
481
491
|
class AutoScalingGroupNamesType < Struct.new(
|
482
492
|
:auto_scaling_group_names,
|
483
493
|
:next_token,
|
484
|
-
:max_records
|
494
|
+
:max_records,
|
495
|
+
:filters)
|
485
496
|
SENSITIVE = []
|
486
497
|
include Aws::Structure
|
487
498
|
end
|
@@ -1506,7 +1517,7 @@ module Aws::AutoScaling
|
|
1506
1517
|
# with all instance types. Additional fees are incurred when you
|
1507
1518
|
# enable EBS optimization for an instance type that is not
|
1508
1519
|
# EBS-optimized by default. For more information, see [Amazon
|
1509
|
-
# EBS-
|
1520
|
+
# EBS-optimized instances][1] in the *Amazon EC2 User Guide for Linux
|
1510
1521
|
# Instances*.
|
1511
1522
|
#
|
1512
1523
|
# The default value is `false`.
|
@@ -2832,8 +2843,8 @@ module Aws::AutoScaling
|
|
2832
2843
|
# @return [Integer]
|
2833
2844
|
#
|
2834
2845
|
# @!attribute [rw] volume_type
|
2835
|
-
# The volume type. For more information, see [Amazon EBS
|
2836
|
-
#
|
2846
|
+
# The volume type. For more information, see [Amazon EBS volume
|
2847
|
+
# types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
2837
2848
|
#
|
2838
2849
|
# Valid Values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1` \|
|
2839
2850
|
# `gp3`
|
@@ -2878,38 +2889,29 @@ module Aws::AutoScaling
|
|
2878
2889
|
# @!attribute [rw] encrypted
|
2879
2890
|
# Specifies whether the volume should be encrypted. Encrypted EBS
|
2880
2891
|
# volumes can only be attached to instances that support Amazon EBS
|
2881
|
-
# encryption. For more information, see [Supported
|
2892
|
+
# encryption. For more information, see [Supported instance types][1].
|
2882
2893
|
# If your AMI uses encrypted volumes, you can also only launch it on
|
2883
2894
|
# supported instance types.
|
2884
2895
|
#
|
2885
|
-
# <note markdown="1"> If you are creating a volume from a snapshot, you cannot
|
2886
|
-
#
|
2887
|
-
#
|
2888
|
-
# unencrypted snapshots are automatically unencrypted. By default,
|
2889
|
-
# encrypted snapshots use the Amazon Web Services managed CMK that is
|
2890
|
-
# used for EBS encryption, but you can specify a custom CMK when you
|
2891
|
-
# create the snapshot. The ability to encrypt a snapshot during
|
2892
|
-
# copying also allows you to apply a new CMK to an already-encrypted
|
2893
|
-
# snapshot. Volumes restored from the resulting copy are only
|
2894
|
-
# accessible using the new CMK.
|
2895
|
-
#
|
2896
|
-
# Enabling [encryption by default][2] results in all EBS volumes being
|
2897
|
-
# encrypted with the Amazon Web Services managed CMK or a customer
|
2898
|
-
# managed CMK, whether or not the snapshot was encrypted.
|
2896
|
+
# <note markdown="1"> If you are creating a volume from a snapshot, you cannot create an
|
2897
|
+
# unencrypted volume from an encrypted snapshot. Also, you cannot
|
2898
|
+
# specify a KMS key ID when using a launch configuration.
|
2899
2899
|
#
|
2900
|
-
#
|
2900
|
+
# If you enable encryption by default, the EBS volumes that you create
|
2901
|
+
# are always encrypted, either using the Amazon Web Services managed
|
2902
|
+
# KMS key or a customer-managed KMS key, regardless of whether the
|
2903
|
+
# snapshot was encrypted.
|
2901
2904
|
#
|
2902
|
-
#
|
2903
|
-
# in the *Amazon EC2
|
2904
|
-
#
|
2905
|
-
#
|
2905
|
+
# For more information, see [Using Amazon Web Services KMS keys to
|
2906
|
+
# encrypt Amazon EBS volumes][2] in the *Amazon EC2 Auto Scaling User
|
2907
|
+
# Guide*.
|
2908
|
+
#
|
2909
|
+
# </note>
|
2906
2910
|
#
|
2907
2911
|
#
|
2908
2912
|
#
|
2909
2913
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
2910
|
-
# [2]: https://docs.aws.amazon.com/
|
2911
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html
|
2912
|
-
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/key-policy-requirements-EBS-encryption.html
|
2914
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption
|
2913
2915
|
# @return [Boolean]
|
2914
2916
|
#
|
2915
2917
|
# @!attribute [rw] throughput
|
@@ -3241,7 +3243,11 @@ module Aws::AutoScaling
|
|
3241
3243
|
end
|
3242
3244
|
|
3243
3245
|
# Describes a filter that is used to return a more specific list of
|
3244
|
-
# results
|
3246
|
+
# results from a describe operation.
|
3247
|
+
#
|
3248
|
+
# If you specify multiple filters, the filters are joined with an `AND`,
|
3249
|
+
# and the request returns only results that match all of the specified
|
3250
|
+
# filters.
|
3245
3251
|
#
|
3246
3252
|
# For more information, see [Tagging Auto Scaling groups and
|
3247
3253
|
# instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -3259,12 +3265,58 @@ module Aws::AutoScaling
|
|
3259
3265
|
# }
|
3260
3266
|
#
|
3261
3267
|
# @!attribute [rw] name
|
3262
|
-
# The name of the filter.
|
3263
|
-
#
|
3268
|
+
# The name of the filter.
|
3269
|
+
#
|
3270
|
+
# The valid values for `Name` depend on the API operation that you are
|
3271
|
+
# including the filter in, DescribeAutoScalingGroups or DescribeTags.
|
3272
|
+
#
|
3273
|
+
# **DescribeAutoScalingGroups**
|
3274
|
+
#
|
3275
|
+
# Valid values for `Name` include the following:
|
3276
|
+
#
|
3277
|
+
# * `tag-key` - Accepts tag keys. The results will only include
|
3278
|
+
# information about the Auto Scaling groups associated with these
|
3279
|
+
# tag keys.
|
3280
|
+
#
|
3281
|
+
# * `tag-value` - Accepts tag values. The results will only include
|
3282
|
+
# information about the Auto Scaling groups associated with these
|
3283
|
+
# tag values.
|
3284
|
+
#
|
3285
|
+
# * `tag:<key>` - Accepts the key/value combination of the tag. Use
|
3286
|
+
# the tag key in the filter name and the tag value as the filter
|
3287
|
+
# value. The results will only include information about the Auto
|
3288
|
+
# Scaling groups associated with the specified key/value
|
3289
|
+
# combination.
|
3290
|
+
#
|
3291
|
+
# **DescribeTags**
|
3292
|
+
#
|
3293
|
+
# Valid values for `Name` include the following:
|
3294
|
+
#
|
3295
|
+
# * `auto-scaling-group` - Accepts the names of Auto Scaling groups.
|
3296
|
+
# The results will only include information about the tags
|
3297
|
+
# associated with these Auto Scaling groups.
|
3298
|
+
#
|
3299
|
+
# * `key` - Accepts tag keys. The results will only include
|
3300
|
+
# information about the tags associated with these tag keys.
|
3301
|
+
#
|
3302
|
+
# * `value` - Accepts tag values. The results will only include
|
3303
|
+
# information about the tags associated with these tag values.
|
3304
|
+
#
|
3305
|
+
# * `propagate-at-launch` - Accepts a boolean value, which specifies
|
3306
|
+
# whether tags propagate to instances at launch. The results will
|
3307
|
+
# only include information about the tags associated with the
|
3308
|
+
# specified boolean value.
|
3264
3309
|
# @return [String]
|
3265
3310
|
#
|
3266
3311
|
# @!attribute [rw] values
|
3267
3312
|
# One or more filter values. Filter values are case-sensitive.
|
3313
|
+
#
|
3314
|
+
# If you specify multiple values for a filter, the values are joined
|
3315
|
+
# with an `OR`, and the request returns all results that match any of
|
3316
|
+
# the specified values. For example, specify "tag:environment" for
|
3317
|
+
# the filter name and "production,development" for the filter values
|
3318
|
+
# to find Auto Scaling groups with the tag "environment=production"
|
3319
|
+
# or "environment=development".
|
3268
3320
|
# @return [Array<String>]
|
3269
3321
|
#
|
3270
3322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter AWS API Documentation
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
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.69.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: 2021-
|
11
|
+
date: 2021-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|