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 hub content versions.
Synopsis
- data ListHubContentVersions = ListHubContentVersions' {}
- newListHubContentVersions :: Text -> HubContentType -> Text -> ListHubContentVersions
- listHubContentVersions_creationTimeAfter :: Lens' ListHubContentVersions (Maybe UTCTime)
- listHubContentVersions_creationTimeBefore :: Lens' ListHubContentVersions (Maybe UTCTime)
- listHubContentVersions_maxResults :: Lens' ListHubContentVersions (Maybe Natural)
- listHubContentVersions_maxSchemaVersion :: Lens' ListHubContentVersions (Maybe Text)
- listHubContentVersions_minVersion :: Lens' ListHubContentVersions (Maybe Text)
- listHubContentVersions_nextToken :: Lens' ListHubContentVersions (Maybe Text)
- listHubContentVersions_sortBy :: Lens' ListHubContentVersions (Maybe HubContentSortBy)
- listHubContentVersions_sortOrder :: Lens' ListHubContentVersions (Maybe SortOrder)
- listHubContentVersions_hubName :: Lens' ListHubContentVersions Text
- listHubContentVersions_hubContentType :: Lens' ListHubContentVersions HubContentType
- listHubContentVersions_hubContentName :: Lens' ListHubContentVersions Text
- data ListHubContentVersionsResponse = ListHubContentVersionsResponse' {}
- newListHubContentVersionsResponse :: Int -> ListHubContentVersionsResponse
- listHubContentVersionsResponse_nextToken :: Lens' ListHubContentVersionsResponse (Maybe Text)
- listHubContentVersionsResponse_httpStatus :: Lens' ListHubContentVersionsResponse Int
- listHubContentVersionsResponse_hubContentSummaries :: Lens' ListHubContentVersionsResponse [HubContentInfo]
Creating a Request
data ListHubContentVersions Source #
See: newListHubContentVersions
smart constructor.
ListHubContentVersions' | |
|
Instances
newListHubContentVersions Source #
:: Text | |
-> HubContentType | |
-> Text | |
-> ListHubContentVersions |
Create a value of ListHubContentVersions
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:ListHubContentVersions'
, listHubContentVersions_creationTimeAfter
- Only list hub content versions that were created after the time
specified.
$sel:creationTimeBefore:ListHubContentVersions'
, listHubContentVersions_creationTimeBefore
- Only list hub content versions that were created before the time
specified.
$sel:maxResults:ListHubContentVersions'
, listHubContentVersions_maxResults
- The maximum number of hub content versions to list.
$sel:maxSchemaVersion:ListHubContentVersions'
, listHubContentVersions_maxSchemaVersion
- The upper bound of the hub content schema version.
$sel:minVersion:ListHubContentVersions'
, listHubContentVersions_minVersion
- The lower bound of the hub content versions to list.
ListHubContentVersions
, listHubContentVersions_nextToken
- If the response to a previous ListHubContentVersions
request was
truncated, the response includes a NextToken
. To retrieve the next set
of hub content versions, use the token in the next request.
$sel:sortBy:ListHubContentVersions'
, listHubContentVersions_sortBy
- Sort hub content versions by either name or creation time.
$sel:sortOrder:ListHubContentVersions'
, listHubContentVersions_sortOrder
- Sort hub content versions by ascending or descending order.
ListHubContentVersions
, listHubContentVersions_hubName
- The name of the hub to list the content versions of.
ListHubContentVersions
, listHubContentVersions_hubContentType
- The type of hub content to list versions of.
ListHubContentVersions
, listHubContentVersions_hubContentName
- The name of the hub content.
Request Lenses
listHubContentVersions_creationTimeAfter :: Lens' ListHubContentVersions (Maybe UTCTime) Source #
Only list hub content versions that were created after the time specified.
listHubContentVersions_creationTimeBefore :: Lens' ListHubContentVersions (Maybe UTCTime) Source #
Only list hub content versions that were created before the time specified.
listHubContentVersions_maxResults :: Lens' ListHubContentVersions (Maybe Natural) Source #
The maximum number of hub content versions to list.
listHubContentVersions_maxSchemaVersion :: Lens' ListHubContentVersions (Maybe Text) Source #
The upper bound of the hub content schema version.
listHubContentVersions_minVersion :: Lens' ListHubContentVersions (Maybe Text) Source #
The lower bound of the hub content versions to list.
listHubContentVersions_nextToken :: Lens' ListHubContentVersions (Maybe Text) Source #
If the response to a previous ListHubContentVersions
request was
truncated, the response includes a NextToken
. To retrieve the next set
of hub content versions, use the token in the next request.
listHubContentVersions_sortBy :: Lens' ListHubContentVersions (Maybe HubContentSortBy) Source #
Sort hub content versions by either name or creation time.
listHubContentVersions_sortOrder :: Lens' ListHubContentVersions (Maybe SortOrder) Source #
Sort hub content versions by ascending or descending order.
listHubContentVersions_hubName :: Lens' ListHubContentVersions Text Source #
The name of the hub to list the content versions of.
listHubContentVersions_hubContentType :: Lens' ListHubContentVersions HubContentType Source #
The type of hub content to list versions of.
listHubContentVersions_hubContentName :: Lens' ListHubContentVersions Text Source #
The name of the hub content.
Destructuring the Response
data ListHubContentVersionsResponse Source #
See: newListHubContentVersionsResponse
smart constructor.
ListHubContentVersionsResponse' | |
|
Instances
newListHubContentVersionsResponse Source #
Create a value of ListHubContentVersionsResponse
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:
ListHubContentVersions
, listHubContentVersionsResponse_nextToken
- If the response is truncated, SageMaker returns this token. To retrieve
the next set of hub content versions, use it in the subsequent request.
$sel:httpStatus:ListHubContentVersionsResponse'
, listHubContentVersionsResponse_httpStatus
- The response's http status code.
$sel:hubContentSummaries:ListHubContentVersionsResponse'
, listHubContentVersionsResponse_hubContentSummaries
- The summaries of the listed hub content versions.
Response Lenses
listHubContentVersionsResponse_nextToken :: Lens' ListHubContentVersionsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of hub content versions, use it in the subsequent request.
listHubContentVersionsResponse_httpStatus :: Lens' ListHubContentVersionsResponse Int Source #
The response's http status code.
listHubContentVersionsResponse_hubContentSummaries :: Lens' ListHubContentVersionsResponse [HubContentInfo] Source #
The summaries of the listed hub content versions.