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 |
Synopsis
- data Offering = Offering' {
- arn :: Maybe Text
- currencyCode :: Maybe Text
- duration :: Maybe Int
- durationUnits :: Maybe OfferingDurationUnits
- fixedPrice :: Maybe Double
- offeringDescription :: Maybe Text
- offeringId :: Maybe Text
- offeringType :: Maybe OfferingType
- region :: Maybe Text
- resourceSpecification :: Maybe ReservationResourceSpecification
- usagePrice :: Maybe Double
- newOffering :: Offering
- offering_arn :: Lens' Offering (Maybe Text)
- offering_currencyCode :: Lens' Offering (Maybe Text)
- offering_duration :: Lens' Offering (Maybe Int)
- offering_durationUnits :: Lens' Offering (Maybe OfferingDurationUnits)
- offering_fixedPrice :: Lens' Offering (Maybe Double)
- offering_offeringDescription :: Lens' Offering (Maybe Text)
- offering_offeringId :: Lens' Offering (Maybe Text)
- offering_offeringType :: Lens' Offering (Maybe OfferingType)
- offering_region :: Lens' Offering (Maybe Text)
- offering_resourceSpecification :: Lens' Offering (Maybe ReservationResourceSpecification)
- offering_usagePrice :: Lens' Offering (Maybe Double)
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:arn:Offering'
, offering_arn
- Unique offering ARN, e.g.
'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
$sel:currencyCode:Offering'
, offering_currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
'USD'
$sel:duration:Offering'
, offering_duration
- Lease duration, e.g. '12'
$sel:durationUnits:Offering'
, offering_durationUnits
- Units for duration, e.g. 'MONTHS'
$sel:fixedPrice:Offering'
, offering_fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a
NO_UPFRONT offering
$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:offeringId:Offering'
, offering_offeringId
- Unique offering ID, e.g. '87654321'
$sel:offeringType:Offering'
, offering_offeringType
- Offering type, e.g. 'NO_UPFRONT'
$sel:region:Offering'
, offering_region
- AWS region, e.g. 'us-west-2'
$sel:resourceSpecification:Offering'
, offering_resourceSpecification
- Resource configuration details
$sel:usagePrice:Offering'
, offering_usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'
offering_arn :: Lens' Offering (Maybe Text) Source #
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
offering_currencyCode :: Lens' Offering (Maybe Text) Source #
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
offering_durationUnits :: Lens' Offering (Maybe OfferingDurationUnits) Source #
Units for duration, e.g. 'MONTHS'
offering_fixedPrice :: Lens' Offering (Maybe Double) Source #
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
offering_offeringDescription :: Lens' Offering (Maybe Text) Source #
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
offering_offeringType :: Lens' Offering (Maybe OfferingType) Source #
Offering type, e.g. 'NO_UPFRONT'
offering_resourceSpecification :: Lens' Offering (Maybe ReservationResourceSpecification) Source #
Resource configuration details