sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ SNS/ GetEndpointAttributesHttp.ts

import * as sns from "@distilled.cloud/aws/sns";
import * as Layer from "effect/Layer";
import { makeSnsEndpointHttpBinding } from "./BindingHttp.ts";
import { GetEndpointAttributes } from "./GetEndpointAttributes.ts";

export const GetEndpointAttributesHttp = Layer.effect(
  GetEndpointAttributes,
  makeSnsEndpointHttpBinding({
    tag: "AWS.SNS.GetEndpointAttributes",
    operation: sns.getEndpointAttributes,
    actions: ["sns:GetEndpointAttributes"],
  }),
);