| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.TreatmentResource
Description
Synopsis
- data TreatmentResource = TreatmentResource' {
- customDeliveryConfiguration :: Maybe CustomDeliveryConfiguration
- messageConfiguration :: Maybe MessageConfiguration
- schedule :: Maybe Schedule
- state :: Maybe CampaignState
- templateConfiguration :: Maybe TemplateConfiguration
- treatmentDescription :: Maybe Text
- treatmentName :: Maybe Text
- id :: Text
- sizePercent :: Int
- newTreatmentResource :: Text -> Int -> TreatmentResource
- treatmentResource_customDeliveryConfiguration :: Lens' TreatmentResource (Maybe CustomDeliveryConfiguration)
- treatmentResource_messageConfiguration :: Lens' TreatmentResource (Maybe MessageConfiguration)
- treatmentResource_schedule :: Lens' TreatmentResource (Maybe Schedule)
- treatmentResource_state :: Lens' TreatmentResource (Maybe CampaignState)
- treatmentResource_templateConfiguration :: Lens' TreatmentResource (Maybe TemplateConfiguration)
- treatmentResource_treatmentDescription :: Lens' TreatmentResource (Maybe Text)
- treatmentResource_treatmentName :: Lens' TreatmentResource (Maybe Text)
- treatmentResource_id :: Lens' TreatmentResource Text
- treatmentResource_sizePercent :: Lens' TreatmentResource Int
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
Arguments
| :: Text | |
| -> Int | |
| -> TreatmentResource |
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:messageConfiguration:TreatmentResource', treatmentResource_messageConfiguration - The message configuration settings for the treatment.
$sel:schedule:TreatmentResource', treatmentResource_schedule - The schedule settings for the treatment.
$sel:state:TreatmentResource', treatmentResource_state - The current status of the treatment.
$sel:templateConfiguration:TreatmentResource', treatmentResource_templateConfiguration - The message template to use for the treatment.
$sel:treatmentDescription:TreatmentResource', treatmentResource_treatmentDescription - The custom description of the treatment.
$sel:treatmentName:TreatmentResource', treatmentResource_treatmentName - The custom name of 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_messageConfiguration :: Lens' TreatmentResource (Maybe MessageConfiguration) Source #
The message configuration settings for the treatment.
treatmentResource_schedule :: Lens' TreatmentResource (Maybe Schedule) Source #
The schedule settings for the treatment.
treatmentResource_state :: Lens' TreatmentResource (Maybe CampaignState) Source #
The current status of the treatment.
treatmentResource_templateConfiguration :: Lens' TreatmentResource (Maybe TemplateConfiguration) Source #
The message template to use for the treatment.
treatmentResource_treatmentDescription :: Lens' TreatmentResource (Maybe Text) Source #
The custom description of the treatment.
treatmentResource_treatmentName :: Lens' TreatmentResource (Maybe Text) Source #
The custom name of 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.