| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.ListAlgorithms
Description
Lists the machine learning algorithms that have been created.
This operation returns paginated results.
Synopsis
- data ListAlgorithms = ListAlgorithms' {}
- newListAlgorithms :: ListAlgorithms
- listAlgorithms_creationTimeAfter :: Lens' ListAlgorithms (Maybe UTCTime)
- listAlgorithms_creationTimeBefore :: Lens' ListAlgorithms (Maybe UTCTime)
- listAlgorithms_maxResults :: Lens' ListAlgorithms (Maybe Natural)
- listAlgorithms_nameContains :: Lens' ListAlgorithms (Maybe Text)
- listAlgorithms_nextToken :: Lens' ListAlgorithms (Maybe Text)
- listAlgorithms_sortBy :: Lens' ListAlgorithms (Maybe AlgorithmSortBy)
- listAlgorithms_sortOrder :: Lens' ListAlgorithms (Maybe SortOrder)
- 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.
Constructors
| ListAlgorithms' | |
Fields
| |
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:creationTimeAfter:ListAlgorithms', listAlgorithms_creationTimeAfter - A filter that returns only algorithms created after the specified time
(timestamp).
$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:nameContains:ListAlgorithms', listAlgorithms_nameContains - A string in the algorithm name. This filter returns only algorithms
whose name contains the specified string.
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:sortBy:ListAlgorithms', listAlgorithms_sortBy - The parameter by which to sort the results. The default is
CreationTime.
$sel:sortOrder:ListAlgorithms', listAlgorithms_sortOrder - The sort order for the results. The default is Ascending.
Request Lenses
listAlgorithms_creationTimeAfter :: Lens' ListAlgorithms (Maybe UTCTime) Source #
A filter that returns only algorithms created after the specified time (timestamp).
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_nameContains :: Lens' ListAlgorithms (Maybe Text) Source #
A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.
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_sortBy :: Lens' ListAlgorithms (Maybe AlgorithmSortBy) Source #
The parameter by which to sort the results. The default is
CreationTime.
listAlgorithms_sortOrder :: Lens' ListAlgorithms (Maybe SortOrder) Source #
The sort order for the results. The default is Ascending.
Destructuring the Response
data ListAlgorithmsResponse Source #
See: newListAlgorithmsResponse smart constructor.
Constructors
| ListAlgorithmsResponse' | |
Fields
| |
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:
ListAlgorithms, listAlgorithmsResponse_nextToken - If the response is truncated, 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, 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.