Struct twilio::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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · 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 Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · 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