async fn attach_static_ip(
        &self,
        input: AttachStaticIpRequest,
    ) -> Result<AttachStaticIpResult, RusotoError<AttachStaticIpError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header("x-amz-target", "Lightsail_20161128.AttachStaticIp");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, AttachStaticIpError::from_response)
            .await?;
        let mut response = response;
        let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?;
        proto::json::ResponsePayload::new(&response).deserialize::<AttachStaticIpResult, _>()
    }
<p>Attaches a static IP address to a specific Amazon Lightsail instance.</p>
rusoto/services/lightsail/src/generated.rs