@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.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_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, sendHeartbeataddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, getDeviceRegistration, sendHeartbeatpublic static AmazonSagemakerEdgeManagerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetDeviceRegistrationResult> getDeviceRegistrationAsync(GetDeviceRegistrationRequest request)
AmazonSagemakerEdgeManagerAsyncUse to check if a device is registered with SageMaker Edge Manager.
getDeviceRegistrationAsync in interface AmazonSagemakerEdgeManagerAsyncpublic Future<GetDeviceRegistrationResult> getDeviceRegistrationAsync(GetDeviceRegistrationRequest request, AsyncHandler<GetDeviceRegistrationRequest,GetDeviceRegistrationResult> asyncHandler)
AmazonSagemakerEdgeManagerAsyncUse to check if a device is registered with SageMaker Edge Manager.
getDeviceRegistrationAsync in interface AmazonSagemakerEdgeManagerAsyncasyncHandler - 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)
AmazonSagemakerEdgeManagerAsyncUse to get the current status of devices registered on SageMaker Edge Manager.
sendHeartbeatAsync in interface AmazonSagemakerEdgeManagerAsyncpublic Future<SendHeartbeatResult> sendHeartbeatAsync(SendHeartbeatRequest request, AsyncHandler<SendHeartbeatRequest,SendHeartbeatResult> asyncHandler)
AmazonSagemakerEdgeManagerAsyncUse to get the current status of devices registered on SageMaker Edge Manager.
sendHeartbeatAsync in interface AmazonSagemakerEdgeManagerAsyncasyncHandler - 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 AmazonSagemakerEdgeManagershutdown in class AmazonSagemakerEdgeManagerClientCopyright © 2021. All rights reserved.