Sha256: 2d15a77d24c29799135f806527ccb08cfafd687216379d9c366a73a3fb811606
Contents?: true
Size: 586 Bytes
Versions: 24
Compression:
Stored size: 586 Bytes
Contents
class CodePipeline < Mapper # # Returns an array of resources. # def collect resources = [] # # list_pipelines # @client.list_pipelines.each_with_index do |response, page| log(response.context.operation_name, page) # get_pipeline response.pipelines.each do |pipeline| resp = @client.get_pipeline(name: pipeline.name) struct = OpenStruct.new(resp.pipeline.to_h) struct.type = 'pipeline' struct.arn = resp.metadata.pipeline_arn resources.push(struct.to_h) end end resources end end
Version data entries
24 entries across 24 versions & 1 rubygems