Skip to content
TypeScript
469 B
Raw Blame
import * as smsvoice from "@distilled.cloud/aws/pinpoint-sms-voice-v2";
import * as Layer from "effect/Layer";
import { makeSmsVoiceAccountHttpBinding } from "./BindingHttp.ts";
import { CarrierLookup } from "./CarrierLookup.ts";

export const CarrierLookupHttp = Layer.effect(
  CarrierLookup,
  makeSmsVoiceAccountHttpBinding({
    tag: "AWS.PinpointSMSVoiceV2.CarrierLookup",
    operation: smsvoice.carrierLookup,
    actions: ["sms-voice:CarrierLookup"],
  }),
);