Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists endpoints.
This operation returns paginated results.
Synopsis
- listEndpoints :: ListEndpoints
- data ListEndpoints
- leNameContains :: Lens' ListEndpoints (Maybe Text)
- leLastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- leCreationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- leNextToken :: Lens' ListEndpoints (Maybe Text)
- leSortOrder :: Lens' ListEndpoints (Maybe OrderKey)
- leLastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime)
- leCreationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime)
- leStatusEquals :: Lens' ListEndpoints (Maybe EndpointStatus)
- leMaxResults :: Lens' ListEndpoints (Maybe Natural)
- leSortBy :: Lens' ListEndpoints (Maybe EndpointSortKey)
- listEndpointsResponse :: Int -> ListEndpointsResponse
- data ListEndpointsResponse
- lersNextToken :: Lens' ListEndpointsResponse (Maybe Text)
- lersResponseStatus :: Lens' ListEndpointsResponse Int
- lersEndpoints :: Lens' ListEndpointsResponse [EndpointSummary]
Creating a Request
listEndpoints :: ListEndpoints Source #
Creates a value of ListEndpoints
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leNameContains
- A string in endpoint names. This filter returns only endpoints whose name contains the specified string.leLastModifiedTimeBefore
- A filter that returns only endpoints that were modified before the specified timestamp.leCreationTimeAfter
- A filter that returns only endpoints that were created after the specified time (timestamp).leNextToken
- If the result of aListEndpoints
request was truncated, the response includes aNextToken
. To retrieve the next set of endpoints, use the token in the next request.leSortOrder
- The sort order for results. The default isAscending
.leLastModifiedTimeAfter
- A filter that returns only endpoints that were modified after the specified timestamp.leCreationTimeBefore
- A filter that returns only endpoints that were created before the specified time (timestamp).leStatusEquals
- A filter that returns only endpoints with the specified status.leMaxResults
- The maximum number of endpoints to return in the response.leSortBy
- Sorts the list of results. The default isCreationTime
.
data ListEndpoints Source #
See: listEndpoints
smart constructor.
Instances
Request Lenses
leNameContains :: Lens' ListEndpoints (Maybe Text) Source #
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
leLastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified before the specified timestamp.
leCreationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were created after the specified time (timestamp).
leNextToken :: 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.
leSortOrder :: Lens' ListEndpoints (Maybe OrderKey) Source #
The sort order for results. The default is Ascending
.
leLastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were modified after the specified timestamp.
leCreationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #
A filter that returns only endpoints that were created before the specified time (timestamp).
leStatusEquals :: Lens' ListEndpoints (Maybe EndpointStatus) Source #
A filter that returns only endpoints with the specified status.
leMaxResults :: Lens' ListEndpoints (Maybe Natural) Source #
The maximum number of endpoints to return in the response.
leSortBy :: Lens' ListEndpoints (Maybe EndpointSortKey) Source #
Sorts the list of results. The default is CreationTime
.
Destructuring the Response
listEndpointsResponse Source #
Creates a value of ListEndpointsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lersNextToken
- If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.lersResponseStatus
- -- | The response status code.lersEndpoints
- An array or endpoint objects.
data ListEndpointsResponse Source #
See: listEndpointsResponse
smart constructor.
Instances
Response Lenses
lersNextToken :: 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.
lersResponseStatus :: Lens' ListEndpointsResponse Int Source #
- - | The response status code.
lersEndpoints :: Lens' ListEndpointsResponse [EndpointSummary] Source #
An array or endpoint objects.