AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::TreatmentResource

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_delivery_configurationTypes::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.

Returns:

#idString

The unique identifier for the treatment.

Returns:

  • (String)

    The unique identifier for the treatment.

#message_configurationTypes::MessageConfiguration

The message configuration settings for the treatment.

Returns:

#scheduleTypes::Schedule

The schedule settings for the treatment.

Returns:

#size_percentInteger

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

Returns:

  • (Integer)

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

#stateTypes::CampaignState

The current status of the treatment.

Returns:

#template_configurationTypes::TemplateConfiguration

The message template to use for the treatment.

Returns:

#treatment_descriptionString

The custom description of the treatment.

Returns:

  • (String)

    The custom description of the treatment.

#treatment_nameString

The custom name of the treatment.

Returns:

  • (String)

    The custom name of the treatment.