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)


6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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.



6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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:



6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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)


6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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

#stateTypes::CampaignState

The treatment status.



6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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)


6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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)


6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aws-sdk-pinpoint/types.rb', line 6922

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