The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Pinpoint::CampaignResponse

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Pinpoint::CampaignResponse object:

  $service_obj->Method(Att1 => { AdditionalTreatments => $value, ..., Version => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::CampaignResponse object:

  $result = $service_obj->Method(...);
  $result->Att1->AdditionalTreatments

DESCRIPTION

Campaign definition

ATTRIBUTES

AdditionalTreatments => ArrayRef[Paws::Pinpoint::TreatmentResource]

  Treatments that are defined in addition to the default treatment.

ApplicationId => Str

  The ID of the application to which the campaign applies.

CreationDate => Str

  The date the campaign was created in ISO 8601 format.

DefaultState => Paws::Pinpoint::CampaignState

  The status of the campaign's default treatment. Only present for A/B
test campaigns.

Description => Str

  A description of the campaign.

HoldoutPercent => Int

  The allocated percentage of end users who will not receive messages
from this campaign.

Hook => Paws::Pinpoint::CampaignHook

  Campaign hook information.

Id => Str

  The unique campaign ID.

IsPaused => Bool

  Indicates whether the campaign is paused. A paused campaign does not
send messages unless you resume it by setting IsPaused to false.

LastModifiedDate => Str

  The date the campaign was last updated in ISO 8601 format.

Limits => Paws::Pinpoint::CampaignLimits

  The campaign limits settings.

MessageConfiguration => Paws::Pinpoint::MessageConfiguration

  The message configuration settings.

Name => Str

  The custom name of the campaign.

Schedule => Paws::Pinpoint::Schedule

  The campaign schedule.

SegmentId => Str

  The ID of the segment to which the campaign sends messages.

SegmentVersion => Int

  The version of the segment to which the campaign sends messages.

State => Paws::Pinpoint::CampaignState

  The campaign status. An A/B test campaign will have a status of
COMPLETED only when all treatments have a status of COMPLETED.

TreatmentDescription => Str

  A custom description for the treatment.

TreatmentName => Str

  The custom name of a variation of the campaign used for A/B testing.

Version => Int

  The campaign version number.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Pinpoint

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues