@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonSagemakerEdgeManagerAsyncClient extends AmazonSagemakerEdgeManagerClient implements AmazonSagemakerEdgeManagerAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
SageMaker Edge Manager dataplane service for communicating with active agents.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonSagemakerEdgeManagerAsyncClientBuilder |
asyncBuilder() |
Future<GetDeviceRegistrationResult> |
getDeviceRegistrationAsync(GetDeviceRegistrationRequest request)
Use to check if a device is registered with SageMaker Edge Manager.
|
Future<GetDeviceRegistrationResult> |
getDeviceRegistrationAsync(GetDeviceRegistrationRequest request,
AsyncHandler<GetDeviceRegistrationRequest,GetDeviceRegistrationResult> asyncHandler)
Use to check if a device is registered with SageMaker Edge Manager.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<SendHeartbeatResult> |
sendHeartbeatAsync(SendHeartbeatRequest request)
Use to get the current status of devices registered on SageMaker Edge Manager.
|
Future<SendHeartbeatResult> |
sendHeartbeatAsync(SendHeartbeatRequest request,
AsyncHandler<SendHeartbeatRequest,SendHeartbeatResult> asyncHandler)
Use to get the current status of devices registered on SageMaker Edge Manager.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, getCachedResponseMetadata, getDeviceRegistration, sendHeartbeat
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, getDeviceRegistration, sendHeartbeat
public static AmazonSagemakerEdgeManagerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetDeviceRegistrationResult> getDeviceRegistrationAsync(GetDeviceRegistrationRequest request)
AmazonSagemakerEdgeManagerAsync
Use to check if a device is registered with SageMaker Edge Manager.
getDeviceRegistrationAsync
in interface AmazonSagemakerEdgeManagerAsync
public Future<GetDeviceRegistrationResult> getDeviceRegistrationAsync(GetDeviceRegistrationRequest request, AsyncHandler<GetDeviceRegistrationRequest,GetDeviceRegistrationResult> asyncHandler)
AmazonSagemakerEdgeManagerAsync
Use to check if a device is registered with SageMaker Edge Manager.
getDeviceRegistrationAsync
in interface AmazonSagemakerEdgeManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SendHeartbeatResult> sendHeartbeatAsync(SendHeartbeatRequest request)
AmazonSagemakerEdgeManagerAsync
Use to get the current status of devices registered on SageMaker Edge Manager.
sendHeartbeatAsync
in interface AmazonSagemakerEdgeManagerAsync
public Future<SendHeartbeatResult> sendHeartbeatAsync(SendHeartbeatRequest request, AsyncHandler<SendHeartbeatRequest,SendHeartbeatResult> asyncHandler)
AmazonSagemakerEdgeManagerAsync
Use to get the current status of devices registered on SageMaker Edge Manager.
sendHeartbeatAsync
in interface AmazonSagemakerEdgeManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonSagemakerEdgeManager
shutdown
in class AmazonSagemakerEdgeManagerClient