class Aws::Partitions::Region
def region_services(region_name, partition)
def region_services(region_name, partition) Partitions.service_ids.inject(Set.new) do |services, (svc_name, svc_id)| if svc = partition['services'][svc_id] services << svc_name if service_in_region?(svc, region_name) else #raise "missing endpoints for #{svc_name} / #{svc_id}" end services end end