Struct rusoto_sms_voice::SmsVoiceClient [−][src]
pub struct SmsVoiceClient { /* fields omitted */ }
Expand description
A client for the Pinpoint SMS Voice API.
Implementations
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,
Trait Implementations
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,
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.
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,
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.
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,
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.
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,
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.
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,
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.
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,
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.
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,
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.
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,
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self