line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Batch::CreateJobQueue; |
3
|
1
|
|
|
1
|
|
567
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
4
|
|
|
|
|
|
|
has ComputeEnvironmentOrder => (is => 'ro', isa => 'ArrayRef[Paws::Batch::ComputeEnvironmentOrder]', traits => ['NameInRequest'], request_name => 'computeEnvironmentOrder', required => 1); |
5
|
|
|
|
|
|
|
has JobQueueName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobQueueName', required => 1); |
6
|
|
|
|
|
|
|
has Priority => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'priority', required => 1); |
7
|
|
|
|
|
|
|
has State => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'state'); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
10410
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
15
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateJobQueue'); |
12
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/createjobqueue'); |
13
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
14
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::CreateJobQueueResponse'); |
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::CreateJobQueue - Arguments for method CreateJobQueue on Paws::Batch |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateJobQueue on the |
27
|
|
|
|
|
|
|
AWS Batch service. Use the attributes of this class |
28
|
|
|
|
|
|
|
as arguments to method CreateJobQueue. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateJobQueue. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->CreateJobQueue(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 B<REQUIRED> ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>] |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The set of compute environments mapped to a job queue and their order |
44
|
|
|
|
|
|
|
relative to each other. The job scheduler uses this parameter to |
45
|
|
|
|
|
|
|
determine which compute environment should execute a given job. Compute |
46
|
|
|
|
|
|
|
environments must be in the C<VALID> state before you can associate |
47
|
|
|
|
|
|
|
them with a job queue. You can associate up to 3 compute environments |
48
|
|
|
|
|
|
|
with a job queue. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 B<REQUIRED> JobQueueName => Str |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The name of the job queue. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 B<REQUIRED> Priority => Int |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
The priority of the job queue. Job queues with a higher priority (or a |
61
|
|
|
|
|
|
|
higher integer value for the C<priority> parameter) are evaluated first |
62
|
|
|
|
|
|
|
when associated with same compute environment. Priority is determined |
63
|
|
|
|
|
|
|
in descending order, for example, a job queue with a priority value of |
64
|
|
|
|
|
|
|
C<10> is given scheduling preference over a job queue with a priority |
65
|
|
|
|
|
|
|
value of C<1>. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 State => Str |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The state of the job queue. If the job queue state is C<ENABLED>, it is |
72
|
|
|
|
|
|
|
able to accept jobs. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Valid values are: C<"ENABLED">, C<"DISABLED"> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 SEE ALSO |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateJobQueue in L<Paws::Batch> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
|
|
|
|
|
|
|