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

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

Overview

Treatment resource

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique treatment ID.

Returns:

  • (String)


9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#message_configurationTypes::MessageConfiguration

The message configuration settings.



9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#scheduleTypes::Schedule

The campaign schedule.

Returns:



9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#size_percentInteger

The allocated percentage of users for this treatment.

Returns:

  • (Integer)


9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#stateTypes::CampaignState

The treatment status.



9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#treatment_descriptionString

A custom description for the treatment.

Returns:

  • (String)


9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end

#treatment_nameString

The custom name of a variation of the campaign used for A/B testing.

Returns:

  • (String)


9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aws-sdk-pinpoint/types.rb', line 9181

class TreatmentResource < Struct.new(
  :id,
  :message_configuration,
  :schedule,
  :size_percent,
  :state,
  :treatment_description,
  :treatment_name)
  include Aws::Structure
end