libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.Types.OfferingPromotion

Description

 
Synopsis

Documentation

data OfferingPromotion Source #

Represents information about an offering promotion.

See: newOfferingPromotion smart constructor.

Constructors

OfferingPromotion' 

Fields

Instances

Instances details
Eq OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

Read OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

Show OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

Generic OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

Associated Types

type Rep OfferingPromotion :: Type -> Type #

NFData OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

Methods

rnf :: OfferingPromotion -> () #

Hashable OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

FromJSON OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

type Rep OfferingPromotion Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingPromotion

type Rep OfferingPromotion = D1 ('MetaData "OfferingPromotion" "Amazonka.DeviceFarm.Types.OfferingPromotion" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "OfferingPromotion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newOfferingPromotion :: OfferingPromotion Source #

Create a value of OfferingPromotion 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:id:OfferingPromotion', offeringPromotion_id - The ID of the offering promotion.

$sel:description:OfferingPromotion', offeringPromotion_description - A string that describes the offering promotion.

offeringPromotion_id :: Lens' OfferingPromotion (Maybe Text) Source #

The ID of the offering promotion.

offeringPromotion_description :: Lens' OfferingPromotion (Maybe Text) Source #

A string that describes the offering promotion.