File Coverage

blib/lib/Paws/CloudWatchLogs/ExportTask.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::ExportTask;
2 1     1   417 use Moose;
  1         2  
  1         8  
3             has Destination => (is => 'ro', isa => 'Str', request_name => 'destination', traits => ['NameInRequest']);
4             has DestinationPrefix => (is => 'ro', isa => 'Str', request_name => 'destinationPrefix', traits => ['NameInRequest']);
5             has ExecutionInfo => (is => 'ro', isa => 'Paws::CloudWatchLogs::ExportTaskExecutionInfo', request_name => 'executionInfo', traits => ['NameInRequest']);
6             has From => (is => 'ro', isa => 'Int', request_name => 'from', traits => ['NameInRequest']);
7             has LogGroupName => (is => 'ro', isa => 'Str', request_name => 'logGroupName', traits => ['NameInRequest']);
8             has Status => (is => 'ro', isa => 'Paws::CloudWatchLogs::ExportTaskStatus', request_name => 'status', traits => ['NameInRequest']);
9             has TaskId => (is => 'ro', isa => 'Str', request_name => 'taskId', traits => ['NameInRequest']);
10             has TaskName => (is => 'ro', isa => 'Str', request_name => 'taskName', traits => ['NameInRequest']);
11             has To => (is => 'ro', isa => 'Int', request_name => 'to', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::CloudWatchLogs::ExportTask
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::CloudWatchLogs::ExportTask object:
30              
31             $service_obj->Method(Att1 => { Destination => $value, ..., To => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchLogs::ExportTask object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Destination
39              
40             =head1 DESCRIPTION
41              
42             Represents an export task.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Destination => Str
48              
49             The name of Amazon S3 bucket to which the log data was exported.
50              
51              
52             =head2 DestinationPrefix => Str
53              
54             The prefix that was used as the start of Amazon S3 key for every object
55             exported.
56              
57              
58             =head2 ExecutionInfo => L<Paws::CloudWatchLogs::ExportTaskExecutionInfo>
59              
60             Execution info about the export task.
61              
62              
63             =head2 From => Int
64              
65             The start time, expressed as the number of milliseconds after Jan 1,
66             1970 00:00:00 UTC. Events with a time stamp before this time are not
67             exported.
68              
69              
70             =head2 LogGroupName => Str
71              
72             The name of the log group from which logs data was exported.
73              
74              
75             =head2 Status => L<Paws::CloudWatchLogs::ExportTaskStatus>
76              
77             The status of the export task.
78              
79              
80             =head2 TaskId => Str
81              
82             The ID of the export task.
83              
84              
85             =head2 TaskName => Str
86              
87             The name of the export task.
88              
89              
90             =head2 To => Int
91              
92             The end time, expressed as the number of milliseconds after Jan 1, 1970
93             00:00:00 UTC. Events with a time stamp later than this time are not
94             exported.
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
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