Body
-
A descriptive string that you create to describe the resource and be shown to users in the console
-
The SID of the stored Credential resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CR[0-9a-fA-F]{32}$
. -
The SID of the Public Key resource to use for encryption.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CR[0-9a-fA-F]{32}$
. -
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
, whererecordings
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. -
Whether all recordings should be written to the
aws_s3_url
. Whenfalse
, all recordings are stored in our cloud. -
Whether all recordings should be stored in an encrypted form. The default is
false
.
curl \
--request POST 'https://video.twilio.com/v1/RecordingSettings/Default' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'AwsS3Url=https%3A%2F%2Fmy-super-duper-bucket.s3.amazonaws.com%2Fmy%2Fpath%2F&FriendlyName=friendly_name&EncryptionKeySid=CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&AwsCredentialsSid=CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&AwsStorageEnabled=true&EncryptionEnabled=true'
{"AwsS3Url"=>"https://my-super-duper-bucket.s3.amazonaws.com/my/path/", "FriendlyName"=>"friendly_name", "EncryptionKeySid"=>"CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab", "AwsCredentialsSid"=>"CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "AwsStorageEnabled"=>true, "EncryptionEnabled"=>true}
{
"url": "https://video.twilio.com/v1/RecordingSettings/Default",
"aws_s3_url": "https://my-super-duper-bucket.s3.amazonaws.com/my/path/",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"friendly_name": "friendly_name",
"encryption_enabled": true,
"encryption_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"aws_credentials_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"aws_storage_enabled": true
}