NAME
Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeCalls::AuthCallsIpAccessControlListMapping - The AuthCallsIpAccessControlListMapping resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $auth_calls_ip_access_control_list_mapping = $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings->create($ip_access_control_list_sid);
for my $auth_calls_ip_access_control_list_mapping ($client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings->read({}, 20)) {
...
}
my $auth_calls_ip_access_control_list_mapping = $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings($sid)->fetch;
$client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings($sid)->delete;
DESCRIPTION
IP address lists for SIP calls
This file holds AuthCallsIpAccessControlListMappingList, AuthCallsIpAccessControlListMappingPage, AuthCallsIpAccessControlListMappingContext and AuthCallsIpAccessControlListMappingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
AuthCallsIpAccessControlListMappingList
Returned by $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings. See also Twilio::ListResource.
create
my $auth_calls_ip_access_control_list_mapping = $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings->create($ip_access_control_list_sid);
Create a new IP Access Control List mapping. Returns a AuthCallsIpAccessControlListMappingInstance.
The required values are:
read
my @records = $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings->read(\%options, $limit, $page_size);
Retrieve a list of IP Access Control 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->ip_access_control_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->ip_access_control_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->ip_access_control_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->ip_access_control_list_mappings->get_context($sid);
Returns a AuthCallsIpAccessControlListMappingContext, and makes no request.
AuthCallsIpAccessControlListMappingPage
A Twilio::Page of AuthCallsIpAccessControlListMappingInstance objects.
records_key
build_instance
Used by Twilio::Page.
AuthCallsIpAccessControlListMappingContext
Returned by $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings($sid). It makes no request until one of these methods is called.
fetch
my $auth_calls_ip_access_control_list_mapping = $client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings($sid)->fetch;
Fetch a specific instance of an IP Access Control List mapping. Returns a AuthCallsIpAccessControlListMappingInstance.
delete
$client->sip->domains($domain_sid)->auth->calls->ip_access_control_list_mappings($sid)->delete;
Delete an IP Access Control List mapping from the requested domain. Returns true.
AuthCallsIpAccessControlListMappingInstance
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 IpAccessControlListMapping 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 IpAccessControlListMapping 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.