@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS EC2 Instance Connect
@version 2018-04-02
@auth AWS SigV4
@endpoints 2
@toc root(2)

@endpoint POST /
@required {InstanceId: str, InstanceOSUser: str, SSHPublicKey: str}
@optional {AvailabilityZone: str}
@returns(200) {RequestId: str?, Success: bool?}

@endpoint POST /
@required {InstanceId: str, SSHPublicKey: str}
@optional {SerialPort: int}
@returns(200) {RequestId: str?, Success: bool?}

@end
