#[non_exhaustive]pub struct UpdateTaskTemplateInput {
pub task_template_id: Option<String>,
pub instance_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub contact_flow_id: Option<String>,
pub constraints: Option<TaskTemplateConstraints>,
pub defaults: Option<TaskTemplateDefaults>,
pub status: Option<TaskTemplateStatus>,
pub fields: Option<Vec<TaskTemplateField>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.task_template_id: Option<String>
A unique identifier for the task template.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the task template.
description: Option<String>
The description of the task template.
contact_flow_id: Option<String>
The identifier of the flow that runs by default when a task is created by referencing this template.
constraints: Option<TaskTemplateConstraints>
Constraints that are applicable to the fields listed.
defaults: Option<TaskTemplateDefaults>
The default values for fields when a task is created by referencing this template.
status: 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.
fields: Option<Vec<TaskTemplateField>>
Fields that are part of the template.
Implementations§
source§impl UpdateTaskTemplateInput
impl UpdateTaskTemplateInput
sourcepub fn task_template_id(&self) -> Option<&str>
pub fn task_template_id(&self) -> Option<&str>
A unique identifier for the task template.
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 instance ID in the Amazon Resource Name (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) -> &[TaskTemplateField]
pub fn fields(&self) -> &[TaskTemplateField]
Fields that are part of the template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .fields.is_none()
.
source§impl UpdateTaskTemplateInput
impl UpdateTaskTemplateInput
sourcepub fn builder() -> UpdateTaskTemplateInputBuilder
pub fn builder() -> UpdateTaskTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateTaskTemplateInput
.
Trait Implementations§
source§impl Clone for UpdateTaskTemplateInput
impl Clone for UpdateTaskTemplateInput
source§fn clone(&self) -> UpdateTaskTemplateInput
fn clone(&self) -> UpdateTaskTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTaskTemplateInput
impl Debug for UpdateTaskTemplateInput
source§impl PartialEq for UpdateTaskTemplateInput
impl PartialEq for UpdateTaskTemplateInput
source§fn eq(&self, other: &UpdateTaskTemplateInput) -> bool
fn eq(&self, other: &UpdateTaskTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.