@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonElasticInferenceClient extends AmazonWebServiceClient implements AmazonElasticInference
Elastic Inference public APIs.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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