amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.ListModelCardVersions

Description

List existing versions of an Amazon SageMaker Model Card.

This operation returns paginated results.

Synopsis

Creating a Request

data ListModelCardVersions Source #

See: newListModelCardVersions smart constructor.

Constructors

ListModelCardVersions' 

Fields

Instances

Instances details
ToJSON ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

ToHeaders ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

ToPath ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

ToQuery ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

AWSPager ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

AWSRequest ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Associated Types

type AWSResponse ListModelCardVersions #

Generic ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Associated Types

type Rep ListModelCardVersions :: Type -> Type #

Read ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Show ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

NFData ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Methods

rnf :: ListModelCardVersions -> () #

Eq ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Hashable ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

type AWSResponse ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

type Rep ListModelCardVersions Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

newListModelCardVersions Source #

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

Instances details
Generic ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Associated Types

type Rep ListModelCardVersionsResponse :: Type -> Type #

Read ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Show ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

NFData ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

Eq ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

type Rep ListModelCardVersionsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelCardVersions

type Rep ListModelCardVersionsResponse = D1 ('MetaData "ListModelCardVersionsResponse" "Amazonka.SageMaker.ListModelCardVersions" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListModelCardVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "modelCardVersionSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ModelCardVersionSummary]))))

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.