Hierarchy

  • DiscoveryClient

Constructors

Properties

Methods

Constructors

  • Parameters

    • bootstrap: ClientBootstrap

      The ClientBootstrap to use to make an HTTP connection to the Greengrass service

    • socket_options: SocketOptions

      SocketOptions for HTTP connection to the Greengrass service

    • tls_ctx: ClientTlsContext

      TLS Options for the HTTP connection to Greengrass service

    • region: string

      Region to send Greengrass discovery requests to (ignored if gg_server_name is set)

    • gg_server_name: string = ""

      Optional name of greengrass endpoint

    Returns DiscoveryClient

Properties

bootstrap: ClientBootstrap

The ClientBootstrap to use to make an HTTP connection to the Greengrass service

gg_server_name: string = ""

Optional name of greengrass endpoint

region: string

Region to send Greengrass discovery requests to (ignored if gg_server_name is set)

Methods

  • Performs the discover API call for the supplied Thing, and returns any associated Greengrass groups/cores/connection info.

    Parameters

    • thing_name: string

      The name of your IoT Thing, as configured in the console for Greengrass

    Returns Promise<DiscoverResponse>

Generated using TypeDoc