@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_METRIC
ENDPOINT_PREFIX
builder, describeAcceleratorOfferings, describeAccelerators, describeAcceleratorTypes, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource
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
describeAcceleratorOfferings, describeAccelerators, describeAcceleratorTypes, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource
public static AmazonElasticInferenceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DescribeAcceleratorOfferingsResult> describeAcceleratorOfferingsAsync(DescribeAcceleratorOfferingsRequest request)
AmazonElasticInferenceAsync
Describes the locations in which a given accelerator type or set of types is present in a given region.
describeAcceleratorOfferingsAsync
in interface AmazonElasticInferenceAsync
public Future<DescribeAcceleratorOfferingsResult> describeAcceleratorOfferingsAsync(DescribeAcceleratorOfferingsRequest request, AsyncHandler<DescribeAcceleratorOfferingsRequest,DescribeAcceleratorOfferingsResult> asyncHandler)
AmazonElasticInferenceAsync
Describes the locations in which a given accelerator type or set of types is present in a given region.
describeAcceleratorOfferingsAsync
in interface AmazonElasticInferenceAsync
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<DescribeAcceleratorTypesResult> describeAcceleratorTypesAsync(DescribeAcceleratorTypesRequest request)
AmazonElasticInferenceAsync
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
describeAcceleratorTypesAsync
in interface AmazonElasticInferenceAsync
public Future<DescribeAcceleratorTypesResult> describeAcceleratorTypesAsync(DescribeAcceleratorTypesRequest request, AsyncHandler<DescribeAcceleratorTypesRequest,DescribeAcceleratorTypesResult> asyncHandler)
AmazonElasticInferenceAsync
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
describeAcceleratorTypesAsync
in interface AmazonElasticInferenceAsync
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<DescribeAcceleratorsResult> describeAcceleratorsAsync(DescribeAcceleratorsRequest request)
AmazonElasticInferenceAsync
Describes information over a provided set of accelerators belonging to an account.
describeAcceleratorsAsync
in interface AmazonElasticInferenceAsync
public Future<DescribeAcceleratorsResult> describeAcceleratorsAsync(DescribeAcceleratorsRequest request, AsyncHandler<DescribeAcceleratorsRequest,DescribeAcceleratorsResult> asyncHandler)
AmazonElasticInferenceAsync
Describes information over a provided set of accelerators belonging to an account.
describeAcceleratorsAsync
in interface AmazonElasticInferenceAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonElasticInferenceAsync
Returns all tags of an Elastic Inference Accelerator.
listTagsForResourceAsync
in interface AmazonElasticInferenceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonElasticInferenceAsync
Returns all tags of an Elastic Inference Accelerator.
listTagsForResourceAsync
in interface AmazonElasticInferenceAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonElasticInferenceAsync
Adds the specified tags to an Elastic Inference Accelerator.
tagResourceAsync
in interface AmazonElasticInferenceAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonElasticInferenceAsync
Adds the specified tags to an Elastic Inference Accelerator.
tagResourceAsync
in interface AmazonElasticInferenceAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonElasticInferenceAsync
Removes the specified tags from an Elastic Inference Accelerator.
untagResourceAsync
in interface AmazonElasticInferenceAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonElasticInferenceAsync
Removes the specified tags from an Elastic Inference Accelerator.
untagResourceAsync
in interface AmazonElasticInferenceAsync
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 AmazonElasticInference
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.