Class: AWS.ElasticInference
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.ElasticInference
- Identifier:
- elasticinference
- API Version:
- 2017-07-25
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Elastic Inference public APIs.
Sending a Request Using ElasticInference
var elasticinference = new AWS.ElasticInference();
elasticinference.describeAcceleratorOfferings(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the ElasticInference object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var elasticinference = new AWS.ElasticInference({apiVersion: '2017-07-25'});
You can also set the API version globally in AWS.config.apiVersions
using
the elasticinference service identifier:
AWS.config.apiVersions = {
elasticinference: '2017-07-25',
// other service API versions
};
var elasticinference = new AWS.ElasticInference();
Constructor Summary collapse
-
new AWS.ElasticInference(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
describeAcceleratorOfferings(params = {}, callback) ⇒ AWS.Request
Describes the locations in which a given accelerator type or set of types is present in a given region.
-
describeAccelerators(params = {}, callback) ⇒ AWS.Request
Describes information over a provided set of accelerators belonging to an account.
-
describeAcceleratorTypes(params = {}, callback) ⇒ AWS.Request
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns all tags of an Elastic Inference Accelerator.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds the specified tags to an Elastic Inference Accelerator.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes the specified tags from an Elastic Inference Accelerator.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.ElasticInference(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
describeAcceleratorOfferings(params = {}, callback) ⇒ AWS.Request
Describes the locations in which a given accelerator type or set of types is present in a given region.
describeAccelerators(params = {}, callback) ⇒ AWS.Request
Describes information over a provided set of accelerators belonging to an account.
describeAcceleratorTypes(params = {}, callback) ⇒ AWS.Request
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns all tags of an Elastic Inference Accelerator.