amazonka-dataexchange-2.0: Amazon Data Exchange 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.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

  • maxResults :: Maybe Natural

    The maximum number of results returned by a single call.

  • nextToken :: Maybe Text

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

  • origin :: Maybe Text

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

Instances

Instances details
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

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 #

Generic ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Associated Types

type Rep ListDataSets :: Type -> Type #

Read ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Show ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

NFData ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Methods

rnf :: ListDataSets -> () #

Eq ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Hashable ListDataSets Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type AWSResponse 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" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "ListDataSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:maxResults:ListDataSets', listDataSets_maxResults - The maximum number of results returned by a single call.

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

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

Request Lenses

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

The maximum number of results returned by a single call.

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

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

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

Destructuring the Response

data ListDataSetsResponse Source #

See: newListDataSetsResponse smart constructor.

Constructors

ListDataSetsResponse' 

Fields

Instances

Instances details
Generic ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Associated Types

type Rep ListDataSetsResponse :: Type -> Type #

Read ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Show ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

NFData ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

Methods

rnf :: ListDataSetsResponse -> () #

Eq ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type Rep ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.DataExchange.ListDataSets

type Rep ListDataSetsResponse = D1 ('MetaData "ListDataSetsResponse" "Amazonka.DataExchange.ListDataSets" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "ListDataSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataSetEntry])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:dataSets:ListDataSetsResponse', listDataSetsResponse_dataSets - The data set objects listed by the request.

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

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

Response Lenses

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

The data set objects listed by the request.

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

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