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 :: Text -> EntitlementUnit -> Entitlement
- entitlement_maxCount :: Lens' Entitlement (Maybe Integer)
- entitlement_value :: Lens' Entitlement (Maybe Text)
- entitlement_overage :: Lens' Entitlement (Maybe Bool)
- entitlement_allowCheckIn :: Lens' Entitlement (Maybe Bool)
- entitlement_name :: Lens' Entitlement Text
- entitlement_unit :: Lens' Entitlement EntitlementUnit
Documentation
data Entitlement Source #
Describes a resource entitled for use with a license.
See: newEntitlement
smart constructor.
Entitlement' | |
|
Instances
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:maxCount:Entitlement'
, entitlement_maxCount
- Maximum entitlement count. Use if the unit is not None.
$sel:value:Entitlement'
, entitlement_value
- Entitlement resource. Use only if the unit is None.
$sel:overage:Entitlement'
, entitlement_overage
- Indicates whether overages are allowed.
$sel:allowCheckIn:Entitlement'
, entitlement_allowCheckIn
- Indicates whether check-ins are allowed.
$sel:name:Entitlement'
, entitlement_name
- Entitlement name.
$sel:unit:Entitlement'
, entitlement_unit
- Entitlement unit.
entitlement_maxCount :: Lens' Entitlement (Maybe Integer) Source #
Maximum entitlement count. Use if the unit is not None.
entitlement_value :: Lens' Entitlement (Maybe Text) Source #
Entitlement resource. Use only if the unit is None.
entitlement_overage :: Lens' Entitlement (Maybe Bool) Source #
Indicates whether overages are allowed.
entitlement_allowCheckIn :: Lens' Entitlement (Maybe Bool) Source #
Indicates whether check-ins are allowed.
entitlement_name :: Lens' Entitlement Text Source #
Entitlement name.
entitlement_unit :: Lens' Entitlement EntitlementUnit Source #
Entitlement unit.