CampaignResponse
¶
Source code in docs_src/capo_pinpoint/types/campaign_response.py
additional_treatments
instance-attribute
¶
additional_treatments: NotRequired[ListOfTreatmentResource]
An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.
application_id
instance-attribute
¶
application_id: NotRequired[__string]
The unique identifier for the application that the campaign applies to.
creation_date
instance-attribute
¶
creation_date: NotRequired[__string]
The date, in ISO 8601 format, when the campaign was created.
custom_delivery_configuration
instance-attribute
¶
custom_delivery_configuration: NotRequired[CustomDeliveryConfiguration]
The delivery configuration settings for sending the campaign through a custom channel.
default_state
instance-attribute
¶
default_state: NotRequired[CampaignState]
The current status of the campaign's default treatment. This value exists only for campaigns that have more than one treatment.
description
instance-attribute
¶
description: NotRequired[__string]
The 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 use 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 the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.
last_modified_date
instance-attribute
¶
last_modified_date: NotRequired[__string]
The date, in ISO 8601 format, when the campaign was last modified.
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 that's associated with the campaign.
segment_version
instance-attribute
¶
segment_version: NotRequired[__integer]
The version number of the segment that's associated with the campaign.
tags
instance-attribute
¶
tags: NotRequired[MapOf__string]
A string-to-string map of key-value pairs that identifies the tags that are associated 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 that’s used for the campaign.
treatment_description
instance-attribute
¶
treatment_description: NotRequired[__string]
The custom description of the default treatment for the campaign.