libZSservicesZSamazonka-license-managerZSamazonka-license-manager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LicenseManager.Types.Entitlement

Description

 
Synopsis

Documentation

data Entitlement Source #

Describes a resource entitled for use with a license.

See: newEntitlement smart constructor.

Constructors

Entitlement' 

Fields

Instances

Instances details
Eq Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

Read Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

Show Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

Generic Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

Associated Types

type Rep Entitlement :: Type -> Type #

NFData Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

Methods

rnf :: Entitlement -> () #

Hashable Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

ToJSON Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

FromJSON Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

type Rep Entitlement Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.Entitlement

type Rep Entitlement = D1 ('MetaData "Entitlement" "Amazonka.LicenseManager.Types.Entitlement" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "Entitlement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "overage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "allowCheckIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EntitlementUnit)))))

newEntitlement 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: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.