NAME

Twilio::Rest::Events::V1::Sink::SinkValidate - The SinkValidate resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $sink_validate = $client->events->v1->sinks($sid)->sink_validate->create($test_id);

DESCRIPTION

Validate sink

This file holds SinkValidateList and SinkValidateInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

SinkValidateList

Returned by $client->events->v1->sinks($sid)->sink_validate. See also Twilio::ListResource.

create

my $sink_validate = $client->events->v1->sinks($sid)->sink_validate->create($test_id);

Validate that a test event for a Sink was received. Returns a SinkValidateInstance.

The required values are:

$test_id

A 34 character string that uniquely identifies the test event for a Sink being validated.

SinkValidateInstance

See also Twilio::InstanceResource.

Its fields are:

result

Feedback indicating whether the given Sink was validated.

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.