aws-sdk 1.4.1 → 1.5.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.
- data/.yardopts +0 -1
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +772 -544
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +284 -185
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +458 -738
- data/lib/aws/api_config/EC2-2011-12-15.yml +3502 -2653
- data/lib/aws/api_config/ELB-2011-08-15.yml +484 -352
- data/lib/aws/api_config/IAM-2010-05-08.yml +899 -711
- data/lib/aws/api_config/SNS-2010-03-31.yml +235 -167
- data/lib/aws/api_config/SQS-2011-10-01.yml +290 -251
- data/lib/aws/api_config/STS-2011-06-15.yml +35 -41
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +290 -263
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +144 -130
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +697 -1139
- data/lib/aws/auto_scaling/activity_collection.rb +1 -1
- data/lib/aws/auto_scaling/client.rb +724 -9
- data/lib/aws/auto_scaling/errors.rb +1 -5
- data/lib/aws/auto_scaling/group.rb +1 -1
- data/lib/aws/auto_scaling/group_collection.rb +1 -1
- data/lib/aws/auto_scaling/instance_collection.rb +1 -1
- data/lib/aws/auto_scaling/launch_configuration.rb +1 -1
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/request.rb +1 -2
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +1 -1
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +3 -3
- data/lib/aws/auto_scaling/tag_collection.rb +1 -1
- data/lib/aws/cloud_formation.rb +1 -18
- data/lib/aws/cloud_formation/client.rb +314 -8
- data/lib/aws/cloud_formation/errors.rb +1 -5
- data/lib/aws/cloud_formation/request.rb +1 -2
- data/lib/aws/cloud_formation/stack.rb +4 -3
- data/lib/aws/cloud_formation/stack_collection.rb +2 -2
- data/lib/aws/cloud_formation/stack_resource_collection.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +2 -2
- data/lib/aws/cloud_formation/stack_summary_collection.rb +1 -1
- data/lib/aws/core.rb +29 -14
- data/lib/aws/core/async_handle.rb +11 -12
- data/lib/aws/core/client.rb +112 -102
- data/lib/aws/core/client/query_json.rb +110 -0
- data/lib/aws/core/client/query_xml.rb +122 -0
- data/lib/aws/core/data.rb +242 -0
- data/lib/aws/core/http/request.rb +7 -4
- data/lib/aws/core/lazy_error_classes.rb +60 -38
- data/lib/aws/core/option_grammar.rb +1 -0
- data/lib/aws/core/policy.rb +2 -1
- data/lib/aws/core/resource.rb +38 -33
- data/lib/aws/core/response.rb +109 -44
- data/lib/aws/core/signature/version_2.rb +42 -0
- data/lib/aws/core/signature/version_3.rb +73 -0
- data/lib/aws/core/signature/version_3_http.rb +72 -0
- data/lib/aws/core/signature/version_4.rb +138 -0
- data/lib/aws/core/uri_escape.rb +6 -9
- data/lib/aws/core/xml/frame.rb +242 -0
- data/lib/aws/core/xml/frame_stack.rb +85 -0
- data/lib/aws/core/xml/grammar.rb +299 -0
- data/lib/aws/core/xml/parser.rb +70 -0
- data/lib/aws/core/xml/root_frame.rb +65 -0
- data/lib/aws/core/{configured_xml_grammars.rb → xml/sax_handlers/libxml.rb} +22 -20
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +55 -0
- data/lib/aws/core/{authorize_with_session_token.rb → xml/sax_handlers/ox.rb} +19 -7
- data/lib/aws/core/{configured_option_grammars.rb → xml/sax_handlers/rexml.rb} +22 -23
- data/lib/aws/core/xml/stub.rb +123 -0
- data/lib/aws/dynamo_db/batch_get.rb +1 -1
- data/lib/aws/dynamo_db/client.rb +796 -14
- data/lib/aws/dynamo_db/errors.rb +1 -38
- data/lib/aws/dynamo_db/item_collection.rb +29 -28
- data/lib/aws/dynamo_db/request.rb +3 -53
- data/lib/aws/dynamo_db/table.rb +6 -2
- data/lib/aws/ec2/attachment.rb +1 -1
- data/lib/aws/ec2/client.rb +3954 -9
- data/lib/aws/ec2/dhcp_options.rb +3 -3
- data/lib/aws/ec2/errors.rb +10 -4
- data/lib/aws/ec2/instance.rb +7 -6
- data/lib/aws/ec2/instance_collection.rb +2 -2
- data/lib/aws/ec2/key_pair_collection.rb +3 -3
- data/lib/aws/ec2/network_acl.rb +4 -2
- data/lib/aws/ec2/network_acl/entry.rb +10 -10
- data/lib/aws/ec2/network_interface.rb +2 -3
- data/lib/aws/ec2/network_interface/attachment.rb +8 -8
- data/lib/aws/ec2/permission_collection.rb +3 -3
- data/lib/aws/ec2/request.rb +1 -3
- data/lib/aws/ec2/resource_tag_collection.rb +4 -8
- data/lib/aws/ec2/route_table.rb +3 -2
- data/lib/aws/ec2/route_table/route.rb +7 -7
- data/lib/aws/ec2/security_group.rb +2 -2
- data/lib/aws/ec2/security_group/egress_ip_permission_collection.rb +16 -5
- data/lib/aws/ec2/security_group/ingress_ip_permission_collection.rb +4 -3
- data/lib/aws/ec2/security_group/ip_permission.rb +1 -2
- data/lib/aws/ec2/snapshot_collection.rb +6 -3
- data/lib/aws/ec2/subnet.rb +1 -1
- data/lib/aws/ec2/volume.rb +1 -3
- data/lib/aws/ec2/volume_collection.rb +2 -0
- data/lib/aws/elb/availability_zone_collection.rb +2 -2
- data/lib/aws/elb/backend_server_policy_collection.rb +1 -1
- data/lib/aws/elb/client.rb +513 -9
- data/lib/aws/elb/errors.rb +2 -6
- data/lib/aws/elb/instance_collection.rb +2 -2
- data/lib/aws/elb/request.rb +1 -1
- data/lib/aws/errors.rb +61 -74
- data/lib/aws/iam.rb +2 -3
- data/lib/aws/iam/client.rb +1178 -10
- data/lib/aws/iam/collection.rb +2 -1
- data/lib/aws/iam/errors.rb +1 -6
- data/lib/aws/iam/group.rb +8 -9
- data/lib/aws/iam/request.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +8 -5
- data/lib/aws/iam/signing_certificate.rb +1 -1
- data/lib/aws/iam/user.rb +2 -2
- data/lib/aws/iam/user_policy.rb +3 -2
- data/lib/aws/rails.rb +1 -2
- data/lib/aws/record.rb +3 -3
- data/lib/aws/record/abstract_base.rb +0 -3
- data/lib/aws/record/attributes.rb +7 -7
- data/lib/aws/record/model.rb +19 -19
- data/lib/aws/record/model/finder_methods.rb +7 -7
- data/lib/aws/s3/bucket.rb +7 -2
- data/lib/aws/s3/client.rb +391 -398
- data/lib/aws/s3/client/xml.rb +44 -71
- data/lib/aws/s3/data_options.rb +3 -2
- data/lib/aws/s3/errors.rb +8 -11
- data/lib/aws/s3/multipart_upload_collection.rb +1 -3
- data/lib/aws/s3/object_collection.rb +2 -1
- data/lib/aws/s3/object_metadata.rb +2 -2
- data/lib/aws/s3/paginated_collection.rb +2 -2
- data/lib/aws/s3/prefix_and_delimiter_collection.rb +1 -1
- data/lib/aws/s3/presigned_post.rb +18 -17
- data/lib/aws/s3/request.rb +4 -3
- data/lib/aws/s3/s3_object.rb +8 -10
- data/lib/aws/simple_db/attribute.rb +2 -2
- data/lib/aws/simple_db/attribute_collection.rb +14 -4
- data/lib/aws/simple_db/client.rb +313 -14
- data/lib/aws/simple_db/domain.rb +1 -1
- data/lib/aws/simple_db/domain_collection.rb +4 -4
- data/lib/aws/simple_db/domain_metadata.rb +1 -1
- data/lib/aws/simple_db/errors.rb +14 -2
- data/lib/aws/simple_db/expect_condition_option.rb +1 -1
- data/lib/aws/simple_db/item.rb +1 -1
- data/lib/aws/simple_db/item_collection.rb +9 -9
- data/lib/aws/simple_db/item_data.rb +9 -6
- data/lib/aws/simple_db/request.rb +1 -1
- data/lib/aws/simple_email_service.rb +8 -7
- data/lib/aws/simple_email_service/client.rb +174 -9
- data/lib/aws/simple_email_service/email_address_collection.rb +0 -1
- data/lib/aws/simple_email_service/errors.rb +1 -5
- data/lib/aws/simple_email_service/quotas.rb +8 -6
- data/lib/aws/simple_email_service/request.rb +7 -1
- data/lib/aws/simple_workflow/client.rb +1383 -6
- data/lib/aws/simple_workflow/decision_task.rb +1 -3
- data/lib/aws/simple_workflow/errors.rb +1 -38
- data/lib/aws/simple_workflow/history_event_collection.rb +2 -2
- data/lib/aws/simple_workflow/request.rb +5 -49
- data/lib/aws/simple_workflow/type.rb +1 -1
- data/lib/aws/simple_workflow/type_collection.rb +4 -3
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +2 -2
- data/lib/aws/sns/client.rb +345 -9
- data/lib/aws/sns/errors.rb +1 -5
- data/lib/aws/sns/request.rb +1 -2
- data/lib/aws/sns/subscription_collection.rb +2 -2
- data/lib/aws/sns/topic.rb +15 -14
- data/lib/aws/sns/topic_collection.rb +1 -1
- data/lib/aws/sqs/client.rb +334 -9
- data/lib/aws/sqs/errors.rb +1 -6
- data/lib/aws/sqs/queue.rb +20 -21
- data/lib/aws/sqs/queue_collection.rb +3 -3
- data/lib/aws/sqs/request.rb +2 -2
- data/lib/aws/sts.rb +8 -10
- data/lib/aws/sts/client.rb +67 -10
- data/lib/aws/sts/errors.rb +1 -5
- data/lib/aws/sts/request.rb +1 -1
- data/lib/user.rb +49 -0
- metadata +21 -28
- data/lib/aws/auto_scaling/client/xml.rb +0 -32
- data/lib/aws/cloud_formation/client/xml.rb +0 -32
- data/lib/aws/core/api_config.rb +0 -44
- data/lib/aws/core/authorize_v2.rb +0 -39
- data/lib/aws/core/authorize_v3.rb +0 -38
- data/lib/aws/core/authorize_v4.rb +0 -149
- data/lib/aws/core/configured_client_methods.rb +0 -76
- data/lib/aws/core/configured_grammars.rb +0 -63
- data/lib/aws/core/configured_json_client_methods.rb +0 -74
- data/lib/aws/core/ignore_result_element.rb +0 -34
- data/lib/aws/core/json_client.rb +0 -41
- data/lib/aws/core/xml_grammar.rb +0 -957
- data/lib/aws/ec2/client/xml.rb +0 -175
- data/lib/aws/elb/client/xml.rb +0 -33
- data/lib/aws/elb/listener_spec.rb +0 -14
- data/lib/aws/iam/client/xml.rb +0 -34
- data/lib/aws/simple_db/client/options.rb +0 -32
- data/lib/aws/simple_db/client/xml.rb +0 -63
- data/lib/aws/simple_email_service/client/xml.rb +0 -34
- data/lib/aws/sns/client/xml.rb +0 -34
- data/lib/aws/sqs/client/xml.rb +0 -33
- data/lib/aws/sts/client/xml.rb +0 -34
|
@@ -14,18 +14,12 @@
|
|
|
14
14
|
module AWS
|
|
15
15
|
class AutoScaling
|
|
16
16
|
|
|
17
|
-
#
|
|
17
|
+
# Client class for Auto Scaling.
|
|
18
18
|
class Client < Core::Client
|
|
19
19
|
|
|
20
|
-
AWS.register_autoloads(self, 'aws/auto_scaling/client') do
|
|
21
|
-
autoload :XML, 'xml'
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
include Core::ConfiguredClientMethods
|
|
25
|
-
|
|
26
20
|
API_VERSION = '2011-01-01'
|
|
27
21
|
|
|
28
|
-
|
|
22
|
+
extend Core::Client::QueryXML
|
|
29
23
|
|
|
30
24
|
# @private
|
|
31
25
|
CACHEABLE_REQUESTS = Set[
|
|
@@ -43,7 +37,728 @@ module AWS
|
|
|
43
37
|
:describe_tags,
|
|
44
38
|
]
|
|
45
39
|
|
|
46
|
-
|
|
40
|
+
## client methods ##
|
|
41
|
+
|
|
42
|
+
# Calls the CreateAutoScalingGroup API operation.
|
|
43
|
+
# @method create_auto_scaling_group(options = {})
|
|
44
|
+
#
|
|
45
|
+
# === Options:
|
|
46
|
+
#
|
|
47
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
48
|
+
# * +:launch_configuration_name+ - *required* - (String)
|
|
49
|
+
# * +:min_size+ - *required* - (Integer)
|
|
50
|
+
# * +:max_size+ - *required* - (Integer)
|
|
51
|
+
# * +:desired_capacity+ - (Integer)
|
|
52
|
+
# * +:default_cooldown+ - (Integer)
|
|
53
|
+
# * +:availability_zones+ - *required* - (Array<String>)
|
|
54
|
+
# * +:load_balancer_names+ - (Array<String>)
|
|
55
|
+
# * +:health_check_type+ - (String)
|
|
56
|
+
# * +:health_check_grace_period+ - (Integer)
|
|
57
|
+
# * +:placement_group+ - (String)
|
|
58
|
+
# * +:vpc_zone_identifier+ - (String)
|
|
59
|
+
# * +:tags+ - (Array<Hash>)
|
|
60
|
+
# * +:resource_id+ - (String)
|
|
61
|
+
# * +:resource_type+ - (String)
|
|
62
|
+
# * +:key+ - *required* - (String)
|
|
63
|
+
# * +:value+ - (String)
|
|
64
|
+
# * +:propagate_at_launch+ - (Boolean)
|
|
65
|
+
#
|
|
66
|
+
# === Response Structure:
|
|
67
|
+
#
|
|
68
|
+
# This method returns no response data.
|
|
69
|
+
#
|
|
70
|
+
# @return [Core::Response]
|
|
71
|
+
#
|
|
72
|
+
define_client_method :create_auto_scaling_group, 'CreateAutoScalingGroup'
|
|
73
|
+
|
|
74
|
+
# Calls the CreateLaunchConfiguration API operation.
|
|
75
|
+
# @method create_launch_configuration(options = {})
|
|
76
|
+
#
|
|
77
|
+
# === Options:
|
|
78
|
+
#
|
|
79
|
+
# * +:launch_configuration_name+ - *required* - (String)
|
|
80
|
+
# * +:image_id+ - *required* - (String)
|
|
81
|
+
# * +:key_name+ - (String)
|
|
82
|
+
# * +:security_groups+ - (Array<String>)
|
|
83
|
+
# * +:user_data+ - (String)
|
|
84
|
+
# * +:instance_type+ - *required* - (String)
|
|
85
|
+
# * +:kernel_id+ - (String)
|
|
86
|
+
# * +:ramdisk_id+ - (String)
|
|
87
|
+
# * +:block_device_mappings+ - (Array<Hash>)
|
|
88
|
+
# * +:virtual_name+ - (String)
|
|
89
|
+
# * +:device_name+ - *required* - (String)
|
|
90
|
+
# * +:ebs+ - (Hash)
|
|
91
|
+
# * +:snapshot_id+ - (String)
|
|
92
|
+
# * +:volume_size+ - (Integer)
|
|
93
|
+
# * +:instance_monitoring+ - (Hash)
|
|
94
|
+
# * +:enabled+ - (Boolean)
|
|
95
|
+
#
|
|
96
|
+
# === Response Structure:
|
|
97
|
+
#
|
|
98
|
+
# This method returns no response data.
|
|
99
|
+
#
|
|
100
|
+
# @return [Core::Response]
|
|
101
|
+
#
|
|
102
|
+
define_client_method :create_launch_configuration, 'CreateLaunchConfiguration'
|
|
103
|
+
|
|
104
|
+
# Calls the CreateOrUpdateTags API operation.
|
|
105
|
+
# @method create_or_update_tags(options = {})
|
|
106
|
+
#
|
|
107
|
+
# === Options:
|
|
108
|
+
#
|
|
109
|
+
# * +:tags+ - *required* - (Array<Hash>)
|
|
110
|
+
# * +:resource_id+ - (String)
|
|
111
|
+
# * +:resource_type+ - (String)
|
|
112
|
+
# * +:key+ - *required* - (String)
|
|
113
|
+
# * +:value+ - (String)
|
|
114
|
+
# * +:propagate_at_launch+ - (Boolean)
|
|
115
|
+
#
|
|
116
|
+
# === Response Structure:
|
|
117
|
+
#
|
|
118
|
+
# This method returns no response data.
|
|
119
|
+
#
|
|
120
|
+
# @return [Core::Response]
|
|
121
|
+
#
|
|
122
|
+
define_client_method :create_or_update_tags, 'CreateOrUpdateTags'
|
|
123
|
+
|
|
124
|
+
# Calls the DeleteAutoScalingGroup API operation.
|
|
125
|
+
# @method delete_auto_scaling_group(options = {})
|
|
126
|
+
#
|
|
127
|
+
# === Options:
|
|
128
|
+
#
|
|
129
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
130
|
+
# * +:force_delete+ - (Boolean)
|
|
131
|
+
#
|
|
132
|
+
# === Response Structure:
|
|
133
|
+
#
|
|
134
|
+
# This method returns no response data.
|
|
135
|
+
#
|
|
136
|
+
# @return [Core::Response]
|
|
137
|
+
#
|
|
138
|
+
define_client_method :delete_auto_scaling_group, 'DeleteAutoScalingGroup'
|
|
139
|
+
|
|
140
|
+
# Calls the DeleteLaunchConfiguration API operation.
|
|
141
|
+
# @method delete_launch_configuration(options = {})
|
|
142
|
+
#
|
|
143
|
+
# === Options:
|
|
144
|
+
#
|
|
145
|
+
# * +:launch_configuration_name+ - *required* - (String)
|
|
146
|
+
#
|
|
147
|
+
# === Response Structure:
|
|
148
|
+
#
|
|
149
|
+
# This method returns no response data.
|
|
150
|
+
#
|
|
151
|
+
# @return [Core::Response]
|
|
152
|
+
#
|
|
153
|
+
define_client_method :delete_launch_configuration, 'DeleteLaunchConfiguration'
|
|
154
|
+
|
|
155
|
+
# Calls the DeleteNotificationConfiguration API operation.
|
|
156
|
+
# @method delete_notification_configuration(options = {})
|
|
157
|
+
#
|
|
158
|
+
# === Options:
|
|
159
|
+
#
|
|
160
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
161
|
+
# * +:topic_arn+ - *required* - (String)
|
|
162
|
+
#
|
|
163
|
+
# === Response Structure:
|
|
164
|
+
#
|
|
165
|
+
# This method returns no response data.
|
|
166
|
+
#
|
|
167
|
+
# @return [Core::Response]
|
|
168
|
+
#
|
|
169
|
+
define_client_method :delete_notification_configuration, 'DeleteNotificationConfiguration'
|
|
170
|
+
|
|
171
|
+
# Calls the DeletePolicy API operation.
|
|
172
|
+
# @method delete_policy(options = {})
|
|
173
|
+
#
|
|
174
|
+
# === Options:
|
|
175
|
+
#
|
|
176
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
177
|
+
# * +:policy_name+ - *required* - (String)
|
|
178
|
+
#
|
|
179
|
+
# === Response Structure:
|
|
180
|
+
#
|
|
181
|
+
# This method returns no response data.
|
|
182
|
+
#
|
|
183
|
+
# @return [Core::Response]
|
|
184
|
+
#
|
|
185
|
+
define_client_method :delete_policy, 'DeletePolicy'
|
|
186
|
+
|
|
187
|
+
# Calls the DeleteScheduledAction API operation.
|
|
188
|
+
# @method delete_scheduled_action(options = {})
|
|
189
|
+
#
|
|
190
|
+
# === Options:
|
|
191
|
+
#
|
|
192
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
193
|
+
# * +:scheduled_action_name+ - *required* - (String)
|
|
194
|
+
#
|
|
195
|
+
# === Response Structure:
|
|
196
|
+
#
|
|
197
|
+
# This method returns no response data.
|
|
198
|
+
#
|
|
199
|
+
# @return [Core::Response]
|
|
200
|
+
#
|
|
201
|
+
define_client_method :delete_scheduled_action, 'DeleteScheduledAction'
|
|
202
|
+
|
|
203
|
+
# Calls the DeleteTags API operation.
|
|
204
|
+
# @method delete_tags(options = {})
|
|
205
|
+
#
|
|
206
|
+
# === Options:
|
|
207
|
+
#
|
|
208
|
+
# * +:tags+ - *required* - (Array<Hash>)
|
|
209
|
+
# * +:resource_id+ - (String)
|
|
210
|
+
# * +:resource_type+ - (String)
|
|
211
|
+
# * +:key+ - *required* - (String)
|
|
212
|
+
# * +:value+ - (String)
|
|
213
|
+
# * +:propagate_at_launch+ - (Boolean)
|
|
214
|
+
#
|
|
215
|
+
# === Response Structure:
|
|
216
|
+
#
|
|
217
|
+
# This method returns no response data.
|
|
218
|
+
#
|
|
219
|
+
# @return [Core::Response]
|
|
220
|
+
#
|
|
221
|
+
define_client_method :delete_tags, 'DeleteTags'
|
|
222
|
+
|
|
223
|
+
# Calls the DescribeAdjustmentTypes API operation.
|
|
224
|
+
# @method describe_adjustment_types(options = {})
|
|
225
|
+
#
|
|
226
|
+
# === Options:
|
|
227
|
+
#
|
|
228
|
+
# This method accepts no options.
|
|
229
|
+
#
|
|
230
|
+
# === Response Structure:
|
|
231
|
+
#
|
|
232
|
+
# * +:adjustment_types+ - (Array<Hash>)
|
|
233
|
+
# * +:adjustment_type+ - (String)
|
|
234
|
+
#
|
|
235
|
+
# @return [Core::Response]
|
|
236
|
+
#
|
|
237
|
+
define_client_method :describe_adjustment_types, 'DescribeAdjustmentTypes'
|
|
238
|
+
|
|
239
|
+
# Calls the DescribeAutoScalingGroups API operation.
|
|
240
|
+
# @method describe_auto_scaling_groups(options = {})
|
|
241
|
+
#
|
|
242
|
+
# === Options:
|
|
243
|
+
#
|
|
244
|
+
# * +:auto_scaling_group_names+ - (Array<String>)
|
|
245
|
+
# * +:next_token+ - (String)
|
|
246
|
+
# * +:max_records+ - (Integer)
|
|
247
|
+
#
|
|
248
|
+
# === Response Structure:
|
|
249
|
+
#
|
|
250
|
+
# * +:auto_scaling_groups+ - (Array<Hash>)
|
|
251
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
252
|
+
# * +:auto_scaling_group_arn+ - (String)
|
|
253
|
+
# * +:launch_configuration_name+ - (String)
|
|
254
|
+
# * +:min_size+ - (Integer)
|
|
255
|
+
# * +:max_size+ - (Integer)
|
|
256
|
+
# * +:desired_capacity+ - (Integer)
|
|
257
|
+
# * +:default_cooldown+ - (Integer)
|
|
258
|
+
# * +:availability_zones+ - (Array<String>)
|
|
259
|
+
# * +:load_balancer_names+ - (Array<String>)
|
|
260
|
+
# * +:health_check_type+ - (String)
|
|
261
|
+
# * +:health_check_grace_period+ - (Integer)
|
|
262
|
+
# * +:instances+ - (Array<Hash>)
|
|
263
|
+
# * +:instance_id+ - (String)
|
|
264
|
+
# * +:availability_zone+ - (String)
|
|
265
|
+
# * +:lifecycle_state+ - (String)
|
|
266
|
+
# * +:health_status+ - (String)
|
|
267
|
+
# * +:launch_configuration_name+ - (String)
|
|
268
|
+
# * +:created_time+ - (Time)
|
|
269
|
+
# * +:suspended_processes+ - (Array<Hash>)
|
|
270
|
+
# * +:process_name+ - (String)
|
|
271
|
+
# * +:suspension_reason+ - (String)
|
|
272
|
+
# * +:placement_group+ - (String)
|
|
273
|
+
# * +:vpc_zone_identifier+ - (String)
|
|
274
|
+
# * +:enabled_metrics+ - (Array<Hash>)
|
|
275
|
+
# * +:metric+ - (String)
|
|
276
|
+
# * +:granularity+ - (String)
|
|
277
|
+
# * +:status+ - (String)
|
|
278
|
+
# * +:tags+ - (Array<Hash>)
|
|
279
|
+
# * +:resource_id+ - (String)
|
|
280
|
+
# * +:resource_type+ - (String)
|
|
281
|
+
# * +:key+ - (String)
|
|
282
|
+
# * +:value+ - (String)
|
|
283
|
+
# * +:propagate_at_launch+ - (Boolean)
|
|
284
|
+
# * +:next_token+ - (String)
|
|
285
|
+
#
|
|
286
|
+
# @return [Core::Response]
|
|
287
|
+
#
|
|
288
|
+
define_client_method :describe_auto_scaling_groups, 'DescribeAutoScalingGroups'
|
|
289
|
+
|
|
290
|
+
# Calls the DescribeAutoScalingInstances API operation.
|
|
291
|
+
# @method describe_auto_scaling_instances(options = {})
|
|
292
|
+
#
|
|
293
|
+
# === Options:
|
|
294
|
+
#
|
|
295
|
+
# * +:instance_ids+ - (Array<String>)
|
|
296
|
+
# * +:max_records+ - (Integer)
|
|
297
|
+
# * +:next_token+ - (String)
|
|
298
|
+
#
|
|
299
|
+
# === Response Structure:
|
|
300
|
+
#
|
|
301
|
+
# * +:auto_scaling_instances+ - (Array<Hash>)
|
|
302
|
+
# * +:instance_id+ - (String)
|
|
303
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
304
|
+
# * +:availability_zone+ - (String)
|
|
305
|
+
# * +:lifecycle_state+ - (String)
|
|
306
|
+
# * +:health_status+ - (String)
|
|
307
|
+
# * +:launch_configuration_name+ - (String)
|
|
308
|
+
# * +:next_token+ - (String)
|
|
309
|
+
#
|
|
310
|
+
# @return [Core::Response]
|
|
311
|
+
#
|
|
312
|
+
define_client_method :describe_auto_scaling_instances, 'DescribeAutoScalingInstances'
|
|
313
|
+
|
|
314
|
+
# Calls the DescribeAutoScalingNotificationTypes API operation.
|
|
315
|
+
# @method describe_auto_scaling_notification_types(options = {})
|
|
316
|
+
#
|
|
317
|
+
# === Options:
|
|
318
|
+
#
|
|
319
|
+
# This method accepts no options.
|
|
320
|
+
#
|
|
321
|
+
# === Response Structure:
|
|
322
|
+
#
|
|
323
|
+
# * +:auto_scaling_notification_types+ - (Array<String>)
|
|
324
|
+
#
|
|
325
|
+
# @return [Core::Response]
|
|
326
|
+
#
|
|
327
|
+
define_client_method :describe_auto_scaling_notification_types, 'DescribeAutoScalingNotificationTypes'
|
|
328
|
+
|
|
329
|
+
# Calls the DescribeLaunchConfigurations API operation.
|
|
330
|
+
# @method describe_launch_configurations(options = {})
|
|
331
|
+
#
|
|
332
|
+
# === Options:
|
|
333
|
+
#
|
|
334
|
+
# * +:launch_configuration_names+ - (Array<String>)
|
|
335
|
+
# * +:next_token+ - (String)
|
|
336
|
+
# * +:max_records+ - (Integer)
|
|
337
|
+
#
|
|
338
|
+
# === Response Structure:
|
|
339
|
+
#
|
|
340
|
+
# * +:launch_configurations+ - (Array<Hash>)
|
|
341
|
+
# * +:launch_configuration_name+ - (String)
|
|
342
|
+
# * +:launch_configuration_arn+ - (String)
|
|
343
|
+
# * +:image_id+ - (String)
|
|
344
|
+
# * +:key_name+ - (String)
|
|
345
|
+
# * +:security_groups+ - (Array<String>)
|
|
346
|
+
# * +:user_data+ - (String)
|
|
347
|
+
# * +:instance_type+ - (String)
|
|
348
|
+
# * +:kernel_id+ - (String)
|
|
349
|
+
# * +:ramdisk_id+ - (String)
|
|
350
|
+
# * +:block_device_mappings+ - (Array<Hash>)
|
|
351
|
+
# * +:virtual_name+ - (String)
|
|
352
|
+
# * +:device_name+ - (String)
|
|
353
|
+
# * +:ebs+ - (Hash)
|
|
354
|
+
# * +:snapshot_id+ - (String)
|
|
355
|
+
# * +:volume_size+ - (Integer)
|
|
356
|
+
# * +:instance_monitoring+ - (Hash)
|
|
357
|
+
# * +:enabled+ - (Boolean)
|
|
358
|
+
# * +:created_time+ - (Time)
|
|
359
|
+
# * +:next_token+ - (String)
|
|
360
|
+
#
|
|
361
|
+
# @return [Core::Response]
|
|
362
|
+
#
|
|
363
|
+
define_client_method :describe_launch_configurations, 'DescribeLaunchConfigurations'
|
|
364
|
+
|
|
365
|
+
# Calls the DescribeMetricCollectionTypes API operation.
|
|
366
|
+
# @method describe_metric_collection_types(options = {})
|
|
367
|
+
#
|
|
368
|
+
# === Options:
|
|
369
|
+
#
|
|
370
|
+
# This method accepts no options.
|
|
371
|
+
#
|
|
372
|
+
# === Response Structure:
|
|
373
|
+
#
|
|
374
|
+
# * +:metrics+ - (Array<Hash>)
|
|
375
|
+
# * +:metric+ - (String)
|
|
376
|
+
# * +:granularities+ - (Array<Hash>)
|
|
377
|
+
# * +:granularity+ - (String)
|
|
378
|
+
#
|
|
379
|
+
# @return [Core::Response]
|
|
380
|
+
#
|
|
381
|
+
define_client_method :describe_metric_collection_types, 'DescribeMetricCollectionTypes'
|
|
382
|
+
|
|
383
|
+
# Calls the DescribeNotificationConfigurations API operation.
|
|
384
|
+
# @method describe_notification_configurations(options = {})
|
|
385
|
+
#
|
|
386
|
+
# === Options:
|
|
387
|
+
#
|
|
388
|
+
# * +:auto_scaling_group_names+ - (Array<String>)
|
|
389
|
+
# * +:next_token+ - (String)
|
|
390
|
+
# * +:max_records+ - (Integer)
|
|
391
|
+
#
|
|
392
|
+
# === Response Structure:
|
|
393
|
+
#
|
|
394
|
+
# * +:notification_configurations+ - (Array<Hash>)
|
|
395
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
396
|
+
# * +:topic_arn+ - (String)
|
|
397
|
+
# * +:notification_type+ - (String)
|
|
398
|
+
# * +:next_token+ - (String)
|
|
399
|
+
#
|
|
400
|
+
# @return [Core::Response]
|
|
401
|
+
#
|
|
402
|
+
define_client_method :describe_notification_configurations, 'DescribeNotificationConfigurations'
|
|
403
|
+
|
|
404
|
+
# Calls the DescribePolicies API operation.
|
|
405
|
+
# @method describe_policies(options = {})
|
|
406
|
+
#
|
|
407
|
+
# === Options:
|
|
408
|
+
#
|
|
409
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
410
|
+
# * +:policy_names+ - (Array<String>)
|
|
411
|
+
# * +:next_token+ - (String)
|
|
412
|
+
# * +:max_records+ - (Integer)
|
|
413
|
+
#
|
|
414
|
+
# === Response Structure:
|
|
415
|
+
#
|
|
416
|
+
# * +:scaling_policies+ - (Array<Hash>)
|
|
417
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
418
|
+
# * +:policy_name+ - (String)
|
|
419
|
+
# * +:scaling_adjustment+ - (Integer)
|
|
420
|
+
# * +:adjustment_type+ - (String)
|
|
421
|
+
# * +:cooldown+ - (Integer)
|
|
422
|
+
# * +:policy_arn+ - (String)
|
|
423
|
+
# * +:alarms+ - (Array<Hash>)
|
|
424
|
+
# * +:alarm_name+ - (String)
|
|
425
|
+
# * +:alarm_arn+ - (String)
|
|
426
|
+
# * +:min_adjustment_magnitude+ - (Integer)
|
|
427
|
+
# * +:next_token+ - (String)
|
|
428
|
+
#
|
|
429
|
+
# @return [Core::Response]
|
|
430
|
+
#
|
|
431
|
+
define_client_method :describe_policies, 'DescribePolicies'
|
|
432
|
+
|
|
433
|
+
# Calls the DescribeScalingActivities API operation.
|
|
434
|
+
# @method describe_scaling_activities(options = {})
|
|
435
|
+
#
|
|
436
|
+
# === Options:
|
|
437
|
+
#
|
|
438
|
+
# * +:activity_ids+ - (Array<String>)
|
|
439
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
440
|
+
# * +:max_records+ - (Integer)
|
|
441
|
+
# * +:next_token+ - (String)
|
|
442
|
+
#
|
|
443
|
+
# === Response Structure:
|
|
444
|
+
#
|
|
445
|
+
# * +:activities+ - (Array<Hash>)
|
|
446
|
+
# * +:activity_id+ - (String)
|
|
447
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
448
|
+
# * +:description+ - (String)
|
|
449
|
+
# * +:cause+ - (String)
|
|
450
|
+
# * +:start_time+ - (Time)
|
|
451
|
+
# * +:end_time+ - (Time)
|
|
452
|
+
# * +:status_code+ - (String)
|
|
453
|
+
# * +:status_message+ - (String)
|
|
454
|
+
# * +:progress+ - (Integer)
|
|
455
|
+
# * +:details+ - (String)
|
|
456
|
+
# * +:next_token+ - (String)
|
|
457
|
+
#
|
|
458
|
+
# @return [Core::Response]
|
|
459
|
+
#
|
|
460
|
+
define_client_method :describe_scaling_activities, 'DescribeScalingActivities'
|
|
461
|
+
|
|
462
|
+
# Calls the DescribeScalingProcessTypes API operation.
|
|
463
|
+
# @method describe_scaling_process_types(options = {})
|
|
464
|
+
#
|
|
465
|
+
# === Options:
|
|
466
|
+
#
|
|
467
|
+
# This method accepts no options.
|
|
468
|
+
#
|
|
469
|
+
# === Response Structure:
|
|
470
|
+
#
|
|
471
|
+
# * +:processes+ - (Array<Hash>)
|
|
472
|
+
# * +:process_name+ - (String)
|
|
473
|
+
#
|
|
474
|
+
# @return [Core::Response]
|
|
475
|
+
#
|
|
476
|
+
define_client_method :describe_scaling_process_types, 'DescribeScalingProcessTypes'
|
|
477
|
+
|
|
478
|
+
# Calls the DescribeScheduledActions API operation.
|
|
479
|
+
# @method describe_scheduled_actions(options = {})
|
|
480
|
+
#
|
|
481
|
+
# === Options:
|
|
482
|
+
#
|
|
483
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
484
|
+
# * +:scheduled_action_names+ - (Array<String>)
|
|
485
|
+
# * +:start_time+ - (String<ISO8601 datetime>)
|
|
486
|
+
# * +:end_time+ - (String<ISO8601 datetime>)
|
|
487
|
+
# * +:next_token+ - (String)
|
|
488
|
+
# * +:max_records+ - (Integer)
|
|
489
|
+
#
|
|
490
|
+
# === Response Structure:
|
|
491
|
+
#
|
|
492
|
+
# * +:scheduled_update_group_actions+ - (Array<Hash>)
|
|
493
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
494
|
+
# * +:scheduled_action_name+ - (String)
|
|
495
|
+
# * +:scheduled_action_arn+ - (String)
|
|
496
|
+
# * +:time+ - (Time)
|
|
497
|
+
# * +:start_time+ - (Time)
|
|
498
|
+
# * +:end_time+ - (Time)
|
|
499
|
+
# * +:recurrence+ - (String)
|
|
500
|
+
# * +:min_size+ - (Integer)
|
|
501
|
+
# * +:max_size+ - (Integer)
|
|
502
|
+
# * +:desired_capacity+ - (Integer)
|
|
503
|
+
# * +:next_token+ - (String)
|
|
504
|
+
#
|
|
505
|
+
# @return [Core::Response]
|
|
506
|
+
#
|
|
507
|
+
define_client_method :describe_scheduled_actions, 'DescribeScheduledActions'
|
|
508
|
+
|
|
509
|
+
# Calls the DescribeTags API operation.
|
|
510
|
+
# @method describe_tags(options = {})
|
|
511
|
+
#
|
|
512
|
+
# === Options:
|
|
513
|
+
#
|
|
514
|
+
# * +:filters+ - (Array<Hash>)
|
|
515
|
+
# * +:name+ - (String)
|
|
516
|
+
# * +:values+ - (Array<String>)
|
|
517
|
+
# * +:next_token+ - (String)
|
|
518
|
+
# * +:max_records+ - (Integer)
|
|
519
|
+
#
|
|
520
|
+
# === Response Structure:
|
|
521
|
+
#
|
|
522
|
+
# * +:tags+ - (Array<Hash>)
|
|
523
|
+
# * +:resource_id+ - (String)
|
|
524
|
+
# * +:resource_type+ - (String)
|
|
525
|
+
# * +:key+ - (String)
|
|
526
|
+
# * +:value+ - (String)
|
|
527
|
+
# * +:propagate_at_launch+ - (Boolean)
|
|
528
|
+
# * +:next_token+ - (String)
|
|
529
|
+
#
|
|
530
|
+
# @return [Core::Response]
|
|
531
|
+
#
|
|
532
|
+
define_client_method :describe_tags, 'DescribeTags'
|
|
533
|
+
|
|
534
|
+
# Calls the DisableMetricsCollection API operation.
|
|
535
|
+
# @method disable_metrics_collection(options = {})
|
|
536
|
+
#
|
|
537
|
+
# === Options:
|
|
538
|
+
#
|
|
539
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
540
|
+
# * +:metrics+ - (Array<String>)
|
|
541
|
+
#
|
|
542
|
+
# === Response Structure:
|
|
543
|
+
#
|
|
544
|
+
# This method returns no response data.
|
|
545
|
+
#
|
|
546
|
+
# @return [Core::Response]
|
|
547
|
+
#
|
|
548
|
+
define_client_method :disable_metrics_collection, 'DisableMetricsCollection'
|
|
549
|
+
|
|
550
|
+
# Calls the EnableMetricsCollection API operation.
|
|
551
|
+
# @method enable_metrics_collection(options = {})
|
|
552
|
+
#
|
|
553
|
+
# === Options:
|
|
554
|
+
#
|
|
555
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
556
|
+
# * +:metrics+ - (Array<String>)
|
|
557
|
+
# * +:granularity+ - *required* - (String)
|
|
558
|
+
#
|
|
559
|
+
# === Response Structure:
|
|
560
|
+
#
|
|
561
|
+
# This method returns no response data.
|
|
562
|
+
#
|
|
563
|
+
# @return [Core::Response]
|
|
564
|
+
#
|
|
565
|
+
define_client_method :enable_metrics_collection, 'EnableMetricsCollection'
|
|
566
|
+
|
|
567
|
+
# Calls the ExecutePolicy API operation.
|
|
568
|
+
# @method execute_policy(options = {})
|
|
569
|
+
#
|
|
570
|
+
# === Options:
|
|
571
|
+
#
|
|
572
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
573
|
+
# * +:policy_name+ - *required* - (String)
|
|
574
|
+
# * +:honor_cooldown+ - (Boolean)
|
|
575
|
+
#
|
|
576
|
+
# === Response Structure:
|
|
577
|
+
#
|
|
578
|
+
# This method returns no response data.
|
|
579
|
+
#
|
|
580
|
+
# @return [Core::Response]
|
|
581
|
+
#
|
|
582
|
+
define_client_method :execute_policy, 'ExecutePolicy'
|
|
583
|
+
|
|
584
|
+
# Calls the PutNotificationConfiguration API operation.
|
|
585
|
+
# @method put_notification_configuration(options = {})
|
|
586
|
+
#
|
|
587
|
+
# === Options:
|
|
588
|
+
#
|
|
589
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
590
|
+
# * +:topic_arn+ - *required* - (String)
|
|
591
|
+
# * +:notification_types+ - *required* - (Array<String>)
|
|
592
|
+
#
|
|
593
|
+
# === Response Structure:
|
|
594
|
+
#
|
|
595
|
+
# This method returns no response data.
|
|
596
|
+
#
|
|
597
|
+
# @return [Core::Response]
|
|
598
|
+
#
|
|
599
|
+
define_client_method :put_notification_configuration, 'PutNotificationConfiguration'
|
|
600
|
+
|
|
601
|
+
# Calls the PutScalingPolicy API operation.
|
|
602
|
+
# @method put_scaling_policy(options = {})
|
|
603
|
+
#
|
|
604
|
+
# === Options:
|
|
605
|
+
#
|
|
606
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
607
|
+
# * +:policy_name+ - *required* - (String)
|
|
608
|
+
# * +:scaling_adjustment+ - *required* - (Integer)
|
|
609
|
+
# * +:adjustment_type+ - *required* - (String)
|
|
610
|
+
# * +:cooldown+ - (Integer)
|
|
611
|
+
# * +:min_adjustment_magnitude+ - (Integer)
|
|
612
|
+
#
|
|
613
|
+
# === Response Structure:
|
|
614
|
+
#
|
|
615
|
+
# * +:policy_arn+ - (String)
|
|
616
|
+
#
|
|
617
|
+
# @return [Core::Response]
|
|
618
|
+
#
|
|
619
|
+
define_client_method :put_scaling_policy, 'PutScalingPolicy'
|
|
620
|
+
|
|
621
|
+
# Calls the PutScheduledUpdateGroupAction API operation.
|
|
622
|
+
# @method put_scheduled_update_group_action(options = {})
|
|
623
|
+
#
|
|
624
|
+
# === Options:
|
|
625
|
+
#
|
|
626
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
627
|
+
# * +:scheduled_action_name+ - *required* - (String)
|
|
628
|
+
# * +:time+ - (String<ISO8601 datetime>)
|
|
629
|
+
# * +:start_time+ - (String<ISO8601 datetime>)
|
|
630
|
+
# * +:end_time+ - (String<ISO8601 datetime>)
|
|
631
|
+
# * +:recurrence+ - (String)
|
|
632
|
+
# * +:min_size+ - (Integer)
|
|
633
|
+
# * +:max_size+ - (Integer)
|
|
634
|
+
# * +:desired_capacity+ - (Integer)
|
|
635
|
+
#
|
|
636
|
+
# === Response Structure:
|
|
637
|
+
#
|
|
638
|
+
# This method returns no response data.
|
|
639
|
+
#
|
|
640
|
+
# @return [Core::Response]
|
|
641
|
+
#
|
|
642
|
+
define_client_method :put_scheduled_update_group_action, 'PutScheduledUpdateGroupAction'
|
|
643
|
+
|
|
644
|
+
# Calls the ResumeProcesses API operation.
|
|
645
|
+
# @method resume_processes(options = {})
|
|
646
|
+
#
|
|
647
|
+
# === Options:
|
|
648
|
+
#
|
|
649
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
650
|
+
# * +:scaling_processes+ - (Array<String>)
|
|
651
|
+
#
|
|
652
|
+
# === Response Structure:
|
|
653
|
+
#
|
|
654
|
+
# This method returns no response data.
|
|
655
|
+
#
|
|
656
|
+
# @return [Core::Response]
|
|
657
|
+
#
|
|
658
|
+
define_client_method :resume_processes, 'ResumeProcesses'
|
|
659
|
+
|
|
660
|
+
# Calls the SetDesiredCapacity API operation.
|
|
661
|
+
# @method set_desired_capacity(options = {})
|
|
662
|
+
#
|
|
663
|
+
# === Options:
|
|
664
|
+
#
|
|
665
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
666
|
+
# * +:desired_capacity+ - *required* - (Integer)
|
|
667
|
+
# * +:honor_cooldown+ - (Boolean)
|
|
668
|
+
#
|
|
669
|
+
# === Response Structure:
|
|
670
|
+
#
|
|
671
|
+
# This method returns no response data.
|
|
672
|
+
#
|
|
673
|
+
# @return [Core::Response]
|
|
674
|
+
#
|
|
675
|
+
define_client_method :set_desired_capacity, 'SetDesiredCapacity'
|
|
676
|
+
|
|
677
|
+
# Calls the SetInstanceHealth API operation.
|
|
678
|
+
# @method set_instance_health(options = {})
|
|
679
|
+
#
|
|
680
|
+
# === Options:
|
|
681
|
+
#
|
|
682
|
+
# * +:instance_id+ - *required* - (String)
|
|
683
|
+
# * +:health_status+ - *required* - (String)
|
|
684
|
+
# * +:should_respect_grace_period+ - (Boolean)
|
|
685
|
+
#
|
|
686
|
+
# === Response Structure:
|
|
687
|
+
#
|
|
688
|
+
# This method returns no response data.
|
|
689
|
+
#
|
|
690
|
+
# @return [Core::Response]
|
|
691
|
+
#
|
|
692
|
+
define_client_method :set_instance_health, 'SetInstanceHealth'
|
|
693
|
+
|
|
694
|
+
# Calls the SuspendProcesses API operation.
|
|
695
|
+
# @method suspend_processes(options = {})
|
|
696
|
+
#
|
|
697
|
+
# === Options:
|
|
698
|
+
#
|
|
699
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
700
|
+
# * +:scaling_processes+ - (Array<String>)
|
|
701
|
+
#
|
|
702
|
+
# === Response Structure:
|
|
703
|
+
#
|
|
704
|
+
# This method returns no response data.
|
|
705
|
+
#
|
|
706
|
+
# @return [Core::Response]
|
|
707
|
+
#
|
|
708
|
+
define_client_method :suspend_processes, 'SuspendProcesses'
|
|
709
|
+
|
|
710
|
+
# Calls the TerminateInstanceInAutoScalingGroup API operation.
|
|
711
|
+
# @method terminate_instance_in_auto_scaling_group(options = {})
|
|
712
|
+
#
|
|
713
|
+
# === Options:
|
|
714
|
+
#
|
|
715
|
+
# * +:instance_id+ - *required* - (String)
|
|
716
|
+
# * +:should_decrement_desired_capacity+ - *required* - (Boolean)
|
|
717
|
+
#
|
|
718
|
+
# === Response Structure:
|
|
719
|
+
#
|
|
720
|
+
# * +:activity+ - (Hash)
|
|
721
|
+
# * +:activity_id+ - (String)
|
|
722
|
+
# * +:auto_scaling_group_name+ - (String)
|
|
723
|
+
# * +:description+ - (String)
|
|
724
|
+
# * +:cause+ - (String)
|
|
725
|
+
# * +:start_time+ - (Time)
|
|
726
|
+
# * +:end_time+ - (Time)
|
|
727
|
+
# * +:status_code+ - (String)
|
|
728
|
+
# * +:status_message+ - (String)
|
|
729
|
+
# * +:progress+ - (Integer)
|
|
730
|
+
# * +:details+ - (String)
|
|
731
|
+
#
|
|
732
|
+
# @return [Core::Response]
|
|
733
|
+
#
|
|
734
|
+
define_client_method :terminate_instance_in_auto_scaling_group, 'TerminateInstanceInAutoScalingGroup'
|
|
735
|
+
|
|
736
|
+
# Calls the UpdateAutoScalingGroup API operation.
|
|
737
|
+
# @method update_auto_scaling_group(options = {})
|
|
738
|
+
#
|
|
739
|
+
# === Options:
|
|
740
|
+
#
|
|
741
|
+
# * +:auto_scaling_group_name+ - *required* - (String)
|
|
742
|
+
# * +:launch_configuration_name+ - (String)
|
|
743
|
+
# * +:min_size+ - (Integer)
|
|
744
|
+
# * +:max_size+ - (Integer)
|
|
745
|
+
# * +:desired_capacity+ - (Integer)
|
|
746
|
+
# * +:default_cooldown+ - (Integer)
|
|
747
|
+
# * +:availability_zones+ - (Array<String>)
|
|
748
|
+
# * +:health_check_type+ - (String)
|
|
749
|
+
# * +:health_check_grace_period+ - (Integer)
|
|
750
|
+
# * +:placement_group+ - (String)
|
|
751
|
+
# * +:vpc_zone_identifier+ - (String)
|
|
752
|
+
#
|
|
753
|
+
# === Response Structure:
|
|
754
|
+
#
|
|
755
|
+
# This method returns no response data.
|
|
756
|
+
#
|
|
757
|
+
# @return [Core::Response]
|
|
758
|
+
#
|
|
759
|
+
define_client_method :update_auto_scaling_group, 'UpdateAutoScalingGroup'
|
|
760
|
+
|
|
761
|
+
## end client methods ##
|
|
47
762
|
|
|
48
763
|
end
|
|
49
764
|
end
|