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

Description

 
Synopsis

Documentation

data Host Source #

Describes the properties of the Dedicated Host.

See: newHost smart constructor.

Constructors

Host' 

Fields

Instances

Instances details
FromXML Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Methods

parseXML :: [Node] -> Either String Host #

Generic Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Associated Types

type Rep Host :: Type -> Type #

Methods

from :: Host -> Rep Host x #

to :: Rep Host x -> Host #

Read Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Show Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Methods

showsPrec :: Int -> Host -> ShowS #

show :: Host -> String #

showList :: [Host] -> ShowS #

NFData Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Methods

rnf :: Host -> () #

Eq Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Methods

(==) :: Host -> Host -> Bool #

(/=) :: Host -> Host -> Bool #

Hashable Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

Methods

hashWithSalt :: Int -> Host -> Int #

hash :: Host -> Int #

type Rep Host Source # 
Instance details

Defined in Amazonka.EC2.Types.Host

type Rep Host = D1 ('MetaData "Host" "Amazonka.EC2.Types.Host" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "Host'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "allocationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "allowsMultipleInstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowsMultipleInstanceTypes))) :*: (S1 ('MetaSel ('Just "autoPlacement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoPlacement)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "availabilityZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "availableCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AvailableCapacity))) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hostId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HostProperties)))))) :*: (((S1 ('MetaSel ('Just "hostRecovery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HostRecovery)) :*: S1 ('MetaSel ('Just "hostReservationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HostInstance])) :*: S1 ('MetaSel ('Just "memberOfServiceLinkedResourceGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "outpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "releaseTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllocationState)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))))

newHost :: Host Source #

Create a value of Host 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:allocationTime:Host', host_allocationTime - The time that the Dedicated Host was allocated.

$sel:allowsMultipleInstanceTypes:Host', host_allowsMultipleInstanceTypes - Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

$sel:autoPlacement:Host', host_autoPlacement - Whether auto-placement is on or off.

$sel:availabilityZone:Host', host_availabilityZone - The Availability Zone of the Dedicated Host.

$sel:availabilityZoneId:Host', host_availabilityZoneId - The ID of the Availability Zone in which the Dedicated Host is allocated.

$sel:availableCapacity:Host', host_availableCapacity - Information about the instances running on the Dedicated Host.

$sel:clientToken:Host', host_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

$sel:hostId:Host', host_hostId - The ID of the Dedicated Host.

$sel:hostProperties:Host', host_hostProperties - The hardware specifications of the Dedicated Host.

$sel:hostRecovery:Host', host_hostRecovery - Indicates whether host recovery is enabled or disabled for the Dedicated Host.

$sel:hostReservationId:Host', host_hostReservationId - The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

$sel:instances:Host', host_instances - The IDs and instance type that are currently running on the Dedicated Host.

$sel:memberOfServiceLinkedResourceGroup:Host', host_memberOfServiceLinkedResourceGroup - Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

$sel:outpostArn:Host', host_outpostArn - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

Host, host_ownerId - The ID of the Amazon Web Services account that owns the Dedicated Host.

$sel:releaseTime:Host', host_releaseTime - The time that the Dedicated Host was released.

$sel:state:Host', host_state - The Dedicated Host's state.

$sel:tags:Host', host_tags - Any tags assigned to the Dedicated Host.

host_allocationTime :: Lens' Host (Maybe UTCTime) Source #

The time that the Dedicated Host was allocated.

host_allowsMultipleInstanceTypes :: Lens' Host (Maybe AllowsMultipleInstanceTypes) Source #

Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

host_autoPlacement :: Lens' Host (Maybe AutoPlacement) Source #

Whether auto-placement is on or off.

host_availabilityZone :: Lens' Host (Maybe Text) Source #

The Availability Zone of the Dedicated Host.

host_availabilityZoneId :: Lens' Host (Maybe Text) Source #

The ID of the Availability Zone in which the Dedicated Host is allocated.

host_availableCapacity :: Lens' Host (Maybe AvailableCapacity) Source #

Information about the instances running on the Dedicated Host.

host_clientToken :: Lens' Host (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

host_hostId :: Lens' Host (Maybe Text) Source #

The ID of the Dedicated Host.

host_hostProperties :: Lens' Host (Maybe HostProperties) Source #

The hardware specifications of the Dedicated Host.

host_hostRecovery :: Lens' Host (Maybe HostRecovery) Source #

Indicates whether host recovery is enabled or disabled for the Dedicated Host.

host_hostReservationId :: Lens' Host (Maybe Text) Source #

The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

host_instances :: Lens' Host (Maybe [HostInstance]) Source #

The IDs and instance type that are currently running on the Dedicated Host.

host_memberOfServiceLinkedResourceGroup :: Lens' Host (Maybe Bool) Source #

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

host_outpostArn :: Lens' Host (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

host_ownerId :: Lens' Host (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the Dedicated Host.

host_releaseTime :: Lens' Host (Maybe UTCTime) Source #

The time that the Dedicated Host was released.

host_state :: Lens' Host (Maybe AllocationState) Source #

The Dedicated Host's state.

host_tags :: Lens' Host (Maybe [Tag]) Source #

Any tags assigned to the Dedicated Host.