Module: Awspec::Helper::Finder::Firehose

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/firehose.rb

Instance Method Summary collapse

Instance Method Details

#find_delivery_stream(name) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/awspec/helper/finder/firehose.rb', line 6

def find_delivery_stream(name)
  firehose_client
    .describe_delivery_stream({
                                delivery_stream_name: name
                              })
    .delivery_stream_description
end