amazonka-importexport-1.4.5: Amazon Import/Export SDK.

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

Network.AWS.ImportExport.ListJobs

Contents

Description

This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.

This operation returns paginated results.

Synopsis

Creating a Request

listJobs :: ListJobs #

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:

data ListJobs #

Input structure for the ListJobs operation.

See: listJobs smart constructor.

Instances

Eq ListJobs # 
Data 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 # 
Show ListJobs # 
Generic ListJobs # 

Associated Types

type Rep ListJobs :: * -> * #

Methods

from :: ListJobs -> Rep ListJobs x #

to :: Rep ListJobs x -> ListJobs #

Hashable ListJobs # 

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

NFData ListJobs # 

Methods

rnf :: ListJobs -> () #

AWSPager ListJobs # 
AWSRequest ListJobs # 
ToQuery ListJobs # 
ToPath ListJobs # 
ToHeaders ListJobs # 

Methods

toHeaders :: ListJobs -> [Header] #

type Rep ListJobs # 
type Rep ListJobs = D1 (MetaData "ListJobs" "Network.AWS.ImportExport.ListJobs" "amazonka-importexport-1.4.5-FROmridprJHAzvurVPubkN" False) (C1 (MetaCons "ListJobs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ljAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ljMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ljMaxJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ListJobs # 

Request Lenses

ljAPIVersion :: Lens' ListJobs (Maybe Text) #

Undocumented member.

ljMarker :: Lens' ListJobs (Maybe Text) #

Undocumented member.

ljMaxJobs :: Lens' ListJobs (Maybe Int) #

Undocumented member.

Destructuring the Response

listJobsResponse #

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 #

Output structure for the ListJobs operation.

See: listJobsResponse smart constructor.

Instances

Eq ListJobsResponse # 
Data ListJobsResponse # 

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 # 
Show ListJobsResponse # 
Generic ListJobsResponse # 
NFData ListJobsResponse # 

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse # 
type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.AWS.ImportExport.ListJobs" "amazonka-importexport-1.4.5-FROmridprJHAzvurVPubkN" False) (C1 (MetaCons "ListJobsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ljrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job]))) ((:*:) (S1 (MetaSel (Just Symbol "_ljrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ljrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ljrsJobs :: Lens' ListJobsResponse [Job] #

Undocumented member.

ljrsResponseStatus :: Lens' ListJobsResponse Int #

  • - | The response status code.