| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LicenseManager.Types.GrantedLicense
Description
Synopsis
- data GrantedLicense = GrantedLicense' {
- beneficiary :: Maybe Text
- consumptionConfiguration :: Maybe ConsumptionConfiguration
- createTime :: Maybe Text
- entitlements :: Maybe [Entitlement]
- homeRegion :: Maybe Text
- issuer :: Maybe IssuerDetails
- licenseArn :: Maybe Text
- licenseMetadata :: Maybe [Metadata]
- licenseName :: Maybe Text
- productName :: Maybe Text
- productSKU :: Maybe Text
- receivedMetadata :: Maybe ReceivedMetadata
- status :: Maybe LicenseStatus
- validity :: Maybe DatetimeRange
- version :: Maybe Text
- newGrantedLicense :: GrantedLicense
- grantedLicense_beneficiary :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_consumptionConfiguration :: Lens' GrantedLicense (Maybe ConsumptionConfiguration)
- grantedLicense_createTime :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_entitlements :: Lens' GrantedLicense (Maybe [Entitlement])
- grantedLicense_homeRegion :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_issuer :: Lens' GrantedLicense (Maybe IssuerDetails)
- grantedLicense_licenseArn :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_licenseMetadata :: Lens' GrantedLicense (Maybe [Metadata])
- grantedLicense_licenseName :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_productName :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_productSKU :: Lens' GrantedLicense (Maybe Text)
- grantedLicense_receivedMetadata :: Lens' GrantedLicense (Maybe ReceivedMetadata)
- grantedLicense_status :: Lens' GrantedLicense (Maybe LicenseStatus)
- grantedLicense_validity :: Lens' GrantedLicense (Maybe DatetimeRange)
- grantedLicense_version :: Lens' GrantedLicense (Maybe Text)
Documentation
data GrantedLicense Source #
Describes a license that is granted to a grantee.
See: newGrantedLicense smart constructor.
Constructors
| GrantedLicense' | |
Fields
| |
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:beneficiary:GrantedLicense', grantedLicense_beneficiary - Granted license beneficiary.
$sel:consumptionConfiguration:GrantedLicense', grantedLicense_consumptionConfiguration - Configuration for consumption of the license.
$sel:createTime:GrantedLicense', grantedLicense_createTime - Creation time of the granted license.
$sel:entitlements:GrantedLicense', grantedLicense_entitlements - License entitlements.
$sel:homeRegion:GrantedLicense', grantedLicense_homeRegion - Home Region of the granted license.
$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:licenseName:GrantedLicense', grantedLicense_licenseName - License name.
$sel:productName:GrantedLicense', grantedLicense_productName - Product name.
$sel:productSKU:GrantedLicense', grantedLicense_productSKU - Product SKU.
$sel:receivedMetadata:GrantedLicense', grantedLicense_receivedMetadata - Granted license received metadata.
$sel:status:GrantedLicense', grantedLicense_status - Granted license status.
$sel:validity:GrantedLicense', grantedLicense_validity - Date and time range during which the granted license is valid, in
ISO8601-UTC format.
$sel:version:GrantedLicense', grantedLicense_version - Version of the granted license.
grantedLicense_beneficiary :: Lens' GrantedLicense (Maybe Text) Source #
Granted license beneficiary.
grantedLicense_consumptionConfiguration :: Lens' GrantedLicense (Maybe ConsumptionConfiguration) Source #
Configuration for consumption of the license.
grantedLicense_createTime :: Lens' GrantedLicense (Maybe Text) Source #
Creation time of the granted license.
grantedLicense_entitlements :: Lens' GrantedLicense (Maybe [Entitlement]) Source #
License entitlements.
grantedLicense_homeRegion :: Lens' GrantedLicense (Maybe Text) Source #
Home Region of the granted license.
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_licenseName :: Lens' GrantedLicense (Maybe Text) Source #
License name.
grantedLicense_productName :: Lens' GrantedLicense (Maybe Text) Source #
Product name.
grantedLicense_productSKU :: Lens' GrantedLicense (Maybe Text) Source #
Product SKU.
grantedLicense_receivedMetadata :: Lens' GrantedLicense (Maybe ReceivedMetadata) Source #
Granted license received metadata.
grantedLicense_status :: Lens' GrantedLicense (Maybe LicenseStatus) Source #
Granted license status.
grantedLicense_validity :: Lens' GrantedLicense (Maybe DatetimeRange) Source #
Date and time range during which the granted license is valid, in ISO8601-UTC format.
grantedLicense_version :: Lens' GrantedLicense (Maybe Text) Source #
Version of the granted license.