lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.99.0 vs lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.100.0
- old
+ new
@@ -1225,10 +1225,19 @@
# The list of traffic sources to attach to this Auto Scaling group. You
# can use any of the following as traffic sources for an Auto Scaling
# group: Classic Load Balancer, Application Load Balancer, Gateway Load
# Balancer, Network Load Balancer, and VPC Lattice.
#
+ # @option params [Types::InstanceMaintenancePolicy] :instance_maintenance_policy
+ # An instance maintenance policy. For more information, see [Set
+ # instance maintenance policy][1] in the *Amazon EC2 Auto Scaling User
+ # Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
#
# @example Example: To create an Auto Scaling group
#
@@ -1485,10 +1494,14 @@
# {
# identifier: "XmlStringMaxLen511", # required
# type: "XmlStringMaxLen511",
# },
# ],
+ # instance_maintenance_policy: {
+ # min_healthy_percentage: 1,
+ # max_healthy_percentage: 1,
+ # },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
#
# @overload create_auto_scaling_group(params = {})
@@ -2588,10 +2601,12 @@
# resp.auto_scaling_groups[0].desired_capacity_type #=> String
# resp.auto_scaling_groups[0].default_instance_warmup #=> Integer
# resp.auto_scaling_groups[0].traffic_sources #=> Array
# resp.auto_scaling_groups[0].traffic_sources[0].identifier #=> String
# resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
+ # resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
+ # resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
# resp.next_token #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
#
@@ -2798,10 +2813,11 @@
# "my-alarm",
# ],
# },
# auto_rollback: true,
# instance_warmup: 200,
+ # max_healthy_percentage: 120,
# min_healthy_percentage: 90,
# scale_in_protected_instances: "Ignore",
# skip_matching: false,
# standby_instances: "Ignore",
# },
@@ -2821,10 +2837,11 @@
# "my-alarm",
# ],
# },
# auto_rollback: true,
# instance_warmup: 200,
+ # max_healthy_percentage: 120,
# min_healthy_percentage: 90,
# scale_in_protected_instances: "Ignore",
# skip_matching: false,
# standby_instances: "Ignore",
# },
@@ -2867,10 +2884,11 @@
# resp.instance_refreshes[0].preferences.auto_rollback #=> Boolean
# resp.instance_refreshes[0].preferences.scale_in_protected_instances #=> String, one of "Refresh", "Ignore", "Wait"
# resp.instance_refreshes[0].preferences.standby_instances #=> String, one of "Terminate", "Ignore", "Wait"
# resp.instance_refreshes[0].preferences.alarm_specification.alarms #=> Array
# resp.instance_refreshes[0].preferences.alarm_specification.alarms[0] #=> String
+ # resp.instance_refreshes[0].preferences.max_healthy_percentage #=> Integer
# resp.instance_refreshes[0].desired_configuration.launch_template.launch_template_id #=> String
# resp.instance_refreshes[0].desired_configuration.launch_template.launch_template_name #=> String
# resp.instance_refreshes[0].desired_configuration.launch_template.version #=> String
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.launch_template_specification.launch_template_id #=> String
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.launch_template_specification.launch_template_name #=> String
@@ -6345,15 +6363,11 @@
def set_instance_protection(params = {}, options = {})
req = build_request(:set_instance_protection, params)
req.send_request(options)
end
- # Starts an instance refresh. During an instance refresh, Amazon EC2
- # Auto Scaling performs a rolling update of instances in an Auto Scaling
- # group. Instances are terminated first and then replaced, which
- # temporarily reduces the capacity available within your Auto Scaling
- # group.
+ # Starts an instance refresh.
#
# This operation is part of the [instance refresh feature][1] in Amazon
# EC2 Auto Scaling, which helps you update instances in your Auto
# Scaling group. This feature is helpful, for example, when you have a
# new AMI or a new user data script. You just need to create a new
@@ -6412,14 +6426,14 @@
# </note>
#
# @option params [Types::RefreshPreferences] :preferences
# Sets your preferences for the instance refresh so that it performs as
# expected when you start it. Includes the instance warmup time, the
- # minimum healthy percentage, and the behaviors that you want Amazon EC2
- # Auto Scaling to use if instances that are in `Standby` state or
- # protected from scale in are found. You can also choose to enable
- # additional features, such as the following:
+ # minimum and maximum healthy percentages, and the behaviors that you
+ # want Amazon EC2 Auto Scaling to use if instances that are in `Standby`
+ # state or protected from scale in are found. You can also choose to
+ # enable additional features, such as the following:
#
# * Auto rollback
#
# * Checkpoints
#
@@ -6450,10 +6464,11 @@
# "my-alarm",
# ],
# },
# auto_rollback: true,
# instance_warmup: 200,
+ # max_healthy_percentage: 120,
# min_healthy_percentage: 90,
# },
# })
#
# resp.to_h outputs the following:
@@ -6563,10 +6578,11 @@
# scale_in_protected_instances: "Refresh", # accepts Refresh, Ignore, Wait
# standby_instances: "Terminate", # accepts Terminate, Ignore, Wait
# alarm_specification: {
# alarms: ["XmlStringMaxLen255"],
# },
+ # max_healthy_percentage: 1,
# },
# })
#
# @example Response structure
#
@@ -6984,10 +7000,19 @@
#
#
#
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html
#
+ # @option params [Types::InstanceMaintenancePolicy] :instance_maintenance_policy
+ # An instance maintenance policy. For more information, see [Set
+ # instance maintenance policy][1] in the *Amazon EC2 Auto Scaling User
+ # Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
#
# @example Example: To update an Auto Scaling group
#
@@ -7109,10 +7134,14 @@
# max_instance_lifetime: 1,
# capacity_rebalance: false,
# context: "Context",
# desired_capacity_type: "XmlStringMaxLen255",
# default_instance_warmup: 1,
+ # instance_maintenance_policy: {
+ # min_healthy_percentage: 1,
+ # max_healthy_percentage: 1,
+ # },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
#
# @overload update_auto_scaling_group(params = {})
@@ -7133,10 +7162,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-autoscaling'
- context[:gem_version] = '1.99.0'
+ context[:gem_version] = '1.100.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#