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

Description

 
Synopsis

Documentation

data LicenseConfiguration Source #

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

See: newLicenseConfiguration smart constructor.

Constructors

LicenseConfiguration' 

Fields

Instances

Instances details
Eq LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

Read LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

Show LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

Generic LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

Associated Types

type Rep LicenseConfiguration :: Type -> Type #

NFData LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

Methods

rnf :: LicenseConfiguration -> () #

Hashable LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

FromJSON LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

type Rep LicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.Types.LicenseConfiguration

type Rep LicenseConfiguration = D1 ('MetaData "LicenseConfiguration" "Amazonka.LicenseManager.Types.LicenseConfiguration" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "LicenseConfiguration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "consumedLicenseSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConsumedLicenseSummary])) :*: S1 ('MetaSel ('Just "licenseCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "managedResourceSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ManagedResourceSummary])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "licenseCountHardLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "disassociateWhenNotFound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "productInformationList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProductInformation])) :*: S1 ('MetaSel ('Just "licenseCountingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseCountingType))) :*: (S1 ('MetaSel ('Just "automatedDiscoveryInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutomatedDiscoveryInformation)) :*: S1 ('MetaSel ('Just "consumedLicenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "licenseRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "licenseConfigurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseConfigurationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newLicenseConfiguration :: LicenseConfiguration Source #

Create a value of LicenseConfiguration 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:LicenseConfiguration', licenseConfiguration_status - Status of the license configuration.

$sel:ownerAccountId:LicenseConfiguration', licenseConfiguration_ownerAccountId - Account ID of the license configuration's owner.

$sel:consumedLicenseSummaryList:LicenseConfiguration', licenseConfiguration_consumedLicenseSummaryList - Summaries for licenses consumed by various resources.

$sel:licenseCount:LicenseConfiguration', licenseConfiguration_licenseCount - Number of licenses managed by the license configuration.

$sel:managedResourceSummaryList:LicenseConfiguration', licenseConfiguration_managedResourceSummaryList - Summaries for managed resources.

$sel:name:LicenseConfiguration', licenseConfiguration_name - Name of the license configuration.

$sel:licenseCountHardLimit:LicenseConfiguration', licenseConfiguration_licenseCountHardLimit - Number of available licenses as a hard limit.

$sel:disassociateWhenNotFound:LicenseConfiguration', licenseConfiguration_disassociateWhenNotFound - When true, disassociates a resource when software is uninstalled.

$sel:productInformationList:LicenseConfiguration', licenseConfiguration_productInformationList - Product information.

$sel:licenseCountingType:LicenseConfiguration', licenseConfiguration_licenseCountingType - Dimension to use to track the license inventory.

$sel:automatedDiscoveryInformation:LicenseConfiguration', licenseConfiguration_automatedDiscoveryInformation - Automated discovery information.

$sel:consumedLicenses:LicenseConfiguration', licenseConfiguration_consumedLicenses - Number of licenses consumed.

$sel:licenseRules:LicenseConfiguration', licenseConfiguration_licenseRules - License rules.

$sel:licenseConfigurationId:LicenseConfiguration', licenseConfiguration_licenseConfigurationId - Unique ID of the license configuration.

$sel:description:LicenseConfiguration', licenseConfiguration_description - Description of the license configuration.

$sel:licenseConfigurationArn:LicenseConfiguration', licenseConfiguration_licenseConfigurationArn - Amazon Resource Name (ARN) of the license configuration.

licenseConfiguration_status :: Lens' LicenseConfiguration (Maybe Text) Source #

Status of the license configuration.

licenseConfiguration_ownerAccountId :: Lens' LicenseConfiguration (Maybe Text) Source #

Account ID of the license configuration's owner.

licenseConfiguration_licenseCount :: Lens' LicenseConfiguration (Maybe Integer) Source #

Number of licenses managed by the license configuration.

licenseConfiguration_name :: Lens' LicenseConfiguration (Maybe Text) Source #

Name of the license configuration.

licenseConfiguration_licenseCountHardLimit :: Lens' LicenseConfiguration (Maybe Bool) Source #

Number of available licenses as a hard limit.

licenseConfiguration_disassociateWhenNotFound :: Lens' LicenseConfiguration (Maybe Bool) Source #

When true, disassociates a resource when software is uninstalled.

licenseConfiguration_description :: Lens' LicenseConfiguration (Maybe Text) Source #

Description of the license configuration.

licenseConfiguration_licenseConfigurationArn :: Lens' LicenseConfiguration (Maybe Text) Source #

Amazon Resource Name (ARN) of the license configuration.