blib/lib/Paws/Robomaker/BatchPolicy.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Robomaker::BatchPolicy;
3 use Moose;
4 has MaxConcurrency => (is => 'ro', isa => 'Int', request_name => 'maxConcurrency', traits => ['NameInRequest']);
5 has TimeoutInSeconds => (is => 'ro', isa => 'Int', request_name => 'timeoutInSeconds', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Robomaker::BatchPolicy
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Robomaker::BatchPolicy object:
25  
26 $service_obj->Method(Att1 => { MaxConcurrency => $value, ..., TimeoutInSeconds => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Robomaker::BatchPolicy object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->MaxConcurrency
34  
35 =head1 DESCRIPTION
36  
37 Information about the batch policy.
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 MaxConcurrency => Int
43  
44 The number of active simulation jobs create as part of the batch that
45 can be in an active state at the same time.
46  
47 Active states include: C<Pending>,C<Preparing>, C<Running>,
48 C<Restarting>, C<RunningFailed> and C<Terminating>. All other states
49 are terminal states.
50  
51  
52 =head2 TimeoutInSeconds => Int
53  
54 The amount of time, in seconds, to wait for the batch to complete.
55  
56 If a batch times out, and there are pending requests that were failing
57 due to an internal failure (like C<InternalServiceError>), they will be
58 moved to the failed list and the batch status will be C<Failed>. If the
59 pending requests were failing for any other reason, the failed pending
60 requests will be moved to the failed list and the batch status will be
61 C<TimedOut>.
62  
63  
64  
65 =head1 SEE ALSO
66  
67 This class forms part of L<Paws>, describing an object used in L<Paws::Robomaker>
68  
69 =head1 BUGS and CONTRIBUTIONS
70  
71 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
72  
73 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
74  
75 =cut
76