Struct aws_sdk_transfer::operation::send_workflow_step_state::builders::SendWorkflowStepStateFluentBuilder
source · pub struct SendWorkflowStepStateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SendWorkflowStepState
.
Sends a callback for asynchronous custom steps.
The ExecutionId
, WorkflowId
, and Token
are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status.
Implementations§
source§impl SendWorkflowStepStateFluentBuilder
impl SendWorkflowStepStateFluentBuilder
sourcepub fn as_input(&self) -> &SendWorkflowStepStateInputBuilder
pub fn as_input(&self) -> &SendWorkflowStepStateInputBuilder
Access the SendWorkflowStepState as a reference.
sourcepub async fn send(
self
) -> Result<SendWorkflowStepStateOutput, SdkError<SendWorkflowStepStateError, HttpResponse>>
pub async fn send( self ) -> Result<SendWorkflowStepStateOutput, SdkError<SendWorkflowStepStateError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<SendWorkflowStepStateOutput, SendWorkflowStepStateError, Self>
pub fn customize( self ) -> CustomizableOperation<SendWorkflowStepStateOutput, SendWorkflowStepStateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
A unique identifier for the workflow.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
A unique identifier for the workflow.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
A unique identifier for the workflow.
sourcepub fn execution_id(self, input: impl Into<String>) -> Self
pub fn execution_id(self, input: impl Into<String>) -> Self
A unique identifier for the execution of a workflow.
sourcepub fn set_execution_id(self, input: Option<String>) -> Self
pub fn set_execution_id(self, input: Option<String>) -> Self
A unique identifier for the execution of a workflow.
sourcepub fn get_execution_id(&self) -> &Option<String>
pub fn get_execution_id(&self) -> &Option<String>
A unique identifier for the execution of a workflow.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.
sourcepub fn status(self, input: CustomStepStatus) -> Self
pub fn status(self, input: CustomStepStatus) -> Self
Indicates whether the specified step succeeded or failed.
sourcepub fn set_status(self, input: Option<CustomStepStatus>) -> Self
pub fn set_status(self, input: Option<CustomStepStatus>) -> Self
Indicates whether the specified step succeeded or failed.
sourcepub fn get_status(&self) -> &Option<CustomStepStatus>
pub fn get_status(&self) -> &Option<CustomStepStatus>
Indicates whether the specified step succeeded or failed.
Trait Implementations§
source§impl Clone for SendWorkflowStepStateFluentBuilder
impl Clone for SendWorkflowStepStateFluentBuilder
source§fn clone(&self) -> SendWorkflowStepStateFluentBuilder
fn clone(&self) -> SendWorkflowStepStateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more