aws-sdk 1.6.3 → 1.6.4
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/lib/aws/api_config/AutoScaling-2011-01-01.yml +1 -0
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +1 -0
- data/lib/aws/api_config/CloudFront-2012-05-05.yml +2137 -0
- data/lib/aws/api_config/CloudWatch-2010-08-01.yml +9 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +616 -0
- data/lib/aws/api_config/EC2-2012-07-20.yml +1 -0
- data/lib/aws/api_config/ELB-2012-06-01.yml +1 -0
- data/lib/aws/api_config/EMR-2009-03-31.yml +1 -0
- data/lib/aws/api_config/IAM-2010-05-08.yml +1 -0
- data/lib/aws/api_config/Route53-2012-02-29.yml +350 -349
- data/lib/aws/api_config/SNS-2010-03-31.yml +1 -0
- data/lib/aws/api_config/SQS-2011-10-01.yml +1 -0
- data/lib/aws/api_config/STS-2011-06-15.yml +1 -0
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +1 -0
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +62 -0
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +1637 -0
- data/lib/aws/auto_scaling/client.rb +2 -37
- data/lib/aws/cloud_formation/client.rb +2 -17
- data/lib/aws/cloud_watch/client.rb +2 -15
- data/lib/aws/core.rb +24 -4
- data/lib/aws/core/client.rb +115 -46
- data/lib/aws/core/configuration.rb +6 -0
- data/lib/aws/core/credential_providers.rb +1 -0
- data/lib/aws/core/http/curb_handler.rb +3 -3
- data/lib/aws/core/http/httparty_handler.rb +15 -15
- data/lib/aws/core/json_client.rb +19 -77
- data/lib/aws/core/json_error_parser.rb +25 -0
- data/lib/aws/core/json_request_builder.rb +34 -0
- data/lib/aws/core/json_response_parser.rb +81 -0
- data/lib/aws/core/log_formatter.rb +25 -25
- data/lib/aws/core/option_grammar.rb +123 -115
- data/lib/aws/core/options/xml_serializer.rb +13 -9
- data/lib/aws/core/query_client.rb +13 -104
- data/lib/aws/core/query_error_parser.rb +24 -0
- data/lib/aws/core/query_request_builder.rb +47 -0
- data/lib/aws/core/query_response_parser.rb +35 -0
- data/lib/aws/core/rest_client.rb +13 -62
- data/lib/aws/core/rest_error_parser.rb +24 -0
- data/lib/aws/core/rest_request_builder.rb +124 -0
- data/lib/aws/core/rest_response_parser.rb +48 -0
- data/lib/aws/core/xml/parser.rb +2 -2
- data/lib/aws/core/xml/root_frame.rb +1 -1
- data/lib/aws/dynamo_db.rb +10 -9
- data/lib/aws/dynamo_db/binary.rb +35 -0
- data/lib/aws/dynamo_db/client.rb +103 -20
- data/lib/aws/dynamo_db/config.rb +2 -0
- data/lib/aws/dynamo_db/item.rb +3 -0
- data/lib/aws/dynamo_db/primary_key_element.rb +2 -1
- data/lib/aws/dynamo_db/table.rb +32 -36
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/dynamo_db/types.rb +34 -9
- data/lib/aws/ec2/client.rb +884 -344
- data/lib/aws/ec2/filtered_collection.rb +2 -3
- data/lib/aws/elb/client.rb +59 -45
- data/lib/aws/emr/client.rb +2 -11
- data/lib/aws/iam/client.rb +9 -80
- data/lib/aws/record/hash_model/attributes.rb +28 -13
- data/lib/aws/route_53/client.rb +6 -16
- data/lib/aws/s3/client.rb +2 -1
- data/lib/aws/s3/encryption_utils.rb +2 -7
- data/lib/aws/s3/s3_object.rb +5 -0
- data/lib/aws/simple_db/client.rb +2 -14
- data/lib/aws/simple_email_service/client.rb +35 -19
- data/lib/aws/simple_email_service/identity.rb +49 -10
- data/lib/aws/simple_email_service/identity_collection.rb +4 -4
- data/lib/aws/simple_workflow/client.rb +2 -38
- data/lib/aws/sns/client.rb +2 -19
- data/lib/aws/sqs/client.rb +2 -19
- data/lib/aws/sqs/errors.rb +5 -5
- data/lib/aws/sts/client.rb +2 -6
- metadata +14 -5
- data/lib/aws/core/rest_client/input_handler.rb +0 -145
- data/lib/aws/core/rest_client/output_handler.rb +0 -53
@@ -15,11 +15,9 @@ module AWS
|
|
15
15
|
class AutoScaling
|
16
16
|
|
17
17
|
# Client class for Auto Scaling.
|
18
|
-
class Client < Core::
|
18
|
+
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
extend Core::QueryClient
|
20
|
+
define_client_methods('2011-01-01')
|
23
21
|
|
24
22
|
# @private
|
25
23
|
CACHEABLE_REQUESTS = Set[
|
@@ -61,7 +59,6 @@ module AWS
|
|
61
59
|
# * +:value+ - (String)
|
62
60
|
# * +:propagate_at_launch+ - (Boolean)
|
63
61
|
# @return [Core::Response]
|
64
|
-
define_client_method :create_auto_scaling_group, 'CreateAutoScalingGroup'
|
65
62
|
|
66
63
|
# Calls the CreateLaunchConfiguration API operation.
|
67
64
|
# @method create_launch_configuration(options = {})
|
@@ -85,7 +82,6 @@ module AWS
|
|
85
82
|
# * +:spot_price+ - (String)
|
86
83
|
# * +:iam_instance_profile+ - (String)
|
87
84
|
# @return [Core::Response]
|
88
|
-
define_client_method :create_launch_configuration, 'CreateLaunchConfiguration'
|
89
85
|
|
90
86
|
# Calls the CreateOrUpdateTags API operation.
|
91
87
|
# @method create_or_update_tags(options = {})
|
@@ -97,7 +93,6 @@ module AWS
|
|
97
93
|
# * +:value+ - (String)
|
98
94
|
# * +:propagate_at_launch+ - (Boolean)
|
99
95
|
# @return [Core::Response]
|
100
|
-
define_client_method :create_or_update_tags, 'CreateOrUpdateTags'
|
101
96
|
|
102
97
|
# Calls the DeleteAutoScalingGroup API operation.
|
103
98
|
# @method delete_auto_scaling_group(options = {})
|
@@ -105,14 +100,12 @@ module AWS
|
|
105
100
|
# * +:auto_scaling_group_name+ - *required* - (String)
|
106
101
|
# * +:force_delete+ - (Boolean)
|
107
102
|
# @return [Core::Response]
|
108
|
-
define_client_method :delete_auto_scaling_group, 'DeleteAutoScalingGroup'
|
109
103
|
|
110
104
|
# Calls the DeleteLaunchConfiguration API operation.
|
111
105
|
# @method delete_launch_configuration(options = {})
|
112
106
|
# @param [Hash] options
|
113
107
|
# * +:launch_configuration_name+ - *required* - (String)
|
114
108
|
# @return [Core::Response]
|
115
|
-
define_client_method :delete_launch_configuration, 'DeleteLaunchConfiguration'
|
116
109
|
|
117
110
|
# Calls the DeleteNotificationConfiguration API operation.
|
118
111
|
# @method delete_notification_configuration(options = {})
|
@@ -120,7 +113,6 @@ module AWS
|
|
120
113
|
# * +:auto_scaling_group_name+ - *required* - (String)
|
121
114
|
# * +:topic_arn+ - *required* - (String)
|
122
115
|
# @return [Core::Response]
|
123
|
-
define_client_method :delete_notification_configuration, 'DeleteNotificationConfiguration'
|
124
116
|
|
125
117
|
# Calls the DeletePolicy API operation.
|
126
118
|
# @method delete_policy(options = {})
|
@@ -128,7 +120,6 @@ module AWS
|
|
128
120
|
# * +:auto_scaling_group_name+ - (String)
|
129
121
|
# * +:policy_name+ - *required* - (String)
|
130
122
|
# @return [Core::Response]
|
131
|
-
define_client_method :delete_policy, 'DeletePolicy'
|
132
123
|
|
133
124
|
# Calls the DeleteScheduledAction API operation.
|
134
125
|
# @method delete_scheduled_action(options = {})
|
@@ -136,7 +127,6 @@ module AWS
|
|
136
127
|
# * +:auto_scaling_group_name+ - (String)
|
137
128
|
# * +:scheduled_action_name+ - *required* - (String)
|
138
129
|
# @return [Core::Response]
|
139
|
-
define_client_method :delete_scheduled_action, 'DeleteScheduledAction'
|
140
130
|
|
141
131
|
# Calls the DeleteTags API operation.
|
142
132
|
# @method delete_tags(options = {})
|
@@ -148,7 +138,6 @@ module AWS
|
|
148
138
|
# * +:value+ - (String)
|
149
139
|
# * +:propagate_at_launch+ - (Boolean)
|
150
140
|
# @return [Core::Response]
|
151
|
-
define_client_method :delete_tags, 'DeleteTags'
|
152
141
|
|
153
142
|
# Calls the DescribeAdjustmentTypes API operation.
|
154
143
|
# @method describe_adjustment_types(options = {})
|
@@ -158,7 +147,6 @@ module AWS
|
|
158
147
|
# a hash with the following structure:
|
159
148
|
# * +:adjustment_types+ - (Array<Hash>)
|
160
149
|
# * +:adjustment_type+ - (String)
|
161
|
-
define_client_method :describe_adjustment_types, 'DescribeAdjustmentTypes'
|
162
150
|
|
163
151
|
# Calls the DescribeAutoScalingGroups API operation.
|
164
152
|
# @method describe_auto_scaling_groups(options = {})
|
@@ -204,7 +192,6 @@ module AWS
|
|
204
192
|
# * +:value+ - (String)
|
205
193
|
# * +:propagate_at_launch+ - (Boolean)
|
206
194
|
# * +:next_token+ - (String)
|
207
|
-
define_client_method :describe_auto_scaling_groups, 'DescribeAutoScalingGroups'
|
208
195
|
|
209
196
|
# Calls the DescribeAutoScalingInstances API operation.
|
210
197
|
# @method describe_auto_scaling_instances(options = {})
|
@@ -223,7 +210,6 @@ module AWS
|
|
223
210
|
# * +:health_status+ - (String)
|
224
211
|
# * +:launch_configuration_name+ - (String)
|
225
212
|
# * +:next_token+ - (String)
|
226
|
-
define_client_method :describe_auto_scaling_instances, 'DescribeAutoScalingInstances'
|
227
213
|
|
228
214
|
# Calls the DescribeAutoScalingNotificationTypes API operation.
|
229
215
|
# @method describe_auto_scaling_notification_types(options = {})
|
@@ -232,7 +218,6 @@ module AWS
|
|
232
218
|
# The #data method of the response object returns
|
233
219
|
# a hash with the following structure:
|
234
220
|
# * +:auto_scaling_notification_types+ - (Array<String>)
|
235
|
-
define_client_method :describe_auto_scaling_notification_types, 'DescribeAutoScalingNotificationTypes'
|
236
221
|
|
237
222
|
# Calls the DescribeLaunchConfigurations API operation.
|
238
223
|
# @method describe_launch_configurations(options = {})
|
@@ -265,7 +250,6 @@ module AWS
|
|
265
250
|
# * +:iam_instance_profile+ - (String)
|
266
251
|
# * +:created_time+ - (Time)
|
267
252
|
# * +:next_token+ - (String)
|
268
|
-
define_client_method :describe_launch_configurations, 'DescribeLaunchConfigurations'
|
269
253
|
|
270
254
|
# Calls the DescribeMetricCollectionTypes API operation.
|
271
255
|
# @method describe_metric_collection_types(options = {})
|
@@ -277,7 +261,6 @@ module AWS
|
|
277
261
|
# * +:metric+ - (String)
|
278
262
|
# * +:granularities+ - (Array<Hash>)
|
279
263
|
# * +:granularity+ - (String)
|
280
|
-
define_client_method :describe_metric_collection_types, 'DescribeMetricCollectionTypes'
|
281
264
|
|
282
265
|
# Calls the DescribeNotificationConfigurations API operation.
|
283
266
|
# @method describe_notification_configurations(options = {})
|
@@ -293,7 +276,6 @@ module AWS
|
|
293
276
|
# * +:topic_arn+ - (String)
|
294
277
|
# * +:notification_type+ - (String)
|
295
278
|
# * +:next_token+ - (String)
|
296
|
-
define_client_method :describe_notification_configurations, 'DescribeNotificationConfigurations'
|
297
279
|
|
298
280
|
# Calls the DescribePolicies API operation.
|
299
281
|
# @method describe_policies(options = {})
|
@@ -317,7 +299,6 @@ module AWS
|
|
317
299
|
# * +:alarm_arn+ - (String)
|
318
300
|
# * +:min_adjustment_step+ - (Integer)
|
319
301
|
# * +:next_token+ - (String)
|
320
|
-
define_client_method :describe_policies, 'DescribePolicies'
|
321
302
|
|
322
303
|
# Calls the DescribeScalingActivities API operation.
|
323
304
|
# @method describe_scaling_activities(options = {})
|
@@ -341,7 +322,6 @@ module AWS
|
|
341
322
|
# * +:progress+ - (Integer)
|
342
323
|
# * +:details+ - (String)
|
343
324
|
# * +:next_token+ - (String)
|
344
|
-
define_client_method :describe_scaling_activities, 'DescribeScalingActivities'
|
345
325
|
|
346
326
|
# Calls the DescribeScalingProcessTypes API operation.
|
347
327
|
# @method describe_scaling_process_types(options = {})
|
@@ -351,7 +331,6 @@ module AWS
|
|
351
331
|
# a hash with the following structure:
|
352
332
|
# * +:processes+ - (Array<Hash>)
|
353
333
|
# * +:process_name+ - (String)
|
354
|
-
define_client_method :describe_scaling_process_types, 'DescribeScalingProcessTypes'
|
355
334
|
|
356
335
|
# Calls the DescribeScheduledActions API operation.
|
357
336
|
# @method describe_scheduled_actions(options = {})
|
@@ -377,7 +356,6 @@ module AWS
|
|
377
356
|
# * +:max_size+ - (Integer)
|
378
357
|
# * +:desired_capacity+ - (Integer)
|
379
358
|
# * +:next_token+ - (String)
|
380
|
-
define_client_method :describe_scheduled_actions, 'DescribeScheduledActions'
|
381
359
|
|
382
360
|
# Calls the DescribeTags API operation.
|
383
361
|
# @method describe_tags(options = {})
|
@@ -397,7 +375,6 @@ module AWS
|
|
397
375
|
# * +:value+ - (String)
|
398
376
|
# * +:propagate_at_launch+ - (Boolean)
|
399
377
|
# * +:next_token+ - (String)
|
400
|
-
define_client_method :describe_tags, 'DescribeTags'
|
401
378
|
|
402
379
|
# Calls the DisableMetricsCollection API operation.
|
403
380
|
# @method disable_metrics_collection(options = {})
|
@@ -405,7 +382,6 @@ module AWS
|
|
405
382
|
# * +:auto_scaling_group_name+ - *required* - (String)
|
406
383
|
# * +:metrics+ - (Array<String>)
|
407
384
|
# @return [Core::Response]
|
408
|
-
define_client_method :disable_metrics_collection, 'DisableMetricsCollection'
|
409
385
|
|
410
386
|
# Calls the EnableMetricsCollection API operation.
|
411
387
|
# @method enable_metrics_collection(options = {})
|
@@ -414,7 +390,6 @@ module AWS
|
|
414
390
|
# * +:metrics+ - (Array<String>)
|
415
391
|
# * +:granularity+ - *required* - (String)
|
416
392
|
# @return [Core::Response]
|
417
|
-
define_client_method :enable_metrics_collection, 'EnableMetricsCollection'
|
418
393
|
|
419
394
|
# Calls the ExecutePolicy API operation.
|
420
395
|
# @method execute_policy(options = {})
|
@@ -423,7 +398,6 @@ module AWS
|
|
423
398
|
# * +:policy_name+ - *required* - (String)
|
424
399
|
# * +:honor_cooldown+ - (Boolean)
|
425
400
|
# @return [Core::Response]
|
426
|
-
define_client_method :execute_policy, 'ExecutePolicy'
|
427
401
|
|
428
402
|
# Calls the PutNotificationConfiguration API operation.
|
429
403
|
# @method put_notification_configuration(options = {})
|
@@ -432,7 +406,6 @@ module AWS
|
|
432
406
|
# * +:topic_arn+ - *required* - (String)
|
433
407
|
# * +:notification_types+ - *required* - (Array<String>)
|
434
408
|
# @return [Core::Response]
|
435
|
-
define_client_method :put_notification_configuration, 'PutNotificationConfiguration'
|
436
409
|
|
437
410
|
# Calls the PutScalingPolicy API operation.
|
438
411
|
# @method put_scaling_policy(options = {})
|
@@ -447,7 +420,6 @@ module AWS
|
|
447
420
|
# The #data method of the response object returns
|
448
421
|
# a hash with the following structure:
|
449
422
|
# * +:policy_arn+ - (String)
|
450
|
-
define_client_method :put_scaling_policy, 'PutScalingPolicy'
|
451
423
|
|
452
424
|
# Calls the PutScheduledUpdateGroupAction API operation.
|
453
425
|
# @method put_scheduled_update_group_action(options = {})
|
@@ -462,7 +434,6 @@ module AWS
|
|
462
434
|
# * +:max_size+ - (Integer)
|
463
435
|
# * +:desired_capacity+ - (Integer)
|
464
436
|
# @return [Core::Response]
|
465
|
-
define_client_method :put_scheduled_update_group_action, 'PutScheduledUpdateGroupAction'
|
466
437
|
|
467
438
|
# Calls the ResumeProcesses API operation.
|
468
439
|
# @method resume_processes(options = {})
|
@@ -470,7 +441,6 @@ module AWS
|
|
470
441
|
# * +:auto_scaling_group_name+ - *required* - (String)
|
471
442
|
# * +:scaling_processes+ - (Array<String>)
|
472
443
|
# @return [Core::Response]
|
473
|
-
define_client_method :resume_processes, 'ResumeProcesses'
|
474
444
|
|
475
445
|
# Calls the SetDesiredCapacity API operation.
|
476
446
|
# @method set_desired_capacity(options = {})
|
@@ -479,7 +449,6 @@ module AWS
|
|
479
449
|
# * +:desired_capacity+ - *required* - (Integer)
|
480
450
|
# * +:honor_cooldown+ - (Boolean)
|
481
451
|
# @return [Core::Response]
|
482
|
-
define_client_method :set_desired_capacity, 'SetDesiredCapacity'
|
483
452
|
|
484
453
|
# Calls the SetInstanceHealth API operation.
|
485
454
|
# @method set_instance_health(options = {})
|
@@ -488,7 +457,6 @@ module AWS
|
|
488
457
|
# * +:health_status+ - *required* - (String)
|
489
458
|
# * +:should_respect_grace_period+ - (Boolean)
|
490
459
|
# @return [Core::Response]
|
491
|
-
define_client_method :set_instance_health, 'SetInstanceHealth'
|
492
460
|
|
493
461
|
# Calls the SuspendProcesses API operation.
|
494
462
|
# @method suspend_processes(options = {})
|
@@ -496,7 +464,6 @@ module AWS
|
|
496
464
|
# * +:auto_scaling_group_name+ - *required* - (String)
|
497
465
|
# * +:scaling_processes+ - (Array<String>)
|
498
466
|
# @return [Core::Response]
|
499
|
-
define_client_method :suspend_processes, 'SuspendProcesses'
|
500
467
|
|
501
468
|
# Calls the TerminateInstanceInAutoScalingGroup API operation.
|
502
469
|
# @method terminate_instance_in_auto_scaling_group(options = {})
|
@@ -517,7 +484,6 @@ module AWS
|
|
517
484
|
# * +:status_message+ - (String)
|
518
485
|
# * +:progress+ - (Integer)
|
519
486
|
# * +:details+ - (String)
|
520
|
-
define_client_method :terminate_instance_in_auto_scaling_group, 'TerminateInstanceInAutoScalingGroup'
|
521
487
|
|
522
488
|
# Calls the UpdateAutoScalingGroup API operation.
|
523
489
|
# @method update_auto_scaling_group(options = {})
|
@@ -534,7 +500,6 @@ module AWS
|
|
534
500
|
# * +:placement_group+ - (String)
|
535
501
|
# * +:vpc_zone_identifier+ - (String)
|
536
502
|
# @return [Core::Response]
|
537
|
-
define_client_method :update_auto_scaling_group, 'UpdateAutoScalingGroup'
|
538
503
|
|
539
504
|
## end client methods ##
|
540
505
|
|
@@ -15,11 +15,9 @@ module AWS
|
|
15
15
|
class CloudFormation
|
16
16
|
|
17
17
|
# Client class for AWS CloudFormation.
|
18
|
-
class Client < Core::
|
18
|
+
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
extend Core::QueryClient
|
20
|
+
define_client_methods('2010-05-15')
|
23
21
|
|
24
22
|
# @private
|
25
23
|
CACHEABLE_REQUESTS = Set[
|
@@ -57,7 +55,6 @@ module AWS
|
|
57
55
|
# The #data method of the response object returns
|
58
56
|
# a hash with the following structure:
|
59
57
|
# * +:stack_id+ - (String)
|
60
|
-
define_client_method :create_stack, 'CreateStack'
|
61
58
|
|
62
59
|
# Calls the CreateUploadBucket API operation.
|
63
60
|
# @method create_upload_bucket(options = {})
|
@@ -66,14 +63,12 @@ module AWS
|
|
66
63
|
# The #data method of the response object returns
|
67
64
|
# a hash with the following structure:
|
68
65
|
# * +:bucket_name+ - (String)
|
69
|
-
define_client_method :create_upload_bucket, 'CreateUploadBucket'
|
70
66
|
|
71
67
|
# Calls the DeleteStack API operation.
|
72
68
|
# @method delete_stack(options = {})
|
73
69
|
# @param [Hash] options
|
74
70
|
# * +:stack_name+ - *required* - (String)
|
75
71
|
# @return [Core::Response]
|
76
|
-
define_client_method :delete_stack, 'DeleteStack'
|
77
72
|
|
78
73
|
# Calls the DescribeStackEvents API operation.
|
79
74
|
# @method describe_stack_events(options = {})
|
@@ -95,7 +90,6 @@ module AWS
|
|
95
90
|
# * +:resource_status_reason+ - (String)
|
96
91
|
# * +:resource_properties+ - (String)
|
97
92
|
# * +:next_token+ - (String)
|
98
|
-
define_client_method :describe_stack_events, 'DescribeStackEvents'
|
99
93
|
|
100
94
|
# Calls the DescribeStackResource API operation.
|
101
95
|
# @method describe_stack_resource(options = {})
|
@@ -116,7 +110,6 @@ module AWS
|
|
116
110
|
# * +:resource_status_reason+ - (String)
|
117
111
|
# * +:description+ - (String)
|
118
112
|
# * +:metadata+ - (String)
|
119
|
-
define_client_method :describe_stack_resource, 'DescribeStackResource'
|
120
113
|
|
121
114
|
# Calls the DescribeStackResources API operation.
|
122
115
|
# @method describe_stack_resources(options = {})
|
@@ -137,7 +130,6 @@ module AWS
|
|
137
130
|
# * +:resource_status+ - (String)
|
138
131
|
# * +:resource_status_reason+ - (String)
|
139
132
|
# * +:description+ - (String)
|
140
|
-
define_client_method :describe_stack_resources, 'DescribeStackResources'
|
141
133
|
|
142
134
|
# Calls the DescribeStacks API operation.
|
143
135
|
# @method describe_stacks(options = {})
|
@@ -165,7 +157,6 @@ module AWS
|
|
165
157
|
# * +:output_key+ - (String)
|
166
158
|
# * +:output_value+ - (String)
|
167
159
|
# * +:description+ - (String)
|
168
|
-
define_client_method :describe_stacks, 'DescribeStacks'
|
169
160
|
|
170
161
|
# Calls the EstimateTemplateCost API operation.
|
171
162
|
# @method estimate_template_cost(options = {})
|
@@ -179,7 +170,6 @@ module AWS
|
|
179
170
|
# The #data method of the response object returns
|
180
171
|
# a hash with the following structure:
|
181
172
|
# * +:url+ - (String)
|
182
|
-
define_client_method :estimate_template_cost, 'EstimateTemplateCost'
|
183
173
|
|
184
174
|
# Calls the GetTemplate API operation.
|
185
175
|
# @method get_template(options = {})
|
@@ -189,7 +179,6 @@ module AWS
|
|
189
179
|
# The #data method of the response object returns
|
190
180
|
# a hash with the following structure:
|
191
181
|
# * +:template_body+ - (String)
|
192
|
-
define_client_method :get_template, 'GetTemplate'
|
193
182
|
|
194
183
|
# Calls the ListStackResources API operation.
|
195
184
|
# @method list_stack_resources(options = {})
|
@@ -207,7 +196,6 @@ module AWS
|
|
207
196
|
# * +:resource_status+ - (String)
|
208
197
|
# * +:resource_status_reason+ - (String)
|
209
198
|
# * +:next_token+ - (String)
|
210
|
-
define_client_method :list_stack_resources, 'ListStackResources'
|
211
199
|
|
212
200
|
# Calls the ListStacks API operation.
|
213
201
|
# @method list_stacks(options = {})
|
@@ -227,7 +215,6 @@ module AWS
|
|
227
215
|
# * +:stack_status+ - (String)
|
228
216
|
# * +:stack_status_reason+ - (String)
|
229
217
|
# * +:next_token+ - (String)
|
230
|
-
define_client_method :list_stacks, 'ListStacks'
|
231
218
|
|
232
219
|
# Calls the UpdateStack API operation.
|
233
220
|
# @method update_stack(options = {})
|
@@ -243,7 +230,6 @@ module AWS
|
|
243
230
|
# The #data method of the response object returns
|
244
231
|
# a hash with the following structure:
|
245
232
|
# * +:stack_id+ - (String)
|
246
|
-
define_client_method :update_stack, 'UpdateStack'
|
247
233
|
|
248
234
|
# Calls the ValidateTemplate API operation.
|
249
235
|
# @method validate_template(options = {})
|
@@ -261,7 +247,6 @@ module AWS
|
|
261
247
|
# * +:description+ - (String)
|
262
248
|
# * +:capabilities+ - (Array<String>)
|
263
249
|
# * +:capabilities_reason+ - (String)
|
264
|
-
define_client_method :validate_template, 'ValidateTemplate'
|
265
250
|
|
266
251
|
## end client methods ##
|
267
252
|
|
@@ -15,11 +15,9 @@ module AWS
|
|
15
15
|
class CloudWatch
|
16
16
|
|
17
17
|
# Client class for Cloud Watch
|
18
|
-
class Client < Core::
|
18
|
+
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
extend Core::QueryClient
|
20
|
+
define_client_methods('2010-08-01')
|
23
21
|
|
24
22
|
# @private
|
25
23
|
CACHEABLE_REQUESTS = Set[
|
@@ -36,7 +34,6 @@ module AWS
|
|
36
34
|
# @param [Hash] options
|
37
35
|
# * +:alarm_names+ - *required* - (Array<String>)
|
38
36
|
# @return [Core::Response]
|
39
|
-
define_client_method :delete_alarms, 'DeleteAlarms'
|
40
37
|
|
41
38
|
# Calls the DescribeAlarmHistory API operation.
|
42
39
|
# @method describe_alarm_history(options = {})
|
@@ -57,7 +54,6 @@ module AWS
|
|
57
54
|
# * +:history_summary+ - (String)
|
58
55
|
# * +:history_data+ - (String)
|
59
56
|
# * +:next_token+ - (String)
|
60
|
-
define_client_method :describe_alarm_history, 'DescribeAlarmHistory'
|
61
57
|
|
62
58
|
# Calls the DescribeAlarms API operation.
|
63
59
|
# @method describe_alarms(options = {})
|
@@ -96,7 +92,6 @@ module AWS
|
|
96
92
|
# * +:threshold+ - (Numeric)
|
97
93
|
# * +:comparison_operator+ - (String)
|
98
94
|
# * +:next_token+ - (String)
|
99
|
-
define_client_method :describe_alarms, 'DescribeAlarms'
|
100
95
|
|
101
96
|
# Calls the DescribeAlarmsForMetric API operation.
|
102
97
|
# @method describe_alarms_for_metric(options = {})
|
@@ -136,21 +131,18 @@ module AWS
|
|
136
131
|
# * +:evaluation_periods+ - (Integer)
|
137
132
|
# * +:threshold+ - (Numeric)
|
138
133
|
# * +:comparison_operator+ - (String)
|
139
|
-
define_client_method :describe_alarms_for_metric, 'DescribeAlarmsForMetric'
|
140
134
|
|
141
135
|
# Calls the DisableAlarmActions API operation.
|
142
136
|
# @method disable_alarm_actions(options = {})
|
143
137
|
# @param [Hash] options
|
144
138
|
# * +:alarm_names+ - *required* - (Array<String>)
|
145
139
|
# @return [Core::Response]
|
146
|
-
define_client_method :disable_alarm_actions, 'DisableAlarmActions'
|
147
140
|
|
148
141
|
# Calls the EnableAlarmActions API operation.
|
149
142
|
# @method enable_alarm_actions(options = {})
|
150
143
|
# @param [Hash] options
|
151
144
|
# * +:alarm_names+ - *required* - (Array<String>)
|
152
145
|
# @return [Core::Response]
|
153
|
-
define_client_method :enable_alarm_actions, 'EnableAlarmActions'
|
154
146
|
|
155
147
|
# Calls the GetMetricStatistics API operation.
|
156
148
|
# @method get_metric_statistics(options = {})
|
@@ -177,7 +169,6 @@ module AWS
|
|
177
169
|
# * +:minimum+ - (Numeric)
|
178
170
|
# * +:maximum+ - (Numeric)
|
179
171
|
# * +:unit+ - (String)
|
180
|
-
define_client_method :get_metric_statistics, 'GetMetricStatistics'
|
181
172
|
|
182
173
|
# Calls the ListMetrics API operation.
|
183
174
|
# @method list_metrics(options = {})
|
@@ -198,7 +189,6 @@ module AWS
|
|
198
189
|
# * +:name+ - (String)
|
199
190
|
# * +:value+ - (String)
|
200
191
|
# * +:next_token+ - (String)
|
201
|
-
define_client_method :list_metrics, 'ListMetrics'
|
202
192
|
|
203
193
|
# Calls the PutMetricAlarm API operation.
|
204
194
|
# @method put_metric_alarm(options = {})
|
@@ -221,7 +211,6 @@ module AWS
|
|
221
211
|
# * +:threshold+ - *required* - (Float)
|
222
212
|
# * +:comparison_operator+ - *required* - (String)
|
223
213
|
# @return [Core::Response]
|
224
|
-
define_client_method :put_metric_alarm, 'PutMetricAlarm'
|
225
214
|
|
226
215
|
# Calls the PutMetricData API operation.
|
227
216
|
# @method put_metric_data(options = {})
|
@@ -241,7 +230,6 @@ module AWS
|
|
241
230
|
# * +:maximum+ - *required* - (Float)
|
242
231
|
# * +:unit+ - (String)
|
243
232
|
# @return [Core::Response]
|
244
|
-
define_client_method :put_metric_data, 'PutMetricData'
|
245
233
|
|
246
234
|
# Calls the SetAlarmState API operation.
|
247
235
|
# @method set_alarm_state(options = {})
|
@@ -251,7 +239,6 @@ module AWS
|
|
251
239
|
# * +:state_reason+ - *required* - (String)
|
252
240
|
# * +:state_reason_data+ - (String)
|
253
241
|
# @return [Core::Response]
|
254
|
-
define_client_method :set_alarm_state, 'SetAlarmState'
|
255
242
|
|
256
243
|
## end client methods ##
|
257
244
|
|