amazonka-personalize-2.0: Amazon Personalize 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.Personalize.ListDatasetGroups

Description

Returns a list of dataset groups. The response provides the properties for each dataset group, including the Amazon Resource Name (ARN). For more information on dataset groups, see CreateDatasetGroup.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDatasetGroups Source #

See: newListDatasetGroups smart constructor.

Constructors

ListDatasetGroups' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of dataset groups to return.

  • nextToken :: Maybe Text

    A token returned from the previous call to ListDatasetGroups for getting the next set of dataset groups (if they exist).

Instances

Instances details
ToJSON ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

ToHeaders ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

ToPath ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

ToQuery ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

AWSPager ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

AWSRequest ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Associated Types

type AWSResponse ListDatasetGroups #

Generic ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Associated Types

type Rep ListDatasetGroups :: Type -> Type #

Read ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Show ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

NFData ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Methods

rnf :: ListDatasetGroups -> () #

Eq ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Hashable ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

type AWSResponse ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

type Rep ListDatasetGroups Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

type Rep ListDatasetGroups = D1 ('MetaData "ListDatasetGroups" "Amazonka.Personalize.ListDatasetGroups" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "ListDatasetGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListDatasetGroups :: ListDatasetGroups Source #

Create a value of ListDatasetGroups 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:maxResults:ListDatasetGroups', listDatasetGroups_maxResults - The maximum number of dataset groups to return.

ListDatasetGroups, listDatasetGroups_nextToken - A token returned from the previous call to ListDatasetGroups for getting the next set of dataset groups (if they exist).

Request Lenses

listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural) Source #

The maximum number of dataset groups to return.

listDatasetGroups_nextToken :: Lens' ListDatasetGroups (Maybe Text) Source #

A token returned from the previous call to ListDatasetGroups for getting the next set of dataset groups (if they exist).

Destructuring the Response

data ListDatasetGroupsResponse Source #

See: newListDatasetGroupsResponse smart constructor.

Constructors

ListDatasetGroupsResponse' 

Fields

Instances

Instances details
Generic ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Associated Types

type Rep ListDatasetGroupsResponse :: Type -> Type #

Read ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Show ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

NFData ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

Eq ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

type Rep ListDatasetGroupsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasetGroups

type Rep ListDatasetGroupsResponse = D1 ('MetaData "ListDatasetGroupsResponse" "Amazonka.Personalize.ListDatasetGroups" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "ListDatasetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "datasetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DatasetGroupSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDatasetGroupsResponse Source #

Create a value of ListDatasetGroupsResponse 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:datasetGroups:ListDatasetGroupsResponse', listDatasetGroupsResponse_datasetGroups - The list of your dataset groups.

ListDatasetGroups, listDatasetGroupsResponse_nextToken - A token for getting the next set of dataset groups (if they exist).

$sel:httpStatus:ListDatasetGroupsResponse', listDatasetGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text) Source #

A token for getting the next set of dataset groups (if they exist).