Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists training jobs.
This operation returns paginated results.
Synopsis
- listTrainingJobs :: ListTrainingJobs
- data ListTrainingJobs
- ltjNameContains :: Lens' ListTrainingJobs (Maybe Text)
- ltjLastModifiedTimeBefore :: Lens' ListTrainingJobs (Maybe UTCTime)
- ltjCreationTimeAfter :: Lens' ListTrainingJobs (Maybe UTCTime)
- ltjNextToken :: Lens' ListTrainingJobs (Maybe Text)
- ltjSortOrder :: Lens' ListTrainingJobs (Maybe SortOrder)
- ltjLastModifiedTimeAfter :: Lens' ListTrainingJobs (Maybe UTCTime)
- ltjCreationTimeBefore :: Lens' ListTrainingJobs (Maybe UTCTime)
- ltjStatusEquals :: Lens' ListTrainingJobs (Maybe TrainingJobStatus)
- ltjMaxResults :: Lens' ListTrainingJobs (Maybe Natural)
- ltjSortBy :: Lens' ListTrainingJobs (Maybe SortBy)
- listTrainingJobsResponse :: Int -> ListTrainingJobsResponse
- data ListTrainingJobsResponse
- ltjrsNextToken :: Lens' ListTrainingJobsResponse (Maybe Text)
- ltjrsResponseStatus :: Lens' ListTrainingJobsResponse Int
- ltjrsTrainingJobSummaries :: Lens' ListTrainingJobsResponse [TrainingJobSummary]
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 previousListTrainingJobs
request was truncated, the response includes aNextToken
. To retrieve the next set of training jobs, use the token in the next request.ltjSortOrder
- The sort order for results. The default isAscending
.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 isCreationTime
.
data ListTrainingJobs Source #
See: listTrainingJobs
smart constructor.
Instances
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 ofTrainingJobSummary
objects, each listing a training job.
data ListTrainingJobsResponse Source #
See: listTrainingJobsResponse
smart constructor.
Instances
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.
ltjrsResponseStatus :: Lens' ListTrainingJobsResponse Int Source #
- - | The response status code.
ltjrsTrainingJobSummaries :: Lens' ListTrainingJobsResponse [TrainingJobSummary] Source #
An array of TrainingJobSummary
objects, each listing a training job.