'Retrieve JSON metadata from ECS metadata.
:type relative_uri: str
:param relative_uri: A relative URI, e.g "/foo/bar?id=123"
:return: The parsed JSON response.'

def retrieve_uri(self, relative_uri):

    full_url = self.full_url(relative_uri)
    return self._retrieve_credentials(full_url)
