Sha256: 44b0ee11999c626276cd22dcd7e4359a11b8f916cb1ad4bf594304d03ecb3476
Contents?: true
Size: 536 Bytes
Versions: 108
Compression:
Stored size: 536 Bytes
Contents
module Awspec::Helper module Finder module Elasticsearch def find_elasticsearch_domain(id) res = elasticsearch_client.describe_elasticsearch_domain(domain_name: id) res.domain_status rescue nil end def select_all_elasticsearch_domains domain_names = elasticsearch_client.list_domain_names.domain_names domain_names.map do |domain| elasticsearch_client.describe_elasticsearch_domain(domain_name: domain.domain_name) end end end end end
Version data entries
108 entries across 108 versions & 4 rubygems