Sha256: b6488f63b45674a5be0c4741012c2df5b90f5fd0b69835da663a1dd405f88644
Contents?: true
Size: 1.04 KB
Versions: 53
Compression:
Stored size: 1.04 KB
Contents
module Fog module AWS class Support class Real # Describe Trusted Advisor Check Result # http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeTrustedAdvisorCheckResult.html # ==== Parameters # * checkId <~String> - Id of the check obtained from #describe_trusted_advisor_checks # * language <~String> - Language to return. Supported values are 'en' and 'jp' # ==== Returns # * response<~Excon::Response>: # * body<~Hash> def describe_trusted_advisor_check_result(options={}) request( 'Action' => 'DescribeTrustedAdvisorCheckResult', 'checkId' => options[:id], 'language' => options[:language] || 'en' ) end end class Mock def describe_trusted_advisor_check_result(options={}) response = Excon::Response.new response.body = {'result' => self.data[:trusted_advisor_check_results][options[:id]]} response end end end end end
Version data entries
53 entries across 51 versions & 2 rubygems