blib/lib/Paws/Batch/ComputeEnvironmentOrder.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::Batch::ComputeEnvironmentOrder;
3 use Moose;
4 has ComputeEnvironment => (is => 'ro', isa => 'Str', request_name => 'computeEnvironment', traits => ['NameInRequest'], required => 1);
5 has Order => (is => 'ro', isa => 'Int', request_name => 'order', traits => ['NameInRequest'], required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Batch::ComputeEnvironmentOrder
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::Batch::ComputeEnvironmentOrder object:
25  
26 $service_obj->Method(Att1 => { ComputeEnvironment => $value, ..., Order => $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::Batch::ComputeEnvironmentOrder object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->ComputeEnvironment
34  
35 =head1 DESCRIPTION
36  
37 The order in which compute environments are tried for job placement
38 within a queue. Compute environments are tried in ascending order. For
39 example, if two compute environments are associated with a job queue,
40 the compute environment with a lower order integer value is tried for
41 job placement first. Compute environments must be in the C<VALID> state
42 before you can associate them with a job queue. All of the compute
43 environments must be either EC2 (C<EC2> or C<SPOT>) or Fargate
44 (C<FARGATE> or C<FARGATE_SPOT>); EC2 and Fargate compute environments
45 can't be mixed.
46  
47 All compute environments that are associated with a job queue must
48 share the same architecture. AWS Batch doesn't support mixing compute
49 environment architecture types in a single job queue.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> ComputeEnvironment => Str
55  
56 The Amazon Resource Name (ARN) of the compute environment.
57  
58  
59 =head2 B<REQUIRED> Order => Int
60  
61 The order of the compute environment. Compute environments are tried in
62 ascending order. For example, if two compute environments are
63 associated with a job queue, the compute environment with a lower
64 C<order> integer value is tried for job placement first.
65  
66  
67  
68 =head1 SEE ALSO
69  
70 This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
71  
72 =head1 BUGS and CONTRIBUTIONS
73  
74 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
75  
76 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
77  
78 =cut
79