Struct aws_sdk_swf::input::RespondDecisionTaskCompletedInput [−][src]
#[non_exhaustive]pub struct RespondDecisionTaskCompletedInput {
pub task_token: Option<String>,
pub decisions: Option<Vec<Decision>>,
pub execution_context: Option<String>,
}
Expand description
Input data for a TaskCompleted response to a decision task.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.task_token: Option<String>
The taskToken
from the DecisionTask.
taskToken
is generated by the service and should be treated as an opaque value.
If the task is passed to another process, its taskToken
must also be passed.
This enables it to provide its progress and respond with results.
decisions: Option<Vec<Decision>>
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
execution_context: Option<String>
User defined context to add to workflow execution.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondDecisionTaskCompleted, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RespondDecisionTaskCompleted, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RespondDecisionTaskCompleted
>
Creates a new builder-style object to manufacture RespondDecisionTaskCompletedInput
The taskToken
from the DecisionTask.
taskToken
is generated by the service and should be treated as an opaque value.
If the task is passed to another process, its taskToken
must also be passed.
This enables it to provide its progress and respond with results.
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
User defined context to add to workflow execution.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for RespondDecisionTaskCompletedInput
impl Sync for RespondDecisionTaskCompletedInput
impl Unpin for RespondDecisionTaskCompletedInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more