Completed
Pull Request — master (#372)
by
unknown
03:39
created

Firehose.find_delivery_stream()   A

Complexity

Conditions 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
c 2
b 0
f 0
dl 0
loc 7
rs 9.4285
1
module Awspec::Helper
2
  module Finder
3
    module Firehose
4
      def find_delivery_stream(name)
5
        res = firehose_client.describe_delivery_stream({
6
                                                         delivery_stream_name: name,
7
                                                         limit: 1
8
                                                       })
9
        res.delivery_stream_description
10
      end
11
    end
12
  end
13
end
14