[−][src]Struct rusoto_connectparticipant::ConnectParticipantClient
A client for the Amazon Connect Participant API.
Implementations
impl ConnectParticipantClient
[src]
pub fn new(region: Region) -> ConnectParticipantClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> ConnectParticipantClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> ConnectParticipantClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(
client: Client,
region: Region
) -> ConnectParticipantClient
[src]
client: Client,
region: Region
) -> ConnectParticipantClient
Trait Implementations
impl Clone for ConnectParticipantClient
[src]
fn clone(&self) -> ConnectParticipantClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConnectParticipant for ConnectParticipantClient
[src]
fn create_participant_connection<'life0, 'async_trait>(
&'life0 self,
input: CreateParticipantConnectionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateParticipantConnectionResponse, RusotoError<CreateParticipantConnectionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: CreateParticipantConnectionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateParticipantConnectionResponse, RusotoError<CreateParticipantConnectionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of ConnectionToken.
The participant token is valid for the lifetime of the participant – until the they are part of a contact.
The response URL for WEBSOCKET
Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.
For chat, you need to publish the following on the established websocket connection:
{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}
Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.
fn disconnect_participant<'life0, 'async_trait>(
&'life0 self,
input: DisconnectParticipantRequest
) -> Pin<Box<dyn Future<Output = Result<DisconnectParticipantResponse, RusotoError<DisconnectParticipantError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: DisconnectParticipantRequest
) -> Pin<Box<dyn Future<Output = Result<DisconnectParticipantResponse, RusotoError<DisconnectParticipantError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disconnects a participant. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
fn get_transcript<'life0, 'async_trait>(
&'life0 self,
input: GetTranscriptRequest
) -> Pin<Box<dyn Future<Output = Result<GetTranscriptResponse, RusotoError<GetTranscriptError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: GetTranscriptRequest
) -> Pin<Box<dyn Future<Output = Result<GetTranscriptResponse, RusotoError<GetTranscriptError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves a transcript of the session. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
fn send_event<'life0, 'async_trait>(
&'life0 self,
input: SendEventRequest
) -> Pin<Box<dyn Future<Output = Result<SendEventResponse, RusotoError<SendEventError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: SendEventRequest
) -> Pin<Box<dyn Future<Output = Result<SendEventResponse, RusotoError<SendEventError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sends an event. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
fn send_message<'life0, 'async_trait>(
&'life0 self,
input: SendMessageRequest
) -> Pin<Box<dyn Future<Output = Result<SendMessageResponse, RusotoError<SendMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: SendMessageRequest
) -> Pin<Box<dyn Future<Output = Result<SendMessageResponse, RusotoError<SendMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sends a message. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
Auto Trait Implementations
impl !RefUnwindSafe for ConnectParticipantClient
impl Send for ConnectParticipantClient
impl Sync for ConnectParticipantClient
impl Unpin for ConnectParticipantClient
impl !UnwindSafe for ConnectParticipantClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,