Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jul 25, 2022
1 parent 831bd38 commit de6d938
Show file tree
Hide file tree
Showing 12 changed files with 908 additions and 798 deletions.
218 changes: 109 additions & 109 deletions apis/autoscaling/2011-01-01/docs-2.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions gems/aws-sdk-autoscaling/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.80.0 (2022-07-25)
------------------

* Feature - Documentation update for Amazon EC2 Auto Scaling.

1.79.0 (2022-04-19)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-autoscaling/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.79.0
1.80.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
# @!group service
module Aws::AutoScaling

GEM_VERSION = '1.79.0'
GEM_VERSION = '1.80.0'

end
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ def attach_instances(options = {})
# @option options [Boolean] :force_delete
# Specifies that the group is to be deleted along with all instances
# associated with the group, without waiting for all instances to be
# terminated. This parameter also deletes any outstanding lifecycle
# actions associated with the group.
# terminated. This action also deletes any outstanding lifecycle actions
# associated with the group.
# @return [EmptyStructure]
def delete(options = {})
options = options.merge(auto_scaling_group_name: @name)
Expand Down Expand Up @@ -496,7 +496,9 @@ def detach_instances(options = {})
# })
# @param [Hash] options ({})
# @option options [Array<String>] :metrics
# Specifies one or more of the following metrics:
# Identifies the metrics to disable.
#
# You can specify one or more of the following metrics:
#
# * `GroupMinSize`
#
Expand Down Expand Up @@ -538,7 +540,14 @@ def detach_instances(options = {})
#
# * `GroupAndWarmPoolTotalCapacity`
#
# If you omit this parameter, all metrics are disabled.
# If you omit this property, all metrics are disabled.
#
# For more information, see [Auto Scaling group metrics][1] in the
# *Amazon EC2 Auto Scaling User Guide*.
#
#
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics
# @return [EmptyStructure]
def disable_metrics_collection(options = {})
options = options.merge(auto_scaling_group_name: @name)
Expand All @@ -554,8 +563,9 @@ def disable_metrics_collection(options = {})
# })
# @param [Hash] options ({})
# @option options [Array<String>] :metrics
# Specifies which group-level metrics to start collecting. You can
# specify one or more of the following metrics:
# Identifies the metrics to enable.
#
# You can specify one or more of the following metrics:
#
# * `GroupMinSize`
#
Expand All @@ -573,9 +583,6 @@ def disable_metrics_collection(options = {})
#
# * `GroupTotalInstances`
#
# The instance weighting feature supports the following additional
# metrics:
#
# * `GroupInServiceCapacity`
#
# * `GroupPendingCapacity`
Expand All @@ -586,8 +593,6 @@ def disable_metrics_collection(options = {})
#
# * `GroupTotalCapacity`
#
# The warm pools feature supports the following additional metrics:
#
# * `WarmPoolDesiredCapacity`
#
# * `WarmPoolWarmedCapacity`
Expand All @@ -602,10 +607,18 @@ def disable_metrics_collection(options = {})
#
# * `GroupAndWarmPoolTotalCapacity`
#
# If you omit this parameter, all metrics are enabled.
# If you specify `Granularity` and don't specify any metrics, all
# metrics are enabled.
#
# For more information, see [Auto Scaling group metrics][1] in the
# *Amazon EC2 Auto Scaling User Guide*.
#
#
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics
# @option options [required, String] :granularity
# The granularity to associate with the metrics to collect. The only
# valid value is `1Minute`.
# The frequency at which Amazon EC2 Auto Scaling sends aggregated data
# to CloudWatch. The only valid value is `1Minute`.
# @return [EmptyStructure]
def enable_metrics_collection(options = {})
options = options.merge(auto_scaling_group_name: @name)
Expand Down Expand Up @@ -865,7 +878,7 @@ def enable_metrics_collection(options = {})
# * `ALBRequestCountPerTarget`
#
# If you specify `ALBRequestCountPerTarget` for the metric, you must
# specify the `ResourceLabel` parameter with the
# specify the `ResourceLabel` property with the
# `PredefinedMetricSpecification`.
#
# For more information, see [TargetTrackingConfiguration][1] in the
Expand Down Expand Up @@ -927,20 +940,18 @@ def put_scaling_policy(options = {})
# @option options [required, String] :scheduled_action_name
# The name of this scaling action.
# @option options [Time,DateTime,Date,Integer,String] :time
# This parameter is no longer used.
# This property is no longer used.
# @option options [Time,DateTime,Date,Integer,String] :start_time
# The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ
# format in UTC/GMT only and in quotes (for example,
# `"2019-06-01T00:00:00Z"`).
# `"2021-06-01T00:00:00Z"`).
#
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
# performs the action at this time, and then performs the action based
# on the specified recurrence.
#
# If you try to schedule your action in the past, Amazon EC2 Auto
# Scaling returns an error message.
# @option options [Time,DateTime,Date,Integer,String] :end_time
# The date and time for the recurring schedule to end, in UTC.
# The date and time for the recurring schedule to end, in UTC. For
# example, `"2021-06-01T00:00:00Z"`.
# @option options [String] :recurrence
# The recurring schedule for this action. This format consists of five
# fields separated by white spaces: \[Minute\] \[Hour\]
Expand All @@ -965,6 +976,11 @@ def put_scaling_policy(options = {})
# after the scheduled action runs and the capacity it attempts to
# maintain. It can scale beyond this capacity if you add more scaling
# conditions.
#
# <note markdown="1"> You must specify at least one of the following properties: `MaxSize`,
# `MinSize`, or `DesiredCapacity`.
#
# </note>
# @option options [String] :time_zone
# Specifies the time zone for a cron expression. If a time zone is not
# provided, UTC is used by default.
Expand Down Expand Up @@ -1014,7 +1030,7 @@ def put_scheduled_update_group_action(options = {})
#
# * `ScheduledActions`
#
# If you omit this parameter, all processes are specified.
# If you omit this property, all processes are specified.
# @return [EmptyStructure]
def resume_processes(options = {})
options = options.merge(auto_scaling_group_name: @name)
Expand Down Expand Up @@ -1073,7 +1089,7 @@ def set_desired_capacity(options = {})
#
# * `ScheduledActions`
#
# If you omit this parameter, all processes are specified.
# If you omit this property, all processes are specified.
# @return [EmptyStructure]
def suspend_processes(options = {})
options = options.merge(auto_scaling_group_name: @name)
Expand Down Expand Up @@ -1266,18 +1282,21 @@ def suspend_processes(options = {})
# @option options [String] :vpc_zone_identifier
# A comma-separated list of subnet IDs for a virtual private cloud
# (VPC). If you specify `VPCZoneIdentifier` with `AvailabilityZones`,
# the subnets that you specify for this parameter must reside in those
# Availability Zones.
# the subnets that you specify must reside in those Availability Zones.
# @option options [Array<String>] :termination_policies
# A policy or a list of policies that are used to select the instances
# to terminate. The policies are executed in the order that you list
# them. For more information, see [Controlling which Auto Scaling
# instances terminate during scale in][1] in the *Amazon EC2 Auto
# Scaling User Guide*.
# them. For more information, see [Work with Amazon EC2 Auto Scaling
# termination policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
#
# Valid values: `Default` \| `AllocationStrategy` \|
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
# `OldestLaunchConfiguration` \| `OldestLaunchTemplate` \|
# `arn:aws:lambda:region:account-id:function:my-function:my-alias`
#
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html
# @option options [Boolean] :new_instances_protected_from_scale_in
# Indicates whether newly launched instances are protected from
# termination by Amazon EC2 Auto Scaling when scaling in. For more
Expand Down Expand Up @@ -1310,8 +1329,8 @@ def suspend_processes(options = {})
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
# @option options [Boolean] :capacity_rebalance
# Enables or disables Capacity Rebalancing. For more information, see
# [Amazon EC2 Auto Scaling Capacity Rebalancing][1] in the *Amazon EC2
# Auto Scaling User Guide*.
# [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions][1]
# in the *Amazon EC2 Auto Scaling User Guide*.
#
#
#
Expand Down Expand Up @@ -1377,7 +1396,7 @@ def update(options = {})
# @param [Hash] options ({})
# @option options [Array<String>] :activity_ids
# The activity IDs of the desired scaling activities. If you omit this
# parameter, all activities for the past six weeks are described. If
# property, all activities for the past six weeks are described. If
# unknown activities are requested, they are ignored with no error. If
# you specify an Auto Scaling group, the results are limited to that
# group.
Expand Down Expand Up @@ -1449,7 +1468,7 @@ def lifecycle_hook(name)
# })
# @param [Hash] options ({})
# @option options [Array<String>] :lifecycle_hook_names
# The names of one or more lifecycle hooks. If you omit this parameter,
# The names of one or more lifecycle hooks. If you omit this property,
# all lifecycle hooks are described.
# @return [LifecycleHook::Collection]
def lifecycle_hooks(options = {})
Expand Down Expand Up @@ -1546,7 +1565,7 @@ def notification_configurations(options = {})
# })
# @param [Hash] options ({})
# @option options [Array<String>] :policy_names
# The names of one or more policies. If you omit this parameter, all
# The names of one or more policies. If you omit this property, all
# policies are described. If a group name is provided, the results are
# limited to that group. If you specify an unknown policy name, it is
# ignored with no error.
Expand Down Expand Up @@ -1584,17 +1603,17 @@ def policies(options = {})
# })
# @param [Hash] options ({})
# @option options [Array<String>] :scheduled_action_names
# The names of one or more scheduled actions. If you omit this
# parameter, all scheduled actions are described. If you specify an
# unknown scheduled action, it is ignored with no error.
# The names of one or more scheduled actions. If you omit this property,
# all scheduled actions are described. If you specify an unknown
# scheduled action, it is ignored with no error.
#
# Array Members: Maximum number of 50 actions.
# @option options [Time,DateTime,Date,Integer,String] :start_time
# The earliest scheduled start time to return. If scheduled action names
# are provided, this parameter is ignored.
# are provided, this property is ignored.
# @option options [Time,DateTime,Date,Integer,String] :end_time
# The latest scheduled start time to return. If scheduled action names
# are provided, this parameter is ignored.
# are provided, this property is ignored.
# @return [ScheduledAction::Collection]
def scheduled_actions(options = {})
batches = Enumerator.new do |y|
Expand Down
Loading

0 comments on commit de6d938

Please sign in to comment.