ListSubscriptions
Source:
src/AWS/IoT/ListSubscriptions.ts
Runtime binding for the IoT data-plane ListSubscriptions operation (IAM
action iot:ListSubscriptions).
Binding to a client id filter grants iot:ListSubscriptions on matching
MQTT client ARNs (or all clients when the filter is omitted) and returns
a callable that lists the topic filters a connected client is subscribed
to. Provide the implementation with
Effect.provide(AWS.IoT.ListSubscriptionsHttp).
MQTT Connections
Section titled “MQTT Connections”const listSubscriptions = yield* AWS.IoT.ListSubscriptions("sensor-*");
const { subscriptions } = yield* listSubscriptions({ clientId: "sensor-1",});