NAME
Twilio::Rest::Bulkexports::V1::ExportConfiguration - The ExportConfiguration resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $export_configuration = $client->bulkexports->v1->export_configuration($resource_type)->fetch;
$client->bulkexports->v1->export_configuration($resource_type)->update(\%options);
DESCRIPTION
This file holds ExportConfigurationContext and ExportConfigurationInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
ExportConfigurationContext
Returned by $client->bulkexports->v1->export_configuration($resource_type). It makes no request until one of these methods is called.
fetch
my $export_configuration = $client->bulkexports->v1->export_configuration($resource_type)->fetch;
Fetch a specific Export Configuration. Returns a ExportConfigurationInstance.
update
my $export_configuration = $client->bulkexports->v1->export_configuration($resource_type)->update(\%options);
Update a specific Export Configuration. Returns a ExportConfigurationInstance.
The options are:
enabled-
If true, Twilio will automatically generate every day's file when the day is over.
webhook_method-
Sets whether Twilio should call a webhook URL when the automatic generation is complete, using GET or POST. The actual destination is set in the webhook_url
webhook_url-
Stores the URL destination for the method specified in webhook_method.
ExportConfigurationInstance
See also Twilio::InstanceResource.
It has fetch and update, which work as they do on the context.
Its fields are:
- enabled
-
If true, Twilio will automatically generate every day's file when the day is over.
- resource_type
-
The type of communication – Messages, Calls, Conferences, and Participants
- url
-
The URL of this resource.
- webhook_method
-
Sets whether Twilio should call a webhook URL when the automatic generation is complete, using GET or POST. The actual destination is set in the webhook_url
- webhook_url
-
Stores the URL destination for the method specified in webhook_method.
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.