Body
-
AwsCredentialsSid string
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}$
. -
AwsS3Url string(uri)
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. -
AwsStorageEnabled boolean
Whether all recordings should be written to the
aws_s3_url
. Whenfalse
, all recordings are stored in our cloud. -
EncryptionEnabled boolean
Whether all recordings should be stored in an encrypted form. The default is
false
. -
EncryptionKeySid string
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}$
. -
A descriptive string that you create to describe the resource and be shown to users in the console
curl \
-X POST https://video.twilio.com/v1/RecordingSettings/Default \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'AwsCredentialsSid=string&AwsS3Url=https%3A%2F%2Fexample.com&AwsStorageEnabled=true&EncryptionEnabled=true&EncryptionKeySid=string&FriendlyName=string'
{
"AwsCredentialsSid": "string",
"AwsS3Url": "https://example.com",
"AwsStorageEnabled": true,
"EncryptionEnabled": true,
"EncryptionKeySid": "string",
"FriendlyName": "string"
}
{
"AwsCredentialsSid": "string",
"AwsS3Url": "https://example.com",
"AwsStorageEnabled": true,
"EncryptionEnabled": true,
"EncryptionKeySid": "string",
"FriendlyName": "string"
}
{
"account_sid": "string",
"aws_credentials_sid": "string",
"aws_s3_url": "https://example.com",
"aws_storage_enabled": true,
"encryption_enabled": true,
"encryption_key_sid": "string",
"friendly_name": "string",
"url": "https://example.com"
}
{
"account_sid": "string",
"aws_credentials_sid": "string",
"aws_s3_url": "https://example.com",
"aws_storage_enabled": true,
"encryption_enabled": true,
"encryption_key_sid": "string",
"friendly_name": "string",
"url": "https://example.com"
}