#[non_exhaustive]pub struct GetTaskTemplateOutput {Show 13 fields
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>,
pub tags: Option<HashMap<String, String>>,
/* 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>
A unique identifier for the task template.
arn: Option<String>
The Amazon Resource Name (ARN).
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.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl GetTaskTemplateOutput
impl GetTaskTemplateOutput
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 fields(&self) -> Option<&[TaskTemplateField]>
pub fn fields(&self) -> Option<&[TaskTemplateField]>
Fields that are part of the 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 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.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
source§impl GetTaskTemplateOutput
impl GetTaskTemplateOutput
sourcepub fn builder() -> GetTaskTemplateOutputBuilder
pub fn builder() -> GetTaskTemplateOutputBuilder
Creates a new builder-style object to manufacture GetTaskTemplateOutput
.
Trait Implementations§
source§impl Clone for GetTaskTemplateOutput
impl Clone for GetTaskTemplateOutput
source§fn clone(&self) -> GetTaskTemplateOutput
fn clone(&self) -> GetTaskTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTaskTemplateOutput
impl Debug for GetTaskTemplateOutput
source§impl PartialEq<GetTaskTemplateOutput> for GetTaskTemplateOutput
impl PartialEq<GetTaskTemplateOutput> for GetTaskTemplateOutput
source§fn eq(&self, other: &GetTaskTemplateOutput) -> bool
fn eq(&self, other: &GetTaskTemplateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetTaskTemplateOutput
impl RequestId for GetTaskTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.