this.apiType = apiType;
}
@Override
public Map<String, Supplier<URI>> get() {
Auth authResponse = auth.get();
Collection<Endpoint> endpointsForService = authResponse.getServiceCatalog().get(apiType);
Map<String, Endpoint> regionIdToEndpoint = Maps.uniqueIndex(endpointsForService, endpointToRegion);
return Maps.transformValues(regionIdToEndpoint, endpointToSupplierURI);
}