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

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

export const SetTopicAttributesHttp = Layer.effect(
  SetTopicAttributes,
  makeSnsTopicHttpBinding({
    tag: "AWS.SNS.SetTopicAttributes",
    operation: sns.setTopicAttributes,
    actions: ["sns:SetTopicAttributes"],
    key: "TopicArn",
  }),
);