NAME

Twilio::Rest::Video::V1::RecordingSettings - The RecordingSettings resource

SYNOPSIS

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

my $recording_settings = $client->video->v1->recording_settings->create($friendly_name, \%options);
my $recording_settings = $client->video->v1->recording_settings->fetch;

DESCRIPTION

Recording settings

This file holds RecordingSettingsContext and RecordingSettingsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

RecordingSettingsContext

Returned by $client->video->v1->recording_settings. It makes no request until one of these methods is called.

create

my $recording_settings = $client->video->v1->recording_settings->create($friendly_name, \%options);

Returns a RecordingSettingsInstance.

The required values are:

$friendly_name

A descriptive string that you create to describe the resource and be shown to users in the console

The options are:

aws_credentials_sid

The SID of the stored Credential resource.

aws_s3_url

The URL of the AWS S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like https://documentation-example-twilio-bucket/recordings, where recordings is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the RFC 3986.

aws_storage_enabled

Whether all recordings should be written to the aws_s3_url. When false, all recordings are stored in our cloud.

encryption_enabled

Whether all recordings should be stored in an encrypted form. The default is false.

encryption_key_sid

The SID of the Public Key resource to use for encryption.

fetch

my $recording_settings = $client->video->v1->recording_settings->fetch;

Returns a RecordingSettingsInstance.

RecordingSettingsInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account that created the RecordingSettings resource.

aws_credentials_sid

The SID of the stored Credential resource.

aws_s3_url

The URL of the AWS S3 bucket where the recordings are stored. We only support DNS-compliant URLs like https://documentation-example-twilio-bucket/recordings, where recordings is the path in which you want the recordings to be stored. This URL accepts only URI-valid characters, as described in the RFC 3986.

aws_storage_enabled

Whether all recordings are written to the aws_s3_url. When false, all recordings are stored in our cloud.

encryption_enabled

Whether all recordings are stored in an encrypted form. The default is false.

encryption_key_sid

The SID of the Public Key resource used for encryption.

friendly_name

The string that you assigned to describe the resource and show the user in the console

url

The absolute URL of the 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.