GetConnectivityInfo
Source:
src/AWS/GreengrassV2/GetConnectivityInfo.ts
Runtime binding for greengrass:GetConnectivityInfo.
Reads a core device’s connectivity information — the endpoints and ports
where client devices can reach the core’s local MQTT broker (the same data
the IoT Greengrass discovery API serves). The caller supplies the core
device’s thing name at runtime. Provide the implementation with
Effect.provide(AWS.GreengrassV2.GetConnectivityInfoHttp).
Managing Client Devices
Section titled “Managing Client Devices”// init — account-level binding, no resource argumentconst getConnectivityInfo = yield* AWS.GreengrassV2.GetConnectivityInfo();
// runtimeconst { connectivityInfo } = yield* getConnectivityInfo({ thingName: "MyCore",});