amazonka-batch-1.6.0: Amazon Batch SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Batch.UpdateJobQueue

Contents

Description

Updates a job queue.

Synopsis

Creating a Request

updateJobQueue Source #

Creates a value of UpdateJobQueue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ujqState - Describes the queue's ability to accept new jobs.
  • ujqPriority - 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 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 .
  • ujqComputeEnvironmentOrder - 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 execute a given job.
  • ujqJobQueue - The name or the Amazon Resource Name (ARN) of the job queue.

data UpdateJobQueue Source #

See: updateJobQueue smart constructor.

Instances

Eq UpdateJobQueue Source # 
Data UpdateJobQueue Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateJobQueue -> c UpdateJobQueue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateJobQueue #

toConstr :: UpdateJobQueue -> Constr #

dataTypeOf :: UpdateJobQueue -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateJobQueue) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateJobQueue) #

gmapT :: (forall b. Data b => b -> b) -> UpdateJobQueue -> UpdateJobQueue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateJobQueue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateJobQueue -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateJobQueue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateJobQueue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateJobQueue -> m UpdateJobQueue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateJobQueue -> m UpdateJobQueue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateJobQueue -> m UpdateJobQueue #

Read UpdateJobQueue Source # 
Show UpdateJobQueue Source # 
Generic UpdateJobQueue Source # 

Associated Types

type Rep UpdateJobQueue :: * -> * #

Hashable UpdateJobQueue Source # 
ToJSON UpdateJobQueue Source # 
NFData UpdateJobQueue Source # 

Methods

rnf :: UpdateJobQueue -> () #

AWSRequest UpdateJobQueue Source # 
ToHeaders UpdateJobQueue Source # 
ToPath UpdateJobQueue Source # 
ToQuery UpdateJobQueue Source # 
type Rep UpdateJobQueue Source # 
type Rep UpdateJobQueue = D1 * (MetaData "UpdateJobQueue" "Network.AWS.Batch.UpdateJobQueue" "amazonka-batch-1.6.0-Fzr0qfVbg64JgYF5rBSQhW" False) (C1 * (MetaCons "UpdateJobQueue'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ujqState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe JQState))) (S1 * (MetaSel (Just Symbol "_ujqPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ujqComputeEnvironmentOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ComputeEnvironmentOrder]))) (S1 * (MetaSel (Just Symbol "_ujqJobQueue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateJobQueue Source # 

Request Lenses

ujqState :: Lens' UpdateJobQueue (Maybe JQState) Source #

Describes the queue's ability to accept new jobs.

ujqPriority :: Lens' UpdateJobQueue (Maybe Int) Source #

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 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 .

ujqComputeEnvironmentOrder :: Lens' UpdateJobQueue [ComputeEnvironmentOrder] Source #

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 execute a given job.

ujqJobQueue :: Lens' UpdateJobQueue Text Source #

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

Destructuring the Response

updateJobQueueResponse Source #

Creates a value of UpdateJobQueueResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateJobQueueResponse Source #

See: updateJobQueueResponse smart constructor.

Instances

Eq UpdateJobQueueResponse Source # 
Data UpdateJobQueueResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateJobQueueResponse -> c UpdateJobQueueResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateJobQueueResponse #

toConstr :: UpdateJobQueueResponse -> Constr #

dataTypeOf :: UpdateJobQueueResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateJobQueueResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateJobQueueResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateJobQueueResponse -> UpdateJobQueueResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateJobQueueResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateJobQueueResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateJobQueueResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateJobQueueResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateJobQueueResponse -> m UpdateJobQueueResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateJobQueueResponse -> m UpdateJobQueueResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateJobQueueResponse -> m UpdateJobQueueResponse #

Read UpdateJobQueueResponse Source # 
Show UpdateJobQueueResponse Source # 
Generic UpdateJobQueueResponse Source # 
NFData UpdateJobQueueResponse Source # 

Methods

rnf :: UpdateJobQueueResponse -> () #

type Rep UpdateJobQueueResponse Source # 
type Rep UpdateJobQueueResponse = D1 * (MetaData "UpdateJobQueueResponse" "Network.AWS.Batch.UpdateJobQueue" "amazonka-batch-1.6.0-Fzr0qfVbg64JgYF5rBSQhW" False) (C1 * (MetaCons "UpdateJobQueueResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ujqrsJobQueueARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ujqrsJobQueueName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ujqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ujqrsJobQueueARN :: Lens' UpdateJobQueueResponse (Maybe Text) Source #

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