Copyright | (c) 2013-2021 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 |
Lists model compilation jobs that satisfy various filters.
To create a model compilation job, use CreateCompilationJob. To get information about a particular model compilation job you have created, use DescribeCompilationJob.
This operation returns paginated results.
Synopsis
- data ListCompilationJobs = ListCompilationJobs' {
- nameContains :: Maybe Text
- lastModifiedTimeBefore :: Maybe POSIX
- creationTimeAfter :: Maybe POSIX
- nextToken :: Maybe Text
- sortOrder :: Maybe SortOrder
- lastModifiedTimeAfter :: Maybe POSIX
- creationTimeBefore :: Maybe POSIX
- statusEquals :: Maybe CompilationJobStatus
- maxResults :: Maybe Natural
- sortBy :: Maybe ListCompilationJobsSortBy
- newListCompilationJobs :: ListCompilationJobs
- listCompilationJobs_nameContains :: Lens' ListCompilationJobs (Maybe Text)
- listCompilationJobs_lastModifiedTimeBefore :: Lens' ListCompilationJobs (Maybe UTCTime)
- listCompilationJobs_creationTimeAfter :: Lens' ListCompilationJobs (Maybe UTCTime)
- listCompilationJobs_nextToken :: Lens' ListCompilationJobs (Maybe Text)
- listCompilationJobs_sortOrder :: Lens' ListCompilationJobs (Maybe SortOrder)
- listCompilationJobs_lastModifiedTimeAfter :: Lens' ListCompilationJobs (Maybe UTCTime)
- listCompilationJobs_creationTimeBefore :: Lens' ListCompilationJobs (Maybe UTCTime)
- listCompilationJobs_statusEquals :: Lens' ListCompilationJobs (Maybe CompilationJobStatus)
- listCompilationJobs_maxResults :: Lens' ListCompilationJobs (Maybe Natural)
- listCompilationJobs_sortBy :: Lens' ListCompilationJobs (Maybe ListCompilationJobsSortBy)
- data ListCompilationJobsResponse = ListCompilationJobsResponse' {}
- newListCompilationJobsResponse :: Int -> ListCompilationJobsResponse
- listCompilationJobsResponse_nextToken :: Lens' ListCompilationJobsResponse (Maybe Text)
- listCompilationJobsResponse_httpStatus :: Lens' ListCompilationJobsResponse Int
- listCompilationJobsResponse_compilationJobSummaries :: Lens' ListCompilationJobsResponse [CompilationJobSummary]
Creating a Request
data ListCompilationJobs Source #
See: newListCompilationJobs
smart constructor.
ListCompilationJobs' | |
|
Instances
newListCompilationJobs :: ListCompilationJobs Source #
Create a value of ListCompilationJobs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nameContains:ListCompilationJobs'
, listCompilationJobs_nameContains
- A filter that returns the model compilation jobs whose name contains a
specified string.
$sel:lastModifiedTimeBefore:ListCompilationJobs'
, listCompilationJobs_lastModifiedTimeBefore
- A filter that returns the model compilation jobs that were modified
before a specified time.
$sel:creationTimeAfter:ListCompilationJobs'
, listCompilationJobs_creationTimeAfter
- A filter that returns the model compilation jobs that were created after
a specified time.
$sel:nextToken:ListCompilationJobs'
, listCompilationJobs_nextToken
- If the result of the previous ListCompilationJobs
request was
truncated, the response includes a NextToken
. To retrieve the next set
of model compilation jobs, use the token in the next request.
$sel:sortOrder:ListCompilationJobs'
, listCompilationJobs_sortOrder
- The sort order for results. The default is Ascending
.
$sel:lastModifiedTimeAfter:ListCompilationJobs'
, listCompilationJobs_lastModifiedTimeAfter
- A filter that returns the model compilation jobs that were modified
after a specified time.
$sel:creationTimeBefore:ListCompilationJobs'
, listCompilationJobs_creationTimeBefore
- A filter that returns the model compilation jobs that were created
before a specified time.
$sel:statusEquals:ListCompilationJobs'
, listCompilationJobs_statusEquals
- A filter that retrieves model compilation jobs with a specific
DescribeCompilationJobResponse$CompilationJobStatus status.
$sel:maxResults:ListCompilationJobs'
, listCompilationJobs_maxResults
- The maximum number of model compilation jobs to return in the response.
$sel:sortBy:ListCompilationJobs'
, listCompilationJobs_sortBy
- The field by which to sort results. The default is CreationTime
.
Request Lenses
listCompilationJobs_nameContains :: Lens' ListCompilationJobs (Maybe Text) Source #
A filter that returns the model compilation jobs whose name contains a specified string.
listCompilationJobs_lastModifiedTimeBefore :: Lens' ListCompilationJobs (Maybe UTCTime) Source #
A filter that returns the model compilation jobs that were modified before a specified time.
listCompilationJobs_creationTimeAfter :: Lens' ListCompilationJobs (Maybe UTCTime) Source #
A filter that returns the model compilation jobs that were created after a specified time.
listCompilationJobs_nextToken :: Lens' ListCompilationJobs (Maybe Text) Source #
If the result of the previous ListCompilationJobs
request was
truncated, the response includes a NextToken
. To retrieve the next set
of model compilation jobs, use the token in the next request.
listCompilationJobs_sortOrder :: Lens' ListCompilationJobs (Maybe SortOrder) Source #
The sort order for results. The default is Ascending
.
listCompilationJobs_lastModifiedTimeAfter :: Lens' ListCompilationJobs (Maybe UTCTime) Source #
A filter that returns the model compilation jobs that were modified after a specified time.
listCompilationJobs_creationTimeBefore :: Lens' ListCompilationJobs (Maybe UTCTime) Source #
A filter that returns the model compilation jobs that were created before a specified time.
listCompilationJobs_statusEquals :: Lens' ListCompilationJobs (Maybe CompilationJobStatus) Source #
A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus status.
listCompilationJobs_maxResults :: Lens' ListCompilationJobs (Maybe Natural) Source #
The maximum number of model compilation jobs to return in the response.
listCompilationJobs_sortBy :: Lens' ListCompilationJobs (Maybe ListCompilationJobsSortBy) Source #
The field by which to sort results. The default is CreationTime
.
Destructuring the Response
data ListCompilationJobsResponse Source #
See: newListCompilationJobsResponse
smart constructor.
ListCompilationJobsResponse' | |
|
Instances
newListCompilationJobsResponse Source #
Create a value of ListCompilationJobsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListCompilationJobs'
, listCompilationJobsResponse_nextToken
- If the response is truncated, Amazon SageMaker returns this NextToken
.
To retrieve the next set of model compilation jobs, use this token in
the next request.
$sel:httpStatus:ListCompilationJobsResponse'
, listCompilationJobsResponse_httpStatus
- The response's http status code.
$sel:compilationJobSummaries:ListCompilationJobsResponse'
, listCompilationJobsResponse_compilationJobSummaries
- An array of CompilationJobSummary objects, each describing a model
compilation job.
Response Lenses
listCompilationJobsResponse_nextToken :: Lens' ListCompilationJobsResponse (Maybe Text) Source #
If the response is truncated, Amazon SageMaker returns this NextToken
.
To retrieve the next set of model compilation jobs, use this token in
the next request.
listCompilationJobsResponse_httpStatus :: Lens' ListCompilationJobsResponse Int Source #
The response's http status code.
listCompilationJobsResponse_compilationJobSummaries :: Lens' ListCompilationJobsResponse [CompilationJobSummary] Source #
An array of CompilationJobSummary objects, each describing a model compilation job.