NAME

Paws::PinpointEmail::EventDestinationDefinition

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::PinpointEmail::EventDestinationDefinition object:

$service_obj->Method(Att1 => { CloudWatchDestination => $value, ..., SnsDestination => $value  });

Results returned from an API call

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

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

DESCRIPTION

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

ATTRIBUTES

CloudWatchDestination => Paws::PinpointEmail::CloudWatchDestination

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

Enabled => Bool

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

KinesisFirehoseDestination => Paws::PinpointEmail::KinesisFirehoseDestination

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

MatchingEventTypes => ArrayRef[Str|Undef]

An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

PinpointDestination => Paws::PinpointEmail::PinpointDestination

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

SnsDestination => Paws::PinpointEmail::SnsDestination

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

SEE ALSO

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

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