NAME

Paws::Pinpoint::UpdateCampaign - Arguments for method UpdateCampaign on Paws::Pinpoint

DESCRIPTION

This class represents the parameters used for calling the method UpdateCampaign on the Amazon Pinpoint service. Use the attributes of this class as arguments to method UpdateCampaign.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateCampaign.

SYNOPSIS

my $pinpoint = Paws->service('Pinpoint');
my $UpdateCampaignResponse = $pinpoint->UpdateCampaign(
  ApplicationId        => 'My__string',
  CampaignId           => 'My__string',
  WriteCampaignRequest => {
    AdditionalTreatments => [
      {
        MessageConfiguration => {
          ADMMessage => {
            Action =>
              'OPEN_APP',    # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
            Body              => 'My__string',
            ImageIconUrl      => 'My__string',
            ImageSmallIconUrl => 'My__string',
            ImageUrl          => 'My__string',
            JsonBody          => 'My__string',
            MediaUrl          => 'My__string',
            RawContent        => 'My__string',
            SilentPush        => 1,              # OPTIONAL
            Title             => 'My__string',
            Url               => 'My__string',
          },    # OPTIONAL
          APNSMessage => {
            Action =>
              'OPEN_APP',    # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
            Body              => 'My__string',
            ImageIconUrl      => 'My__string',
            ImageSmallIconUrl => 'My__string',
            ImageUrl          => 'My__string',
            JsonBody          => 'My__string',
            MediaUrl          => 'My__string',
            RawContent        => 'My__string',
            SilentPush        => 1,              # OPTIONAL
            Title             => 'My__string',
            Url               => 'My__string',
          },    # OPTIONAL
          BaiduMessage => {
            Action =>
              'OPEN_APP',    # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
            Body              => 'My__string',
            ImageIconUrl      => 'My__string',
            ImageSmallIconUrl => 'My__string',
            ImageUrl          => 'My__string',
            JsonBody          => 'My__string',
            MediaUrl          => 'My__string',
            RawContent        => 'My__string',
            SilentPush        => 1,              # OPTIONAL
            Title             => 'My__string',
            Url               => 'My__string',
          },    # OPTIONAL
          DefaultMessage => {
            Action =>
              'OPEN_APP',    # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
            Body              => 'My__string',
            ImageIconUrl      => 'My__string',
            ImageSmallIconUrl => 'My__string',
            ImageUrl          => 'My__string',
            JsonBody          => 'My__string',
            MediaUrl          => 'My__string',
            RawContent        => 'My__string',
            SilentPush        => 1,              # OPTIONAL
            Title             => 'My__string',
            Url               => 'My__string',
          },    # OPTIONAL
          EmailMessage => {
            Body        => 'My__string',
            FromAddress => 'My__string',
            HtmlBody    => 'My__string',
            Title       => 'My__string',
          },    # OPTIONAL
          GCMMessage => {
            Action =>
              'OPEN_APP',    # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
            Body              => 'My__string',
            ImageIconUrl      => 'My__string',
            ImageSmallIconUrl => 'My__string',
            ImageUrl          => 'My__string',
            JsonBody          => 'My__string',
            MediaUrl          => 'My__string',
            RawContent        => 'My__string',
            SilentPush        => 1,              # OPTIONAL
            Title             => 'My__string',
            Url               => 'My__string',
          },    # OPTIONAL
          SMSMessage => {
            Body        => 'My__string',
            MessageType => 'TRANSACTIONAL'
            ,    # values: TRANSACTIONAL, PROMOTIONAL; OPTIONAL
            SenderId => 'My__string',
          },    # OPTIONAL
        },    # OPTIONAL
        Schedule => {
          EndTime => 'My__string',
          Frequency =>
            'ONCE', # values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY; OPTIONAL
          IsLocalTime => 1,    # OPTIONAL
          QuietTime   => {
            End   => 'My__string',
            Start => 'My__string',
          },                   # OPTIONAL
          StartTime => 'My__string',
          Timezone  => 'My__string',
        },    # OPTIONAL
        SizePercent          => 1,              # OPTIONAL
        TreatmentDescription => 'My__string',
        TreatmentName        => 'My__string',
      },
      ...
    ],                                          # OPTIONAL
    Description    => 'My__string',
    HoldoutPercent => 1,                        # OPTIONAL
    Hook           => {
      LambdaFunctionName => 'My__string',
      Mode   => 'DELIVERY',     # values: DELIVERY, FILTER; OPTIONAL
      WebUrl => 'My__string',
    },    # OPTIONAL
    IsPaused => 1,    # OPTIONAL
    Limits   => {
      Daily             => 1,    # OPTIONAL
      MaximumDuration   => 1,    # OPTIONAL
      MessagesPerSecond => 1,    # OPTIONAL
      Total             => 1,    # OPTIONAL
    },    # OPTIONAL
    MessageConfiguration => {
      ADMMessage => {
        Action => 'OPEN_APP',   # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
        Body   => 'My__string',
        ImageIconUrl      => 'My__string',
        ImageSmallIconUrl => 'My__string',
        ImageUrl          => 'My__string',
        JsonBody          => 'My__string',
        MediaUrl          => 'My__string',
        RawContent        => 'My__string',
        SilentPush        => 1,              # OPTIONAL
        Title             => 'My__string',
        Url               => 'My__string',
      },    # OPTIONAL
      APNSMessage => {
        Action => 'OPEN_APP',   # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
        Body   => 'My__string',
        ImageIconUrl      => 'My__string',
        ImageSmallIconUrl => 'My__string',
        ImageUrl          => 'My__string',
        JsonBody          => 'My__string',
        MediaUrl          => 'My__string',
        RawContent        => 'My__string',
        SilentPush        => 1,              # OPTIONAL
        Title             => 'My__string',
        Url               => 'My__string',
      },    # OPTIONAL
      BaiduMessage => {
        Action => 'OPEN_APP',   # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
        Body   => 'My__string',
        ImageIconUrl      => 'My__string',
        ImageSmallIconUrl => 'My__string',
        ImageUrl          => 'My__string',
        JsonBody          => 'My__string',
        MediaUrl          => 'My__string',
        RawContent        => 'My__string',
        SilentPush        => 1,              # OPTIONAL
        Title             => 'My__string',
        Url               => 'My__string',
      },    # OPTIONAL
      DefaultMessage => {
        Action => 'OPEN_APP',   # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
        Body   => 'My__string',
        ImageIconUrl      => 'My__string',
        ImageSmallIconUrl => 'My__string',
        ImageUrl          => 'My__string',
        JsonBody          => 'My__string',
        MediaUrl          => 'My__string',
        RawContent        => 'My__string',
        SilentPush        => 1,              # OPTIONAL
        Title             => 'My__string',
        Url               => 'My__string',
      },    # OPTIONAL
      EmailMessage => {
        Body        => 'My__string',
        FromAddress => 'My__string',
        HtmlBody    => 'My__string',
        Title       => 'My__string',
      },    # OPTIONAL
      GCMMessage => {
        Action => 'OPEN_APP',   # values: OPEN_APP, DEEP_LINK, URL; OPTIONAL
        Body   => 'My__string',
        ImageIconUrl      => 'My__string',
        ImageSmallIconUrl => 'My__string',
        ImageUrl          => 'My__string',
        JsonBody          => 'My__string',
        MediaUrl          => 'My__string',
        RawContent        => 'My__string',
        SilentPush        => 1,              # OPTIONAL
        Title             => 'My__string',
        Url               => 'My__string',
      },    # OPTIONAL
      SMSMessage => {
        Body => 'My__string',
        MessageType =>
          'TRANSACTIONAL',    # values: TRANSACTIONAL, PROMOTIONAL; OPTIONAL
        SenderId => 'My__string',
      },    # OPTIONAL
    },    # OPTIONAL
    Name     => 'My__string',
    Schedule => {
      EndTime => 'My__string',
      Frequency =>
        'ONCE',    # values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY; OPTIONAL
      IsLocalTime => 1,    # OPTIONAL
      QuietTime   => {
        End   => 'My__string',
        Start => 'My__string',
      },                   # OPTIONAL
      StartTime => 'My__string',
      Timezone  => 'My__string',
    },    # OPTIONAL
    SegmentId            => 'My__string',
    SegmentVersion       => 1,              # OPTIONAL
    TreatmentDescription => 'My__string',
    TreatmentName        => 'My__string',
  },

);

# Results:
my $CampaignResponse = $UpdateCampaignResponse->CampaignResponse;

# Returns a L<Paws::Pinpoint::UpdateCampaignResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://aws.amazon.com/documentation/

ATTRIBUTES

REQUIRED ApplicationId => Str

REQUIRED CampaignId => Str

REQUIRED WriteCampaignRequest => Paws::Pinpoint::WriteCampaignRequest

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateCampaign 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