aws-sdk-autoscaling 1.77.0 → 1.80.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 +124 -74
- data/lib/aws-sdk-autoscaling/client.rb +446 -319
- data/lib/aws-sdk-autoscaling/client_api.rb +11 -0
- data/lib/aws-sdk-autoscaling/instance.rb +1 -1
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +25 -29
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +35 -39
- data/lib/aws-sdk-autoscaling/resource.rb +168 -134
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +558 -370
- data/lib/aws-sdk-autoscaling.rb +1 -1
- 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: 1a90f86e7d7ff96c43ec9a64b9b24ade4ce7f9e84ae23970dd93d10b7c05b36a
|
4
|
+
data.tar.gz: 7f7df9f6d208489a16eede23641360d7cf15e391f2168e009dfd07fe43818a51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2789123a1df9e9a5c33e43f1ba8c3f25529665b05ab0f8391dd05cac314a13aefaac825eb65b57166c37c4ce9a993d3e5b99b5c1cd7864f92a7217f55d07939a
|
7
|
+
data.tar.gz: c8da8ad0f8f0ef50c4bc95827e4efbb1aed22ecea802fa5dadc78211fba004c375c9c05b73e83ea18b27c1bf30555ac2ac95ffc7a7ad5601fc5f0bced19c462a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2022-07-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation update for Amazon EC2 Auto Scaling.
|
8
|
+
|
9
|
+
1.79.0 (2022-04-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - EC2 Auto Scaling now adds default instance warm-up times for all scaling activities, health check replacements, and other replacement events in the Auto Scaling instance lifecycle.
|
13
|
+
|
14
|
+
1.78.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - You can now hibernate instances in a warm pool to stop instances without deleting their RAM contents. You can now also return instances to the warm pool on scale in, instead of always terminating capacity that you will need later.
|
18
|
+
|
4
19
|
1.77.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -118,9 +118,7 @@ module Aws::AutoScaling
|
|
118
118
|
data[:health_check_type]
|
119
119
|
end
|
120
120
|
|
121
|
-
# The
|
122
|
-
# before checking the health status of an EC2 instance that has come
|
123
|
-
# into service and marking it unhealthy due to a failed health check.
|
121
|
+
# The duration of the health check grace period, in seconds.
|
124
122
|
# @return [Integer]
|
125
123
|
def health_check_grace_period
|
126
124
|
data[:health_check_grace_period]
|
@@ -220,23 +218,18 @@ module Aws::AutoScaling
|
|
220
218
|
|
221
219
|
# The unit of measurement for the value specified for desired capacity.
|
222
220
|
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
223
|
-
# attribute-based instance type selection only.
|
224
|
-
# see [Creating an Auto Scaling group using attribute-based instance
|
225
|
-
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
226
|
-
#
|
227
|
-
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
228
|
-
# translates into number of instances.
|
229
|
-
#
|
230
|
-
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
221
|
+
# attribute-based instance type selection only.
|
235
222
|
# @return [String]
|
236
223
|
def desired_capacity_type
|
237
224
|
data[:desired_capacity_type]
|
238
225
|
end
|
239
226
|
|
227
|
+
# The duration of the default instance warmup, in seconds.
|
228
|
+
# @return [Integer]
|
229
|
+
def default_instance_warmup
|
230
|
+
data[:default_instance_warmup]
|
231
|
+
end
|
232
|
+
|
240
233
|
# @!endgroup
|
241
234
|
|
242
235
|
# @return [Client]
|
@@ -460,8 +453,8 @@ module Aws::AutoScaling
|
|
460
453
|
# @option options [Boolean] :force_delete
|
461
454
|
# Specifies that the group is to be deleted along with all instances
|
462
455
|
# associated with the group, without waiting for all instances to be
|
463
|
-
# terminated. This
|
464
|
-
#
|
456
|
+
# terminated. This action also deletes any outstanding lifecycle actions
|
457
|
+
# associated with the group.
|
465
458
|
# @return [EmptyStructure]
|
466
459
|
def delete(options = {})
|
467
460
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -503,7 +496,9 @@ module Aws::AutoScaling
|
|
503
496
|
# })
|
504
497
|
# @param [Hash] options ({})
|
505
498
|
# @option options [Array<String>] :metrics
|
506
|
-
#
|
499
|
+
# Identifies the metrics to disable.
|
500
|
+
#
|
501
|
+
# You can specify one or more of the following metrics:
|
507
502
|
#
|
508
503
|
# * `GroupMinSize`
|
509
504
|
#
|
@@ -545,7 +540,14 @@ module Aws::AutoScaling
|
|
545
540
|
#
|
546
541
|
# * `GroupAndWarmPoolTotalCapacity`
|
547
542
|
#
|
548
|
-
# If you omit this
|
543
|
+
# If you omit this property, all metrics are disabled.
|
544
|
+
#
|
545
|
+
# For more information, see [Auto Scaling group metrics][1] in the
|
546
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
547
|
+
#
|
548
|
+
#
|
549
|
+
#
|
550
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics
|
549
551
|
# @return [EmptyStructure]
|
550
552
|
def disable_metrics_collection(options = {})
|
551
553
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -561,8 +563,9 @@ module Aws::AutoScaling
|
|
561
563
|
# })
|
562
564
|
# @param [Hash] options ({})
|
563
565
|
# @option options [Array<String>] :metrics
|
564
|
-
#
|
565
|
-
#
|
566
|
+
# Identifies the metrics to enable.
|
567
|
+
#
|
568
|
+
# You can specify one or more of the following metrics:
|
566
569
|
#
|
567
570
|
# * `GroupMinSize`
|
568
571
|
#
|
@@ -580,9 +583,6 @@ module Aws::AutoScaling
|
|
580
583
|
#
|
581
584
|
# * `GroupTotalInstances`
|
582
585
|
#
|
583
|
-
# The instance weighting feature supports the following additional
|
584
|
-
# metrics:
|
585
|
-
#
|
586
586
|
# * `GroupInServiceCapacity`
|
587
587
|
#
|
588
588
|
# * `GroupPendingCapacity`
|
@@ -593,8 +593,6 @@ module Aws::AutoScaling
|
|
593
593
|
#
|
594
594
|
# * `GroupTotalCapacity`
|
595
595
|
#
|
596
|
-
# The warm pools feature supports the following additional metrics:
|
597
|
-
#
|
598
596
|
# * `WarmPoolDesiredCapacity`
|
599
597
|
#
|
600
598
|
# * `WarmPoolWarmedCapacity`
|
@@ -609,10 +607,18 @@ module Aws::AutoScaling
|
|
609
607
|
#
|
610
608
|
# * `GroupAndWarmPoolTotalCapacity`
|
611
609
|
#
|
612
|
-
# If you
|
610
|
+
# If you specify `Granularity` and don't specify any metrics, all
|
611
|
+
# metrics are enabled.
|
612
|
+
#
|
613
|
+
# For more information, see [Auto Scaling group metrics][1] in the
|
614
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
615
|
+
#
|
616
|
+
#
|
617
|
+
#
|
618
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics
|
613
619
|
# @option options [required, String] :granularity
|
614
|
-
# The
|
615
|
-
# valid value is `1Minute`.
|
620
|
+
# The frequency at which Amazon EC2 Auto Scaling sends aggregated data
|
621
|
+
# to CloudWatch. The only valid value is `1Minute`.
|
616
622
|
# @return [EmptyStructure]
|
617
623
|
def enable_metrics_collection(options = {})
|
618
624
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -815,14 +821,16 @@ module Aws::AutoScaling
|
|
815
821
|
# Required if the policy type is `SimpleScaling`. (Not used with any
|
816
822
|
# other policy type.)
|
817
823
|
# @option options [Integer] :cooldown
|
818
|
-
#
|
819
|
-
# cooldown period is specified here, it overrides
|
820
|
-
#
|
824
|
+
# A cooldown period, in seconds, that applies to a specific simple
|
825
|
+
# scaling policy. When a cooldown period is specified here, it overrides
|
826
|
+
# the default cooldown.
|
821
827
|
#
|
822
828
|
# Valid only if the policy type is `SimpleScaling`. For more
|
823
829
|
# information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
|
824
830
|
# the *Amazon EC2 Auto Scaling User Guide*.
|
825
831
|
#
|
832
|
+
# Default: None
|
833
|
+
#
|
826
834
|
#
|
827
835
|
#
|
828
836
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
@@ -839,13 +847,22 @@ module Aws::AutoScaling
|
|
839
847
|
# Required if the policy type is `StepScaling`. (Not used with any other
|
840
848
|
# policy type.)
|
841
849
|
# @option options [Integer] :estimated_instance_warmup
|
850
|
+
# *Not needed if the default instance warmup is defined for the group.*
|
851
|
+
#
|
842
852
|
# The estimated time, in seconds, until a newly launched instance can
|
843
|
-
# contribute to the CloudWatch metrics.
|
844
|
-
#
|
845
|
-
#
|
853
|
+
# contribute to the CloudWatch metrics. This warm-up period applies to
|
854
|
+
# instances launched due to a specific target tracking or step scaling
|
855
|
+
# policy. When a warm-up period is specified here, it overrides the
|
856
|
+
# default instance warmup.
|
846
857
|
#
|
847
858
|
# Valid only if the policy type is `TargetTrackingScaling` or
|
848
859
|
# `StepScaling`.
|
860
|
+
#
|
861
|
+
# <note markdown="1"> The default is to use the value for the default instance warmup
|
862
|
+
# defined for the group. If default instance warmup is null, then
|
863
|
+
# `EstimatedInstanceWarmup` falls back to the value of default cooldown.
|
864
|
+
#
|
865
|
+
# </note>
|
849
866
|
# @option options [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
850
867
|
# A target tracking scaling policy. Provides support for predefined or
|
851
868
|
# custom metrics.
|
@@ -861,7 +878,7 @@ module Aws::AutoScaling
|
|
861
878
|
# * `ALBRequestCountPerTarget`
|
862
879
|
#
|
863
880
|
# If you specify `ALBRequestCountPerTarget` for the metric, you must
|
864
|
-
# specify the `ResourceLabel`
|
881
|
+
# specify the `ResourceLabel` property with the
|
865
882
|
# `PredefinedMetricSpecification`.
|
866
883
|
#
|
867
884
|
# For more information, see [TargetTrackingConfiguration][1] in the
|
@@ -923,20 +940,18 @@ module Aws::AutoScaling
|
|
923
940
|
# @option options [required, String] :scheduled_action_name
|
924
941
|
# The name of this scaling action.
|
925
942
|
# @option options [Time,DateTime,Date,Integer,String] :time
|
926
|
-
# This
|
943
|
+
# This property is no longer used.
|
927
944
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
928
945
|
# The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ
|
929
946
|
# format in UTC/GMT only and in quotes (for example,
|
930
|
-
# `"
|
947
|
+
# `"2021-06-01T00:00:00Z"`).
|
931
948
|
#
|
932
949
|
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
|
933
950
|
# performs the action at this time, and then performs the action based
|
934
951
|
# on the specified recurrence.
|
935
|
-
#
|
936
|
-
# If you try to schedule your action in the past, Amazon EC2 Auto
|
937
|
-
# Scaling returns an error message.
|
938
952
|
# @option options [Time,DateTime,Date,Integer,String] :end_time
|
939
|
-
# The date and time for the recurring schedule to end, in UTC.
|
953
|
+
# The date and time for the recurring schedule to end, in UTC. For
|
954
|
+
# example, `"2021-06-01T00:00:00Z"`.
|
940
955
|
# @option options [String] :recurrence
|
941
956
|
# The recurring schedule for this action. This format consists of five
|
942
957
|
# fields separated by white spaces: \[Minute\] \[Hour\]
|
@@ -961,6 +976,11 @@ module Aws::AutoScaling
|
|
961
976
|
# after the scheduled action runs and the capacity it attempts to
|
962
977
|
# maintain. It can scale beyond this capacity if you add more scaling
|
963
978
|
# conditions.
|
979
|
+
#
|
980
|
+
# <note markdown="1"> You must specify at least one of the following properties: `MaxSize`,
|
981
|
+
# `MinSize`, or `DesiredCapacity`.
|
982
|
+
#
|
983
|
+
# </note>
|
964
984
|
# @option options [String] :time_zone
|
965
985
|
# Specifies the time zone for a cron expression. If a time zone is not
|
966
986
|
# provided, UTC is used by default.
|
@@ -1010,7 +1030,7 @@ module Aws::AutoScaling
|
|
1010
1030
|
#
|
1011
1031
|
# * `ScheduledActions`
|
1012
1032
|
#
|
1013
|
-
# If you omit this
|
1033
|
+
# If you omit this property, all processes are specified.
|
1014
1034
|
# @return [EmptyStructure]
|
1015
1035
|
def resume_processes(options = {})
|
1016
1036
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -1069,7 +1089,7 @@ module Aws::AutoScaling
|
|
1069
1089
|
#
|
1070
1090
|
# * `ScheduledActions`
|
1071
1091
|
#
|
1072
|
-
# If you omit this
|
1092
|
+
# If you omit this property, all processes are specified.
|
1073
1093
|
# @return [EmptyStructure]
|
1074
1094
|
def suspend_processes(options = {})
|
1075
1095
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -1177,6 +1197,7 @@ module Aws::AutoScaling
|
|
1177
1197
|
# capacity_rebalance: false,
|
1178
1198
|
# context: "Context",
|
1179
1199
|
# desired_capacity_type: "XmlStringMaxLen255",
|
1200
|
+
# default_instance_warmup: 1,
|
1180
1201
|
# })
|
1181
1202
|
# @param [Hash] options ({})
|
1182
1203
|
# @option options [String] :launch_configuration_name
|
@@ -1215,10 +1236,10 @@ module Aws::AutoScaling
|
|
1215
1236
|
# size of the group and less than or equal to the maximum size of the
|
1216
1237
|
# group.
|
1217
1238
|
# @option options [Integer] :default_cooldown
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
#
|
1239
|
+
# *Only needed if you use simple scaling policies.*
|
1240
|
+
#
|
1241
|
+
# The amount of time, in seconds, between one scaling activity ending
|
1242
|
+
# and another one starting due to simple scaling policies. For more
|
1222
1243
|
# information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
|
1223
1244
|
# the *Amazon EC2 Auto Scaling User Guide*.
|
1224
1245
|
#
|
@@ -1235,22 +1256,25 @@ module Aws::AutoScaling
|
|
1235
1256
|
# @option options [Integer] :health_check_grace_period
|
1236
1257
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
1237
1258
|
# before checking the health status of an EC2 instance that has come
|
1238
|
-
# into service and marking it unhealthy due to a failed
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
#
|
1242
|
-
#
|
1259
|
+
# into service and marking it unhealthy due to a failed Elastic Load
|
1260
|
+
# Balancing or custom health check. This is useful if your instances do
|
1261
|
+
# not immediately pass these health checks after they enter the
|
1262
|
+
# `InService` state. For more information, see [Health check grace
|
1263
|
+
# period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1243
1264
|
#
|
1244
1265
|
#
|
1245
1266
|
#
|
1246
1267
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
|
1247
1268
|
# @option options [String] :placement_group
|
1248
1269
|
# The name of an existing placement group into which to launch your
|
1249
|
-
# instances
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1253
|
-
#
|
1270
|
+
# instances. For more information, see [Placement groups][1] in the
|
1271
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
1272
|
+
#
|
1273
|
+
# <note markdown="1"> A *cluster* placement group is a logical grouping of instances within
|
1274
|
+
# a single Availability Zone. You cannot specify multiple Availability
|
1275
|
+
# Zones and a cluster placement group.
|
1276
|
+
#
|
1277
|
+
# </note>
|
1254
1278
|
#
|
1255
1279
|
#
|
1256
1280
|
#
|
@@ -1258,18 +1282,21 @@ module Aws::AutoScaling
|
|
1258
1282
|
# @option options [String] :vpc_zone_identifier
|
1259
1283
|
# A comma-separated list of subnet IDs for a virtual private cloud
|
1260
1284
|
# (VPC). If you specify `VPCZoneIdentifier` with `AvailabilityZones`,
|
1261
|
-
# the subnets that you specify
|
1262
|
-
# Availability Zones.
|
1285
|
+
# the subnets that you specify must reside in those Availability Zones.
|
1263
1286
|
# @option options [Array<String>] :termination_policies
|
1264
1287
|
# A policy or a list of policies that are used to select the instances
|
1265
1288
|
# to terminate. The policies are executed in the order that you list
|
1266
|
-
# them. For more information, see [
|
1267
|
-
#
|
1268
|
-
#
|
1289
|
+
# them. For more information, see [Work with Amazon EC2 Auto Scaling
|
1290
|
+
# termination policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1291
|
+
#
|
1292
|
+
# Valid values: `Default` \| `AllocationStrategy` \|
|
1293
|
+
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
|
1294
|
+
# `OldestLaunchConfiguration` \| `OldestLaunchTemplate` \|
|
1295
|
+
# `arn:aws:lambda:region:account-id:function:my-function:my-alias`
|
1269
1296
|
#
|
1270
1297
|
#
|
1271
1298
|
#
|
1272
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1299
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html
|
1273
1300
|
# @option options [Boolean] :new_instances_protected_from_scale_in
|
1274
1301
|
# Indicates whether newly launched instances are protected from
|
1275
1302
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
@@ -1302,8 +1329,8 @@ module Aws::AutoScaling
|
|
1302
1329
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
|
1303
1330
|
# @option options [Boolean] :capacity_rebalance
|
1304
1331
|
# Enables or disables Capacity Rebalancing. For more information, see
|
1305
|
-
# [
|
1306
|
-
# Auto Scaling User Guide*.
|
1332
|
+
# [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions][1]
|
1333
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1307
1334
|
#
|
1308
1335
|
#
|
1309
1336
|
#
|
@@ -1325,6 +1352,29 @@ module Aws::AutoScaling
|
|
1325
1352
|
#
|
1326
1353
|
#
|
1327
1354
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
1355
|
+
# @option options [Integer] :default_instance_warmup
|
1356
|
+
# The amount of time, in seconds, until a newly launched instance can
|
1357
|
+
# contribute to the Amazon CloudWatch metrics. This delay lets an
|
1358
|
+
# instance finish initializing before Amazon EC2 Auto Scaling aggregates
|
1359
|
+
# instance metrics, resulting in more reliable usage data. Set this
|
1360
|
+
# value equal to the amount of time that it takes for resource
|
1361
|
+
# consumption to become stable after an instance reaches the `InService`
|
1362
|
+
# state. For more information, see [Set the default instance warmup for
|
1363
|
+
# an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1364
|
+
#
|
1365
|
+
# To manage your warm-up settings at the group level, we recommend that
|
1366
|
+
# you set the default instance warmup, *even if its value is set to 0
|
1367
|
+
# seconds*. This also optimizes the performance of scaling policies that
|
1368
|
+
# scale continuously, such as target tracking and step scaling policies.
|
1369
|
+
#
|
1370
|
+
# If you need to remove a value that you previously set, include the
|
1371
|
+
# property but specify `-1` for the value. However, we strongly
|
1372
|
+
# recommend keeping the default instance warmup enabled by specifying a
|
1373
|
+
# minimum value of `0`.
|
1374
|
+
#
|
1375
|
+
#
|
1376
|
+
#
|
1377
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
|
1328
1378
|
# @return [AutoScalingGroup]
|
1329
1379
|
def update(options = {})
|
1330
1380
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -1346,7 +1396,7 @@ module Aws::AutoScaling
|
|
1346
1396
|
# @param [Hash] options ({})
|
1347
1397
|
# @option options [Array<String>] :activity_ids
|
1348
1398
|
# The activity IDs of the desired scaling activities. If you omit this
|
1349
|
-
#
|
1399
|
+
# property, all activities for the past six weeks are described. If
|
1350
1400
|
# unknown activities are requested, they are ignored with no error. If
|
1351
1401
|
# you specify an Auto Scaling group, the results are limited to that
|
1352
1402
|
# group.
|
@@ -1418,7 +1468,7 @@ module Aws::AutoScaling
|
|
1418
1468
|
# })
|
1419
1469
|
# @param [Hash] options ({})
|
1420
1470
|
# @option options [Array<String>] :lifecycle_hook_names
|
1421
|
-
# The names of one or more lifecycle hooks. If you omit this
|
1471
|
+
# The names of one or more lifecycle hooks. If you omit this property,
|
1422
1472
|
# all lifecycle hooks are described.
|
1423
1473
|
# @return [LifecycleHook::Collection]
|
1424
1474
|
def lifecycle_hooks(options = {})
|
@@ -1515,7 +1565,7 @@ module Aws::AutoScaling
|
|
1515
1565
|
# })
|
1516
1566
|
# @param [Hash] options ({})
|
1517
1567
|
# @option options [Array<String>] :policy_names
|
1518
|
-
# The names of one or more policies. If you omit this
|
1568
|
+
# The names of one or more policies. If you omit this property, all
|
1519
1569
|
# policies are described. If a group name is provided, the results are
|
1520
1570
|
# limited to that group. If you specify an unknown policy name, it is
|
1521
1571
|
# ignored with no error.
|
@@ -1553,17 +1603,17 @@ module Aws::AutoScaling
|
|
1553
1603
|
# })
|
1554
1604
|
# @param [Hash] options ({})
|
1555
1605
|
# @option options [Array<String>] :scheduled_action_names
|
1556
|
-
# The names of one or more scheduled actions. If you omit this
|
1557
|
-
#
|
1558
|
-
#
|
1606
|
+
# The names of one or more scheduled actions. If you omit this property,
|
1607
|
+
# all scheduled actions are described. If you specify an unknown
|
1608
|
+
# scheduled action, it is ignored with no error.
|
1559
1609
|
#
|
1560
1610
|
# Array Members: Maximum number of 50 actions.
|
1561
1611
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
1562
1612
|
# The earliest scheduled start time to return. If scheduled action names
|
1563
|
-
# are provided, this
|
1613
|
+
# are provided, this property is ignored.
|
1564
1614
|
# @option options [Time,DateTime,Date,Integer,String] :end_time
|
1565
1615
|
# The latest scheduled start time to return. If scheduled action names
|
1566
|
-
# are provided, this
|
1616
|
+
# are provided, this property is ignored.
|
1567
1617
|
# @return [ScheduledAction::Collection]
|
1568
1618
|
def scheduled_actions(options = {})
|
1569
1619
|
batches = Enumerator.new do |y|
|