amazonka-devicefarm-2.0: Amazon Device Farm 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.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
FromJSON 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 #

Read Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Show Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

NFData Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Methods

rnf :: Offering -> () #

Eq Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Hashable Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

Methods

hashWithSalt :: Int -> Offering -> Int #

hash :: Offering -> Int #

type Rep Offering Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Offering

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

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:description:Offering', offering_description - A string that describes the offering.

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

$sel:platform:Offering', offering_platform - The platform of the device (for example, ANDROID or IOS).

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

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

A string that describes the offering.

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

The ID that corresponds to a device offering.

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

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

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.