Struct aws_sdk_connect::input::StartChatContactInput [−][src]
#[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>,
}
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.
Implementations
pub fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartChatContact, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartChatContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartChatContact
>
Creates a new builder-style object to manufacture StartChatContactInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more