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

Version Path
fog-aws-3.30.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.29.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.28.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.27.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.26.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.25.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.24.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.23.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.22.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.21.1 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.21.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.20.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.19.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.18.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.17.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.16.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.15.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.14.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.13.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb
fog-aws-3.12.0 lib/fog/aws/requests/support/describe_trusted_advisor_check_result.rb