Service for Role API operations.
Operations: list, create, fetch, update, delete
Summary
Functions
Operation: CreateRole | Tags: IpMessagingV1Role
Operation: DeleteRole | Tags: IpMessagingV1Role
Operation: FetchRole | Tags: IpMessagingV1Role
Operation: ListRole | Tags: IpMessagingV1Role
Stream: (lazy auto-pagination).
Operation: UpdateRole | Tags: IpMessagingV1Role
Functions
@spec create(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V1.Service.Role.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: CreateRole | Tags: IpMessagingV1Role
Required Parameters
| Parameter | Type | Description |
|---|---|---|
FriendlyName | string | |
Permission | array | |
Type | string | Values: channel, deployment |
@spec delete(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: DeleteRole | Tags: IpMessagingV1Role
@spec fetch(Twilio.Client.t(), String.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V1.Service.Role.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchRole | Tags: IpMessagingV1Role
@spec list(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: ListRole | Tags: IpMessagingV1Role
@spec stream(Twilio.Client.t(), String.t(), map(), keyword()) :: Enumerable.t()
Stream: (lazy auto-pagination).
@spec update(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V1.Service.Role.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: UpdateRole | Tags: IpMessagingV1Role
Required Parameters
| Parameter | Type | Description |
|---|---|---|
Permission | array |