#[non_exhaustive]pub struct GetTaskTemplateOutput {Show 13 fields
pub instance_id: Option<String>,
pub id: String,
pub arn: String,
pub name: 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: String
A unique identifier for the task template.
arn: String
The Amazon Resource Name (ARN).
name: 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) -> &[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.
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 for GetTaskTemplateOutput
impl PartialEq 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.impl StructuralPartialEq for GetTaskTemplateOutput
Auto Trait Implementations§
impl Freeze for GetTaskTemplateOutput
impl RefUnwindSafe for GetTaskTemplateOutput
impl Send for GetTaskTemplateOutput
impl Sync for GetTaskTemplateOutput
impl Unpin for GetTaskTemplateOutput
impl UnwindSafe for GetTaskTemplateOutput
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> 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