1import * as iotfleetwise from "@distilled.cloud/aws/iotfleetwise";
2import * as Layer from "effect/Layer";
3import { makeFleetWiseResourceHttpBinding } from "./BindingHttp.ts";
4import type { DecoderManifest } from "./DecoderManifest.ts";
5import { ListDecoderManifestNetworkInterfaces } from "./ListDecoderManifestNetworkInterfaces.ts";
6
7export const ListDecoderManifestNetworkInterfacesHttp = Layer.effect(
8 ListDecoderManifestNetworkInterfaces,
9 makeFleetWiseResourceHttpBinding({
10 tag: "AWS.IoTFleetWise.ListDecoderManifestNetworkInterfaces",
11 operation: iotfleetwise.listDecoderManifestNetworkInterfaces,
12 actions: ["iotfleetwise:ListDecoderManifestNetworkInterfaces"],
13 requestKey: "name",
14 identifier: (decoder: DecoderManifest) => decoder.decoderManifestName,
15 resources: (decoder: DecoderManifest) => [decoder.decoderManifestArn],
16 }),
17);