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

Description

 
Synopsis

Documentation

data Instance Source #

Details discovered information about a running instance using Linux subscriptions.

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
FromJSON Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Read Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

NFData Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Methods

rnf :: Instance -> () #

Eq Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Hashable Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

type Rep Instance Source # 
Instance details

Defined in Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.LicenseManagerLinuxSubscriptions.Types.Instance" "amazonka-license-manager-linux-subscriptions-2.0-AO29CJRkexAJPaOYE130NE" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "productCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usageOperation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newInstance :: Instance Source #

Create a value of Instance 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:accountID:Instance', instance_accountID - The account ID which owns the instance.

$sel:amiId:Instance', instance_amiId - The AMI ID used to launch the instance.

$sel:instanceID:Instance', instance_instanceID - The instance ID of the resource.

$sel:instanceType:Instance', instance_instanceType - The instance type of the resource.

$sel:lastUpdatedTime:Instance', instance_lastUpdatedTime - The time in which the last discovery updated the instance details.

$sel:productCode:Instance', instance_productCode - The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .

$sel:region:Instance', instance_region - The Region the instance is running in.

$sel:status:Instance', instance_status - The status of the instance.

$sel:subscriptionName:Instance', instance_subscriptionName - The name of the subscription being used by the instance.

$sel:usageOperation:Instance', instance_usageOperation - The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.

instance_accountID :: Lens' Instance (Maybe Text) Source #

The account ID which owns the instance.

instance_amiId :: Lens' Instance (Maybe Text) Source #

The AMI ID used to launch the instance.

instance_instanceID :: Lens' Instance (Maybe Text) Source #

The instance ID of the resource.

instance_instanceType :: Lens' Instance (Maybe Text) Source #

The instance type of the resource.

instance_lastUpdatedTime :: Lens' Instance (Maybe Text) Source #

The time in which the last discovery updated the instance details.

instance_productCode :: Lens' Instance (Maybe [Text]) Source #

The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .

instance_region :: Lens' Instance (Maybe Text) Source #

The Region the instance is running in.

instance_status :: Lens' Instance (Maybe Text) Source #

The status of the instance.

instance_subscriptionName :: Lens' Instance (Maybe Text) Source #

The name of the subscription being used by the instance.

instance_usageOperation :: Lens' Instance (Maybe Text) Source #

The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.