Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

A custom description of the campaign.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The messaging limits for the campaign.

Link copied to clipboard

The message configuration settings for the campaign.

Link copied to clipboard
var name: String?

A custom name for the campaign.

Link copied to clipboard

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.

Link copied to clipboard

The schedule settings for the campaign.

Link copied to clipboard

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

Link copied to clipboard

The version of the segment to associate with the campaign.

Link copied to clipboard

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.

Link copied to clipboard

The message template to use for the campaign.

Link copied to clipboard

A custom description of the default treatment for the campaign.

Link copied to clipboard

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.

Functions