Twilio.Intelligence.V3.ControlPlane.OperatorService
(twilio_elixir v0.1.3)
Copy Markdown
View Source
Service for Operator API operations.
Operations: list, create, fetch, delete
Summary
Functions
Delete a Operator.
Fetch a Operator.
Stream: Retrieve a list of Operators for the account, including those not attached to an Intelligence Configuration. This request returns both Twilio-authored and custom language operators. (lazy auto-pagination).
Functions
@spec create(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Resources.Intelligence.V3.ControlPlane.Operator.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
Create a custom language operator. You can define a reusable, programmable conversational analysis task tailored to your business needs.
Operation: CreateOperator | Tags: Operators
@spec delete(Twilio.Client.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Delete a Operator.
Operation: DeleteOperator | Tags: Operators
@spec fetch(Twilio.Client.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.Intelligence.V3.ControlPlane.Operator.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Fetch a Operator.
Operation: FetchOperator | Tags: Operators
@spec list(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
Retrieve a list of Operators for the account, including those not attached to an Intelligence Configuration. This request returns both Twilio-authored and custom language operators.
Operation: ListOperators | Tags: Operators
Query Parameters
| Parameter | Type | Description |
|---|---|---|
pageSize | integer | The maximum number of resources to return |
pageToken | string | Token for pagination |
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
Stream: Retrieve a list of Operators for the account, including those not attached to an Intelligence Configuration. This request returns both Twilio-authored and custom language operators. (lazy auto-pagination).