libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange
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.DataExchange.ListDataSets

Description

This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDataSets Source #

See: newListDataSets smart constructor.

Constructors

ListDataSets' 

Fields

  • origin :: Maybe Text

    A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).

  • nextToken :: Maybe Text

    The token value retrieved from a previous call to access the next page of results.

  • maxResults :: Maybe Natural

    The maximum number of results returned by a single call.

Instances

Instances details
Eq ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Read ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Show ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Generic ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Associated Types

type Rep ListDataSets :: Type -> Type #

NFData ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Methods

rnf :: ListDataSets -> () #

Hashable ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

AWSPager ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

AWSRequest ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Associated Types

type AWSResponse ListDataSets #

ToHeaders ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

ToPath ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

ToQuery ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type Rep ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type Rep ListDataSets = D1 ('MetaData "ListDataSets" "Amazonka.DataExchange.ListDataSets" "libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange" 'False) (C1 ('MetaCons "ListDataSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") '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.DataExchange.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:origin:ListDataSets', listDataSets_origin - A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).

$sel:nextToken:ListDataSets', listDataSets_nextToken - The token value retrieved from a previous call to access the next page of results.

$sel:maxResults:ListDataSets', listDataSets_maxResults - The maximum number of results returned by a single call.

Request Lenses

listDataSets_origin :: Lens' ListDataSets (Maybe Text) Source #

A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).

listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #

The token value retrieved from a previous call to access the next page of results.

listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #

The maximum number of results returned by a single call.

Destructuring the Response

data ListDataSetsResponse Source #

See: newListDataSetsResponse smart constructor.

Constructors

ListDataSetsResponse' 

Fields

Instances

Instances details
Eq ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Read ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Show ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Generic ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Associated Types

type Rep ListDataSetsResponse :: Type -> Type #

NFData ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Methods

rnf :: ListDataSetsResponse -> () #

type Rep ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type Rep ListDataSetsResponse = D1 ('MetaData "ListDataSetsResponse" "Amazonka.DataExchange.ListDataSets" "libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange" '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 [DataSetEntry])) :*: 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 - The token value retrieved from a previous call to access the next page of results.

$sel:dataSets:ListDataSetsResponse', listDataSetsResponse_dataSets - The data set objects listed by the request.

$sel:httpStatus:ListDataSetsResponse', listDataSetsResponse_httpStatus - The response's http status code.

Response Lenses

listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #

The token value retrieved from a previous call to access the next page of results.

listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse (Maybe [DataSetEntry]) Source #

The data set objects listed by the request.