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.
Namespace: Amazon.Pinpoint.Model
Assembly: AWSSDK.Pinpoint.dll
Version: 3.x.y.z
public class WriteCampaignRequest
The WriteCampaignRequest type exposes the following members
Name | Description | |
---|---|---|
WriteCampaignRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
|
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. |
|
Description | System.String |
Gets and sets the property Description. A custom description of the campaign. |
|
HoldoutPercent | System.Int32 |
Gets and sets the property HoldoutPercent. The allocated percentage of users (segment members) who shouldn't receive messages from the campaign. |
|
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. |
|
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. |
|
Limits | Amazon.Pinpoint.Model.CampaignLimits |
Gets and sets the property Limits. The messaging limits for the campaign. |
|
MessageConfiguration | Amazon.Pinpoint.Model.MessageConfiguration |
Gets and sets the property MessageConfiguration. The message configuration settings for the campaign. |
|
Name | System.String |
Gets and sets the property Name. A custom name for the campaign. |
|
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. |
|
Schedule | Amazon.Pinpoint.Model.Schedule |
Gets and sets the property Schedule. The schedule settings for the campaign. |
|
SegmentId | System.String |
Gets and sets the property SegmentId. The unique identifier for the segment to associate with the campaign. |
|
SegmentVersion | System.Int32 |
Gets and sets the property SegmentVersion. The version of the segment to associate with the campaign. |
|
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. |
|
TemplateConfiguration | Amazon.Pinpoint.Model.TemplateConfiguration |
Gets and sets the property TemplateConfiguration. The message template to use for the campaign. |
|
TreatmentDescription | System.String |
Gets and sets the property TreatmentDescription. A custom description of the default treatment for the campaign. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5