Sha256: 4ae37f62a96a1d6520451b985cd34b6da57be6d73fff969d814bef0d39eab002
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
module Fog module AWS class DataPipeline class Real # Queries a pipeline for the names of objects that match a specified set of conditions. # http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_QueryObjects.html # ==== Parameters # * PipelineId <~String> - The ID of the pipeline # * Sphere <~String> - Specifies whether the query applies to components or instances. # Allowable values: COMPONENT, INSTANCE, ATTEMPT. # * Marker <~String> - The starting point for the results to be returned. # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: def query_objects(id, sphere, options={}) params = { 'pipelineId' => id, 'sphere' => sphere, } params['marker'] = options[:marker] if options[:marker] response = request({ :body => Fog::JSON.encode(params), :headers => { 'X-Amz-Target' => 'DataPipeline.QueryObjects' }, }) Fog::JSON.decode(response.body) end end class Mock def query_objects(id, sphere, options={}) Fog::Mock.not_implemented end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/requests/data_pipeline/query_objects.rb |
fog-1.21.0 | lib/fog/aws/requests/data_pipeline/query_objects.rb |