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.ListModelPackageGroups

Description

Gets a list of the model groups in your Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListModelPackageGroups Source #

See: newListModelPackageGroups smart constructor.

Constructors

ListModelPackageGroups' 

Fields

Instances

Instances details
ToJSON ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

ToHeaders ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

ToPath ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

ToQuery ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

AWSPager ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

AWSRequest ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Associated Types

type AWSResponse ListModelPackageGroups #

Generic ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Associated Types

type Rep ListModelPackageGroups :: Type -> Type #

Read ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Show ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

NFData ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Methods

rnf :: ListModelPackageGroups -> () #

Eq ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Hashable ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

type AWSResponse ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

type Rep ListModelPackageGroups Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

type Rep ListModelPackageGroups = D1 ('MetaData "ListModelPackageGroups" "Amazonka.SageMaker.ListModelPackageGroups" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListModelPackageGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "nameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelPackageGroupSortBy)) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrder))))))

newListModelPackageGroups :: ListModelPackageGroups Source #

Create a value of ListModelPackageGroups 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:ListModelPackageGroups', listModelPackageGroups_creationTimeAfter - A filter that returns only model groups created after the specified time.

$sel:creationTimeBefore:ListModelPackageGroups', listModelPackageGroups_creationTimeBefore - A filter that returns only model groups created before the specified time.

$sel:maxResults:ListModelPackageGroups', listModelPackageGroups_maxResults - The maximum number of results to return in the response.

$sel:nameContains:ListModelPackageGroups', listModelPackageGroups_nameContains - A string in the model group name. This filter returns only model groups whose name contains the specified string.

ListModelPackageGroups, listModelPackageGroups_nextToken - If the result of the previous ListModelPackageGroups request was truncated, the response includes a NextToken. To retrieve the next set of model groups, use the token in the next request.

$sel:sortBy:ListModelPackageGroups', listModelPackageGroups_sortBy - The field to sort results by. The default is CreationTime.

$sel:sortOrder:ListModelPackageGroups', listModelPackageGroups_sortOrder - The sort order for results. The default is Ascending.

Request Lenses

listModelPackageGroups_creationTimeAfter :: Lens' ListModelPackageGroups (Maybe UTCTime) Source #

A filter that returns only model groups created after the specified time.

listModelPackageGroups_creationTimeBefore :: Lens' ListModelPackageGroups (Maybe UTCTime) Source #

A filter that returns only model groups created before the specified time.

listModelPackageGroups_maxResults :: Lens' ListModelPackageGroups (Maybe Natural) Source #

The maximum number of results to return in the response.

listModelPackageGroups_nameContains :: Lens' ListModelPackageGroups (Maybe Text) Source #

A string in the model group name. This filter returns only model groups whose name contains the specified string.

listModelPackageGroups_nextToken :: Lens' ListModelPackageGroups (Maybe Text) Source #

If the result of the previous ListModelPackageGroups request was truncated, the response includes a NextToken. To retrieve the next set of model groups, use the token in the next request.

listModelPackageGroups_sortBy :: Lens' ListModelPackageGroups (Maybe ModelPackageGroupSortBy) Source #

The field to sort results by. The default is CreationTime.

listModelPackageGroups_sortOrder :: Lens' ListModelPackageGroups (Maybe SortOrder) Source #

The sort order for results. The default is Ascending.

Destructuring the Response

data ListModelPackageGroupsResponse Source #

See: newListModelPackageGroupsResponse smart constructor.

Constructors

ListModelPackageGroupsResponse' 

Fields

Instances

Instances details
Generic ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Associated Types

type Rep ListModelPackageGroupsResponse :: Type -> Type #

Read ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Show ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

NFData ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

Eq ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

type Rep ListModelPackageGroupsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListModelPackageGroups

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

newListModelPackageGroupsResponse Source #

Create a value of ListModelPackageGroupsResponse 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:

ListModelPackageGroups, listModelPackageGroupsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve the next set of model groups, use it in the subsequent request.

$sel:httpStatus:ListModelPackageGroupsResponse', listModelPackageGroupsResponse_httpStatus - The response's http status code.

$sel:modelPackageGroupSummaryList:ListModelPackageGroupsResponse', listModelPackageGroupsResponse_modelPackageGroupSummaryList - A list of summaries of the model groups in your Amazon Web Services account.

Response Lenses

listModelPackageGroupsResponse_nextToken :: Lens' ListModelPackageGroupsResponse (Maybe Text) Source #

If the response is truncated, SageMaker returns this token. To retrieve the next set of model groups, use it in the subsequent request.

listModelPackageGroupsResponse_modelPackageGroupSummaryList :: Lens' ListModelPackageGroupsResponse [ModelPackageGroupSummary] Source #

A list of summaries of the model groups in your Amazon Web Services account.