NAME
Twilio::Rest::Serverless::V1::Service::Function::FunctionVersion::FunctionVersionContent - The FunctionVersionContent resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $function_version_content = $client->serverless->v1->services($service_sid)->functions($function_sid)->function_versions($sid)->function_version_content->fetch;
DESCRIPTION
The code of a Function Version.
This file holds FunctionVersionContentContext and FunctionVersionContentInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
FunctionVersionContentContext
Returned by $client->serverless->v1->services($service_sid)->functions($function_sid)->function_versions($sid)->function_version_content. It makes no request until one of these methods is called.
fetch
my $function_version_content = $client->serverless->v1->services($service_sid)->functions($function_sid)->function_versions($sid)->function_version_content->fetch;
Retrieve a the content of a specific Function Version resource. Returns a FunctionVersionContentInstance.
FunctionVersionContentInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created the Function Version resource.
- content
-
The content of the Function Version resource.
- function_sid
-
The SID of the Function that is the parent of the Function Version.
- service_sid
-
The SID of the Service that the Function Version resource is associated with.
- sid
-
The unique string that we created to identify the Function Version resource.
- url
-
No description in the specification.
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.