pub struct UpdateFlowTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateFlowTemplate
.
Updates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.
Implementations
impl<C, M, R> UpdateFlowTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateFlowTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError>> where
R::Policy: SmithyRetryPolicy<UpdateFlowTemplateInputOperationOutputAlias, UpdateFlowTemplateOutput, UpdateFlowTemplateError, UpdateFlowTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError>> where
R::Policy: SmithyRetryPolicy<UpdateFlowTemplateInputOperationOutputAlias, UpdateFlowTemplateOutput, UpdateFlowTemplateError, UpdateFlowTemplateInputOperationRetryAlias>,
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.
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
The DefinitionDocument
that contains the updated workflow definition.
The DefinitionDocument
that contains the updated workflow definition.
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions
if you want to find earlier revisions of the flow to update.
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions
if you want to find earlier revisions of the flow to update.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateFlowTemplate<C, M, R>
impl<C, M, R> Send for UpdateFlowTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateFlowTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateFlowTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateFlowTemplate<C, M, R>
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