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

Description

 
Synopsis

Documentation

data HostOffering Source #

Details about the Dedicated Host Reservation offering.

See: newHostOffering smart constructor.

Constructors

HostOffering' 

Fields

Instances

Instances details
FromXML HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

Generic HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

Associated Types

type Rep HostOffering :: Type -> Type #

Read HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

Show HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

NFData HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

Methods

rnf :: HostOffering -> () #

Eq HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

Hashable HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

type Rep HostOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.HostOffering

newHostOffering :: HostOffering Source #

Create a value of HostOffering 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:currencyCode:HostOffering', hostOffering_currencyCode - The currency of the offering.

$sel:duration:HostOffering', hostOffering_duration - The duration of the offering (in seconds).

$sel:hourlyPrice:HostOffering', hostOffering_hourlyPrice - The hourly price of the offering.

$sel:instanceFamily:HostOffering', hostOffering_instanceFamily - The instance family of the offering.

$sel:offeringId:HostOffering', hostOffering_offeringId - The ID of the offering.

$sel:paymentOption:HostOffering', hostOffering_paymentOption - The available payment option.

$sel:upfrontPrice:HostOffering', hostOffering_upfrontPrice - The upfront price of the offering. Does not apply to No Upfront offerings.

hostOffering_duration :: Lens' HostOffering (Maybe Int) Source #

The duration of the offering (in seconds).

hostOffering_hourlyPrice :: Lens' HostOffering (Maybe Text) Source #

The hourly price of the offering.

hostOffering_instanceFamily :: Lens' HostOffering (Maybe Text) Source #

The instance family of the offering.

hostOffering_upfrontPrice :: Lens' HostOffering (Maybe Text) Source #

The upfront price of the offering. Does not apply to No Upfront offerings.