PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::Batch::CreateJobQueue; use Moose; has ComputeEnvironmentOrder => (is => 'ro', isa => 'ArrayRef[Paws::Batch::ComputeEnvironmentOrder]', traits => ['NameInRequest'], request_name => 'computeEnvironmentOrder', required => 1); has JobQueueName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobQueueName', required => 1); has Priority => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'priority', required => 1); has State => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'state'); has Tags => (is => 'ro', isa => 'Paws::Batch::TagrisTagsMap', traits => ['NameInRequest'], request_name => 'tags'); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateJobQueue'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/createjobqueue'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::CreateJobQueueResponse'); 1; ### main pod documentation begin ### =head1 NAME Paws::Batch::CreateJobQueue - Arguments for method CreateJobQueue on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateJobQueue on the L service. Use the attributes of this class as arguments to method CreateJobQueue. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateJobQueue. =head1 SYNOPSIS my $batch = Paws->service('Batch'); # To create a job queue with a single compute environment # This example creates a job queue called LowPriority that uses the M4Spot # compute environment. my $CreateJobQueueResponse = $batch->CreateJobQueue( 'ComputeEnvironmentOrder' => [ { 'ComputeEnvironment' => 'M4Spot', 'Order' => 1 } ], 'JobQueueName' => 'LowPriority', 'Priority' => 1, 'State' => 'ENABLED' ); # Results: my $jobQueueArn = $CreateJobQueueResponse->jobQueueArn; my $jobQueueName = $CreateJobQueueResponse->jobQueueName; # Returns a L object. # To create a job queue with multiple compute environments # This example creates a job queue called HighPriority that uses the C4OnDemand # compute environment with an order of 1 and the M4Spot compute environment with # an order of 2. my $CreateJobQueueResponse = $batch->CreateJobQueue( 'ComputeEnvironmentOrder' => [ { 'ComputeEnvironment' => 'C4OnDemand', 'Order' => 1 }, { 'ComputeEnvironment' => 'M4Spot', 'Order' => 2 } ], 'JobQueueName' => 'HighPriority', 'Priority' => 10, 'State' => 'ENABLED' ); # Results: my $jobQueueArn = $CreateJobQueueResponse->jobQueueArn; my $jobQueueName = $CreateJobQueueResponse->jobQueueName; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 B ComputeEnvironmentOrder => ArrayRef[L] The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should run a specific job. Compute environments must be in the C state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 (C or C) or Fargate (C or C); EC2 and Fargate compute environments can't be mixed. All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue. =head2 B JobQueueName => Str The name of the job queue. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. =head2 B Priority => Int The priority of the job queue. Job queues with a higher priority (or a higher integer value for the C parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of C<10> is given scheduling preference over a job queue with a priority value of C<1>. All of the compute environments must be either EC2 (C or C) or Fargate (C or C); EC2 and Fargate compute environments cannot be mixed. =head2 State => Str The state of the job queue. If the job queue state is C, it is able to accept jobs. If the job queue state is C, new jobs can't be added to the queue, but jobs already in the queue can finish. Valid values are: C<"ENABLED">, C<"DISABLED"> =head2 Tags => L The tags that you apply to the job queue to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources (https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) in I. =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateJobQueue in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut