# `Twilio.Preview.Wireless.SimService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/preview/wireless/sim_service.ex#L2)

Service for Sim API operations.

Operations: `list`, `fetch`, `update`

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Preview.Wireless.Sim.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchWirelessSim` | Tags: PreviewWirelessSim

# `list`

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

Operation: `ListWirelessSim` | Tags: PreviewWirelessSim

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Status` | string |  |
| `Iccid` | string |  |
| `RatePlan` | string |  |
| `EId` | string |  |
| `SimRegistrationCode` | string |  |

# `stream`

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

Stream:  (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Preview.Wireless.Sim.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdateWirelessSim` | Tags: PreviewWirelessSim

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `CallbackMethod` | string |  |
| `CallbackUrl` | string (uri) |  |
| `CommandsCallbackMethod` | string (http-method) |  Values: `GET`, `POST` |
| `CommandsCallbackUrl` | string (uri) |  |
| `FriendlyName` | string |  |
| `RatePlan` | string |  |
| `SmsFallbackMethod` | string (http-method) |  Values: `GET`, `POST` |
| `SmsFallbackUrl` | string (uri) |  |
| `SmsMethod` | string (http-method) |  Values: `GET`, `POST` |
| `SmsUrl` | string (uri) |  |
| `Status` | string |  |
| `UniqueName` | string |  |
| `VoiceFallbackMethod` | string (http-method) |  Values: `GET`, `POST` |
| `VoiceFallbackUrl` | string (uri) |  |
| `VoiceMethod` | string (http-method) |  Values: `GET`, `POST` |
| `VoiceUrl` | string (uri) |  |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
