Sha256: 22acf879ff4d2c862a2d3aa3e9da5036272f9a6a7d1844dfbf21060aa0692d09

Contents?: true

Size: 877 Bytes

Versions: 47

Compression:

Stored size: 877 Bytes

Contents

module Fog
  module AWS
    class DataPipeline
      class Real
        # List all pipelines
        # http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ListPipelines.html
        # ==== Parameters
        # * Marker <~String> - The starting point for the results to be returned.
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def list_pipelines(options={})
          params = {}
          params['Marker'] = options[:marker] if options[:marker]

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

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

      class Mock
        def list_pipelines(options={})
          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/list_pipelines.rb
ns-fog-1.22.6 lib/fog/aws/requests/data_pipeline/list_pipelines.rb
fog-1.23.0 lib/fog/aws/requests/data_pipeline/list_pipelines.rb
ns-fog-1.22.4 lib/fog/aws/requests/data_pipeline/list_pipelines.rb
ns-fog-1.22.3 lib/fog/aws/requests/data_pipeline/list_pipelines.rb
ns-fog-1.22.2 lib/fog/aws/requests/data_pipeline/list_pipelines.rb
fog-1.22.1 lib/fog/aws/requests/data_pipeline/list_pipelines.rb