pub struct CreateFlowTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> CreateFlowTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateFlowTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateFlowTemplateInputOperationOutputAlias, CreateFlowTemplateOutput, CreateFlowTemplateError, CreateFlowTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateFlowTemplateOutput, SdkError<CreateFlowTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateFlowTemplateInputOperationOutputAlias, CreateFlowTemplateOutput, CreateFlowTemplateError, CreateFlowTemplateInputOperationRetryAlias>,
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.
The workflow DefinitionDocument
.
The workflow DefinitionDocument
.
The namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateFlowTemplate<C, M, R>
impl<C, M, R> Send for CreateFlowTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateFlowTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateFlowTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateFlowTemplate<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more