Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
347 B
Python
Raw Normal View History

import json
from moto.core import BackendDict, BaseBackend
class Ec2InstanceConnectBackend(BaseBackend):
2023-02-17 10:36:30 -01:00
def send_ssh_public_key(self) -> str:
return json.dumps(
{"RequestId": "example-2a47-4c91-9700-e37e85162cb6", "Success": True}
)
2021-12-24 20:02:45 -01:00
ec2instanceconnect_backends = BackendDict(Ec2InstanceConnectBackend, "ec2")