pub struct SetTaskStatusInput {
pub error_id: Option<String>,
pub error_message: Option<String>,
pub error_stack_trace: Option<String>,
pub task_id: String,
pub task_status: String,
}
Expand description
Contains the parameters for SetTaskStatus.
Fields§
§error_id: Option<String>
If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system.
error_message: Option<String>
If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
error_stack_trace: Option<String>
If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
task_id: String
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
task_status: String
If FINISHED
, the task successfully completed. If FAILED
, the task ended unsuccessfully. Preconditions use false.
Trait Implementations§
Source§impl Clone for SetTaskStatusInput
impl Clone for SetTaskStatusInput
Source§fn clone(&self) -> SetTaskStatusInput
fn clone(&self) -> SetTaskStatusInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more