Class: Aws::Pinpoint::Types::WriteTreatmentResource

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

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.



14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#message_configurationTypes::MessageConfiguration

The message configuration settings for the treatment.



14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#scheduleTypes::Schedule

The schedule settings for the treatment.

Returns:



14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#size_percentInteger

The allocated percentage of users (segment members) to send the treatment to.

Returns:

  • (Integer)


14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#template_configurationTypes::TemplateConfiguration

The message template to use for the treatment.



14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#treatment_descriptionString

A custom description of the treatment.

Returns:

  • (String)


14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end

#treatment_nameString

A custom name for the treatment.

Returns:

  • (String)


14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aws-sdk-pinpoint/types.rb', line 14115

class WriteTreatmentResource < Struct.new(
  :custom_delivery_configuration,
  :message_configuration,
  :schedule,
  :size_percent,
  :template_configuration,
  :treatment_description,
  :treatment_name)
  SENSITIVE = []
  include Aws::Structure
end