aws-sdk 1.5.8 → 1.6.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.
Files changed (53) hide show
  1. data/lib/aws.rb +2 -0
  2. data/lib/aws/api_config/Route53-2012-02-29.yml +348 -0
  3. data/lib/aws/auto_scaling/client.rb +362 -588
  4. data/lib/aws/cloud_formation/client.rb +155 -224
  5. data/lib/aws/cloud_watch/client.rb +156 -229
  6. data/lib/aws/core.rb +67 -52
  7. data/lib/aws/core/client.rb +81 -82
  8. data/lib/aws/core/collection/with_limit_and_next_token.rb +2 -2
  9. data/lib/aws/core/configuration.rb +75 -72
  10. data/lib/aws/core/http/net_http_handler.rb +3 -3
  11. data/lib/aws/core/http/request.rb +107 -138
  12. data/lib/aws/core/inflection.rb +3 -3
  13. data/lib/aws/core/json_client.rb +106 -0
  14. data/lib/aws/core/option_grammar.rb +10 -1
  15. data/lib/aws/core/options/validator.rb +140 -0
  16. data/lib/aws/core/options/xml_serializer.rb +98 -0
  17. data/lib/aws/core/query_client.rb +131 -0
  18. data/lib/aws/core/rest_client.rb +90 -0
  19. data/lib/aws/core/rest_client/input_handler.rb +145 -0
  20. data/lib/aws/core/rest_client/output_handler.rb +43 -0
  21. data/lib/aws/core/signature/version_2.rb +7 -7
  22. data/lib/aws/core/signature/version_3.rb +5 -1
  23. data/lib/aws/core/signature/version_3_https.rb +51 -0
  24. data/lib/aws/core/signature/version_4.rb +5 -22
  25. data/lib/aws/core/signer.rb +1 -1
  26. data/lib/aws/core/uri_escape.rb +2 -0
  27. data/lib/aws/core/xml/frame.rb +8 -8
  28. data/lib/aws/core/xml/grammar.rb +8 -3
  29. data/lib/aws/dynamo_db/client.rb +600 -662
  30. data/lib/aws/ec2/client.rb +2688 -3492
  31. data/lib/aws/ec2/request.rb +0 -1
  32. data/lib/aws/elb/client.rb +280 -407
  33. data/lib/aws/emr/client.rb +7 -7
  34. data/lib/aws/iam/client.rb +822 -1268
  35. data/lib/aws/route_53.rb +71 -0
  36. data/lib/aws/route_53/client.rb +272 -0
  37. data/lib/aws/route_53/config.rb +18 -0
  38. data/lib/aws/route_53/errors.rb +22 -0
  39. data/lib/aws/route_53/request.rb +23 -0
  40. data/lib/aws/s3/object_version_collection.rb +6 -6
  41. data/lib/aws/s3/paginated_collection.rb +1 -1
  42. data/lib/aws/s3/request.rb +10 -5
  43. data/lib/aws/simple_db/client.rb +184 -234
  44. data/lib/aws/simple_email_service/client.rb +147 -238
  45. data/lib/aws/simple_workflow/client.rb +997 -1191
  46. data/lib/aws/sns/client.rb +176 -264
  47. data/lib/aws/sqs/client.rb +162 -253
  48. data/lib/aws/sqs/queue.rb +1 -1
  49. data/lib/aws/sqs/request.rb +4 -0
  50. data/lib/aws/sts/client.rb +57 -66
  51. metadata +95 -71
  52. data/lib/aws/core/client/query_json.rb +0 -112
  53. data/lib/aws/core/client/query_xml.rb +0 -122
data/lib/aws.rb CHANGED
@@ -21,6 +21,7 @@ require 'aws/ec2/config'
21
21
  require 'aws/emr/config'
22
22
  require 'aws/elb/config'
23
23
  require 'aws/iam/config'
24
+ require 'aws/route_53/config'
24
25
  require 'aws/s3/config'
25
26
  require 'aws/simple_db/config'
26
27
  require 'aws/simple_email_service/config'
@@ -39,6 +40,7 @@ module AWS
39
40
  autoload :EMR, 'emr'
40
41
  autoload :ELB, 'elb'
41
42
  autoload :IAM, 'iam'
43
+ autoload :Route53, 'route_53'
42
44
  autoload :S3, 's3'
43
45
  autoload :SimpleDB, 'simple_db'
44
46
  autoload :SimpleEmailService, 'simple_email_service'
@@ -0,0 +1,348 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ ---
15
+ :namespace: https://route53.amazonaws.com/doc/2012-02-29/
16
+ :operations:
17
+ :change_resource_record_sets:
18
+ :name: ChangeResourceRecordSets
19
+ :http:
20
+ :verb: POST
21
+ :uri: /2012-02-29/hostedzone/:hosted_zone_id/rrset/
22
+ :inputs:
23
+ :hosted_zone_id:
24
+ :type: :string
25
+ :required: true
26
+ :lstrip: /hostedzone/
27
+ :change_batch:
28
+ :name: ChangeBatch
29
+ :type: :hash
30
+ :required: true
31
+ :members:
32
+ :comment:
33
+ :name: Comment
34
+ :type: :string
35
+ :changes:
36
+ :name: Changes
37
+ :type: :array
38
+ :required: true
39
+ :members:
40
+ :name: Change
41
+ :type: :hash
42
+ :members:
43
+ :action:
44
+ :name: Action
45
+ :type: :string
46
+ :required: true
47
+ :resource_record_set:
48
+ :name: ResourceRecordSet
49
+ :type: :hash
50
+ :required: true
51
+ :members:
52
+ :name:
53
+ :name: Name
54
+ :type: :string
55
+ :required: true
56
+ :type:
57
+ :name: Type
58
+ :type: :string
59
+ :required: true
60
+ :set_identifier:
61
+ :name: SetIdentifier
62
+ :type: :string
63
+ :weight:
64
+ :name: Weight
65
+ :type: :integer
66
+ :region:
67
+ :name: Region
68
+ :type: :string
69
+ :ttl:
70
+ :name: TTL
71
+ :type: :integer
72
+ :resource_records:
73
+ :name: ResourceRecords
74
+ :type: :array
75
+ :members:
76
+ :name: ResourceRecord
77
+ :type: :hash
78
+ :members:
79
+ :value:
80
+ :name: Value
81
+ :type: :string
82
+ :required: true
83
+ :alias_target:
84
+ :name: AliasTarget
85
+ :type: :hash
86
+ :members:
87
+ :hosted_zone_id:
88
+ :name: HostedZoneId
89
+ :type: :string
90
+ :required: true
91
+ :lstrip: /hostedzone/
92
+ :dns_name:
93
+ :name: DNSName
94
+ :type: :string
95
+ :required: true
96
+ :outputs:
97
+ :children:
98
+ ChangeInfo:
99
+ :children:
100
+ Id:
101
+ :type: :string
102
+ Status:
103
+ :type: :string
104
+ SubmittedAt:
105
+ :type: :time
106
+ Comment:
107
+ :type: :string
108
+ :create_hosted_zone:
109
+ :name: CreateHostedZone
110
+ :http:
111
+ :verb: POST
112
+ :uri: /2012-02-29/hostedzone
113
+ :response_code: 201
114
+ :response_headers:
115
+ :location: Location
116
+ :inputs:
117
+ :name:
118
+ :name: Name
119
+ :type: :string
120
+ :required: true
121
+ :caller_reference:
122
+ :name: CallerReference
123
+ :type: :string
124
+ :required: true
125
+ :hosted_zone_config:
126
+ :name: HostedZoneConfig
127
+ :type: :hash
128
+ :members:
129
+ :comment:
130
+ :name: Comment
131
+ :type: :string
132
+ :outputs:
133
+ :children:
134
+ HostedZone:
135
+ :children:
136
+ Id:
137
+ :type: :string
138
+ Name:
139
+ :type: :string
140
+ CallerReference:
141
+ :type: :string
142
+ Config:
143
+ :children:
144
+ Comment:
145
+ :type: :string
146
+ ResourceRecordSetCount:
147
+ :type: :integer
148
+ ChangeInfo:
149
+ :children:
150
+ Id:
151
+ :type: :string
152
+ Status:
153
+ :type: :string
154
+ SubmittedAt:
155
+ :type: :time
156
+ Comment:
157
+ :type: :string
158
+ DelegationSet:
159
+ :children:
160
+ NameServers:
161
+ :ignore: true
162
+ :children:
163
+ NameServer:
164
+ :rename: :name_servers
165
+ :list: true
166
+ :type: :string
167
+ :delete_hosted_zone:
168
+ :name: DeleteHostedZone
169
+ :http:
170
+ :verb: DELETE
171
+ :uri: /2012-02-29/hostedzone/:id
172
+ :inputs:
173
+ :id:
174
+ :type: :string
175
+ :required: true
176
+ :lstrip: /hostedzone/
177
+ :outputs:
178
+ :children:
179
+ ChangeInfo:
180
+ :children:
181
+ Id:
182
+ :type: :string
183
+ Status:
184
+ :type: :string
185
+ SubmittedAt:
186
+ :type: :time
187
+ Comment:
188
+ :type: :string
189
+ :get_change:
190
+ :name: GetChange
191
+ :http:
192
+ :verb: GET
193
+ :uri: /2012-02-29/change/:id
194
+ :inputs:
195
+ :id:
196
+ :type: :string
197
+ :required: true
198
+ :lstrip: /change/
199
+ :outputs:
200
+ :children:
201
+ ChangeInfo:
202
+ :children:
203
+ Id:
204
+ :type: :string
205
+ Status:
206
+ :type: :string
207
+ SubmittedAt:
208
+ :type: :time
209
+ Comment:
210
+ :type: :string
211
+ :get_hosted_zone:
212
+ :name: GetHostedZone
213
+ :http:
214
+ :verb: GET
215
+ :uri: /2012-02-29/hostedzone/:id
216
+ :inputs:
217
+ :id:
218
+ :type: :string
219
+ :required: true
220
+ :lstrip: /hostedzone/
221
+ :outputs:
222
+ :children:
223
+ HostedZone:
224
+ :children:
225
+ Id:
226
+ :type: :string
227
+ Name:
228
+ :type: :string
229
+ CallerReference:
230
+ :type: :string
231
+ Config:
232
+ :children:
233
+ Comment:
234
+ :type: :string
235
+ ResourceRecordSetCount:
236
+ :type: :integer
237
+ DelegationSet:
238
+ :children:
239
+ NameServers:
240
+ :ignore: true
241
+ :children:
242
+ NameServer:
243
+ :rename: :name_servers
244
+ :list: true
245
+ :type: :string
246
+ :list_hosted_zones:
247
+ :name: ListHostedZones
248
+ :http:
249
+ :verb: GET
250
+ :uri: /2012-02-29/hostedzone?marker=:marker&maxitems=:max_items
251
+ :inputs:
252
+ :marker:
253
+ :type: :string
254
+ :max_items:
255
+ :type: :integer
256
+ :outputs:
257
+ :children:
258
+ HostedZones:
259
+ :ignore: true
260
+ :children:
261
+ HostedZone:
262
+ :rename: :hosted_zones
263
+ :list: true
264
+ :children:
265
+ Id:
266
+ :type: :string
267
+ Name:
268
+ :type: :string
269
+ CallerReference:
270
+ :type: :string
271
+ Config:
272
+ :children:
273
+ Comment:
274
+ :type: :string
275
+ ResourceRecordSetCount:
276
+ :type: :integer
277
+ Marker:
278
+ :type: :string
279
+ IsTruncated:
280
+ :type: :boolean
281
+ NextMarker:
282
+ :type: :string
283
+ MaxItems:
284
+ :type: :integer
285
+ :list_resource_record_sets:
286
+ :name: ListResourceRecordSets
287
+ :http:
288
+ :verb: GET
289
+ :uri: /2012-02-29/hostedzone/:hosted_zone_id/rrset?type=:start_record_type&name=:start_record_name&identifier=:start_record_identifier&maxitems=:max_items
290
+ :inputs:
291
+ :hosted_zone_id:
292
+ :type: :string
293
+ :required: true
294
+ :lstrip: /hostedzone/
295
+ :start_record_name:
296
+ :type: :string
297
+ :start_record_type:
298
+ :type: :string
299
+ :start_record_identifier:
300
+ :type: :string
301
+ :max_items:
302
+ :type: :integer
303
+ :outputs:
304
+ :children:
305
+ ResourceRecordSets:
306
+ :ignore: true
307
+ :children:
308
+ ResourceRecordSet:
309
+ :rename: :resource_record_sets
310
+ :list: true
311
+ :children:
312
+ Name:
313
+ :type: :string
314
+ Type:
315
+ :type: :string
316
+ SetIdentifier:
317
+ :type: :string
318
+ Weight:
319
+ :type: :integer
320
+ Region:
321
+ :type: :string
322
+ TTL:
323
+ :type: :integer
324
+ ResourceRecords:
325
+ :ignore: true
326
+ :children:
327
+ ResourceRecord:
328
+ :rename: :resource_records
329
+ :list: true
330
+ :children:
331
+ Value:
332
+ :type: :string
333
+ AliasTarget:
334
+ :children:
335
+ HostedZoneId:
336
+ :type: :string
337
+ DNSName:
338
+ :type: :string
339
+ IsTruncated:
340
+ :type: :boolean
341
+ NextRecordName:
342
+ :type: :string
343
+ NextRecordType:
344
+ :type: :string
345
+ NextRecordIdentifier:
346
+ :type: :string
347
+ MaxItems:
348
+ :type: :integer
@@ -19,7 +19,7 @@ module AWS
19
19
 
20
20
  API_VERSION = '2011-01-01'
21
21
 
22
- extend Core::Client::QueryXML
22
+ extend Core::QueryClient
23
23
 
24
24
  # @private
25
25
  CACHEABLE_REQUESTS = Set[
@@ -41,725 +41,499 @@ module AWS
41
41
 
42
42
  # Calls the CreateAutoScalingGroup API operation.
43
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
- #
44
+ # @param [Hash] options
45
+ # * +:auto_scaling_group_name+ - *required* - (String)
46
+ # * +:launch_configuration_name+ - *required* - (String)
47
+ # * +:min_size+ - *required* - (Integer)
48
+ # * +:max_size+ - *required* - (Integer)
49
+ # * +:desired_capacity+ - (Integer)
50
+ # * +:default_cooldown+ - (Integer)
51
+ # * +:availability_zones+ - *required* - (Array<String>)
52
+ # * +:load_balancer_names+ - (Array<String>)
53
+ # * +:health_check_type+ - (String)
54
+ # * +:health_check_grace_period+ - (Integer)
55
+ # * +:placement_group+ - (String)
56
+ # * +:vpc_zone_identifier+ - (String)
57
+ # * +:tags+ - (Array<Hash>)
58
+ # * +:resource_id+ - (String)
59
+ # * +:resource_type+ - (String)
60
+ # * +:key+ - *required* - (String)
61
+ # * +:value+ - (String)
62
+ # * +:propagate_at_launch+ - (Boolean)
63
+ # @return [Core::Response]
72
64
  define_client_method :create_auto_scaling_group, 'CreateAutoScalingGroup'
73
65
 
74
66
  # Calls the CreateLaunchConfiguration API operation.
75
67
  # @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
- # * +:spot_price+ - (String)
96
- # * +:iam_instance_profile+ - (String)
97
- #
98
- # === Response Structure:
99
- #
100
- # This method returns no response data.
101
- #
102
- # @return [Core::Response]
103
- #
68
+ # @param [Hash] options
69
+ # * +:launch_configuration_name+ - *required* - (String)
70
+ # * +:image_id+ - *required* - (String)
71
+ # * +:key_name+ - (String)
72
+ # * +:security_groups+ - (Array<String>)
73
+ # * +:user_data+ - (String)
74
+ # * +:instance_type+ - *required* - (String)
75
+ # * +:kernel_id+ - (String)
76
+ # * +:ramdisk_id+ - (String)
77
+ # * +:block_device_mappings+ - (Array<Hash>)
78
+ # * +:virtual_name+ - (String)
79
+ # * +:device_name+ - *required* - (String)
80
+ # * +:ebs+ - (Hash)
81
+ # * +:snapshot_id+ - (String)
82
+ # * +:volume_size+ - (Integer)
83
+ # * +:instance_monitoring+ - (Hash)
84
+ # * +:enabled+ - (Boolean)
85
+ # * +:spot_price+ - (String)
86
+ # * +:iam_instance_profile+ - (String)
87
+ # @return [Core::Response]
104
88
  define_client_method :create_launch_configuration, 'CreateLaunchConfiguration'
105
89
 
106
90
  # Calls the CreateOrUpdateTags API operation.
107
91
  # @method create_or_update_tags(options = {})
108
- #
109
- # === Options:
110
- #
111
- # * +:tags+ - *required* - (Array<Hash>)
112
- # * +:resource_id+ - (String)
113
- # * +:resource_type+ - (String)
114
- # * +:key+ - *required* - (String)
115
- # * +:value+ - (String)
116
- # * +:propagate_at_launch+ - (Boolean)
117
- #
118
- # === Response Structure:
119
- #
120
- # This method returns no response data.
121
- #
122
- # @return [Core::Response]
123
- #
92
+ # @param [Hash] options
93
+ # * +:tags+ - *required* - (Array<Hash>)
94
+ # * +:resource_id+ - (String)
95
+ # * +:resource_type+ - (String)
96
+ # * +:key+ - *required* - (String)
97
+ # * +:value+ - (String)
98
+ # * +:propagate_at_launch+ - (Boolean)
99
+ # @return [Core::Response]
124
100
  define_client_method :create_or_update_tags, 'CreateOrUpdateTags'
125
101
 
126
102
  # Calls the DeleteAutoScalingGroup API operation.
127
103
  # @method delete_auto_scaling_group(options = {})
128
- #
129
- # === Options:
130
- #
131
- # * +:auto_scaling_group_name+ - *required* - (String)
132
- # * +:force_delete+ - (Boolean)
133
- #
134
- # === Response Structure:
135
- #
136
- # This method returns no response data.
137
- #
138
- # @return [Core::Response]
139
- #
104
+ # @param [Hash] options
105
+ # * +:auto_scaling_group_name+ - *required* - (String)
106
+ # * +:force_delete+ - (Boolean)
107
+ # @return [Core::Response]
140
108
  define_client_method :delete_auto_scaling_group, 'DeleteAutoScalingGroup'
141
109
 
142
110
  # Calls the DeleteLaunchConfiguration API operation.
143
111
  # @method delete_launch_configuration(options = {})
144
- #
145
- # === Options:
146
- #
147
- # * +:launch_configuration_name+ - *required* - (String)
148
- #
149
- # === Response Structure:
150
- #
151
- # This method returns no response data.
152
- #
153
- # @return [Core::Response]
154
- #
112
+ # @param [Hash] options
113
+ # * +:launch_configuration_name+ - *required* - (String)
114
+ # @return [Core::Response]
155
115
  define_client_method :delete_launch_configuration, 'DeleteLaunchConfiguration'
156
116
 
157
117
  # Calls the DeleteNotificationConfiguration API operation.
158
118
  # @method delete_notification_configuration(options = {})
159
- #
160
- # === Options:
161
- #
162
- # * +:auto_scaling_group_name+ - *required* - (String)
163
- # * +:topic_arn+ - *required* - (String)
164
- #
165
- # === Response Structure:
166
- #
167
- # This method returns no response data.
168
- #
169
- # @return [Core::Response]
170
- #
119
+ # @param [Hash] options
120
+ # * +:auto_scaling_group_name+ - *required* - (String)
121
+ # * +:topic_arn+ - *required* - (String)
122
+ # @return [Core::Response]
171
123
  define_client_method :delete_notification_configuration, 'DeleteNotificationConfiguration'
172
124
 
173
125
  # Calls the DeletePolicy API operation.
174
126
  # @method delete_policy(options = {})
175
- #
176
- # === Options:
177
- #
178
- # * +:auto_scaling_group_name+ - (String)
179
- # * +:policy_name+ - *required* - (String)
180
- #
181
- # === Response Structure:
182
- #
183
- # This method returns no response data.
184
- #
185
- # @return [Core::Response]
186
- #
127
+ # @param [Hash] options
128
+ # * +:auto_scaling_group_name+ - (String)
129
+ # * +:policy_name+ - *required* - (String)
130
+ # @return [Core::Response]
187
131
  define_client_method :delete_policy, 'DeletePolicy'
188
132
 
189
133
  # Calls the DeleteScheduledAction API operation.
190
134
  # @method delete_scheduled_action(options = {})
191
- #
192
- # === Options:
193
- #
194
- # * +:auto_scaling_group_name+ - (String)
195
- # * +:scheduled_action_name+ - *required* - (String)
196
- #
197
- # === Response Structure:
198
- #
199
- # This method returns no response data.
200
- #
201
- # @return [Core::Response]
202
- #
135
+ # @param [Hash] options
136
+ # * +:auto_scaling_group_name+ - (String)
137
+ # * +:scheduled_action_name+ - *required* - (String)
138
+ # @return [Core::Response]
203
139
  define_client_method :delete_scheduled_action, 'DeleteScheduledAction'
204
140
 
205
141
  # Calls the DeleteTags API operation.
206
142
  # @method delete_tags(options = {})
207
- #
208
- # === Options:
209
- #
210
- # * +:tags+ - *required* - (Array<Hash>)
211
- # * +:resource_id+ - (String)
212
- # * +:resource_type+ - (String)
213
- # * +:key+ - *required* - (String)
214
- # * +:value+ - (String)
215
- # * +:propagate_at_launch+ - (Boolean)
216
- #
217
- # === Response Structure:
218
- #
219
- # This method returns no response data.
220
- #
221
- # @return [Core::Response]
222
- #
143
+ # @param [Hash] options
144
+ # * +:tags+ - *required* - (Array<Hash>)
145
+ # * +:resource_id+ - (String)
146
+ # * +:resource_type+ - (String)
147
+ # * +:key+ - *required* - (String)
148
+ # * +:value+ - (String)
149
+ # * +:propagate_at_launch+ - (Boolean)
150
+ # @return [Core::Response]
223
151
  define_client_method :delete_tags, 'DeleteTags'
224
152
 
225
153
  # Calls the DescribeAdjustmentTypes API operation.
226
154
  # @method describe_adjustment_types(options = {})
227
- #
228
- # === Options:
229
- #
230
- # This method accepts no options.
231
- #
232
- # === Response Structure:
233
- #
234
- # * +:adjustment_types+ - (Array<Hash>)
235
- # * +:adjustment_type+ - (String)
236
- #
237
- # @return [Core::Response]
238
- #
155
+ # @param [Hash] options
156
+ # @return [Core::Response]
157
+ # The #data method of the response object returns
158
+ # a hash with the following structure:
159
+ # * +:adjustment_types+ - (Array<Hash>)
160
+ # * +:adjustment_type+ - (String)
239
161
  define_client_method :describe_adjustment_types, 'DescribeAdjustmentTypes'
240
162
 
241
163
  # Calls the DescribeAutoScalingGroups API operation.
242
164
  # @method describe_auto_scaling_groups(options = {})
243
- #
244
- # === Options:
245
- #
246
- # * +:auto_scaling_group_names+ - (Array<String>)
247
- # * +:next_token+ - (String)
248
- # * +:max_records+ - (Integer)
249
- #
250
- # === Response Structure:
251
- #
252
- # * +:auto_scaling_groups+ - (Array<Hash>)
253
- # * +:auto_scaling_group_name+ - (String)
254
- # * +:auto_scaling_group_arn+ - (String)
255
- # * +:launch_configuration_name+ - (String)
256
- # * +:min_size+ - (Integer)
257
- # * +:max_size+ - (Integer)
258
- # * +:desired_capacity+ - (Integer)
259
- # * +:default_cooldown+ - (Integer)
260
- # * +:availability_zones+ - (Array<String>)
261
- # * +:load_balancer_names+ - (Array<String>)
262
- # * +:health_check_type+ - (String)
263
- # * +:health_check_grace_period+ - (Integer)
264
- # * +:instances+ - (Array<Hash>)
265
- # * +:instance_id+ - (String)
266
- # * +:availability_zone+ - (String)
267
- # * +:lifecycle_state+ - (String)
268
- # * +:health_status+ - (String)
165
+ # @param [Hash] options
166
+ # * +:auto_scaling_group_names+ - (Array<String>)
167
+ # * +:next_token+ - (String)
168
+ # * +:max_records+ - (Integer)
169
+ # @return [Core::Response]
170
+ # The #data method of the response object returns
171
+ # a hash with the following structure:
172
+ # * +:auto_scaling_groups+ - (Array<Hash>)
173
+ # * +:auto_scaling_group_name+ - (String)
174
+ # * +:auto_scaling_group_arn+ - (String)
269
175
  # * +:launch_configuration_name+ - (String)
270
- # * +:created_time+ - (Time)
271
- # * +:suspended_processes+ - (Array<Hash>)
272
- # * +:process_name+ - (String)
273
- # * +:suspension_reason+ - (String)
274
- # * +:placement_group+ - (String)
275
- # * +:vpc_zone_identifier+ - (String)
276
- # * +:enabled_metrics+ - (Array<Hash>)
277
- # * +:metric+ - (String)
278
- # * +:granularity+ - (String)
279
- # * +:status+ - (String)
280
- # * +:tags+ - (Array<Hash>)
281
- # * +:resource_id+ - (String)
282
- # * +:resource_type+ - (String)
283
- # * +:key+ - (String)
284
- # * +:value+ - (String)
285
- # * +:propagate_at_launch+ - (Boolean)
286
- # * +:next_token+ - (String)
287
- #
288
- # @return [Core::Response]
289
- #
176
+ # * +:min_size+ - (Integer)
177
+ # * +:max_size+ - (Integer)
178
+ # * +:desired_capacity+ - (Integer)
179
+ # * +:default_cooldown+ - (Integer)
180
+ # * +:availability_zones+ - (Array<String>)
181
+ # * +:load_balancer_names+ - (Array<String>)
182
+ # * +:health_check_type+ - (String)
183
+ # * +:health_check_grace_period+ - (Integer)
184
+ # * +:instances+ - (Array<Hash>)
185
+ # * +:instance_id+ - (String)
186
+ # * +:availability_zone+ - (String)
187
+ # * +:lifecycle_state+ - (String)
188
+ # * +:health_status+ - (String)
189
+ # * +:launch_configuration_name+ - (String)
190
+ # * +:created_time+ - (Time)
191
+ # * +:suspended_processes+ - (Array<Hash>)
192
+ # * +:process_name+ - (String)
193
+ # * +:suspension_reason+ - (String)
194
+ # * +:placement_group+ - (String)
195
+ # * +:vpc_zone_identifier+ - (String)
196
+ # * +:enabled_metrics+ - (Array<Hash>)
197
+ # * +:metric+ - (String)
198
+ # * +:granularity+ - (String)
199
+ # * +:status+ - (String)
200
+ # * +:tags+ - (Array<Hash>)
201
+ # * +:resource_id+ - (String)
202
+ # * +:resource_type+ - (String)
203
+ # * +:key+ - (String)
204
+ # * +:value+ - (String)
205
+ # * +:propagate_at_launch+ - (Boolean)
206
+ # * +:next_token+ - (String)
290
207
  define_client_method :describe_auto_scaling_groups, 'DescribeAutoScalingGroups'
291
208
 
292
209
  # Calls the DescribeAutoScalingInstances API operation.
293
210
  # @method describe_auto_scaling_instances(options = {})
294
- #
295
- # === Options:
296
- #
297
- # * +:instance_ids+ - (Array<String>)
298
- # * +:max_records+ - (Integer)
299
- # * +:next_token+ - (String)
300
- #
301
- # === Response Structure:
302
- #
303
- # * +:auto_scaling_instances+ - (Array<Hash>)
304
- # * +:instance_id+ - (String)
305
- # * +:auto_scaling_group_name+ - (String)
306
- # * +:availability_zone+ - (String)
307
- # * +:lifecycle_state+ - (String)
308
- # * +:health_status+ - (String)
309
- # * +:launch_configuration_name+ - (String)
310
- # * +:next_token+ - (String)
311
- #
312
- # @return [Core::Response]
313
- #
211
+ # @param [Hash] options
212
+ # * +:instance_ids+ - (Array<String>)
213
+ # * +:max_records+ - (Integer)
214
+ # * +:next_token+ - (String)
215
+ # @return [Core::Response]
216
+ # The #data method of the response object returns
217
+ # a hash with the following structure:
218
+ # * +:auto_scaling_instances+ - (Array<Hash>)
219
+ # * +:instance_id+ - (String)
220
+ # * +:auto_scaling_group_name+ - (String)
221
+ # * +:availability_zone+ - (String)
222
+ # * +:lifecycle_state+ - (String)
223
+ # * +:health_status+ - (String)
224
+ # * +:launch_configuration_name+ - (String)
225
+ # * +:next_token+ - (String)
314
226
  define_client_method :describe_auto_scaling_instances, 'DescribeAutoScalingInstances'
315
227
 
316
228
  # Calls the DescribeAutoScalingNotificationTypes API operation.
317
229
  # @method describe_auto_scaling_notification_types(options = {})
318
- #
319
- # === Options:
320
- #
321
- # This method accepts no options.
322
- #
323
- # === Response Structure:
324
- #
325
- # * +:auto_scaling_notification_types+ - (Array<String>)
326
- #
327
- # @return [Core::Response]
328
- #
230
+ # @param [Hash] options
231
+ # @return [Core::Response]
232
+ # The #data method of the response object returns
233
+ # a hash with the following structure:
234
+ # * +:auto_scaling_notification_types+ - (Array<String>)
329
235
  define_client_method :describe_auto_scaling_notification_types, 'DescribeAutoScalingNotificationTypes'
330
236
 
331
237
  # Calls the DescribeLaunchConfigurations API operation.
332
238
  # @method describe_launch_configurations(options = {})
333
- #
334
- # === Options:
335
- #
336
- # * +:launch_configuration_names+ - (Array<String>)
337
- # * +:next_token+ - (String)
338
- # * +:max_records+ - (Integer)
339
- #
340
- # === Response Structure:
341
- #
342
- # * +:launch_configurations+ - (Array<Hash>)
343
- # * +:launch_configuration_name+ - (String)
344
- # * +:launch_configuration_arn+ - (String)
345
- # * +:image_id+ - (String)
346
- # * +:key_name+ - (String)
347
- # * +:security_groups+ - (Array<String>)
348
- # * +:user_data+ - (String)
349
- # * +:instance_type+ - (String)
350
- # * +:kernel_id+ - (String)
351
- # * +:ramdisk_id+ - (String)
352
- # * +:block_device_mappings+ - (Array<Hash>)
353
- # * +:virtual_name+ - (String)
354
- # * +:device_name+ - (String)
355
- # * +:ebs+ - (Hash)
356
- # * +:snapshot_id+ - (String)
357
- # * +:volume_size+ - (Integer)
358
- # * +:instance_monitoring+ - (Hash)
359
- # * +:enabled+ - (Boolean)
360
- # * +:spot_price+ - (String)
361
- # * +:iam_instance_profile+ - (String)
362
- # * +:created_time+ - (Time)
363
- # * +:next_token+ - (String)
364
- #
365
- # @return [Core::Response]
366
- #
239
+ # @param [Hash] options
240
+ # * +:launch_configuration_names+ - (Array<String>)
241
+ # * +:next_token+ - (String)
242
+ # * +:max_records+ - (Integer)
243
+ # @return [Core::Response]
244
+ # The #data method of the response object returns
245
+ # a hash with the following structure:
246
+ # * +:launch_configurations+ - (Array<Hash>)
247
+ # * +:launch_configuration_name+ - (String)
248
+ # * +:launch_configuration_arn+ - (String)
249
+ # * +:image_id+ - (String)
250
+ # * +:key_name+ - (String)
251
+ # * +:security_groups+ - (Array<String>)
252
+ # * +:user_data+ - (String)
253
+ # * +:instance_type+ - (String)
254
+ # * +:kernel_id+ - (String)
255
+ # * +:ramdisk_id+ - (String)
256
+ # * +:block_device_mappings+ - (Array<Hash>)
257
+ # * +:virtual_name+ - (String)
258
+ # * +:device_name+ - (String)
259
+ # * +:ebs+ - (Hash)
260
+ # * +:snapshot_id+ - (String)
261
+ # * +:volume_size+ - (Integer)
262
+ # * +:instance_monitoring+ - (Hash)
263
+ # * +:enabled+ - (Boolean)
264
+ # * +:spot_price+ - (String)
265
+ # * +:iam_instance_profile+ - (String)
266
+ # * +:created_time+ - (Time)
267
+ # * +:next_token+ - (String)
367
268
  define_client_method :describe_launch_configurations, 'DescribeLaunchConfigurations'
368
269
 
369
270
  # Calls the DescribeMetricCollectionTypes API operation.
370
271
  # @method describe_metric_collection_types(options = {})
371
- #
372
- # === Options:
373
- #
374
- # This method accepts no options.
375
- #
376
- # === Response Structure:
377
- #
378
- # * +:metrics+ - (Array<Hash>)
379
- # * +:metric+ - (String)
380
- # * +:granularities+ - (Array<Hash>)
381
- # * +:granularity+ - (String)
382
- #
383
- # @return [Core::Response]
384
- #
272
+ # @param [Hash] options
273
+ # @return [Core::Response]
274
+ # The #data method of the response object returns
275
+ # a hash with the following structure:
276
+ # * +:metrics+ - (Array<Hash>)
277
+ # * +:metric+ - (String)
278
+ # * +:granularities+ - (Array<Hash>)
279
+ # * +:granularity+ - (String)
385
280
  define_client_method :describe_metric_collection_types, 'DescribeMetricCollectionTypes'
386
281
 
387
282
  # Calls the DescribeNotificationConfigurations API operation.
388
283
  # @method describe_notification_configurations(options = {})
389
- #
390
- # === Options:
391
- #
392
- # * +:auto_scaling_group_names+ - (Array<String>)
393
- # * +:next_token+ - (String)
394
- # * +:max_records+ - (Integer)
395
- #
396
- # === Response Structure:
397
- #
398
- # * +:notification_configurations+ - (Array<Hash>)
399
- # * +:auto_scaling_group_name+ - (String)
400
- # * +:topic_arn+ - (String)
401
- # * +:notification_type+ - (String)
402
- # * +:next_token+ - (String)
403
- #
404
- # @return [Core::Response]
405
- #
284
+ # @param [Hash] options
285
+ # * +:auto_scaling_group_names+ - (Array<String>)
286
+ # * +:next_token+ - (String)
287
+ # * +:max_records+ - (Integer)
288
+ # @return [Core::Response]
289
+ # The #data method of the response object returns
290
+ # a hash with the following structure:
291
+ # * +:notification_configurations+ - (Array<Hash>)
292
+ # * +:auto_scaling_group_name+ - (String)
293
+ # * +:topic_arn+ - (String)
294
+ # * +:notification_type+ - (String)
295
+ # * +:next_token+ - (String)
406
296
  define_client_method :describe_notification_configurations, 'DescribeNotificationConfigurations'
407
297
 
408
298
  # Calls the DescribePolicies API operation.
409
299
  # @method describe_policies(options = {})
410
- #
411
- # === Options:
412
- #
413
- # * +:auto_scaling_group_name+ - (String)
414
- # * +:policy_names+ - (Array<String>)
415
- # * +:next_token+ - (String)
416
- # * +:max_records+ - (Integer)
417
- #
418
- # === Response Structure:
419
- #
420
- # * +:scaling_policies+ - (Array<Hash>)
300
+ # @param [Hash] options
421
301
  # * +:auto_scaling_group_name+ - (String)
422
- # * +:policy_name+ - (String)
423
- # * +:scaling_adjustment+ - (Integer)
424
- # * +:adjustment_type+ - (String)
425
- # * +:cooldown+ - (Integer)
426
- # * +:policy_arn+ - (String)
427
- # * +:alarms+ - (Array<Hash>)
428
- # * +:alarm_name+ - (String)
429
- # * +:alarm_arn+ - (String)
430
- # * +:min_adjustment_step+ - (Integer)
431
- # * +:next_token+ - (String)
432
- #
433
- # @return [Core::Response]
434
- #
302
+ # * +:policy_names+ - (Array<String>)
303
+ # * +:next_token+ - (String)
304
+ # * +:max_records+ - (Integer)
305
+ # @return [Core::Response]
306
+ # The #data method of the response object returns
307
+ # a hash with the following structure:
308
+ # * +:scaling_policies+ - (Array<Hash>)
309
+ # * +:auto_scaling_group_name+ - (String)
310
+ # * +:policy_name+ - (String)
311
+ # * +:scaling_adjustment+ - (Integer)
312
+ # * +:adjustment_type+ - (String)
313
+ # * +:cooldown+ - (Integer)
314
+ # * +:policy_arn+ - (String)
315
+ # * +:alarms+ - (Array<Hash>)
316
+ # * +:alarm_name+ - (String)
317
+ # * +:alarm_arn+ - (String)
318
+ # * +:min_adjustment_step+ - (Integer)
319
+ # * +:next_token+ - (String)
435
320
  define_client_method :describe_policies, 'DescribePolicies'
436
321
 
437
322
  # Calls the DescribeScalingActivities API operation.
438
323
  # @method describe_scaling_activities(options = {})
439
- #
440
- # === Options:
441
- #
442
- # * +:activity_ids+ - (Array<String>)
443
- # * +:auto_scaling_group_name+ - (String)
444
- # * +:max_records+ - (Integer)
445
- # * +:next_token+ - (String)
446
- #
447
- # === Response Structure:
448
- #
449
- # * +:activities+ - (Array<Hash>)
450
- # * +:activity_id+ - (String)
324
+ # @param [Hash] options
325
+ # * +:activity_ids+ - (Array<String>)
451
326
  # * +:auto_scaling_group_name+ - (String)
452
- # * +:description+ - (String)
453
- # * +:cause+ - (String)
454
- # * +:start_time+ - (Time)
455
- # * +:end_time+ - (Time)
456
- # * +:status_code+ - (String)
457
- # * +:status_message+ - (String)
458
- # * +:progress+ - (Integer)
459
- # * +:details+ - (String)
460
- # * +:next_token+ - (String)
461
- #
462
- # @return [Core::Response]
463
- #
327
+ # * +:max_records+ - (Integer)
328
+ # * +:next_token+ - (String)
329
+ # @return [Core::Response]
330
+ # The #data method of the response object returns
331
+ # a hash with the following structure:
332
+ # * +:activities+ - (Array<Hash>)
333
+ # * +:activity_id+ - (String)
334
+ # * +:auto_scaling_group_name+ - (String)
335
+ # * +:description+ - (String)
336
+ # * +:cause+ - (String)
337
+ # * +:start_time+ - (Time)
338
+ # * +:end_time+ - (Time)
339
+ # * +:status_code+ - (String)
340
+ # * +:status_message+ - (String)
341
+ # * +:progress+ - (Integer)
342
+ # * +:details+ - (String)
343
+ # * +:next_token+ - (String)
464
344
  define_client_method :describe_scaling_activities, 'DescribeScalingActivities'
465
345
 
466
346
  # Calls the DescribeScalingProcessTypes API operation.
467
347
  # @method describe_scaling_process_types(options = {})
468
- #
469
- # === Options:
470
- #
471
- # This method accepts no options.
472
- #
473
- # === Response Structure:
474
- #
475
- # * +:processes+ - (Array<Hash>)
476
- # * +:process_name+ - (String)
477
- #
478
- # @return [Core::Response]
479
- #
348
+ # @param [Hash] options
349
+ # @return [Core::Response]
350
+ # The #data method of the response object returns
351
+ # a hash with the following structure:
352
+ # * +:processes+ - (Array<Hash>)
353
+ # * +:process_name+ - (String)
480
354
  define_client_method :describe_scaling_process_types, 'DescribeScalingProcessTypes'
481
355
 
482
356
  # Calls the DescribeScheduledActions API operation.
483
357
  # @method describe_scheduled_actions(options = {})
484
- #
485
- # === Options:
486
- #
487
- # * +:auto_scaling_group_name+ - (String)
488
- # * +:scheduled_action_names+ - (Array<String>)
489
- # * +:start_time+ - (String<ISO8601 datetime>)
490
- # * +:end_time+ - (String<ISO8601 datetime>)
491
- # * +:next_token+ - (String)
492
- # * +:max_records+ - (Integer)
493
- #
494
- # === Response Structure:
495
- #
496
- # * +:scheduled_update_group_actions+ - (Array<Hash>)
358
+ # @param [Hash] options
497
359
  # * +:auto_scaling_group_name+ - (String)
498
- # * +:scheduled_action_name+ - (String)
499
- # * +:scheduled_action_arn+ - (String)
500
- # * +:time+ - (Time)
501
- # * +:start_time+ - (Time)
502
- # * +:end_time+ - (Time)
503
- # * +:recurrence+ - (String)
504
- # * +:min_size+ - (Integer)
505
- # * +:max_size+ - (Integer)
506
- # * +:desired_capacity+ - (Integer)
507
- # * +:next_token+ - (String)
508
- #
509
- # @return [Core::Response]
510
- #
360
+ # * +:scheduled_action_names+ - (Array<String>)
361
+ # * +:start_time+ - (String<ISO8601 datetime>)
362
+ # * +:end_time+ - (String<ISO8601 datetime>)
363
+ # * +:next_token+ - (String)
364
+ # * +:max_records+ - (Integer)
365
+ # @return [Core::Response]
366
+ # The #data method of the response object returns
367
+ # a hash with the following structure:
368
+ # * +:scheduled_update_group_actions+ - (Array<Hash>)
369
+ # * +:auto_scaling_group_name+ - (String)
370
+ # * +:scheduled_action_name+ - (String)
371
+ # * +:scheduled_action_arn+ - (String)
372
+ # * +:time+ - (Time)
373
+ # * +:start_time+ - (Time)
374
+ # * +:end_time+ - (Time)
375
+ # * +:recurrence+ - (String)
376
+ # * +:min_size+ - (Integer)
377
+ # * +:max_size+ - (Integer)
378
+ # * +:desired_capacity+ - (Integer)
379
+ # * +:next_token+ - (String)
511
380
  define_client_method :describe_scheduled_actions, 'DescribeScheduledActions'
512
381
 
513
382
  # Calls the DescribeTags API operation.
514
383
  # @method describe_tags(options = {})
515
- #
516
- # === Options:
517
- #
518
- # * +:filters+ - (Array<Hash>)
519
- # * +:name+ - (String)
520
- # * +:values+ - (Array<String>)
521
- # * +:next_token+ - (String)
522
- # * +:max_records+ - (Integer)
523
- #
524
- # === Response Structure:
525
- #
526
- # * +:tags+ - (Array<Hash>)
527
- # * +:resource_id+ - (String)
528
- # * +:resource_type+ - (String)
529
- # * +:key+ - (String)
530
- # * +:value+ - (String)
531
- # * +:propagate_at_launch+ - (Boolean)
532
- # * +:next_token+ - (String)
533
- #
534
- # @return [Core::Response]
535
- #
384
+ # @param [Hash] options
385
+ # * +:filters+ - (Array<Hash>)
386
+ # * +:name+ - (String)
387
+ # * +:values+ - (Array<String>)
388
+ # * +:next_token+ - (String)
389
+ # * +:max_records+ - (Integer)
390
+ # @return [Core::Response]
391
+ # The #data method of the response object returns
392
+ # a hash with the following structure:
393
+ # * +:tags+ - (Array<Hash>)
394
+ # * +:resource_id+ - (String)
395
+ # * +:resource_type+ - (String)
396
+ # * +:key+ - (String)
397
+ # * +:value+ - (String)
398
+ # * +:propagate_at_launch+ - (Boolean)
399
+ # * +:next_token+ - (String)
536
400
  define_client_method :describe_tags, 'DescribeTags'
537
401
 
538
402
  # Calls the DisableMetricsCollection API operation.
539
403
  # @method disable_metrics_collection(options = {})
540
- #
541
- # === Options:
542
- #
543
- # * +:auto_scaling_group_name+ - *required* - (String)
544
- # * +:metrics+ - (Array<String>)
545
- #
546
- # === Response Structure:
547
- #
548
- # This method returns no response data.
549
- #
550
- # @return [Core::Response]
551
- #
404
+ # @param [Hash] options
405
+ # * +:auto_scaling_group_name+ - *required* - (String)
406
+ # * +:metrics+ - (Array<String>)
407
+ # @return [Core::Response]
552
408
  define_client_method :disable_metrics_collection, 'DisableMetricsCollection'
553
409
 
554
410
  # Calls the EnableMetricsCollection API operation.
555
411
  # @method enable_metrics_collection(options = {})
556
- #
557
- # === Options:
558
- #
559
- # * +:auto_scaling_group_name+ - *required* - (String)
560
- # * +:metrics+ - (Array<String>)
561
- # * +:granularity+ - *required* - (String)
562
- #
563
- # === Response Structure:
564
- #
565
- # This method returns no response data.
566
- #
567
- # @return [Core::Response]
568
- #
412
+ # @param [Hash] options
413
+ # * +:auto_scaling_group_name+ - *required* - (String)
414
+ # * +:metrics+ - (Array<String>)
415
+ # * +:granularity+ - *required* - (String)
416
+ # @return [Core::Response]
569
417
  define_client_method :enable_metrics_collection, 'EnableMetricsCollection'
570
418
 
571
419
  # Calls the ExecutePolicy API operation.
572
420
  # @method execute_policy(options = {})
573
- #
574
- # === Options:
575
- #
576
- # * +:auto_scaling_group_name+ - (String)
577
- # * +:policy_name+ - *required* - (String)
578
- # * +:honor_cooldown+ - (Boolean)
579
- #
580
- # === Response Structure:
581
- #
582
- # This method returns no response data.
583
- #
584
- # @return [Core::Response]
585
- #
421
+ # @param [Hash] options
422
+ # * +:auto_scaling_group_name+ - (String)
423
+ # * +:policy_name+ - *required* - (String)
424
+ # * +:honor_cooldown+ - (Boolean)
425
+ # @return [Core::Response]
586
426
  define_client_method :execute_policy, 'ExecutePolicy'
587
427
 
588
428
  # Calls the PutNotificationConfiguration API operation.
589
429
  # @method put_notification_configuration(options = {})
590
- #
591
- # === Options:
592
- #
593
- # * +:auto_scaling_group_name+ - *required* - (String)
594
- # * +:topic_arn+ - *required* - (String)
595
- # * +:notification_types+ - *required* - (Array<String>)
596
- #
597
- # === Response Structure:
598
- #
599
- # This method returns no response data.
600
- #
601
- # @return [Core::Response]
602
- #
430
+ # @param [Hash] options
431
+ # * +:auto_scaling_group_name+ - *required* - (String)
432
+ # * +:topic_arn+ - *required* - (String)
433
+ # * +:notification_types+ - *required* - (Array<String>)
434
+ # @return [Core::Response]
603
435
  define_client_method :put_notification_configuration, 'PutNotificationConfiguration'
604
436
 
605
437
  # Calls the PutScalingPolicy API operation.
606
438
  # @method put_scaling_policy(options = {})
607
- #
608
- # === Options:
609
- #
610
- # * +:auto_scaling_group_name+ - *required* - (String)
611
- # * +:policy_name+ - *required* - (String)
612
- # * +:scaling_adjustment+ - *required* - (Integer)
613
- # * +:adjustment_type+ - *required* - (String)
614
- # * +:cooldown+ - (Integer)
615
- # * +:min_adjustment_step+ - (Integer)
616
- #
617
- # === Response Structure:
618
- #
619
- # * +:policy_arn+ - (String)
620
- #
621
- # @return [Core::Response]
622
- #
439
+ # @param [Hash] options
440
+ # * +:auto_scaling_group_name+ - *required* - (String)
441
+ # * +:policy_name+ - *required* - (String)
442
+ # * +:scaling_adjustment+ - *required* - (Integer)
443
+ # * +:adjustment_type+ - *required* - (String)
444
+ # * +:cooldown+ - (Integer)
445
+ # * +:min_adjustment_step+ - (Integer)
446
+ # @return [Core::Response]
447
+ # The #data method of the response object returns
448
+ # a hash with the following structure:
449
+ # * +:policy_arn+ - (String)
623
450
  define_client_method :put_scaling_policy, 'PutScalingPolicy'
624
451
 
625
452
  # Calls the PutScheduledUpdateGroupAction API operation.
626
453
  # @method put_scheduled_update_group_action(options = {})
627
- #
628
- # === Options:
629
- #
630
- # * +:auto_scaling_group_name+ - *required* - (String)
631
- # * +:scheduled_action_name+ - *required* - (String)
632
- # * +:time+ - (String<ISO8601 datetime>)
633
- # * +:start_time+ - (String<ISO8601 datetime>)
634
- # * +:end_time+ - (String<ISO8601 datetime>)
635
- # * +:recurrence+ - (String)
636
- # * +:min_size+ - (Integer)
637
- # * +:max_size+ - (Integer)
638
- # * +:desired_capacity+ - (Integer)
639
- #
640
- # === Response Structure:
641
- #
642
- # This method returns no response data.
643
- #
644
- # @return [Core::Response]
645
- #
454
+ # @param [Hash] options
455
+ # * +:auto_scaling_group_name+ - *required* - (String)
456
+ # * +:scheduled_action_name+ - *required* - (String)
457
+ # * +:time+ - (String<ISO8601 datetime>)
458
+ # * +:start_time+ - (String<ISO8601 datetime>)
459
+ # * +:end_time+ - (String<ISO8601 datetime>)
460
+ # * +:recurrence+ - (String)
461
+ # * +:min_size+ - (Integer)
462
+ # * +:max_size+ - (Integer)
463
+ # * +:desired_capacity+ - (Integer)
464
+ # @return [Core::Response]
646
465
  define_client_method :put_scheduled_update_group_action, 'PutScheduledUpdateGroupAction'
647
466
 
648
467
  # Calls the ResumeProcesses API operation.
649
468
  # @method resume_processes(options = {})
650
- #
651
- # === Options:
652
- #
653
- # * +:auto_scaling_group_name+ - *required* - (String)
654
- # * +:scaling_processes+ - (Array<String>)
655
- #
656
- # === Response Structure:
657
- #
658
- # This method returns no response data.
659
- #
660
- # @return [Core::Response]
661
- #
469
+ # @param [Hash] options
470
+ # * +:auto_scaling_group_name+ - *required* - (String)
471
+ # * +:scaling_processes+ - (Array<String>)
472
+ # @return [Core::Response]
662
473
  define_client_method :resume_processes, 'ResumeProcesses'
663
474
 
664
475
  # Calls the SetDesiredCapacity API operation.
665
476
  # @method set_desired_capacity(options = {})
666
- #
667
- # === Options:
668
- #
669
- # * +:auto_scaling_group_name+ - *required* - (String)
670
- # * +:desired_capacity+ - *required* - (Integer)
671
- # * +:honor_cooldown+ - (Boolean)
672
- #
673
- # === Response Structure:
674
- #
675
- # This method returns no response data.
676
- #
677
- # @return [Core::Response]
678
- #
477
+ # @param [Hash] options
478
+ # * +:auto_scaling_group_name+ - *required* - (String)
479
+ # * +:desired_capacity+ - *required* - (Integer)
480
+ # * +:honor_cooldown+ - (Boolean)
481
+ # @return [Core::Response]
679
482
  define_client_method :set_desired_capacity, 'SetDesiredCapacity'
680
483
 
681
484
  # Calls the SetInstanceHealth API operation.
682
485
  # @method set_instance_health(options = {})
683
- #
684
- # === Options:
685
- #
686
- # * +:instance_id+ - *required* - (String)
687
- # * +:health_status+ - *required* - (String)
688
- # * +:should_respect_grace_period+ - (Boolean)
689
- #
690
- # === Response Structure:
691
- #
692
- # This method returns no response data.
693
- #
694
- # @return [Core::Response]
695
- #
486
+ # @param [Hash] options
487
+ # * +:instance_id+ - *required* - (String)
488
+ # * +:health_status+ - *required* - (String)
489
+ # * +:should_respect_grace_period+ - (Boolean)
490
+ # @return [Core::Response]
696
491
  define_client_method :set_instance_health, 'SetInstanceHealth'
697
492
 
698
493
  # Calls the SuspendProcesses API operation.
699
494
  # @method suspend_processes(options = {})
700
- #
701
- # === Options:
702
- #
703
- # * +:auto_scaling_group_name+ - *required* - (String)
704
- # * +:scaling_processes+ - (Array<String>)
705
- #
706
- # === Response Structure:
707
- #
708
- # This method returns no response data.
709
- #
710
- # @return [Core::Response]
711
- #
495
+ # @param [Hash] options
496
+ # * +:auto_scaling_group_name+ - *required* - (String)
497
+ # * +:scaling_processes+ - (Array<String>)
498
+ # @return [Core::Response]
712
499
  define_client_method :suspend_processes, 'SuspendProcesses'
713
500
 
714
501
  # Calls the TerminateInstanceInAutoScalingGroup API operation.
715
502
  # @method terminate_instance_in_auto_scaling_group(options = {})
716
- #
717
- # === Options:
718
- #
719
- # * +:instance_id+ - *required* - (String)
720
- # * +:should_decrement_desired_capacity+ - *required* - (Boolean)
721
- #
722
- # === Response Structure:
723
- #
724
- # * +:activity+ - (Hash)
725
- # * +:activity_id+ - (String)
726
- # * +:auto_scaling_group_name+ - (String)
727
- # * +:description+ - (String)
728
- # * +:cause+ - (String)
729
- # * +:start_time+ - (Time)
730
- # * +:end_time+ - (Time)
731
- # * +:status_code+ - (String)
732
- # * +:status_message+ - (String)
733
- # * +:progress+ - (Integer)
734
- # * +:details+ - (String)
735
- #
736
- # @return [Core::Response]
737
- #
503
+ # @param [Hash] options
504
+ # * +:instance_id+ - *required* - (String)
505
+ # * +:should_decrement_desired_capacity+ - *required* - (Boolean)
506
+ # @return [Core::Response]
507
+ # The #data method of the response object returns
508
+ # a hash with the following structure:
509
+ # * +:activity+ - (Hash)
510
+ # * +:activity_id+ - (String)
511
+ # * +:auto_scaling_group_name+ - (String)
512
+ # * +:description+ - (String)
513
+ # * +:cause+ - (String)
514
+ # * +:start_time+ - (Time)
515
+ # * +:end_time+ - (Time)
516
+ # * +:status_code+ - (String)
517
+ # * +:status_message+ - (String)
518
+ # * +:progress+ - (Integer)
519
+ # * +:details+ - (String)
738
520
  define_client_method :terminate_instance_in_auto_scaling_group, 'TerminateInstanceInAutoScalingGroup'
739
521
 
740
522
  # Calls the UpdateAutoScalingGroup API operation.
741
523
  # @method update_auto_scaling_group(options = {})
742
- #
743
- # === Options:
744
- #
745
- # * +:auto_scaling_group_name+ - *required* - (String)
746
- # * +:launch_configuration_name+ - (String)
747
- # * +:min_size+ - (Integer)
748
- # * +:max_size+ - (Integer)
749
- # * +:desired_capacity+ - (Integer)
750
- # * +:default_cooldown+ - (Integer)
751
- # * +:availability_zones+ - (Array<String>)
752
- # * +:health_check_type+ - (String)
753
- # * +:health_check_grace_period+ - (Integer)
754
- # * +:placement_group+ - (String)
755
- # * +:vpc_zone_identifier+ - (String)
756
- #
757
- # === Response Structure:
758
- #
759
- # This method returns no response data.
760
- #
761
- # @return [Core::Response]
762
- #
524
+ # @param [Hash] options
525
+ # * +:auto_scaling_group_name+ - *required* - (String)
526
+ # * +:launch_configuration_name+ - (String)
527
+ # * +:min_size+ - (Integer)
528
+ # * +:max_size+ - (Integer)
529
+ # * +:desired_capacity+ - (Integer)
530
+ # * +:default_cooldown+ - (Integer)
531
+ # * +:availability_zones+ - (Array<String>)
532
+ # * +:health_check_type+ - (String)
533
+ # * +:health_check_grace_period+ - (Integer)
534
+ # * +:placement_group+ - (String)
535
+ # * +:vpc_zone_identifier+ - (String)
536
+ # @return [Core::Response]
763
537
  define_client_method :update_auto_scaling_group, 'UpdateAutoScalingGroup'
764
538
 
765
539
  ## end client methods ##