File Coverage

blib/lib/Paws/SES/EventDestination.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::SES::EventDestination;
2 1     1   997 use Moose;
  1         3  
  1         11  
3             has CloudWatchDestination => (is => 'ro', isa => 'Paws::SES::CloudWatchDestination');
4             has Enabled => (is => 'ro', isa => 'Bool');
5             has KinesisFirehoseDestination => (is => 'ro', isa => 'Paws::SES::KinesisFirehoseDestination');
6             has MatchingEventTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7             has Name => (is => 'ro', isa => 'Str', required => 1);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::SES::EventDestination
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::SES::EventDestination object:
26              
27             $service_obj->Method(Att1 => { CloudWatchDestination => $value, ..., Name => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::SES::EventDestination object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->CloudWatchDestination
35              
36             =head1 DESCRIPTION
37              
38             Contains information about the event destination to which the specified
39             email sending events are published.
40              
41             When you create or update an event destination, you must provide one,
42             and only one, destination. The destination can be either Amazon
43             CloudWatch or Amazon Kinesis Firehose.
44              
45             Event destinations are associated with configuration sets, which enable
46             you to publish email sending events to Amazon CloudWatch or Amazon
47             Kinesis Firehose. For information about using configuration sets, see
48             the Amazon SES Developer Guide.
49              
50             =head1 ATTRIBUTES
51              
52              
53             =head2 CloudWatchDestination => L<Paws::SES::CloudWatchDestination>
54              
55             An object that contains the names, default values, and sources of the
56             dimensions associated with an Amazon CloudWatch event destination.
57              
58              
59             =head2 Enabled => Bool
60              
61             Sets whether Amazon SES publishes events to this destination when you
62             send an email with the associated configuration set. Set to C<true> to
63             enable publishing to this destination; set to C<false> to prevent
64             publishing to this destination. The default value is C<false>.
65              
66              
67             =head2 KinesisFirehoseDestination => L<Paws::SES::KinesisFirehoseDestination>
68              
69             An object that contains the delivery stream ARN and the IAM role ARN
70             associated with an Amazon Kinesis Firehose event destination.
71              
72              
73             =head2 B<REQUIRED> MatchingEventTypes => ArrayRef[Str|Undef]
74              
75             The type of email sending events to publish to the event destination.
76              
77              
78             =head2 B<REQUIRED> Name => Str
79              
80             The name of the event destination. The name must:
81              
82             =over
83              
84             =item *
85              
86             Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
87             or dashes (-).
88              
89             =item *
90              
91             Contain less than 64 characters.
92              
93             =back
94              
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::SES>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109