Skip to content

CampaignResponse

Source code in docs_src/capo_pinpoint/types/campaign_response.py
class CampaignResponse(TypedDict, closed=True):
    additional_treatments: NotRequired[
        "capo_pinpoint.types.list_of_treatment_resource.ListOfTreatmentResource"
    ]
    """<p>An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.</p>"""
    application_id: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The unique identifier for the application that the campaign applies to.</p>"""
    arn: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The Amazon Resource Name (ARN) of the campaign.</p>"""
    creation_date: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The date, in ISO 8601 format, when the campaign was created.</p>"""
    custom_delivery_configuration: NotRequired[
        "capo_pinpoint.types.custom_delivery_configuration.CustomDeliveryConfiguration"
    ]
    """<p>The delivery configuration settings for sending the campaign through a custom channel.</p>"""
    default_state: NotRequired["capo_pinpoint.types.campaign_state.CampaignState"]
    """<p>The current status of the campaign's default treatment. This value exists only for campaigns that have more than one treatment.</p>"""
    description: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The custom description of the campaign.</p>"""
    holdout_percent: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.</p>"""
    hook: NotRequired["capo_pinpoint.types.campaign_hook.CampaignHook"]
    """<p>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.</p>"""
    id: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The unique identifier for the campaign.</p>"""
    is_paused: NotRequired["capo_pinpoint.types.__boolean.__boolean"]
    """<p>Specifies whether the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.</p>"""
    last_modified_date: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The date, in ISO 8601 format, when the campaign was last modified.</p>"""
    limits: NotRequired["capo_pinpoint.types.campaign_limits.CampaignLimits"]
    """<p>The messaging limits for the campaign.</p>"""
    message_configuration: NotRequired[
        "capo_pinpoint.types.message_configuration.MessageConfiguration"
    ]
    """<p>The message configuration settings for the campaign.</p>"""
    name: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The name of the campaign.</p>"""
    schedule: NotRequired["capo_pinpoint.types.schedule.Schedule"]
    """<p>The schedule settings for the campaign.</p>"""
    segment_id: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The unique identifier for the segment that's associated with the campaign.</p>"""
    segment_version: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>The version number of the segment that's associated with the campaign.</p>"""
    state: NotRequired["capo_pinpoint.types.campaign_state.CampaignState"]
    """<p>The current status of the campaign.</p>"""
    tags: NotRequired["capo_pinpoint.types.map_of__string.MapOf__string"]
    """<p>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.</p>"""
    template_configuration: NotRequired[
        "capo_pinpoint.types.template_configuration.TemplateConfiguration"
    ]
    """<p>The message template that’s used for the campaign.</p>"""
    treatment_description: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The custom description of the default treatment for the campaign.</p>"""
    treatment_name: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The custom name of the default treatment for the campaign, if the campaign has multiple treatments. A <i>treatment</i> is a variation of a campaign that's used for A/B testing.</p>"""
    version: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>The version number of the campaign.</p>"""
    priority: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>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.</p>"""

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.

arn instance-attribute

arn: NotRequired[__string]

The Amazon Resource Name (ARN) of the campaign.

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.

id instance-attribute

id: NotRequired[__string]

The unique identifier for 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.

name instance-attribute

name: NotRequired[__string]

The name of 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.

state instance-attribute

state: NotRequired[CampaignState]

The current status of 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.

treatment_name instance-attribute

treatment_name: NotRequired[__string]

The 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 instance-attribute

version: NotRequired[__integer]

The version number of the campaign.