NAME
Twilio::Rest::Api::V2010::Account::Sip::Domain::IpAccessControlListMapping - The IpAccessControlListMapping resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $ip_access_control_list_mapping = $client->sip->domains($domain_sid)->ip_access_control_list_mappings->create($ip_access_control_list_sid);
for my $ip_access_control_list_mapping ($client->sip->domains($domain_sid)->ip_access_control_list_mappings->read({}, 20)) {
...
}
my $ip_access_control_list_mapping = $client->sip->domains($domain_sid)->ip_access_control_list_mappings($sid)->fetch;
$client->sip->domains($domain_sid)->ip_access_control_list_mappings($sid)->delete;
DESCRIPTION
Access control lists associated with a SIP Domain
This file holds IpAccessControlListMappingList, IpAccessControlListMappingPage, IpAccessControlListMappingContext and IpAccessControlListMappingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
IpAccessControlListMappingList
Returned by $client->sip->domains($domain_sid)->ip_access_control_list_mappings. See also Twilio::ListResource.
create
my $ip_access_control_list_mapping = $client->sip->domains($domain_sid)->ip_access_control_list_mappings->create($ip_access_control_list_sid);
Create a new IpAccessControlListMapping resource. Returns a IpAccessControlListMappingInstance.
The required values are:
read
my @records = $client->sip->domains($domain_sid)->ip_access_control_list_mappings->read(\%options, $limit, $page_size);
Retrieve a list of IpAccessControlListMapping resources. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->sip->domains($domain_sid)->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)->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)->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)->ip_access_control_list_mappings->get_context($sid);
Returns a IpAccessControlListMappingContext, and makes no request.
IpAccessControlListMappingPage
A Twilio::Page of IpAccessControlListMappingInstance objects.
records_key
build_instance
Used by Twilio::Page.
IpAccessControlListMappingContext
Returned by $client->sip->domains($domain_sid)->ip_access_control_list_mappings($sid). It makes no request until one of these methods is called.
fetch
my $ip_access_control_list_mapping = $client->sip->domains($domain_sid)->ip_access_control_list_mappings($sid)->fetch;
Fetch an IpAccessControlListMapping resource. Returns a IpAccessControlListMappingInstance.
delete
$client->sip->domains($domain_sid)->ip_access_control_list_mappings($sid)->delete;
Delete an IpAccessControlListMapping resource. Returns true.
IpAccessControlListMappingInstance
See also Twilio::InstanceResource.
It has fetch and delete, which work as they do on the context.
Its fields are:
- account_sid
-
The unique id of the Account that is responsible for this resource.
- date_created
-
The date that this resource was created, given as GMT in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date that this resource was last updated, given as GMT in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- domain_sid
-
The unique string that is created to identify the SipDomain resource.
- friendly_name
-
A human readable descriptive text for this resource, up to 64 characters long.
- sid
-
A 34 character string that uniquely identifies this resource.
- uri
-
The URI for this resource, relative to
https://api.twilio.com
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.