amazonka-sagemaker-1.6.0: Amazon SageMaker Service 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.SageMaker.ListTrainingJobs

Contents

Description

Lists training jobs.

This operation returns paginated results.

Synopsis

Creating a Request

listTrainingJobs :: ListTrainingJobs Source #

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

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

  • ltjNameContains - A string in the training job name. This filter returns only models whose name contains the specified string.
  • ltjLastModifiedTimeBefore - A filter that returns only training jobs modified before the specified time (timestamp).
  • ltjCreationTimeAfter - A filter that only training jobs created after the specified time (timestamp).
  • ltjNextToken - If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken . To retrieve the next set of training jobs, use the token in the next request.
  • ltjSortOrder - The sort order for results. The default is Ascending .
  • ltjLastModifiedTimeAfter - A filter that returns only training jobs modified after the specified time (timestamp).
  • ltjCreationTimeBefore - A filter that returns only training jobs created before the specified time (timestamp).
  • ltjStatusEquals - A filter that retrieves only training jobs with a specific status.
  • ltjMaxResults - The maximum number of training jobs to return in the response.
  • ltjSortBy - The field to sort results by. The default is CreationTime .

data ListTrainingJobs Source #

See: listTrainingJobs smart constructor.

Instances

Eq ListTrainingJobs Source # 
Data ListTrainingJobs Source # 

Methods

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

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

toConstr :: ListTrainingJobs -> Constr #

dataTypeOf :: ListTrainingJobs -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListTrainingJobs -> () #

AWSPager ListTrainingJobs Source # 
AWSRequest ListTrainingJobs Source # 
ToHeaders ListTrainingJobs Source # 
ToPath ListTrainingJobs Source # 
ToQuery ListTrainingJobs Source # 
type Rep ListTrainingJobs Source # 
type Rep ListTrainingJobs = D1 * (MetaData "ListTrainingJobs" "Network.AWS.SageMaker.ListTrainingJobs" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "ListTrainingJobs'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjNameContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltjLastModifiedTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjCreationTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltjSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SortOrder)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjLastModifiedTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_ltjCreationTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjStatusEquals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TrainingJobStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ltjSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SortBy))))))))
type Rs ListTrainingJobs Source # 

Request Lenses

ltjNameContains :: Lens' ListTrainingJobs (Maybe Text) Source #

A string in the training job name. This filter returns only models whose name contains the specified string.

ltjLastModifiedTimeBefore :: Lens' ListTrainingJobs (Maybe UTCTime) Source #

A filter that returns only training jobs modified before the specified time (timestamp).

ltjCreationTimeAfter :: Lens' ListTrainingJobs (Maybe UTCTime) Source #

A filter that only training jobs created after the specified time (timestamp).

ltjNextToken :: Lens' ListTrainingJobs (Maybe Text) Source #

If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken . To retrieve the next set of training jobs, use the token in the next request.

ltjSortOrder :: Lens' ListTrainingJobs (Maybe SortOrder) Source #

The sort order for results. The default is Ascending .

ltjLastModifiedTimeAfter :: Lens' ListTrainingJobs (Maybe UTCTime) Source #

A filter that returns only training jobs modified after the specified time (timestamp).

ltjCreationTimeBefore :: Lens' ListTrainingJobs (Maybe UTCTime) Source #

A filter that returns only training jobs created before the specified time (timestamp).

ltjStatusEquals :: Lens' ListTrainingJobs (Maybe TrainingJobStatus) Source #

A filter that retrieves only training jobs with a specific status.

ltjMaxResults :: Lens' ListTrainingJobs (Maybe Natural) Source #

The maximum number of training jobs to return in the response.

ltjSortBy :: Lens' ListTrainingJobs (Maybe SortBy) Source #

The field to sort results by. The default is CreationTime .

Destructuring the Response

listTrainingJobsResponse Source #

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

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

  • ltjrsNextToken - If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.
  • ltjrsResponseStatus - -- | The response status code.
  • ltjrsTrainingJobSummaries - An array of TrainingJobSummary objects, each listing a training job.

data ListTrainingJobsResponse Source #

See: listTrainingJobsResponse smart constructor.

Instances

Eq ListTrainingJobsResponse Source # 
Data ListTrainingJobsResponse Source # 

Methods

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

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

toConstr :: ListTrainingJobsResponse -> Constr #

dataTypeOf :: ListTrainingJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTrainingJobsResponse Source # 
Show ListTrainingJobsResponse Source # 
Generic ListTrainingJobsResponse Source # 
NFData ListTrainingJobsResponse Source # 
type Rep ListTrainingJobsResponse Source # 
type Rep ListTrainingJobsResponse = D1 * (MetaData "ListTrainingJobsResponse" "Network.AWS.SageMaker.ListTrainingJobs" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "ListTrainingJobsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_ltjrsTrainingJobSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [TrainingJobSummary])))))

Response Lenses

ltjrsNextToken :: Lens' ListTrainingJobsResponse (Maybe Text) Source #

If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.

ltjrsTrainingJobSummaries :: Lens' ListTrainingJobsResponse [TrainingJobSummary] Source #

An array of TrainingJobSummary objects, each listing a training job.