| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Batch::JobQueueDetail; | ||
| 3 | use Moose; | ||
| 4 | has ComputeEnvironmentOrder => (is => 'ro', isa => 'ArrayRef[Paws::Batch::ComputeEnvironmentOrder]', request_name => 'computeEnvironmentOrder', traits => ['NameInRequest'], required => 1); | ||
| 5 | has JobQueueArn => (is => 'ro', isa => 'Str', request_name => 'jobQueueArn', traits => ['NameInRequest'], required => 1); | ||
| 6 | has JobQueueName => (is => 'ro', isa => 'Str', request_name => 'jobQueueName', traits => ['NameInRequest'], required => 1); | ||
| 7 | has Priority => (is => 'ro', isa => 'Int', request_name => 'priority', traits => ['NameInRequest'], required => 1); | ||
| 8 | has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest'], required => 1); | ||
| 9 | has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']); | ||
| 10 | has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest']); | ||
| 11 | has Tags => (is => 'ro', isa => 'Paws::Batch::TagrisTagsMap', request_name => 'tags', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Batch::JobQueueDetail | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::Batch::JobQueueDetail object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { ComputeEnvironmentOrder => $value, ..., Tags => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::JobQueueDetail object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->ComputeEnvironmentOrder | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | An object representing the details of an AWS Batch job queue. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 B<REQUIRED> ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>] | ||
| 49 | |||
| 50 | The compute environments that are attached to the job queue and the | ||
| 51 | order that job placement is preferred. Compute environments are | ||
| 52 | selected for job placement in ascending order. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> JobQueueArn => Str | ||
| 56 | |||
| 57 | The Amazon Resource Name (ARN) of the job queue. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> JobQueueName => Str | ||
| 61 | |||
| 62 | The name of the job queue. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> Priority => Int | ||
| 66 | |||
| 67 | The priority of the job queue. Job queues with a higher priority (or a | ||
| 68 | higher integer value for the C<priority> parameter) are evaluated first | ||
| 69 | when associated with the same compute environment. Priority is | ||
| 70 | determined in descending order, for example, a job queue with a | ||
| 71 | priority value of C<10> is given scheduling preference over a job queue | ||
| 72 | with a priority value of C<1>. All of the compute environments must be | ||
| 73 | either EC2 (C<EC2> or C<SPOT>) or Fargate (C<FARGATE> or | ||
| 74 | C<FARGATE_SPOT>); EC2 and Fargate compute environments can't be mixed. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> State => Str | ||
| 78 | |||
| 79 | Describes the ability of the queue to accept new jobs. If the job queue | ||
| 80 | state is C<ENABLED>, it's able to accept jobs. If the job queue state | ||
| 81 | is C<DISABLED>, new jobs can't be added to the queue, but jobs already | ||
| 82 | in the queue can finish. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 Status => Str | ||
| 86 | |||
| 87 | The status of the job queue (for example, C<CREATING> or C<VALID>). | ||
| 88 | |||
| 89 | |||
| 90 | =head2 StatusReason => Str | ||
| 91 | |||
| 92 | A short, human-readable string to provide additional details about the | ||
| 93 | current status of the job queue. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 Tags => L<Paws::Batch::TagrisTagsMap> | ||
| 97 | |||
| 98 | The tags applied to the job queue. For more information, see Tagging | ||
| 99 | your AWS Batch resources | ||
| 100 | (https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) in | ||
| 101 | I<AWS Batch User Guide>. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head1 SEE ALSO | ||
| 106 | |||
| 107 | This class forms part of L<Paws>, describing an object used in L<Paws::Batch> | ||
| 108 | |||
| 109 | =head1 BUGS and CONTRIBUTIONS | ||
| 110 | |||
| 111 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 112 | |||
| 113 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 114 | |||
| 115 | =cut | ||
| 116 |