lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.47.0 vs lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.48.0

- old
+ new

@@ -961,10 +961,26 @@ # # # # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection # + # @option params [Boolean] :capacity_rebalance + # Indicates whether capacity rebalance is enabled. Otherwise, capacity + # rebalance is disabled. + # + # You can enable capacity rebalancing for your Auto Scaling groups when + # using Spot Instances. When you turn on capacity rebalancing, Amazon + # EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon + # EC2 predicts that a Spot Instance is at an elevated risk of + # interruption. After launching a new instance, it then terminates an + # old instance. For more information, see [Amazon EC2 Auto Scaling + # capacity rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html + # # @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list # One or more lifecycle hooks. # # @option params [Array<Types::Tag>] :tags # One or more tags. You can tag your Auto Scaling group and propagate @@ -1114,10 +1130,11 @@ # health_check_grace_period: 1, # placement_group: "XmlStringMaxLen255", # vpc_zone_identifier: "XmlStringMaxLen2047", # termination_policies: ["XmlStringMaxLen1600"], # new_instances_protected_from_scale_in: false, + # capacity_rebalance: false, # lifecycle_hook_specification_list: [ # { # lifecycle_hook_name: "AsciiStringMaxLen255", # required # lifecycle_transition: "LifecycleTransition", # required # notification_metadata: "XmlStringMaxLen1023", @@ -1301,11 +1318,11 @@ # minutes. For more information, see [Configure Monitoring for Auto # Scaling Instances][1] in the *Amazon EC2 Auto Scaling User Guide*. # # # - # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html#enable-as-instance-metrics + # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html # # @option params [String] :spot_price # The maximum hourly price to be paid for any Spot Instance launched to # fulfill the request. Spot Instances are launched when the price you # specify exceeds the current Spot price. For more information, see @@ -1396,16 +1413,16 @@ # # [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*. + # [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto + # Scaling User Guide*. # # # - # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html + # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To create a launch configuration @@ -2099,10 +2116,11 @@ # resp.auto_scaling_groups[0].termination_policies #=> Array # resp.auto_scaling_groups[0].termination_policies[0] #=> String # resp.auto_scaling_groups[0].new_instances_protected_from_scale_in #=> Boolean # resp.auto_scaling_groups[0].service_linked_role_arn #=> String # resp.auto_scaling_groups[0].max_instance_lifetime #=> Integer + # resp.auto_scaling_groups[0].capacity_rebalance #=> Boolean # resp.next_token #=> String # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): # @@ -4080,12 +4098,15 @@ # # For more information, see [Getting Amazon SNS Notifications When Your # Auto Scaling Group Scales][1] in the *Amazon EC2 Auto Scaling User # Guide*. # + # If you exceed your maximum limit of SNS topics, which is 10 per Auto + # Scaling group, the call fails. # # + # # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html # # @option params [required, String] :auto_scaling_group_name # The name of the Auto Scaling group. # @@ -4746,12 +4767,15 @@ # # For more information about preventing instances that are part of an # Auto Scaling group from terminating on scale in, see [Instance # Protection][1] in the *Amazon EC2 Auto Scaling User Guide*. # + # If you exceed your maximum limit of instance IDs, which is 50 per Auto + # Scaling group, the call fails. # # + # # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection # # @option params [required, Array<String>] :instance_ids # One or more instance IDs. # @@ -5255,10 +5279,25 @@ # # # # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html # + # @option params [Boolean] :capacity_rebalance + # Enables or disables capacity rebalance. + # + # You can enable capacity rebalancing for your Auto Scaling groups when + # using Spot Instances. When you turn on capacity rebalancing, Amazon + # EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon + # EC2 predicts that a Spot Instance is at an elevated risk of + # interruption. After launching a new instance, it then terminates an + # old instance. For more information, see [Amazon EC2 Auto Scaling + # capacity rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To update the launch configuration # @@ -5332,10 +5371,11 @@ # vpc_zone_identifier: "XmlStringMaxLen2047", # termination_policies: ["XmlStringMaxLen1600"], # new_instances_protected_from_scale_in: false, # service_linked_role_arn: "ResourceName", # max_instance_lifetime: 1, + # capacity_rebalance: false, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation # # @overload update_auto_scaling_group(params = {}) @@ -5356,10 +5396,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-autoscaling' - context[:gem_version] = '1.47.0' + context[:gem_version] = '1.48.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #