NAME

Paws::Pinpoint::CustomMessageActivity

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::CustomMessageActivity object:

$service_obj->Method(Att1 => { DeliveryUri => $value, ..., TemplateVersion => $value  });

Results returned from an API call

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

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

DESCRIPTION

The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.

ATTRIBUTES

DeliveryUri => Str

The destination to send the campaign or treatment to. This value can be one of the following:

  • The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.

  • The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.

EndpointTypes => ArrayRef[Str|Undef]

The types of endpoints to send the custom message to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.

MessageConfig => Paws::Pinpoint::JourneyCustomMessage

Specifies the message data included in a custom channel message that's sent to participants in a journey.

NextActivity => Str

The unique identifier for the next activity to perform, after Amazon Pinpoint calls the AWS Lambda function or web hook.

TemplateName => Str

The name of the custom message template to use for the message. If specified, this value must match the name of an existing message template.

TemplateVersion => Str

The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the

Template Versions resource.

If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.

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