@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 34 lines 1.21 KB
Raw
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 CreateSMSSandboxPhoneNumberRequest extends sns.CreateSMSSandboxPhoneNumberInput {}
6
7 /**
8 * Runtime binding for `sns:CreateSMSSandboxPhoneNumber`.
9 *
10 * An account-scoped operation — registers a destination phone number in
11 * the SMS sandbox, which sends it a one-time verification code.
12 * Provide the `CreateSMSSandboxPhoneNumberHttp` layer on the Function to implement the binding.
13 * ### SMS Sandbox
14 * **Example:** Register a Sandbox Number
15 * ```typescript
16 * const createSandboxNumber = yield* SNS.CreateSMSSandboxPhoneNumber();
17 * yield* createSandboxNumber({ PhoneNumber: "+15555550123" });
18 * ```
19 *
20 * @binding
21 */
22 export interface CreateSMSSandboxPhoneNumber extends Binding.Service<
23 CreateSMSSandboxPhoneNumber,
24 "AWS.SNS.CreateSMSSandboxPhoneNumber",
25 () => Effect.Effect<
26 (
27 request: CreateSMSSandboxPhoneNumberRequest,
28 ) => Effect.Effect<sns.CreateSMSSandboxPhoneNumberResult, sns.CreateSMSSandboxPhoneNumberError>
29 >
30 > {}
31
32 export const CreateSMSSandboxPhoneNumber = Binding.Service<CreateSMSSandboxPhoneNumber>(
33 "AWS.SNS.CreateSMSSandboxPhoneNumber",
34 );