aws-sdk 1.5.8 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aws.rb +2 -0
- data/lib/aws/api_config/Route53-2012-02-29.yml +348 -0
- data/lib/aws/auto_scaling/client.rb +362 -588
- data/lib/aws/cloud_formation/client.rb +155 -224
- data/lib/aws/cloud_watch/client.rb +156 -229
- data/lib/aws/core.rb +67 -52
- data/lib/aws/core/client.rb +81 -82
- data/lib/aws/core/collection/with_limit_and_next_token.rb +2 -2
- data/lib/aws/core/configuration.rb +75 -72
- data/lib/aws/core/http/net_http_handler.rb +3 -3
- data/lib/aws/core/http/request.rb +107 -138
- data/lib/aws/core/inflection.rb +3 -3
- data/lib/aws/core/json_client.rb +106 -0
- data/lib/aws/core/option_grammar.rb +10 -1
- data/lib/aws/core/options/validator.rb +140 -0
- data/lib/aws/core/options/xml_serializer.rb +98 -0
- data/lib/aws/core/query_client.rb +131 -0
- data/lib/aws/core/rest_client.rb +90 -0
- data/lib/aws/core/rest_client/input_handler.rb +145 -0
- data/lib/aws/core/rest_client/output_handler.rb +43 -0
- data/lib/aws/core/signature/version_2.rb +7 -7
- data/lib/aws/core/signature/version_3.rb +5 -1
- data/lib/aws/core/signature/version_3_https.rb +51 -0
- data/lib/aws/core/signature/version_4.rb +5 -22
- data/lib/aws/core/signer.rb +1 -1
- data/lib/aws/core/uri_escape.rb +2 -0
- data/lib/aws/core/xml/frame.rb +8 -8
- data/lib/aws/core/xml/grammar.rb +8 -3
- data/lib/aws/dynamo_db/client.rb +600 -662
- data/lib/aws/ec2/client.rb +2688 -3492
- data/lib/aws/ec2/request.rb +0 -1
- data/lib/aws/elb/client.rb +280 -407
- data/lib/aws/emr/client.rb +7 -7
- data/lib/aws/iam/client.rb +822 -1268
- data/lib/aws/route_53.rb +71 -0
- data/lib/aws/route_53/client.rb +272 -0
- data/lib/aws/route_53/config.rb +18 -0
- data/lib/aws/route_53/errors.rb +22 -0
- data/lib/aws/route_53/request.rb +23 -0
- data/lib/aws/s3/object_version_collection.rb +6 -6
- data/lib/aws/s3/paginated_collection.rb +1 -1
- data/lib/aws/s3/request.rb +10 -5
- data/lib/aws/simple_db/client.rb +184 -234
- data/lib/aws/simple_email_service/client.rb +147 -238
- data/lib/aws/simple_workflow/client.rb +997 -1191
- data/lib/aws/sns/client.rb +176 -264
- data/lib/aws/sqs/client.rb +162 -253
- data/lib/aws/sqs/queue.rb +1 -1
- data/lib/aws/sqs/request.rb +4 -0
- data/lib/aws/sts/client.rb +57 -66
- metadata +95 -71
- data/lib/aws/core/client/query_json.rb +0 -112
- data/lib/aws/core/client/query_xml.rb +0 -122
@@ -19,7 +19,7 @@ module AWS
|
|
19
19
|
|
20
20
|
API_VERSION = '2010-08-01'
|
21
21
|
|
22
|
-
extend Core::
|
22
|
+
extend Core::QueryClient
|
23
23
|
|
24
24
|
# @private
|
25
25
|
CACHEABLE_REQUESTS = Set[
|
@@ -33,297 +33,224 @@ module AWS
|
|
33
33
|
|
34
34
|
# Calls the DeleteAlarms API operation.
|
35
35
|
# @method delete_alarms(options = {})
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
# * +:alarm_names+ - *required* - (Array<String>)
|
40
|
-
#
|
41
|
-
# === Response Structure:
|
42
|
-
#
|
43
|
-
# This method returns no response data.
|
44
|
-
#
|
36
|
+
# @param [Hash] options
|
37
|
+
# * +:alarm_names+ - *required* - (Array<String>)
|
45
38
|
# @return [Core::Response]
|
46
|
-
#
|
47
39
|
define_client_method :delete_alarms, 'DeleteAlarms'
|
48
40
|
|
49
41
|
# Calls the DescribeAlarmHistory API operation.
|
50
42
|
# @method describe_alarm_history(options = {})
|
51
|
-
#
|
52
|
-
# === Options:
|
53
|
-
#
|
54
|
-
# * +:alarm_name+ - (String)
|
55
|
-
# * +:history_item_type+ - (String)
|
56
|
-
# * +:start_date+ - (String<ISO8601 datetime>)
|
57
|
-
# * +:end_date+ - (String<ISO8601 datetime>)
|
58
|
-
# * +:max_records+ - (Integer)
|
59
|
-
# * +:next_token+ - (String)
|
60
|
-
#
|
61
|
-
# === Response Structure:
|
62
|
-
#
|
63
|
-
# * +:alarm_history_items+ - (Array<Hash>)
|
43
|
+
# @param [Hash] options
|
64
44
|
# * +:alarm_name+ - (String)
|
65
|
-
# * +:timestamp+ - (Time)
|
66
45
|
# * +:history_item_type+ - (String)
|
67
|
-
# * +:
|
68
|
-
# * +:
|
69
|
-
#
|
70
|
-
#
|
46
|
+
# * +:start_date+ - (String<ISO8601 datetime>)
|
47
|
+
# * +:end_date+ - (String<ISO8601 datetime>)
|
48
|
+
# * +:max_records+ - (Integer)
|
49
|
+
# * +:next_token+ - (String)
|
71
50
|
# @return [Core::Response]
|
72
|
-
#
|
51
|
+
# The #data method of the response object returns
|
52
|
+
# a hash with the following structure:
|
53
|
+
# * +:alarm_history_items+ - (Array<Hash>)
|
54
|
+
# * +:alarm_name+ - (String)
|
55
|
+
# * +:timestamp+ - (Time)
|
56
|
+
# * +:history_item_type+ - (String)
|
57
|
+
# * +:history_summary+ - (String)
|
58
|
+
# * +:history_data+ - (String)
|
59
|
+
# * +:next_token+ - (String)
|
73
60
|
define_client_method :describe_alarm_history, 'DescribeAlarmHistory'
|
74
61
|
|
75
62
|
# Calls the DescribeAlarms API operation.
|
76
63
|
# @method describe_alarms(options = {})
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# * +:alarm_names+ - (Array<String>)
|
81
|
-
# * +:alarm_name_prefix+ - (String)
|
82
|
-
# * +:state_value+ - (String)
|
83
|
-
# * +:action_prefix+ - (String)
|
84
|
-
# * +:max_records+ - (Integer)
|
85
|
-
# * +:next_token+ - (String)
|
86
|
-
#
|
87
|
-
# === Response Structure:
|
88
|
-
#
|
89
|
-
# * +:metric_alarms+ - (Array<Hash>)
|
90
|
-
# * +:alarm_name+ - (String)
|
91
|
-
# * +:alarm_arn+ - (String)
|
92
|
-
# * +:alarm_description+ - (String)
|
93
|
-
# * +:alarm_configuration_updated_timestamp+ - (Time)
|
94
|
-
# * +:actions_enabled+ - (Boolean)
|
95
|
-
# * +:ok_actions+ - (Array<String>)
|
96
|
-
# * +:alarm_actions+ - (Array<String>)
|
97
|
-
# * +:insufficient_data_actions+ - (Array<String>)
|
64
|
+
# @param [Hash] options
|
65
|
+
# * +:alarm_names+ - (Array<String>)
|
66
|
+
# * +:alarm_name_prefix+ - (String)
|
98
67
|
# * +:state_value+ - (String)
|
99
|
-
# * +:
|
100
|
-
# * +:
|
101
|
-
# * +:
|
102
|
-
# * +:metric_name+ - (String)
|
103
|
-
# * +:namespace+ - (String)
|
104
|
-
# * +:statistic+ - (String)
|
105
|
-
# * +:dimensions+ - (Array<Hash>)
|
106
|
-
# * +:name+ - (String)
|
107
|
-
# * +:value+ - (String)
|
108
|
-
# * +:period+ - (Integer)
|
109
|
-
# * +:unit+ - (String)
|
110
|
-
# * +:evaluation_periods+ - (Integer)
|
111
|
-
# * +:threshold+ - (Numeric)
|
112
|
-
# * +:comparison_operator+ - (String)
|
113
|
-
# * +:next_token+ - (String)
|
114
|
-
#
|
68
|
+
# * +:action_prefix+ - (String)
|
69
|
+
# * +:max_records+ - (Integer)
|
70
|
+
# * +:next_token+ - (String)
|
115
71
|
# @return [Core::Response]
|
116
|
-
#
|
72
|
+
# The #data method of the response object returns
|
73
|
+
# a hash with the following structure:
|
74
|
+
# * +:metric_alarms+ - (Array<Hash>)
|
75
|
+
# * +:alarm_name+ - (String)
|
76
|
+
# * +:alarm_arn+ - (String)
|
77
|
+
# * +:alarm_description+ - (String)
|
78
|
+
# * +:alarm_configuration_updated_timestamp+ - (Time)
|
79
|
+
# * +:actions_enabled+ - (Boolean)
|
80
|
+
# * +:ok_actions+ - (Array<String>)
|
81
|
+
# * +:alarm_actions+ - (Array<String>)
|
82
|
+
# * +:insufficient_data_actions+ - (Array<String>)
|
83
|
+
# * +:state_value+ - (String)
|
84
|
+
# * +:state_reason+ - (String)
|
85
|
+
# * +:state_reason_data+ - (String)
|
86
|
+
# * +:state_updated_timestamp+ - (Time)
|
87
|
+
# * +:metric_name+ - (String)
|
88
|
+
# * +:namespace+ - (String)
|
89
|
+
# * +:statistic+ - (String)
|
90
|
+
# * +:dimensions+ - (Array<Hash>)
|
91
|
+
# * +:name+ - (String)
|
92
|
+
# * +:value+ - (String)
|
93
|
+
# * +:period+ - (Integer)
|
94
|
+
# * +:unit+ - (String)
|
95
|
+
# * +:evaluation_periods+ - (Integer)
|
96
|
+
# * +:threshold+ - (Numeric)
|
97
|
+
# * +:comparison_operator+ - (String)
|
98
|
+
# * +:next_token+ - (String)
|
117
99
|
define_client_method :describe_alarms, 'DescribeAlarms'
|
118
100
|
|
119
101
|
# Calls the DescribeAlarmsForMetric API operation.
|
120
102
|
# @method describe_alarms_for_metric(options = {})
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
# * +:metric_name+ - *required* - (String)
|
125
|
-
# * +:namespace+ - *required* - (String)
|
126
|
-
# * +:statistic+ - (String)
|
127
|
-
# * +:dimensions+ - (Array<Hash>)
|
128
|
-
# * +:name+ - *required* - (String)
|
129
|
-
# * +:value+ - *required* - (String)
|
130
|
-
# * +:period+ - (Integer)
|
131
|
-
# * +:unit+ - (String)
|
132
|
-
#
|
133
|
-
# === Response Structure:
|
134
|
-
#
|
135
|
-
# * +:metric_alarms+ - (Array<Hash>)
|
136
|
-
# * +:alarm_name+ - (String)
|
137
|
-
# * +:alarm_arn+ - (String)
|
138
|
-
# * +:alarm_description+ - (String)
|
139
|
-
# * +:alarm_configuration_updated_timestamp+ - (Time)
|
140
|
-
# * +:actions_enabled+ - (Boolean)
|
141
|
-
# * +:ok_actions+ - (Array<String>)
|
142
|
-
# * +:alarm_actions+ - (Array<String>)
|
143
|
-
# * +:insufficient_data_actions+ - (Array<String>)
|
144
|
-
# * +:state_value+ - (String)
|
145
|
-
# * +:state_reason+ - (String)
|
146
|
-
# * +:state_reason_data+ - (String)
|
147
|
-
# * +:state_updated_timestamp+ - (Time)
|
148
|
-
# * +:metric_name+ - (String)
|
149
|
-
# * +:namespace+ - (String)
|
103
|
+
# @param [Hash] options
|
104
|
+
# * +:metric_name+ - *required* - (String)
|
105
|
+
# * +:namespace+ - *required* - (String)
|
150
106
|
# * +:statistic+ - (String)
|
151
107
|
# * +:dimensions+ - (Array<Hash>)
|
152
|
-
# * +:name+ - (String)
|
153
|
-
# * +:value+ - (String)
|
108
|
+
# * +:name+ - *required* - (String)
|
109
|
+
# * +:value+ - *required* - (String)
|
154
110
|
# * +:period+ - (Integer)
|
155
111
|
# * +:unit+ - (String)
|
156
|
-
# * +:evaluation_periods+ - (Integer)
|
157
|
-
# * +:threshold+ - (Numeric)
|
158
|
-
# * +:comparison_operator+ - (String)
|
159
|
-
#
|
160
112
|
# @return [Core::Response]
|
161
|
-
#
|
113
|
+
# The #data method of the response object returns
|
114
|
+
# a hash with the following structure:
|
115
|
+
# * +:metric_alarms+ - (Array<Hash>)
|
116
|
+
# * +:alarm_name+ - (String)
|
117
|
+
# * +:alarm_arn+ - (String)
|
118
|
+
# * +:alarm_description+ - (String)
|
119
|
+
# * +:alarm_configuration_updated_timestamp+ - (Time)
|
120
|
+
# * +:actions_enabled+ - (Boolean)
|
121
|
+
# * +:ok_actions+ - (Array<String>)
|
122
|
+
# * +:alarm_actions+ - (Array<String>)
|
123
|
+
# * +:insufficient_data_actions+ - (Array<String>)
|
124
|
+
# * +:state_value+ - (String)
|
125
|
+
# * +:state_reason+ - (String)
|
126
|
+
# * +:state_reason_data+ - (String)
|
127
|
+
# * +:state_updated_timestamp+ - (Time)
|
128
|
+
# * +:metric_name+ - (String)
|
129
|
+
# * +:namespace+ - (String)
|
130
|
+
# * +:statistic+ - (String)
|
131
|
+
# * +:dimensions+ - (Array<Hash>)
|
132
|
+
# * +:name+ - (String)
|
133
|
+
# * +:value+ - (String)
|
134
|
+
# * +:period+ - (Integer)
|
135
|
+
# * +:unit+ - (String)
|
136
|
+
# * +:evaluation_periods+ - (Integer)
|
137
|
+
# * +:threshold+ - (Numeric)
|
138
|
+
# * +:comparison_operator+ - (String)
|
162
139
|
define_client_method :describe_alarms_for_metric, 'DescribeAlarmsForMetric'
|
163
140
|
|
164
141
|
# Calls the DisableAlarmActions API operation.
|
165
142
|
# @method disable_alarm_actions(options = {})
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# * +:alarm_names+ - *required* - (Array<String>)
|
170
|
-
#
|
171
|
-
# === Response Structure:
|
172
|
-
#
|
173
|
-
# This method returns no response data.
|
174
|
-
#
|
143
|
+
# @param [Hash] options
|
144
|
+
# * +:alarm_names+ - *required* - (Array<String>)
|
175
145
|
# @return [Core::Response]
|
176
|
-
#
|
177
146
|
define_client_method :disable_alarm_actions, 'DisableAlarmActions'
|
178
147
|
|
179
148
|
# Calls the EnableAlarmActions API operation.
|
180
149
|
# @method enable_alarm_actions(options = {})
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# * +:alarm_names+ - *required* - (Array<String>)
|
185
|
-
#
|
186
|
-
# === Response Structure:
|
187
|
-
#
|
188
|
-
# This method returns no response data.
|
189
|
-
#
|
150
|
+
# @param [Hash] options
|
151
|
+
# * +:alarm_names+ - *required* - (Array<String>)
|
190
152
|
# @return [Core::Response]
|
191
|
-
#
|
192
153
|
define_client_method :enable_alarm_actions, 'EnableAlarmActions'
|
193
154
|
|
194
155
|
# Calls the GetMetricStatistics API operation.
|
195
156
|
# @method get_metric_statistics(options = {})
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
# * +:
|
203
|
-
# * +:
|
204
|
-
#
|
205
|
-
#
|
206
|
-
# * +:period+ - *required* - (Integer)
|
207
|
-
# * +:statistics+ - *required* - (Array<String>)
|
208
|
-
# * +:unit+ - (String)
|
209
|
-
#
|
210
|
-
# === Response Structure:
|
211
|
-
#
|
212
|
-
# * +:label+ - (String)
|
213
|
-
# * +:datapoints+ - (Array<Hash>)
|
214
|
-
# * +:timestamp+ - (Time)
|
215
|
-
# * +:sample_count+ - (Numeric)
|
216
|
-
# * +:average+ - (Numeric)
|
217
|
-
# * +:sum+ - (Numeric)
|
218
|
-
# * +:minimum+ - (Numeric)
|
219
|
-
# * +:maximum+ - (Numeric)
|
157
|
+
# @param [Hash] options
|
158
|
+
# * +:namespace+ - *required* - (String)
|
159
|
+
# * +:metric_name+ - *required* - (String)
|
160
|
+
# * +:dimensions+ - (Array<Hash>)
|
161
|
+
# * +:name+ - *required* - (String)
|
162
|
+
# * +:value+ - *required* - (String)
|
163
|
+
# * +:start_time+ - *required* - (String<ISO8601 datetime>)
|
164
|
+
# * +:end_time+ - *required* - (String<ISO8601 datetime>)
|
165
|
+
# * +:period+ - *required* - (Integer)
|
166
|
+
# * +:statistics+ - *required* - (Array<String>)
|
220
167
|
# * +:unit+ - (String)
|
221
|
-
#
|
222
168
|
# @return [Core::Response]
|
223
|
-
#
|
169
|
+
# The #data method of the response object returns
|
170
|
+
# a hash with the following structure:
|
171
|
+
# * +:label+ - (String)
|
172
|
+
# * +:datapoints+ - (Array<Hash>)
|
173
|
+
# * +:timestamp+ - (Time)
|
174
|
+
# * +:sample_count+ - (Numeric)
|
175
|
+
# * +:average+ - (Numeric)
|
176
|
+
# * +:sum+ - (Numeric)
|
177
|
+
# * +:minimum+ - (Numeric)
|
178
|
+
# * +:maximum+ - (Numeric)
|
179
|
+
# * +:unit+ - (String)
|
224
180
|
define_client_method :get_metric_statistics, 'GetMetricStatistics'
|
225
181
|
|
226
182
|
# Calls the ListMetrics API operation.
|
227
183
|
# @method list_metrics(options = {})
|
228
|
-
#
|
229
|
-
# === Options:
|
230
|
-
#
|
231
|
-
# * +:namespace+ - (String)
|
232
|
-
# * +:metric_name+ - (String)
|
233
|
-
# * +:dimensions+ - (Array<Hash>)
|
234
|
-
# * +:name+ - *required* - (String)
|
235
|
-
# * +:value+ - (String)
|
236
|
-
# * +:next_token+ - (String)
|
237
|
-
#
|
238
|
-
# === Response Structure:
|
239
|
-
#
|
240
|
-
# * +:metrics+ - (Array<Hash>)
|
184
|
+
# @param [Hash] options
|
241
185
|
# * +:namespace+ - (String)
|
242
186
|
# * +:metric_name+ - (String)
|
243
187
|
# * +:dimensions+ - (Array<Hash>)
|
244
|
-
# * +:name+ - (String)
|
188
|
+
# * +:name+ - *required* - (String)
|
245
189
|
# * +:value+ - (String)
|
246
|
-
#
|
247
|
-
#
|
190
|
+
# * +:next_token+ - (String)
|
248
191
|
# @return [Core::Response]
|
249
|
-
#
|
192
|
+
# The #data method of the response object returns
|
193
|
+
# a hash with the following structure:
|
194
|
+
# * +:metrics+ - (Array<Hash>)
|
195
|
+
# * +:namespace+ - (String)
|
196
|
+
# * +:metric_name+ - (String)
|
197
|
+
# * +:dimensions+ - (Array<Hash>)
|
198
|
+
# * +:name+ - (String)
|
199
|
+
# * +:value+ - (String)
|
200
|
+
# * +:next_token+ - (String)
|
250
201
|
define_client_method :list_metrics, 'ListMetrics'
|
251
202
|
|
252
203
|
# Calls the PutMetricAlarm API operation.
|
253
204
|
# @method put_metric_alarm(options = {})
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
# * +:alarm_actions+ - (Array<String>)
|
262
|
-
# * +:insufficient_data_actions+ - (Array<String>)
|
263
|
-
# * +:metric_name+ - *required* - (String)
|
264
|
-
# * +:namespace+ - *required* - (String)
|
265
|
-
# * +:statistic+ - *required* - (String)
|
266
|
-
# * +:dimensions+ - (Array<Hash>)
|
267
|
-
# * +:name+ - *required* - (String)
|
268
|
-
# * +:value+ - *required* - (String)
|
269
|
-
# * +:period+ - *required* - (Integer)
|
270
|
-
# * +:unit+ - (String)
|
271
|
-
# * +:evaluation_periods+ - *required* - (Integer)
|
272
|
-
# * +:threshold+ - *required* - (Float)
|
273
|
-
# * +:comparison_operator+ - *required* - (String)
|
274
|
-
#
|
275
|
-
# === Response Structure:
|
276
|
-
#
|
277
|
-
# This method returns no response data.
|
278
|
-
#
|
279
|
-
# @return [Core::Response]
|
280
|
-
#
|
281
|
-
define_client_method :put_metric_alarm, 'PutMetricAlarm'
|
282
|
-
|
283
|
-
# Calls the PutMetricData API operation.
|
284
|
-
# @method put_metric_data(options = {})
|
285
|
-
#
|
286
|
-
# === Options:
|
287
|
-
#
|
288
|
-
# * +:namespace+ - *required* - (String)
|
289
|
-
# * +:metric_data+ - *required* - (Array<Hash>)
|
205
|
+
# @param [Hash] options
|
206
|
+
# * +:alarm_name+ - *required* - (String)
|
207
|
+
# * +:alarm_description+ - (String)
|
208
|
+
# * +:actions_enabled+ - (Boolean)
|
209
|
+
# * +:ok_actions+ - (Array<String>)
|
210
|
+
# * +:alarm_actions+ - (Array<String>)
|
211
|
+
# * +:insufficient_data_actions+ - (Array<String>)
|
290
212
|
# * +:metric_name+ - *required* - (String)
|
213
|
+
# * +:namespace+ - *required* - (String)
|
214
|
+
# * +:statistic+ - *required* - (String)
|
291
215
|
# * +:dimensions+ - (Array<Hash>)
|
292
216
|
# * +:name+ - *required* - (String)
|
293
217
|
# * +:value+ - *required* - (String)
|
294
|
-
# * +:
|
295
|
-
# * +:value+ - (Float)
|
296
|
-
# * +:statistic_values+ - (Hash)
|
297
|
-
# * +:sample_count+ - *required* - (Float)
|
298
|
-
# * +:sum+ - *required* - (Float)
|
299
|
-
# * +:minimum+ - *required* - (Float)
|
300
|
-
# * +:maximum+ - *required* - (Float)
|
218
|
+
# * +:period+ - *required* - (Integer)
|
301
219
|
# * +:unit+ - (String)
|
302
|
-
#
|
303
|
-
#
|
304
|
-
#
|
305
|
-
#
|
306
|
-
|
220
|
+
# * +:evaluation_periods+ - *required* - (Integer)
|
221
|
+
# * +:threshold+ - *required* - (Float)
|
222
|
+
# * +:comparison_operator+ - *required* - (String)
|
223
|
+
# @return [Core::Response]
|
224
|
+
define_client_method :put_metric_alarm, 'PutMetricAlarm'
|
225
|
+
|
226
|
+
# Calls the PutMetricData API operation.
|
227
|
+
# @method put_metric_data(options = {})
|
228
|
+
# @param [Hash] options
|
229
|
+
# * +:namespace+ - *required* - (String)
|
230
|
+
# * +:metric_data+ - *required* - (Array<Hash>)
|
231
|
+
# * +:metric_name+ - *required* - (String)
|
232
|
+
# * +:dimensions+ - (Array<Hash>)
|
233
|
+
# * +:name+ - *required* - (String)
|
234
|
+
# * +:value+ - *required* - (String)
|
235
|
+
# * +:timestamp+ - (String<ISO8601 datetime>)
|
236
|
+
# * +:value+ - (Float)
|
237
|
+
# * +:statistic_values+ - (Hash)
|
238
|
+
# * +:sample_count+ - *required* - (Float)
|
239
|
+
# * +:sum+ - *required* - (Float)
|
240
|
+
# * +:minimum+ - *required* - (Float)
|
241
|
+
# * +:maximum+ - *required* - (Float)
|
242
|
+
# * +:unit+ - (String)
|
307
243
|
# @return [Core::Response]
|
308
|
-
#
|
309
244
|
define_client_method :put_metric_data, 'PutMetricData'
|
310
245
|
|
311
246
|
# Calls the SetAlarmState API operation.
|
312
247
|
# @method set_alarm_state(options = {})
|
313
|
-
#
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
# * +:state_reason+ - *required* - (String)
|
319
|
-
# * +:state_reason_data+ - (String)
|
320
|
-
#
|
321
|
-
# === Response Structure:
|
322
|
-
#
|
323
|
-
# This method returns no response data.
|
324
|
-
#
|
248
|
+
# @param [Hash] options
|
249
|
+
# * +:alarm_name+ - *required* - (String)
|
250
|
+
# * +:state_value+ - *required* - (String)
|
251
|
+
# * +:state_reason+ - *required* - (String)
|
252
|
+
# * +:state_reason_data+ - (String)
|
325
253
|
# @return [Core::Response]
|
326
|
-
#
|
327
254
|
define_client_method :set_alarm_state, 'SetAlarmState'
|
328
255
|
|
329
256
|
## end client methods ##
|