pub struct TwilioClient {
pub client: Client,
/* private fields */
}
Fields§
§client: Client
Implementations§
Source§impl TwilioClient
impl TwilioClient
Source§impl TwilioClient
impl TwilioClient
pub fn new(url: &str, authentication: TwilioAuthentication) -> Self
pub fn with_authentication(self, authentication: TwilioAuthentication) -> Self
pub fn with_middleware<M: Middleware + 'static>(self, middleware: M) -> Self
Sourcepub fn list_account(&self) -> ListAccountRequest<'_>
pub fn list_account(&self) -> ListAccountRequest<'_>
Retrieves a collection of Accounts belonging to the account used to make the request
Sourcepub fn create_account(&self) -> CreateAccountRequest<'_>
pub fn create_account(&self) -> CreateAccountRequest<'_>
Create a new Twilio Subaccount from the account making the request
Sourcepub fn fetch_account(&self, sid: &str) -> FetchAccountRequest<'_>
pub fn fetch_account(&self, sid: &str) -> FetchAccountRequest<'_>
Fetch the account specified by the provided Account Sid
Sourcepub fn update_account(&self, sid: &str) -> UpdateAccountRequest<'_>
pub fn update_account(&self, sid: &str) -> UpdateAccountRequest<'_>
Modify the properties of a given Account
pub fn list_address(&self, account_sid: &str) -> ListAddressRequest<'_>
pub fn create_address(&self, account_sid: &str) -> CreateAddressRequest<'_>
pub fn fetch_address( &self, account_sid: &str, sid: &str, ) -> FetchAddressRequest<'_>
pub fn update_address( &self, account_sid: &str, sid: &str, ) -> UpdateAddressRequest<'_>
pub fn delete_address( &self, account_sid: &str, sid: &str, ) -> DeleteAddressRequest<'_>
Sourcepub fn list_application(&self, account_sid: &str) -> ListApplicationRequest<'_>
pub fn list_application(&self, account_sid: &str) -> ListApplicationRequest<'_>
Retrieve a list of applications representing an application within the requesting account
Sourcepub fn create_application(
&self,
account_sid: &str,
) -> CreateApplicationRequest<'_>
pub fn create_application( &self, account_sid: &str, ) -> CreateApplicationRequest<'_>
Create a new application within your account
Sourcepub fn fetch_application(
&self,
account_sid: &str,
sid: &str,
) -> FetchApplicationRequest<'_>
pub fn fetch_application( &self, account_sid: &str, sid: &str, ) -> FetchApplicationRequest<'_>
Fetch the application specified by the provided sid
Sourcepub fn update_application(
&self,
account_sid: &str,
sid: &str,
) -> UpdateApplicationRequest<'_>
pub fn update_application( &self, account_sid: &str, sid: &str, ) -> UpdateApplicationRequest<'_>
Updates the application’s properties
Sourcepub fn delete_application(
&self,
account_sid: &str,
sid: &str,
) -> DeleteApplicationRequest<'_>
pub fn delete_application( &self, account_sid: &str, sid: &str, ) -> DeleteApplicationRequest<'_>
Delete the application by the specified application sid
Fetch an instance of an authorized-connect-app
Retrieve a list of authorized-connect-apps belonging to the account used to make the request
pub fn list_available_phone_number_country( &self, account_sid: &str, ) -> ListAvailablePhoneNumberCountryRequest<'_>
pub fn fetch_available_phone_number_country( &self, account_sid: &str, country_code: &str, ) -> FetchAvailablePhoneNumberCountryRequest<'_>
pub fn list_available_phone_number_local( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberLocalRequest<'_>
pub fn list_available_phone_number_machine_to_machine( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberMachineToMachineRequest<'_>
pub fn list_available_phone_number_mobile( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberMobileRequest<'_>
pub fn list_available_phone_number_national( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberNationalRequest<'_>
pub fn list_available_phone_number_toll_free( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberTollFreeRequest<'_>
pub fn list_available_phone_number_voip( &self, account_sid: &str, country_code: &str, ) -> ListAvailablePhoneNumberVoipRequest<'_>
Sourcepub fn fetch_balance(&self, account_sid: &str) -> FetchBalanceRequest<'_>
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
Sourcepub fn list_call(&self, account_sid: &str) -> ListCallRequest<'_>
pub fn list_call(&self, account_sid: &str) -> ListCallRequest<'_>
Retrieves a collection of calls made to and from your account
Sourcepub fn create_call(&self, account_sid: &str) -> CreateCallRequest<'_>
pub fn create_call(&self, account_sid: &str) -> CreateCallRequest<'_>
Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections
Sourcepub fn fetch_call(&self, account_sid: &str, sid: &str) -> FetchCallRequest<'_>
pub fn fetch_call(&self, account_sid: &str, sid: &str) -> FetchCallRequest<'_>
Fetch the call specified by the provided Call SID
Sourcepub fn update_call(&self, account_sid: &str, sid: &str) -> UpdateCallRequest<'_>
pub fn update_call(&self, account_sid: &str, sid: &str) -> UpdateCallRequest<'_>
Initiates a call redirect or terminates a call
Sourcepub fn delete_call(&self, account_sid: &str, sid: &str) -> DeleteCallRequest<'_>
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.
Sourcepub fn list_call_event(
&self,
account_sid: &str,
call_sid: &str,
) -> ListCallEventRequest<'_>
pub fn list_call_event( &self, account_sid: &str, call_sid: &str, ) -> ListCallEventRequest<'_>
Retrieve a list of all events for a call.
Sourcepub fn fetch_call_feedback(
&self,
account_sid: &str,
call_sid: &str,
) -> FetchCallFeedbackRequest<'_>
pub fn fetch_call_feedback( &self, account_sid: &str, call_sid: &str, ) -> FetchCallFeedbackRequest<'_>
Fetch a Feedback resource from a call
Sourcepub fn update_call_feedback(
&self,
account_sid: &str,
call_sid: &str,
) -> UpdateCallFeedbackRequest<'_>
pub fn update_call_feedback( &self, account_sid: &str, call_sid: &str, ) -> UpdateCallFeedbackRequest<'_>
Update a Feedback resource for a call
Sourcepub fn create_call_feedback_summary(
&self,
account_sid: &str,
) -> CreateCallFeedbackSummaryRequest<'_>
pub fn create_call_feedback_summary( &self, account_sid: &str, ) -> CreateCallFeedbackSummaryRequest<'_>
Create a FeedbackSummary resource for a call
Sourcepub fn fetch_call_feedback_summary(
&self,
account_sid: &str,
sid: &str,
) -> FetchCallFeedbackSummaryRequest<'_>
pub fn fetch_call_feedback_summary( &self, account_sid: &str, sid: &str, ) -> FetchCallFeedbackSummaryRequest<'_>
Fetch a FeedbackSummary resource from a call
Sourcepub fn delete_call_feedback_summary(
&self,
account_sid: &str,
sid: &str,
) -> DeleteCallFeedbackSummaryRequest<'_>
pub fn delete_call_feedback_summary( &self, account_sid: &str, sid: &str, ) -> DeleteCallFeedbackSummaryRequest<'_>
Delete a FeedbackSummary resource from a call
pub fn fetch_call_notification( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> FetchCallNotificationRequest<'_>
pub fn list_call_notification( &self, account_sid: &str, call_sid: &str, ) -> ListCallNotificationRequest<'_>
Sourcepub fn list_call_recording(
&self,
account_sid: &str,
call_sid: &str,
) -> ListCallRecordingRequest<'_>
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
Sourcepub fn create_call_recording(
&self,
account_sid: &str,
call_sid: &str,
) -> CreateCallRecordingRequest<'_>
pub fn create_call_recording( &self, account_sid: &str, call_sid: &str, ) -> CreateCallRecordingRequest<'_>
Create a recording for the call
Sourcepub fn fetch_call_recording(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> FetchCallRecordingRequest<'_>
pub fn fetch_call_recording( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> FetchCallRecordingRequest<'_>
Fetch an instance of a recording for a call
Sourcepub fn update_call_recording(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> UpdateCallRecordingRequest<'_>
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.
Sourcepub fn delete_call_recording(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> DeleteCallRecordingRequest<'_>
pub fn delete_call_recording( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> DeleteCallRecordingRequest<'_>
Delete a recording from your account
Sourcepub fn fetch_conference(
&self,
account_sid: &str,
sid: &str,
) -> FetchConferenceRequest<'_>
pub fn fetch_conference( &self, account_sid: &str, sid: &str, ) -> FetchConferenceRequest<'_>
Fetch an instance of a conference
pub fn update_conference( &self, account_sid: &str, sid: &str, ) -> UpdateConferenceRequest<'_>
Sourcepub fn list_conference(&self, account_sid: &str) -> ListConferenceRequest<'_>
pub fn list_conference(&self, account_sid: &str) -> ListConferenceRequest<'_>
Retrieve a list of conferences belonging to the account used to make the request
Sourcepub fn fetch_conference_recording(
&self,
account_sid: &str,
conference_sid: &str,
sid: &str,
) -> FetchConferenceRecordingRequest<'_>
pub fn fetch_conference_recording( &self, account_sid: &str, conference_sid: &str, sid: &str, ) -> FetchConferenceRecordingRequest<'_>
Fetch an instance of a recording for a call
Sourcepub fn update_conference_recording(
&self,
account_sid: &str,
conference_sid: &str,
sid: &str,
) -> UpdateConferenceRecordingRequest<'_>
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.
Sourcepub fn delete_conference_recording(
&self,
account_sid: &str,
conference_sid: &str,
sid: &str,
) -> DeleteConferenceRecordingRequest<'_>
pub fn delete_conference_recording( &self, account_sid: &str, conference_sid: &str, sid: &str, ) -> DeleteConferenceRecordingRequest<'_>
Delete a recording from your account
Sourcepub fn list_conference_recording(
&self,
account_sid: &str,
conference_sid: &str,
) -> ListConferenceRecordingRequest<'_>
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
Sourcepub fn fetch_connect_app(
&self,
account_sid: &str,
sid: &str,
) -> FetchConnectAppRequest<'_>
pub fn fetch_connect_app( &self, account_sid: &str, sid: &str, ) -> FetchConnectAppRequest<'_>
Fetch an instance of a connect-app
Sourcepub fn update_connect_app(
&self,
account_sid: &str,
sid: &str,
) -> UpdateConnectAppRequest<'_>
pub fn update_connect_app( &self, account_sid: &str, sid: &str, ) -> UpdateConnectAppRequest<'_>
Update a connect-app with the specified parameters
Sourcepub fn delete_connect_app(
&self,
account_sid: &str,
sid: &str,
) -> DeleteConnectAppRequest<'_>
pub fn delete_connect_app( &self, account_sid: &str, sid: &str, ) -> DeleteConnectAppRequest<'_>
Delete an instance of a connect-app
Sourcepub fn list_connect_app(&self, account_sid: &str) -> ListConnectAppRequest<'_>
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
pub fn list_dependent_phone_number( &self, account_sid: &str, address_sid: &str, ) -> ListDependentPhoneNumberRequest<'_>
Sourcepub fn fetch_incoming_phone_number(
&self,
account_sid: &str,
sid: &str,
) -> FetchIncomingPhoneNumberRequest<'_>
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.
Sourcepub fn update_incoming_phone_number(
&self,
account_sid: &str,
sid: &str,
) -> UpdateIncomingPhoneNumberRequest<'_>
pub fn update_incoming_phone_number( &self, account_sid: &str, sid: &str, ) -> UpdateIncomingPhoneNumberRequest<'_>
Update an incoming-phone-number instance.
Sourcepub fn delete_incoming_phone_number(
&self,
account_sid: &str,
sid: &str,
) -> DeleteIncomingPhoneNumberRequest<'_>
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.
Sourcepub fn list_incoming_phone_number(
&self,
account_sid: &str,
) -> ListIncomingPhoneNumberRequest<'_>
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.
Sourcepub fn create_incoming_phone_number(
&self,
account_sid: &str,
) -> CreateIncomingPhoneNumberRequest<'_>
pub fn create_incoming_phone_number( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberRequest<'_>
Purchase a phone-number for the account.
Sourcepub fn fetch_incoming_phone_number_assigned_add_on(
&self,
account_sid: &str,
resource_sid: &str,
sid: &str,
) -> FetchIncomingPhoneNumberAssignedAddOnRequest<'_>
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.
Sourcepub fn delete_incoming_phone_number_assigned_add_on(
&self,
account_sid: &str,
resource_sid: &str,
sid: &str,
) -> DeleteIncomingPhoneNumberAssignedAddOnRequest<'_>
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.
Sourcepub fn list_incoming_phone_number_assigned_add_on(
&self,
account_sid: &str,
resource_sid: &str,
) -> ListIncomingPhoneNumberAssignedAddOnRequest<'_>
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.
Sourcepub fn create_incoming_phone_number_assigned_add_on(
&self,
account_sid: &str,
resource_sid: &str,
) -> CreateIncomingPhoneNumberAssignedAddOnRequest<'_>
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.
Sourcepub fn fetch_incoming_phone_number_assigned_add_on_extension(
&self,
args: FetchIncomingPhoneNumberAssignedAddOnExtensionRequired<'_>,
) -> FetchIncomingPhoneNumberAssignedAddOnExtensionRequest<'_>
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.
Sourcepub fn list_incoming_phone_number_assigned_add_on_extension(
&self,
account_sid: &str,
assigned_add_on_sid: &str,
resource_sid: &str,
) -> ListIncomingPhoneNumberAssignedAddOnExtensionRequest<'_>
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.
pub fn list_incoming_phone_number_local( &self, account_sid: &str, ) -> ListIncomingPhoneNumberLocalRequest<'_>
pub fn create_incoming_phone_number_local( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberLocalRequest<'_>
pub fn list_incoming_phone_number_mobile( &self, account_sid: &str, ) -> ListIncomingPhoneNumberMobileRequest<'_>
pub fn create_incoming_phone_number_mobile( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberMobileRequest<'_>
pub fn list_incoming_phone_number_toll_free( &self, account_sid: &str, ) -> ListIncomingPhoneNumberTollFreeRequest<'_>
pub fn create_incoming_phone_number_toll_free( &self, account_sid: &str, ) -> CreateIncomingPhoneNumberTollFreeRequest<'_>
pub fn fetch_key(&self, account_sid: &str, sid: &str) -> FetchKeyRequest<'_>
pub fn update_key(&self, account_sid: &str, sid: &str) -> UpdateKeyRequest<'_>
pub fn delete_key(&self, account_sid: &str, sid: &str) -> DeleteKeyRequest<'_>
pub fn list_key(&self, account_sid: &str) -> ListKeyRequest<'_>
pub fn create_new_key(&self, account_sid: &str) -> CreateNewKeyRequest<'_>
Sourcepub fn fetch_media(
&self,
account_sid: &str,
message_sid: &str,
sid: &str,
) -> FetchMediaRequest<'_>
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
Sourcepub fn delete_media(
&self,
account_sid: &str,
message_sid: &str,
sid: &str,
) -> DeleteMediaRequest<'_>
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
Sourcepub fn list_media(
&self,
account_sid: &str,
message_sid: &str,
) -> ListMediaRequest<'_>
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
Sourcepub fn fetch_member(
&self,
account_sid: &str,
call_sid: &str,
queue_sid: &str,
) -> FetchMemberRequest<'_>
pub fn fetch_member( &self, account_sid: &str, call_sid: &str, queue_sid: &str, ) -> FetchMemberRequest<'_>
Fetch a specific member from the queue
Sourcepub fn update_member(
&self,
account_sid: &str,
call_sid: &str,
queue_sid: &str,
) -> UpdateMemberRequest<'_>
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
Sourcepub fn list_member(
&self,
account_sid: &str,
queue_sid: &str,
) -> ListMemberRequest<'_>
pub fn list_member( &self, account_sid: &str, queue_sid: &str, ) -> ListMemberRequest<'_>
Retrieve the members of the queue
Sourcepub fn list_message(&self, account_sid: &str) -> ListMessageRequest<'_>
pub fn list_message(&self, account_sid: &str) -> ListMessageRequest<'_>
Retrieve a list of messages belonging to the account used to make the request
Sourcepub fn create_message(&self, account_sid: &str) -> CreateMessageRequest<'_>
pub fn create_message(&self, account_sid: &str) -> CreateMessageRequest<'_>
Send a message from the account used to make the request
Sourcepub fn fetch_message(
&self,
account_sid: &str,
sid: &str,
) -> FetchMessageRequest<'_>
pub fn fetch_message( &self, account_sid: &str, sid: &str, ) -> FetchMessageRequest<'_>
Fetch a message belonging to the account used to make the request
Sourcepub fn update_message(
&self,
account_sid: &str,
sid: &str,
) -> UpdateMessageRequest<'_>
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
Sourcepub fn delete_message(
&self,
account_sid: &str,
sid: &str,
) -> DeleteMessageRequest<'_>
pub fn delete_message( &self, account_sid: &str, sid: &str, ) -> DeleteMessageRequest<'_>
Deletes a message record from your account
pub fn create_message_feedback( &self, account_sid: &str, message_sid: &str, ) -> CreateMessageFeedbackRequest<'_>
pub fn list_signing_key(&self, account_sid: &str) -> ListSigningKeyRequest<'_>
Sourcepub fn create_new_signing_key(
&self,
account_sid: &str,
) -> CreateNewSigningKeyRequest<'_>
pub fn create_new_signing_key( &self, account_sid: &str, ) -> CreateNewSigningKeyRequest<'_>
Create a new Signing Key for the account making the request.
Sourcepub fn fetch_notification(
&self,
account_sid: &str,
sid: &str,
) -> FetchNotificationRequest<'_>
pub fn fetch_notification( &self, account_sid: &str, sid: &str, ) -> FetchNotificationRequest<'_>
Fetch a notification belonging to the account used to make the request
Sourcepub fn list_notification(
&self,
account_sid: &str,
) -> ListNotificationRequest<'_>
pub fn list_notification( &self, account_sid: &str, ) -> ListNotificationRequest<'_>
Retrieve a list of notifications belonging to the account used to make the request
Sourcepub fn fetch_outgoing_caller_id(
&self,
account_sid: &str,
sid: &str,
) -> FetchOutgoingCallerIdRequest<'_>
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
Sourcepub fn update_outgoing_caller_id(
&self,
account_sid: &str,
sid: &str,
) -> UpdateOutgoingCallerIdRequest<'_>
pub fn update_outgoing_caller_id( &self, account_sid: &str, sid: &str, ) -> UpdateOutgoingCallerIdRequest<'_>
Updates the caller-id
Sourcepub fn delete_outgoing_caller_id(
&self,
account_sid: &str,
sid: &str,
) -> DeleteOutgoingCallerIdRequest<'_>
pub fn delete_outgoing_caller_id( &self, account_sid: &str, sid: &str, ) -> DeleteOutgoingCallerIdRequest<'_>
Delete the caller-id specified from the account
Sourcepub fn list_outgoing_caller_id(
&self,
account_sid: &str,
) -> ListOutgoingCallerIdRequest<'_>
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
pub fn create_validation_request( &self, account_sid: &str, ) -> CreateValidationRequestRequest<'_>
Sourcepub fn fetch_participant(
&self,
account_sid: &str,
call_sid: &str,
conference_sid: &str,
) -> FetchParticipantRequest<'_>
pub fn fetch_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> FetchParticipantRequest<'_>
Fetch an instance of a participant
Sourcepub fn update_participant(
&self,
account_sid: &str,
call_sid: &str,
conference_sid: &str,
) -> UpdateParticipantRequest<'_>
pub fn update_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> UpdateParticipantRequest<'_>
Update the properties of the participant
Sourcepub fn delete_participant(
&self,
account_sid: &str,
call_sid: &str,
conference_sid: &str,
) -> DeleteParticipantRequest<'_>
pub fn delete_participant( &self, account_sid: &str, call_sid: &str, conference_sid: &str, ) -> DeleteParticipantRequest<'_>
Kick a participant from a given conference
Sourcepub fn list_participant(
&self,
account_sid: &str,
conference_sid: &str,
) -> ListParticipantRequest<'_>
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
pub fn create_participant( &self, account_sid: &str, conference_sid: &str, ) -> CreateParticipantRequest<'_>
Sourcepub fn create_payments(
&self,
account_sid: &str,
call_sid: &str,
) -> CreatePaymentsRequest<'_>
pub fn create_payments( &self, account_sid: &str, call_sid: &str, ) -> CreatePaymentsRequest<'_>
create an instance of payments. This will start a new payments session
Sourcepub fn update_payments(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> UpdatePaymentsRequest<'_>
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.
Sourcepub fn fetch_queue(&self, account_sid: &str, sid: &str) -> FetchQueueRequest<'_>
pub fn fetch_queue(&self, account_sid: &str, sid: &str) -> FetchQueueRequest<'_>
Fetch an instance of a queue identified by the QueueSid
Sourcepub fn update_queue(
&self,
account_sid: &str,
sid: &str,
) -> UpdateQueueRequest<'_>
pub fn update_queue( &self, account_sid: &str, sid: &str, ) -> UpdateQueueRequest<'_>
Update the queue with the new parameters
Sourcepub fn delete_queue(
&self,
account_sid: &str,
sid: &str,
) -> DeleteQueueRequest<'_>
pub fn delete_queue( &self, account_sid: &str, sid: &str, ) -> DeleteQueueRequest<'_>
Remove an empty queue
Sourcepub fn list_queue(&self, account_sid: &str) -> ListQueueRequest<'_>
pub fn list_queue(&self, account_sid: &str) -> ListQueueRequest<'_>
Retrieve a list of queues belonging to the account used to make the request
Sourcepub fn create_queue(&self, account_sid: &str) -> CreateQueueRequest<'_>
pub fn create_queue(&self, account_sid: &str) -> CreateQueueRequest<'_>
Create a queue
Sourcepub fn fetch_recording(
&self,
account_sid: &str,
sid: &str,
) -> FetchRecordingRequest<'_>
pub fn fetch_recording( &self, account_sid: &str, sid: &str, ) -> FetchRecordingRequest<'_>
Fetch an instance of a recording
Sourcepub fn delete_recording(
&self,
account_sid: &str,
sid: &str,
) -> DeleteRecordingRequest<'_>
pub fn delete_recording( &self, account_sid: &str, sid: &str, ) -> DeleteRecordingRequest<'_>
Delete a recording from your account
Sourcepub fn list_recording(&self, account_sid: &str) -> ListRecordingRequest<'_>
pub fn list_recording(&self, account_sid: &str) -> ListRecordingRequest<'_>
Retrieve a list of recordings belonging to the account used to make the request
Sourcepub fn fetch_recording_add_on_result(
&self,
account_sid: &str,
reference_sid: &str,
sid: &str,
) -> FetchRecordingAddOnResultRequest<'_>
pub fn fetch_recording_add_on_result( &self, account_sid: &str, reference_sid: &str, sid: &str, ) -> FetchRecordingAddOnResultRequest<'_>
Fetch an instance of an AddOnResult
Sourcepub fn delete_recording_add_on_result(
&self,
account_sid: &str,
reference_sid: &str,
sid: &str,
) -> DeleteRecordingAddOnResultRequest<'_>
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
Sourcepub fn list_recording_add_on_result(
&self,
account_sid: &str,
reference_sid: &str,
) -> ListRecordingAddOnResultRequest<'_>
pub fn list_recording_add_on_result( &self, account_sid: &str, reference_sid: &str, ) -> ListRecordingAddOnResultRequest<'_>
Retrieve a list of results belonging to the recording
Sourcepub fn fetch_recording_add_on_result_payload(
&self,
args: FetchRecordingAddOnResultPayloadRequired<'_>,
) -> FetchRecordingAddOnResultPayloadRequest<'_>
pub fn fetch_recording_add_on_result_payload( &self, args: FetchRecordingAddOnResultPayloadRequired<'_>, ) -> FetchRecordingAddOnResultPayloadRequest<'_>
Fetch an instance of a result payload
Sourcepub fn delete_recording_add_on_result_payload(
&self,
args: DeleteRecordingAddOnResultPayloadRequired<'_>,
) -> DeleteRecordingAddOnResultPayloadRequest<'_>
pub fn delete_recording_add_on_result_payload( &self, args: DeleteRecordingAddOnResultPayloadRequired<'_>, ) -> DeleteRecordingAddOnResultPayloadRequest<'_>
Delete a payload from the result along with all associated Data
Sourcepub fn list_recording_add_on_result_payload(
&self,
account_sid: &str,
add_on_result_sid: &str,
reference_sid: &str,
) -> ListRecordingAddOnResultPayloadRequest<'_>
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
pub fn fetch_recording_transcription( &self, account_sid: &str, recording_sid: &str, sid: &str, ) -> FetchRecordingTranscriptionRequest<'_>
pub fn delete_recording_transcription( &self, account_sid: &str, recording_sid: &str, sid: &str, ) -> DeleteRecordingTranscriptionRequest<'_>
pub fn list_recording_transcription( &self, account_sid: &str, recording_sid: &str, ) -> ListRecordingTranscriptionRequest<'_>
Sourcepub fn fetch_short_code(
&self,
account_sid: &str,
sid: &str,
) -> FetchShortCodeRequest<'_>
pub fn fetch_short_code( &self, account_sid: &str, sid: &str, ) -> FetchShortCodeRequest<'_>
Fetch an instance of a short code
Sourcepub fn update_short_code(
&self,
account_sid: &str,
sid: &str,
) -> UpdateShortCodeRequest<'_>
pub fn update_short_code( &self, account_sid: &str, sid: &str, ) -> UpdateShortCodeRequest<'_>
Update a short code with the following parameters
Sourcepub fn list_short_code(&self, account_sid: &str) -> ListShortCodeRequest<'_>
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
pub fn fetch_signing_key( &self, account_sid: &str, sid: &str, ) -> FetchSigningKeyRequest<'_>
pub fn update_signing_key( &self, account_sid: &str, sid: &str, ) -> UpdateSigningKeyRequest<'_>
pub fn delete_signing_key( &self, account_sid: &str, sid: &str, ) -> DeleteSigningKeyRequest<'_>
Sourcepub fn list_sip_auth_calls_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> ListSipAuthCallsCredentialListMappingRequest<'_>
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
Sourcepub fn create_sip_auth_calls_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> CreateSipAuthCallsCredentialListMappingRequest<'_>
pub fn create_sip_auth_calls_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipAuthCallsCredentialListMappingRequest<'_>
Create a new credential list mapping resource
Sourcepub fn fetch_sip_auth_calls_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> FetchSipAuthCallsCredentialListMappingRequest<'_>
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
Sourcepub fn delete_sip_auth_calls_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> DeleteSipAuthCallsCredentialListMappingRequest<'_>
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
Sourcepub fn list_sip_auth_calls_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> ListSipAuthCallsIpAccessControlListMappingRequest<'_>
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
Sourcepub fn create_sip_auth_calls_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> CreateSipAuthCallsIpAccessControlListMappingRequest<'_>
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
Sourcepub fn fetch_sip_auth_calls_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> FetchSipAuthCallsIpAccessControlListMappingRequest<'_>
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
Sourcepub fn delete_sip_auth_calls_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> DeleteSipAuthCallsIpAccessControlListMappingRequest<'_>
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
Sourcepub fn list_sip_auth_registrations_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> ListSipAuthRegistrationsCredentialListMappingRequest<'_>
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
Sourcepub fn create_sip_auth_registrations_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> CreateSipAuthRegistrationsCredentialListMappingRequest<'_>
pub fn create_sip_auth_registrations_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipAuthRegistrationsCredentialListMappingRequest<'_>
Create a new credential list mapping resource
Sourcepub fn fetch_sip_auth_registrations_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> FetchSipAuthRegistrationsCredentialListMappingRequest<'_>
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
Sourcepub fn delete_sip_auth_registrations_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> DeleteSipAuthRegistrationsCredentialListMappingRequest<'_>
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
Sourcepub fn list_sip_credential(
&self,
account_sid: &str,
credential_list_sid: &str,
) -> ListSipCredentialRequest<'_>
pub fn list_sip_credential( &self, account_sid: &str, credential_list_sid: &str, ) -> ListSipCredentialRequest<'_>
Retrieve a list of credentials.
Sourcepub fn create_sip_credential(
&self,
account_sid: &str,
credential_list_sid: &str,
) -> CreateSipCredentialRequest<'_>
pub fn create_sip_credential( &self, account_sid: &str, credential_list_sid: &str, ) -> CreateSipCredentialRequest<'_>
Create a new credential resource.
Sourcepub fn fetch_sip_credential(
&self,
account_sid: &str,
credential_list_sid: &str,
sid: &str,
) -> FetchSipCredentialRequest<'_>
pub fn fetch_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> FetchSipCredentialRequest<'_>
Fetch a single credential.
Sourcepub fn update_sip_credential(
&self,
account_sid: &str,
credential_list_sid: &str,
sid: &str,
) -> UpdateSipCredentialRequest<'_>
pub fn update_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> UpdateSipCredentialRequest<'_>
Update a credential resource.
Sourcepub fn delete_sip_credential(
&self,
account_sid: &str,
credential_list_sid: &str,
sid: &str,
) -> DeleteSipCredentialRequest<'_>
pub fn delete_sip_credential( &self, account_sid: &str, credential_list_sid: &str, sid: &str, ) -> DeleteSipCredentialRequest<'_>
Delete a credential resource.
Sourcepub fn list_sip_credential_list(
&self,
account_sid: &str,
) -> ListSipCredentialListRequest<'_>
pub fn list_sip_credential_list( &self, account_sid: &str, ) -> ListSipCredentialListRequest<'_>
Get All Credential Lists
Sourcepub fn create_sip_credential_list(
&self,
account_sid: &str,
) -> CreateSipCredentialListRequest<'_>
pub fn create_sip_credential_list( &self, account_sid: &str, ) -> CreateSipCredentialListRequest<'_>
Create a Credential List
Sourcepub fn fetch_sip_credential_list(
&self,
account_sid: &str,
sid: &str,
) -> FetchSipCredentialListRequest<'_>
pub fn fetch_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> FetchSipCredentialListRequest<'_>
Get a Credential List
Sourcepub fn update_sip_credential_list(
&self,
account_sid: &str,
sid: &str,
) -> UpdateSipCredentialListRequest<'_>
pub fn update_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> UpdateSipCredentialListRequest<'_>
Update a Credential List
Sourcepub fn delete_sip_credential_list(
&self,
account_sid: &str,
sid: &str,
) -> DeleteSipCredentialListRequest<'_>
pub fn delete_sip_credential_list( &self, account_sid: &str, sid: &str, ) -> DeleteSipCredentialListRequest<'_>
Delete a Credential List
Sourcepub fn list_sip_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> ListSipCredentialListMappingRequest<'_>
pub fn list_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipCredentialListMappingRequest<'_>
Read multiple CredentialListMapping resources from an account.
Sourcepub fn create_sip_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> CreateSipCredentialListMappingRequest<'_>
pub fn create_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipCredentialListMappingRequest<'_>
Create a CredentialListMapping resource for an account.
Sourcepub fn fetch_sip_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> FetchSipCredentialListMappingRequest<'_>
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.
Sourcepub fn delete_sip_credential_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> DeleteSipCredentialListMappingRequest<'_>
pub fn delete_sip_credential_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipCredentialListMappingRequest<'_>
Delete a CredentialListMapping resource from an account.
Sourcepub fn list_sip_domain(&self, account_sid: &str) -> ListSipDomainRequest<'_>
pub fn list_sip_domain(&self, account_sid: &str) -> ListSipDomainRequest<'_>
Retrieve a list of domains belonging to the account used to make the request
Sourcepub fn create_sip_domain(&self, account_sid: &str) -> CreateSipDomainRequest<'_>
pub fn create_sip_domain(&self, account_sid: &str) -> CreateSipDomainRequest<'_>
Create a new Domain
Sourcepub fn fetch_sip_domain(
&self,
account_sid: &str,
sid: &str,
) -> FetchSipDomainRequest<'_>
pub fn fetch_sip_domain( &self, account_sid: &str, sid: &str, ) -> FetchSipDomainRequest<'_>
Fetch an instance of a Domain
Sourcepub fn update_sip_domain(
&self,
account_sid: &str,
sid: &str,
) -> UpdateSipDomainRequest<'_>
pub fn update_sip_domain( &self, account_sid: &str, sid: &str, ) -> UpdateSipDomainRequest<'_>
Update the attributes of a domain
Sourcepub fn delete_sip_domain(
&self,
account_sid: &str,
sid: &str,
) -> DeleteSipDomainRequest<'_>
pub fn delete_sip_domain( &self, account_sid: &str, sid: &str, ) -> DeleteSipDomainRequest<'_>
Delete an instance of a Domain
Sourcepub fn list_sip_ip_access_control_list(
&self,
account_sid: &str,
) -> ListSipIpAccessControlListRequest<'_>
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
Sourcepub fn create_sip_ip_access_control_list(
&self,
account_sid: &str,
) -> CreateSipIpAccessControlListRequest<'_>
pub fn create_sip_ip_access_control_list( &self, account_sid: &str, ) -> CreateSipIpAccessControlListRequest<'_>
Create a new IpAccessControlList resource
Sourcepub fn fetch_sip_ip_access_control_list(
&self,
account_sid: &str,
sid: &str,
) -> FetchSipIpAccessControlListRequest<'_>
pub fn fetch_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> FetchSipIpAccessControlListRequest<'_>
Fetch a specific instance of an IpAccessControlList
Sourcepub fn update_sip_ip_access_control_list(
&self,
account_sid: &str,
sid: &str,
) -> UpdateSipIpAccessControlListRequest<'_>
pub fn update_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> UpdateSipIpAccessControlListRequest<'_>
Rename an IpAccessControlList
Sourcepub fn delete_sip_ip_access_control_list(
&self,
account_sid: &str,
sid: &str,
) -> DeleteSipIpAccessControlListRequest<'_>
pub fn delete_sip_ip_access_control_list( &self, account_sid: &str, sid: &str, ) -> DeleteSipIpAccessControlListRequest<'_>
Delete an IpAccessControlList from the requested account
Sourcepub fn fetch_sip_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> FetchSipIpAccessControlListMappingRequest<'_>
pub fn fetch_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> FetchSipIpAccessControlListMappingRequest<'_>
Fetch an IpAccessControlListMapping resource.
Sourcepub fn delete_sip_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
sid: &str,
) -> DeleteSipIpAccessControlListMappingRequest<'_>
pub fn delete_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, sid: &str, ) -> DeleteSipIpAccessControlListMappingRequest<'_>
Delete an IpAccessControlListMapping resource.
Sourcepub fn list_sip_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> ListSipIpAccessControlListMappingRequest<'_>
pub fn list_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> ListSipIpAccessControlListMappingRequest<'_>
Retrieve a list of IpAccessControlListMapping resources.
Sourcepub fn create_sip_ip_access_control_list_mapping(
&self,
account_sid: &str,
domain_sid: &str,
) -> CreateSipIpAccessControlListMappingRequest<'_>
pub fn create_sip_ip_access_control_list_mapping( &self, account_sid: &str, domain_sid: &str, ) -> CreateSipIpAccessControlListMappingRequest<'_>
Create a new IpAccessControlListMapping resource.
Sourcepub fn list_sip_ip_address(
&self,
account_sid: &str,
ip_access_control_list_sid: &str,
) -> ListSipIpAddressRequest<'_>
pub fn list_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, ) -> ListSipIpAddressRequest<'_>
Read multiple IpAddress resources.
Sourcepub fn create_sip_ip_address(
&self,
account_sid: &str,
ip_access_control_list_sid: &str,
) -> CreateSipIpAddressRequest<'_>
pub fn create_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, ) -> CreateSipIpAddressRequest<'_>
Create a new IpAddress resource.
Sourcepub fn fetch_sip_ip_address(
&self,
account_sid: &str,
ip_access_control_list_sid: &str,
sid: &str,
) -> FetchSipIpAddressRequest<'_>
pub fn fetch_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> FetchSipIpAddressRequest<'_>
Read one IpAddress resource.
Sourcepub fn update_sip_ip_address(
&self,
account_sid: &str,
ip_access_control_list_sid: &str,
sid: &str,
) -> UpdateSipIpAddressRequest<'_>
pub fn update_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> UpdateSipIpAddressRequest<'_>
Update an IpAddress resource.
Sourcepub fn delete_sip_ip_address(
&self,
account_sid: &str,
ip_access_control_list_sid: &str,
sid: &str,
) -> DeleteSipIpAddressRequest<'_>
pub fn delete_sip_ip_address( &self, account_sid: &str, ip_access_control_list_sid: &str, sid: &str, ) -> DeleteSipIpAddressRequest<'_>
Delete an IpAddress resource.
Sourcepub fn create_siprec(
&self,
account_sid: &str,
call_sid: &str,
) -> CreateSiprecRequest<'_>
pub fn create_siprec( &self, account_sid: &str, call_sid: &str, ) -> CreateSiprecRequest<'_>
Create a Siprec
Sourcepub fn update_siprec(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> UpdateSiprecRequest<'_>
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
Sourcepub fn create_stream(
&self,
account_sid: &str,
call_sid: &str,
) -> CreateStreamRequest<'_>
pub fn create_stream( &self, account_sid: &str, call_sid: &str, ) -> CreateStreamRequest<'_>
Create a Stream
Sourcepub fn update_stream(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> UpdateStreamRequest<'_>
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
Sourcepub fn create_token(&self, account_sid: &str) -> CreateTokenRequest<'_>
pub fn create_token(&self, account_sid: &str) -> CreateTokenRequest<'_>
Create a new token for ICE servers
Sourcepub fn fetch_transcription(
&self,
account_sid: &str,
sid: &str,
) -> FetchTranscriptionRequest<'_>
pub fn fetch_transcription( &self, account_sid: &str, sid: &str, ) -> FetchTranscriptionRequest<'_>
Fetch an instance of a Transcription
Sourcepub fn delete_transcription(
&self,
account_sid: &str,
sid: &str,
) -> DeleteTranscriptionRequest<'_>
pub fn delete_transcription( &self, account_sid: &str, sid: &str, ) -> DeleteTranscriptionRequest<'_>
Delete a transcription from the account used to make the request
Sourcepub fn list_transcription(
&self,
account_sid: &str,
) -> ListTranscriptionRequest<'_>
pub fn list_transcription( &self, account_sid: &str, ) -> ListTranscriptionRequest<'_>
Retrieve a list of transcriptions belonging to the account used to make the request
Sourcepub fn list_usage_record(&self, account_sid: &str) -> ListUsageRecordRequest<'_>
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
pub fn list_usage_record_all_time( &self, account_sid: &str, ) -> ListUsageRecordAllTimeRequest<'_>
pub fn list_usage_record_daily( &self, account_sid: &str, ) -> ListUsageRecordDailyRequest<'_>
pub fn list_usage_record_last_month( &self, account_sid: &str, ) -> ListUsageRecordLastMonthRequest<'_>
pub fn list_usage_record_monthly( &self, account_sid: &str, ) -> ListUsageRecordMonthlyRequest<'_>
pub fn list_usage_record_this_month( &self, account_sid: &str, ) -> ListUsageRecordThisMonthRequest<'_>
pub fn list_usage_record_today( &self, account_sid: &str, ) -> ListUsageRecordTodayRequest<'_>
pub fn list_usage_record_yearly( &self, account_sid: &str, ) -> ListUsageRecordYearlyRequest<'_>
pub fn list_usage_record_yesterday( &self, account_sid: &str, ) -> ListUsageRecordYesterdayRequest<'_>
Sourcepub fn fetch_usage_trigger(
&self,
account_sid: &str,
sid: &str,
) -> FetchUsageTriggerRequest<'_>
pub fn fetch_usage_trigger( &self, account_sid: &str, sid: &str, ) -> FetchUsageTriggerRequest<'_>
Fetch and instance of a usage-trigger
Sourcepub fn update_usage_trigger(
&self,
account_sid: &str,
sid: &str,
) -> UpdateUsageTriggerRequest<'_>
pub fn update_usage_trigger( &self, account_sid: &str, sid: &str, ) -> UpdateUsageTriggerRequest<'_>
Update an instance of a usage trigger
pub fn delete_usage_trigger( &self, account_sid: &str, sid: &str, ) -> DeleteUsageTriggerRequest<'_>
Sourcepub fn list_usage_trigger(
&self,
account_sid: &str,
) -> ListUsageTriggerRequest<'_>
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
Sourcepub fn create_usage_trigger(
&self,
account_sid: &str,
) -> CreateUsageTriggerRequest<'_>
pub fn create_usage_trigger( &self, account_sid: &str, ) -> CreateUsageTriggerRequest<'_>
Create a new UsageTrigger
Sourcepub fn create_user_defined_message(
&self,
account_sid: &str,
call_sid: &str,
) -> CreateUserDefinedMessageRequest<'_>
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.
Sourcepub fn create_user_defined_message_subscription(
&self,
account_sid: &str,
call_sid: &str,
) -> CreateUserDefinedMessageSubscriptionRequest<'_>
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.
Sourcepub fn delete_user_defined_message_subscription(
&self,
account_sid: &str,
call_sid: &str,
sid: &str,
) -> DeleteUserDefinedMessageSubscriptionRequest<'_>
pub fn delete_user_defined_message_subscription( &self, account_sid: &str, call_sid: &str, sid: &str, ) -> DeleteUserDefinedMessageSubscriptionRequest<'_>
Delete a specific User Defined Message Subscription.