Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- marketplaceEntitlement :: Service
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- data GetEntitlementFilterName
- data Entitlement
- entitlement :: Entitlement
- eDimension :: Lens' Entitlement (Maybe Text)
- eValue :: Lens' Entitlement (Maybe EntitlementValue)
- eExpirationDate :: Lens' Entitlement (Maybe UTCTime)
- eCustomerIdentifier :: Lens' Entitlement (Maybe Text)
- eProductCode :: Lens' Entitlement (Maybe Text)
- data EntitlementValue
- entitlementValue :: EntitlementValue
- evIntegerValue :: Lens' EntitlementValue (Maybe Int)
- evDoubleValue :: Lens' EntitlementValue (Maybe Double)
- evStringValue :: Lens' EntitlementValue (Maybe Text)
- evBooleanValue :: Lens' EntitlementValue (Maybe Bool)
Service Configuration
marketplaceEntitlement :: Service Source #
API version 2017-01-11
of the Amazon Marketplace Entitlement Service SDK configuration.
Errors
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more parameters in your request was invalid.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The calls to the GetEntitlements API are throttled.
_InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
GetEntitlementFilterName
data GetEntitlementFilterName Source #
Entitlement
data Entitlement Source #
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.
See: entitlement
smart constructor.
entitlement :: Entitlement Source #
Creates a value of Entitlement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eDimension
- 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.eValue
- The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.eExpirationDate
- 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.eCustomerIdentifier
- 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.eProductCode
- The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
eDimension :: Lens' Entitlement (Maybe Text) Source #
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.
eValue :: Lens' Entitlement (Maybe EntitlementValue) Source #
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
eExpirationDate :: Lens' Entitlement (Maybe UTCTime) Source #
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.
eCustomerIdentifier :: Lens' Entitlement (Maybe Text) Source #
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.
eProductCode :: Lens' Entitlement (Maybe Text) Source #
The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
EntitlementValue
data EntitlementValue Source #
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
See: entitlementValue
smart constructor.
entitlementValue :: EntitlementValue Source #
Creates a value of EntitlementValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
evIntegerValue
- The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.evDoubleValue
- The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.evStringValue
- The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.evBooleanValue
- The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.
evIntegerValue :: Lens' EntitlementValue (Maybe Int) Source #
The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.
evDoubleValue :: Lens' EntitlementValue (Maybe Double) Source #
The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.
evStringValue :: Lens' EntitlementValue (Maybe Text) Source #
The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.
evBooleanValue :: Lens' EntitlementValue (Maybe Bool) Source #
The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.