libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.TreatmentResource

Description

 
Synopsis

Documentation

data TreatmentResource Source #

Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.

See: newTreatmentResource smart constructor.

Constructors

TreatmentResource' 

Fields

Instances

Instances details
Eq TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

Read TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

Show TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

Generic TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

Associated Types

type Rep TreatmentResource :: Type -> Type #

NFData TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

Methods

rnf :: TreatmentResource -> () #

Hashable TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

FromJSON TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

type Rep TreatmentResource Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TreatmentResource

newTreatmentResource Source #

Create a value of TreatmentResource 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:customDeliveryConfiguration:TreatmentResource', treatmentResource_customDeliveryConfiguration - The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.

$sel:state:TreatmentResource', treatmentResource_state - The current status of the treatment.

$sel:schedule:TreatmentResource', treatmentResource_schedule - The schedule settings for the treatment.

$sel:templateConfiguration:TreatmentResource', treatmentResource_templateConfiguration - The message template to use for the treatment.

$sel:treatmentName:TreatmentResource', treatmentResource_treatmentName - The custom name of the treatment.

$sel:treatmentDescription:TreatmentResource', treatmentResource_treatmentDescription - The custom description of the treatment.

$sel:messageConfiguration:TreatmentResource', treatmentResource_messageConfiguration - The message configuration settings for the treatment.

$sel:id:TreatmentResource', treatmentResource_id - The unique identifier for the treatment.

$sel:sizePercent:TreatmentResource', treatmentResource_sizePercent - The allocated percentage of users (segment members) that the treatment is sent to.

treatmentResource_customDeliveryConfiguration :: Lens' TreatmentResource (Maybe CustomDeliveryConfiguration) Source #

The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.

treatmentResource_state :: Lens' TreatmentResource (Maybe CampaignState) Source #

The current status of the treatment.

treatmentResource_schedule :: Lens' TreatmentResource (Maybe Schedule) Source #

The schedule settings for the treatment.

treatmentResource_treatmentDescription :: Lens' TreatmentResource (Maybe Text) Source #

The custom description of the treatment.

treatmentResource_messageConfiguration :: Lens' TreatmentResource (Maybe MessageConfiguration) Source #

The message configuration settings for the treatment.

treatmentResource_id :: Lens' TreatmentResource Text Source #

The unique identifier for the treatment.

treatmentResource_sizePercent :: Lens' TreatmentResource Int Source #

The allocated percentage of users (segment members) that the treatment is sent to.