AWS SDK Version 3 for .NET
API Reference

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.

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.

Inheritance Hierarchy

System.Object
  Amazon.Pinpoint.Model.WriteTreatmentResource

Namespace: Amazon.Pinpoint.Model
Assembly: AWSSDK.Pinpoint.dll
Version: 3.x.y.z

Syntax

C#
public class WriteTreatmentResource

The WriteTreatmentResource type exposes the following members

Constructors

NameDescription
Public Method WriteTreatmentResource()

Properties

NameTypeDescription
Public Property CustomDeliveryConfiguration Amazon.Pinpoint.Model.CustomDeliveryConfiguration

Gets and sets the property 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.

Public Property MessageConfiguration Amazon.Pinpoint.Model.MessageConfiguration

Gets and sets the property MessageConfiguration.

The message configuration settings for the treatment.

Public Property Schedule Amazon.Pinpoint.Model.Schedule

Gets and sets the property Schedule.

The schedule settings for the treatment.

Public Property SizePercent System.Int32

Gets and sets the property SizePercent.

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

Public Property TemplateConfiguration Amazon.Pinpoint.Model.TemplateConfiguration

Gets and sets the property TemplateConfiguration.

The message template to use for the treatment.

Public Property TreatmentDescription System.String

Gets and sets the property TreatmentDescription.

A custom description of the treatment.

Public Property TreatmentName System.String

Gets and sets the property TreatmentName.

A custom name for the treatment.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5