Sha256: bcb0072bc6fa41a26403e4da3f0ac44fbe439682e25e87363fd0d21b929268a3

Contents?: true

Size: 848 Bytes

Versions: 47

Compression:

Stored size: 848 Bytes

Contents

module Fog
  module AWS
    class DataPipeline
      class Real
        # Describe pipelines
        # http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_DescribePipelines.html
        # ==== Parameters
        # * PipelineIds <~String> - ID of pipeline to retrieve information for
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def describe_pipelines(ids)
          params = {}
          params['pipelineIds'] = ids

          response = request({
            :body => Fog::JSON.encode(params),
            :headers => { 'X-Amz-Target' => 'DataPipeline.DescribePipelines' },
          })

          Fog::JSON.decode(response.body)
        end
      end

      class Mock
        def describe_pipelines(ids)
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 5 rubygems

Version Path
ns-fog-1.22.7 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.6 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-1.23.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.4 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.3 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.2 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-1.22.1 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb