amazonka-mediaconvert-1.6.1: Amazon Elemental MediaConvert 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.MediaConvert.ListJobs

Contents

Description

Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.

Synopsis

Creating a Request

listJobs :: ListJobs Source #

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

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

  • ljStatus - Undocumented member.
  • ljQueue - Provide a queue name to get back only jobs from that queue.
  • ljNextToken - Use this string, provided with the response to a previous request, to request the next batch of jobs.
  • ljOrder - Undocumented member.
  • ljMaxResults - Optional. Number of jobs, up to twenty, that will be returned at one time.

data ListJobs Source #

See: listJobs smart constructor.

Instances
Eq ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Data ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

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

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

toConstr :: ListJobs -> Constr #

dataTypeOf :: ListJobs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Show ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Generic ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Associated Types

type Rep ListJobs :: Type -> Type #

Methods

from :: ListJobs -> Rep ListJobs x #

to :: Rep ListJobs x -> ListJobs #

Hashable ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

AWSRequest ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Associated Types

type Rs ListJobs :: Type #

ToHeaders ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

toHeaders :: ListJobs -> [Header] #

ToPath ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

ToQuery ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

NFData ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

rnf :: ListJobs -> () #

type Rep ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

type Rep ListJobs = D1 (MetaData "ListJobs" "Network.AWS.MediaConvert.ListJobs" "amazonka-mediaconvert-1.6.1-DFnKYCHRTdO8NTbrcBQm2g" False) (C1 (MetaCons "ListJobs'" PrefixI True) ((S1 (MetaSel (Just "_ljStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobStatus)) :*: S1 (MetaSel (Just "_ljQueue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ljNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ljOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Order)) :*: S1 (MetaSel (Just "_ljMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ListJobs Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Request Lenses

ljStatus :: Lens' ListJobs (Maybe JobStatus) Source #

Undocumented member.

ljQueue :: Lens' ListJobs (Maybe Text) Source #

Provide a queue name to get back only jobs from that queue.

ljNextToken :: Lens' ListJobs (Maybe Text) Source #

Use this string, provided with the response to a previous request, to request the next batch of jobs.

ljOrder :: Lens' ListJobs (Maybe Order) Source #

Undocumented member.

ljMaxResults :: Lens' ListJobs (Maybe Int) Source #

Optional. Number of jobs, up to twenty, that will be returned at one time.

Destructuring the Response

listJobsResponse Source #

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

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

data ListJobsResponse Source #

See: listJobsResponse smart constructor.

Instances
Eq ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Data ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

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

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

toConstr :: ListJobsResponse -> Constr #

dataTypeOf :: ListJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Generic ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

NFData ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse Source # 
Instance details

Defined in Network.AWS.MediaConvert.ListJobs

type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.AWS.MediaConvert.ListJobs" "amazonka-mediaconvert-1.6.1-DFnKYCHRTdO8NTbrcBQm2g" False) (C1 (MetaCons "ListJobsResponse'" PrefixI True) (S1 (MetaSel (Just "_ljrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ljrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job])) :*: S1 (MetaSel (Just "_ljrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ljrsNextToken :: Lens' ListJobsResponse (Maybe Text) Source #

Use this string to request the next batch of jobs.

ljrsResponseStatus :: Lens' ListJobsResponse Int Source #

  • - | The response status code.