sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ IoTManagedIntegrations/ SendManagedThingCommandHttp.ts

import * as mi from "@distilled.cloud/aws/iot-managed-integrations";
import * as Layer from "effect/Layer";
import { makeManagedThingHttpBinding } from "./BindingHttp.ts";
import { SendManagedThingCommand } from "./SendManagedThingCommand.ts";

export const SendManagedThingCommandHttp = Layer.effect(
  SendManagedThingCommand,
  makeManagedThingHttpBinding({
    capability: "SendManagedThingCommand",
    iamActions: ["iotmanagedintegrations:SendManagedThingCommand"],
    operation: mi.sendManagedThingCommand,
    key: "ManagedThingId",
  }),
);