#[non_exhaustive]pub struct StartTaskContactInput {
pub instance_id: Option<String>,
pub previous_contact_id: Option<String>,
pub contact_flow_id: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub name: Option<String>,
pub references: Option<HashMap<String, Reference>>,
pub description: Option<String>,
pub client_token: Option<String>,
pub scheduled_time: Option<DateTime>,
pub task_template_id: Option<String>,
pub quick_connect_id: Option<String>,
pub related_contact_id: Option<String>,
}
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.
previous_contact_id: Option<String>
The identifier of the previous chat, voice, or task contact.
contact_flow_id: Option<String>
The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
attributes: Option<HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
name: Option<String>
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
references: Option<HashMap<String, Reference>>
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
description: Option<String>
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
client_token: Option<String>
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.
scheduled_time: Option<DateTime>
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
task_template_id: Option<String>
A unique identifier for the task template.
quick_connect_id: Option<String>
The identifier for the quick connect.
The contactId that is related to this contact.
Implementations§
source§impl StartTaskContactInput
impl StartTaskContactInput
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 previous_contact_id(&self) -> Option<&str>
pub fn previous_contact_id(&self) -> Option<&str>
The identifier of the previous chat, voice, or task contact.
sourcepub fn contact_flow_id(&self) -> Option<&str>
pub fn contact_flow_id(&self) -> Option<&str>
The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
sourcepub fn references(&self) -> Option<&HashMap<String, Reference>>
pub fn references(&self) -> Option<&HashMap<String, Reference>>
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
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.
sourcepub fn scheduled_time(&self) -> Option<&DateTime>
pub fn scheduled_time(&self) -> Option<&DateTime>
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
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 quick_connect_id(&self) -> Option<&str>
pub fn quick_connect_id(&self) -> Option<&str>
The identifier for the quick connect.
The contactId that is related to this contact.
source§impl StartTaskContactInput
impl StartTaskContactInput
sourcepub fn builder() -> StartTaskContactInputBuilder
pub fn builder() -> StartTaskContactInputBuilder
Creates a new builder-style object to manufacture StartTaskContactInput
.
Trait Implementations§
source§impl Clone for StartTaskContactInput
impl Clone for StartTaskContactInput
source§fn clone(&self) -> StartTaskContactInput
fn clone(&self) -> StartTaskContactInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartTaskContactInput
impl Debug for StartTaskContactInput
source§impl PartialEq<StartTaskContactInput> for StartTaskContactInput
impl PartialEq<StartTaskContactInput> for StartTaskContactInput
source§fn eq(&self, other: &StartTaskContactInput) -> bool
fn eq(&self, other: &StartTaskContactInput) -> bool
self
and other
values to be equal, and is used
by ==
.