blib/lib/Paws/IoT/ListAuditMitigationActionsTasks.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::ListAuditMitigationActionsTasks;
3 use Moose;
4 has AuditTaskId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'auditTaskId');
5 has EndTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'endTime', required => 1);
6 has FindingId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'findingId');
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
9 has StartTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'startTime', required => 1);
10 has TaskStatus => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'taskStatus');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAuditMitigationActionsTasks');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/mitigationactions/tasks');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListAuditMitigationActionsTasksResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::IoT::ListAuditMitigationActionsTasks - Arguments for method ListAuditMitigationActionsTasks on L<Paws::IoT>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListAuditMitigationActionsTasks on the
29 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
30 as arguments to method ListAuditMitigationActionsTasks.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAuditMitigationActionsTasks.
33  
34 =head1 SYNOPSIS
35  
36 my $iot = Paws->service('IoT');
37 my $ListAuditMitigationActionsTasksResponse =
38 $iot->ListAuditMitigationActionsTasks(
39 EndTime => '1970-01-01T01:00:00',
40 StartTime => '1970-01-01T01:00:00',
41 AuditTaskId => 'MyAuditTaskId', # OPTIONAL
42 FindingId => 'MyFindingId', # OPTIONAL
43 MaxResults => 1, # OPTIONAL
44 NextToken => 'MyNextToken', # OPTIONAL
45 TaskStatus => 'IN_PROGRESS', # OPTIONAL
46 );
47  
48 # Results:
49 my $NextToken = $ListAuditMitigationActionsTasksResponse->NextToken;
50 my $Tasks = $ListAuditMitigationActionsTasksResponse->Tasks;
51  
52 # Returns a L<Paws::IoT::ListAuditMitigationActionsTasksResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListAuditMitigationActionsTasks>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 AuditTaskId => Str
61  
62 Specify this filter to limit results to tasks that were applied to
63 results for a specific audit.
64  
65  
66  
67 =head2 B<REQUIRED> EndTime => Str
68  
69 Specify this filter to limit results to tasks that were completed or
70 canceled on or before a specific date and time.
71  
72  
73  
74 =head2 FindingId => Str
75  
76 Specify this filter to limit results to tasks that were applied to a
77 specific audit finding.
78  
79  
80  
81 =head2 MaxResults => Int
82  
83 The maximum number of results to return at one time. The default is 25.
84  
85  
86  
87 =head2 NextToken => Str
88  
89 The token for the next set of results.
90  
91  
92  
93 =head2 B<REQUIRED> StartTime => Str
94  
95 Specify this filter to limit results to tasks that began on or after a
96 specific date and time.
97  
98  
99  
100 =head2 TaskStatus => Str
101  
102 Specify this filter to limit results to tasks that are in a specific
103 state.
104  
105 Valid values are: C<"IN_PROGRESS">, C<"COMPLETED">, C<"FAILED">, C<"CANCELED">
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, documenting arguments for method ListAuditMitigationActionsTasks in L<Paws::IoT>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119