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 the machine learning algorithms that have been created.
This operation returns paginated results.
Synopsis
- data ListAlgorithms = ListAlgorithms' {}
- newListAlgorithms :: ListAlgorithms
- listAlgorithms_nameContains :: Lens' ListAlgorithms (Maybe Text)
- listAlgorithms_creationTimeAfter :: Lens' ListAlgorithms (Maybe UTCTime)
- listAlgorithms_nextToken :: Lens' ListAlgorithms (Maybe Text)
- listAlgorithms_sortOrder :: Lens' ListAlgorithms (Maybe SortOrder)
- listAlgorithms_creationTimeBefore :: Lens' ListAlgorithms (Maybe UTCTime)
- listAlgorithms_maxResults :: Lens' ListAlgorithms (Maybe Natural)
- listAlgorithms_sortBy :: Lens' ListAlgorithms (Maybe AlgorithmSortBy)
- data ListAlgorithmsResponse = ListAlgorithmsResponse' {}
- newListAlgorithmsResponse :: Int -> ListAlgorithmsResponse
- listAlgorithmsResponse_nextToken :: Lens' ListAlgorithmsResponse (Maybe Text)
- listAlgorithmsResponse_httpStatus :: Lens' ListAlgorithmsResponse Int
- listAlgorithmsResponse_algorithmSummaryList :: Lens' ListAlgorithmsResponse [AlgorithmSummary]
Creating a Request
data ListAlgorithms Source #
See: newListAlgorithms
smart constructor.
ListAlgorithms' | |
|
Instances
newListAlgorithms :: ListAlgorithms Source #
Create a value of ListAlgorithms
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:ListAlgorithms'
, listAlgorithms_nameContains
- A string in the algorithm name. This filter returns only algorithms
whose name contains the specified string.
$sel:creationTimeAfter:ListAlgorithms'
, listAlgorithms_creationTimeAfter
- A filter that returns only algorithms created after the specified time
(timestamp).
$sel:nextToken:ListAlgorithms'
, listAlgorithms_nextToken
- If the response to a previous ListAlgorithms
request was truncated,
the response includes a NextToken
. To retrieve the next set of
algorithms, use the token in the next request.
$sel:sortOrder:ListAlgorithms'
, listAlgorithms_sortOrder
- The sort order for the results. The default is Ascending
.
$sel:creationTimeBefore:ListAlgorithms'
, listAlgorithms_creationTimeBefore
- A filter that returns only algorithms created before the specified time
(timestamp).
$sel:maxResults:ListAlgorithms'
, listAlgorithms_maxResults
- The maximum number of algorithms to return in the response.
$sel:sortBy:ListAlgorithms'
, listAlgorithms_sortBy
- The parameter by which to sort the results. The default is
CreationTime
.
Request Lenses
listAlgorithms_nameContains :: Lens' ListAlgorithms (Maybe Text) Source #
A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.
listAlgorithms_creationTimeAfter :: Lens' ListAlgorithms (Maybe UTCTime) Source #
A filter that returns only algorithms created after the specified time (timestamp).
listAlgorithms_nextToken :: Lens' ListAlgorithms (Maybe Text) Source #
If the response to a previous ListAlgorithms
request was truncated,
the response includes a NextToken
. To retrieve the next set of
algorithms, use the token in the next request.
listAlgorithms_sortOrder :: Lens' ListAlgorithms (Maybe SortOrder) Source #
The sort order for the results. The default is Ascending
.
listAlgorithms_creationTimeBefore :: Lens' ListAlgorithms (Maybe UTCTime) Source #
A filter that returns only algorithms created before the specified time (timestamp).
listAlgorithms_maxResults :: Lens' ListAlgorithms (Maybe Natural) Source #
The maximum number of algorithms to return in the response.
listAlgorithms_sortBy :: Lens' ListAlgorithms (Maybe AlgorithmSortBy) Source #
The parameter by which to sort the results. The default is
CreationTime
.
Destructuring the Response
data ListAlgorithmsResponse Source #
See: newListAlgorithmsResponse
smart constructor.
ListAlgorithmsResponse' | |
|
Instances
newListAlgorithmsResponse Source #
Create a value of ListAlgorithmsResponse
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:ListAlgorithms'
, listAlgorithmsResponse_nextToken
- If the response is truncated, Amazon SageMaker returns this token. To
retrieve the next set of algorithms, use it in the subsequent request.
$sel:httpStatus:ListAlgorithmsResponse'
, listAlgorithmsResponse_httpStatus
- The response's http status code.
$sel:algorithmSummaryList:ListAlgorithmsResponse'
, listAlgorithmsResponse_algorithmSummaryList
- >An array of AlgorithmSummary
objects, each of which lists an
algorithm.
Response Lenses
listAlgorithmsResponse_nextToken :: Lens' ListAlgorithmsResponse (Maybe Text) Source #
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.
listAlgorithmsResponse_httpStatus :: Lens' ListAlgorithmsResponse Int Source #
The response's http status code.
listAlgorithmsResponse_algorithmSummaryList :: Lens' ListAlgorithmsResponse [AlgorithmSummary] Source #
An array of @AlgorithmSummary@ objects, each of which lists an
algorithm.