| 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 { GetManagedThingState } from "./GetManagedThingState.ts"; |
| 5 | |
| 6 | export const GetManagedThingStateHttp = Layer.effect( |
| 7 | GetManagedThingState, |
| 8 | makeManagedThingHttpBinding({ |
| 9 | capability: "GetManagedThingState", |
| 10 | iamActions: ["iotmanagedintegrations:GetManagedThingState"], |
| 11 | operation: mi.getManagedThingState, |
| 12 | key: "ManagedThingId", |
| 13 | }), |
| 14 | ); |