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.Offering

Description

 
Synopsis

Documentation

data Offering Source #

Represents the metadata of a device offering.

See: newOffering smart constructor.

Constructors

Offering' 

Fields

Instances

Instances details
Eq Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Read Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Show Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Generic Offering Source # 
Instance details

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

Methods

rnf :: Offering -> () #

Hashable Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Methods

hashWithSalt :: Int -> Offering -> Int #

hash :: Offering -> Int #

FromJSON Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

type Rep Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

type Rep Offering = D1 ('MetaData "Offering" "Amazonka.DeviceFarm.Types.Offering" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Offering'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DevicePlatform)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:platform:Offering', offering_platform - The platform of the device (for example, ANDROID or IOS).

$sel:id:Offering', offering_id - The ID that corresponds to a device offering.

$sel:recurringCharges:Offering', offering_recurringCharges - Specifies whether there are recurring charges for the offering.

$sel:type':Offering', offering_type - The type of offering (for example, RECURRING) for a device.

$sel:description:Offering', offering_description - A string that describes the offering.

offering_platform :: Lens' Offering (Maybe DevicePlatform) Source #

The platform of the device (for example, ANDROID or IOS).

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

The ID that corresponds to a device offering.

offering_recurringCharges :: Lens' Offering (Maybe [RecurringCharge]) Source #

Specifies whether there are recurring charges for the offering.

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

The type of offering (for example, RECURRING) for a device.

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

A string that describes the offering.