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

Contents

Description

Describes one or more of your job queues.

Synopsis

Creating a Request

describeJobQueues :: DescribeJobQueues Source #

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

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

  • djqNextToken - The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
  • djqJobQueues - A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.
  • djqMaxResults - The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

data DescribeJobQueues Source #

See: describeJobQueues smart constructor.

Instances

Eq DescribeJobQueues Source # 
Data DescribeJobQueues Source # 

Methods

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

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

toConstr :: DescribeJobQueues -> Constr #

dataTypeOf :: DescribeJobQueues -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeJobQueues Source # 
Show DescribeJobQueues Source # 
Generic DescribeJobQueues Source # 
Hashable DescribeJobQueues Source # 
ToJSON DescribeJobQueues Source # 
NFData DescribeJobQueues Source # 

Methods

rnf :: DescribeJobQueues -> () #

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

Request Lenses

djqNextToken :: Lens' DescribeJobQueues (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

djqJobQueues :: Lens' DescribeJobQueues [Text] Source #

A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.

djqMaxResults :: Lens' DescribeJobQueues (Maybe Int) Source #

The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

Destructuring the Response

describeJobQueuesResponse Source #

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

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

  • djqsrsNextToken - The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
  • djqsrsJobQueues - The list of job queues.
  • djqsrsResponseStatus - -- | The response status code.

data DescribeJobQueuesResponse Source #

See: describeJobQueuesResponse smart constructor.

Instances

Eq DescribeJobQueuesResponse Source # 
Data DescribeJobQueuesResponse Source # 

Methods

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

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

toConstr :: DescribeJobQueuesResponse -> Constr #

dataTypeOf :: DescribeJobQueuesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeJobQueuesResponse Source # 
Show DescribeJobQueuesResponse Source # 
Generic DescribeJobQueuesResponse Source # 
NFData DescribeJobQueuesResponse Source # 
type Rep DescribeJobQueuesResponse Source # 
type Rep DescribeJobQueuesResponse = D1 * (MetaData "DescribeJobQueuesResponse" "Network.AWS.Batch.DescribeJobQueues" "amazonka-batch-1.6.0-Fzr0qfVbg64JgYF5rBSQhW" False) (C1 * (MetaCons "DescribeJobQueuesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_djqsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_djqsrsJobQueues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [JobQueueDetail]))) (S1 * (MetaSel (Just Symbol "_djqsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

djqsrsNextToken :: Lens' DescribeJobQueuesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.