File Coverage

blib/lib/Paws/CloudWatchLogs/SubscriptionFilter.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::CloudWatchLogs::SubscriptionFilter;
2 1     1   437 use Moose;
  1         4  
  1         8  
3             has CreationTime => (is => 'ro', isa => 'Int', request_name => 'creationTime', traits => ['NameInRequest']);
4             has DestinationArn => (is => 'ro', isa => 'Str', request_name => 'destinationArn', traits => ['NameInRequest']);
5             has Distribution => (is => 'ro', isa => 'Str', request_name => 'distribution', traits => ['NameInRequest']);
6             has FilterName => (is => 'ro', isa => 'Str', request_name => 'filterName', traits => ['NameInRequest']);
7             has FilterPattern => (is => 'ro', isa => 'Str', request_name => 'filterPattern', traits => ['NameInRequest']);
8             has LogGroupName => (is => 'ro', isa => 'Str', request_name => 'logGroupName', traits => ['NameInRequest']);
9             has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CloudWatchLogs::SubscriptionFilter
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::CloudWatchLogs::SubscriptionFilter object:
28              
29             $service_obj->Method(Att1 => { CreationTime => $value, ..., RoleArn => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchLogs::SubscriptionFilter object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->CreationTime
37              
38             =head1 DESCRIPTION
39              
40             Represents a subscription filter.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 CreationTime => Int
46              
47             The creation time of the subscription filter, expressed as the number
48             of milliseconds after Jan 1, 1970 00:00:00 UTC.
49              
50              
51             =head2 DestinationArn => Str
52              
53             The Amazon Resource Name (ARN) of the destination.
54              
55              
56             =head2 Distribution => Str
57              
58            
59              
60              
61             =head2 FilterName => Str
62              
63             The name of the subscription filter.
64              
65              
66             =head2 FilterPattern => Str
67              
68            
69              
70              
71             =head2 LogGroupName => Str
72              
73             The name of the log group.
74              
75              
76             =head2 RoleArn => Str
77              
78            
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93