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 GrantedLicense = GrantedLicense' {
- status :: Maybe LicenseStatus
- productName :: Maybe Text
- licenseName :: Maybe Text
- productSKU :: Maybe Text
- homeRegion :: Maybe Text
- receivedMetadata :: Maybe ReceivedMetadata
- version :: Maybe Text
- entitlements :: Maybe [Entitlement]
- validity :: Maybe DatetimeRange
- consumptionConfiguration :: Maybe ConsumptionConfiguration
- beneficiary :: Maybe Text
- issuer :: Maybe IssuerDetails
- licenseArn :: Maybe Text
- licenseMetadata :: Maybe [Metadata]
- createTime :: Maybe Text
- newGrantedLicense :: GrantedLicense
- grantedLicense_status :: Lens' GrantedLicense (Maybe LicenseStatus)
- grantedLicense_productName :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_licenseName :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_productSKU :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_homeRegion :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_receivedMetadata :: Lens' GrantedLicense (Maybe ReceivedMetadata)
- grantedLicense_version :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_entitlements :: Lens' GrantedLicense (Maybe [Entitlement])
- grantedLicense_validity :: Lens' GrantedLicense (Maybe DatetimeRange)
- grantedLicense_consumptionConfiguration :: Lens' GrantedLicense (Maybe ConsumptionConfiguration)
- grantedLicense_beneficiary :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_issuer :: Lens' GrantedLicense (Maybe IssuerDetails)
- grantedLicense_licenseArn :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_licenseMetadata :: Lens' GrantedLicense (Maybe [Metadata])
- grantedLicense_createTime :: Lens' GrantedLicense (Maybe Text)
Documentation
data GrantedLicense Source #
Describes a license that is granted to a grantee.
See: newGrantedLicense
smart constructor.
GrantedLicense' | |
|
Instances
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_status :: Lens' GrantedLicense (Maybe LicenseStatus) Source #
Granted license status.
grantedLicense_productName :: Lens' GrantedLicense (Maybe Text) Source #
Product name.
grantedLicense_licenseName :: Lens' GrantedLicense (Maybe Text) Source #
License name.
grantedLicense_productSKU :: Lens' GrantedLicense (Maybe Text) Source #
Product SKU.
grantedLicense_homeRegion :: Lens' GrantedLicense (Maybe Text) Source #
Home Region of the granted license.
grantedLicense_receivedMetadata :: Lens' GrantedLicense (Maybe ReceivedMetadata) Source #
Granted license received metadata.
grantedLicense_version :: Lens' GrantedLicense (Maybe Text) Source #
Version of the granted license.
grantedLicense_entitlements :: Lens' GrantedLicense (Maybe [Entitlement]) Source #
License entitlements.
grantedLicense_validity :: Lens' GrantedLicense (Maybe DatetimeRange) Source #
Date and time range during which the granted license is valid, in ISO8601-UTC format.
grantedLicense_consumptionConfiguration :: Lens' GrantedLicense (Maybe ConsumptionConfiguration) Source #
Configuration for consumption of the license.
grantedLicense_beneficiary :: Lens' GrantedLicense (Maybe Text) Source #
Granted license beneficiary.
grantedLicense_issuer :: Lens' GrantedLicense (Maybe IssuerDetails) Source #
Granted license issuer.
grantedLicense_licenseArn :: Lens' GrantedLicense (Maybe Text) Source #
Amazon Resource Name (ARN) of the license.
grantedLicense_licenseMetadata :: Lens' GrantedLicense (Maybe [Metadata]) Source #
Granted license metadata.
grantedLicense_createTime :: Lens' GrantedLicense (Maybe Text) Source #
Creation time of the granted license.