aws-sdk 1.6.6 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,8 @@ module AWS
17
17
  # Client class for Auto Scaling.
18
18
  class Client < Core::QueryClient
19
19
 
20
+ define_client_methods('2011-01-01')
21
+
20
22
  # @private
21
23
  CACHEABLE_REQUESTS = Set[
22
24
  :describe_adjustment_types,
@@ -35,8 +37,8 @@ module AWS
35
37
 
36
38
  ## client methods ##
37
39
 
40
+ # @!method create_auto_scaling_group(options = {})
38
41
  # Calls the CreateAutoScalingGroup API operation.
39
- # @method create_auto_scaling_group(options = {})
40
42
  # @param [Hash] options
41
43
  # * +:auto_scaling_group_name+ - *required* - (String)
42
44
  # * +:launch_configuration_name+ - *required* - (String)
@@ -58,8 +60,8 @@ module AWS
58
60
  # * +:propagate_at_launch+ - (Boolean)
59
61
  # @return [Core::Response]
60
62
 
63
+ # @!method create_launch_configuration(options = {})
61
64
  # Calls the CreateLaunchConfiguration API operation.
62
- # @method create_launch_configuration(options = {})
63
65
  # @param [Hash] options
64
66
  # * +:launch_configuration_name+ - *required* - (String)
65
67
  # * +:image_id+ - *required* - (String)
@@ -81,8 +83,8 @@ module AWS
81
83
  # * +:iam_instance_profile+ - (String)
82
84
  # @return [Core::Response]
83
85
 
86
+ # @!method create_or_update_tags(options = {})
84
87
  # Calls the CreateOrUpdateTags API operation.
85
- # @method create_or_update_tags(options = {})
86
88
  # @param [Hash] options
87
89
  # * +:tags+ - *required* - (Array<Hash>)
88
90
  # * +:resource_id+ - (String)
@@ -92,42 +94,42 @@ module AWS
92
94
  # * +:propagate_at_launch+ - (Boolean)
93
95
  # @return [Core::Response]
94
96
 
97
+ # @!method delete_auto_scaling_group(options = {})
95
98
  # Calls the DeleteAutoScalingGroup API operation.
96
- # @method delete_auto_scaling_group(options = {})
97
99
  # @param [Hash] options
98
100
  # * +:auto_scaling_group_name+ - *required* - (String)
99
101
  # * +:force_delete+ - (Boolean)
100
102
  # @return [Core::Response]
101
103
 
104
+ # @!method delete_launch_configuration(options = {})
102
105
  # Calls the DeleteLaunchConfiguration API operation.
103
- # @method delete_launch_configuration(options = {})
104
106
  # @param [Hash] options
105
107
  # * +:launch_configuration_name+ - *required* - (String)
106
108
  # @return [Core::Response]
107
109
 
110
+ # @!method delete_notification_configuration(options = {})
108
111
  # Calls the DeleteNotificationConfiguration API operation.
109
- # @method delete_notification_configuration(options = {})
110
112
  # @param [Hash] options
111
113
  # * +:auto_scaling_group_name+ - *required* - (String)
112
114
  # * +:topic_arn+ - *required* - (String)
113
115
  # @return [Core::Response]
114
116
 
117
+ # @!method delete_policy(options = {})
115
118
  # Calls the DeletePolicy API operation.
116
- # @method delete_policy(options = {})
117
119
  # @param [Hash] options
118
120
  # * +:auto_scaling_group_name+ - (String)
119
121
  # * +:policy_name+ - *required* - (String)
120
122
  # @return [Core::Response]
121
123
 
124
+ # @!method delete_scheduled_action(options = {})
122
125
  # Calls the DeleteScheduledAction API operation.
123
- # @method delete_scheduled_action(options = {})
124
126
  # @param [Hash] options
125
127
  # * +:auto_scaling_group_name+ - (String)
126
128
  # * +:scheduled_action_name+ - *required* - (String)
127
129
  # @return [Core::Response]
128
130
 
131
+ # @!method delete_tags(options = {})
129
132
  # Calls the DeleteTags API operation.
130
- # @method delete_tags(options = {})
131
133
  # @param [Hash] options
132
134
  # * +:tags+ - *required* - (Array<Hash>)
133
135
  # * +:resource_id+ - (String)
@@ -137,8 +139,8 @@ module AWS
137
139
  # * +:propagate_at_launch+ - (Boolean)
138
140
  # @return [Core::Response]
139
141
 
142
+ # @!method describe_adjustment_types(options = {})
140
143
  # Calls the DescribeAdjustmentTypes API operation.
141
- # @method describe_adjustment_types(options = {})
142
144
  # @param [Hash] options
143
145
  # @return [Core::Response]
144
146
  # The #data method of the response object returns
@@ -146,8 +148,8 @@ module AWS
146
148
  # * +:adjustment_types+ - (Array<Hash>)
147
149
  # * +:adjustment_type+ - (String)
148
150
 
151
+ # @!method describe_auto_scaling_groups(options = {})
149
152
  # Calls the DescribeAutoScalingGroups API operation.
150
- # @method describe_auto_scaling_groups(options = {})
151
153
  # @param [Hash] options
152
154
  # * +:auto_scaling_group_names+ - (Array<String>)
153
155
  # * +:next_token+ - (String)
@@ -191,8 +193,8 @@ module AWS
191
193
  # * +:propagate_at_launch+ - (Boolean)
192
194
  # * +:next_token+ - (String)
193
195
 
196
+ # @!method describe_auto_scaling_instances(options = {})
194
197
  # Calls the DescribeAutoScalingInstances API operation.
195
- # @method describe_auto_scaling_instances(options = {})
196
198
  # @param [Hash] options
197
199
  # * +:instance_ids+ - (Array<String>)
198
200
  # * +:max_records+ - (Integer)
@@ -209,16 +211,16 @@ module AWS
209
211
  # * +:launch_configuration_name+ - (String)
210
212
  # * +:next_token+ - (String)
211
213
 
214
+ # @!method describe_auto_scaling_notification_types(options = {})
212
215
  # Calls the DescribeAutoScalingNotificationTypes API operation.
213
- # @method describe_auto_scaling_notification_types(options = {})
214
216
  # @param [Hash] options
215
217
  # @return [Core::Response]
216
218
  # The #data method of the response object returns
217
219
  # a hash with the following structure:
218
220
  # * +:auto_scaling_notification_types+ - (Array<String>)
219
221
 
222
+ # @!method describe_launch_configurations(options = {})
220
223
  # Calls the DescribeLaunchConfigurations API operation.
221
- # @method describe_launch_configurations(options = {})
222
224
  # @param [Hash] options
223
225
  # * +:launch_configuration_names+ - (Array<String>)
224
226
  # * +:next_token+ - (String)
@@ -249,8 +251,8 @@ module AWS
249
251
  # * +:created_time+ - (Time)
250
252
  # * +:next_token+ - (String)
251
253
 
254
+ # @!method describe_metric_collection_types(options = {})
252
255
  # Calls the DescribeMetricCollectionTypes API operation.
253
- # @method describe_metric_collection_types(options = {})
254
256
  # @param [Hash] options
255
257
  # @return [Core::Response]
256
258
  # The #data method of the response object returns
@@ -260,8 +262,8 @@ module AWS
260
262
  # * +:granularities+ - (Array<Hash>)
261
263
  # * +:granularity+ - (String)
262
264
 
265
+ # @!method describe_notification_configurations(options = {})
263
266
  # Calls the DescribeNotificationConfigurations API operation.
264
- # @method describe_notification_configurations(options = {})
265
267
  # @param [Hash] options
266
268
  # * +:auto_scaling_group_names+ - (Array<String>)
267
269
  # * +:next_token+ - (String)
@@ -275,8 +277,8 @@ module AWS
275
277
  # * +:notification_type+ - (String)
276
278
  # * +:next_token+ - (String)
277
279
 
280
+ # @!method describe_policies(options = {})
278
281
  # Calls the DescribePolicies API operation.
279
- # @method describe_policies(options = {})
280
282
  # @param [Hash] options
281
283
  # * +:auto_scaling_group_name+ - (String)
282
284
  # * +:policy_names+ - (Array<String>)
@@ -298,8 +300,8 @@ module AWS
298
300
  # * +:min_adjustment_step+ - (Integer)
299
301
  # * +:next_token+ - (String)
300
302
 
303
+ # @!method describe_scaling_activities(options = {})
301
304
  # Calls the DescribeScalingActivities API operation.
302
- # @method describe_scaling_activities(options = {})
303
305
  # @param [Hash] options
304
306
  # * +:activity_ids+ - (Array<String>)
305
307
  # * +:auto_scaling_group_name+ - (String)
@@ -321,8 +323,8 @@ module AWS
321
323
  # * +:details+ - (String)
322
324
  # * +:next_token+ - (String)
323
325
 
326
+ # @!method describe_scaling_process_types(options = {})
324
327
  # Calls the DescribeScalingProcessTypes API operation.
325
- # @method describe_scaling_process_types(options = {})
326
328
  # @param [Hash] options
327
329
  # @return [Core::Response]
328
330
  # The #data method of the response object returns
@@ -330,8 +332,8 @@ module AWS
330
332
  # * +:processes+ - (Array<Hash>)
331
333
  # * +:process_name+ - (String)
332
334
 
335
+ # @!method describe_scheduled_actions(options = {})
333
336
  # Calls the DescribeScheduledActions API operation.
334
- # @method describe_scheduled_actions(options = {})
335
337
  # @param [Hash] options
336
338
  # * +:auto_scaling_group_name+ - (String)
337
339
  # * +:scheduled_action_names+ - (Array<String>)
@@ -355,8 +357,8 @@ module AWS
355
357
  # * +:desired_capacity+ - (Integer)
356
358
  # * +:next_token+ - (String)
357
359
 
360
+ # @!method describe_tags(options = {})
358
361
  # Calls the DescribeTags API operation.
359
- # @method describe_tags(options = {})
360
362
  # @param [Hash] options
361
363
  # * +:filters+ - (Array<Hash>)
362
364
  # * +:name+ - (String)
@@ -374,39 +376,39 @@ module AWS
374
376
  # * +:propagate_at_launch+ - (Boolean)
375
377
  # * +:next_token+ - (String)
376
378
 
379
+ # @!method disable_metrics_collection(options = {})
377
380
  # Calls the DisableMetricsCollection API operation.
378
- # @method disable_metrics_collection(options = {})
379
381
  # @param [Hash] options
380
382
  # * +:auto_scaling_group_name+ - *required* - (String)
381
383
  # * +:metrics+ - (Array<String>)
382
384
  # @return [Core::Response]
383
385
 
386
+ # @!method enable_metrics_collection(options = {})
384
387
  # Calls the EnableMetricsCollection API operation.
385
- # @method enable_metrics_collection(options = {})
386
388
  # @param [Hash] options
387
389
  # * +:auto_scaling_group_name+ - *required* - (String)
388
390
  # * +:metrics+ - (Array<String>)
389
391
  # * +:granularity+ - *required* - (String)
390
392
  # @return [Core::Response]
391
393
 
394
+ # @!method execute_policy(options = {})
392
395
  # Calls the ExecutePolicy API operation.
393
- # @method execute_policy(options = {})
394
396
  # @param [Hash] options
395
397
  # * +:auto_scaling_group_name+ - (String)
396
398
  # * +:policy_name+ - *required* - (String)
397
399
  # * +:honor_cooldown+ - (Boolean)
398
400
  # @return [Core::Response]
399
401
 
402
+ # @!method put_notification_configuration(options = {})
400
403
  # Calls the PutNotificationConfiguration API operation.
401
- # @method put_notification_configuration(options = {})
402
404
  # @param [Hash] options
403
405
  # * +:auto_scaling_group_name+ - *required* - (String)
404
406
  # * +:topic_arn+ - *required* - (String)
405
407
  # * +:notification_types+ - *required* - (Array<String>)
406
408
  # @return [Core::Response]
407
409
 
410
+ # @!method put_scaling_policy(options = {})
408
411
  # Calls the PutScalingPolicy API operation.
409
- # @method put_scaling_policy(options = {})
410
412
  # @param [Hash] options
411
413
  # * +:auto_scaling_group_name+ - *required* - (String)
412
414
  # * +:policy_name+ - *required* - (String)
@@ -419,8 +421,8 @@ module AWS
419
421
  # a hash with the following structure:
420
422
  # * +:policy_arn+ - (String)
421
423
 
424
+ # @!method put_scheduled_update_group_action(options = {})
422
425
  # Calls the PutScheduledUpdateGroupAction API operation.
423
- # @method put_scheduled_update_group_action(options = {})
424
426
  # @param [Hash] options
425
427
  # * +:auto_scaling_group_name+ - *required* - (String)
426
428
  # * +:scheduled_action_name+ - *required* - (String)
@@ -433,38 +435,38 @@ module AWS
433
435
  # * +:desired_capacity+ - (Integer)
434
436
  # @return [Core::Response]
435
437
 
438
+ # @!method resume_processes(options = {})
436
439
  # Calls the ResumeProcesses API operation.
437
- # @method resume_processes(options = {})
438
440
  # @param [Hash] options
439
441
  # * +:auto_scaling_group_name+ - *required* - (String)
440
442
  # * +:scaling_processes+ - (Array<String>)
441
443
  # @return [Core::Response]
442
444
 
445
+ # @!method set_desired_capacity(options = {})
443
446
  # Calls the SetDesiredCapacity API operation.
444
- # @method set_desired_capacity(options = {})
445
447
  # @param [Hash] options
446
448
  # * +:auto_scaling_group_name+ - *required* - (String)
447
449
  # * +:desired_capacity+ - *required* - (Integer)
448
450
  # * +:honor_cooldown+ - (Boolean)
449
451
  # @return [Core::Response]
450
452
 
453
+ # @!method set_instance_health(options = {})
451
454
  # Calls the SetInstanceHealth API operation.
452
- # @method set_instance_health(options = {})
453
455
  # @param [Hash] options
454
456
  # * +:instance_id+ - *required* - (String)
455
457
  # * +:health_status+ - *required* - (String)
456
458
  # * +:should_respect_grace_period+ - (Boolean)
457
459
  # @return [Core::Response]
458
460
 
461
+ # @!method suspend_processes(options = {})
459
462
  # Calls the SuspendProcesses API operation.
460
- # @method suspend_processes(options = {})
461
463
  # @param [Hash] options
462
464
  # * +:auto_scaling_group_name+ - *required* - (String)
463
465
  # * +:scaling_processes+ - (Array<String>)
464
466
  # @return [Core::Response]
465
467
 
468
+ # @!method terminate_instance_in_auto_scaling_group(options = {})
466
469
  # Calls the TerminateInstanceInAutoScalingGroup API operation.
467
- # @method terminate_instance_in_auto_scaling_group(options = {})
468
470
  # @param [Hash] options
469
471
  # * +:instance_id+ - *required* - (String)
470
472
  # * +:should_decrement_desired_capacity+ - *required* - (Boolean)
@@ -483,8 +485,8 @@ module AWS
483
485
  # * +:progress+ - (Integer)
484
486
  # * +:details+ - (String)
485
487
 
488
+ # @!method update_auto_scaling_group(options = {})
486
489
  # Calls the UpdateAutoScalingGroup API operation.
487
- # @method update_auto_scaling_group(options = {})
488
490
  # @param [Hash] options
489
491
  # * +:auto_scaling_group_name+ - *required* - (String)
490
492
  # * +:launch_configuration_name+ - (String)
@@ -501,8 +503,6 @@ module AWS
501
503
 
502
504
  ## end client methods ##
503
505
 
504
- define_client_methods('2011-01-01')
505
-
506
506
  end
507
507
  end
508
508
  end
@@ -17,6 +17,8 @@ module AWS
17
17
  # Client class for AWS CloudFormation.
18
18
  class Client < Core::QueryClient
19
19
 
20
+ define_client_methods('2010-05-15')
21
+
20
22
  # @private
21
23
  CACHEABLE_REQUESTS = Set[
22
24
  :describe_adjustment_types,
@@ -35,8 +37,8 @@ module AWS
35
37
 
36
38
  ## client methods ##
37
39
 
40
+ # @!method create_stack(options = {})
38
41
  # Calls the CreateStack API operation.
39
- # @method create_stack(options = {})
40
42
  # @param [Hash] options
41
43
  # * +:stack_name+ - *required* - (String)
42
44
  # * +:template_body+ - (String)
@@ -54,22 +56,22 @@ module AWS
54
56
  # a hash with the following structure:
55
57
  # * +:stack_id+ - (String)
56
58
 
59
+ # @!method create_upload_bucket(options = {})
57
60
  # Calls the CreateUploadBucket API operation.
58
- # @method create_upload_bucket(options = {})
59
61
  # @param [Hash] options
60
62
  # @return [Core::Response]
61
63
  # The #data method of the response object returns
62
64
  # a hash with the following structure:
63
65
  # * +:bucket_name+ - (String)
64
66
 
67
+ # @!method delete_stack(options = {})
65
68
  # Calls the DeleteStack API operation.
66
- # @method delete_stack(options = {})
67
69
  # @param [Hash] options
68
70
  # * +:stack_name+ - *required* - (String)
69
71
  # @return [Core::Response]
70
72
 
73
+ # @!method describe_stack_events(options = {})
71
74
  # Calls the DescribeStackEvents API operation.
72
- # @method describe_stack_events(options = {})
73
75
  # @param [Hash] options
74
76
  # * +:stack_name+ - (String)
75
77
  # * +:next_token+ - (String)
@@ -89,8 +91,8 @@ module AWS
89
91
  # * +:resource_properties+ - (String)
90
92
  # * +:next_token+ - (String)
91
93
 
94
+ # @!method describe_stack_resource(options = {})
92
95
  # Calls the DescribeStackResource API operation.
93
- # @method describe_stack_resource(options = {})
94
96
  # @param [Hash] options
95
97
  # * +:stack_name+ - *required* - (String)
96
98
  # * +:logical_resource_id+ - *required* - (String)
@@ -109,8 +111,8 @@ module AWS
109
111
  # * +:description+ - (String)
110
112
  # * +:metadata+ - (String)
111
113
 
114
+ # @!method describe_stack_resources(options = {})
112
115
  # Calls the DescribeStackResources API operation.
113
- # @method describe_stack_resources(options = {})
114
116
  # @param [Hash] options
115
117
  # * +:stack_name+ - (String)
116
118
  # * +:logical_resource_id+ - (String)
@@ -129,8 +131,8 @@ module AWS
129
131
  # * +:resource_status_reason+ - (String)
130
132
  # * +:description+ - (String)
131
133
 
134
+ # @!method describe_stacks(options = {})
132
135
  # Calls the DescribeStacks API operation.
133
- # @method describe_stacks(options = {})
134
136
  # @param [Hash] options
135
137
  # * +:stack_name+ - (String)
136
138
  # @return [Core::Response]
@@ -156,8 +158,8 @@ module AWS
156
158
  # * +:output_value+ - (String)
157
159
  # * +:description+ - (String)
158
160
 
161
+ # @!method estimate_template_cost(options = {})
159
162
  # Calls the EstimateTemplateCost API operation.
160
- # @method estimate_template_cost(options = {})
161
163
  # @param [Hash] options
162
164
  # * +:template_body+ - (String)
163
165
  # * +:template_url+ - (String)
@@ -169,8 +171,8 @@ module AWS
169
171
  # a hash with the following structure:
170
172
  # * +:url+ - (String)
171
173
 
174
+ # @!method get_template(options = {})
172
175
  # Calls the GetTemplate API operation.
173
- # @method get_template(options = {})
174
176
  # @param [Hash] options
175
177
  # * +:stack_name+ - *required* - (String)
176
178
  # @return [Core::Response]
@@ -178,8 +180,8 @@ module AWS
178
180
  # a hash with the following structure:
179
181
  # * +:template_body+ - (String)
180
182
 
183
+ # @!method list_stack_resources(options = {})
181
184
  # Calls the ListStackResources API operation.
182
- # @method list_stack_resources(options = {})
183
185
  # @param [Hash] options
184
186
  # * +:stack_name+ - *required* - (String)
185
187
  # * +:next_token+ - (String)
@@ -195,8 +197,8 @@ module AWS
195
197
  # * +:resource_status_reason+ - (String)
196
198
  # * +:next_token+ - (String)
197
199
 
200
+ # @!method list_stacks(options = {})
198
201
  # Calls the ListStacks API operation.
199
- # @method list_stacks(options = {})
200
202
  # @param [Hash] options
201
203
  # * +:next_token+ - (String)
202
204
  # * +:stack_status_filter+ - (Array<String>)
@@ -214,8 +216,8 @@ module AWS
214
216
  # * +:stack_status_reason+ - (String)
215
217
  # * +:next_token+ - (String)
216
218
 
219
+ # @!method update_stack(options = {})
217
220
  # Calls the UpdateStack API operation.
218
- # @method update_stack(options = {})
219
221
  # @param [Hash] options
220
222
  # * +:stack_name+ - *required* - (String)
221
223
  # * +:template_body+ - (String)
@@ -229,8 +231,8 @@ module AWS
229
231
  # a hash with the following structure:
230
232
  # * +:stack_id+ - (String)
231
233
 
234
+ # @!method validate_template(options = {})
232
235
  # Calls the ValidateTemplate API operation.
233
- # @method validate_template(options = {})
234
236
  # @param [Hash] options
235
237
  # * +:template_body+ - (String)
236
238
  # * +:template_url+ - (String)
@@ -248,8 +250,6 @@ module AWS
248
250
 
249
251
  ## end client methods ##
250
252
 
251
- define_client_methods('2010-05-15')
252
-
253
253
  end
254
254
  end
255
255
  end