#[non_exhaustive]pub struct CreateParticipantInput {
pub instance_id: Option<String>,
pub contact_id: Option<String>,
pub client_token: Option<String>,
pub participant_details: Option<ParticipantDetailsToAdd>,
}
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.
contact_id: Option<String>
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
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.
participant_details: Option<ParticipantDetailsToAdd>
Information identifying the participant.
The only Valid value for ParticipantRole
is CUSTOM_BOT
.
DisplayName
is Required.
Implementations§
source§impl CreateParticipantInput
impl CreateParticipantInput
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 contact_id(&self) -> Option<&str>
pub fn contact_id(&self) -> Option<&str>
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
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 participant_details(&self) -> Option<&ParticipantDetailsToAdd>
pub fn participant_details(&self) -> Option<&ParticipantDetailsToAdd>
Information identifying the participant.
The only Valid value for ParticipantRole
is CUSTOM_BOT
.
DisplayName
is Required.
source§impl CreateParticipantInput
impl CreateParticipantInput
sourcepub fn builder() -> CreateParticipantInputBuilder
pub fn builder() -> CreateParticipantInputBuilder
Creates a new builder-style object to manufacture CreateParticipantInput
.
Trait Implementations§
source§impl Clone for CreateParticipantInput
impl Clone for CreateParticipantInput
source§fn clone(&self) -> CreateParticipantInput
fn clone(&self) -> CreateParticipantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateParticipantInput
impl Debug for CreateParticipantInput
source§impl PartialEq for CreateParticipantInput
impl PartialEq for CreateParticipantInput
source§fn eq(&self, other: &CreateParticipantInput) -> bool
fn eq(&self, other: &CreateParticipantInput) -> bool
self
and other
values to be equal, and is used
by ==
.