amazonka-medialive-2.0: Amazon Elemental MediaLive 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.MediaLive.Types.Offering

Description

 
Synopsis

Documentation

data Offering Source #

Reserved resources available for purchase

See: newOffering smart constructor.

Constructors

Offering' 

Fields

Instances

Instances details
FromJSON Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Generic Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Associated Types

type Rep Offering :: Type -> Type #

Methods

from :: Offering -> Rep Offering x #

to :: Rep Offering x -> Offering #

Read Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Show Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

NFData Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Methods

rnf :: Offering -> () #

Eq Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Hashable Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Methods

hashWithSalt :: Int -> Offering -> Int #

hash :: Offering -> Int #

type Rep Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

type Rep Offering = D1 ('MetaData "Offering" "Amazonka.MediaLive.Types.Offering" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "Offering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "durationUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingDurationUnits)) :*: S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) :*: ((S1 ('MetaSel ('Just "offeringDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "offeringId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingType)))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationResourceSpecification)) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

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_duration :: Lens' Offering (Maybe Int) Source #

Lease duration, e.g. '12'

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_offeringId :: Lens' Offering (Maybe Text) Source #

Unique offering ID, e.g. '87654321'

offering_offeringType :: Lens' Offering (Maybe OfferingType) Source #

Offering type, e.g. 'NO_UPFRONT'

offering_region :: Lens' Offering (Maybe Text) Source #

AWS region, e.g. 'us-west-2'

offering_usagePrice :: Lens' Offering (Maybe Double) Source #

Recurring usage charge for each reserved resource, e.g. '157.0'