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 fn customize(
self
) -> CustomizableOperation<UpdateFlowTemplateOutput, UpdateFlowTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateFlowTemplateOutput, UpdateFlowTemplateError, Self>
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 moreAuto Trait Implementationsยง
impl Freeze for UpdateFlowTemplateFluentBuilder
impl !RefUnwindSafe for UpdateFlowTemplateFluentBuilder
impl Send for UpdateFlowTemplateFluentBuilder
impl Sync for UpdateFlowTemplateFluentBuilder
impl Unpin for UpdateFlowTemplateFluentBuilder
impl !UnwindSafe for UpdateFlowTemplateFluentBuilder
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more