File Coverage

blib/lib/Paws/Glue/GrokClassifier.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::Glue::GrokClassifier;
2 1     1   350 use Moose;
  1         3  
  1         7  
3             has Classification => (is => 'ro', isa => 'Str', required => 1);
4             has CreationTime => (is => 'ro', isa => 'Str');
5             has CustomPatterns => (is => 'ro', isa => 'Str');
6             has GrokPattern => (is => 'ro', isa => 'Str', required => 1);
7             has LastUpdated => (is => 'ro', isa => 'Str');
8             has Name => (is => 'ro', isa => 'Str', required => 1);
9             has Version => (is => 'ro', isa => 'Int');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Glue::GrokClassifier
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::Glue::GrokClassifier object:
28              
29             $service_obj->Method(Att1 => { Classification => $value, ..., Version => $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::Glue::GrokClassifier object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Classification
37              
38             =head1 DESCRIPTION
39              
40             A classifier that uses C<grok>.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> Classification => Str
46              
47             The data form that the classifier matches, such as Twitter, JSON,
48             Omniture Logs, and so forth.
49              
50              
51             =head2 CreationTime => Str
52              
53             The time this classifier was registered.
54              
55              
56             =head2 CustomPatterns => Str
57              
58             Custom grok patterns used by this classifier.
59              
60              
61             =head2 B<REQUIRED> GrokPattern => Str
62              
63             The grok pattern used by this classifier.
64              
65              
66             =head2 LastUpdated => Str
67              
68             The time this classifier was last updated.
69              
70              
71             =head2 B<REQUIRED> Name => Str
72              
73             The name of the classifier.
74              
75              
76             =head2 Version => Int
77              
78             The version of this classifier.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::Glue>
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