Struct aws_sdk_iotthingsgraph::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder
source · pub struct CreateFlowTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFlowTemplate
.
Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
Implementations§
source§impl CreateFlowTemplateFluentBuilder
impl CreateFlowTemplateFluentBuilder
sourcepub fn as_input(&self) -> &CreateFlowTemplateInputBuilder
pub fn as_input(&self) -> &CreateFlowTemplateInputBuilder
Access the CreateFlowTemplate as a reference.
sourcepub async fn send(
self
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError, 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<CreateFlowTemplateOutput, CreateFlowTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateFlowTemplateOutput, CreateFlowTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn definition(self, input: DefinitionDocument) -> Self
pub fn definition(self, input: DefinitionDocument) -> Self
The workflow DefinitionDocument
.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The workflow DefinitionDocument
.
sourcepub fn get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
The workflow DefinitionDocument
.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
pub fn compatible_namespace_version(self, input: i64) -> Self
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
pub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn get_compatible_namespace_version(&self) -> &Option<i64>
pub fn get_compatible_namespace_version(&self) -> &Option<i64>
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
Trait Implementations§
source§impl Clone for CreateFlowTemplateFluentBuilder
impl Clone for CreateFlowTemplateFluentBuilder
source§fn clone(&self) -> CreateFlowTemplateFluentBuilder
fn clone(&self) -> CreateFlowTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more