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)
| 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) |