MCPcopy Create free account
hub / github.com/aws/aws-cli / retrieve_uri

Method retrieve_uri

awscli/botocore/utils.py:2944–2954  ·  view source on GitHub ↗

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

(self, relative_uri)

Source from the content-addressed store, hash-verified

2942 return False
2943
2944 def retrieve_uri(self, relative_uri):
2945 """Retrieve JSON metadata from container metadata.
2946
2947 :type relative_uri: str
2948 :param relative_uri: A relative URI, e.g "/foo/bar?id=123"
2949
2950 :return: The parsed JSON response.
2951
2952 """
2953 full_url = self.full_url(relative_uri)
2954 return self._retrieve_credentials(full_url)
2955
2956 def _retrieve_credentials(self, full_url, extra_headers=None):
2957 headers = {'Accept': 'application/json'}

Calls 2

full_urlMethod · 0.95
_retrieve_credentialsMethod · 0.95