NAME
Twilio::Rest::FlexApi::V1::PluginConfiguration::ConfiguredPlugin - The ConfiguredPlugin resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $configured_plugin ($client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->read({}, 20)) {
...
}
my $configured_plugin = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins($plugin_sid)->fetch;
DESCRIPTION
This file holds ConfiguredPluginList, ConfiguredPluginPage, ConfiguredPluginContext and ConfiguredPluginInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
ConfiguredPluginList
Returned by $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins. See also Twilio::ListResource.
read
my @records = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->read(\%options, $limit, $page_size);
Returns the records as a list, fetching as many pages as it needs.
The options are:
flex_metadata-
The Flex-Metadata HTTP request header
stream
my $stream = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins->get_context($plugin_sid);
Returns a ConfiguredPluginContext, and makes no request.
ConfiguredPluginPage
A Twilio::Page of ConfiguredPluginInstance objects.
records_key
build_instance
Used by Twilio::Page.
ConfiguredPluginContext
Returned by $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins($plugin_sid). It makes no request until one of these methods is called.
fetch
my $configured_plugin = $client->flex_api->v1->plugin_configurations($configuration_sid)->plugins($plugin_sid)->fetch(\%options);
Returns a ConfiguredPluginInstance.
The options are:
flex_metadata-
The Flex-Metadata HTTP request header
ConfiguredPluginInstance
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 the Flex Plugin resource is installed for.
- changelog
-
A changelog that describes the changes this Flex Plugin Version brings.
- configuration_sid
-
The SID of the Flex Plugin Configuration that this Flex Plugin belongs to.
- date_created
-
The date and time in GMT when the Flex Plugin was installed specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- description
-
A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long
- friendly_name
-
The friendly name of this Flex Plugin resource.
- phase
-
The phase this Flex Plugin would initialize at runtime.
- plugin_archived
-
Whether the Flex Plugin is archived. The default value is false.
- plugin_sid
-
The SID of the Flex Plugin.
- plugin_url
-
The URL of where the Flex Plugin Version JavaScript bundle is hosted on.
- plugin_version_archived
-
Whether the Flex Plugin Version is archived. The default value is false.
- plugin_version_sid
-
The SID of the Flex Plugin Version.
- private
-
Whether to validate the request is authorized to access the Flex Plugin Version.
- unique_name
-
The name that uniquely identifies this Flex Plugin resource.
- url
-
The absolute URL of the Flex Plugin resource.
- version
-
The latest version of this Flex Plugin Version.
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.