File Coverage

blib/lib/Paws/Batch/UpdateJobQueue.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Batch::UpdateJobQueue;
3 1     1   806 use Moose;
  1         4  
  1         11  
4             has ComputeEnvironmentOrder => (is => 'ro', isa => 'ArrayRef[Paws::Batch::ComputeEnvironmentOrder]');
5             has JobQueue => (is => 'ro', isa => 'Str', required => 1);
6             has Priority => (is => 'ro', isa => 'Int');
7             has State => (is => 'ro', isa => 'Str');
8              
9 1     1   8676 use MooseX::ClassAttribute;
  1         3  
  1         11  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateJobQueue');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/updatejobqueue');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::UpdateJobQueueResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Batch::UpdateJobQueue - Arguments for method UpdateJobQueue on Paws::Batch
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method UpdateJobQueue on the
27             AWS Batch service. Use the attributes of this class
28             as arguments to method UpdateJobQueue.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateJobQueue.
31              
32             As an example:
33              
34             $service_obj->UpdateJobQueue(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>]
42              
43             Details the set of compute environments mapped to a job queue and their
44             order relative to each other. This is one of the parameters used by the
45             job scheduler to determine which compute environment should execute a
46             given job.
47              
48              
49              
50             =head2 B<REQUIRED> JobQueue => Str
51              
52             The name or the Amazon Resource Name (ARN) of the job queue.
53              
54              
55              
56             =head2 Priority => Int
57              
58             The priority of the job queue. Job queues with a higher priority (or a
59             lower integer value for the C<priority> parameter) are evaluated first
60             when associated with same compute environment. Priority is determined
61             in ascending order, for example, a job queue with a priority value of
62             C<1> is given scheduling preference over a job queue with a priority
63             value of C<10>.
64              
65              
66              
67             =head2 State => Str
68              
69             Describes the queue's ability to accept new jobs.
70              
71             Valid values are: C<"ENABLED">, C<"DISABLED">
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method UpdateJobQueue in L<Paws::Batch>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85