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 configuration and other settings for a campaign.

Inheritance Hierarchy

System.Object
  Amazon.Pinpoint.Model.WriteCampaignRequest

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

Syntax

C#
public class WriteCampaignRequest

The WriteCampaignRequest type exposes the following members

Constructors

NameDescription
Public Method WriteCampaignRequest()

Properties

NameTypeDescription
Public Property AdditionalTreatments System.Collections.Generic.List<Amazon.Pinpoint.Model.WriteTreatmentResource>

Gets and sets the property AdditionalTreatments.

An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.

Public Property CustomDeliveryConfiguration Amazon.Pinpoint.Model.CustomDeliveryConfiguration

Gets and sets the property CustomDeliveryConfiguration.

The delivery configuration settings for sending the campaign through a custom channel. This object is required if the MessageConfiguration object for the campaign specifies a CustomMessage object.

Public Property Description System.String

Gets and sets the property Description.

A custom description of the campaign.

Public Property HoldoutPercent System.Int32

Gets and sets the property HoldoutPercent.

The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.

Public Property Hook Amazon.Pinpoint.Model.CampaignHook

Gets and sets the property Hook.

The settings for the AWS Lambda function to invoke as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.

Public Property IsPaused System.Boolean

Gets and sets the property IsPaused.

Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.

Public Property Limits Amazon.Pinpoint.Model.CampaignLimits

Gets and sets the property Limits.

The messaging limits for the campaign.

Public Property MessageConfiguration Amazon.Pinpoint.Model.MessageConfiguration

Gets and sets the property MessageConfiguration.

The message configuration settings for the campaign.

Public Property Name System.String

Gets and sets the property Name.

A custom name for the campaign.

Public Property Priority System.Int32

Gets and sets the property Priority.

Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.

Public Property Schedule Amazon.Pinpoint.Model.Schedule

Gets and sets the property Schedule.

The schedule settings for the campaign.

Public Property SegmentId System.String

Gets and sets the property SegmentId.

The unique identifier for the segment to associate with the campaign.

Public Property SegmentVersion System.Int32

Gets and sets the property SegmentVersion.

The version of the segment to associate with the campaign.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK.

(Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.

Public Property TemplateConfiguration Amazon.Pinpoint.Model.TemplateConfiguration

Gets and sets the property TemplateConfiguration.

The message template to use for the campaign.

Public Property TreatmentDescription System.String

Gets and sets the property TreatmentDescription.

A custom description of the default treatment for the campaign.

Public Property TreatmentName System.String

Gets and sets the property TreatmentName.

A custom name of the default treatment for the campaign, if the campaign has multiple treatments. A treatment is a variation of a campaign that's used for A/B testing.

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