async fn update_pull_request_approval_state(
        &self,
        input: UpdatePullRequestApprovalStateInput,
    ) -> Result<(), RusotoError<UpdatePullRequestApprovalStateError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header(
            "x-amz-target",
            "CodeCommit_20150413.UpdatePullRequestApprovalState",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, UpdatePullRequestApprovalStateError::from_response)
            .await?;
        std::mem::drop(response);
        Ok(())
    }
<p>Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.</p>
rusoto/services/codecommit/src/generated.rs