blib/lib/Paws/CloudWatchLogs/QueryDefinition.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudWatchLogs::QueryDefinition;
3 use Moose;
4 has LastModified => (is => 'ro', isa => 'Int', request_name => 'lastModified', traits => ['NameInRequest']);
5 has LogGroupNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'logGroupNames', traits => ['NameInRequest']);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
7 has QueryDefinitionId => (is => 'ro', isa => 'Str', request_name => 'queryDefinitionId', traits => ['NameInRequest']);
8 has QueryString => (is => 'ro', isa => 'Str', request_name => 'queryString', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::CloudWatchLogs::QueryDefinition
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::QueryDefinition object:
28  
29 $service_obj->Method(Att1 => { LastModified => $value, ..., QueryString => $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::QueryDefinition object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->LastModified
37  
38 =head1 DESCRIPTION
39  
40 This structure contains details about a saved CloudWatch Logs Insights
41 query definition.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 LastModified => Int
47  
48 The date that the query definition was most recently modified.
49  
50  
51 =head2 LogGroupNames => ArrayRef[Str|Undef]
52  
53 If this query definition contains a list of log groups that it is
54 limited to, that list appears here.
55  
56  
57 =head2 Name => Str
58  
59 The name of the query definition.
60  
61  
62 =head2 QueryDefinitionId => Str
63  
64 The unique ID of the query definition.
65  
66  
67 =head2 QueryString => Str
68  
69 The query string to use for this definition. For more information, see
70 CloudWatch Logs Insights Query Syntax
71 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86