#[non_exhaustive]pub struct UpdateTaskTemplateOutput {
pub instance_id: Option<String>,
pub id: Option<String>,
pub arn: 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 fields: Option<Vec<TaskTemplateField>>,
pub status: Option<TaskTemplateStatus>,
pub last_modified_time: Option<DateTime>,
pub created_time: Option<DateTime>,
/* private fields */
}
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.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.
id: Option<String>
The identifier of the task template resource.
arn: Option<String>
The Amazon Resource Name (ARN) for the task template resource.
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.
fields: Option<Vec<TaskTemplateField>>
Fields that are part of the 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.
last_modified_time: Option<DateTime>
The timestamp when the task template was last modified.
created_time: Option<DateTime>
The timestamp when the task template was created.
Implementations§
source§impl UpdateTaskTemplateOutput
impl UpdateTaskTemplateOutput
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 arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the task template resource.
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 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()
.
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 last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when the task template was last modified.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp when the task template was created.
source§impl UpdateTaskTemplateOutput
impl UpdateTaskTemplateOutput
sourcepub fn builder() -> UpdateTaskTemplateOutputBuilder
pub fn builder() -> UpdateTaskTemplateOutputBuilder
Creates a new builder-style object to manufacture UpdateTaskTemplateOutput
.
Trait Implementations§
source§impl Clone for UpdateTaskTemplateOutput
impl Clone for UpdateTaskTemplateOutput
source§fn clone(&self) -> UpdateTaskTemplateOutput
fn clone(&self) -> UpdateTaskTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTaskTemplateOutput
impl Debug for UpdateTaskTemplateOutput
source§impl PartialEq for UpdateTaskTemplateOutput
impl PartialEq for UpdateTaskTemplateOutput
source§fn eq(&self, other: &UpdateTaskTemplateOutput) -> bool
fn eq(&self, other: &UpdateTaskTemplateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateTaskTemplateOutput
impl RequestId for UpdateTaskTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.