pub async fn unlock_message(&self) -> Result<(), Error> {
        let req = prepare_request(
            &self.lock_location.clone(),
            Method::PUT,
            None,
            &self.policy_name,
            &self.signing_key,
        )?;

        self.http_client
            .execute_request_check_status(req, http::StatusCode::OK)
            .await?;

        Ok(())
    }
/// Unlock a message in the lock
Unlock a message in the lock
Unlock a message in the lock
pub async fn unlock_message(&self) -> Result<(), Error> {
        let req = prepare_request(
            &self.lock_location.clone(),
            Method::PUT,
            None,
            &self.policy_name,
            &self.signing_key,
        )?;
        self.http_client
            .execute_request_check_status(req, http::StatusCode::OK)
            .await?;
        Ok(())
    }
pub async fn unlock_message ( & self ) -> Result < ( ) , Error > { let req = prepare_request ( & self . lock_location . clone ( ) , Method :: PUT , None , & self . policy_name , & self . signing_key , ) ? ; self . http_client . execute_request_check_status ( req , http :: StatusCode :: OK ) . await ? ; Ok ( ( ) ) }
Unlock a message in the lock
Unlock a message in the lock
&self