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.GrantedLicense

Description

 
Synopsis

Documentation

data GrantedLicense Source #

Describes a license that is granted to a grantee.

See: newGrantedLicense smart constructor.

Constructors

GrantedLicense' 

Fields

Instances

Instances details
Eq GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

Read GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

Show GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

Generic GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

Associated Types

type Rep GrantedLicense :: Type -> Type #

NFData GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

Methods

rnf :: GrantedLicense -> () #

Hashable GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

FromJSON GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

type Rep GrantedLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.GrantedLicense

type Rep GrantedLicense = D1 ('MetaData "GrantedLicense" "Amazonka.LicenseManager.Types.GrantedLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "GrantedLicense'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseStatus)) :*: (S1 ('MetaSel ('Just "productName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "productSKU") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "receivedMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReceivedMetadata)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Entitlement])) :*: S1 ('MetaSel ('Just "validity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatetimeRange))) :*: (S1 ('MetaSel ('Just "consumptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConsumptionConfiguration)) :*: S1 ('MetaSel ('Just "beneficiary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IssuerDetails)) :*: S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "licenseMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata])) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newGrantedLicense :: GrantedLicense Source #

Create a value of GrantedLicense 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:status:GrantedLicense', grantedLicense_status - Granted license status.

$sel:productName:GrantedLicense', grantedLicense_productName - Product name.

$sel:licenseName:GrantedLicense', grantedLicense_licenseName - License name.

$sel:productSKU:GrantedLicense', grantedLicense_productSKU - Product SKU.

$sel:homeRegion:GrantedLicense', grantedLicense_homeRegion - Home Region of the granted license.

$sel:receivedMetadata:GrantedLicense', grantedLicense_receivedMetadata - Granted license received metadata.

$sel:version:GrantedLicense', grantedLicense_version - Version of the granted license.

$sel:entitlements:GrantedLicense', grantedLicense_entitlements - License entitlements.

$sel:validity:GrantedLicense', grantedLicense_validity - Date and time range during which the granted license is valid, in ISO8601-UTC format.

$sel:consumptionConfiguration:GrantedLicense', grantedLicense_consumptionConfiguration - Configuration for consumption of the license.

$sel:beneficiary:GrantedLicense', grantedLicense_beneficiary - Granted license beneficiary.

$sel:issuer:GrantedLicense', grantedLicense_issuer - Granted license issuer.

$sel:licenseArn:GrantedLicense', grantedLicense_licenseArn - Amazon Resource Name (ARN) of the license.

$sel:licenseMetadata:GrantedLicense', grantedLicense_licenseMetadata - Granted license metadata.

$sel:createTime:GrantedLicense', grantedLicense_createTime - Creation time of the granted license.

grantedLicense_homeRegion :: Lens' GrantedLicense (Maybe Text) Source #

Home Region of the granted license.

grantedLicense_version :: Lens' GrantedLicense (Maybe Text) Source #

Version of the granted license.

grantedLicense_validity :: Lens' GrantedLicense (Maybe DatetimeRange) Source #

Date and time range during which the granted license is valid, in ISO8601-UTC format.

grantedLicense_licenseArn :: Lens' GrantedLicense (Maybe Text) Source #

Amazon Resource Name (ARN) of the license.

grantedLicense_createTime :: Lens' GrantedLicense (Maybe Text) Source #

Creation time of the granted license.