| 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.ListHubContents
Description
List the contents of a hub.
Synopsis
- data ListHubContents = ListHubContents' {}
 - newListHubContents :: Text -> HubContentType -> ListHubContents
 - listHubContents_creationTimeAfter :: Lens' ListHubContents (Maybe UTCTime)
 - listHubContents_creationTimeBefore :: Lens' ListHubContents (Maybe UTCTime)
 - listHubContents_maxResults :: Lens' ListHubContents (Maybe Natural)
 - listHubContents_maxSchemaVersion :: Lens' ListHubContents (Maybe Text)
 - listHubContents_nameContains :: Lens' ListHubContents (Maybe Text)
 - listHubContents_nextToken :: Lens' ListHubContents (Maybe Text)
 - listHubContents_sortBy :: Lens' ListHubContents (Maybe HubContentSortBy)
 - listHubContents_sortOrder :: Lens' ListHubContents (Maybe SortOrder)
 - listHubContents_hubName :: Lens' ListHubContents Text
 - listHubContents_hubContentType :: Lens' ListHubContents HubContentType
 - data ListHubContentsResponse = ListHubContentsResponse' {}
 - newListHubContentsResponse :: Int -> ListHubContentsResponse
 - listHubContentsResponse_nextToken :: Lens' ListHubContentsResponse (Maybe Text)
 - listHubContentsResponse_httpStatus :: Lens' ListHubContentsResponse Int
 - listHubContentsResponse_hubContentSummaries :: Lens' ListHubContentsResponse [HubContentInfo]
 
Creating a Request
data ListHubContents Source #
See: newListHubContents smart constructor.
Constructors
| ListHubContents' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> HubContentType | |
| -> ListHubContents | 
Create a value of ListHubContents 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:ListHubContents', listHubContents_creationTimeAfter - Only list hub content that was created after the time specified.
$sel:creationTimeBefore:ListHubContents', listHubContents_creationTimeBefore - Only list hub content that was created before the time specified.
$sel:maxResults:ListHubContents', listHubContents_maxResults - The maximum amount of hub content to list.
$sel:maxSchemaVersion:ListHubContents', listHubContents_maxSchemaVersion - The upper bound of the hub content schema verion.
$sel:nameContains:ListHubContents', listHubContents_nameContains - Only list hub content if the name contains the specified string.
ListHubContents, listHubContents_nextToken - If the response to a previous ListHubContents request was truncated,
 the response includes a NextToken. To retrieve the next set of hub
 content, use the token in the next request.
$sel:sortBy:ListHubContents', listHubContents_sortBy - Sort hub content versions by either name or creation time.
$sel:sortOrder:ListHubContents', listHubContents_sortOrder - Sort hubs by ascending or descending order.
ListHubContents, listHubContents_hubName - The name of the hub to list the contents of.
ListHubContents, listHubContents_hubContentType - The type of hub content to list.
Request Lenses
listHubContents_creationTimeAfter :: Lens' ListHubContents (Maybe UTCTime) Source #
Only list hub content that was created after the time specified.
listHubContents_creationTimeBefore :: Lens' ListHubContents (Maybe UTCTime) Source #
Only list hub content that was created before the time specified.
listHubContents_maxResults :: Lens' ListHubContents (Maybe Natural) Source #
The maximum amount of hub content to list.
listHubContents_maxSchemaVersion :: Lens' ListHubContents (Maybe Text) Source #
The upper bound of the hub content schema verion.
listHubContents_nameContains :: Lens' ListHubContents (Maybe Text) Source #
Only list hub content if the name contains the specified string.
listHubContents_nextToken :: Lens' ListHubContents (Maybe Text) Source #
If the response to a previous ListHubContents request was truncated,
 the response includes a NextToken. To retrieve the next set of hub
 content, use the token in the next request.
listHubContents_sortBy :: Lens' ListHubContents (Maybe HubContentSortBy) Source #
Sort hub content versions by either name or creation time.
listHubContents_sortOrder :: Lens' ListHubContents (Maybe SortOrder) Source #
Sort hubs by ascending or descending order.
listHubContents_hubName :: Lens' ListHubContents Text Source #
The name of the hub to list the contents of.
listHubContents_hubContentType :: Lens' ListHubContents HubContentType Source #
The type of hub content to list.
Destructuring the Response
data ListHubContentsResponse Source #
See: newListHubContentsResponse smart constructor.
Constructors
| ListHubContentsResponse' | |
Fields 
  | |
Instances
newListHubContentsResponse Source #
Create a value of ListHubContentsResponse 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:
ListHubContents, listHubContentsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve
 the next set of hub content, use it in the subsequent request.
$sel:httpStatus:ListHubContentsResponse', listHubContentsResponse_httpStatus - The response's http status code.
$sel:hubContentSummaries:ListHubContentsResponse', listHubContentsResponse_hubContentSummaries - The summaries of the listed hub content.
Response Lenses
listHubContentsResponse_nextToken :: Lens' ListHubContentsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of hub content, use it in the subsequent request.
listHubContentsResponse_httpStatus :: Lens' ListHubContentsResponse Int Source #
The response's http status code.
listHubContentsResponse_hubContentSummaries :: Lens' ListHubContentsResponse [HubContentInfo] Source #
The summaries of the listed hub content.