pub struct CreateFlowTemplate { /* 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 CreateFlowTemplate
 
impl CreateFlowTemplate
sourcepub async fn customize(
    self
) -> Result<CustomizableOperation<CreateFlowTemplate, AwsResponseRetryClassifier>, SdkError<CreateFlowTemplateError>>
 
pub async fn customize(
    self
) -> Result<CustomizableOperation<CreateFlowTemplate, AwsResponseRetryClassifier>, SdkError<CreateFlowTemplateError>>
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<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError>>
 
pub async fn send(
    self
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError>>
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 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 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.
Trait Implementations§
source§impl Clone for CreateFlowTemplate
 
impl Clone for CreateFlowTemplate
source§fn clone(&self) -> CreateFlowTemplate
 
fn clone(&self) -> CreateFlowTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more