SendManagedThingCommand
Source:
src/AWS/IoTManagedIntegrations/SendManagedThingCommand.ts
Runtime binding for the SendManagedThingCommand operation (IAM action
iotmanagedintegrations:SendManagedThingCommand), scoped to one
ManagedThing.
Sends a command to the bound device using its Matter-derived capability
data model — the primary control-plane-to-device data path. Provide the
implementation with
Effect.provide(AWS.IoTManagedIntegrations.SendManagedThingCommandHttp).
Controlling Devices
Section titled “Controlling Devices”const sendCommand = yield* IoTManagedIntegrations.SendManagedThingCommand(thing);
const { TraceId } = yield* sendCommand({ Endpoints: [ { endpointId: "1", capabilities: [ { id: "aws.OnOff", name: "On/Off", version: "1", actions: [{ name: "activate", actionTraceId: "req-1" }], }, ], }, ],});