% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/session-state.R
\name{update_task_status}
\alias{update_task_status}
\title{Update task status with atomic write}
\usage{
update_task_status(
  session_id,
  task_id,
  state,
  etag = NULL,
  region,
  bucket,
  updates = list()
)
}
\arguments{
\item{session_id}{Session identifier}

\item{task_id}{Task identifier}

\item{state}{New state}

\item{etag}{Optional ETag for conditional write (atomic claiming)}

\item{region}{AWS region}

\item{bucket}{S3 bucket}

\item{updates}{Optional additional fields to update}
}
\value{
TRUE if successful, FALSE if conditional write failed
}
\description{
Update task status with atomic write
}
\keyword{internal}
