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 collapse
-
new AWS.MarketplaceEntitlementService(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
-
getEntitlements(params = {}, callback) ⇒ AWS.Request
GetEntitlements retrieves entitlement values for a given product.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MarketplaceEntitlementService(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.