aws-sdk-autoscaling 1.86.0 → 1.89.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +13 -16
- data/lib/aws-sdk-autoscaling/client.rb +195 -73
- data/lib/aws-sdk-autoscaling/client_api.rb +12 -3
- data/lib/aws-sdk-autoscaling/instance.rb +4 -4
- data/lib/aws-sdk-autoscaling/resource.rb +15 -20
- data/lib/aws-sdk-autoscaling/types.rb +145 -86
- 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: fb16ec26a4cbab0657093d95e73ba7dd99c3a558e5e63ecc39ac492f4e248b93
|
4
|
+
data.tar.gz: b5052a71fc732e23384ad992ef1a3c3a31f00e21644e6ca1b3fb7b976df0ad9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce08f7996a843e7e9e928ab15a6230f77d425745071def6f087c879ddd8dbf7a0e54039c6b3041b068934f3a1bc1d047473b6e2a5db17edfcfe1fb9056ac9e92
|
7
|
+
data.tar.gz: d46e065db601d21d59f503e3cc9634bcc6da38fe30640d3d65a7c074da47c10d4bb36c148f77481ab03f791b08636e15200ee7d8284893a8abfdcd0e1d0d7342
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.89.0 (2023-04-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling
|
8
|
+
|
9
|
+
1.88.0 (2023-04-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling
|
13
|
+
|
14
|
+
1.87.0 (2023-03-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon EC2 Auto Scaling now supports Elastic Load Balancing traffic sources with the AttachTrafficSources, DetachTrafficSources, and DescribeTrafficSources APIs. This release also introduces a new activity status, "WaitingForConnectionDraining", for VPC Lattice to the DescribeScalingActivities API.
|
18
|
+
|
4
19
|
1.86.0 (2023-02-10)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.89.0
|
@@ -109,12 +109,7 @@ module Aws::AutoScaling
|
|
109
109
|
data[:target_group_arns]
|
110
110
|
end
|
111
111
|
|
112
|
-
#
|
113
|
-
# instances in this group. Amazon EC2 health checks are always on.
|
114
|
-
#
|
115
|
-
# The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
|
116
|
-
# `VPC_LATTICE` health check type is reserved for use with VPC Lattice,
|
117
|
-
# which is in preview release and is subject to change.
|
112
|
+
# A comma-separated value string of one or more health check types.
|
118
113
|
# @return [String]
|
119
114
|
def health_check_type
|
120
115
|
data[:health_check_type]
|
@@ -232,11 +227,7 @@ module Aws::AutoScaling
|
|
232
227
|
data[:default_instance_warmup]
|
233
228
|
end
|
234
229
|
|
235
|
-
#
|
236
|
-
# release and is subject to change. Do not use this parameter for
|
237
|
-
# production workloads. It is also subject to change.**
|
238
|
-
#
|
239
|
-
# The unique identifiers of the traffic sources.
|
230
|
+
# The traffic sources associated with this Auto Scaling group.
|
240
231
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
241
232
|
def traffic_sources
|
242
233
|
data[:traffic_sources]
|
@@ -1288,12 +1279,18 @@ module Aws::AutoScaling
|
|
1288
1279
|
# @option options [Array<String>] :availability_zones
|
1289
1280
|
# One or more Availability Zones for the group.
|
1290
1281
|
# @option options [String] :health_check_type
|
1291
|
-
#
|
1292
|
-
#
|
1282
|
+
# A comma-separated value string of one or more health check types.
|
1283
|
+
#
|
1284
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1285
|
+
# default health check and cannot be disabled. For more information, see
|
1286
|
+
# [Health checks for Auto Scaling instances][1] in the *Amazon EC2 Auto
|
1287
|
+
# Scaling User Guide*.
|
1288
|
+
#
|
1289
|
+
# Only specify `EC2` if you must clear a value that was previously set.
|
1290
|
+
#
|
1291
|
+
#
|
1293
1292
|
#
|
1294
|
-
#
|
1295
|
-
# `VPC_LATTICE` health check type is reserved for use with VPC Lattice,
|
1296
|
-
# which is in preview release and is subject to change.
|
1293
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
1297
1294
|
# @option options [Integer] :health_check_grace_period
|
1298
1295
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
1299
1296
|
# before checking the health status of an EC2 instance that has come
|
@@ -425,6 +425,15 @@ module Aws::AutoScaling
|
|
425
425
|
req.send_request(options)
|
426
426
|
end
|
427
427
|
|
428
|
+
# <note markdown="1"> This API operation is superseded by AttachTrafficSources, which can
|
429
|
+
# attach multiple traffic sources types. We recommend using
|
430
|
+
# `AttachTrafficSources` to simplify how you manage traffic sources.
|
431
|
+
# However, we continue to support `AttachLoadBalancerTargetGroups`. You
|
432
|
+
# can use both the original `AttachLoadBalancerTargetGroups` API
|
433
|
+
# operation and `AttachTrafficSources` on the same Auto Scaling group.
|
434
|
+
#
|
435
|
+
# </note>
|
436
|
+
#
|
428
437
|
# Attaches one or more target groups to the specified Auto Scaling
|
429
438
|
# group.
|
430
439
|
#
|
@@ -495,9 +504,12 @@ module Aws::AutoScaling
|
|
495
504
|
req.send_request(options)
|
496
505
|
end
|
497
506
|
|
498
|
-
# <note markdown="1">
|
499
|
-
#
|
500
|
-
#
|
507
|
+
# <note markdown="1"> This API operation is superseded by AttachTrafficSources, which can
|
508
|
+
# attach multiple traffic sources types. We recommend using
|
509
|
+
# `AttachTrafficSources` to simplify how you manage traffic sources.
|
510
|
+
# However, we continue to support `AttachLoadBalancers`. You can use
|
511
|
+
# both the original `AttachLoadBalancers` API operation and
|
512
|
+
# `AttachTrafficSources` on the same Auto Scaling group.
|
501
513
|
#
|
502
514
|
# </note>
|
503
515
|
#
|
@@ -557,20 +569,30 @@ module Aws::AutoScaling
|
|
557
569
|
req.send_request(options)
|
558
570
|
end
|
559
571
|
|
560
|
-
# **Reserved for use with Amazon VPC Lattice, which is in preview and
|
561
|
-
# subject to change. Do not use this API for production workloads. This
|
562
|
-
# API is also subject to change.**
|
563
|
-
#
|
564
572
|
# Attaches one or more traffic sources to the specified Auto Scaling
|
565
573
|
# group.
|
566
574
|
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
575
|
+
# You can use any of the following as traffic sources for an Auto
|
576
|
+
# Scaling group:
|
577
|
+
#
|
578
|
+
# * Application Load Balancer
|
579
|
+
#
|
580
|
+
# * Classic Load Balancer
|
581
|
+
#
|
582
|
+
# * Gateway Load Balancer
|
583
|
+
#
|
584
|
+
# * Network Load Balancer
|
585
|
+
#
|
586
|
+
# * VPC Lattice
|
570
587
|
#
|
571
588
|
# This operation is additive and does not detach existing traffic
|
572
589
|
# sources from the Auto Scaling group.
|
573
590
|
#
|
591
|
+
# After the operation completes, use the DescribeTrafficSources API to
|
592
|
+
# return details about the state of the attachments between traffic
|
593
|
+
# sources and your Auto Scaling group. To detach a traffic source from
|
594
|
+
# the Auto Scaling group, call the DetachTrafficSources API.
|
595
|
+
#
|
574
596
|
# @option params [required, String] :auto_scaling_group_name
|
575
597
|
# The name of the Auto Scaling group.
|
576
598
|
#
|
@@ -578,21 +600,34 @@ module Aws::AutoScaling
|
|
578
600
|
# The unique identifiers of one or more traffic sources. You can specify
|
579
601
|
# up to 10 traffic sources.
|
580
602
|
#
|
581
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
582
|
-
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
583
|
-
# the running instances with the attached target groups. The target
|
584
|
-
# groups receive incoming traffic and route requests to one or more
|
585
|
-
# registered targets.
|
586
|
-
#
|
587
603
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
588
604
|
#
|
605
|
+
#
|
606
|
+
# @example Example: To attach a target group to an Auto Scaling group
|
607
|
+
#
|
608
|
+
# # This example attaches the specified target group to the specified Auto Scaling group.
|
609
|
+
#
|
610
|
+
# resp = client.attach_traffic_sources({
|
611
|
+
# auto_scaling_group_name: "my-auto-scaling-group",
|
612
|
+
# traffic_sources: [
|
613
|
+
# {
|
614
|
+
# identifier: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
615
|
+
# },
|
616
|
+
# ],
|
617
|
+
# })
|
618
|
+
#
|
619
|
+
# resp.to_h outputs the following:
|
620
|
+
# {
|
621
|
+
# }
|
622
|
+
#
|
589
623
|
# @example Request syntax with placeholder values
|
590
624
|
#
|
591
625
|
# resp = client.attach_traffic_sources({
|
592
626
|
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
593
627
|
# traffic_sources: [ # required
|
594
628
|
# {
|
595
|
-
# identifier: "XmlStringMaxLen511",
|
629
|
+
# identifier: "XmlStringMaxLen511", # required
|
630
|
+
# type: "XmlStringMaxLen511",
|
596
631
|
# },
|
597
632
|
# ],
|
598
633
|
# })
|
@@ -972,7 +1007,8 @@ module Aws::AutoScaling
|
|
972
1007
|
# @option params [Array<String>] :load_balancer_names
|
973
1008
|
# A list of Classic Load Balancers associated with this Auto Scaling
|
974
1009
|
# group. For Application Load Balancers, Network Load Balancers, and
|
975
|
-
# Gateway Load
|
1010
|
+
# Gateway Load Balancers, specify the `TargetGroupARNs` property
|
1011
|
+
# instead.
|
976
1012
|
#
|
977
1013
|
# @option params [Array<String>] :target_group_arns
|
978
1014
|
# The Amazon Resource Names (ARN) of the Elastic Load Balancing target
|
@@ -988,14 +1024,14 @@ module Aws::AutoScaling
|
|
988
1024
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
989
1025
|
#
|
990
1026
|
# @option params [String] :health_check_type
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
1027
|
+
# A comma-separated value string of one or more health check types.
|
1028
|
+
#
|
1029
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1030
|
+
# default health check and cannot be disabled. For more information, see
|
1031
|
+
# [Health checks for Auto Scaling instances][1] in the *Amazon EC2 Auto
|
1032
|
+
# Scaling User Guide*.
|
995
1033
|
#
|
996
|
-
#
|
997
|
-
# `VPC_LATTICE` health check type is reserved for use with VPC Lattice,
|
998
|
-
# which is in preview release and is subject to change.
|
1034
|
+
# Only specify `EC2` if you must clear a value that was previously set.
|
999
1035
|
#
|
1000
1036
|
#
|
1001
1037
|
#
|
@@ -1166,17 +1202,10 @@ module Aws::AutoScaling
|
|
1166
1202
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
|
1167
1203
|
#
|
1168
1204
|
# @option params [Array<Types::TrafficSourceIdentifier>] :traffic_sources
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
# The unique identifiers of one or more traffic sources.
|
1174
|
-
#
|
1175
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
1176
|
-
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
1177
|
-
# the running instances with the attached target groups. The target
|
1178
|
-
# groups receive incoming traffic and route requests to one or more
|
1179
|
-
# registered targets.
|
1205
|
+
# The list of traffic sources to attach to this Auto Scaling group. You
|
1206
|
+
# can use any of the following as traffic sources for an Auto Scaling
|
1207
|
+
# group: Classic Load Balancer, Application Load Balancer, Gateway Load
|
1208
|
+
# Balancer, Network Load Balancer, and VPC Lattice.
|
1180
1209
|
#
|
1181
1210
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1182
1211
|
#
|
@@ -1390,7 +1419,8 @@ module Aws::AutoScaling
|
|
1390
1419
|
# default_instance_warmup: 1,
|
1391
1420
|
# traffic_sources: [
|
1392
1421
|
# {
|
1393
|
-
# identifier: "XmlStringMaxLen511",
|
1422
|
+
# identifier: "XmlStringMaxLen511", # required
|
1423
|
+
# type: "XmlStringMaxLen511",
|
1394
1424
|
# },
|
1395
1425
|
# ],
|
1396
1426
|
# })
|
@@ -2478,6 +2508,7 @@ module Aws::AutoScaling
|
|
2478
2508
|
# resp.auto_scaling_groups[0].default_instance_warmup #=> Integer
|
2479
2509
|
# resp.auto_scaling_groups[0].traffic_sources #=> Array
|
2480
2510
|
# resp.auto_scaling_groups[0].traffic_sources[0].identifier #=> String
|
2511
|
+
# resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
|
2481
2512
|
# resp.next_token #=> String
|
2482
2513
|
#
|
2483
2514
|
#
|
@@ -3026,6 +3057,15 @@ module Aws::AutoScaling
|
|
3026
3057
|
req.send_request(options)
|
3027
3058
|
end
|
3028
3059
|
|
3060
|
+
# <note markdown="1"> This API operation is superseded by DescribeTrafficSources, which can
|
3061
|
+
# describe multiple traffic sources types. We recommend using
|
3062
|
+
# `DetachTrafficSources` to simplify how you manage traffic sources.
|
3063
|
+
# However, we continue to support `DescribeLoadBalancerTargetGroups`.
|
3064
|
+
# You can use both the original `DescribeLoadBalancerTargetGroups` API
|
3065
|
+
# operation and `DescribeTrafficSources` on the same Auto Scaling group.
|
3066
|
+
#
|
3067
|
+
# </note>
|
3068
|
+
#
|
3029
3069
|
# Gets information about the Elastic Load Balancing target groups for
|
3030
3070
|
# the specified Auto Scaling group.
|
3031
3071
|
#
|
@@ -3123,12 +3163,21 @@ module Aws::AutoScaling
|
|
3123
3163
|
req.send_request(options)
|
3124
3164
|
end
|
3125
3165
|
|
3166
|
+
# <note markdown="1"> This API operation is superseded by DescribeTrafficSources, which can
|
3167
|
+
# describe multiple traffic sources types. We recommend using
|
3168
|
+
# `DescribeTrafficSources` to simplify how you manage traffic sources.
|
3169
|
+
# However, we continue to support `DescribeLoadBalancers`. You can use
|
3170
|
+
# both the original `DescribeLoadBalancers` API operation and
|
3171
|
+
# `DescribeTrafficSources` on the same Auto Scaling group.
|
3172
|
+
#
|
3173
|
+
# </note>
|
3174
|
+
#
|
3126
3175
|
# Gets information about the load balancers for the specified Auto
|
3127
3176
|
# Scaling group.
|
3128
3177
|
#
|
3129
3178
|
# This operation describes only Classic Load Balancers. If you have
|
3130
3179
|
# Application Load Balancers, Network Load Balancers, or Gateway Load
|
3131
|
-
#
|
3180
|
+
# Balancers, use the DescribeLoadBalancerTargetGroups API instead.
|
3132
3181
|
#
|
3133
3182
|
# To determine the attachment status of the load balancer, use the
|
3134
3183
|
# `State` element in the response. When you attach a load balancer to an
|
@@ -3636,7 +3685,7 @@ module Aws::AutoScaling
|
|
3636
3685
|
# resp.activities[0].cause #=> String
|
3637
3686
|
# resp.activities[0].start_time #=> Time
|
3638
3687
|
# resp.activities[0].end_time #=> Time
|
3639
|
-
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled"
|
3688
|
+
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining"
|
3640
3689
|
# resp.activities[0].status_message #=> String
|
3641
3690
|
# resp.activities[0].progress #=> Integer
|
3642
3691
|
# resp.activities[0].details #=> String
|
@@ -3965,19 +4014,30 @@ module Aws::AutoScaling
|
|
3965
4014
|
req.send_request(options)
|
3966
4015
|
end
|
3967
4016
|
|
3968
|
-
# **Reserved for use with Amazon VPC Lattice, which is in preview and
|
3969
|
-
# subject to change. Do not use this API for production workloads. This
|
3970
|
-
# API is also subject to change.**
|
3971
|
-
#
|
3972
4017
|
# Gets information about the traffic sources for the specified Auto
|
3973
4018
|
# Scaling group.
|
3974
4019
|
#
|
4020
|
+
# You can optionally provide a traffic source type. If you provide a
|
4021
|
+
# traffic source type, then the results only include that traffic source
|
4022
|
+
# type.
|
4023
|
+
#
|
4024
|
+
# If you do not provide a traffic source type, then the results include
|
4025
|
+
# all the traffic sources for the specified Auto Scaling group.
|
4026
|
+
#
|
3975
4027
|
# @option params [required, String] :auto_scaling_group_name
|
3976
4028
|
# The name of the Auto Scaling group.
|
3977
4029
|
#
|
3978
|
-
# @option params [
|
3979
|
-
# The
|
3980
|
-
#
|
4030
|
+
# @option params [String] :traffic_source_type
|
4031
|
+
# The traffic source type that you want to describe.
|
4032
|
+
#
|
4033
|
+
# The following lists the valid values:
|
4034
|
+
#
|
4035
|
+
# * `elb` if the traffic source is a Classic Load Balancer.
|
4036
|
+
#
|
4037
|
+
# * `elbv2` if the traffic source is a Application Load Balancer,
|
4038
|
+
# Gateway Load Balancer, or Network Load Balancer.
|
4039
|
+
#
|
4040
|
+
# * `vpc-lattice` if the traffic source is VPC Lattice.
|
3981
4041
|
#
|
3982
4042
|
# @option params [String] :next_token
|
3983
4043
|
# The token for the next set of items to return. (You received this
|
@@ -3992,11 +4052,34 @@ module Aws::AutoScaling
|
|
3992
4052
|
# * {Types::DescribeTrafficSourcesResponse#traffic_sources #traffic_sources} => Array<Types::TrafficSourceState>
|
3993
4053
|
# * {Types::DescribeTrafficSourcesResponse#next_token #next_token} => String
|
3994
4054
|
#
|
4055
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4056
|
+
#
|
4057
|
+
#
|
4058
|
+
# @example Example: To describe the target groups for an Auto Scaling group
|
4059
|
+
#
|
4060
|
+
# # This example describes the target groups attached to the specified Auto Scaling group.
|
4061
|
+
#
|
4062
|
+
# resp = client.describe_traffic_sources({
|
4063
|
+
# auto_scaling_group_name: "my-auto-scaling-group",
|
4064
|
+
# })
|
4065
|
+
#
|
4066
|
+
# resp.to_h outputs the following:
|
4067
|
+
# {
|
4068
|
+
# next_token: "",
|
4069
|
+
# traffic_sources: [
|
4070
|
+
# {
|
4071
|
+
# identifier: "arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-0e2f2665eEXAMPLE",
|
4072
|
+
# state: "InService",
|
4073
|
+
# type: "vpc-lattice",
|
4074
|
+
# },
|
4075
|
+
# ],
|
4076
|
+
# }
|
4077
|
+
#
|
3995
4078
|
# @example Request syntax with placeholder values
|
3996
4079
|
#
|
3997
4080
|
# resp = client.describe_traffic_sources({
|
3998
4081
|
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
3999
|
-
# traffic_source_type: "XmlStringMaxLen255",
|
4082
|
+
# traffic_source_type: "XmlStringMaxLen255",
|
4000
4083
|
# next_token: "XmlString",
|
4001
4084
|
# max_records: 1,
|
4002
4085
|
# })
|
@@ -4006,6 +4089,8 @@ module Aws::AutoScaling
|
|
4006
4089
|
# resp.traffic_sources #=> Array
|
4007
4090
|
# resp.traffic_sources[0].traffic_source #=> String
|
4008
4091
|
# resp.traffic_sources[0].state #=> String
|
4092
|
+
# resp.traffic_sources[0].identifier #=> String
|
4093
|
+
# resp.traffic_sources[0].type #=> String
|
4009
4094
|
# resp.next_token #=> String
|
4010
4095
|
#
|
4011
4096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTrafficSources AWS API Documentation
|
@@ -4162,7 +4247,7 @@ module Aws::AutoScaling
|
|
4162
4247
|
# resp.activities[0].cause #=> String
|
4163
4248
|
# resp.activities[0].start_time #=> Time
|
4164
4249
|
# resp.activities[0].end_time #=> Time
|
4165
|
-
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled"
|
4250
|
+
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining"
|
4166
4251
|
# resp.activities[0].status_message #=> String
|
4167
4252
|
# resp.activities[0].progress #=> Integer
|
4168
4253
|
# resp.activities[0].details #=> String
|
@@ -4178,6 +4263,15 @@ module Aws::AutoScaling
|
|
4178
4263
|
req.send_request(options)
|
4179
4264
|
end
|
4180
4265
|
|
4266
|
+
# <note markdown="1"> This API operation is superseded by DetachTrafficSources, which can
|
4267
|
+
# detach multiple traffic sources types. We recommend using
|
4268
|
+
# `DetachTrafficSources` to simplify how you manage traffic sources.
|
4269
|
+
# However, we continue to support `DetachLoadBalancerTargetGroups`. You
|
4270
|
+
# can use both the original `DetachLoadBalancerTargetGroups` API
|
4271
|
+
# operation and `DetachTrafficSources` on the same Auto Scaling group.
|
4272
|
+
#
|
4273
|
+
# </note>
|
4274
|
+
#
|
4181
4275
|
# Detaches one or more target groups from the specified Auto Scaling
|
4182
4276
|
# group.
|
4183
4277
|
#
|
@@ -4230,12 +4324,21 @@ module Aws::AutoScaling
|
|
4230
4324
|
req.send_request(options)
|
4231
4325
|
end
|
4232
4326
|
|
4327
|
+
# <note markdown="1"> This API operation is superseded by DetachTrafficSources, which can
|
4328
|
+
# detach multiple traffic sources types. We recommend using
|
4329
|
+
# `DetachTrafficSources` to simplify how you manage traffic sources.
|
4330
|
+
# However, we continue to support `DetachLoadBalancers`. You can use
|
4331
|
+
# both the original `DetachLoadBalancers` API operation and
|
4332
|
+
# `DetachTrafficSources` on the same Auto Scaling group.
|
4333
|
+
#
|
4334
|
+
# </note>
|
4335
|
+
#
|
4233
4336
|
# Detaches one or more Classic Load Balancers from the specified Auto
|
4234
4337
|
# Scaling group.
|
4235
4338
|
#
|
4236
4339
|
# This operation detaches only Classic Load Balancers. If you have
|
4237
4340
|
# Application Load Balancers, Network Load Balancers, or Gateway Load
|
4238
|
-
#
|
4341
|
+
# Balancers, use the DetachLoadBalancerTargetGroups API instead.
|
4239
4342
|
#
|
4240
4343
|
# When you detach a load balancer, it enters the `Removing` state while
|
4241
4344
|
# deregistering the instances in the group. When all instances are
|
@@ -4279,36 +4382,49 @@ module Aws::AutoScaling
|
|
4279
4382
|
req.send_request(options)
|
4280
4383
|
end
|
4281
4384
|
|
4282
|
-
# **Reserved for use with Amazon VPC Lattice, which is in preview and
|
4283
|
-
# subject to change. Do not use this API for production workloads. This
|
4284
|
-
# API is also subject to change.**
|
4285
|
-
#
|
4286
4385
|
# Detaches one or more traffic sources from the specified Auto Scaling
|
4287
4386
|
# group.
|
4288
4387
|
#
|
4388
|
+
# When you detach a taffic, it enters the `Removing` state while
|
4389
|
+
# deregistering the instances in the group. When all instances are
|
4390
|
+
# deregistered, then you can no longer describe the traffic source using
|
4391
|
+
# the DescribeTrafficSources API call. The instances continue to run.
|
4392
|
+
#
|
4289
4393
|
# @option params [required, String] :auto_scaling_group_name
|
4290
4394
|
# The name of the Auto Scaling group.
|
4291
4395
|
#
|
4292
4396
|
# @option params [required, Array<Types::TrafficSourceIdentifier>] :traffic_sources
|
4293
|
-
# The unique identifiers of one or more traffic sources
|
4294
|
-
#
|
4295
|
-
#
|
4296
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
4297
|
-
# existing VPC Lattice target group. When you detach a target group, it
|
4298
|
-
# enters the `Removing` state while deregistering the instances in the
|
4299
|
-
# group. When all instances are deregistered, then you can no longer
|
4300
|
-
# describe the target group using the DescribeTrafficSources API call.
|
4301
|
-
# The instances continue to run.
|
4397
|
+
# The unique identifiers of one or more traffic sources. You can specify
|
4398
|
+
# up to 10 traffic sources.
|
4302
4399
|
#
|
4303
4400
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4304
4401
|
#
|
4402
|
+
#
|
4403
|
+
# @example Example: To detach a target group from an Auto Scaling group
|
4404
|
+
#
|
4405
|
+
# # This example detaches the specified target group from the specified Auto Scaling group.
|
4406
|
+
#
|
4407
|
+
# resp = client.detach_traffic_sources({
|
4408
|
+
# auto_scaling_group_name: "my-auto-scaling-group",
|
4409
|
+
# traffic_sources: [
|
4410
|
+
# {
|
4411
|
+
# identifier: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
4412
|
+
# },
|
4413
|
+
# ],
|
4414
|
+
# })
|
4415
|
+
#
|
4416
|
+
# resp.to_h outputs the following:
|
4417
|
+
# {
|
4418
|
+
# }
|
4419
|
+
#
|
4305
4420
|
# @example Request syntax with placeholder values
|
4306
4421
|
#
|
4307
4422
|
# resp = client.detach_traffic_sources({
|
4308
4423
|
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
4309
4424
|
# traffic_sources: [ # required
|
4310
4425
|
# {
|
4311
|
-
# identifier: "XmlStringMaxLen511",
|
4426
|
+
# identifier: "XmlStringMaxLen511", # required
|
4427
|
+
# type: "XmlStringMaxLen511",
|
4312
4428
|
# },
|
4313
4429
|
# ],
|
4314
4430
|
# })
|
@@ -4594,7 +4710,7 @@ module Aws::AutoScaling
|
|
4594
4710
|
# resp.activities[0].cause #=> String
|
4595
4711
|
# resp.activities[0].start_time #=> Time
|
4596
4712
|
# resp.activities[0].end_time #=> Time
|
4597
|
-
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled"
|
4713
|
+
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining"
|
4598
4714
|
# resp.activities[0].status_message #=> String
|
4599
4715
|
# resp.activities[0].progress #=> Integer
|
4600
4716
|
# resp.activities[0].details #=> String
|
@@ -4749,7 +4865,7 @@ module Aws::AutoScaling
|
|
4749
4865
|
# resp.activities[0].cause #=> String
|
4750
4866
|
# resp.activities[0].start_time #=> Time
|
4751
4867
|
# resp.activities[0].end_time #=> Time
|
4752
|
-
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled"
|
4868
|
+
# resp.activities[0].status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining"
|
4753
4869
|
# resp.activities[0].status_message #=> String
|
4754
4870
|
# resp.activities[0].progress #=> Integer
|
4755
4871
|
# resp.activities[0].details #=> String
|
@@ -6468,7 +6584,7 @@ module Aws::AutoScaling
|
|
6468
6584
|
# resp.activity.cause #=> String
|
6469
6585
|
# resp.activity.start_time #=> Time
|
6470
6586
|
# resp.activity.end_time #=> Time
|
6471
|
-
# resp.activity.status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled"
|
6587
|
+
# resp.activity.status_code #=> String, one of "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining"
|
6472
6588
|
# resp.activity.status_message #=> String
|
6473
6589
|
# resp.activity.progress #=> Integer
|
6474
6590
|
# resp.activity.details #=> String
|
@@ -6510,7 +6626,7 @@ module Aws::AutoScaling
|
|
6510
6626
|
# performance or availability of your application.
|
6511
6627
|
#
|
6512
6628
|
# Note the following about changing `DesiredCapacity`, `MaxSize`, or
|
6513
|
-
# `MinSize
|
6629
|
+
# `MinSize`:
|
6514
6630
|
#
|
6515
6631
|
# * If a scale-in activity occurs as a result of a new `DesiredCapacity`
|
6516
6632
|
# value that is lower than the current size of the group, the Auto
|
@@ -6593,12 +6709,18 @@ module Aws::AutoScaling
|
|
6593
6709
|
# One or more Availability Zones for the group.
|
6594
6710
|
#
|
6595
6711
|
# @option params [String] :health_check_type
|
6596
|
-
#
|
6597
|
-
# instances in this group. Amazon EC2 health checks are always on.
|
6712
|
+
# A comma-separated value string of one or more health check types.
|
6598
6713
|
#
|
6599
|
-
# The valid values are `EC2
|
6600
|
-
#
|
6601
|
-
#
|
6714
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
6715
|
+
# default health check and cannot be disabled. For more information, see
|
6716
|
+
# [Health checks for Auto Scaling instances][1] in the *Amazon EC2 Auto
|
6717
|
+
# Scaling User Guide*.
|
6718
|
+
#
|
6719
|
+
# Only specify `EC2` if you must clear a value that was previously set.
|
6720
|
+
#
|
6721
|
+
#
|
6722
|
+
#
|
6723
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
6602
6724
|
#
|
6603
6725
|
# @option params [Integer] :health_check_grace_period
|
6604
6726
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
@@ -6883,7 +7005,7 @@ module Aws::AutoScaling
|
|
6883
7005
|
params: params,
|
6884
7006
|
config: config)
|
6885
7007
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
6886
|
-
context[:gem_version] = '1.
|
7008
|
+
context[:gem_version] = '1.89.0'
|
6887
7009
|
Seahorse::Client::Request.new(handlers, context)
|
6888
7010
|
end
|
6889
7011
|
|
@@ -781,7 +781,7 @@ module Aws::AutoScaling
|
|
781
781
|
DescribeTerminationPolicyTypesAnswer.struct_class = Types::DescribeTerminationPolicyTypesAnswer
|
782
782
|
|
783
783
|
DescribeTrafficSourcesRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
784
|
-
DescribeTrafficSourcesRequest.add_member(:traffic_source_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255,
|
784
|
+
DescribeTrafficSourcesRequest.add_member(:traffic_source_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TrafficSourceType"))
|
785
785
|
DescribeTrafficSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
786
786
|
DescribeTrafficSourcesRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
787
787
|
DescribeTrafficSourcesRequest.struct_class = Types::DescribeTrafficSourcesRequest
|
@@ -1491,11 +1491,14 @@ module Aws::AutoScaling
|
|
1491
1491
|
TotalLocalStorageGBRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Max"))
|
1492
1492
|
TotalLocalStorageGBRequest.struct_class = Types::TotalLocalStorageGBRequest
|
1493
1493
|
|
1494
|
-
TrafficSourceIdentifier.add_member(:identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "Identifier"))
|
1494
|
+
TrafficSourceIdentifier.add_member(:identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, required: true, location_name: "Identifier"))
|
1495
|
+
TrafficSourceIdentifier.add_member(:type, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "Type"))
|
1495
1496
|
TrafficSourceIdentifier.struct_class = Types::TrafficSourceIdentifier
|
1496
1497
|
|
1497
|
-
TrafficSourceState.add_member(:traffic_source, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "TrafficSource"))
|
1498
|
+
TrafficSourceState.add_member(:traffic_source, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, deprecated: true, location_name: "TrafficSource", metadata: {"deprecatedMessage"=>"TrafficSource has been replaced by Identifier"}))
|
1498
1499
|
TrafficSourceState.add_member(:state, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "State"))
|
1500
|
+
TrafficSourceState.add_member(:identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "Identifier"))
|
1501
|
+
TrafficSourceState.add_member(:type, Shapes::ShapeRef.new(shape: XmlStringMaxLen511, location_name: "Type"))
|
1499
1502
|
TrafficSourceState.struct_class = Types::TrafficSourceState
|
1500
1503
|
|
1501
1504
|
TrafficSourceStates.member = Shapes::ShapeRef.new(shape: TrafficSourceState)
|
@@ -1989,6 +1992,12 @@ module Aws::AutoScaling
|
|
1989
1992
|
o.output = Shapes::ShapeRef.new(shape: DescribeTrafficSourcesResponse)
|
1990
1993
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
1991
1994
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
1995
|
+
o[:pager] = Aws::Pager.new(
|
1996
|
+
limit_key: "max_records",
|
1997
|
+
tokens: {
|
1998
|
+
"next_token" => "next_token"
|
1999
|
+
}
|
2000
|
+
)
|
1992
2001
|
end)
|
1993
2002
|
|
1994
2003
|
api.add_operation(:describe_warm_pool, Seahorse::Model::Operation.new.tap do |o|
|
@@ -77,10 +77,10 @@ module Aws::AutoScaling
|
|
77
77
|
data[:lifecycle_state]
|
78
78
|
end
|
79
79
|
|
80
|
-
# The last reported health status of this instance.
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
80
|
+
# The last reported health status of this instance. `Healthy` means that
|
81
|
+
# the instance is healthy and should remain in service. `Unhealthy`
|
82
|
+
# means that the instance is unhealthy and Amazon EC2 Auto Scaling
|
83
|
+
# should terminate and replace it.
|
84
84
|
# @return [String]
|
85
85
|
def health_status
|
86
86
|
data[:health_status]
|
@@ -167,7 +167,8 @@ module Aws::AutoScaling
|
|
167
167
|
# default_instance_warmup: 1,
|
168
168
|
# traffic_sources: [
|
169
169
|
# {
|
170
|
-
# identifier: "XmlStringMaxLen511",
|
170
|
+
# identifier: "XmlStringMaxLen511", # required
|
171
|
+
# type: "XmlStringMaxLen511",
|
171
172
|
# },
|
172
173
|
# ],
|
173
174
|
# })
|
@@ -269,7 +270,8 @@ module Aws::AutoScaling
|
|
269
270
|
# @option options [Array<String>] :load_balancer_names
|
270
271
|
# A list of Classic Load Balancers associated with this Auto Scaling
|
271
272
|
# group. For Application Load Balancers, Network Load Balancers, and
|
272
|
-
# Gateway Load
|
273
|
+
# Gateway Load Balancers, specify the `TargetGroupARNs` property
|
274
|
+
# instead.
|
273
275
|
# @option options [Array<String>] :target_group_arns
|
274
276
|
# The Amazon Resource Names (ARN) of the Elastic Load Balancing target
|
275
277
|
# groups to associate with the Auto Scaling group. Instances are
|
@@ -283,14 +285,14 @@ module Aws::AutoScaling
|
|
283
285
|
#
|
284
286
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
285
287
|
# @option options [String] :health_check_type
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
288
|
+
# A comma-separated value string of one or more health check types.
|
289
|
+
#
|
290
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
291
|
+
# default health check and cannot be disabled. For more information, see
|
292
|
+
# [Health checks for Auto Scaling instances][1] in the *Amazon EC2 Auto
|
293
|
+
# Scaling User Guide*.
|
290
294
|
#
|
291
|
-
#
|
292
|
-
# `VPC_LATTICE` health check type is reserved for use with VPC Lattice,
|
293
|
-
# which is in preview release and is subject to change.
|
295
|
+
# Only specify `EC2` if you must clear a value that was previously set.
|
294
296
|
#
|
295
297
|
#
|
296
298
|
#
|
@@ -447,17 +449,10 @@ module Aws::AutoScaling
|
|
447
449
|
#
|
448
450
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
|
449
451
|
# @option options [Array<Types::TrafficSourceIdentifier>] :traffic_sources
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
# The unique identifiers of one or more traffic sources.
|
455
|
-
#
|
456
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
457
|
-
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
458
|
-
# the running instances with the attached target groups. The target
|
459
|
-
# groups receive incoming traffic and route requests to one or more
|
460
|
-
# registered targets.
|
452
|
+
# The list of traffic sources to attach to this Auto Scaling group. You
|
453
|
+
# can use any of the following as traffic sources for an Auto Scaling
|
454
|
+
# group: Classic Load Balancer, Application Load Balancer, Gateway Load
|
455
|
+
# Balancer, Network Load Balancer, and VPC Lattice.
|
461
456
|
# @return [AutoScalingGroup]
|
462
457
|
def create_group(options = {})
|
463
458
|
@client.create_auto_scaling_group(options)
|
@@ -298,12 +298,6 @@ module Aws::AutoScaling
|
|
298
298
|
# @!attribute [rw] traffic_sources
|
299
299
|
# The unique identifiers of one or more traffic sources. You can
|
300
300
|
# specify up to 10 traffic sources.
|
301
|
-
#
|
302
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
303
|
-
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
304
|
-
# the running instances with the attached target groups. The target
|
305
|
-
# groups receive incoming traffic and route requests to one or more
|
306
|
-
# registered targets.
|
307
301
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
308
302
|
#
|
309
303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachTrafficSourcesType AWS API Documentation
|
@@ -372,12 +366,7 @@ module Aws::AutoScaling
|
|
372
366
|
# @return [Array<String>]
|
373
367
|
#
|
374
368
|
# @!attribute [rw] health_check_type
|
375
|
-
#
|
376
|
-
# instances in this group. Amazon EC2 health checks are always on.
|
377
|
-
#
|
378
|
-
# The valid values are `EC2` (default), `ELB`, and `VPC_LATTICE`. The
|
379
|
-
# `VPC_LATTICE` health check type is reserved for use with VPC
|
380
|
-
# Lattice, which is in preview release and is subject to change.
|
369
|
+
# A comma-separated value string of one or more health check types.
|
381
370
|
# @return [String]
|
382
371
|
#
|
383
372
|
# @!attribute [rw] health_check_grace_period
|
@@ -467,11 +456,7 @@ module Aws::AutoScaling
|
|
467
456
|
# @return [Integer]
|
468
457
|
#
|
469
458
|
# @!attribute [rw] traffic_sources
|
470
|
-
#
|
471
|
-
# release and is subject to change. Do not use this parameter for
|
472
|
-
# production workloads. It is also subject to change.**
|
473
|
-
#
|
474
|
-
# The unique identifiers of the traffic sources.
|
459
|
+
# The traffic sources associated with this Auto Scaling group.
|
475
460
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
476
461
|
#
|
477
462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
@@ -607,10 +592,10 @@ module Aws::AutoScaling
|
|
607
592
|
# @return [String]
|
608
593
|
#
|
609
594
|
# @!attribute [rw] health_status
|
610
|
-
# The last reported health status of this instance.
|
595
|
+
# The last reported health status of this instance. `Healthy` means
|
611
596
|
# that the instance is healthy and should remain in service.
|
612
|
-
#
|
613
|
-
#
|
597
|
+
# `Unhealthy` means that the instance is unhealthy and Amazon EC2 Auto
|
598
|
+
# Scaling should terminate and replace it.
|
614
599
|
# @return [String]
|
615
600
|
#
|
616
601
|
# @!attribute [rw] launch_configuration_name
|
@@ -1010,7 +995,7 @@ module Aws::AutoScaling
|
|
1010
995
|
# @!attribute [rw] load_balancer_names
|
1011
996
|
# A list of Classic Load Balancers associated with this Auto Scaling
|
1012
997
|
# group. For Application Load Balancers, Network Load Balancers, and
|
1013
|
-
# Gateway Load
|
998
|
+
# Gateway Load Balancers, specify the `TargetGroupARNs` property
|
1014
999
|
# instead.
|
1015
1000
|
# @return [Array<String>]
|
1016
1001
|
#
|
@@ -1029,14 +1014,15 @@ module Aws::AutoScaling
|
|
1029
1014
|
# @return [Array<String>]
|
1030
1015
|
#
|
1031
1016
|
# @!attribute [rw] health_check_type
|
1032
|
-
#
|
1033
|
-
#
|
1034
|
-
#
|
1035
|
-
#
|
1017
|
+
# A comma-separated value string of one or more health check types.
|
1018
|
+
#
|
1019
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1020
|
+
# default health check and cannot be disabled. For more information,
|
1021
|
+
# see [Health checks for Auto Scaling instances][1] in the *Amazon EC2
|
1022
|
+
# Auto Scaling User Guide*.
|
1036
1023
|
#
|
1037
|
-
#
|
1038
|
-
#
|
1039
|
-
# Lattice, which is in preview release and is subject to change.
|
1024
|
+
# Only specify `EC2` if you must clear a value that was previously
|
1025
|
+
# set.
|
1040
1026
|
#
|
1041
1027
|
#
|
1042
1028
|
#
|
@@ -1224,17 +1210,10 @@ module Aws::AutoScaling
|
|
1224
1210
|
# @return [Integer]
|
1225
1211
|
#
|
1226
1212
|
# @!attribute [rw] traffic_sources
|
1227
|
-
#
|
1228
|
-
#
|
1229
|
-
#
|
1230
|
-
#
|
1231
|
-
# The unique identifiers of one or more traffic sources.
|
1232
|
-
#
|
1233
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
1234
|
-
# existing VPC Lattice target group. Amazon EC2 Auto Scaling registers
|
1235
|
-
# the running instances with the attached target groups. The target
|
1236
|
-
# groups receive incoming traffic and route requests to one or more
|
1237
|
-
# registered targets.
|
1213
|
+
# The list of traffic sources to attach to this Auto Scaling group.
|
1214
|
+
# You can use any of the following as traffic sources for an Auto
|
1215
|
+
# Scaling group: Classic Load Balancer, Application Load Balancer,
|
1216
|
+
# Gateway Load Balancer, Network Load Balancer, and VPC Lattice.
|
1238
1217
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
1239
1218
|
#
|
1240
1219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
|
@@ -2271,8 +2250,16 @@ module Aws::AutoScaling
|
|
2271
2250
|
# @return [String]
|
2272
2251
|
#
|
2273
2252
|
# @!attribute [rw] traffic_source_type
|
2274
|
-
# The
|
2275
|
-
#
|
2253
|
+
# The traffic source type that you want to describe.
|
2254
|
+
#
|
2255
|
+
# The following lists the valid values:
|
2256
|
+
#
|
2257
|
+
# * `elb` if the traffic source is a Classic Load Balancer.
|
2258
|
+
#
|
2259
|
+
# * `elbv2` if the traffic source is a Application Load Balancer,
|
2260
|
+
# Gateway Load Balancer, or Network Load Balancer.
|
2261
|
+
#
|
2262
|
+
# * `vpc-lattice` if the traffic source is VPC Lattice.
|
2276
2263
|
# @return [String]
|
2277
2264
|
#
|
2278
2265
|
# @!attribute [rw] next_token
|
@@ -2496,15 +2483,8 @@ module Aws::AutoScaling
|
|
2496
2483
|
# @return [String]
|
2497
2484
|
#
|
2498
2485
|
# @!attribute [rw] traffic_sources
|
2499
|
-
# The unique identifiers of one or more traffic sources
|
2500
|
-
#
|
2501
|
-
#
|
2502
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
2503
|
-
# existing VPC Lattice target group. When you detach a target group,
|
2504
|
-
# it enters the `Removing` state while deregistering the instances in
|
2505
|
-
# the group. When all instances are deregistered, then you can no
|
2506
|
-
# longer describe the target group using the DescribeTrafficSources
|
2507
|
-
# API call. The instances continue to run.
|
2486
|
+
# The unique identifiers of one or more traffic sources. You can
|
2487
|
+
# specify up to 10 traffic sources.
|
2508
2488
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
2509
2489
|
#
|
2510
2490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachTrafficSourcesType AWS API Documentation
|
@@ -2597,13 +2577,13 @@ module Aws::AutoScaling
|
|
2597
2577
|
# The volume size, in GiBs. The following are the supported volumes
|
2598
2578
|
# sizes for each volume type:
|
2599
2579
|
#
|
2600
|
-
# * `gp2` and `gp3
|
2580
|
+
# * `gp2` and `gp3`: 1-16,384
|
2601
2581
|
#
|
2602
|
-
# * `io1
|
2582
|
+
# * `io1`: 4-16,384
|
2603
2583
|
#
|
2604
|
-
# * `st1` and `sc1
|
2584
|
+
# * `st1` and `sc1`: 125-16,384
|
2605
2585
|
#
|
2606
|
-
# * `standard
|
2586
|
+
# * `standard`: 1-1,024
|
2607
2587
|
#
|
2608
2588
|
# You must specify either a `SnapshotId` or a `VolumeSize`. If you
|
2609
2589
|
# specify both `SnapshotId` and `VolumeSize`, the volume size must be
|
@@ -2637,9 +2617,9 @@ module Aws::AutoScaling
|
|
2637
2617
|
#
|
2638
2618
|
# The following are the supported values for each volume type:
|
2639
2619
|
#
|
2640
|
-
# * `gp3
|
2620
|
+
# * `gp3`: 3,000-16,000 IOPS
|
2641
2621
|
#
|
2642
|
-
# * `io1
|
2622
|
+
# * `io1`: 100-64,000 IOPS
|
2643
2623
|
#
|
2644
2624
|
# For `io1` volumes, we guarantee 64,000 IOPS only for [Instances
|
2645
2625
|
# built on the Nitro System][1]. Other instance families guarantee
|
@@ -3144,10 +3124,10 @@ module Aws::AutoScaling
|
|
3144
3124
|
# @return [String]
|
3145
3125
|
#
|
3146
3126
|
# @!attribute [rw] health_status
|
3147
|
-
# The last reported health status of the instance.
|
3127
|
+
# The last reported health status of the instance. `Healthy` means
|
3148
3128
|
# that the instance is healthy and should remain in service.
|
3149
|
-
#
|
3150
|
-
#
|
3129
|
+
# `Unhealthy` means that the instance is unhealthy and that Amazon EC2
|
3130
|
+
# Auto Scaling should terminate and replace it.
|
3151
3131
|
# @return [String]
|
3152
3132
|
#
|
3153
3133
|
# @!attribute [rw] launch_configuration_name
|
@@ -3337,7 +3317,7 @@ module Aws::AutoScaling
|
|
3337
3317
|
# @return [Types::InstanceRefreshProgressDetails]
|
3338
3318
|
#
|
3339
3319
|
# @!attribute [rw] preferences
|
3340
|
-
#
|
3320
|
+
# The preferences for an instance refresh.
|
3341
3321
|
# @return [Types::RefreshPreferences]
|
3342
3322
|
#
|
3343
3323
|
# @!attribute [rw] desired_configuration
|
@@ -7255,7 +7235,7 @@ module Aws::AutoScaling
|
|
7255
7235
|
end
|
7256
7236
|
|
7257
7237
|
# This structure defines the CloudWatch metric to return, along with the
|
7258
|
-
# statistic
|
7238
|
+
# statistic and unit.
|
7259
7239
|
#
|
7260
7240
|
# For more information about the CloudWatch terminology below, see
|
7261
7241
|
# [Amazon CloudWatch concepts][1] in the *Amazon CloudWatch User Guide*.
|
@@ -7265,7 +7245,7 @@ module Aws::AutoScaling
|
|
7265
7245
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
7266
7246
|
#
|
7267
7247
|
# @!attribute [rw] metric
|
7268
|
-
#
|
7248
|
+
# The metric to use.
|
7269
7249
|
# @return [Types::Metric]
|
7270
7250
|
#
|
7271
7251
|
# @!attribute [rw] stat
|
@@ -7273,7 +7253,7 @@ module Aws::AutoScaling
|
|
7273
7253
|
# extended statistic. For a list of valid values, see the table in
|
7274
7254
|
# [Statistics][1] in the *Amazon CloudWatch User Guide*.
|
7275
7255
|
#
|
7276
|
-
# The most commonly used
|
7256
|
+
# The most commonly used metric for scaling is `Average`.
|
7277
7257
|
#
|
7278
7258
|
#
|
7279
7259
|
#
|
@@ -7338,19 +7318,65 @@ module Aws::AutoScaling
|
|
7338
7318
|
include Aws::Structure
|
7339
7319
|
end
|
7340
7320
|
|
7341
|
-
#
|
7342
|
-
#
|
7343
|
-
# Currently, you must specify an Amazon Resource Name (ARN) for an
|
7344
|
-
# existing VPC Lattice target group.
|
7321
|
+
# Identifying information for a traffic source.
|
7345
7322
|
#
|
7346
7323
|
# @!attribute [rw] identifier
|
7347
|
-
#
|
7324
|
+
# Identifies the traffic source.
|
7325
|
+
#
|
7326
|
+
# For Application Load Balancers, Gateway Load Balancers, Network Load
|
7327
|
+
# Balancers, and VPC Lattice, this will be the Amazon Resource Name
|
7328
|
+
# (ARN) for a target group in this account and Region. For Classic
|
7329
|
+
# Load Balancers, this will be the name of the Classic Load Balancer
|
7330
|
+
# in this account and Region.
|
7331
|
+
#
|
7332
|
+
# For example:
|
7333
|
+
#
|
7334
|
+
# * Application Load Balancer ARN:
|
7335
|
+
# `arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456`
|
7336
|
+
#
|
7337
|
+
# * Classic Load Balancer name: `my-classic-load-balancer`
|
7338
|
+
#
|
7339
|
+
# * VPC Lattice ARN:
|
7340
|
+
# `arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456`
|
7341
|
+
#
|
7342
|
+
# To get the ARN of a target group for a Application Load Balancer,
|
7343
|
+
# Gateway Load Balancer, or Network Load Balancer, or the name of a
|
7344
|
+
# Classic Load Balancer, use the Elastic Load Balancing
|
7345
|
+
# [DescribeTargetGroups][1] and [DescribeLoadBalancers][2] API
|
7346
|
+
# operations.
|
7347
|
+
#
|
7348
|
+
# To get the ARN of a target group for VPC Lattice, use the VPC
|
7349
|
+
# Lattice [GetTargetGroup][3] API operation.
|
7350
|
+
#
|
7351
|
+
#
|
7352
|
+
#
|
7353
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
|
7354
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
|
7355
|
+
# [3]: https://docs.aws.amazon.com/vpc-lattice/latest/APIReference/API_GetTargetGroup.html
|
7356
|
+
# @return [String]
|
7357
|
+
#
|
7358
|
+
# @!attribute [rw] type
|
7359
|
+
# Provides additional context for the value of `Identifier`.
|
7360
|
+
#
|
7361
|
+
# The following lists the valid values:
|
7362
|
+
#
|
7363
|
+
# * `elb` if `Identifier` is the name of a Classic Load Balancer.
|
7364
|
+
#
|
7365
|
+
# * `elbv2` if `Identifier` is the ARN of an Application Load
|
7366
|
+
# Balancer, Gateway Load Balancer, or Network Load Balancer target
|
7367
|
+
# group.
|
7368
|
+
#
|
7369
|
+
# * `vpc-lattice` if `Identifier` is the ARN of a VPC Lattice target
|
7370
|
+
# group.
|
7371
|
+
#
|
7372
|
+
# Required if the identifier is the name of a Classic Load Balancer.
|
7348
7373
|
# @return [String]
|
7349
7374
|
#
|
7350
7375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TrafficSourceIdentifier AWS API Documentation
|
7351
7376
|
#
|
7352
7377
|
class TrafficSourceIdentifier < Struct.new(
|
7353
|
-
:identifier
|
7378
|
+
:identifier,
|
7379
|
+
:type)
|
7354
7380
|
SENSITIVE = []
|
7355
7381
|
include Aws::Structure
|
7356
7382
|
end
|
@@ -7358,37 +7384,63 @@ module Aws::AutoScaling
|
|
7358
7384
|
# Describes the state of a traffic source.
|
7359
7385
|
#
|
7360
7386
|
# @!attribute [rw] traffic_source
|
7361
|
-
#
|
7362
|
-
# Amazon Resource Name (ARN) for a VPC Lattice target group.
|
7387
|
+
# This is replaced by `Identifier`.
|
7363
7388
|
# @return [String]
|
7364
7389
|
#
|
7365
7390
|
# @!attribute [rw] state
|
7366
|
-
#
|
7367
|
-
#
|
7391
|
+
# Describes the current state of a traffic source.
|
7392
|
+
#
|
7393
|
+
# The state values are as follows:
|
7368
7394
|
#
|
7369
7395
|
# * `Adding` - The Auto Scaling instances are being registered with
|
7370
|
-
# the target group.
|
7396
|
+
# the load balancer or target group.
|
7371
7397
|
#
|
7372
|
-
# * `Added` - All Auto Scaling instances are registered with the
|
7373
|
-
# target group.
|
7398
|
+
# * `Added` - All Auto Scaling instances are registered with the load
|
7399
|
+
# balancer or target group.
|
7374
7400
|
#
|
7375
|
-
# * `InService` -
|
7376
|
-
# `
|
7401
|
+
# * `InService` - For an Elastic Load Balancing load balancer or
|
7402
|
+
# target group, at least one Auto Scaling instance passed an `ELB`
|
7403
|
+
# health check. For VPC Lattice, at least one Auto Scaling instance
|
7404
|
+
# passed an `VPC_LATTICE` health check.
|
7377
7405
|
#
|
7378
7406
|
# * `Removing` - The Auto Scaling instances are being deregistered
|
7379
|
-
# from the target group. If connection draining
|
7407
|
+
# from the load balancer or target group. If connection draining
|
7408
|
+
# (deregistration delay) is enabled, Elastic Load Balancing or VPC
|
7380
7409
|
# Lattice waits for in-flight requests to complete before
|
7381
7410
|
# deregistering the instances.
|
7382
7411
|
#
|
7383
7412
|
# * `Removed` - All Auto Scaling instances are deregistered from the
|
7384
|
-
# target group.
|
7413
|
+
# load balancer or target group.
|
7414
|
+
# @return [String]
|
7415
|
+
#
|
7416
|
+
# @!attribute [rw] identifier
|
7417
|
+
# The unique identifier of the traffic source.
|
7418
|
+
# @return [String]
|
7419
|
+
#
|
7420
|
+
# @!attribute [rw] type
|
7421
|
+
# Provides additional context for the value of `Identifier`.
|
7422
|
+
#
|
7423
|
+
# The following lists the valid values:
|
7424
|
+
#
|
7425
|
+
# * `elb` if `Identifier` is the name of a Classic Load Balancer.
|
7426
|
+
#
|
7427
|
+
# * `elbv2` if `Identifier` is the ARN of an Application Load
|
7428
|
+
# Balancer, Gateway Load Balancer, or Network Load Balancer target
|
7429
|
+
# group.
|
7430
|
+
#
|
7431
|
+
# * `vpc-lattice` if `Identifier` is the ARN of a VPC Lattice target
|
7432
|
+
# group.
|
7433
|
+
#
|
7434
|
+
# Required if the identifier is the name of a Classic Load Balancer.
|
7385
7435
|
# @return [String]
|
7386
7436
|
#
|
7387
7437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TrafficSourceState AWS API Documentation
|
7388
7438
|
#
|
7389
7439
|
class TrafficSourceState < Struct.new(
|
7390
7440
|
:traffic_source,
|
7391
|
-
:state
|
7441
|
+
:state,
|
7442
|
+
:identifier,
|
7443
|
+
:type)
|
7392
7444
|
SENSITIVE = []
|
7393
7445
|
include Aws::Structure
|
7394
7446
|
end
|
@@ -7462,12 +7514,19 @@ module Aws::AutoScaling
|
|
7462
7514
|
# @return [Array<String>]
|
7463
7515
|
#
|
7464
7516
|
# @!attribute [rw] health_check_type
|
7465
|
-
#
|
7466
|
-
#
|
7517
|
+
# A comma-separated value string of one or more health check types.
|
7518
|
+
#
|
7519
|
+
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
7520
|
+
# default health check and cannot be disabled. For more information,
|
7521
|
+
# see [Health checks for Auto Scaling instances][1] in the *Amazon EC2
|
7522
|
+
# Auto Scaling User Guide*.
|
7467
7523
|
#
|
7468
|
-
#
|
7469
|
-
#
|
7470
|
-
#
|
7524
|
+
# Only specify `EC2` if you must clear a value that was previously
|
7525
|
+
# set.
|
7526
|
+
#
|
7527
|
+
#
|
7528
|
+
#
|
7529
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
7471
7530
|
# @return [String]
|
7472
7531
|
#
|
7473
7532
|
# @!attribute [rw] health_check_grace_period
|
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.89.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: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|