aws-sdk 1.9.4 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/aws/api_config/Support-2013-04-15.yml +428 -0
- data/lib/aws/core.rb +6 -0
- data/lib/aws/support.rb +30 -0
- data/lib/aws/support/client.rb +235 -0
- data/lib/aws/support/config.rb +18 -0
- data/lib/aws/support/errors.rb +20 -0
- data/lib/aws/support/request.rb +27 -0
- data/lib/aws/version.rb +1 -1
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 771168312c3cdc30eef5eb810f2d1095b1019614
|
4
|
+
data.tar.gz: c3b3f9df5e0af7360f692ce76ff7b62ea88352eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d6b4da59343251b7902fc582824c6ce2990d280ac38dba9922f4349eefbdc2a2f792458830e871f97e6fc71dca27e93f7c54ef18146dc6e23ef5efa20555c5
|
7
|
+
data.tar.gz: a5b333ad8e9c821bff52893dfb6b3be49d385e2b6af3298ef7068500b90386f4d63a6368785ec7000cf0bea5b45a1ea11c018c734744a790326736cc7c2e57b4
|
data/README.md
CHANGED
@@ -224,6 +224,11 @@ The SDK currently supports the following services:
|
|
224
224
|
<td>2011-06-15</td>
|
225
225
|
<td>AWS Security Token Service</td>
|
226
226
|
</tr>
|
227
|
+
<tr>
|
228
|
+
<td>AWS::Support</td>
|
229
|
+
<td>2013-04-15</td>
|
230
|
+
<td>AWS Support</td>
|
231
|
+
</tr>
|
227
232
|
</tbody>
|
228
233
|
</table>
|
229
234
|
|
@@ -0,0 +1,428 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
:json_version: '1.1'
|
16
|
+
:target_prefix: AWSSupport_20130415.
|
17
|
+
:api_version: '2013-04-15'
|
18
|
+
:operations:
|
19
|
+
- :name: AddCommunicationToCase
|
20
|
+
:method: :add_communication_to_case
|
21
|
+
:inputs:
|
22
|
+
caseId:
|
23
|
+
- :string
|
24
|
+
communicationBody:
|
25
|
+
- :string
|
26
|
+
- :required
|
27
|
+
ccEmailAddresses:
|
28
|
+
- :list:
|
29
|
+
- :string
|
30
|
+
:outputs:
|
31
|
+
result:
|
32
|
+
:sym: :result
|
33
|
+
:type: :boolean
|
34
|
+
- :name: CreateCase
|
35
|
+
:method: :create_case
|
36
|
+
:inputs:
|
37
|
+
subject:
|
38
|
+
- :string
|
39
|
+
- :required
|
40
|
+
serviceCode:
|
41
|
+
- :string
|
42
|
+
- :required
|
43
|
+
severityCode:
|
44
|
+
- :string
|
45
|
+
categoryCode:
|
46
|
+
- :string
|
47
|
+
- :required
|
48
|
+
communicationBody:
|
49
|
+
- :string
|
50
|
+
- :required
|
51
|
+
ccEmailAddresses:
|
52
|
+
- :list:
|
53
|
+
- :string
|
54
|
+
language:
|
55
|
+
- :string
|
56
|
+
issueType:
|
57
|
+
- :string
|
58
|
+
:outputs:
|
59
|
+
caseId:
|
60
|
+
:sym: :case_id
|
61
|
+
:type: :string
|
62
|
+
- :name: DescribeCases
|
63
|
+
:method: :describe_cases
|
64
|
+
:inputs:
|
65
|
+
caseIdList:
|
66
|
+
- :list:
|
67
|
+
- :string
|
68
|
+
displayId:
|
69
|
+
- :string
|
70
|
+
afterTime:
|
71
|
+
- :string
|
72
|
+
beforeTime:
|
73
|
+
- :string
|
74
|
+
includeResolvedCases:
|
75
|
+
- :boolean
|
76
|
+
nextToken:
|
77
|
+
- :string
|
78
|
+
maxResults:
|
79
|
+
- :integer
|
80
|
+
language:
|
81
|
+
- :string
|
82
|
+
:outputs:
|
83
|
+
cases:
|
84
|
+
:sym: :cases
|
85
|
+
:type: :hash
|
86
|
+
:members:
|
87
|
+
caseId:
|
88
|
+
:sym: :case_id
|
89
|
+
:type: :string
|
90
|
+
displayId:
|
91
|
+
:sym: :display_id
|
92
|
+
:type: :string
|
93
|
+
subject:
|
94
|
+
:sym: :subject
|
95
|
+
:type: :string
|
96
|
+
status:
|
97
|
+
:sym: :status
|
98
|
+
:type: :string
|
99
|
+
serviceCode:
|
100
|
+
:sym: :service_code
|
101
|
+
:type: :string
|
102
|
+
categoryCode:
|
103
|
+
:sym: :category_code
|
104
|
+
:type: :string
|
105
|
+
severityCode:
|
106
|
+
:sym: :severity_code
|
107
|
+
:type: :string
|
108
|
+
submittedBy:
|
109
|
+
:sym: :submitted_by
|
110
|
+
:type: :string
|
111
|
+
timeCreated:
|
112
|
+
:sym: :time_created
|
113
|
+
:type: :string
|
114
|
+
recentCommunications:
|
115
|
+
:sym: :recent_communications
|
116
|
+
:type: :hash
|
117
|
+
:members:
|
118
|
+
communications:
|
119
|
+
:sym: :communications
|
120
|
+
:type: :hash
|
121
|
+
:members:
|
122
|
+
caseId:
|
123
|
+
:sym: :case_id
|
124
|
+
:type: :string
|
125
|
+
body:
|
126
|
+
:sym: :body
|
127
|
+
:type: :string
|
128
|
+
submittedBy:
|
129
|
+
:sym: :submitted_by
|
130
|
+
:type: :string
|
131
|
+
timeCreated:
|
132
|
+
:sym: :time_created
|
133
|
+
:type: :string
|
134
|
+
nextToken:
|
135
|
+
:sym: :next_token
|
136
|
+
:type: :string
|
137
|
+
ccEmailAddresses:
|
138
|
+
:sym: :cc_email_addresses
|
139
|
+
:type: :string
|
140
|
+
language:
|
141
|
+
:sym: :language
|
142
|
+
:type: :string
|
143
|
+
nextToken:
|
144
|
+
:sym: :next_token
|
145
|
+
:type: :string
|
146
|
+
- :name: DescribeCommunications
|
147
|
+
:method: :describe_communications
|
148
|
+
:inputs:
|
149
|
+
caseId:
|
150
|
+
- :string
|
151
|
+
- :required
|
152
|
+
beforeTime:
|
153
|
+
- :string
|
154
|
+
afterTime:
|
155
|
+
- :string
|
156
|
+
nextToken:
|
157
|
+
- :string
|
158
|
+
maxResults:
|
159
|
+
- :integer
|
160
|
+
:outputs:
|
161
|
+
communications:
|
162
|
+
:sym: :communications
|
163
|
+
:type: :hash
|
164
|
+
:members:
|
165
|
+
caseId:
|
166
|
+
:sym: :case_id
|
167
|
+
:type: :string
|
168
|
+
body:
|
169
|
+
:sym: :body
|
170
|
+
:type: :string
|
171
|
+
submittedBy:
|
172
|
+
:sym: :submitted_by
|
173
|
+
:type: :string
|
174
|
+
timeCreated:
|
175
|
+
:sym: :time_created
|
176
|
+
:type: :string
|
177
|
+
nextToken:
|
178
|
+
:sym: :next_token
|
179
|
+
:type: :string
|
180
|
+
- :name: DescribeServices
|
181
|
+
:method: :describe_services
|
182
|
+
:inputs:
|
183
|
+
serviceCodeList:
|
184
|
+
- :list:
|
185
|
+
- :string
|
186
|
+
language:
|
187
|
+
- :string
|
188
|
+
:outputs:
|
189
|
+
services:
|
190
|
+
:sym: :services
|
191
|
+
:type: :hash
|
192
|
+
:members:
|
193
|
+
code:
|
194
|
+
:sym: :code
|
195
|
+
:type: :string
|
196
|
+
name:
|
197
|
+
:sym: :name
|
198
|
+
:type: :string
|
199
|
+
categories:
|
200
|
+
:sym: :categories
|
201
|
+
:type: :hash
|
202
|
+
:members:
|
203
|
+
code:
|
204
|
+
:sym: :code
|
205
|
+
:type: :string
|
206
|
+
name:
|
207
|
+
:sym: :name
|
208
|
+
:type: :string
|
209
|
+
- :name: DescribeSeverityLevels
|
210
|
+
:method: :describe_severity_levels
|
211
|
+
:inputs:
|
212
|
+
language:
|
213
|
+
- :string
|
214
|
+
:outputs:
|
215
|
+
severityLevels:
|
216
|
+
:sym: :severity_levels
|
217
|
+
:type: :hash
|
218
|
+
:members:
|
219
|
+
code:
|
220
|
+
:sym: :code
|
221
|
+
:type: :string
|
222
|
+
name:
|
223
|
+
:sym: :name
|
224
|
+
:type: :string
|
225
|
+
- :name: DescribeTrustedAdvisorCheckRefreshStatuses
|
226
|
+
:method: :describe_trusted_advisor_check_refresh_statuses
|
227
|
+
:inputs:
|
228
|
+
checkIds:
|
229
|
+
- :list:
|
230
|
+
- :string
|
231
|
+
- :required
|
232
|
+
:outputs:
|
233
|
+
statuses:
|
234
|
+
:sym: :statuses
|
235
|
+
:type: :hash
|
236
|
+
:members:
|
237
|
+
checkId:
|
238
|
+
:sym: :check_id
|
239
|
+
:type: :string
|
240
|
+
status:
|
241
|
+
:sym: :status
|
242
|
+
:type: :string
|
243
|
+
millisUntilNextRefreshable:
|
244
|
+
:sym: :millis_until_next_refreshable
|
245
|
+
:type: :integer
|
246
|
+
- :name: DescribeTrustedAdvisorCheckResult
|
247
|
+
:method: :describe_trusted_advisor_check_result
|
248
|
+
:inputs:
|
249
|
+
checkId:
|
250
|
+
- :string
|
251
|
+
- :required
|
252
|
+
language:
|
253
|
+
- :string
|
254
|
+
:outputs:
|
255
|
+
result:
|
256
|
+
:sym: :result
|
257
|
+
:type: :hash
|
258
|
+
:members:
|
259
|
+
checkId:
|
260
|
+
:sym: :check_id
|
261
|
+
:type: :string
|
262
|
+
timestamp:
|
263
|
+
:sym: :timestamp
|
264
|
+
:type: :string
|
265
|
+
status:
|
266
|
+
:sym: :status
|
267
|
+
:type: :string
|
268
|
+
resourcesSummary:
|
269
|
+
:sym: :resources_summary
|
270
|
+
:type: :hash
|
271
|
+
:members:
|
272
|
+
resourcesProcessed:
|
273
|
+
:sym: :resources_processed
|
274
|
+
:type: :integer
|
275
|
+
resourcesFlagged:
|
276
|
+
:sym: :resources_flagged
|
277
|
+
:type: :integer
|
278
|
+
resourcesIgnored:
|
279
|
+
:sym: :resources_ignored
|
280
|
+
:type: :integer
|
281
|
+
resourcesSuppressed:
|
282
|
+
:sym: :resources_suppressed
|
283
|
+
:type: :integer
|
284
|
+
categorySpecificSummary:
|
285
|
+
:sym: :category_specific_summary
|
286
|
+
:type: :hash
|
287
|
+
:members:
|
288
|
+
costOptimizing:
|
289
|
+
:sym: :cost_optimizing
|
290
|
+
:type: :hash
|
291
|
+
:members:
|
292
|
+
estimatedMonthlySavings:
|
293
|
+
:sym: :estimated_monthly_savings
|
294
|
+
:type: :float
|
295
|
+
estimatedPercentMonthlySavings:
|
296
|
+
:sym: :estimated_percent_monthly_savings
|
297
|
+
:type: :float
|
298
|
+
flaggedResources:
|
299
|
+
:sym: :flagged_resources
|
300
|
+
:type: :hash
|
301
|
+
:members:
|
302
|
+
status:
|
303
|
+
:sym: :status
|
304
|
+
:type: :string
|
305
|
+
region:
|
306
|
+
:sym: :region
|
307
|
+
:type: :string
|
308
|
+
resourceId:
|
309
|
+
:sym: :resource_id
|
310
|
+
:type: :string
|
311
|
+
isSuppressed:
|
312
|
+
:sym: :is_suppressed
|
313
|
+
:type: :boolean
|
314
|
+
metadata:
|
315
|
+
:sym: :metadata
|
316
|
+
:type: :string
|
317
|
+
- :name: DescribeTrustedAdvisorCheckSummaries
|
318
|
+
:method: :describe_trusted_advisor_check_summaries
|
319
|
+
:inputs:
|
320
|
+
checkIds:
|
321
|
+
- :list:
|
322
|
+
- :string
|
323
|
+
- :required
|
324
|
+
:outputs:
|
325
|
+
summaries:
|
326
|
+
:sym: :summaries
|
327
|
+
:type: :hash
|
328
|
+
:members:
|
329
|
+
checkId:
|
330
|
+
:sym: :check_id
|
331
|
+
:type: :string
|
332
|
+
timestamp:
|
333
|
+
:sym: :timestamp
|
334
|
+
:type: :string
|
335
|
+
status:
|
336
|
+
:sym: :status
|
337
|
+
:type: :string
|
338
|
+
hasFlaggedResources:
|
339
|
+
:sym: :has_flagged_resources
|
340
|
+
:type: :boolean
|
341
|
+
resourcesSummary:
|
342
|
+
:sym: :resources_summary
|
343
|
+
:type: :hash
|
344
|
+
:members:
|
345
|
+
resourcesProcessed:
|
346
|
+
:sym: :resources_processed
|
347
|
+
:type: :integer
|
348
|
+
resourcesFlagged:
|
349
|
+
:sym: :resources_flagged
|
350
|
+
:type: :integer
|
351
|
+
resourcesIgnored:
|
352
|
+
:sym: :resources_ignored
|
353
|
+
:type: :integer
|
354
|
+
resourcesSuppressed:
|
355
|
+
:sym: :resources_suppressed
|
356
|
+
:type: :integer
|
357
|
+
categorySpecificSummary:
|
358
|
+
:sym: :category_specific_summary
|
359
|
+
:type: :hash
|
360
|
+
:members:
|
361
|
+
costOptimizing:
|
362
|
+
:sym: :cost_optimizing
|
363
|
+
:type: :hash
|
364
|
+
:members:
|
365
|
+
estimatedMonthlySavings:
|
366
|
+
:sym: :estimated_monthly_savings
|
367
|
+
:type: :float
|
368
|
+
estimatedPercentMonthlySavings:
|
369
|
+
:sym: :estimated_percent_monthly_savings
|
370
|
+
:type: :float
|
371
|
+
- :name: DescribeTrustedAdvisorChecks
|
372
|
+
:method: :describe_trusted_advisor_checks
|
373
|
+
:inputs:
|
374
|
+
language:
|
375
|
+
- :string
|
376
|
+
- :required
|
377
|
+
:outputs:
|
378
|
+
checks:
|
379
|
+
:sym: :checks
|
380
|
+
:type: :hash
|
381
|
+
:members:
|
382
|
+
id:
|
383
|
+
:sym: :id
|
384
|
+
:type: :string
|
385
|
+
name:
|
386
|
+
:sym: :name
|
387
|
+
:type: :string
|
388
|
+
description:
|
389
|
+
:sym: :description
|
390
|
+
:type: :string
|
391
|
+
category:
|
392
|
+
:sym: :category
|
393
|
+
:type: :string
|
394
|
+
metadata:
|
395
|
+
:sym: :metadata
|
396
|
+
:type: :string
|
397
|
+
- :name: RefreshTrustedAdvisorCheck
|
398
|
+
:method: :refresh_trusted_advisor_check
|
399
|
+
:inputs:
|
400
|
+
checkId:
|
401
|
+
- :string
|
402
|
+
- :required
|
403
|
+
:outputs:
|
404
|
+
status:
|
405
|
+
:sym: :status
|
406
|
+
:type: :hash
|
407
|
+
:members:
|
408
|
+
checkId:
|
409
|
+
:sym: :check_id
|
410
|
+
:type: :string
|
411
|
+
status:
|
412
|
+
:sym: :status
|
413
|
+
:type: :string
|
414
|
+
millisUntilNextRefreshable:
|
415
|
+
:sym: :millis_until_next_refreshable
|
416
|
+
:type: :integer
|
417
|
+
- :name: ResolveCase
|
418
|
+
:method: :resolve_case
|
419
|
+
:inputs:
|
420
|
+
caseId:
|
421
|
+
- :string
|
422
|
+
:outputs:
|
423
|
+
initialCaseStatus:
|
424
|
+
:sym: :initial_case_status
|
425
|
+
:type: :string
|
426
|
+
finalCaseStatus:
|
427
|
+
:sym: :final_case_status
|
428
|
+
:type: :string
|
data/lib/aws/core.rb
CHANGED
@@ -108,6 +108,9 @@ module AWS
|
|
108
108
|
"StorageGateway" => {
|
109
109
|
:full_name => "AWS Storage Gateway",
|
110
110
|
:ruby_name => :storage_gateway },
|
111
|
+
"Support" => {
|
112
|
+
:full_name => "AWS Support",
|
113
|
+
:ruby_name => :support },
|
111
114
|
"ELB" => {
|
112
115
|
:full_name => "Elastic Load Balancing",
|
113
116
|
:ruby_name => :elb },
|
@@ -298,6 +301,9 @@ module AWS
|
|
298
301
|
# @!method storage_gateway
|
299
302
|
# @return [StorageGateway]
|
300
303
|
|
304
|
+
# @!method support
|
305
|
+
# @return [Support]
|
306
|
+
|
301
307
|
# @!method elb
|
302
308
|
# @return [ELB]
|
303
309
|
|
data/lib/aws/support.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
require 'aws/core'
|
15
|
+
require 'aws/support/config'
|
16
|
+
|
17
|
+
module AWS
|
18
|
+
|
19
|
+
class Support
|
20
|
+
|
21
|
+
autoload :Client, 'aws/support/client'
|
22
|
+
autoload :Errors, 'aws/support/errors'
|
23
|
+
autoload :Request, 'aws/support/request'
|
24
|
+
|
25
|
+
include Core::ServiceInterface
|
26
|
+
|
27
|
+
endpoint_prefix 'support'
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,235 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
module AWS
|
15
|
+
class Support
|
16
|
+
|
17
|
+
# Client class for AWS Support.
|
18
|
+
class Client < Core::JSONClient
|
19
|
+
|
20
|
+
# @api private
|
21
|
+
CACHEABLE_REQUESTS = Set[]
|
22
|
+
|
23
|
+
# client methods #
|
24
|
+
|
25
|
+
# @!method add_communication_to_case(options = {})
|
26
|
+
# Calls the AddCommunicationToCase API operation.
|
27
|
+
# @param [Hash] options
|
28
|
+
# * `:case_id` - (String)
|
29
|
+
# * `:communication_body` - *required* - (String)
|
30
|
+
# * `:cc_email_addresses` - (Array<String>)
|
31
|
+
# @return [Core::Response]
|
32
|
+
# The #data method of the response object returns
|
33
|
+
# a hash with the following structure:
|
34
|
+
# * `:result` - (Boolean)
|
35
|
+
|
36
|
+
# @!method create_case(options = {})
|
37
|
+
# Calls the CreateCase API operation.
|
38
|
+
# @param [Hash] options
|
39
|
+
# * `:subject` - *required* - (String)
|
40
|
+
# * `:service_code` - *required* - (String)
|
41
|
+
# * `:severity_code` - (String)
|
42
|
+
# * `:category_code` - *required* - (String)
|
43
|
+
# * `:communication_body` - *required* - (String)
|
44
|
+
# * `:cc_email_addresses` - (Array<String>)
|
45
|
+
# * `:language` - (String)
|
46
|
+
# * `:issue_type` - (String)
|
47
|
+
# @return [Core::Response]
|
48
|
+
# The #data method of the response object returns
|
49
|
+
# a hash with the following structure:
|
50
|
+
# * `:case_id` - (String)
|
51
|
+
|
52
|
+
# @!method describe_cases(options = {})
|
53
|
+
# Calls the DescribeCases API operation.
|
54
|
+
# @param [Hash] options
|
55
|
+
# * `:case_id_list` - (Array<String>)
|
56
|
+
# * `:display_id` - (String)
|
57
|
+
# * `:after_time` - (String)
|
58
|
+
# * `:before_time` - (String)
|
59
|
+
# * `:include_resolved_cases` - (Boolean)
|
60
|
+
# * `:next_token` - (String)
|
61
|
+
# * `:max_results` - (Integer)
|
62
|
+
# * `:language` - (String)
|
63
|
+
# @return [Core::Response]
|
64
|
+
# The #data method of the response object returns
|
65
|
+
# a hash with the following structure:
|
66
|
+
# * `:cases` - (Array<Hash>)
|
67
|
+
# * `:case_id` - (String)
|
68
|
+
# * `:display_id` - (String)
|
69
|
+
# * `:subject` - (String)
|
70
|
+
# * `:status` - (String)
|
71
|
+
# * `:service_code` - (String)
|
72
|
+
# * `:category_code` - (String)
|
73
|
+
# * `:severity_code` - (String)
|
74
|
+
# * `:submitted_by` - (String)
|
75
|
+
# * `:time_created` - (String)
|
76
|
+
# * `:recent_communications` - (Hash)
|
77
|
+
# * `:communications` - (Array<Hash>)
|
78
|
+
# * `:case_id` - (String)
|
79
|
+
# * `:body` - (String)
|
80
|
+
# * `:submitted_by` - (String)
|
81
|
+
# * `:time_created` - (String)
|
82
|
+
# * `:next_token` - (String)
|
83
|
+
# * `:cc_email_addresses` - (Array<String>)
|
84
|
+
# * `:language` - (String)
|
85
|
+
# * `:next_token` - (String)
|
86
|
+
|
87
|
+
# @!method describe_communications(options = {})
|
88
|
+
# Calls the DescribeCommunications API operation.
|
89
|
+
# @param [Hash] options
|
90
|
+
# * `:case_id` - *required* - (String)
|
91
|
+
# * `:before_time` - (String)
|
92
|
+
# * `:after_time` - (String)
|
93
|
+
# * `:next_token` - (String)
|
94
|
+
# * `:max_results` - (Integer)
|
95
|
+
# @return [Core::Response]
|
96
|
+
# The #data method of the response object returns
|
97
|
+
# a hash with the following structure:
|
98
|
+
# * `:communications` - (Array<Hash>)
|
99
|
+
# * `:case_id` - (String)
|
100
|
+
# * `:body` - (String)
|
101
|
+
# * `:submitted_by` - (String)
|
102
|
+
# * `:time_created` - (String)
|
103
|
+
# * `:next_token` - (String)
|
104
|
+
|
105
|
+
# @!method describe_services(options = {})
|
106
|
+
# Calls the DescribeServices API operation.
|
107
|
+
# @param [Hash] options
|
108
|
+
# * `:service_code_list` - (Array<String>)
|
109
|
+
# * `:language` - (String)
|
110
|
+
# @return [Core::Response]
|
111
|
+
# The #data method of the response object returns
|
112
|
+
# a hash with the following structure:
|
113
|
+
# * `:services` - (Array<Hash>)
|
114
|
+
# * `:code` - (String)
|
115
|
+
# * `:name` - (String)
|
116
|
+
# * `:categories` - (Array<Hash>)
|
117
|
+
# * `:code` - (String)
|
118
|
+
# * `:name` - (String)
|
119
|
+
|
120
|
+
# @!method describe_severity_levels(options = {})
|
121
|
+
# Calls the DescribeSeverityLevels API operation.
|
122
|
+
# @param [Hash] options
|
123
|
+
# * `:language` - (String)
|
124
|
+
# @return [Core::Response]
|
125
|
+
# The #data method of the response object returns
|
126
|
+
# a hash with the following structure:
|
127
|
+
# * `:severity_levels` - (Array<Hash>)
|
128
|
+
# * `:code` - (String)
|
129
|
+
# * `:name` - (String)
|
130
|
+
|
131
|
+
# @!method describe_trusted_advisor_check_refresh_statuses(options = {})
|
132
|
+
# Calls the DescribeTrustedAdvisorCheckRefreshStatuses API operation.
|
133
|
+
# @param [Hash] options
|
134
|
+
# * `:check_ids` - *required* - (Array<String>)
|
135
|
+
# @return [Core::Response]
|
136
|
+
# The #data method of the response object returns
|
137
|
+
# a hash with the following structure:
|
138
|
+
# * `:statuses` - (Array<Hash>)
|
139
|
+
# * `:check_id` - (String)
|
140
|
+
# * `:status` - (String)
|
141
|
+
# * `:millis_until_next_refreshable` - (Integer)
|
142
|
+
|
143
|
+
# @!method describe_trusted_advisor_check_result(options = {})
|
144
|
+
# Calls the DescribeTrustedAdvisorCheckResult API operation.
|
145
|
+
# @param [Hash] options
|
146
|
+
# * `:check_id` - *required* - (String)
|
147
|
+
# * `:language` - (String)
|
148
|
+
# @return [Core::Response]
|
149
|
+
# The #data method of the response object returns
|
150
|
+
# a hash with the following structure:
|
151
|
+
# * `:result` - (Hash)
|
152
|
+
# * `:check_id` - (String)
|
153
|
+
# * `:timestamp` - (String)
|
154
|
+
# * `:status` - (String)
|
155
|
+
# * `:resources_summary` - (Hash)
|
156
|
+
# * `:resources_processed` - (Integer)
|
157
|
+
# * `:resources_flagged` - (Integer)
|
158
|
+
# * `:resources_ignored` - (Integer)
|
159
|
+
# * `:resources_suppressed` - (Integer)
|
160
|
+
# * `:category_specific_summary` - (Hash)
|
161
|
+
# * `:cost_optimizing` - (Hash)
|
162
|
+
# * `:estimated_monthly_savings` - (Numeric)
|
163
|
+
# * `:estimated_percent_monthly_savings` - (Numeric)
|
164
|
+
# * `:flagged_resources` - (Array<Hash>)
|
165
|
+
# * `:status` - (String)
|
166
|
+
# * `:region` - (String)
|
167
|
+
# * `:resource_id` - (String)
|
168
|
+
# * `:is_suppressed` - (Boolean)
|
169
|
+
# * `:metadata` - (Array<String>)
|
170
|
+
|
171
|
+
# @!method describe_trusted_advisor_check_summaries(options = {})
|
172
|
+
# Calls the DescribeTrustedAdvisorCheckSummaries API operation.
|
173
|
+
# @param [Hash] options
|
174
|
+
# * `:check_ids` - *required* - (Array<String>)
|
175
|
+
# @return [Core::Response]
|
176
|
+
# The #data method of the response object returns
|
177
|
+
# a hash with the following structure:
|
178
|
+
# * `:summaries` - (Array<Hash>)
|
179
|
+
# * `:check_id` - (String)
|
180
|
+
# * `:timestamp` - (String)
|
181
|
+
# * `:status` - (String)
|
182
|
+
# * `:has_flagged_resources` - (Boolean)
|
183
|
+
# * `:resources_summary` - (Hash)
|
184
|
+
# * `:resources_processed` - (Integer)
|
185
|
+
# * `:resources_flagged` - (Integer)
|
186
|
+
# * `:resources_ignored` - (Integer)
|
187
|
+
# * `:resources_suppressed` - (Integer)
|
188
|
+
# * `:category_specific_summary` - (Hash)
|
189
|
+
# * `:cost_optimizing` - (Hash)
|
190
|
+
# * `:estimated_monthly_savings` - (Numeric)
|
191
|
+
# * `:estimated_percent_monthly_savings` - (Numeric)
|
192
|
+
|
193
|
+
# @!method describe_trusted_advisor_checks(options = {})
|
194
|
+
# Calls the DescribeTrustedAdvisorChecks API operation.
|
195
|
+
# @param [Hash] options
|
196
|
+
# * `:language` - *required* - (String)
|
197
|
+
# @return [Core::Response]
|
198
|
+
# The #data method of the response object returns
|
199
|
+
# a hash with the following structure:
|
200
|
+
# * `:checks` - (Array<Hash>)
|
201
|
+
# * `:id` - (String)
|
202
|
+
# * `:name` - (String)
|
203
|
+
# * `:description` - (String)
|
204
|
+
# * `:category` - (String)
|
205
|
+
# * `:metadata` - (Array<String>)
|
206
|
+
|
207
|
+
# @!method refresh_trusted_advisor_check(options = {})
|
208
|
+
# Calls the RefreshTrustedAdvisorCheck API operation.
|
209
|
+
# @param [Hash] options
|
210
|
+
# * `:check_id` - *required* - (String)
|
211
|
+
# @return [Core::Response]
|
212
|
+
# The #data method of the response object returns
|
213
|
+
# a hash with the following structure:
|
214
|
+
# * `:status` - (Hash)
|
215
|
+
# * `:check_id` - (String)
|
216
|
+
# * `:status` - (String)
|
217
|
+
# * `:millis_until_next_refreshable` - (Integer)
|
218
|
+
|
219
|
+
# @!method resolve_case(options = {})
|
220
|
+
# Calls the ResolveCase API operation.
|
221
|
+
# @param [Hash] options
|
222
|
+
# * `:case_id` - (String)
|
223
|
+
# @return [Core::Response]
|
224
|
+
# The #data method of the response object returns
|
225
|
+
# a hash with the following structure:
|
226
|
+
# * `:initial_case_status` - (String)
|
227
|
+
# * `:final_case_status` - (String)
|
228
|
+
|
229
|
+
# end client methods #
|
230
|
+
|
231
|
+
define_client_methods('2013-04-15')
|
232
|
+
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
AWS::Core::Configuration.module_eval do
|
15
|
+
|
16
|
+
add_service 'Support', 'support', 'support.%s.amazonaws.com'
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
module AWS
|
15
|
+
class Support
|
16
|
+
module Errors
|
17
|
+
extend Core::LazyErrorClasses
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright 2011-2013 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
|
+
module AWS
|
15
|
+
class Support
|
16
|
+
|
17
|
+
# @api private
|
18
|
+
class Request < Core::Http::Request
|
19
|
+
include Core::Signature::Version4
|
20
|
+
|
21
|
+
def service
|
22
|
+
'support'
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -570,6 +570,11 @@ files:
|
|
570
570
|
- lib/aws/sts/request.rb
|
571
571
|
- lib/aws/sts/session.rb
|
572
572
|
- lib/aws/sts.rb
|
573
|
+
- lib/aws/support/client.rb
|
574
|
+
- lib/aws/support/config.rb
|
575
|
+
- lib/aws/support/errors.rb
|
576
|
+
- lib/aws/support/request.rb
|
577
|
+
- lib/aws/support.rb
|
573
578
|
- lib/aws/version.rb
|
574
579
|
- lib/aws-sdk.rb
|
575
580
|
- lib/aws.rb
|
@@ -602,6 +607,7 @@ files:
|
|
602
607
|
- lib/aws/api_config/SQS-2012-11-05.yml
|
603
608
|
- lib/aws/api_config/StorageGateway-2012-06-30.yml
|
604
609
|
- lib/aws/api_config/STS-2011-06-15.yml
|
610
|
+
- lib/aws/api_config/Support-2013-04-15.yml
|
605
611
|
homepage: http://aws.amazon.com/sdkforruby
|
606
612
|
licenses:
|
607
613
|
- Apache 2.0
|