blib/lib/Paws/SESv2/EventDestination.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SESv2::EventDestination;
3 use Moose;
4 has CloudWatchDestination => (is => 'ro', isa => 'Paws::SESv2::CloudWatchDestination');
5 has Enabled => (is => 'ro', isa => 'Bool');
6 has KinesisFirehoseDestination => (is => 'ro', isa => 'Paws::SESv2::KinesisFirehoseDestination');
7 has MatchingEventTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
8 has Name => (is => 'ro', isa => 'Str', required => 1);
9 has PinpointDestination => (is => 'ro', isa => 'Paws::SESv2::PinpointDestination');
10 has SnsDestination => (is => 'ro', isa => 'Paws::SESv2::SnsDestination');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SESv2::EventDestination
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::SESv2::EventDestination object:
30  
31 $service_obj->Method(Att1 => { CloudWatchDestination => $value, ..., SnsDestination => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::SESv2::EventDestination object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->CloudWatchDestination
39  
40 =head1 DESCRIPTION
41  
42 In the Amazon SES API v2, I<events> include message sends, deliveries,
43 opens, clicks, bounces, complaints and delivery delays. I<Event
44 destinations> are places that you can send information about these
45 events to. For example, you can send event data to Amazon SNS to
46 receive notifications when you receive bounces or complaints, or you
47 can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for
48 long-term storage.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 CloudWatchDestination => L<Paws::SESv2::CloudWatchDestination>
54  
55 An object that defines an Amazon CloudWatch destination for email
56 events. You can use Amazon CloudWatch to monitor and gain insights on
57 your email sending metrics.
58  
59  
60 =head2 Enabled => Bool
61  
62 If C<true>, the event destination is enabled. When the event
63 destination is enabled, the specified event types are sent to the
64 destinations in this C<EventDestinationDefinition>.
65  
66 If C<false>, the event destination is disabled. When the event
67 destination is disabled, events aren't sent to the specified
68 destinations.
69  
70  
71 =head2 KinesisFirehoseDestination => L<Paws::SESv2::KinesisFirehoseDestination>
72  
73 An object that defines an Amazon Kinesis Data Firehose destination for
74 email events. You can use Amazon Kinesis Data Firehose to stream data
75 to other services, such as Amazon S3 and Amazon Redshift.
76  
77  
78 =head2 B<REQUIRED> MatchingEventTypes => ArrayRef[Str|Undef]
79  
80 The types of events that Amazon SES sends to the specified event
81 destinations.
82  
83  
84 =head2 B<REQUIRED> Name => Str
85  
86 A name that identifies the event destination.
87  
88  
89 =head2 PinpointDestination => L<Paws::SESv2::PinpointDestination>
90  
91 An object that defines an Amazon Pinpoint project destination for email
92 events. You can send email event data to a Amazon Pinpoint project to
93 view metrics using the Transactional Messaging dashboards that are
94 built in to Amazon Pinpoint. For more information, see Transactional
95 Messaging Charts
96 (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
97 in the I<Amazon Pinpoint User Guide>.
98  
99  
100 =head2 SnsDestination => L<Paws::SESv2::SnsDestination>
101  
102 An object that defines an Amazon SNS destination for email events. You
103 can use Amazon SNS to send notification when certain email events
104 occur.
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, describing an object used in L<Paws::SESv2>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119