Struct rusoto_sms_voice::SmsVoiceClient
source · [−]pub struct SmsVoiceClient { /* private fields */ }
Expand description
A client for the Pinpoint SMS Voice API.
Implementations
sourceimpl SmsVoiceClient
impl SmsVoiceClient
sourcepub fn new(region: Region) -> SmsVoiceClient
pub fn new(region: Region) -> SmsVoiceClient
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
) -> SmsVoiceClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> SmsVoiceClient
Trait Implementations
sourceimpl Clone for SmsVoiceClient
impl Clone for SmsVoiceClient
sourcefn clone(&self) -> SmsVoiceClient
fn clone(&self) -> SmsVoiceClient
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 SmsVoice for SmsVoiceClient
impl SmsVoice for SmsVoiceClient
sourcefn create_configuration_set<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationSetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationSetResponse, RusotoError<CreateConfigurationSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_configuration_set<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationSetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationSetResponse, RusotoError<CreateConfigurationSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
sourcefn create_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationSetEventDestinationResponse, RusotoError<CreateConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationSetEventDestinationResponse, RusotoError<CreateConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new event destination in a configuration set.
sourcefn delete_configuration_set<'life0, 'async_trait>(
&'life0 self,
input: DeleteConfigurationSetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConfigurationSetResponse, RusotoError<DeleteConfigurationSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_configuration_set<'life0, 'async_trait>(
&'life0 self,
input: DeleteConfigurationSetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConfigurationSetResponse, RusotoError<DeleteConfigurationSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an existing configuration set.
sourcefn delete_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: DeleteConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConfigurationSetEventDestinationResponse, RusotoError<DeleteConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: DeleteConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConfigurationSetEventDestinationResponse, RusotoError<DeleteConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an event destination in a configuration set.
sourcefn get_configuration_set_event_destinations<'life0, 'async_trait>(
&'life0 self,
input: GetConfigurationSetEventDestinationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetConfigurationSetEventDestinationsResponse, RusotoError<GetConfigurationSetEventDestinationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_configuration_set_event_destinations<'life0, 'async_trait>(
&'life0 self,
input: GetConfigurationSetEventDestinationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetConfigurationSetEventDestinationsResponse, RusotoError<GetConfigurationSetEventDestinationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.
sourcefn list_configuration_sets<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationSetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationSetsResponse, RusotoError<ListConfigurationSetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_configuration_sets<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationSetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationSetsResponse, RusotoError<ListConfigurationSetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
sourcefn send_voice_message<'life0, 'async_trait>(
&'life0 self,
input: SendVoiceMessageRequest
) -> Pin<Box<dyn Future<Output = Result<SendVoiceMessageResponse, RusotoError<SendVoiceMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn send_voice_message<'life0, 'async_trait>(
&'life0 self,
input: SendVoiceMessageRequest
) -> Pin<Box<dyn Future<Output = Result<SendVoiceMessageResponse, RusotoError<SendVoiceMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new voice message and send it to a recipient's phone number.
sourcefn update_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: UpdateConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateConfigurationSetEventDestinationResponse, RusotoError<UpdateConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_configuration_set_event_destination<'life0, 'async_trait>(
&'life0 self,
input: UpdateConfigurationSetEventDestinationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateConfigurationSetEventDestinationResponse, RusotoError<UpdateConfigurationSetEventDestinationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.
Auto Trait Implementations
impl !RefUnwindSafe for SmsVoiceClient
impl Send for SmsVoiceClient
impl Sync for SmsVoiceClient
impl Unpin for SmsVoiceClient
impl !UnwindSafe for SmsVoiceClient
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