| 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.ListModelCardVersions
Description
List existing versions of an Amazon SageMaker Model Card.
This operation returns paginated results.
Synopsis
- data ListModelCardVersions = ListModelCardVersions' {}
 - newListModelCardVersions :: Text -> ListModelCardVersions
 - listModelCardVersions_creationTimeAfter :: Lens' ListModelCardVersions (Maybe UTCTime)
 - listModelCardVersions_creationTimeBefore :: Lens' ListModelCardVersions (Maybe UTCTime)
 - listModelCardVersions_maxResults :: Lens' ListModelCardVersions (Maybe Natural)
 - listModelCardVersions_modelCardStatus :: Lens' ListModelCardVersions (Maybe ModelCardStatus)
 - listModelCardVersions_nextToken :: Lens' ListModelCardVersions (Maybe Text)
 - listModelCardVersions_sortBy :: Lens' ListModelCardVersions (Maybe ModelCardVersionSortBy)
 - listModelCardVersions_sortOrder :: Lens' ListModelCardVersions (Maybe ModelCardSortOrder)
 - listModelCardVersions_modelCardName :: Lens' ListModelCardVersions Text
 - data ListModelCardVersionsResponse = ListModelCardVersionsResponse' {}
 - newListModelCardVersionsResponse :: Int -> ListModelCardVersionsResponse
 - listModelCardVersionsResponse_nextToken :: Lens' ListModelCardVersionsResponse (Maybe Text)
 - listModelCardVersionsResponse_httpStatus :: Lens' ListModelCardVersionsResponse Int
 - listModelCardVersionsResponse_modelCardVersionSummaryList :: Lens' ListModelCardVersionsResponse [ModelCardVersionSummary]
 
Creating a Request
data ListModelCardVersions Source #
See: newListModelCardVersions smart constructor.
Constructors
| ListModelCardVersions' | |
Fields 
  | |
Instances
newListModelCardVersions Source #
Arguments
| :: Text | |
| -> ListModelCardVersions | 
Create a value of ListModelCardVersions 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:ListModelCardVersions', listModelCardVersions_creationTimeAfter - Only list model card versions that were created after the time
 specified.
$sel:creationTimeBefore:ListModelCardVersions', listModelCardVersions_creationTimeBefore - Only list model card versions that were created before the time
 specified.
$sel:maxResults:ListModelCardVersions', listModelCardVersions_maxResults - The maximum number of model card versions to list.
ListModelCardVersions, listModelCardVersions_modelCardStatus - Only list model card versions with the specified approval status.
ListModelCardVersions, listModelCardVersions_nextToken - If the response to a previous ListModelCardVersions request was
 truncated, the response includes a NextToken. To retrieve the next set
 of model card versions, use the token in the next request.
$sel:sortBy:ListModelCardVersions', listModelCardVersions_sortBy - Sort listed model card versions by version. Sorts by version by default.
$sel:sortOrder:ListModelCardVersions', listModelCardVersions_sortOrder - Sort model card versions by ascending or descending order.
ListModelCardVersions, listModelCardVersions_modelCardName - List model card versions for the model card with the specified name.
Request Lenses
listModelCardVersions_creationTimeAfter :: Lens' ListModelCardVersions (Maybe UTCTime) Source #
Only list model card versions that were created after the time specified.
listModelCardVersions_creationTimeBefore :: Lens' ListModelCardVersions (Maybe UTCTime) Source #
Only list model card versions that were created before the time specified.
listModelCardVersions_maxResults :: Lens' ListModelCardVersions (Maybe Natural) Source #
The maximum number of model card versions to list.
listModelCardVersions_modelCardStatus :: Lens' ListModelCardVersions (Maybe ModelCardStatus) Source #
Only list model card versions with the specified approval status.
listModelCardVersions_nextToken :: Lens' ListModelCardVersions (Maybe Text) Source #
If the response to a previous ListModelCardVersions request was
 truncated, the response includes a NextToken. To retrieve the next set
 of model card versions, use the token in the next request.
listModelCardVersions_sortBy :: Lens' ListModelCardVersions (Maybe ModelCardVersionSortBy) Source #
Sort listed model card versions by version. Sorts by version by default.
listModelCardVersions_sortOrder :: Lens' ListModelCardVersions (Maybe ModelCardSortOrder) Source #
Sort model card versions by ascending or descending order.
listModelCardVersions_modelCardName :: Lens' ListModelCardVersions Text Source #
List model card versions for the model card with the specified name.
Destructuring the Response
data ListModelCardVersionsResponse Source #
See: newListModelCardVersionsResponse smart constructor.
Constructors
| ListModelCardVersionsResponse' | |
Fields 
  | |
Instances
newListModelCardVersionsResponse Source #
Create a value of ListModelCardVersionsResponse 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:
ListModelCardVersions, listModelCardVersionsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve
 the next set of model card versions, use it in the subsequent request.
$sel:httpStatus:ListModelCardVersionsResponse', listModelCardVersionsResponse_httpStatus - The response's http status code.
$sel:modelCardVersionSummaryList:ListModelCardVersionsResponse', listModelCardVersionsResponse_modelCardVersionSummaryList - The summaries of the listed versions of the model card.
Response Lenses
listModelCardVersionsResponse_nextToken :: Lens' ListModelCardVersionsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of model card versions, use it in the subsequent request.
listModelCardVersionsResponse_httpStatus :: Lens' ListModelCardVersionsResponse Int Source #
The response's http status code.
listModelCardVersionsResponse_modelCardVersionSummaryList :: Lens' ListModelCardVersionsResponse [ModelCardVersionSummary] Source #
The summaries of the listed versions of the model card.