pub struct InstantiateWorkflowTemplateRequest {
pub parameters: Option<HashMap<String, String>>,
pub request_id: Option<String>,
pub version: Option<i32>,
}
Expand description
A request to instantiate a workflow template.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§parameters: Option<HashMap<String, String>>
Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.
request_id: Option<String>
Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
version: Option<i32>
Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.
Trait Implementations§
Source§impl Clone for InstantiateWorkflowTemplateRequest
impl Clone for InstantiateWorkflowTemplateRequest
Source§fn clone(&self) -> InstantiateWorkflowTemplateRequest
fn clone(&self) -> InstantiateWorkflowTemplateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InstantiateWorkflowTemplateRequest
impl Default for InstantiateWorkflowTemplateRequest
Source§fn default() -> InstantiateWorkflowTemplateRequest
fn default() -> InstantiateWorkflowTemplateRequest
Source§impl<'de> Deserialize<'de> for InstantiateWorkflowTemplateRequest
impl<'de> Deserialize<'de> for InstantiateWorkflowTemplateRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for InstantiateWorkflowTemplateRequest
Auto Trait Implementations§
impl Freeze for InstantiateWorkflowTemplateRequest
impl RefUnwindSafe for InstantiateWorkflowTemplateRequest
impl Send for InstantiateWorkflowTemplateRequest
impl Sync for InstantiateWorkflowTemplateRequest
impl Unpin for InstantiateWorkflowTemplateRequest
impl UnwindSafe for InstantiateWorkflowTemplateRequest
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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