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 EntitlementUsage = EntitlementUsage' {
- maxCount :: Maybe Text
- name :: Text
- consumedValue :: Text
- unit :: EntitlementDataUnit
- newEntitlementUsage :: Text -> Text -> EntitlementDataUnit -> EntitlementUsage
- entitlementUsage_maxCount :: Lens' EntitlementUsage (Maybe Text)
- entitlementUsage_name :: Lens' EntitlementUsage Text
- entitlementUsage_consumedValue :: Lens' EntitlementUsage Text
- entitlementUsage_unit :: Lens' EntitlementUsage EntitlementDataUnit
Documentation
data EntitlementUsage Source #
Usage associated with an entitlement resource.
See: newEntitlementUsage
smart constructor.
EntitlementUsage' | |
|
Instances
:: Text | |
-> Text | |
-> EntitlementDataUnit | |
-> EntitlementUsage |
Create a value of EntitlementUsage
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:maxCount:EntitlementUsage'
, entitlementUsage_maxCount
- Maximum entitlement usage count.
$sel:name:EntitlementUsage'
, entitlementUsage_name
- Entitlement usage name.
$sel:consumedValue:EntitlementUsage'
, entitlementUsage_consumedValue
- Resource usage consumed.
$sel:unit:EntitlementUsage'
, entitlementUsage_unit
- Entitlement usage unit.
entitlementUsage_maxCount :: Lens' EntitlementUsage (Maybe Text) Source #
Maximum entitlement usage count.
entitlementUsage_name :: Lens' EntitlementUsage Text Source #
Entitlement usage name.
entitlementUsage_consumedValue :: Lens' EntitlementUsage Text Source #
Resource usage consumed.
entitlementUsage_unit :: Lens' EntitlementUsage EntitlementDataUnit Source #
Entitlement usage unit.