Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data WriteTreatmentResource = WriteTreatmentResource' {}
- newWriteTreatmentResource :: Int -> WriteTreatmentResource
- writeTreatmentResource_customDeliveryConfiguration :: Lens' WriteTreatmentResource (Maybe CustomDeliveryConfiguration)
- writeTreatmentResource_schedule :: Lens' WriteTreatmentResource (Maybe Schedule)
- writeTreatmentResource_templateConfiguration :: Lens' WriteTreatmentResource (Maybe TemplateConfiguration)
- writeTreatmentResource_treatmentName :: Lens' WriteTreatmentResource (Maybe Text)
- writeTreatmentResource_treatmentDescription :: Lens' WriteTreatmentResource (Maybe Text)
- writeTreatmentResource_messageConfiguration :: Lens' WriteTreatmentResource (Maybe MessageConfiguration)
- writeTreatmentResource_sizePercent :: Lens' WriteTreatmentResource Int
Documentation
data WriteTreatmentResource 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: newWriteTreatmentResource
smart constructor.
WriteTreatmentResource' | |
|
Instances
newWriteTreatmentResource Source #
Create a value of WriteTreatmentResource
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:WriteTreatmentResource'
, writeTreatmentResource_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:schedule:WriteTreatmentResource'
, writeTreatmentResource_schedule
- The schedule settings for the treatment.
$sel:templateConfiguration:WriteTreatmentResource'
, writeTreatmentResource_templateConfiguration
- The message template to use for the treatment.
$sel:treatmentName:WriteTreatmentResource'
, writeTreatmentResource_treatmentName
- A custom name for the treatment.
$sel:treatmentDescription:WriteTreatmentResource'
, writeTreatmentResource_treatmentDescription
- A custom description of the treatment.
$sel:messageConfiguration:WriteTreatmentResource'
, writeTreatmentResource_messageConfiguration
- The message configuration settings for the treatment.
$sel:sizePercent:WriteTreatmentResource'
, writeTreatmentResource_sizePercent
- The allocated percentage of users (segment members) to send the
treatment to.
writeTreatmentResource_customDeliveryConfiguration :: Lens' WriteTreatmentResource (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.
writeTreatmentResource_schedule :: Lens' WriteTreatmentResource (Maybe Schedule) Source #
The schedule settings for the treatment.
writeTreatmentResource_templateConfiguration :: Lens' WriteTreatmentResource (Maybe TemplateConfiguration) Source #
The message template to use for the treatment.
writeTreatmentResource_treatmentName :: Lens' WriteTreatmentResource (Maybe Text) Source #
A custom name for the treatment.
writeTreatmentResource_treatmentDescription :: Lens' WriteTreatmentResource (Maybe Text) Source #
A custom description of the treatment.
writeTreatmentResource_messageConfiguration :: Lens' WriteTreatmentResource (Maybe MessageConfiguration) Source #
The message configuration settings for the treatment.
writeTreatmentResource_sizePercent :: Lens' WriteTreatmentResource Int Source #
The allocated percentage of users (segment members) to send the treatment to.