Struct aws_sdk_connect::input::StartChatContactInput
source · [−]#[non_exhaustive]pub struct StartChatContactInput {
pub instance_id: Option<String>,
pub contact_flow_id: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub participant_details: Option<ParticipantDetails>,
pub initial_message: Option<ChatMessage>,
pub client_token: Option<String>,
pub chat_duration_in_minutes: Option<i32>,
pub supported_messaging_content_types: Option<Vec<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 instanceId in the ARN of the instance.
contact_flow_id: Option<String>
The identifier of the contact flow for initiating the chat. 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. They 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.
participant_details: Option<ParticipantDetails>
Information identifying the participant.
initial_message: Option<ChatMessage>
The initial message to be sent to the newly created chat.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
chat_duration_in_minutes: Option<i32>
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
supported_messaging_content_types: Option<Vec<String>>
The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.
Implementations
sourceimpl StartChatContactInput
impl StartChatContactInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartChatContact, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartChatContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartChatContact
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartChatContactInput
sourceimpl StartChatContactInput
impl StartChatContactInput
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 contact_flow_id(&self) -> Option<&str>
pub fn contact_flow_id(&self) -> Option<&str>
The identifier of the contact flow for initiating the chat. 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. They 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 participant_details(&self) -> Option<&ParticipantDetails>
pub fn participant_details(&self) -> Option<&ParticipantDetails>
Information identifying the participant.
sourcepub fn initial_message(&self) -> Option<&ChatMessage>
pub fn initial_message(&self) -> Option<&ChatMessage>
The initial message to be sent to the newly created chat.
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 chat_duration_in_minutes(&self) -> Option<i32>
pub fn chat_duration_in_minutes(&self) -> Option<i32>
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
Trait Implementations
sourceimpl Clone for StartChatContactInput
impl Clone for StartChatContactInput
sourcefn clone(&self) -> StartChatContactInput
fn clone(&self) -> StartChatContactInput
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 StartChatContactInput
impl Debug for StartChatContactInput
sourceimpl PartialEq<StartChatContactInput> for StartChatContactInput
impl PartialEq<StartChatContactInput> for StartChatContactInput
sourcefn eq(&self, other: &StartChatContactInput) -> bool
fn eq(&self, other: &StartChatContactInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartChatContactInput) -> bool
fn ne(&self, other: &StartChatContactInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartChatContactInput
Auto Trait Implementations
impl RefUnwindSafe for StartChatContactInput
impl Send for StartChatContactInput
impl Sync for StartChatContactInput
impl Unpin for StartChatContactInput
impl UnwindSafe for StartChatContactInput
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