Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Offering = Offering' {
- resourceSpecification :: Maybe ReservationResourceSpecification
- currencyCode :: Maybe Text
- arn :: Maybe Text
- offeringId :: Maybe Text
- region :: Maybe Text
- offeringType :: Maybe OfferingType
- usagePrice :: Maybe Double
- fixedPrice :: Maybe Double
- durationUnits :: Maybe OfferingDurationUnits
- offeringDescription :: Maybe Text
- duration :: Maybe Int
- newOffering :: Offering
- offering_resourceSpecification :: Lens' Offering (Maybe ReservationResourceSpecification)
- offering_currencyCode :: Lens' Offering (Maybe Text)
- offering_arn :: Lens' Offering (Maybe Text)
- offering_offeringId :: Lens' Offering (Maybe Text)
- offering_region :: Lens' Offering (Maybe Text)
- offering_offeringType :: Lens' Offering (Maybe OfferingType)
- offering_usagePrice :: Lens' Offering (Maybe Double)
- offering_fixedPrice :: Lens' Offering (Maybe Double)
- offering_durationUnits :: Lens' Offering (Maybe OfferingDurationUnits)
- offering_offeringDescription :: Lens' Offering (Maybe Text)
- offering_duration :: Lens' Offering (Maybe Int)
Documentation
Reserved resources available for purchase
See: newOffering
smart constructor.
Offering' | |
|
Instances
newOffering :: Offering Source #
Create a value of Offering
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:resourceSpecification:Offering'
, offering_resourceSpecification
- Resource configuration details
$sel:currencyCode:Offering'
, offering_currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
'USD'
$sel:arn:Offering'
, offering_arn
- Unique offering ARN, e.g.
'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
$sel:offeringId:Offering'
, offering_offeringId
- Unique offering ID, e.g. '87654321'
$sel:region:Offering'
, offering_region
- AWS region, e.g. 'us-west-2'
$sel:offeringType:Offering'
, offering_offeringType
- Offering type, e.g. 'NO_UPFRONT'
$sel:usagePrice:Offering'
, offering_usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'
$sel:fixedPrice:Offering'
, offering_fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a
NO_UPFRONT offering
$sel:durationUnits:Offering'
, offering_durationUnits
- Units for duration, e.g. 'MONTHS'
$sel:offeringDescription:Offering'
, offering_offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
standard VQ in US West (Oregon)'
$sel:duration:Offering'
, offering_duration
- Lease duration, e.g. '12'
offering_resourceSpecification :: Lens' Offering (Maybe ReservationResourceSpecification) Source #
Resource configuration details
offering_currencyCode :: Lens' Offering (Maybe Text) Source #
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
offering_arn :: Lens' Offering (Maybe Text) Source #
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
offering_offeringType :: Lens' Offering (Maybe OfferingType) Source #
Offering type, e.g. 'NO_UPFRONT'
offering_usagePrice :: Lens' Offering (Maybe Double) Source #
Recurring usage charge for each reserved resource, e.g. '157.0'
offering_fixedPrice :: Lens' Offering (Maybe Double) Source #
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
offering_durationUnits :: Lens' Offering (Maybe OfferingDurationUnits) Source #
Units for duration, e.g. 'MONTHS'