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

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::AwsJobAbortCriteria;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Str', request_name => 'action', traits => ['NameInRequest'], required => 1);
5 has FailureType => (is => 'ro', isa => 'Str', request_name => 'failureType', traits => ['NameInRequest'], required => 1);
6 has MinNumberOfExecutedThings => (is => 'ro', isa => 'Int', request_name => 'minNumberOfExecutedThings', traits => ['NameInRequest'], required => 1);
7 has ThresholdPercentage => (is => 'ro', isa => 'Num', request_name => 'thresholdPercentage', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IoT::AwsJobAbortCriteria
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::IoT::AwsJobAbortCriteria object:
27  
28 $service_obj->Method(Att1 => { Action => $value, ..., ThresholdPercentage => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::AwsJobAbortCriteria object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Action
36  
37 =head1 DESCRIPTION
38  
39 The criteria that determine when and how a job abort takes place.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> Action => Str
45  
46 The type of job action to take to initiate the job abort.
47  
48  
49 =head2 B<REQUIRED> FailureType => Str
50  
51 The type of job execution failures that can initiate a job abort.
52  
53  
54 =head2 B<REQUIRED> MinNumberOfExecutedThings => Int
55  
56 The minimum number of things which must receive job execution
57 notifications before the job can be aborted.
58  
59  
60 =head2 B<REQUIRED> ThresholdPercentage => Num
61  
62 The minimum percentage of job execution failures that must occur to
63 initiate the job abort.
64  
65 AWS IoT supports up to two digits after the decimal (for example, 10.9
66 and 10.99, but not 10.999).
67  
68  
69  
70 =head1 SEE ALSO
71  
72 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
73  
74 =head1 BUGS and CONTRIBUTIONS
75  
76 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
77  
78 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
79  
80 =cut
81