| 1 | import * as sns from "@distilled.cloud/aws/sns"; |
| 2 | import * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | export interface ListSMSSandboxPhoneNumbersRequest |
| 6 | extends sns.ListSMSSandboxPhoneNumbersInput {} |
| 7 | |
| 8 | /** |
| 9 | * Runtime binding for `sns:ListSMSSandboxPhoneNumbers`. |
| 10 | * |
| 11 | * An account-scoped operation — lists the destination phone numbers |
| 12 | * registered (verified or pending) in the account's SMS sandbox. |
| 13 | * Provide the `ListSMSSandboxPhoneNumbersHttp` layer on the Function to implement the binding. |
| 14 | * ### SMS Sandbox |
| 15 | * **Example:** List Sandbox Numbers |
| 16 | * ```typescript |
| 17 | * const listSandboxNumbers = yield* SNS.ListSMSSandboxPhoneNumbers(); |
| 18 | * const { PhoneNumbers } = yield* listSandboxNumbers(); |
| 19 | * ``` |
| 20 | * |
| 21 | * @binding |
| 22 | */ |
| 23 | export interface ListSMSSandboxPhoneNumbers extends Binding.Service< |
| 24 | ListSMSSandboxPhoneNumbers, |
| 25 | "AWS.SNS.ListSMSSandboxPhoneNumbers", |
| 26 | () => Effect.Effect< |
| 27 | ( |
| 28 | request?: ListSMSSandboxPhoneNumbersRequest, |
| 29 | ) => Effect.Effect< |
| 30 | sns.ListSMSSandboxPhoneNumbersResult, |
| 31 | sns.ListSMSSandboxPhoneNumbersError |
| 32 | > |
| 33 | > |
| 34 | > {} |
| 35 | |
| 36 | export const ListSMSSandboxPhoneNumbers = |
| 37 | Binding.Service<ListSMSSandboxPhoneNumbers>( |
| 38 | "AWS.SNS.ListSMSSandboxPhoneNumbers", |
| 39 | ); |