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

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