Struct TwilioClient

Source
pub struct TwilioClient {
    pub client: Client,
    /* private fields */
}

Fields§

§client: Client

Implementations§

Source§

impl TwilioClient

Source

pub fn from_env() -> Self

Source§

impl TwilioClient

Source

pub fn new(url: &str, authentication: TwilioAuthentication) -> Self

Source

pub fn with_authentication(self, authentication: TwilioAuthentication) -> Self

Source

pub fn with_middleware<M: Middleware + 'static>(self, middleware: M) -> Self

Source

pub fn list_account(&self) -> ListAccountRequest<'_>

Retrieves a collection of Accounts belonging to the account used to make the request

Source

pub fn create_account(&self) -> CreateAccountRequest<'_>

Create a new Twilio Subaccount from the account making the request

Source

pub fn fetch_account(&self, sid: &str) -> FetchAccountRequest<'_>

Fetch the account specified by the provided Account Sid

Source

pub fn update_account(&self, sid: &str) -> UpdateAccountRequest<'_>

Modify the properties of a given Account

Source

pub fn list_address(&self, account_sid: &str) -> ListAddressRequest<'_>

Source

pub fn create_address(&self, account_sid: &str) -> CreateAddressRequest<'_>

Source

pub fn fetch_address( &self, account_sid: &str, sid: &str, ) -> FetchAddressRequest<'_>

Source

pub fn update_address( &self, account_sid: &str, sid: &str, ) -> UpdateAddressRequest<'_>

Source

pub fn delete_address( &self, account_sid: &str, sid: &str, ) -> DeleteAddressRequest<'_>

Source

pub fn list_application(&self, account_sid: &str) -> ListApplicationRequest<'_>

Retrieve a list of applications representing an application within the requesting account

Source

pub fn create_application( &self, account_sid: &str, ) -> CreateApplicationRequest<'_>

Create a new application within your account

Source

pub fn fetch_application( &self, account_sid: &str, sid: &str, ) -> FetchApplicationRequest<'_>

Fetch the application specified by the provided sid

Source

pub fn update_application( &self, account_sid: &str, sid: &str, ) -> UpdateApplicationRequest<'_>

Updates the application’s properties

Source

pub fn delete_application( &self, account_sid: &str, sid: &str, ) -> DeleteApplicationRequest<'_>

Delete the application by the specified application sid

Source

pub fn fetch_authorized_connect_app( &self, account_sid: &str, connect_app_sid: &str, ) -> FetchAuthorizedConnectAppRequest<'_>

Fetch an instance of an authorized-connect-app

Source

pub fn list_authorized_connect_app( &self, account_sid: &str, ) -> ListAuthorizedConnectAppRequest<'_>

Retrieve a list of authorized-connect-apps belonging to the account used to make the request

Source

pub fn list_available_phone_number_country( &self, account_sid: &str, ) -> ListAvailablePhoneNumberCountryRequest<'_>

Source

pub fn fetch_available_phone_number_country( &self, account_sid: &str, country_code: &str, ) -> FetchAvailablePhoneNumberCountryRequest<'_>

Source

pub fn list_available_phone_number_local( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberLocalRequest<'_>

Source

pub fn list_available_phone_number_machine_to_machine( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberMachineToMachineRequest<'_>

Source

pub fn list_available_phone_number_mobile( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberMobileRequest<'_>

Source

pub fn list_available_phone_number_national( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberNationalRequest<'_>

Source

pub fn list_available_phone_number_shared_cost( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberSharedCostRequest<'_>

Source

pub fn list_available_phone_number_toll_free( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberTollFreeRequest<'_>

Source

pub fn list_available_phone_number_voip( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberVoipRequest<'_>

Source

pub fn fetch_balance(&self, account_sid: &str) -> FetchBalanceRequest<'_>

Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information

Source

pub fn list_call(&self, account_sid: &str) -> ListCallRequest<'_>

Retrieves a collection of calls made to and from your account

Source

pub fn create_call(&self, account_sid: &str) -> CreateCallRequest<'_>

Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections

Source

pub fn fetch_call(&self, account_sid: &str, sid: &str) -> FetchCallRequest<'_>

Fetch the call specified by the provided Call SID

Source

pub fn update_call(&self, account_sid: &str, sid: &str) -> UpdateCallRequest<'_>

Initiates a call redirect or terminates a call

Source

pub fn delete_call(&self, account_sid: &str, sid: &str) -> DeleteCallRequest<'_>

Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs.

Source

pub fn list_call_event( &self, account_sid: &str, call_sid: &str, ) -> ListCallEventRequest<'_>

Retrieve a list of all events for a call.

Source

pub fn fetch_call_feedback( &self, account_sid: &str, call_sid: &str, ) -> FetchCallFeedbackRequest<'_>

Fetch a Feedback resource from a call

Source

pub fn update_call_feedback( &self, account_sid: &str, call_sid: &str, ) -> UpdateCallFeedbackRequest<'_>

Update a Feedback resource for a call

Source

pub fn create_call_feedback_summary( &self, account_sid: &str, ) -> CreateCallFeedbackSummaryRequest<'_>

Create a FeedbackSummary resource for a call

Source

pub fn fetch_call_feedback_summary( &self, account_sid: &str, sid: &str, ) -> FetchCallFeedbackSummaryRequest<'_>

Fetch a FeedbackSummary resource from a call

Source

pub fn delete_call_feedback_summary( &self, account_sid: &str, sid: &str, ) -> DeleteCallFeedbackSummaryRequest<'_>

Delete a FeedbackSummary resource from a call

Source

pub fn fetch_call_notification( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> FetchCallNotificationRequest<'_>

Source

pub fn list_call_notification( &self, account_sid: &str, call_sid: &str, ) -> ListCallNotificationRequest<'_>

Source

pub fn list_call_recording( &self, account_sid: &str, call_sid: &str, ) -> ListCallRecordingRequest<'_>

Retrieve a list of recordings belonging to the call used to make the request

Source

pub fn create_call_recording( &self, account_sid: &str, call_sid: &str, ) -> CreateCallRecordingRequest<'_>

Create a recording for the call

Source

pub fn fetch_call_recording( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> FetchCallRecordingRequest<'_>

Fetch an instance of a recording for a call

Source

pub fn update_call_recording( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> UpdateCallRecordingRequest<'_>

Changes the status of the recording to paused, stopped, or in-progress. Note: Pass Twilio.CURRENT instead of recording sid to reference current active recording.

Source

pub fn delete_call_recording( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> DeleteCallRecordingRequest<'_>

Delete a recording from your account

Source

pub fn fetch_conference( &self, account_sid: &str, sid: &str, ) -> FetchConferenceRequest<'_>

Fetch an instance of a conference

Source

pub fn update_conference( &self, account_sid: &str, sid: &str, ) -> UpdateConferenceRequest<'_>

Source

pub fn list_conference(&self, account_sid: &str) -> ListConferenceRequest<'_>

Retrieve a list of conferences belonging to the account used to make the request

Source

pub fn fetch_conference_recording( &self, account_sid: &str, conference_sid: &str, sid: &str, ) -> FetchConferenceRecordingRequest<'_>

Fetch an instance of a recording for a call

Source

pub fn update_conference_recording( &self, account_sid: &str, conference_sid: &str, sid: &str, ) -> UpdateConferenceRecordingRequest<'_>

Changes the status of the recording to paused, stopped, or in-progress. Note: To use Twilio.CURRENT, pass it as recording sid.

Source

pub fn delete_conference_recording( &self, account_sid: &str, conference_sid: &str, sid: &str, ) -> DeleteConferenceRecordingRequest<'_>

Delete a recording from your account

Source

pub fn list_conference_recording( &self, account_sid: &str, conference_sid: &str, ) -> ListConferenceRecordingRequest<'_>

Retrieve a list of recordings belonging to the call used to make the request

Source

pub fn fetch_connect_app( &self, account_sid: &str, sid: &str, ) -> FetchConnectAppRequest<'_>

Fetch an instance of a connect-app

Source

pub fn update_connect_app( &self, account_sid: &str, sid: &str, ) -> UpdateConnectAppRequest<'_>

Update a connect-app with the specified parameters

Source

pub fn delete_connect_app( &self, account_sid: &str, sid: &str, ) -> DeleteConnectAppRequest<'_>

Delete an instance of a connect-app

Source

pub fn list_connect_app(&self, account_sid: &str) -> ListConnectAppRequest<'_>

Retrieve a list of connect-apps belonging to the account used to make the request

Source

pub fn list_dependent_phone_number( &self, account_sid: &str, address_sid: &str, ) -> ListDependentPhoneNumberRequest<'_>

Source

pub fn fetch_incoming_phone_number( &self, account_sid: &str, sid: &str, ) -> FetchIncomingPhoneNumberRequest<'_>

Fetch an incoming-phone-number belonging to the account used to make the request.

Source

pub fn update_incoming_phone_number( &self, account_sid: &str, sid: &str, ) -> UpdateIncomingPhoneNumberRequest<'_>

Update an incoming-phone-number instance.

Source

pub fn delete_incoming_phone_number( &self, account_sid: &str, sid: &str, ) -> DeleteIncomingPhoneNumberRequest<'_>

Delete a phone-numbers belonging to the account used to make the request.

Source

pub fn list_incoming_phone_number( &self, account_sid: &str, ) -> ListIncomingPhoneNumberRequest<'_>

Retrieve a list of incoming-phone-numbers belonging to the account used to make the request.

Source

pub fn create_incoming_phone_number( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberRequest<'_>

Purchase a phone-number for the account.

Source

pub fn fetch_incoming_phone_number_assigned_add_on( &self, account_sid: &str, resource_sid: &str, sid: &str, ) -> FetchIncomingPhoneNumberAssignedAddOnRequest<'_>

Fetch an instance of an Add-on installation currently assigned to this Number.

Source

pub fn delete_incoming_phone_number_assigned_add_on( &self, account_sid: &str, resource_sid: &str, sid: &str, ) -> DeleteIncomingPhoneNumberAssignedAddOnRequest<'_>

Remove the assignment of an Add-on installation from the Number specified.

Source

pub fn list_incoming_phone_number_assigned_add_on( &self, account_sid: &str, resource_sid: &str, ) -> ListIncomingPhoneNumberAssignedAddOnRequest<'_>

Retrieve a list of Add-on installations currently assigned to this Number.

Source

pub fn create_incoming_phone_number_assigned_add_on( &self, account_sid: &str, resource_sid: &str, ) -> CreateIncomingPhoneNumberAssignedAddOnRequest<'_>

Assign an Add-on installation to the Number specified.

Source

pub fn fetch_incoming_phone_number_assigned_add_on_extension( &self, args: FetchIncomingPhoneNumberAssignedAddOnExtensionRequired<'_>, ) -> FetchIncomingPhoneNumberAssignedAddOnExtensionRequest<'_>

Fetch an instance of an Extension for the Assigned Add-on.

Source

pub fn list_incoming_phone_number_assigned_add_on_extension( &self, account_sid: &str, assigned_add_on_sid: &str, resource_sid: &str, ) -> ListIncomingPhoneNumberAssignedAddOnExtensionRequest<'_>

Retrieve a list of Extensions for the Assigned Add-on.

Source

pub fn list_incoming_phone_number_local( &self, account_sid: &str, ) -> ListIncomingPhoneNumberLocalRequest<'_>

Source

pub fn create_incoming_phone_number_local( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberLocalRequest<'_>

Source

pub fn list_incoming_phone_number_mobile( &self, account_sid: &str, ) -> ListIncomingPhoneNumberMobileRequest<'_>

Source

pub fn create_incoming_phone_number_mobile( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberMobileRequest<'_>

Source

pub fn list_incoming_phone_number_toll_free( &self, account_sid: &str, ) -> ListIncomingPhoneNumberTollFreeRequest<'_>

Source

pub fn create_incoming_phone_number_toll_free( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberTollFreeRequest<'_>

Source

pub fn fetch_key(&self, account_sid: &str, sid: &str) -> FetchKeyRequest<'_>

Source

pub fn update_key(&self, account_sid: &str, sid: &str) -> UpdateKeyRequest<'_>

Source

pub fn delete_key(&self, account_sid: &str, sid: &str) -> DeleteKeyRequest<'_>

Source

pub fn list_key(&self, account_sid: &str) -> ListKeyRequest<'_>

Source

pub fn create_new_key(&self, account_sid: &str) -> CreateNewKeyRequest<'_>

Source

pub fn fetch_media( &self, account_sid: &str, message_sid: &str, sid: &str, ) -> FetchMediaRequest<'_>

Fetch a single media instance belonging to the account used to make the request

Source

pub fn delete_media( &self, account_sid: &str, message_sid: &str, sid: &str, ) -> DeleteMediaRequest<'_>

Delete media from your account. Once delete, you will no longer be billed

Source

pub fn list_media( &self, account_sid: &str, message_sid: &str, ) -> ListMediaRequest<'_>

Retrieve a list of Media resources belonging to the account used to make the request

Source

pub fn fetch_member( &self, account_sid: &str, call_sid: &str, queue_sid: &str, ) -> FetchMemberRequest<'_>

Fetch a specific member from the queue

Source

pub fn update_member( &self, account_sid: &str, call_sid: &str, queue_sid: &str, ) -> UpdateMemberRequest<'_>

Dequeue a member from a queue and have the member’s call begin executing the TwiML document at that URL

Source

pub fn list_member( &self, account_sid: &str, queue_sid: &str, ) -> ListMemberRequest<'_>

Retrieve the members of the queue

Source

pub fn list_message(&self, account_sid: &str) -> ListMessageRequest<'_>

Retrieve a list of messages belonging to the account used to make the request

Source

pub fn create_message(&self, account_sid: &str) -> CreateMessageRequest<'_>

Send a message from the account used to make the request

Source

pub fn fetch_message( &self, account_sid: &str, sid: &str, ) -> FetchMessageRequest<'_>

Fetch a message belonging to the account used to make the request

Source

pub fn update_message( &self, account_sid: &str, sid: &str, ) -> UpdateMessageRequest<'_>

To redact a message-body from a post-flight message record, post to the message instance resource with an empty body

Source

pub fn delete_message( &self, account_sid: &str, sid: &str, ) -> DeleteMessageRequest<'_>

Deletes a message record from your account

Source

pub fn create_message_feedback( &self, account_sid: &str, message_sid: &str, ) -> CreateMessageFeedbackRequest<'_>

Source

pub fn list_signing_key(&self, account_sid: &str) -> ListSigningKeyRequest<'_>

Source

pub fn create_new_signing_key( &self, account_sid: &str, ) -> CreateNewSigningKeyRequest<'_>

Create a new Signing Key for the account making the request.

Source

pub fn fetch_notification( &self, account_sid: &str, sid: &str, ) -> FetchNotificationRequest<'_>

Fetch a notification belonging to the account used to make the request

Source

pub fn list_notification( &self, account_sid: &str, ) -> ListNotificationRequest<'_>

Retrieve a list of notifications belonging to the account used to make the request

Source

pub fn fetch_outgoing_caller_id( &self, account_sid: &str, sid: &str, ) -> FetchOutgoingCallerIdRequest<'_>

Fetch an outgoing-caller-id belonging to the account used to make the request

Source

pub fn update_outgoing_caller_id( &self, account_sid: &str, sid: &str, ) -> UpdateOutgoingCallerIdRequest<'_>

Updates the caller-id

Source

pub fn delete_outgoing_caller_id( &self, account_sid: &str, sid: &str, ) -> DeleteOutgoingCallerIdRequest<'_>

Delete the caller-id specified from the account

Source

pub fn list_outgoing_caller_id( &self, account_sid: &str, ) -> ListOutgoingCallerIdRequest<'_>

Retrieve a list of outgoing-caller-ids belonging to the account used to make the request

Source

pub fn create_validation_request( &self, account_sid: &str, ) -> CreateValidationRequestRequest<'_>

Source

pub fn fetch_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> FetchParticipantRequest<'_>

Fetch an instance of a participant

Source

pub fn update_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> UpdateParticipantRequest<'_>

Update the properties of the participant

Source

pub fn delete_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> DeleteParticipantRequest<'_>

Kick a participant from a given conference

Source

pub fn list_participant( &self, account_sid: &str, conference_sid: &str, ) -> ListParticipantRequest<'_>

Retrieve a list of participants belonging to the account used to make the request

Source

pub fn create_participant( &self, account_sid: &str, conference_sid: &str, ) -> CreateParticipantRequest<'_>

Source

pub fn create_payments( &self, account_sid: &str, call_sid: &str, ) -> CreatePaymentsRequest<'_>

create an instance of payments. This will start a new payments session

Source

pub fn update_payments( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> UpdatePaymentsRequest<'_>

update an instance of payments with different phases of payment flows.

Source

pub fn fetch_queue(&self, account_sid: &str, sid: &str) -> FetchQueueRequest<'_>

Fetch an instance of a queue identified by the QueueSid

Source

pub fn update_queue( &self, account_sid: &str, sid: &str, ) -> UpdateQueueRequest<'_>

Update the queue with the new parameters

Source

pub fn delete_queue( &self, account_sid: &str, sid: &str, ) -> DeleteQueueRequest<'_>

Remove an empty queue

Source

pub fn list_queue(&self, account_sid: &str) -> ListQueueRequest<'_>

Retrieve a list of queues belonging to the account used to make the request

Source

pub fn create_queue(&self, account_sid: &str) -> CreateQueueRequest<'_>

Create a queue

Source

pub fn fetch_recording( &self, account_sid: &str, sid: &str, ) -> FetchRecordingRequest<'_>

Fetch an instance of a recording

Source

pub fn delete_recording( &self, account_sid: &str, sid: &str, ) -> DeleteRecordingRequest<'_>

Delete a recording from your account

Source

pub fn list_recording(&self, account_sid: &str) -> ListRecordingRequest<'_>

Retrieve a list of recordings belonging to the account used to make the request

Source

pub fn fetch_recording_add_on_result( &self, account_sid: &str, reference_sid: &str, sid: &str, ) -> FetchRecordingAddOnResultRequest<'_>

Fetch an instance of an AddOnResult

Source

pub fn delete_recording_add_on_result( &self, account_sid: &str, reference_sid: &str, sid: &str, ) -> DeleteRecordingAddOnResultRequest<'_>

Delete a result and purge all associated Payloads

Source

pub fn list_recording_add_on_result( &self, account_sid: &str, reference_sid: &str, ) -> ListRecordingAddOnResultRequest<'_>

Retrieve a list of results belonging to the recording

Source

pub fn fetch_recording_add_on_result_payload( &self, args: FetchRecordingAddOnResultPayloadRequired<'_>, ) -> FetchRecordingAddOnResultPayloadRequest<'_>

Fetch an instance of a result payload

Source

pub fn delete_recording_add_on_result_payload( &self, args: DeleteRecordingAddOnResultPayloadRequired<'_>, ) -> DeleteRecordingAddOnResultPayloadRequest<'_>

Delete a payload from the result along with all associated Data

Source

pub fn list_recording_add_on_result_payload( &self, account_sid: &str, add_on_result_sid: &str, reference_sid: &str, ) -> ListRecordingAddOnResultPayloadRequest<'_>

Retrieve a list of payloads belonging to the AddOnResult

Source

pub fn fetch_recording_transcription( &self, account_sid: &str, recording_sid: &str, sid: &str, ) -> FetchRecordingTranscriptionRequest<'_>

Source

pub fn delete_recording_transcription( &self, account_sid: &str, recording_sid: &str, sid: &str, ) -> DeleteRecordingTranscriptionRequest<'_>

Source

pub fn list_recording_transcription( &self, account_sid: &str, recording_sid: &str, ) -> ListRecordingTranscriptionRequest<'_>

Source

pub fn fetch_short_code( &self, account_sid: &str, sid: &str, ) -> FetchShortCodeRequest<'_>

Fetch an instance of a short code

Source

pub fn update_short_code( &self, account_sid: &str, sid: &str, ) -> UpdateShortCodeRequest<'_>

Update a short code with the following parameters

Source

pub fn list_short_code(&self, account_sid: &str) -> ListShortCodeRequest<'_>

Retrieve a list of short-codes belonging to the account used to make the request

Source

pub fn fetch_signing_key( &self, account_sid: &str, sid: &str, ) -> FetchSigningKeyRequest<'_>

Source

pub fn update_signing_key( &self, account_sid: &str, sid: &str, ) -> UpdateSigningKeyRequest<'_>

Source

pub fn delete_signing_key( &self, account_sid: &str, sid: &str, ) -> DeleteSigningKeyRequest<'_>

Source

pub fn list_sip_auth_calls_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipAuthCallsCredentialListMappingRequest<'_>

Retrieve a list of credential list mappings belonging to the domain used in the request

Source

pub fn create_sip_auth_calls_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipAuthCallsCredentialListMappingRequest<'_>

Create a new credential list mapping resource

Source

pub fn fetch_sip_auth_calls_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipAuthCallsCredentialListMappingRequest<'_>

Fetch a specific instance of a credential list mapping

Source

pub fn delete_sip_auth_calls_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipAuthCallsCredentialListMappingRequest<'_>

Delete a credential list mapping from the requested domain

Source

pub fn list_sip_auth_calls_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipAuthCallsIpAccessControlListMappingRequest<'_>

Retrieve a list of IP Access Control List mappings belonging to the domain used in the request

Source

pub fn create_sip_auth_calls_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipAuthCallsIpAccessControlListMappingRequest<'_>

Create a new IP Access Control List mapping

Source

pub fn fetch_sip_auth_calls_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipAuthCallsIpAccessControlListMappingRequest<'_>

Fetch a specific instance of an IP Access Control List mapping

Source

pub fn delete_sip_auth_calls_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipAuthCallsIpAccessControlListMappingRequest<'_>

Delete an IP Access Control List mapping from the requested domain

Source

pub fn list_sip_auth_registrations_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipAuthRegistrationsCredentialListMappingRequest<'_>

Retrieve a list of credential list mappings belonging to the domain used in the request

Source

pub fn create_sip_auth_registrations_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipAuthRegistrationsCredentialListMappingRequest<'_>

Create a new credential list mapping resource

Source

pub fn fetch_sip_auth_registrations_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipAuthRegistrationsCredentialListMappingRequest<'_>

Fetch a specific instance of a credential list mapping

Source

pub fn delete_sip_auth_registrations_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipAuthRegistrationsCredentialListMappingRequest<'_>

Delete a credential list mapping from the requested domain

Source

pub fn list_sip_credential( &self, account_sid: &str, credential_list_sid: &str, ) -> ListSipCredentialRequest<'_>

Retrieve a list of credentials.

Source

pub fn create_sip_credential( &self, account_sid: &str, credential_list_sid: &str, ) -> CreateSipCredentialRequest<'_>

Create a new credential resource.

Source

pub fn fetch_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> FetchSipCredentialRequest<'_>

Fetch a single credential.

Source

pub fn update_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> UpdateSipCredentialRequest<'_>

Update a credential resource.

Source

pub fn delete_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> DeleteSipCredentialRequest<'_>

Delete a credential resource.

Source

pub fn list_sip_credential_list( &self, account_sid: &str, ) -> ListSipCredentialListRequest<'_>

Get All Credential Lists

Source

pub fn create_sip_credential_list( &self, account_sid: &str, ) -> CreateSipCredentialListRequest<'_>

Create a Credential List

Source

pub fn fetch_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> FetchSipCredentialListRequest<'_>

Get a Credential List

Source

pub fn update_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> UpdateSipCredentialListRequest<'_>

Update a Credential List

Source

pub fn delete_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> DeleteSipCredentialListRequest<'_>

Delete a Credential List

Source

pub fn list_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipCredentialListMappingRequest<'_>

Read multiple CredentialListMapping resources from an account.

Source

pub fn create_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipCredentialListMappingRequest<'_>

Create a CredentialListMapping resource for an account.

Source

pub fn fetch_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipCredentialListMappingRequest<'_>

Fetch a single CredentialListMapping resource from an account.

Source

pub fn delete_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipCredentialListMappingRequest<'_>

Delete a CredentialListMapping resource from an account.

Source

pub fn list_sip_domain(&self, account_sid: &str) -> ListSipDomainRequest<'_>

Retrieve a list of domains belonging to the account used to make the request

Source

pub fn create_sip_domain(&self, account_sid: &str) -> CreateSipDomainRequest<'_>

Create a new Domain

Source

pub fn fetch_sip_domain( &self, account_sid: &str, sid: &str, ) -> FetchSipDomainRequest<'_>

Fetch an instance of a Domain

Source

pub fn update_sip_domain( &self, account_sid: &str, sid: &str, ) -> UpdateSipDomainRequest<'_>

Update the attributes of a domain

Source

pub fn delete_sip_domain( &self, account_sid: &str, sid: &str, ) -> DeleteSipDomainRequest<'_>

Delete an instance of a Domain

Source

pub fn list_sip_ip_access_control_list( &self, account_sid: &str, ) -> ListSipIpAccessControlListRequest<'_>

Retrieve a list of IpAccessControlLists that belong to the account used to make the request

Source

pub fn create_sip_ip_access_control_list( &self, account_sid: &str, ) -> CreateSipIpAccessControlListRequest<'_>

Create a new IpAccessControlList resource

Source

pub fn fetch_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> FetchSipIpAccessControlListRequest<'_>

Fetch a specific instance of an IpAccessControlList

Source

pub fn update_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> UpdateSipIpAccessControlListRequest<'_>

Rename an IpAccessControlList

Source

pub fn delete_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> DeleteSipIpAccessControlListRequest<'_>

Delete an IpAccessControlList from the requested account

Source

pub fn fetch_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipIpAccessControlListMappingRequest<'_>

Fetch an IpAccessControlListMapping resource.

Source

pub fn delete_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipIpAccessControlListMappingRequest<'_>

Delete an IpAccessControlListMapping resource.

Source

pub fn list_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipIpAccessControlListMappingRequest<'_>

Retrieve a list of IpAccessControlListMapping resources.

Source

pub fn create_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipIpAccessControlListMappingRequest<'_>

Create a new IpAccessControlListMapping resource.

Source

pub fn list_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, ) -> ListSipIpAddressRequest<'_>

Read multiple IpAddress resources.

Source

pub fn create_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, ) -> CreateSipIpAddressRequest<'_>

Create a new IpAddress resource.

Source

pub fn fetch_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> FetchSipIpAddressRequest<'_>

Read one IpAddress resource.

Source

pub fn update_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> UpdateSipIpAddressRequest<'_>

Update an IpAddress resource.

Source

pub fn delete_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> DeleteSipIpAddressRequest<'_>

Delete an IpAddress resource.

Source

pub fn create_siprec( &self, account_sid: &str, call_sid: &str, ) -> CreateSiprecRequest<'_>

Create a Siprec

Source

pub fn update_siprec( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> UpdateSiprecRequest<'_>

Stop a Siprec using either the SID of the Siprec resource or the name used when creating the resource

Source

pub fn create_stream( &self, account_sid: &str, call_sid: &str, ) -> CreateStreamRequest<'_>

Create a Stream

Source

pub fn update_stream( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> UpdateStreamRequest<'_>

Stop a Stream using either the SID of the Stream resource or the name used when creating the resource

Source

pub fn create_token(&self, account_sid: &str) -> CreateTokenRequest<'_>

Create a new token for ICE servers

Source

pub fn fetch_transcription( &self, account_sid: &str, sid: &str, ) -> FetchTranscriptionRequest<'_>

Fetch an instance of a Transcription

Source

pub fn delete_transcription( &self, account_sid: &str, sid: &str, ) -> DeleteTranscriptionRequest<'_>

Delete a transcription from the account used to make the request

Source

pub fn list_transcription( &self, account_sid: &str, ) -> ListTranscriptionRequest<'_>

Retrieve a list of transcriptions belonging to the account used to make the request

Source

pub fn list_usage_record(&self, account_sid: &str) -> ListUsageRecordRequest<'_>

Retrieve a list of usage-records belonging to the account used to make the request

Source

pub fn list_usage_record_all_time( &self, account_sid: &str, ) -> ListUsageRecordAllTimeRequest<'_>

Source

pub fn list_usage_record_daily( &self, account_sid: &str, ) -> ListUsageRecordDailyRequest<'_>

Source

pub fn list_usage_record_last_month( &self, account_sid: &str, ) -> ListUsageRecordLastMonthRequest<'_>

Source

pub fn list_usage_record_monthly( &self, account_sid: &str, ) -> ListUsageRecordMonthlyRequest<'_>

Source

pub fn list_usage_record_this_month( &self, account_sid: &str, ) -> ListUsageRecordThisMonthRequest<'_>

Source

pub fn list_usage_record_today( &self, account_sid: &str, ) -> ListUsageRecordTodayRequest<'_>

Source

pub fn list_usage_record_yearly( &self, account_sid: &str, ) -> ListUsageRecordYearlyRequest<'_>

Source

pub fn list_usage_record_yesterday( &self, account_sid: &str, ) -> ListUsageRecordYesterdayRequest<'_>

Source

pub fn fetch_usage_trigger( &self, account_sid: &str, sid: &str, ) -> FetchUsageTriggerRequest<'_>

Fetch and instance of a usage-trigger

Source

pub fn update_usage_trigger( &self, account_sid: &str, sid: &str, ) -> UpdateUsageTriggerRequest<'_>

Update an instance of a usage trigger

Source

pub fn delete_usage_trigger( &self, account_sid: &str, sid: &str, ) -> DeleteUsageTriggerRequest<'_>

Source

pub fn list_usage_trigger( &self, account_sid: &str, ) -> ListUsageTriggerRequest<'_>

Retrieve a list of usage-triggers belonging to the account used to make the request

Source

pub fn create_usage_trigger( &self, account_sid: &str, ) -> CreateUsageTriggerRequest<'_>

Create a new UsageTrigger

Source

pub fn create_user_defined_message( &self, account_sid: &str, call_sid: &str, ) -> CreateUserDefinedMessageRequest<'_>

Create a new User Defined Message for the given Call SID.

Source

pub fn create_user_defined_message_subscription( &self, account_sid: &str, call_sid: &str, ) -> CreateUserDefinedMessageSubscriptionRequest<'_>

Subscribe to User Defined Messages for a given Call SID.

Source

pub fn delete_user_defined_message_subscription( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> DeleteUserDefinedMessageSubscriptionRequest<'_>

Delete a specific User Defined Message Subscription.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more