WriteCampaignRequest
¶
Used by
-
AsyncPinpointClient Operations -
PinpointClient Operations
Source code in docs_src/capo_pinpoint/types/write_campaign_request.py
additional_treatments
instance-attribute
¶
additional_treatments: NotRequired[ListOfWriteTreatmentResource]
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
custom_delivery_configuration
instance-attribute
¶
custom_delivery_configuration: NotRequired[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
instance-attribute
¶
description: NotRequired[__string]
A custom description of the campaign.
holdout_percent
instance-attribute
¶
holdout_percent: NotRequired[__integer]
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
hook
instance-attribute
¶
hook: NotRequired[CampaignHook]
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.
is_paused
instance-attribute
¶
is_paused: NotRequired[__boolean]
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.
limits
instance-attribute
¶
limits: NotRequired[CampaignLimits]
The messaging limits for the campaign.
message_configuration
instance-attribute
¶
message_configuration: NotRequired[MessageConfiguration]
The message configuration settings for the campaign.
priority
instance-attribute
¶
priority: NotRequired[__integer]
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
instance-attribute
¶
schedule: NotRequired[Schedule]
The schedule settings for the campaign.
segment_id
instance-attribute
¶
segment_id: NotRequired[__string]
The unique identifier for the segment to associate with the campaign.
segment_version
instance-attribute
¶
segment_version: NotRequired[__integer]
The version of the segment to associate with the campaign.
tags
instance-attribute
¶
tags: NotRequired[MapOf__string]
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.
template_configuration
instance-attribute
¶
template_configuration: NotRequired[TemplateConfiguration]
The message template to use for the campaign.