aws-sdk-autoscaling 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,10 @@ module Aws::AutoScaling
41
41
  AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
42
42
  AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
43
43
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
44
+ BatchDeleteScheduledActionAnswer = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionAnswer')
45
+ BatchDeleteScheduledActionType = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionType')
46
+ BatchPutScheduledUpdateGroupActionAnswer = Shapes::StructureShape.new(name: 'BatchPutScheduledUpdateGroupActionAnswer')
47
+ BatchPutScheduledUpdateGroupActionType = Shapes::StructureShape.new(name: 'BatchPutScheduledUpdateGroupActionType')
44
48
  BlockDeviceEbsDeleteOnTermination = Shapes::BooleanShape.new(name: 'BlockDeviceEbsDeleteOnTermination')
45
49
  BlockDeviceEbsEncrypted = Shapes::BooleanShape.new(name: 'BlockDeviceEbsEncrypted')
46
50
  BlockDeviceEbsIops = Shapes::IntegerShape.new(name: 'BlockDeviceEbsIops')
@@ -101,6 +105,8 @@ module Aws::AutoScaling
101
105
  ExecutePolicyType = Shapes::StructureShape.new(name: 'ExecutePolicyType')
102
106
  ExitStandbyAnswer = Shapes::StructureShape.new(name: 'ExitStandbyAnswer')
103
107
  ExitStandbyQuery = Shapes::StructureShape.new(name: 'ExitStandbyQuery')
108
+ FailedScheduledUpdateGroupActionRequest = Shapes::StructureShape.new(name: 'FailedScheduledUpdateGroupActionRequest')
109
+ FailedScheduledUpdateGroupActionRequests = Shapes::ListShape.new(name: 'FailedScheduledUpdateGroupActionRequests')
104
110
  Filter = Shapes::StructureShape.new(name: 'Filter')
105
111
  Filters = Shapes::ListShape.new(name: 'Filters')
106
112
  ForceDelete = Shapes::BooleanShape.new(name: 'ForceDelete')
@@ -195,6 +201,8 @@ module Aws::AutoScaling
195
201
  ScheduledActionNames = Shapes::ListShape.new(name: 'ScheduledActionNames')
196
202
  ScheduledActionsType = Shapes::StructureShape.new(name: 'ScheduledActionsType')
197
203
  ScheduledUpdateGroupAction = Shapes::StructureShape.new(name: 'ScheduledUpdateGroupAction')
204
+ ScheduledUpdateGroupActionRequest = Shapes::StructureShape.new(name: 'ScheduledUpdateGroupActionRequest')
205
+ ScheduledUpdateGroupActionRequests = Shapes::ListShape.new(name: 'ScheduledUpdateGroupActionRequests')
198
206
  ScheduledUpdateGroupActions = Shapes::ListShape.new(name: 'ScheduledUpdateGroupActions')
199
207
  SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
200
208
  ServiceLinkedRoleFailure = Shapes::StructureShape.new(name: 'ServiceLinkedRoleFailure')
@@ -343,6 +351,20 @@ module Aws::AutoScaling
343
351
 
344
352
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
345
353
 
354
+ BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
355
+ BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
356
+
357
+ BatchDeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
358
+ BatchDeleteScheduledActionType.add_member(:scheduled_action_names, Shapes::ShapeRef.new(shape: ScheduledActionNames, required: true, location_name: "ScheduledActionNames"))
359
+ BatchDeleteScheduledActionType.struct_class = Types::BatchDeleteScheduledActionType
360
+
361
+ BatchPutScheduledUpdateGroupActionAnswer.add_member(:failed_scheduled_update_group_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledUpdateGroupActions"))
362
+ BatchPutScheduledUpdateGroupActionAnswer.struct_class = Types::BatchPutScheduledUpdateGroupActionAnswer
363
+
364
+ BatchPutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
365
+ BatchPutScheduledUpdateGroupActionType.add_member(:scheduled_update_group_actions, Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActionRequests, required: true, location_name: "ScheduledUpdateGroupActions"))
366
+ BatchPutScheduledUpdateGroupActionType.struct_class = Types::BatchPutScheduledUpdateGroupActionType
367
+
346
368
  BlockDeviceMapping.add_member(:virtual_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "VirtualName"))
347
369
  BlockDeviceMapping.add_member(:device_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "DeviceName"))
348
370
  BlockDeviceMapping.add_member(:ebs, Shapes::ShapeRef.new(shape: Ebs, location_name: "Ebs"))
@@ -591,6 +613,13 @@ module Aws::AutoScaling
591
613
  ExitStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AutoScalingGroupName"))
592
614
  ExitStandbyQuery.struct_class = Types::ExitStandbyQuery
593
615
 
616
+ FailedScheduledUpdateGroupActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
617
+ FailedScheduledUpdateGroupActionRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "ErrorCode"))
618
+ FailedScheduledUpdateGroupActionRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: XmlString, location_name: "ErrorMessage"))
619
+ FailedScheduledUpdateGroupActionRequest.struct_class = Types::FailedScheduledUpdateGroupActionRequest
620
+
621
+ FailedScheduledUpdateGroupActionRequests.member = Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequest)
622
+
594
623
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, location_name: "Name"))
595
624
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
596
625
  Filter.struct_class = Types::Filter
@@ -836,6 +865,17 @@ module Aws::AutoScaling
836
865
  ScheduledUpdateGroupAction.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, location_name: "DesiredCapacity"))
837
866
  ScheduledUpdateGroupAction.struct_class = Types::ScheduledUpdateGroupAction
838
867
 
868
+ ScheduledUpdateGroupActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
869
+ ScheduledUpdateGroupActionRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
870
+ ScheduledUpdateGroupActionRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "EndTime"))
871
+ ScheduledUpdateGroupActionRequest.add_member(:recurrence, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "Recurrence"))
872
+ ScheduledUpdateGroupActionRequest.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
873
+ ScheduledUpdateGroupActionRequest.add_member(:max_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMaxSize, location_name: "MaxSize"))
874
+ ScheduledUpdateGroupActionRequest.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, location_name: "DesiredCapacity"))
875
+ ScheduledUpdateGroupActionRequest.struct_class = Types::ScheduledUpdateGroupActionRequest
876
+
877
+ ScheduledUpdateGroupActionRequests.member = Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActionRequest)
878
+
839
879
  ScheduledUpdateGroupActions.member = Shapes::ShapeRef.new(shape: ScheduledUpdateGroupAction)
840
880
 
841
881
  SecurityGroups.member = Shapes::ShapeRef.new(shape: XmlString)
@@ -969,6 +1009,26 @@ module Aws::AutoScaling
969
1009
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
970
1010
  end)
971
1011
 
1012
+ api.add_operation(:batch_delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "BatchDeleteScheduledAction"
1014
+ o.http_method = "POST"
1015
+ o.http_request_uri = "/"
1016
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteScheduledActionType)
1017
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteScheduledActionAnswer)
1018
+ o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1019
+ end)
1020
+
1021
+ api.add_operation(:batch_put_scheduled_update_group_action, Seahorse::Model::Operation.new.tap do |o|
1022
+ o.name = "BatchPutScheduledUpdateGroupAction"
1023
+ o.http_method = "POST"
1024
+ o.http_request_uri = "/"
1025
+ o.input = Shapes::ShapeRef.new(shape: BatchPutScheduledUpdateGroupActionType)
1026
+ o.output = Shapes::ShapeRef.new(shape: BatchPutScheduledUpdateGroupActionAnswer)
1027
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsFault)
1028
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1030
+ end)
1031
+
972
1032
  api.add_operation(:complete_lifecycle_action, Seahorse::Model::Operation.new.tap do |o|
973
1033
  o.name = "CompleteLifecycleAction"
974
1034
  o.http_method = "POST"
@@ -47,11 +47,11 @@ module Aws::AutoScaling
47
47
  end
48
48
 
49
49
  # The lifecycle state for the instance. For more information, see [Auto
50
- # Scaling Lifecycle][1] in the *Auto Scaling User Guide*.
50
+ # Scaling Lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
51
51
  #
52
52
  #
53
53
  #
54
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html
54
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
55
55
  # @return [String]
56
56
  def lifecycle_state
57
57
  data[:lifecycle_state]
@@ -59,8 +59,8 @@ module Aws::AutoScaling
59
59
 
60
60
  # The last reported health status of this instance. "Healthy" means
61
61
  # that the instance is healthy and should remain in service.
62
- # "Unhealthy" means that the instance is unhealthy and Auto Scaling
63
- # should terminate and replace it.
62
+ # "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto
63
+ # Scaling should terminate and replace it.
64
64
  # @return [String]
65
65
  def health_status
66
66
  data[:health_status]
@@ -79,8 +79,8 @@ module Aws::AutoScaling
79
79
  data[:launch_template]
80
80
  end
81
81
 
82
- # Indicates whether the instance is protected from termination by Auto
83
- # Scaling when scaling in.
82
+ # Indicates whether the instance is protected from termination by Amazon
83
+ # EC2 Auto Scaling when scaling in.
84
84
  # @return [Boolean]
85
85
  def protected_from_scale_in
86
86
  data[:protected_from_scale_in]
@@ -318,8 +318,8 @@ module Aws::AutoScaling
318
318
  # @option options [required, String] :health_status
319
319
  # The health status of the instance. Set to `Healthy` if you want the
320
320
  # instance to remain in service. Set to `Unhealthy` if you want the
321
- # instance to be out of service. Auto Scaling will terminate and replace
322
- # the unhealthy instance.
321
+ # instance to be out of service. Amazon EC2 Auto Scaling will terminate
322
+ # and replace the unhealthy instance.
323
323
  # @option options [Boolean] :should_respect_grace_period
324
324
  # If the Auto Scaling group of the specified instance has a
325
325
  # `HealthCheckGracePeriod` specified for the group, by default, this
@@ -41,16 +41,19 @@ module Aws::AutoScaling
41
41
  alias :lifecycle_hook_name :name
42
42
 
43
43
  # The state of the EC2 instance to which you want to attach the
44
- # lifecycle hook. For a list of lifecycle hook types, see
45
- # DescribeLifecycleHookTypes.
44
+ # lifecycle hook. The following are possible values:
45
+ #
46
+ # * autoscaling:EC2\_INSTANCE\_LAUNCHING
47
+ #
48
+ # * autoscaling:EC2\_INSTANCE\_TERMINATING
46
49
  # @return [String]
47
50
  def lifecycle_transition
48
51
  data[:lifecycle_transition]
49
52
  end
50
53
 
51
- # The ARN of the target that Auto Scaling sends notifications to when an
52
- # instance is in the transition state for the lifecycle hook. The
53
- # notification target can be either an SQS queue or an SNS topic.
54
+ # The ARN of the target that Amazon EC2 Auto Scaling sends notifications
55
+ # to when an instance is in the transition state for the lifecycle hook.
56
+ # The notification target can be either an SQS queue or an SNS topic.
54
57
  # @return [String]
55
58
  def notification_target_arn
56
59
  data[:notification_target_arn]
@@ -63,17 +66,17 @@ module Aws::AutoScaling
63
66
  data[:role_arn]
64
67
  end
65
68
 
66
- # Additional information that you want to include any time Auto Scaling
67
- # sends a message to the notification target.
69
+ # Additional information that you want to include any time Amazon EC2
70
+ # Auto Scaling sends a message to the notification target.
68
71
  # @return [String]
69
72
  def notification_metadata
70
73
  data[:notification_metadata]
71
74
  end
72
75
 
73
76
  # The maximum time, in seconds, that can elapse before the lifecycle
74
- # hook times out. If the lifecycle hook times out, Auto Scaling performs
75
- # the default action. You can prevent the lifecycle hook from timing out
76
- # by calling RecordLifecycleActionHeartbeat.
77
+ # hook times out. If the lifecycle hook times out, Amazon EC2 Auto
78
+ # Scaling performs the default action. You can prevent the lifecycle
79
+ # hook from timing out by calling RecordLifecycleActionHeartbeat.
77
80
  # @return [Integer]
78
81
  def heartbeat_timeout
79
82
  data[:heartbeat_timeout]
@@ -242,9 +245,9 @@ module Aws::AutoScaling
242
245
  # @param [Hash] options ({})
243
246
  # @option options [String] :lifecycle_action_token
244
247
  # A universally unique identifier (UUID) that identifies a specific
245
- # lifecycle action associated with an instance. Auto Scaling sends this
246
- # token to the notification target you specified when you created the
247
- # lifecycle hook.
248
+ # lifecycle action associated with an instance. Amazon EC2 Auto Scaling
249
+ # sends this token to the notification target you specified when you
250
+ # created the lifecycle hook.
248
251
  # @option options [required, String] :lifecycle_action_result
249
252
  # The action for the group to take. This parameter can be either
250
253
  # `CONTINUE` or `ABANDON`.
@@ -286,8 +289,12 @@ module Aws::AutoScaling
286
289
  # })
287
290
  # @param [Hash] options ({})
288
291
  # @option options [String] :lifecycle_transition
289
- # The instance state to which you want to attach the lifecycle hook. For
290
- # a list of lifecycle hook types, see DescribeLifecycleHookTypes.
292
+ # The instance state to which you want to attach the lifecycle hook. The
293
+ # possible values are:
294
+ #
295
+ # * autoscaling:EC2\_INSTANCE\_LAUNCHING
296
+ #
297
+ # * autoscaling:EC2\_INSTANCE\_TERMINATING
291
298
  #
292
299
  # This parameter is required for new lifecycle hooks, but optional when
293
300
  # updating existing hooks.
@@ -298,8 +305,8 @@ module Aws::AutoScaling
298
305
  # This parameter is required for new lifecycle hooks, but optional when
299
306
  # updating existing hooks.
300
307
  # @option options [String] :notification_target_arn
301
- # The ARN of the notification target that Auto Scaling will use to
302
- # notify you when an instance is in the transition state for the
308
+ # The ARN of the notification target that Amazon EC2 Auto Scaling will
309
+ # use to notify you when an instance is in the transition state for the
303
310
  # lifecycle hook. This target can be either an SQS queue or an SNS
304
311
  # topic. If you specify an empty string, this overrides the current ARN.
305
312
  #
@@ -307,20 +314,20 @@ module Aws::AutoScaling
307
314
  # Amazon SQS queue, and an email key/value pair format when sending
308
315
  # notifications to an Amazon SNS topic.
309
316
  #
310
- # When you specify a notification target, Auto Scaling sends it a test
311
- # message. Test messages contains the following additional key/value
312
- # pair: `"Event": "autoscaling:TEST_NOTIFICATION"`.
317
+ # When you specify a notification target, Amazon EC2 Auto Scaling sends
318
+ # it a test message. Test messages contains the following additional
319
+ # key/value pair: `"Event": "autoscaling:TEST_NOTIFICATION"`.
313
320
  # @option options [String] :notification_metadata
314
- # Contains additional information that you want to include any time Auto
315
- # Scaling sends a message to the notification target.
321
+ # Contains additional information that you want to include any time
322
+ # Amazon EC2 Auto Scaling sends a message to the notification target.
316
323
  # @option options [Integer] :heartbeat_timeout
317
324
  # The maximum time, in seconds, that can elapse before the lifecycle
318
325
  # hook times out. The range is from 30 to 7200 seconds. The default is
319
326
  # 3600 seconds (1 hour).
320
327
  #
321
- # If the lifecycle hook times out, Auto Scaling performs the default
322
- # action. You can prevent the lifecycle hook from timing out by calling
323
- # RecordLifecycleActionHeartbeat.
328
+ # If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the
329
+ # default action. You can prevent the lifecycle hook from timing out by
330
+ # calling RecordLifecycleActionHeartbeat.
324
331
  # @option options [String] :default_result
325
332
  # Defines the action the Auto Scaling group should take when the
326
333
  # lifecycle hook timeout elapses or if an unexpected failure occurs.
@@ -345,8 +352,9 @@ module Aws::AutoScaling
345
352
  # @param [Hash] options ({})
346
353
  # @option options [String] :lifecycle_action_token
347
354
  # A token that uniquely identifies a specific lifecycle action
348
- # associated with an instance. Auto Scaling sends this token to the
349
- # notification target you specified when you created the lifecycle hook.
355
+ # associated with an instance. Amazon EC2 Auto Scaling sends this token
356
+ # to the notification target you specified when you created the
357
+ # lifecycle hook.
350
358
  # @option options [String] :instance_id
351
359
  # The ID of the instance.
352
360
  # @return [Types::RecordLifecycleActionHeartbeatAnswer]
@@ -84,17 +84,17 @@ module Aws::AutoScaling
84
84
  # group. You must specify one of the following: an EC2 instance, a
85
85
  # launch configuration, or a launch template.
86
86
  #
87
- # When you specify an ID of an instance, Auto Scaling creates a new
88
- # launch configuration and associates it with the group. This launch
89
- # configuration derives its attributes from the specified instance, with
90
- # the exception of the block device mapping.
87
+ # When you specify an ID of an instance, Amazon EC2 Auto Scaling creates
88
+ # a new launch configuration and associates it with the group. This
89
+ # launch configuration derives its attributes from the specified
90
+ # instance, with the exception of the block device mapping.
91
91
  #
92
92
  # For more information, see [Create an Auto Scaling Group Using an EC2
93
- # Instance][1] in the *Auto Scaling User Guide*.
93
+ # Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
94
94
  #
95
95
  #
96
96
  #
97
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html
97
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
98
98
  # @option options [required, Integer] :min_size
99
99
  # The minimum size of the group.
100
100
  # @option options [required, Integer] :max_size
@@ -109,12 +109,12 @@ module Aws::AutoScaling
109
109
  # The amount of time, in seconds, after a scaling activity completes
110
110
  # before another scaling activity can start. The default is 300.
111
111
  #
112
- # For more information, see [Auto Scaling Cooldowns][1] in the *Auto
113
- # Scaling User Guide*.
112
+ # For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
113
+ # Auto Scaling User Guide*.
114
114
  #
115
115
  #
116
116
  #
117
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html
117
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
118
118
  # @option options [Array<String>] :availability_zones
119
119
  # One or more Availability Zones for the group. This parameter is
120
120
  # optional if you specify one or more subnets.
@@ -123,11 +123,11 @@ module Aws::AutoScaling
123
123
  # Balancer, use `TargetGroupARNs` instead.
124
124
  #
125
125
  # For more information, see [Using a Load Balancer With an Auto Scaling
126
- # Group][1] in the *Auto Scaling User Guide*.
126
+ # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
127
127
  #
128
128
  #
129
129
  #
130
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html
130
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
131
131
  # @option options [Array<String>] :target_group_arns
132
132
  # The Amazon Resource Names (ARN) of the target groups.
133
133
  # @option options [String] :health_check_type
@@ -136,25 +136,25 @@ module Aws::AutoScaling
136
136
  #
137
137
  # By default, health checks use Amazon EC2 instance status checks to
138
138
  # determine the health of an instance. For more information, see [Health
139
- # Checks][1] in the *Auto Scaling User Guide*.
139
+ # Checks][1] in the *Amazon EC2 Auto Scaling User Guide*.
140
140
  #
141
141
  #
142
142
  #
143
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html
143
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
144
144
  # @option options [Integer] :health_check_grace_period
145
- # The amount of time, in seconds, that Auto Scaling waits before
146
- # checking the health status of an EC2 instance that has come into
147
- # service. During this time, any health check failures for the instance
148
- # are ignored. The default is 0.
145
+ # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
146
+ # before checking the health status of an EC2 instance that has come
147
+ # into service. During this time, any health check failures for the
148
+ # instance are ignored. The default is 0.
149
149
  #
150
150
  # This parameter is required if you are adding an `ELB` health check.
151
151
  #
152
- # For more information, see [Health Checks][1] in the *Auto Scaling User
153
- # Guide*.
152
+ # For more information, see [Health Checks][1] in the *Amazon EC2 Auto
153
+ # Scaling User Guide*.
154
154
  #
155
155
  #
156
156
  #
157
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html
157
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
158
158
  # @option options [String] :placement_group
159
159
  # The name of the placement group into which you'll launch your
160
160
  # instances, if any. For more information, see [Placement Groups][1] in
@@ -172,11 +172,11 @@ module Aws::AutoScaling
172
172
  # specified.
173
173
  #
174
174
  # For more information, see [Launching Auto Scaling Instances in a
175
- # VPC][1] in the *Auto Scaling User Guide*.
175
+ # VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
176
176
  #
177
177
  #
178
178
  #
179
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
179
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
180
180
  # @option options [Array<String>] :termination_policies
181
181
  # One or more termination policies used to select the instance to
182
182
  # terminate. These policies are executed in the order that they are
@@ -187,7 +187,7 @@ module Aws::AutoScaling
187
187
  #
188
188
  #
189
189
  #
190
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html
190
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
191
191
  # @option options [Boolean] :new_instances_protected_from_scale_in
192
192
  # Indicates whether newly launched instances are protected from
193
193
  # termination by Auto Scaling when scaling in.
@@ -197,15 +197,15 @@ module Aws::AutoScaling
197
197
  # One or more tags.
198
198
  #
199
199
  # For more information, see [Tagging Auto Scaling Groups and
200
- # Instances][1] in the *Auto Scaling User Guide*.
200
+ # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
201
201
  #
202
202
  #
203
203
  #
204
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html
204
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
205
205
  # @option options [String] :service_linked_role_arn
206
206
  # The Amazon Resource Name (ARN) of the service-linked role that the
207
207
  # Auto Scaling group uses to call other AWS services on your behalf. By
208
- # default, Auto Scaling uses a service-linked role named
208
+ # default, Amazon EC2 Auto Scaling uses a service-linked role named
209
209
  # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
210
210
  # @return [AutoScalingGroup]
211
211
  def create_group(options = {})
@@ -333,11 +333,11 @@ module Aws::AutoScaling
333
333
  # same request.
334
334
  #
335
335
  # For more information, see [Create a Launch Configuration Using an EC2
336
- # Instance][1] in the *Auto Scaling User Guide*.
336
+ # Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
337
337
  #
338
338
  #
339
339
  #
340
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
340
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
341
341
  # @option options [String] :instance_type
342
342
  # The instance type of the EC2 instance.
343
343
  #
@@ -369,25 +369,25 @@ module Aws::AutoScaling
369
369
  # fulfill the request. Spot Instances are launched when the price you
370
370
  # specify exceeds the current Spot market price. For more information,
371
371
  # see [Launching Spot Instances in Your Auto Scaling Group][1] in the
372
- # *Auto Scaling User Guide*.
372
+ # *Amazon EC2 Auto Scaling User Guide*.
373
373
  #
374
374
  #
375
375
  #
376
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/US-SpotInstances.html
376
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
377
377
  # @option options [String] :iam_instance_profile
378
378
  # The name or the Amazon Resource Name (ARN) of the instance profile
379
379
  # associated with the IAM role for the instance.
380
380
  #
381
381
  # EC2 instances launched with an IAM role will automatically have AWS
382
- # security credentials available. You can use IAM roles with Auto
383
- # Scaling to automatically enable applications running on your EC2
382
+ # security credentials available. You can use IAM roles with Amazon EC2
383
+ # Auto Scaling to automatically enable applications running on your EC2
384
384
  # instances to securely access other AWS resources. For more
385
385
  # information, see [Launch Auto Scaling Instances with an IAM Role][1]
386
- # in the *Auto Scaling User Guide*.
386
+ # in the *Amazon EC2 Auto Scaling User Guide*.
387
387
  #
388
388
  #
389
389
  #
390
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/us-iam-role.html
390
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html
391
391
  # @option options [Boolean] :ebs_optimized
392
392
  # Indicates whether the instance is optimized for Amazon EBS I/O. By
393
393
  # default, the instance is not optimized for EBS I/O. The optimization
@@ -404,7 +404,7 @@ module Aws::AutoScaling
404
404
  # Used for groups that launch instances into a virtual private cloud
405
405
  # (VPC). Specifies whether to assign a public IP address to each
406
406
  # instance. For more information, see [Launching Auto Scaling Instances
407
- # in a VPC][1] in the *Auto Scaling User Guide*.
407
+ # in a VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
408
408
  #
409
409
  # If you specify this parameter, be sure to specify at least one subnet
410
410
  # when you create your group.
@@ -416,7 +416,7 @@ module Aws::AutoScaling
416
416
  #
417
417
  #
418
418
  #
419
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
419
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
420
420
  # @option options [String] :placement_tenancy
421
421
  # The tenancy of the instance. An instance with a tenancy of `dedicated`
422
422
  # runs on single-tenant hardware and can only be launched into a VPC.
@@ -429,13 +429,13 @@ module Aws::AutoScaling
429
429
  # when you create your group.
430
430
  #
431
431
  # For more information, see [Launching Auto Scaling Instances in a
432
- # VPC][1] in the *Auto Scaling User Guide*.
432
+ # VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
433
433
  #
434
434
  # Valid values: `default` \| `dedicated`
435
435
  #
436
436
  #
437
437
  #
438
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
438
+ # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
439
439
  # @return [LaunchConfiguration]
440
440
  def create_launch_configuration(options = {})
441
441
  resp = @client.create_launch_configuration(options)
@@ -455,11 +455,11 @@ module Aws::AutoScaling
455
455
  # })
456
456
  # @param [Hash] options ({})
457
457
  # @option options [Array<String>] :activity_ids
458
- # The activity IDs of the desired scaling activities. If you omit this
459
- # parameter, all activities for the past six weeks are described. If you
460
- # specify an Auto Scaling group, the results are limited to that group.
461
- # The list of requested activities cannot contain more than 50 items. If
462
- # unknown activities are requested, they are ignored with no error.
458
+ # The activity IDs of the desired scaling activities. You can specify up
459
+ # to 50 IDs. If you omit this parameter, all activities for the past six
460
+ # weeks are described. If unknown activities are requested, they are
461
+ # ignored with no error. If you specify an Auto Scaling group, the
462
+ # results are limited to that group.
463
463
  # @option options [String] :auto_scaling_group_name
464
464
  # The name of the Auto Scaling group.
465
465
  # @return [Activity::Collection]
@@ -506,8 +506,9 @@ module Aws::AutoScaling
506
506
  # })
507
507
  # @param [Hash] options ({})
508
508
  # @option options [Array<String>] :auto_scaling_group_names
509
- # The names of the Auto Scaling groups. If you omit this parameter, all
510
- # Auto Scaling groups are described.
509
+ # The names of the Auto Scaling groups. You can specify up to
510
+ # `MaxRecords` names. If you omit this parameter, all Auto Scaling
511
+ # groups are described.
511
512
  # @return [AutoScalingGroup::Collection]
512
513
  def groups(options = {})
513
514
  batches = Enumerator.new do |y|
@@ -534,9 +535,9 @@ module Aws::AutoScaling
534
535
  # })
535
536
  # @param [Hash] options ({})
536
537
  # @option options [Array<String>] :instance_ids
537
- # The instances to describe; up to 50 instance IDs. If you omit this
538
- # parameter, all Auto Scaling instances are described. If you specify an
539
- # ID that does not exist, it is ignored with no error.
538
+ # The IDs of the instances. You can specify up to `MaxRecords` IDs. If
539
+ # you omit this parameter, all Auto Scaling instances are described. If
540
+ # you specify an ID that does not exist, it is ignored with no error.
540
541
  # @return [Instance::Collection]
541
542
  def instances(options = {})
542
543
  batches = Enumerator.new do |y|
@@ -661,13 +662,10 @@ module Aws::AutoScaling
661
662
  # @option options [String] :auto_scaling_group_name
662
663
  # The name of the Auto Scaling group.
663
664
  # @option options [Array<String>] :scheduled_action_names
664
- # Describes one or more scheduled actions. If you omit this parameter,
665
- # all scheduled actions are described. If you specify an unknown
666
- # scheduled action, it is ignored with no error.
667
- #
668
- # You can describe up to a maximum of 50 instances with a single call.
669
- # If there are more items to return, the call returns a token. To get
670
- # the next set of items, repeat the call with the returned token.
665
+ # The names of one or more scheduled actions. You can specify up to 50
666
+ # actions. If you omit this parameter, all scheduled actions are
667
+ # described. If you specify an unknown scheduled action, it is ignored
668
+ # with no error.
671
669
  # @option options [Time,DateTime,Date,Integer,String] :start_time
672
670
  # The earliest scheduled start time to return. If scheduled action names
673
671
  # are provided, this parameter is ignored.