| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.HostOffering
Description
Synopsis
- data HostOffering = HostOffering' {}
- newHostOffering :: HostOffering
- hostOffering_currencyCode :: Lens' HostOffering (Maybe CurrencyCodeValues)
- hostOffering_duration :: Lens' HostOffering (Maybe Int)
- hostOffering_hourlyPrice :: Lens' HostOffering (Maybe Text)
- hostOffering_instanceFamily :: Lens' HostOffering (Maybe Text)
- hostOffering_offeringId :: Lens' HostOffering (Maybe Text)
- hostOffering_paymentOption :: Lens' HostOffering (Maybe PaymentOption)
- hostOffering_upfrontPrice :: Lens' HostOffering (Maybe Text)
Documentation
data HostOffering Source #
Details about the Dedicated Host Reservation offering.
See: newHostOffering smart constructor.
Constructors
| HostOffering' | |
Fields
| |
Instances
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_currencyCode :: Lens' HostOffering (Maybe CurrencyCodeValues) Source #
The currency of the offering.
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_offeringId :: Lens' HostOffering (Maybe Text) Source #
The ID of the offering.
hostOffering_paymentOption :: Lens' HostOffering (Maybe PaymentOption) Source #
The available payment option.
hostOffering_upfrontPrice :: Lens' HostOffering (Maybe Text) Source #
The upfront price of the offering. Does not apply to No Upfront offerings.