async fn get_operations_for_resource(
        &self,
        input: GetOperationsForResourceRequest,
    ) -> Result<GetOperationsForResourceResult, RusotoError<GetOperationsForResourceError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header(
            "x-amz-target",
            "Lightsail_20161128.GetOperationsForResource",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, GetOperationsForResourceError::from_response)
            .await?;
        let mut response = response;
        let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?;
        proto::json::ResponsePayload::new(&response)
            .deserialize::<GetOperationsForResourceResult, _>()
    }
<p>Gets operations for a specific resource (e.g., an instance or a static IP).</p>
rusoto/services/lightsail/src/generated.rs