Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DiscoveryClient

Index

Constructors

Properties

Methods

Constructors

constructor

  • new DiscoveryClient(bootstrap: ClientBootstrap, socket_options: SocketOptions, tls_ctx: ClientTlsContext, region: string): DiscoveryClient
  • 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

    Returns DiscoveryClient

Properties

Readonly bootstrap

bootstrap: ClientBootstrap

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

Readonly region

region: string

Region to send Greengrass discovery requests to

Methods

discover

  • 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