Struct aws_sdk_sfn::input::SendTaskFailureInput [−][src]
#[non_exhaustive]pub struct SendTaskFailureInput {
pub task_token: Option<String>,
pub error: Option<String>,
pub cause: Option<String>,
}
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 token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
error: Option<String>
The error code of the failure.
cause: Option<String>
A more detailed explanation of the cause of the failure.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendTaskFailure, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendTaskFailure, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendTaskFailure
>
Creates a new builder-style object to manufacture SendTaskFailureInput
The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
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 RefUnwindSafe for SendTaskFailureInput
impl Send for SendTaskFailureInput
impl Sync for SendTaskFailureInput
impl Unpin for SendTaskFailureInput
impl UnwindSafe for SendTaskFailureInput
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