lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.43.0 vs lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.44.0
- old
+ new
@@ -710,12 +710,19 @@
# [Getting Started with Amazon EC2 Auto Scaling][2] and [Tutorial: Set
# Up a Scaled and Load-Balanced Application][3] in the *Amazon EC2 Auto
# Scaling User Guide*. For more information, see [Auto Scaling
# Groups][4] in the *Amazon EC2 Auto Scaling User Guide*.
#
+ # Every Auto Scaling group has three size parameters (`DesiredCapacity`,
+ # `MaxSize`, and `MinSize`). Usually, you set these sizes based on a
+ # specific number of instances. However, if you configure a mixed
+ # instances policy that defines weights for the instance types, you must
+ # specify these sizes with the same units that you use for weighting
+ # instances.
#
#
+ #
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html
#
@@ -802,12 +809,12 @@
# The maximum size of the group.
#
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
# Auto Scaling may need to go above `MaxSize` to meet your capacity
# requirements. In this event, Amazon EC2 Auto Scaling will never go
- # above `MaxSize` by more than your maximum instance weight (weights
- # that define how many capacity units each instance contributes to the
+ # above `MaxSize` by more than your largest instance weight (weights
+ # that define how many units each instance contributes to the desired
# capacity of the group).
#
# </note>
#
# @option params [Integer] :desired_capacity
@@ -1372,10 +1379,19 @@
#
#
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
#
+ # @option params [Types::InstanceMetadataOptions] :metadata_options
+ # The metadata options for the instances. For more information, see
+ # [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
+ # Linux Instances*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
#
# @example Example: To create a launch configuration
#
@@ -1426,10 +1442,15 @@
# spot_price: "SpotPrice",
# iam_instance_profile: "XmlStringMaxLen1600",
# ebs_optimized: false,
# associate_public_ip_address: false,
# placement_tenancy: "XmlStringMaxLen64",
+ # metadata_options: {
+ # http_tokens: "optional", # accepts optional, required
+ # http_put_response_hop_limit: 1,
+ # http_endpoint: "disabled", # accepts disabled, enabled
+ # },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration AWS API Documentation
#
# @overload create_launch_configuration(params = {})
@@ -2409,10 +2430,13 @@
# resp.launch_configurations[0].iam_instance_profile #=> String
# resp.launch_configurations[0].created_time #=> Time
# resp.launch_configurations[0].ebs_optimized #=> Boolean
# resp.launch_configurations[0].associate_public_ip_address #=> Boolean
# resp.launch_configurations[0].placement_tenancy #=> String
+ # resp.launch_configurations[0].metadata_options.http_tokens #=> String, one of "optional", "required"
+ # resp.launch_configurations[0].metadata_options.http_put_response_hop_limit #=> Integer
+ # resp.launch_configurations[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations AWS API Documentation
#
# @overload describe_launch_configurations(params = {})
@@ -4117,11 +4141,11 @@
# * `StepScaling`
#
# * `SimpleScaling` (default)
#
# @option params [String] :adjustment_type
- # Specifies how the scaling adjustment is interpreted (either an
+ # Specifies how the scaling adjustment is interpreted (for example, an
# absolute number or a percentage). The valid values are
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
#
# Required if the policy type is `StepScaling` or `SimpleScaling`. For
# more information, see [Scaling Adjustment Types][1] in the *Amazon EC2
@@ -5095,12 +5119,12 @@
# The maximum size of the Auto Scaling group.
#
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
# Auto Scaling may need to go above `MaxSize` to meet your capacity
# requirements. In this event, Amazon EC2 Auto Scaling will never go
- # above `MaxSize` by more than your maximum instance weight (weights
- # that define how many capacity units each instance contributes to the
+ # above `MaxSize` by more than your largest instance weight (weights
+ # that define how many units each instance contributes to the desired
# capacity of the group).
#
# </note>
#
# @option params [Integer] :desired_capacity
@@ -5317,10 +5341,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-autoscaling'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#