Struct aws_sdk_connect::input::StartTaskContactInput
source · [−]#[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>,
}
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 instanceId in the 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 contact 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 contact flow. On the contact flow page, under the name of the contact 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 contact 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.
scheduled_time: Option<DateTime>
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
Implementations
sourceimpl StartTaskContactInput
impl StartTaskContactInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartTaskContact, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartTaskContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartTaskContact
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartTaskContactInput
sourceimpl 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 instanceId in the 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 contact 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 contact flow. On the contact flow page, under the name of the contact 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 contact 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.
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 contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
Trait Implementations
sourceimpl Clone for StartTaskContactInput
impl Clone for StartTaskContactInput
sourcefn clone(&self) -> StartTaskContactInput
fn clone(&self) -> StartTaskContactInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartTaskContactInput
impl Debug for StartTaskContactInput
sourceimpl PartialEq<StartTaskContactInput> for StartTaskContactInput
impl PartialEq<StartTaskContactInput> for StartTaskContactInput
sourcefn eq(&self, other: &StartTaskContactInput) -> bool
fn eq(&self, other: &StartTaskContactInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartTaskContactInput) -> bool
fn ne(&self, other: &StartTaskContactInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartTaskContactInput
Auto Trait Implementations
impl RefUnwindSafe for StartTaskContactInput
impl Send for StartTaskContactInput
impl Sync for StartTaskContactInput
impl Unpin for StartTaskContactInput
impl UnwindSafe for StartTaskContactInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more