{ "version": "2.0", "metadata": { "apiVersion": "2017-01-11", "endpointPrefix": "entitlement.marketplace", "jsonVersion": "1.1", "protocol": "json", "protocols": [ "json" ], "serviceFullName": "AWS Marketplace Entitlement Service", "serviceId": "Marketplace Entitlement Service", "signatureVersion": "v4", "signingName": "aws-marketplace", "targetPrefix": "AWSMPEntitlementService", "uid": "entitlement.marketplace-2017-01-11" }, "operations": { "GetEntitlements": { "name": "GetEntitlements", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetEntitlementsRequest" }, "output": { "shape": "GetEntitlementsResult" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServiceErrorException" } ], "documentation": "

GetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions.

" } }, "shapes": { "Boolean": { "type": "boolean" }, "Double": { "type": "double" }, "Entitlement": { "type": "structure", "members": { "ProductCode": { "shape": "ProductCode", "documentation": "

The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.

" }, "Dimension": { "shape": "NonEmptyString", "documentation": "

The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

" }, "CustomerIdentifier": { "shape": "NonEmptyString", "documentation": "

The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.

" }, "Value": { "shape": "EntitlementValue", "documentation": "

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

" }, "ExpirationDate": { "shape": "Timestamp", "documentation": "

The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.

" } }, "documentation": "

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.

" }, "EntitlementList": { "type": "list", "member": { "shape": "Entitlement" }, "min": 0 }, "EntitlementValue": { "type": "structure", "members": { "IntegerValue": { "shape": "Integer", "documentation": "

The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

" }, "DoubleValue": { "shape": "Double", "documentation": "

The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

" }, "BooleanValue": { "shape": "Boolean", "documentation": "

The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

" }, "StringValue": { "shape": "String", "documentation": "

The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

" } }, "documentation": "

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

" }, "FilterValue": { "type": "string" }, "FilterValueList": { "type": "list", "member": { "shape": "FilterValue" }, "min": 1 }, "GetEntitlementFilterName": { "type": "string", "enum": [ "CUSTOMER_IDENTIFIER", "DIMENSION" ] }, "GetEntitlementFilters": { "type": "map", "key": { "shape": "GetEntitlementFilterName" }, "value": { "shape": "FilterValueList" } }, "GetEntitlementsRequest": { "type": "structure", "required": [ "ProductCode" ], "members": { "ProductCode": { "shape": "ProductCode", "documentation": "

Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.

" }, "Filter": { "shape": "GetEntitlementFilters", "documentation": "

Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.

" }, "NextToken": { "shape": "NonEmptyString", "documentation": "

For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.

" }, "MaxResults": { "shape": "PageSizeInteger", "documentation": "

The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.

" } }, "documentation": "

The GetEntitlementsRequest contains parameters for the GetEntitlements operation.

" }, "GetEntitlementsResult": { "type": "structure", "members": { "Entitlements": { "shape": "EntitlementList", "documentation": "

The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.

" }, "NextToken": { "shape": "NonEmptyString", "documentation": "

For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used.

" } }, "documentation": "

The GetEntitlementsRequest contains results from the GetEntitlements operation.

" }, "Integer": { "type": "integer" }, "NonEmptyString": { "type": "string", "pattern": "\\S+" }, "PageSizeInteger": { "type": "integer", "max": 25, "min": 1 }, "ProductCode": { "type": "string", "max": 255, "min": 1 }, "String": { "type": "string" }, "Timestamp": { "type": "timestamp" } }, "documentation": "AWS Marketplace Entitlement Service

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

" }