Copyright | (c) 2013-2021 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 |
Synopsis
- data Entitlement = Entitlement' {}
- newEntitlement :: Entitlement
- entitlement_dimension :: Lens' Entitlement (Maybe Text)
- entitlement_value :: Lens' Entitlement (Maybe EntitlementValue)
- entitlement_expirationDate :: Lens' Entitlement (Maybe UTCTime)
- entitlement_customerIdentifier :: Lens' Entitlement (Maybe Text)
- entitlement_productCode :: Lens' Entitlement (Maybe Text)
Documentation
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: newEntitlement
smart constructor.
Entitlement' | |
|
Instances
newEntitlement :: Entitlement Source #
Create a value of Entitlement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dimension:Entitlement'
, entitlement_dimension
- 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.
$sel:value:Entitlement'
, entitlement_value
- The EntitlementValue represents the amount of capacity that the customer
is entitled to for the product.
$sel:expirationDate:Entitlement'
, entitlement_expirationDate
- 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.
$sel:customerIdentifier:Entitlement'
, entitlement_customerIdentifier
- 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.
$sel:productCode:Entitlement'
, entitlement_productCode
- The product code for which the given entitlement applies. Product codes
are provided by AWS Marketplace when the product listing is created.
entitlement_dimension :: 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.
entitlement_value :: Lens' Entitlement (Maybe EntitlementValue) Source #
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
entitlement_expirationDate :: 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.
entitlement_customerIdentifier :: 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.
entitlement_productCode :: 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.