Class DiscoveryClient
java.lang.Object
software.amazon.awssdk.iot.discovery.DiscoveryClient
- All Implemented Interfaces:
AutoCloseable
Class for performing network-based discovery of the connectivity properties of registered greengrass cores
associated with an AWS account and region.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Based on configuration, make an http request to query connectivity information about available Greengrass cores
-
Field Details
-
TLS_EXT_ALPN
- See Also:
-
-
Constructor Details
-
DiscoveryClient
- Parameters:
config- Greengrass discovery client configuration
-
-
Method Details
-
discover
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
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-