Struct aws_sdk_iotthingsgraph::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder
source · pub struct UpdateFlowTemplateFluentBuilder { /* 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 UpdateFlowTemplateFluentBuilder
impl UpdateFlowTemplateFluentBuilder
sourcepub fn as_input(&self) -> &UpdateFlowTemplateInputBuilder
pub fn as_input(&self) -> &UpdateFlowTemplateInputBuilder
Access the UpdateFlowTemplate as a reference.
sourcepub async fn send(
self
) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateFlowTemplateOutput, SdkError<UpdateFlowTemplateError, 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateFlowTemplateOutput, UpdateFlowTemplateError>, SdkError<UpdateFlowTemplateError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateFlowTemplateOutput, UpdateFlowTemplateError>, SdkError<UpdateFlowTemplateError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
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 get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
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.
sourcepub fn get_compatible_namespace_version(&self) -> &Option<i64>
pub fn get_compatible_namespace_version(&self) -> &Option<i64>
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 UpdateFlowTemplateFluentBuilder
impl Clone for UpdateFlowTemplateFluentBuilder
source§fn clone(&self) -> UpdateFlowTemplateFluentBuilder
fn clone(&self) -> UpdateFlowTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more