Note: You are viewing the documentation for an older major version of the AWS SDK for JavaScript (v2).
The modular AWS SDK for JavaScript (v3) is now General Available. For more information see the Developer Guide or API Reference.
Class: AWS.MarketplaceEntitlementService
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MarketplaceEntitlementService
- Identifier:
- marketplaceentitlementservice
- API Version:
- 2017-01-11
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
This reference provides descriptions of the AWS Marketplace Entitlement Service API.
AWS Marketplace Entitlement Service is used to determine the entitlement of a customer to a given product. An entitlement represents capacity in a product owned by the customer. For example, a customer might own some number of users or seats in an SaaS application or some amount of data capacity in a multi-tenant database.
Getting Entitlement Records
-
GetEntitlements- Gets the entitlements for a Marketplace product.
Sending a Request Using MarketplaceEntitlementService
var marketplaceentitlementservice = new AWS.MarketplaceEntitlementService();
marketplaceentitlementservice.getEntitlements(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 MarketplaceEntitlementService object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var marketplaceentitlementservice = new AWS.MarketplaceEntitlementService({apiVersion: '2017-01-11'});
You can also set the API version globally in AWS.config.apiVersions
using
the marketplaceentitlementservice service identifier:
AWS.config.apiVersions = {
marketplaceentitlementservice: '2017-01-11',
// other service API versions
};
var marketplaceentitlementservice = new AWS.MarketplaceEntitlementService();
Constructor Summary
-
new AWS.MarketplaceEntitlementService(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
getEntitlements(params = {}, callback) ⇒ AWS.Request
GetEntitlements retrieves entitlement values for a given product.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService