libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
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.MediaConnect.Types.Offering

Description

 
Synopsis

Documentation

data Offering Source #

A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.

See: newOffering smart constructor.

Constructors

Offering' 

Fields

Instances

Instances details
Eq Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

Read Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

Show Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

Generic Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.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.MediaConnect.Types.Offering

Methods

rnf :: Offering -> () #

Hashable Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

Methods

hashWithSalt :: Int -> Offering -> Int #

hash :: Offering -> Int #

FromJSON Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

type Rep Offering Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.Offering

type Rep Offering = D1 ('MetaData "Offering" "Amazonka.MediaConnect.Types.Offering" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "Offering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "offeringArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "offeringDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "durationUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DurationUnits))) :*: ((S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pricePerUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceSpecification) :*: S1 ('MetaSel ('Just "priceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PriceUnits)))))

newOffering 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:currencyCode:Offering', offering_currencyCode - The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.

$sel:offeringArn:Offering', offering_offeringArn - The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.

$sel:offeringDescription:Offering', offering_offeringDescription - A description of the offering.

$sel:durationUnits:Offering', offering_durationUnits - The unit of measurement for the duration of the offering.

$sel:duration:Offering', offering_duration - The length of time that your reservation would be active.

$sel:pricePerUnit:Offering', offering_pricePerUnit - The cost of a single unit. This value, in combination with priceUnits, makes up the rate.

$sel:resourceSpecification:Offering', offering_resourceSpecification - A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.

$sel:priceUnits:Offering', offering_priceUnits - The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.

offering_currencyCode :: Lens' Offering Text Source #

The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.

offering_offeringArn :: Lens' Offering Text Source #

The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.

offering_offeringDescription :: Lens' Offering Text Source #

A description of the offering.

offering_durationUnits :: Lens' Offering DurationUnits Source #

The unit of measurement for the duration of the offering.

offering_duration :: Lens' Offering Int Source #

The length of time that your reservation would be active.

offering_pricePerUnit :: Lens' Offering Text Source #

The cost of a single unit. This value, in combination with priceUnits, makes up the rate.

offering_resourceSpecification :: Lens' Offering ResourceSpecification Source #

A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.

offering_priceUnits :: Lens' Offering PriceUnits Source #

The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.