1import * as sns from "@distilled.cloud/aws/sns";
2import * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5export interface GetSMSAttributesRequest extends sns.GetSMSAttributesInput {}
6
7/**
8 * Runtime binding for `sns:GetSMSAttributes`.
9 *
10 * An account-scoped operation — reads the account-level SMS settings such
11 * as `DefaultSMSType`, `MonthlySpendLimit`, and delivery-status sampling.
12 * Provide the `GetSMSAttributesHttp` layer on the Function to implement the binding.
13 * ### SMS Account Settings
14 * **Example:** Read SMS Settings
15 * ```typescript
16 * const getSmsAttributes = yield* SNS.GetSMSAttributes();
17 * const { attributes } = yield* getSmsAttributes();
18 * ```
19 *
20 * @binding
21 */
22export interface GetSMSAttributes extends Binding.Service<
23 GetSMSAttributes,
24 "AWS.SNS.GetSMSAttributes",
25 () => Effect.Effect<
26 (
27 request?: GetSMSAttributesRequest,
28 ) => Effect.Effect<sns.GetSMSAttributesResponse, sns.GetSMSAttributesError>
29 >
30> {}
31
32export const GetSMSAttributes = Binding.Service<GetSMSAttributes>(
33 "AWS.SNS.GetSMSAttributes",
34);