amazonka-m2-2.0: Amazon MainframeModernization 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.M2.ListDataSets

Description

Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.

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 objects to return.

  • nextToken :: Maybe Text

    A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

  • prefix :: Maybe Text

    The prefix of the data set name, which you can use to filter the list of data sets.

  • applicationId :: Text

    The unique identifier of the application for which you want to list the associated data sets.

Instances

Instances details
ToHeaders ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

ToPath ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

ToQuery ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

AWSPager ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

AWSRequest ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Associated Types

type AWSResponse ListDataSets #

Generic ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Associated Types

type Rep ListDataSets :: Type -> Type #

Read ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Show ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

NFData ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Methods

rnf :: ListDataSets -> () #

Eq ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Hashable ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

type AWSResponse ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

type Rep ListDataSets Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

type Rep ListDataSets = D1 ('MetaData "ListDataSets" "Amazonka.M2.ListDataSets" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" '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 "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListDataSets 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 objects to return.

ListDataSets, listDataSets_nextToken - A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

$sel:prefix:ListDataSets', listDataSets_prefix - The prefix of the data set name, which you can use to filter the list of data sets.

ListDataSets, listDataSets_applicationId - The unique identifier of the application for which you want to list the associated data sets.

Request Lenses

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

The maximum number of objects to return.

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

A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

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

The prefix of the data set name, which you can use to filter the list of data sets.

listDataSets_applicationId :: Lens' ListDataSets Text Source #

The unique identifier of the application for which you want to list the associated data sets.

Destructuring the Response

data ListDataSetsResponse Source #

See: newListDataSetsResponse smart constructor.

Constructors

ListDataSetsResponse' 

Fields

  • nextToken :: Maybe Text

    If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

  • httpStatus :: Int

    The response's http status code.

  • dataSets :: [DataSetSummary]

    The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.

Instances

Instances details
Generic ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Associated Types

type Rep ListDataSetsResponse :: Type -> Type #

Read ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Show ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

NFData ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

Methods

rnf :: ListDataSetsResponse -> () #

Eq ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

type Rep ListDataSetsResponse Source # 
Instance details

Defined in Amazonka.M2.ListDataSets

type Rep ListDataSetsResponse = D1 ('MetaData "ListDataSetsResponse" "Amazonka.M2.ListDataSets" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListDataSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "dataSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DataSetSummary]))))

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:

ListDataSets, listDataSetsResponse_nextToken - If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

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

ListDataSetsResponse, listDataSetsResponse_dataSets - The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.

Response Lenses

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

If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse [DataSetSummary] Source #

The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.