Class DiscoveryClient

  • All Implemented Interfaces:
    AutoCloseable

    public class DiscoveryClient
    extends Object
    implements AutoCloseable
    Class for performing network-based discovery of the connectivity properties of registered greengrass cores associated with an AWS account and region.
    • Constructor Detail

      • DiscoveryClient

        public DiscoveryClient​(DiscoveryClientConfig config)
        Parameters:
        config - Greengrass discovery client configuration
    • Method Detail

      • discover

        public CompletableFuture<DiscoverResponse> discover​(String thingName)
        Based on configuration, make an http request to query connectivity information about available Greengrass cores
        Parameters:
        thingName - name of the thing/device making the greengrass core query
        Returns:
        future holding connectivity information about greengrass cores available to the device/thing