def METHOD_NAME(self, secret_id: str) -> str:
    """
    Get a secret if it exists. Raises ValueError if it does not.
    """
    try:
        return self._get_str_secret(self._get_full_secret_id(secret_id))
    except ClientError as error:
        if error.response["Error"]["Code"] == "ResourceNotFoundException":
            raise ValueError(f"No secret with secret id: {secret_id}")
        raise error