Sha256: b7946b04ba1a1c2c6b527de40bef82511bd7c99cbf457e37f1e22d7f1c3f385e

Contents?: true

Size: 369 Bytes

Versions: 57

Compression:

Stored size: 369 Bytes

Contents

module Awspec::Helper
  module Finder
    module Kinesis
      def find_kinesis_by_stream_name(name)
        kinesis_client.list_streams.stream_names.each do |stream|
          if stream == name
            return kinesis_client.describe_stream_summary({ stream_name: name }).stream_description_summary
          end
        end
        nil
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
awspec-1.25.1 lib/awspec/helper/finder/kinesis.rb
awspec-1.25.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.24.4 lib/awspec/helper/finder/kinesis.rb
awspec-1.24.3 lib/awspec/helper/finder/kinesis.rb
awspec-1.24.2 lib/awspec/helper/finder/kinesis.rb
awspec-1.24.1 lib/awspec/helper/finder/kinesis.rb
awspec-1.24.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.23.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.22.1 lib/awspec/helper/finder/kinesis.rb
awspec-1.22.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.21.1 lib/awspec/helper/finder/kinesis.rb
awspec-1.21.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.20.0 lib/awspec/helper/finder/kinesis.rb
awspec-1.19.2 lib/awspec/helper/finder/kinesis.rb
awspec-1.19.1 lib/awspec/helper/finder/kinesis.rb
awspec-1.19.0 lib/awspec/helper/finder/kinesis.rb
cthiesfork-awspec-1.2.4 lib/awspec/helper/finder/kinesis.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/helper/finder/kinesis.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/helper/finder/kinesis.rb
awspec-1.18.6 lib/awspec/helper/finder/kinesis.rb