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