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   674 use Moose;
  1         3  
  1         10  
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 since 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             The method used to distribute log data to the destination, when the
59             destination is an Amazon Kinesis stream.
60              
61              
62             =head2 FilterName => Str
63              
64             The name of the subscription filter.
65              
66              
67             =head2 FilterPattern => Str
68              
69            
70              
71              
72             =head2 LogGroupName => Str
73              
74             The name of the log group.
75              
76              
77             =head2 RoleArn => Str
78              
79            
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94