blib/lib/Paws/FSX/DescribeDataRepositoryTasks.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::FSX::DescribeDataRepositoryTasks;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::FSX::DataRepositoryTaskFilter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has TaskIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeDataRepositoryTasks');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::FSX::DescribeDataRepositoryTasksResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::FSX::DescribeDataRepositoryTasks - Arguments for method DescribeDataRepositoryTasks on L<Paws::FSX>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeDataRepositoryTasks on the
25 L<Amazon FSx|Paws::FSX> service. Use the attributes of this class
26 as arguments to method DescribeDataRepositoryTasks.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeDataRepositoryTasks.
29  
30 =head1 SYNOPSIS
31  
32 my $fsx = Paws->service('FSX');
33 my $DescribeDataRepositoryTasksResponse = $fsx->DescribeDataRepositoryTasks(
34 Filters => [
35 {
36 Name =>
37 'file-system-id', # values: file-system-id, task-lifecycle; OPTIONAL
38 Values => [
39 'MyDataRepositoryTaskFilterValue', ... # min: 1, max: 128
40 ], # max: 20; OPTIONAL
41 },
42 ...
43 ], # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NextToken => 'MyNextToken', # OPTIONAL
46 TaskIds => [
47 'MyTaskId', ... # min: 12, max: 128
48 ], # OPTIONAL
49 );
50  
51 # Results:
52 my $DataRepositoryTasks =
53 $DescribeDataRepositoryTasksResponse->DataRepositoryTasks;
54 my $NextToken = $DescribeDataRepositoryTasksResponse->NextToken;
55  
56 # Returns a L<Paws::FSX::DescribeDataRepositoryTasksResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/fsx/DescribeDataRepositoryTasks>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 Filters => ArrayRef[L<Paws::FSX::DataRepositoryTaskFilter>]
65  
66 (Optional) You can use filters to narrow the
67 C<DescribeDataRepositoryTasks> response to include just tasks for
68 specific file systems, or tasks in a specific lifecycle state.
69  
70  
71  
72 =head2 MaxResults => Int
73  
74  
75  
76  
77  
78 =head2 NextToken => Str
79  
80  
81  
82  
83  
84 =head2 TaskIds => ArrayRef[Str|Undef]
85  
86 (Optional) IDs of the tasks whose descriptions you want to retrieve
87 (String).
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method DescribeDataRepositoryTasks in L<Paws::FSX>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103