Twilio.Memory.V1.ControlPlane.StoreService (twilio_elixir v0.1.3)

Copy Markdown View Source

Service for Store API operations.

Operations: list, create, fetch, delete

Summary

Functions

Retrieve the details of a specific Memory Store by its unique ID.

Get a list of memory stores for the Twilio account.

Stream: Get a list of memory stores for the Twilio account. (lazy auto-pagination).

Functions

create(client, params \\ %{}, opts \\ [])

@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Memory.V1.ControlPlane.Store.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

Create a new Memory Store for the Twilio account. Accounts can have multiple memory stores, up to a maximum limit of 15.

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

Each memory store will automatically provision other dependent resources as needed, including Conversational Intelligence capabilities.

Operation: CreateStore | Tags: Store

delete(client, sid, opts \\ [])

@spec delete(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

Deletes the Memory Store and all associated resources including identity resolution settings, trait groups, profiles, traits, observations, and summaries.

Operation: DeleteStore | Tags: Store

fetch(client, sid, opts \\ [])

@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Memory.V1.ControlPlane.Store.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieve the details of a specific Memory Store by its unique ID.

Operation: FetchStore | Tags: Store

list(client, params \\ %{}, opts \\ [])

@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Get a list of memory stores for the Twilio account.

Operation: ListStores | Tags: Store

stream(client, params \\ %{}, opts \\ [])

@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()

Stream: Get a list of memory stores for the Twilio account. (lazy auto-pagination).