amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.HostInstance

Description

 
Synopsis

Documentation

data HostInstance Source #

Describes an instance running on a Dedicated Host.

See: newHostInstance smart constructor.

Constructors

HostInstance' 

Fields

Instances

Instances details
FromXML HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

Generic HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

Associated Types

type Rep HostInstance :: Type -> Type #

Read HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

Show HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

NFData HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

Methods

rnf :: HostInstance -> () #

Eq HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

Hashable HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

type Rep HostInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.HostInstance

type Rep HostInstance = D1 ('MetaData "HostInstance" "Amazonka.EC2.Types.HostInstance" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "HostInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newHostInstance :: HostInstance Source #

Create a value of HostInstance 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:instanceId:HostInstance', hostInstance_instanceId - The ID of instance that is running on the Dedicated Host.

$sel:instanceType:HostInstance', hostInstance_instanceType - The instance type (for example, m3.medium) of the running instance.

$sel:ownerId:HostInstance', hostInstance_ownerId - The ID of the Amazon Web Services account that owns the instance.

hostInstance_instanceId :: Lens' HostInstance (Maybe Text) Source #

The ID of instance that is running on the Dedicated Host.

hostInstance_instanceType :: Lens' HostInstance (Maybe Text) Source #

The instance type (for example, m3.medium) of the running instance.

hostInstance_ownerId :: Lens' HostInstance (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the instance.