libZSservicesZSamazonka-medialiveZSamazonka-medialive
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Read Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Show 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 #

NFData Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Methods

rnf :: Offering -> () #

Hashable Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

Methods

hashWithSalt :: Int -> Offering -> Int #

hash :: Offering -> Int #

FromJSON Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

type Rep Offering Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Offering

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

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

Unique offering ID, e.g. '87654321'

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

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

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

Lease duration, e.g. '12'