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 |
List all existing hubs.
Synopsis
- data ListHubs = ListHubs' {}
- newListHubs :: ListHubs
- listHubs_creationTimeAfter :: Lens' ListHubs (Maybe UTCTime)
- listHubs_creationTimeBefore :: Lens' ListHubs (Maybe UTCTime)
- listHubs_lastModifiedTimeAfter :: Lens' ListHubs (Maybe UTCTime)
- listHubs_lastModifiedTimeBefore :: Lens' ListHubs (Maybe UTCTime)
- listHubs_maxResults :: Lens' ListHubs (Maybe Natural)
- listHubs_nameContains :: Lens' ListHubs (Maybe Text)
- listHubs_nextToken :: Lens' ListHubs (Maybe Text)
- listHubs_sortBy :: Lens' ListHubs (Maybe HubSortBy)
- listHubs_sortOrder :: Lens' ListHubs (Maybe SortOrder)
- data ListHubsResponse = ListHubsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- hubSummaries :: [HubInfo]
- newListHubsResponse :: Int -> ListHubsResponse
- listHubsResponse_nextToken :: Lens' ListHubsResponse (Maybe Text)
- listHubsResponse_httpStatus :: Lens' ListHubsResponse Int
- listHubsResponse_hubSummaries :: Lens' ListHubsResponse [HubInfo]
Creating a Request
See: newListHubs
smart constructor.
ListHubs' | |
|
Instances
newListHubs :: ListHubs Source #
Create a value of ListHubs
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:ListHubs'
, listHubs_creationTimeAfter
- Only list hubs that were created after the time specified.
$sel:creationTimeBefore:ListHubs'
, listHubs_creationTimeBefore
- Only list hubs that were created before the time specified.
$sel:lastModifiedTimeAfter:ListHubs'
, listHubs_lastModifiedTimeAfter
- Only list hubs that were last modified after the time specified.
$sel:lastModifiedTimeBefore:ListHubs'
, listHubs_lastModifiedTimeBefore
- Only list hubs that were last modified before the time specified.
$sel:maxResults:ListHubs'
, listHubs_maxResults
- The maximum number of hubs to list.
$sel:nameContains:ListHubs'
, listHubs_nameContains
- Only list hubs with names that contain the specified string.
ListHubs
, listHubs_nextToken
- If the response to a previous ListHubs
request was truncated, the
response includes a NextToken
. To retrieve the next set of hubs, use
the token in the next request.
$sel:sortBy:ListHubs'
, listHubs_sortBy
- Sort hubs by either name or creation time.
$sel:sortOrder:ListHubs'
, listHubs_sortOrder
- Sort hubs by ascending or descending order.
Request Lenses
listHubs_creationTimeAfter :: Lens' ListHubs (Maybe UTCTime) Source #
Only list hubs that were created after the time specified.
listHubs_creationTimeBefore :: Lens' ListHubs (Maybe UTCTime) Source #
Only list hubs that were created before the time specified.
listHubs_lastModifiedTimeAfter :: Lens' ListHubs (Maybe UTCTime) Source #
Only list hubs that were last modified after the time specified.
listHubs_lastModifiedTimeBefore :: Lens' ListHubs (Maybe UTCTime) Source #
Only list hubs that were last modified before the time specified.
listHubs_nameContains :: Lens' ListHubs (Maybe Text) Source #
Only list hubs with names that contain the specified string.
listHubs_nextToken :: Lens' ListHubs (Maybe Text) Source #
If the response to a previous ListHubs
request was truncated, the
response includes a NextToken
. To retrieve the next set of hubs, use
the token in the next request.
listHubs_sortBy :: Lens' ListHubs (Maybe HubSortBy) Source #
Sort hubs by either name or creation time.
listHubs_sortOrder :: Lens' ListHubs (Maybe SortOrder) Source #
Sort hubs by ascending or descending order.
Destructuring the Response
data ListHubsResponse Source #
See: newListHubsResponse
smart constructor.
ListHubsResponse' | |
|
Instances
Create a value of ListHubsResponse
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:
ListHubs
, listHubsResponse_nextToken
- If the response is truncated, SageMaker returns this token. To retrieve
the next set of hubs, use it in the subsequent request.
$sel:httpStatus:ListHubsResponse'
, listHubsResponse_httpStatus
- The response's http status code.
$sel:hubSummaries:ListHubsResponse'
, listHubsResponse_hubSummaries
- The summaries of the listed hubs.
Response Lenses
listHubsResponse_nextToken :: Lens' ListHubsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.
listHubsResponse_httpStatus :: Lens' ListHubsResponse Int Source #
The response's http status code.
listHubsResponse_hubSummaries :: Lens' ListHubsResponse [HubInfo] Source #
The summaries of the listed hubs.