1import * as dataexchange from "@distilled.cloud/aws/dataexchange";
2import * as Layer from "effect/Layer";
3import { makeDataSetHttpBinding, dataSetAssetArns } from "./BindingHttp.ts";
4import { SendApiAsset } from "./SendApiAsset.ts";
5
6export const SendApiAssetHttp = Layer.effect(
7 SendApiAsset,
8 makeDataSetHttpBinding({
9 tag: "AWS.DataExchange.SendApiAsset",
10 operation: dataexchange.sendApiAsset,
11 actions: ["dataexchange:SendApiAsset"],
12 resources: dataSetAssetArns,
13 }),
14);