Sha256: 81aa5669ddc807fa8971e95dcda630bb8d11c1aa7932e26fc6ed4ba0cdd8dedf

Contents?: true

Size: 1014 Bytes

Versions: 8

Compression:

Stored size: 1014 Bytes

Contents

module Fog
  module AWS
    class Compute
      class Real

        require 'fog/compute/parsers/aws/describe_tags'

        # Describe all or specified tags
        #
        # ==== Parameters
        # * filters<~Hash> - List of filters to limit results with
        #
        # === Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'requestId'<~String> - Id of request
        #     * 'tagSet'<~Array>:
        #       * 'resourceId'<~String> - id of resource tag belongs to
        #       * 'resourceType'<~String> - type of resource tag belongs to
        #       * 'key'<~String> - Tag's key
        #       * 'value'<~String> - Tag's value
        def describe_tags(filters = {})
          params = AWS.indexed_filters(filters)
          request({
            'Action'    => 'DescribeTags',
            :idempotent => true,
            :parser     => Fog::Parsers::AWS::Compute::DescribeTags.new
          }.merge!(params))
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-0.8.1 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.8.0 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.7.2 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.7.1 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.7.0 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.6.0 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.5.3 lib/fog/compute/requests/aws/describe_tags.rb
fog-0.5.2 lib/fog/compute/requests/aws/describe_tags.rb