@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonElasticInferenceClient extends AmazonWebServiceClient implements AmazonElasticInference
Elastic Inference public APIs.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonElasticInferenceClientBuilder |
builder() |
DescribeAcceleratorOfferingsResult |
describeAcceleratorOfferings(DescribeAcceleratorOfferingsRequest request)
Describes the locations in which a given accelerator type or set of types is present in a given region.
|
DescribeAcceleratorsResult |
describeAccelerators(DescribeAcceleratorsRequest request)
Describes information over a provided set of accelerators belonging to an account.
|
DescribeAcceleratorTypesResult |
describeAcceleratorTypes(DescribeAcceleratorTypesRequest request)
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and
throughput.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns all tags of an Elastic Inference Accelerator.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tags to an Elastic Inference Accelerator.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from an Elastic Inference Accelerator.
|
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
public static AmazonElasticInferenceClientBuilder builder()
public DescribeAcceleratorOfferingsResult describeAcceleratorOfferings(DescribeAcceleratorOfferingsRequest request)
Describes the locations in which a given accelerator type or set of types is present in a given region.
describeAcceleratorOfferings
in interface AmazonElasticInference
describeAcceleratorOfferingsRequest
- BadRequestException
- Raised when a malformed input has been provided to the API.ResourceNotFoundException
- Raised when the requested resource cannot be found.InternalServerException
- Raised when an unexpected error occurred during request processing.public DescribeAcceleratorTypesResult describeAcceleratorTypes(DescribeAcceleratorTypesRequest request)
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
describeAcceleratorTypes
in interface AmazonElasticInference
describeAcceleratorTypesRequest
- InternalServerException
- Raised when an unexpected error occurred during request processing.public DescribeAcceleratorsResult describeAccelerators(DescribeAcceleratorsRequest request)
Describes information over a provided set of accelerators belonging to an account.
describeAccelerators
in interface AmazonElasticInference
describeAcceleratorsRequest
- BadRequestException
- Raised when a malformed input has been provided to the API.ResourceNotFoundException
- Raised when the requested resource cannot be found.InternalServerException
- Raised when an unexpected error occurred during request processing.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns all tags of an Elastic Inference Accelerator.
listTagsForResource
in interface AmazonElasticInference
listTagsForResourceRequest
- BadRequestException
- Raised when a malformed input has been provided to the API.ResourceNotFoundException
- Raised when the requested resource cannot be found.InternalServerException
- Raised when an unexpected error occurred during request processing.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to an Elastic Inference Accelerator.
tagResource
in interface AmazonElasticInference
tagResourceRequest
- BadRequestException
- Raised when a malformed input has been provided to the API.ResourceNotFoundException
- Raised when the requested resource cannot be found.InternalServerException
- Raised when an unexpected error occurred during request processing.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from an Elastic Inference Accelerator.
untagResource
in interface AmazonElasticInference
untagResourceRequest
- BadRequestException
- Raised when a malformed input has been provided to the API.ResourceNotFoundException
- Raised when the requested resource cannot be found.InternalServerException
- Raised when an unexpected error occurred during request processing.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonElasticInference
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonElasticInference
shutdown
in class AmazonWebServiceClient