File Coverage

blib/lib/Paws/CloudWatchLogs/CreateExportTask.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CloudWatchLogs::CreateExportTask;
3 1     1   350 use Moose;
  1         3  
  1         7  
4             has Destination => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destination' , required => 1);
5             has DestinationPrefix => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationPrefix' );
6             has From => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'from' , required => 1);
7             has LogGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'logGroupName' , required => 1);
8             has LogStreamNamePrefix => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'logStreamNamePrefix' );
9             has TaskName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskName' );
10             has To => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'to' , required => 1);
11              
12 1     1   5912 use MooseX::ClassAttribute;
  1         2  
  1         8  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateExportTask');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatchLogs::CreateExportTaskResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::CloudWatchLogs::CreateExportTask - Arguments for method CreateExportTask on Paws::CloudWatchLogs
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateExportTask on the
28             Amazon CloudWatch Logs service. Use the attributes of this class
29             as arguments to method CreateExportTask.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateExportTask.
32              
33             As an example:
34              
35             $service_obj->CreateExportTask(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Destination => Str
43              
44             The name of S3 bucket for the exported log data. The bucket must be in
45             the same AWS region.
46              
47              
48              
49             =head2 DestinationPrefix => Str
50              
51             The prefix used as the start of the key for every object exported. If
52             you don't specify a value, the default is C<exportedlogs>.
53              
54              
55              
56             =head2 B<REQUIRED> From => Int
57              
58             The start time of the range for the request, expressed as the number of
59             milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
60             earlier than this time are not exported.
61              
62              
63              
64             =head2 B<REQUIRED> LogGroupName => Str
65              
66             The name of the log group.
67              
68              
69              
70             =head2 LogStreamNamePrefix => Str
71              
72             Export only log streams that match the provided prefix. If you don't
73             specify a value, no prefix filter is applied.
74              
75              
76              
77             =head2 TaskName => Str
78              
79             The name of the export task.
80              
81              
82              
83             =head2 B<REQUIRED> To => Int
84              
85             The end time of the range for the request, expressed as the number of
86             milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp
87             later than this time are not exported.
88              
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, documenting arguments for method CreateExportTask in L<Paws::CloudWatchLogs>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103