import type * as smsvoice from "@distilled.cloud/aws/pinpoint-sms-voice-v2"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { OptOutList } from "./OptOutList.ts"; /** * The `OptOutListName` is injected by the binding from the bound opt-out * list; the caller supplies the destination number to opt back in. */ export interface DeleteOptedOutNumberRequest extends Omit { } /** * Runtime binding for `sms-voice:DeleteOptedOutNumber`. * * Removes a destination phone number from the bound opt-out list, opting * the end user back in to receiving messages. Numbers that opted * themselves out by replying with a keyword can only be removed once * every 30 days. The deploy-time half grants * `sms-voice:DeleteOptedOutNumber` on the list. Provide the * implementation with * `Effect.provide(AWS.PinpointSMSVoiceV2.DeleteOptedOutNumberHttp)`. * ### Managing Opt-Outs * **Example:** Opt a Number Back In * ```typescript * // init * const deleteOptedOut = * yield* AWS.PinpointSMSVoiceV2.DeleteOptedOutNumber(optOuts); * * // runtime * yield* deleteOptedOut({ OptedOutNumber: "+12065550100" }); * ``` * * @binding */ export interface DeleteOptedOutNumber extends Binding.Service Effect.Effect<(request: DeleteOptedOutNumberRequest) => Effect.Effect>> { } export declare const DeleteOptedOutNumber: DeleteOptedOutNumber; //# sourceMappingURL=DeleteOptedOutNumber.d.ts.map