libZSservicesZSamazonka-personalizeZSamazonka-personalize
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Personalize.ListDatasets

Description

Returns the list of datasets contained in the given dataset group. The response provides the properties for each dataset, including the Amazon Resource Name (ARN). For more information on datasets, see CreateDataset.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDatasets Source #

See: newListDatasets smart constructor.

Constructors

ListDatasets' 

Fields

  • nextToken :: Maybe Text

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

  • datasetGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset group that contains the datasets to list.

  • maxResults :: Maybe Natural

    The maximum number of datasets to return.

Instances

Instances details
Eq ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Read ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Show ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Generic ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Associated Types

type Rep ListDatasets :: Type -> Type #

NFData ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Methods

rnf :: ListDatasets -> () #

Hashable ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

ToJSON ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

AWSPager ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

AWSRequest ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Associated Types

type AWSResponse ListDatasets #

ToHeaders ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

ToPath ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

ToQuery ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

type Rep ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

type Rep ListDatasets = D1 ('MetaData "ListDatasets" "Amazonka.Personalize.ListDatasets" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "ListDatasets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "datasetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListDatasets Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

newListDatasets :: ListDatasets Source #

Create a value of ListDatasets 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:nextToken:ListDatasets', listDatasets_nextToken - A token returned from the previous call to ListDatasetImportJobs for getting the next set of dataset import jobs (if they exist).

$sel:datasetGroupArn:ListDatasets', listDatasets_datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group that contains the datasets to list.

$sel:maxResults:ListDatasets', listDatasets_maxResults - The maximum number of datasets to return.

Request Lenses

listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #

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

listDatasets_datasetGroupArn :: Lens' ListDatasets (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset group that contains the datasets to list.

listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #

The maximum number of datasets to return.

Destructuring the Response

data ListDatasetsResponse Source #

See: newListDatasetsResponse smart constructor.

Constructors

ListDatasetsResponse' 

Fields

Instances

Instances details
Eq ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Read ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Show ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Generic ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Associated Types

type Rep ListDatasetsResponse :: Type -> Type #

NFData ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

Methods

rnf :: ListDatasetsResponse -> () #

type Rep ListDatasetsResponse Source # 
Instance details

Defined in Amazonka.Personalize.ListDatasets

type Rep ListDatasetsResponse = D1 ('MetaData "ListDatasetsResponse" "Amazonka.Personalize.ListDatasets" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "ListDatasetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "datasets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DatasetSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDatasetsResponse Source #

Create a value of ListDatasetsResponse 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:nextToken:ListDatasets', listDatasetsResponse_nextToken - A token for getting the next set of datasets (if they exist).

$sel:datasets:ListDatasetsResponse', listDatasetsResponse_datasets - An array of Dataset objects. Each object provides metadata information.

$sel:httpStatus:ListDatasetsResponse', listDatasetsResponse_httpStatus - The response's http status code.

Response Lenses

listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #

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

listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [DatasetSummary]) Source #

An array of Dataset objects. Each object provides metadata information.