async fn send_serial_console_ssh_public_key(
        &self,
        input: SendSerialConsoleSSHPublicKeyRequest,
    ) -> Result<
        SendSerialConsoleSSHPublicKeyResponse,
        RusotoError<SendSerialConsoleSSHPublicKeyError>,
    > {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header(
            "x-amz-target",
            "AWSEC2InstanceConnectService.SendSerialConsoleSSHPublicKey",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, SendSerialConsoleSSHPublicKeyError::from_response)
            .await?;
        let mut response = response;
        let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?;
        proto::json::ResponsePayload::new(&response)
            .deserialize::<SendSerialConsoleSSHPublicKeyResponse, _>()
    }
<p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html">EC2 Serial Console</a> in the <i>Amazon EC2 User Guide</i>.</p>
rusoto/services/ec2-instance-connect/src/generated.rs