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 GetSMSSandboxAccountStatusRequest extends sns.GetSMSSandboxAccountStatusInput {} |
| 6 | |
| 7 | /** |
| 8 | * Runtime binding for `sns:GetSMSSandboxAccountStatus`. |
| 9 | * |
| 10 | * An account-scoped operation — reports whether the account is still in |
| 11 | * the SMS sandbox (only verified destination numbers deliverable). |
| 12 | * Provide the `GetSMSSandboxAccountStatusHttp` layer on the Function to implement the binding. |
| 13 | * ### SMS Sandbox |
| 14 | * **Example:** Check Sandbox Status |
| 15 | * ```typescript |
| 16 | * const getSandboxStatus = yield* SNS.GetSMSSandboxAccountStatus(); |
| 17 | * const { IsInSandbox } = yield* getSandboxStatus(); |
| 18 | * ``` |
| 19 | * |
| 20 | * @binding |
| 21 | */ |
| 22 | export interface GetSMSSandboxAccountStatus extends Binding.Service< |
| 23 | GetSMSSandboxAccountStatus, |
| 24 | "AWS.SNS.GetSMSSandboxAccountStatus", |
| 25 | () => Effect.Effect< |
| 26 | ( |
| 27 | request?: GetSMSSandboxAccountStatusRequest, |
| 28 | ) => Effect.Effect<sns.GetSMSSandboxAccountStatusResult, sns.GetSMSSandboxAccountStatusError> |
| 29 | > |
| 30 | > {} |
| 31 | |
| 32 | export const GetSMSSandboxAccountStatus = Binding.Service<GetSMSSandboxAccountStatus>( |
| 33 | "AWS.SNS.GetSMSSandboxAccountStatus", |
| 34 | ); |