#[non_exhaustive]pub struct CreateTaskTemplateInput { /* private fields */ }
Implementations§
source§impl CreateTaskTemplateInput
impl CreateTaskTemplateInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the task template.
sourcepub fn contact_flow_id(&self) -> Option<&str>
pub fn contact_flow_id(&self) -> Option<&str>
The identifier of the flow that runs by default when a task is created by referencing this template.
sourcepub fn constraints(&self) -> Option<&TaskTemplateConstraints>
pub fn constraints(&self) -> Option<&TaskTemplateConstraints>
Constraints that are applicable to the fields listed.
sourcepub fn defaults(&self) -> Option<&TaskTemplateDefaults>
pub fn defaults(&self) -> Option<&TaskTemplateDefaults>
The default values for fields when a task is created by referencing this template.
sourcepub fn status(&self) -> Option<&TaskTemplateStatus>
pub fn status(&self) -> Option<&TaskTemplateStatus>
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
sourcepub fn fields(&self) -> Option<&[TaskTemplateField]>
pub fn fields(&self) -> Option<&[TaskTemplateField]>
Fields that are part of the template.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
source§impl CreateTaskTemplateInput
impl CreateTaskTemplateInput
sourcepub fn builder() -> CreateTaskTemplateInputBuilder
pub fn builder() -> CreateTaskTemplateInputBuilder
Creates a new builder-style object to manufacture CreateTaskTemplateInput
.
source§impl CreateTaskTemplateInput
impl CreateTaskTemplateInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateTaskTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( self, _config: &Config ) -> Result<Operation<CreateTaskTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTaskTemplate
>
Trait Implementations§
source§impl Clone for CreateTaskTemplateInput
impl Clone for CreateTaskTemplateInput
source§fn clone(&self) -> CreateTaskTemplateInput
fn clone(&self) -> CreateTaskTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTaskTemplateInput
impl Debug for CreateTaskTemplateInput
source§impl PartialEq<CreateTaskTemplateInput> for CreateTaskTemplateInput
impl PartialEq<CreateTaskTemplateInput> for CreateTaskTemplateInput
source§fn eq(&self, other: &CreateTaskTemplateInput) -> bool
fn eq(&self, other: &CreateTaskTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.