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

Description

 
Synopsis

Documentation

data LicenseConfigurationUsage Source #

Details about the usage of a resource associated with a license configuration.

See: newLicenseConfigurationUsage smart constructor.

Constructors

LicenseConfigurationUsage' 

Fields

Instances

Instances details
Eq LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

Read LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

Show LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

Generic LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

Associated Types

type Rep LicenseConfigurationUsage :: Type -> Type #

NFData LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

Hashable LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

FromJSON LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

type Rep LicenseConfigurationUsage Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfigurationUsage

type Rep LicenseConfigurationUsage = D1 ('MetaData "LicenseConfigurationUsage" "Amazonka.LicenseManager.Types.LicenseConfigurationUsage" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "LicenseConfigurationUsage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: (S1 ('MetaSel ('Just "resourceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "consumedLicenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "resourceOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newLicenseConfigurationUsage :: LicenseConfigurationUsage Source #

Create a value of LicenseConfigurationUsage 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:resourceType:LicenseConfigurationUsage', licenseConfigurationUsage_resourceType - Type of resource.

$sel:resourceStatus:LicenseConfigurationUsage', licenseConfigurationUsage_resourceStatus - Status of the resource.

$sel:associationTime:LicenseConfigurationUsage', licenseConfigurationUsage_associationTime - Time when the license configuration was initially associated with the resource.

$sel:resourceArn:LicenseConfigurationUsage', licenseConfigurationUsage_resourceArn - Amazon Resource Name (ARN) of the resource.

$sel:consumedLicenses:LicenseConfigurationUsage', licenseConfigurationUsage_consumedLicenses - Number of licenses consumed by the resource.

$sel:resourceOwnerId:LicenseConfigurationUsage', licenseConfigurationUsage_resourceOwnerId - ID of the account that owns the resource.

licenseConfigurationUsage_associationTime :: Lens' LicenseConfigurationUsage (Maybe UTCTime) Source #

Time when the license configuration was initially associated with the resource.