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 License = License' {
- status :: Maybe LicenseStatus
- productName :: Maybe Text
- licenseName :: Maybe Text
- productSKU :: Maybe Text
- homeRegion :: Maybe Text
- 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
- newLicense :: License
- license_status :: Lens' License (Maybe LicenseStatus)
- license_productName :: Lens' License (Maybe Text)
- license_licenseName :: Lens' License (Maybe Text)
- license_productSKU :: Lens' License (Maybe Text)
- license_homeRegion :: Lens' License (Maybe Text)
- license_version :: Lens' License (Maybe Text)
- license_entitlements :: Lens' License (Maybe [Entitlement])
- license_validity :: Lens' License (Maybe DatetimeRange)
- license_consumptionConfiguration :: Lens' License (Maybe ConsumptionConfiguration)
- license_beneficiary :: Lens' License (Maybe Text)
- license_issuer :: Lens' License (Maybe IssuerDetails)
- license_licenseArn :: Lens' License (Maybe Text)
- license_licenseMetadata :: Lens' License (Maybe [Metadata])
- license_createTime :: Lens' License (Maybe Text)
Documentation
Software license that is managed in License Manager.
See: newLicense
smart constructor.
License' | |
|
Instances
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_status :: Lens' License (Maybe LicenseStatus) Source #
License status.
license_entitlements :: Lens' License (Maybe [Entitlement]) Source #
License entitlements.
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_issuer :: Lens' License (Maybe IssuerDetails) Source #
License issuer.