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 endpoints.
This operation returns paginated results.
Synopsis
- data ListEndpoints = ListEndpoints' {
- nameContains :: Maybe Text
- lastModifiedTimeBefore :: Maybe POSIX
- creationTimeAfter :: Maybe POSIX
- nextToken :: Maybe Text
- sortOrder :: Maybe OrderKey
- lastModifiedTimeAfter :: Maybe POSIX
- creationTimeBefore :: Maybe POSIX
- statusEquals :: Maybe EndpointStatus
- maxResults :: Maybe Natural
- sortBy :: Maybe EndpointSortKey
- newListEndpoints :: ListEndpoints
- listEndpoints_nameContains :: Lens' ListEndpoints (Maybe Text)
- listEndpoints_lastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_creationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text)
- listEndpoints_sortOrder :: Lens' ListEndpoints (Maybe OrderKey)
- listEndpoints_lastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_creationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- listEndpoints_statusEquals :: Lens' ListEndpoints (Maybe EndpointStatus)
- listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural)
- listEndpoints_sortBy :: Lens' ListEndpoints (Maybe EndpointSortKey)
- 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.
ListEndpoints' | |
|
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:nameContains:ListEndpoints'
, listEndpoints_nameContains
- A string in endpoint names. This filter returns only endpoints whose
name contains the specified string.
$sel:lastModifiedTimeBefore:ListEndpoints'
, listEndpoints_lastModifiedTimeBefore
- A filter that returns only endpoints that were modified before the
specified timestamp.
$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:nextToken: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:sortOrder:ListEndpoints'
, listEndpoints_sortOrder
- The sort order for results. The default is Descending
.
$sel:lastModifiedTimeAfter:ListEndpoints'
, listEndpoints_lastModifiedTimeAfter
- A filter that returns only endpoints that were modified after the
specified timestamp.
$sel:creationTimeBefore:ListEndpoints'
, listEndpoints_creationTimeBefore
- A filter that returns only endpoints that were created before the
specified time (timestamp).
$sel:statusEquals:ListEndpoints'
, listEndpoints_statusEquals
- A filter that returns only endpoints with the specified status.
$sel:maxResults:ListEndpoints'
, listEndpoints_maxResults
- The maximum number of endpoints to return in the response. This value
defaults to 10.
$sel:sortBy:ListEndpoints'
, listEndpoints_sortBy
- Sorts the list of results. The default is CreationTime
.
Request Lenses
listEndpoints_nameContains :: Lens' ListEndpoints (Maybe Text) Source #
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
listEndpoints_lastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified before the specified timestamp.
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_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_sortOrder :: Lens' ListEndpoints (Maybe OrderKey) Source #
The sort order for results. The default is Descending
.
listEndpoints_lastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified after the specified timestamp.
listEndpoints_creationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were created before the specified time (timestamp).
listEndpoints_statusEquals :: Lens' ListEndpoints (Maybe EndpointStatus) Source #
A filter that returns only endpoints with the specified status.
listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural) Source #
The maximum number of endpoints to return in the response. This value defaults to 10.
listEndpoints_sortBy :: Lens' ListEndpoints (Maybe EndpointSortKey) Source #
Sorts the list of results. The default is CreationTime
.
Destructuring the Response
data ListEndpointsResponse Source #
See: newListEndpointsResponse
smart constructor.
ListEndpointsResponse' | |
|
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:
$sel:nextToken:ListEndpoints'
, listEndpointsResponse_nextToken
- If the response is truncated, Amazon 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.
$sel:endpoints:ListEndpointsResponse'
, listEndpointsResponse_endpoints
- An array or endpoint objects.
Response Lenses
listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (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.
listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int Source #
The response's http status code.
listEndpointsResponse_endpoints :: Lens' ListEndpointsResponse [EndpointSummary] Source #
An array or endpoint objects.