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

Method add_imds_token_response

tests/unit/test_utils.py:425–426  ·  view source on GitHub ↗
(self, status_code=200, body=b'token')

Source from the content-addressed store, hash-verified

423 self.add_imds_response(body=region.encode('utf-8'))
424
425 def add_imds_token_response(self, status_code=200, body=b'token'):
426 self.add_imds_response(status_code=status_code, body=body)
427
428 def add_imds_connection_error(self, exception):
429 self._imds_responses.append(exception)

Calls 1

add_imds_responseMethod · 0.95

Tested by

no test coverage detected