Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

DetectTargetedSentimentHttp.ts

13 lines515 Bytes

1import * as comprehend from "@distilled.cloud/aws/comprehend";
2import * as Layer from "effect/Layer";
3import { makeComprehendHttpBinding } from "./BindingHttp.ts";
4import { DetectTargetedSentiment } from "./DetectTargetedSentiment.ts";
5​
6export const DetectTargetedSentimentHttp = Layer.effect(
7 DetectTargetedSentiment,
8 makeComprehendHttpBinding({
9 tag: "AWS.Comprehend.DetectTargetedSentiment",
10 operation: comprehend.detectTargetedSentiment,
11 actions: ["comprehend:DetectTargetedSentiment"],
12 }),
13);