pub struct UpdateFlowTemplate { /* 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§
source§impl UpdateFlowTemplate
 
impl UpdateFlowTemplate
sourcepub async fn customize(
    self
) -> Result<CustomizableOperation<UpdateFlowTemplate, AwsResponseRetryClassifier>, SdkError<UpdateFlowTemplateError>>
 
pub async fn customize(
    self
) -> Result<CustomizableOperation<UpdateFlowTemplate, AwsResponseRetryClassifier>, SdkError<UpdateFlowTemplateError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
    self
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError>>
 
pub async fn send(
    self
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError>>
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 id(self, input: impl Into<String>) -> Self
 
pub fn id(self, input: impl Into<String>) -> Self
The ID of the workflow to be updated.
The ID should be in the following format.
 urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME 
sourcepub fn set_id(self, input: Option<String>) -> Self
 
pub fn set_id(self, input: Option<String>) -> Self
The ID of the workflow to be updated.
The ID should be in the following format.
 urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME 
sourcepub fn definition(self, input: DefinitionDocument) -> Self
 
pub fn definition(self, input: DefinitionDocument) -> Self
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
 
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The DefinitionDocument that contains the updated workflow definition.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
 
pub fn compatible_namespace_version(self, input: i64) -> Self
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.
sourcepub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
 
pub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
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§
source§impl Clone for UpdateFlowTemplate
 
impl Clone for UpdateFlowTemplate
source§fn clone(&self) -> UpdateFlowTemplate
 
fn clone(&self) -> UpdateFlowTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more