blib/lib/Paws/PinpointEmail/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::PinpointEmail::EventDestinationDefinition;
3 use Moose;
4 has CloudWatchDestination => (is => 'ro', isa => 'Paws::PinpointEmail::CloudWatchDestination');
5 has Enabled => (is => 'ro', isa => 'Bool');
6 has KinesisFirehoseDestination => (is => 'ro', isa => 'Paws::PinpointEmail::KinesisFirehoseDestination');
7 has MatchingEventTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has PinpointDestination => (is => 'ro', isa => 'Paws::PinpointEmail::PinpointDestination');
9 has SnsDestination => (is => 'ro', isa => 'Paws::PinpointEmail::SnsDestination');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::PinpointEmail::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::PinpointEmail::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::PinpointEmail::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::PinpointEmail::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::PinpointEmail::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 Amazon Pinpoint should send to the
77 destinations in this C<EventDestinationDefinition>.
78  
79  
80 =head2 PinpointDestination => L<Paws::PinpointEmail::PinpointDestination>
81  
82 An object that defines a Amazon Pinpoint destination for email events.
83 You can use Amazon Pinpoint events to create attributes in Amazon
84 Pinpoint projects. You can use these attributes to create segments for
85 your campaigns.
86  
87  
88 =head2 SnsDestination => L<Paws::PinpointEmail::SnsDestination>
89  
90 An object that defines an Amazon SNS destination for email events. You
91 can use Amazon SNS to send notification when certain email events
92 occur.
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, describing an object used in L<Paws::PinpointEmail>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107