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

Method retrieve_full_uri

awscli/botocore/utils.py:2906–2916  ·  view source on GitHub ↗

Retrieve JSON metadata from container metadata. :type full_url: str :param full_url: The full URL of the metadata service. This should include the scheme as well, e.g "http://localhost:123/foo"

(self, full_url, headers=None)

Source from the content-addressed store, hash-verified

2904 self._sleep = sleep
2905
2906 def retrieve_full_uri(self, full_url, headers=None):
2907 """Retrieve JSON metadata from container metadata.
2908
2909 :type full_url: str
2910 :param full_url: The full URL of the metadata service.
2911 This should include the scheme as well, e.g
2912 "http://localhost:123/foo"
2913
2914 """
2915 self._validate_allowed_url(full_url)
2916 return self._retrieve_credentials(full_url, headers)
2917
2918 def _validate_allowed_url(self, full_url):
2919 parsed = botocore.compat.urlparse(full_url)

Calls 2

_validate_allowed_urlMethod · 0.95
_retrieve_credentialsMethod · 0.95