The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as sns from "@distilled.cloud/aws/sns"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | |
| 5 | export interface ListOriginationNumbersRequest extends sns.ListOriginationNumbersRequest {} |
| 6 | |
| 7 | /** |
| 8 | * Runtime binding for `sns:ListOriginationNumbers`. |
| 9 | * |
| 10 | * An account-scoped operation — lists the origination phone numbers |
| 11 | * available to send SMS from this account. |
| 12 | * Provide the `ListOriginationNumbersHttp` layer on the Function to implement the binding. |
| 13 | * ### SMS Account Settings |
| 14 | * **Example:** List Origination Numbers |
| 15 | * ```typescript |
| 16 | * const listOriginationNumbers = yield* SNS.ListOriginationNumbers(); |
| 17 | * const { PhoneNumbers } = yield* listOriginationNumbers(); |
| 18 | * ``` |
| 19 | * |
| 20 | * @binding |
| 21 | */ |
| 22 | export interface ListOriginationNumbers extends Binding.Service< |
| 23 | ListOriginationNumbers, |
| 24 | "AWS.SNS.ListOriginationNumbers", |
| 25 | () => Effect.Effect< |
| 26 | ( |
| 27 | request?: ListOriginationNumbersRequest, |
| 28 | ) => Effect.Effect<sns.ListOriginationNumbersResult, sns.ListOriginationNumbersError> |
| 29 | > |
| 30 | > {} |
| 31 | |
| 32 | export const ListOriginationNumbers = Binding.Service<ListOriginationNumbers>( |
| 33 | "AWS.SNS.ListOriginationNumbers", |
| 34 | ); |