NAME

Paws::Batch::UpdateJobQueue - Arguments for method UpdateJobQueue on Paws::Batch

DESCRIPTION

This class represents the parameters used for calling the method UpdateJobQueue on the AWS Batch service. Use the attributes of this class as arguments to method UpdateJobQueue.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateJobQueue.

SYNOPSIS

my $batch = Paws->service('Batch');
# To update a job queue
# This example disables a job queue so that it can be deleted.
my $UpdateJobQueueResponse = $batch->UpdateJobQueue(
  'JobQueue' => 'GPGPU',
  'State'    => 'DISABLED'
);

# Results:
my $jobQueueArn  = $UpdateJobQueueResponse->jobQueueArn;
my $jobQueueName = $UpdateJobQueueResponse->jobQueueName;

# Returns a L<Paws::Batch::UpdateJobQueueResponse> 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 https://docs.aws.amazon.com/goto/WebAPI/batch/UpdateJobQueue

ATTRIBUTES

ComputeEnvironmentOrder => ArrayRef[Paws::Batch::ComputeEnvironmentOrder]

Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should run a given job. Compute environments must be in the VALID state before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). 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.

REQUIRED JobQueue => Str

The name or the Amazon Resource Name (ARN) of the job queue.

Priority => Int

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority 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 10 is given scheduling preference over a job queue with a priority value of 1. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.

State => Str

Describes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.

Valid values are: "ENABLED", "DISABLED"

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateJobQueue in Paws::Batch

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues