You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::CampaignResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#additional_treatments ⇒ Array<Types::TreatmentResource>

An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.

Returns:

  • (Array<Types::TreatmentResource>) —

    An array of responses, one for each treatment that you defined for the campaign, in addition to the default treatment.

#application_id ⇒ String

The unique identifier for the application that the campaign applies to.

Returns:

  • (String) —

    The unique identifier for the application that the campaign applies to.

#arn ⇒ String

The Amazon Resource Name (ARN) of the campaign.

Returns:

  • (String) —

    The Amazon Resource Name (ARN) of the campaign.

#creation_date ⇒ String

The date, in ISO 8601 format, when the campaign was created.

Returns:

  • (String) —

    The date, in ISO 8601 format, when the campaign was created.

#custom_delivery_configuration ⇒ Types::CustomDeliveryConfiguration

The delivery configuration settings for sending the campaign through a custom channel.

Returns:

#default_state ⇒ Types::CampaignState

The current status of the campaign\'s default treatment. This value exists only for campaigns that have more than one treatment.

Returns:

#description ⇒ String

The custom description of the campaign.

Returns:

  • (String) —

    The custom description of the campaign.

#holdout_percent ⇒ Integer

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

Returns:

  • (Integer) —

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

#hook ⇒ Types::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.

Returns:

  • (Types::CampaignHook) —

    The settings for the AWS Lambda function to use as a code hook for the campaign.

#id ⇒ String

The unique identifier for the campaign.

Returns:

  • (String) —

    The unique identifier for the campaign.

#is_paused ⇒ Boolean

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

Returns:

  • (Boolean) —

    Specifies whether the campaign is paused.

#last_modified_date ⇒ String

The date, in ISO 8601 format, when the campaign was last modified.

Returns:

  • (String) —

    The date, in ISO 8601 format, when the campaign was last modified.

#limits ⇒ Types::CampaignLimits

The messaging limits for the campaign.

Returns:

#message_configuration ⇒ Types::MessageConfiguration

The message configuration settings for the campaign.

Returns:

#name ⇒ String

The name of the campaign.

Returns:

  • (String) —

    The name of the campaign.

#schedule ⇒ Types::Schedule

The schedule settings for the campaign.

Returns:

#segment_id ⇒ String

The unique identifier for the segment that\'s associated with the campaign.

Returns:

  • (String) —

    The unique identifier for the segment that\'s associated with the campaign.

#segment_version ⇒ Integer

The version number of the segment that\'s associated with the campaign.

Returns:

  • (Integer) —

    The version number of the segment that\'s associated with the campaign.

#state ⇒ Types::CampaignState

The current status of the campaign.

Returns:

#tags ⇒ Hash<String,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.

Returns:

  • (Hash<String,String>) —

    A string-to-string map of key-value pairs that identifies the tags that are associated with the campaign.

#template_configuration ⇒ Types::TemplateConfiguration

The message template that’s used for the campaign.

Returns:

#treatment_description ⇒ String

The custom description of the default treatment for the campaign.

Returns:

  • (String) —

    The custom description of the default treatment for the campaign.

#treatment_name ⇒ 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.

Returns:

  • (String) —

    The custom name of the default treatment for the campaign, if the campaign has multiple treatments.

#version ⇒ Integer

The version number of the campaign.

Returns:

  • (Integer) —

    The version number of the campaign.