| 1 | import * as iotfleetwise from "@distilled.cloud/aws/iotfleetwise"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeFleetWiseResourceHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListModelManifestNodes } from "./ListModelManifestNodes.ts"; |
| 5 | import type { ModelManifest } from "./ModelManifest.ts"; |
| 6 | |
| 7 | export const ListModelManifestNodesHttp = Layer.effect( |
| 8 | ListModelManifestNodes, |
| 9 | makeFleetWiseResourceHttpBinding({ |
| 10 | tag: "AWS.IoTFleetWise.ListModelManifestNodes", |
| 11 | operation: iotfleetwise.listModelManifestNodes, |
| 12 | actions: ["iotfleetwise:ListModelManifestNodes"], |
| 13 | requestKey: "name", |
| 14 | identifier: (model: ModelManifest) => model.modelManifestName, |
| 15 | resources: (model: ModelManifest) => [model.modelManifestArn], |
| 16 | }), |
| 17 | ); |