amazonka-license-manager-linux-subscriptions-2.0: Amazon License Manager Linux Subscriptions SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Description

 
Synopsis

Documentation

data Subscription Source #

An object which details a discovered Linux subscription.

See: newSubscription smart constructor.

Constructors

Subscription' 

Fields

  • instanceCount :: Maybe Integer

    The total amount of running instances using this subscription.

  • name :: Maybe Text

    The name of the subscription.

  • type' :: Maybe Text

    The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.

Instances

Instances details
FromJSON Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Generic Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Associated Types

type Rep Subscription :: Type -> Type #

Read Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Show Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

NFData Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Methods

rnf :: Subscription -> () #

Eq Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

Hashable Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

type Rep Subscription Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription

type Rep Subscription = D1 ('MetaData "Subscription" "Amazonka.LicenseManagerLinuxSubscriptions.Types.Subscription" "amazonka-license-manager-linux-subscriptions-2.0-AO29CJRkexAJPaOYE130NE" 'False) (C1 ('MetaCons "Subscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSubscription :: Subscription Source #

Create a value of Subscription 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:instanceCount:Subscription', subscription_instanceCount - The total amount of running instances using this subscription.

$sel:name:Subscription', subscription_name - The name of the subscription.

$sel:type':Subscription', subscription_type - The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.

subscription_instanceCount :: Lens' Subscription (Maybe Integer) Source #

The total amount of running instances using this subscription.

subscription_name :: Lens' Subscription (Maybe Text) Source #

The name of the subscription.

subscription_type :: Lens' Subscription (Maybe Text) Source #

The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.