@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonElasticInferenceAsyncClient extends AmazonElasticInferenceClient implements AmazonElasticInferenceAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Elastic Inference public APIs.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, describeAcceleratorOfferings, describeAccelerators, describeAcceleratorTypes, getCachedResponseMetadata, listTagsForResource, tagResource, untagResourceaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescribeAcceleratorOfferings, describeAccelerators, describeAcceleratorTypes, getCachedResponseMetadata, listTagsForResource, tagResource, untagResourcepublic static AmazonElasticInferenceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DescribeAcceleratorOfferingsResult> describeAcceleratorOfferingsAsync(DescribeAcceleratorOfferingsRequest request)
AmazonElasticInferenceAsyncDescribes the locations in which a given accelerator type or set of types is present in a given region.
describeAcceleratorOfferingsAsync in interface AmazonElasticInferenceAsyncpublic Future<DescribeAcceleratorOfferingsResult> describeAcceleratorOfferingsAsync(DescribeAcceleratorOfferingsRequest request, AsyncHandler<DescribeAcceleratorOfferingsRequest,DescribeAcceleratorOfferingsResult> asyncHandler)
AmazonElasticInferenceAsyncDescribes the locations in which a given accelerator type or set of types is present in a given region.
describeAcceleratorOfferingsAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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<DescribeAcceleratorTypesResult> describeAcceleratorTypesAsync(DescribeAcceleratorTypesRequest request)
AmazonElasticInferenceAsyncDescribes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
describeAcceleratorTypesAsync in interface AmazonElasticInferenceAsyncpublic Future<DescribeAcceleratorTypesResult> describeAcceleratorTypesAsync(DescribeAcceleratorTypesRequest request, AsyncHandler<DescribeAcceleratorTypesRequest,DescribeAcceleratorTypesResult> asyncHandler)
AmazonElasticInferenceAsyncDescribes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
describeAcceleratorTypesAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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<DescribeAcceleratorsResult> describeAcceleratorsAsync(DescribeAcceleratorsRequest request)
AmazonElasticInferenceAsyncDescribes information over a provided set of accelerators belonging to an account.
describeAcceleratorsAsync in interface AmazonElasticInferenceAsyncpublic Future<DescribeAcceleratorsResult> describeAcceleratorsAsync(DescribeAcceleratorsRequest request, AsyncHandler<DescribeAcceleratorsRequest,DescribeAcceleratorsResult> asyncHandler)
AmazonElasticInferenceAsyncDescribes information over a provided set of accelerators belonging to an account.
describeAcceleratorsAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonElasticInferenceAsyncReturns all tags of an Elastic Inference Accelerator.
listTagsForResourceAsync in interface AmazonElasticInferenceAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonElasticInferenceAsyncReturns all tags of an Elastic Inference Accelerator.
listTagsForResourceAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonElasticInferenceAsyncAdds the specified tags to an Elastic Inference Accelerator.
tagResourceAsync in interface AmazonElasticInferenceAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonElasticInferenceAsyncAdds the specified tags to an Elastic Inference Accelerator.
tagResourceAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonElasticInferenceAsyncRemoves the specified tags from an Elastic Inference Accelerator.
untagResourceAsync in interface AmazonElasticInferenceAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonElasticInferenceAsyncRemoves the specified tags from an Elastic Inference Accelerator.
untagResourceAsync in interface AmazonElasticInferenceAsyncasyncHandler - 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 AmazonElasticInferenceshutdown in class AmazonElasticInferenceClient