NAME
Twilio::Rest::Video::V1::CompositionSettings - The CompositionSettings resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $composition_settings = $client->video->v1->composition_settings->create($friendly_name, \%options);
my $composition_settings = $client->video->v1->composition_settings->fetch;
DESCRIPTION
Recording composition settings
This file holds CompositionSettingsContext and CompositionSettingsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
CompositionSettingsContext
Returned by $client->video->v1->composition_settings. It makes no request until one of these methods is called.
create
my $composition_settings = $client->video->v1->composition_settings->create($friendly_name, \%options);
Returns a CompositionSettingsInstance.
The required values are:
$friendly_name-
A descriptive string that you create to describe the resource and show to the user 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 compositions should be stored. We only support DNS-compliant URLs like
https://documentation-example-twilio-bucket/compositions, wherecompositionsis the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the RFC 3986. aws_storage_enabled-
Whether all compositions should be written to the
aws_s3_url. Whenfalse, all compositions are stored in our cloud. encryption_enabled-
Whether all compositions 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 $composition_settings = $client->video->v1->composition_settings->fetch;
Returns a CompositionSettingsInstance.
CompositionSettingsInstance
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 CompositionSettings resource.
- aws_credentials_sid
-
The SID of the stored Credential resource.
- aws_s3_url
-
The URL of the AWS S3 bucket where the compositions are stored. We only support DNS-compliant URLs like
https://documentation-example-twilio-bucket/compositions, wherecompositionsis the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the RFC 3986. - aws_storage_enabled
-
Whether all compositions are written to the
aws_s3_url. Whenfalse, all compositions are stored in our cloud. - encryption_enabled
-
Whether all compositions 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 that will be shown 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.