NAME

Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeCalls::AuthCallsCredentialListMapping - The AuthCallsCredentialListMapping resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $auth_calls_credential_list_mapping = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->create($credential_list_sid);
for my $auth_calls_credential_list_mapping ($client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->read({}, 20)) {
  ...
}
my $auth_calls_credential_list_mapping = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings($sid)->fetch;
$client->sip->domains($domain_sid)->auth->calls->credential_list_mappings($sid)->delete;

DESCRIPTION

Credential lists for SIP calls

This file holds AuthCallsCredentialListMappingList, AuthCallsCredentialListMappingPage, AuthCallsCredentialListMappingContext and AuthCallsCredentialListMappingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

AuthCallsCredentialListMappingList

Returned by $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings. See also Twilio::ListResource.

create

my $auth_calls_credential_list_mapping = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->create($credential_list_sid);

Create a new credential list mapping resource. Returns a AuthCallsCredentialListMappingInstance.

The required values are:

$credential_list_sid

The SID of the CredentialList resource to map to the SIP domain.

read

my @records = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->read(\%options, $limit, $page_size);

Retrieve a list of credential list mappings belonging to the domain used in the request. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings->get_context($sid);

Returns a AuthCallsCredentialListMappingContext, and makes no request.

AuthCallsCredentialListMappingPage

A Twilio::Page of AuthCallsCredentialListMappingInstance objects.

records_key

build_instance

Used by Twilio::Page.

AuthCallsCredentialListMappingContext

Returned by $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings($sid). It makes no request until one of these methods is called.

fetch

my $auth_calls_credential_list_mapping = $client->sip->domains($domain_sid)->auth->calls->credential_list_mappings($sid)->fetch;

Fetch a specific instance of a credential list mapping. Returns a AuthCallsCredentialListMappingInstance.

delete

$client->sip->domains($domain_sid)->auth->calls->credential_list_mappings($sid)->delete;

Delete a credential list mapping from the requested domain. Returns true.

AuthCallsCredentialListMappingInstance

See also Twilio::InstanceResource.

It has fetch and delete, which work as they do on the context.

Its fields are:

account_sid

The SID of the Account that created the CredentialListMapping resource.

date_created

The date and time in GMT that the resource was created specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time in GMT that the resource was last updated specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

friendly_name

The string that you assigned to describe the resource.

sid

The unique string that that we created to identify the CredentialListMapping resource.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.