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
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.4.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.3.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.2.2 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.2.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.1.2 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.1.1 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.1.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.0.8 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.0.7 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.0.6 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-aws-0.0.5 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-1.26.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-1.25.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
nsidc-fog-1.24.1 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
fog-1.24.0 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.11 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.10 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.9 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb
ns-fog-1.22.8 lib/fog/aws/requests/data_pipeline/describe_pipelines.rb