amazonka-sagemaker-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Data ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

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 # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Show ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Generic ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Associated Types

type Rep ListTrainingJobs :: Type -> Type #

Hashable ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

ToJSON ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

AWSPager ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

AWSRequest ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Associated Types

type Rs ListTrainingJobs :: Type #

ToHeaders ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

ToPath ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

ToQuery ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

NFData ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Methods

rnf :: ListTrainingJobs -> () #

type Rep ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

type Rep ListTrainingJobs = D1 (MetaData "ListTrainingJobs" "Network.AWS.SageMaker.ListTrainingJobs" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "ListTrainingJobs'" PrefixI True) (((S1 (MetaSel (Just "_ltjNameContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltjLastModifiedTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_ltjCreationTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_ltjNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltjSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrder))))) :*: ((S1 (MetaSel (Just "_ltjLastModifiedTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_ltjCreationTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_ltjStatusEquals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TrainingJobStatus)) :*: (S1 (MetaSel (Just "_ltjMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltjSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortBy)))))))
type Rs ListTrainingJobs Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

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 # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Data ListTrainingJobsResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

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 # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Show ListTrainingJobsResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Generic ListTrainingJobsResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

Associated Types

type Rep ListTrainingJobsResponse :: Type -> Type #

NFData ListTrainingJobsResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

type Rep ListTrainingJobsResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.ListTrainingJobs

type Rep ListTrainingJobsResponse = D1 (MetaData "ListTrainingJobsResponse" "Network.AWS.SageMaker.ListTrainingJobs" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "ListTrainingJobsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltjrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_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.