Service for Credential API operations.
Operations: list, create, fetch, update, delete
Summary
Functions
Operation: CreateCredential | Tags: IpMessagingV2Credential
Operation: DeleteCredential | Tags: IpMessagingV2Credential
Operation: FetchCredential | Tags: IpMessagingV2Credential
Operation: ListCredential | Tags: IpMessagingV2Credential
Stream: (lazy auto-pagination).
Operation: UpdateCredential | Tags: IpMessagingV2Credential
Functions
@spec create(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Credential.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: CreateCredential | Tags: IpMessagingV2Credential
Required Parameters
| Parameter | Type | Description |
|---|---|---|
Type | string | Values: gcm, apn, fcm |
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
ApiKey | string | |
Certificate | string | |
FriendlyName | string | |
PrivateKey | string | |
Sandbox | boolean | |
Secret | string |
@spec delete(Twilio.Client.t(), String.t(), keyword()) :: {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: DeleteCredential | Tags: IpMessagingV2Credential
@spec fetch(Twilio.Client.t(), String.t(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Credential.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: FetchCredential | Tags: IpMessagingV2Credential
@spec list(Twilio.Client.t(), map(), keyword()) :: {:ok, Twilio.Page.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: ListCredential | Tags: IpMessagingV2Credential
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
Stream: (lazy auto-pagination).
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) :: {:ok, Twilio.Resources.IpMessaging.V2.Credential.t()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
Operation: UpdateCredential | Tags: IpMessagingV2Credential
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
ApiKey | string | |
Certificate | string | |
FriendlyName | string | |
PrivateKey | string | |
Sandbox | boolean | |
Secret | string |