| 1 | import * as mi from "@distilled.cloud/aws/iot-managed-integrations"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeManagedThingHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { SendManagedThingCommand } from "./SendManagedThingCommand.ts"; |
| 5 | |
| 6 | export const SendManagedThingCommandHttp = Layer.effect( |
| 7 | SendManagedThingCommand, |
| 8 | makeManagedThingHttpBinding({ |
| 9 | capability: "SendManagedThingCommand", |
| 10 | iamActions: ["iotmanagedintegrations:SendManagedThingCommand"], |
| 11 | operation: mi.sendManagedThingCommand, |
| 12 | key: "ManagedThingId", |
| 13 | }), |
| 14 | ); |