| 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.ListEndpoints
Description
Lists endpoints.
This operation returns paginated results.
Synopsis
- data ListEndpoints = ListEndpoints' {
- creationTimeAfter :: Maybe POSIX
- creationTimeBefore :: Maybe POSIX
- lastModifiedTimeAfter :: Maybe POSIX
- lastModifiedTimeBefore :: Maybe POSIX
- maxResults :: Maybe Natural
- nameContains :: Maybe Text
- nextToken :: Maybe Text
- sortBy :: Maybe EndpointSortKey
- sortOrder :: Maybe OrderKey
- statusEquals :: Maybe EndpointStatus
- newListEndpoints :: ListEndpoints
- listEndpoints_creationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_creationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_lastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_lastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural)
- listEndpoints_nameContains :: Lens' ListEndpoints (Maybe Text)
- listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text)
- listEndpoints_sortBy :: Lens' ListEndpoints (Maybe EndpointSortKey)
- listEndpoints_sortOrder :: Lens' ListEndpoints (Maybe OrderKey)
- listEndpoints_statusEquals :: Lens' ListEndpoints (Maybe EndpointStatus)
- data ListEndpointsResponse = ListEndpointsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- endpoints :: [EndpointSummary]
- newListEndpointsResponse :: Int -> ListEndpointsResponse
- listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text)
- listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int
- listEndpointsResponse_endpoints :: Lens' ListEndpointsResponse [EndpointSummary]
Creating a Request
data ListEndpoints Source #
See: newListEndpoints smart constructor.
Constructors
| ListEndpoints' | |
Fields
| |
Instances
newListEndpoints :: ListEndpoints Source #
Create a value of ListEndpoints 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:ListEndpoints', listEndpoints_creationTimeAfter - A filter that returns only endpoints with a creation time greater than
or equal to the specified time (timestamp).
$sel:creationTimeBefore:ListEndpoints', listEndpoints_creationTimeBefore - A filter that returns only endpoints that were created before the
specified time (timestamp).
$sel:lastModifiedTimeAfter:ListEndpoints', listEndpoints_lastModifiedTimeAfter - A filter that returns only endpoints that were modified after the
specified timestamp.
$sel:lastModifiedTimeBefore:ListEndpoints', listEndpoints_lastModifiedTimeBefore - A filter that returns only endpoints that were modified before the
specified timestamp.
$sel:maxResults:ListEndpoints', listEndpoints_maxResults - The maximum number of endpoints to return in the response. This value
defaults to 10.
$sel:nameContains:ListEndpoints', listEndpoints_nameContains - A string in endpoint names. This filter returns only endpoints whose
name contains the specified string.
ListEndpoints, listEndpoints_nextToken - If the result of a ListEndpoints request was truncated, the response
includes a NextToken. To retrieve the next set of endpoints, use the
token in the next request.
$sel:sortBy:ListEndpoints', listEndpoints_sortBy - Sorts the list of results. The default is CreationTime.
$sel:sortOrder:ListEndpoints', listEndpoints_sortOrder - The sort order for results. The default is Descending.
$sel:statusEquals:ListEndpoints', listEndpoints_statusEquals - A filter that returns only endpoints with the specified status.
Request Lenses
listEndpoints_creationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).
listEndpoints_creationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were created before the specified time (timestamp).
listEndpoints_lastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified after the specified timestamp.
listEndpoints_lastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified before the specified timestamp.
listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural) Source #
The maximum number of endpoints to return in the response. This value defaults to 10.
listEndpoints_nameContains :: Lens' ListEndpoints (Maybe Text) Source #
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text) Source #
If the result of a ListEndpoints request was truncated, the response
includes a NextToken. To retrieve the next set of endpoints, use the
token in the next request.
listEndpoints_sortBy :: Lens' ListEndpoints (Maybe EndpointSortKey) Source #
Sorts the list of results. The default is CreationTime.
listEndpoints_sortOrder :: Lens' ListEndpoints (Maybe OrderKey) Source #
The sort order for results. The default is Descending.
listEndpoints_statusEquals :: Lens' ListEndpoints (Maybe EndpointStatus) Source #
A filter that returns only endpoints with the specified status.
Destructuring the Response
data ListEndpointsResponse Source #
See: newListEndpointsResponse smart constructor.
Constructors
| ListEndpointsResponse' | |
Fields
| |
Instances
newListEndpointsResponse Source #
Create a value of ListEndpointsResponse 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:
ListEndpoints, listEndpointsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve
the next set of training jobs, use it in the subsequent request.
$sel:httpStatus:ListEndpointsResponse', listEndpointsResponse_httpStatus - The response's http status code.
ListEndpointsResponse, listEndpointsResponse_endpoints - An array or endpoint objects.
Response Lenses
listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.
listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int Source #
The response's http status code.
listEndpointsResponse_endpoints :: Lens' ListEndpointsResponse [EndpointSummary] Source #
An array or endpoint objects.