Module: Awspec::Helper::Finder::Mq

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

Instance Method Summary collapse

Instance Method Details

#find_broker(broker_id) ⇒ Object



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

def find_broker(broker_id)
  mq_client.describe_broker({ broker_id: broker_id })
rescue StandardError
  nil
end