| 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.ListModelCards
Description
List existing model cards.
This operation returns paginated results.
Synopsis
- data ListModelCards = ListModelCards' {}
- newListModelCards :: ListModelCards
- listModelCards_creationTimeAfter :: Lens' ListModelCards (Maybe UTCTime)
- listModelCards_creationTimeBefore :: Lens' ListModelCards (Maybe UTCTime)
- listModelCards_maxResults :: Lens' ListModelCards (Maybe Natural)
- listModelCards_modelCardStatus :: Lens' ListModelCards (Maybe ModelCardStatus)
- listModelCards_nameContains :: Lens' ListModelCards (Maybe Text)
- listModelCards_nextToken :: Lens' ListModelCards (Maybe Text)
- listModelCards_sortBy :: Lens' ListModelCards (Maybe ModelCardSortBy)
- listModelCards_sortOrder :: Lens' ListModelCards (Maybe ModelCardSortOrder)
- data ListModelCardsResponse = ListModelCardsResponse' {}
- newListModelCardsResponse :: Int -> ListModelCardsResponse
- listModelCardsResponse_nextToken :: Lens' ListModelCardsResponse (Maybe Text)
- listModelCardsResponse_httpStatus :: Lens' ListModelCardsResponse Int
- listModelCardsResponse_modelCardSummaries :: Lens' ListModelCardsResponse [ModelCardSummary]
Creating a Request
data ListModelCards Source #
See: newListModelCards smart constructor.
Constructors
| ListModelCards' | |
Fields
| |
Instances
newListModelCards :: ListModelCards Source #
Create a value of ListModelCards 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:ListModelCards', listModelCards_creationTimeAfter - Only list model cards that were created after the time specified.
$sel:creationTimeBefore:ListModelCards', listModelCards_creationTimeBefore - Only list model cards that were created before the time specified.
$sel:maxResults:ListModelCards', listModelCards_maxResults - The maximum number of model cards to list.
ListModelCards, listModelCards_modelCardStatus - Only list model cards with the specified approval status.
$sel:nameContains:ListModelCards', listModelCards_nameContains - Only list model cards with names that contain the specified string.
ListModelCards, listModelCards_nextToken - If the response to a previous ListModelCards request was truncated,
the response includes a NextToken. To retrieve the next set of model
cards, use the token in the next request.
$sel:sortBy:ListModelCards', listModelCards_sortBy - Sort model cards by either name or creation time. Sorts by creation time
by default.
$sel:sortOrder:ListModelCards', listModelCards_sortOrder - Sort model cards by ascending or descending order.
Request Lenses
listModelCards_creationTimeAfter :: Lens' ListModelCards (Maybe UTCTime) Source #
Only list model cards that were created after the time specified.
listModelCards_creationTimeBefore :: Lens' ListModelCards (Maybe UTCTime) Source #
Only list model cards that were created before the time specified.
listModelCards_maxResults :: Lens' ListModelCards (Maybe Natural) Source #
The maximum number of model cards to list.
listModelCards_modelCardStatus :: Lens' ListModelCards (Maybe ModelCardStatus) Source #
Only list model cards with the specified approval status.
listModelCards_nameContains :: Lens' ListModelCards (Maybe Text) Source #
Only list model cards with names that contain the specified string.
listModelCards_nextToken :: Lens' ListModelCards (Maybe Text) Source #
If the response to a previous ListModelCards request was truncated,
the response includes a NextToken. To retrieve the next set of model
cards, use the token in the next request.
listModelCards_sortBy :: Lens' ListModelCards (Maybe ModelCardSortBy) Source #
Sort model cards by either name or creation time. Sorts by creation time by default.
listModelCards_sortOrder :: Lens' ListModelCards (Maybe ModelCardSortOrder) Source #
Sort model cards by ascending or descending order.
Destructuring the Response
data ListModelCardsResponse Source #
See: newListModelCardsResponse smart constructor.
Constructors
| ListModelCardsResponse' | |
Fields
| |
Instances
newListModelCardsResponse Source #
Create a value of ListModelCardsResponse 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:
ListModelCards, listModelCardsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve
the next set of model cards, use it in the subsequent request.
$sel:httpStatus:ListModelCardsResponse', listModelCardsResponse_httpStatus - The response's http status code.
$sel:modelCardSummaries:ListModelCardsResponse', listModelCardsResponse_modelCardSummaries - The summaries of the listed model cards.
Response Lenses
listModelCardsResponse_nextToken :: Lens' ListModelCardsResponse (Maybe Text) Source #
If the response is truncated, SageMaker returns this token. To retrieve the next set of model cards, use it in the subsequent request.
listModelCardsResponse_httpStatus :: Lens' ListModelCardsResponse Int Source #
The response's http status code.
listModelCardsResponse_modelCardSummaries :: Lens' ListModelCardsResponse [ModelCardSummary] Source #
The summaries of the listed model cards.