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

Description

 
Synopsis

Documentation

data License Source #

Software license that is managed in License Manager.

See: newLicense smart constructor.

Constructors

License' 

Fields

Instances

Instances details
Eq License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Methods

(==) :: License -> License -> Bool #

(/=) :: License -> License -> Bool #

Read License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Show License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Generic License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Associated Types

type Rep License :: Type -> Type #

Methods

from :: License -> Rep License x #

to :: Rep License x -> License #

NFData License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Methods

rnf :: License -> () #

Hashable License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

Methods

hashWithSalt :: Int -> License -> Int #

hash :: License -> Int #

FromJSON License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

type Rep License Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.License

type Rep License = D1 ('MetaData "License" "Amazonka.LicenseManager.Types.License" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "License'" '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 "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)))))))

newLicense :: License Source #

Create a value of License 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:License', license_status - License status.

$sel:productName:License', license_productName - Product name.

$sel:licenseName:License', license_licenseName - License name.

$sel:productSKU:License', license_productSKU - Product SKU.

$sel:homeRegion:License', license_homeRegion - Home Region of the license.

$sel:version:License', license_version - License version.

$sel:entitlements:License', license_entitlements - License entitlements.

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

$sel:consumptionConfiguration:License', license_consumptionConfiguration - Configuration for consumption of the license.

$sel:beneficiary:License', license_beneficiary - License beneficiary.

$sel:issuer:License', license_issuer - License issuer.

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

$sel:licenseMetadata:License', license_licenseMetadata - License metadata.

$sel:createTime:License', license_createTime - License creation time.

license_homeRegion :: Lens' License (Maybe Text) Source #

Home Region of the license.

license_validity :: Lens' License (Maybe DatetimeRange) Source #

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

license_consumptionConfiguration :: Lens' License (Maybe ConsumptionConfiguration) Source #

Configuration for consumption of the license.

license_licenseArn :: Lens' License (Maybe Text) Source #

Amazon Resource Name (ARN) of the license.

license_createTime :: Lens' License (Maybe Text) Source #

License creation time.