libZSservicesZSamazonka-athenaZSamazonka-athena
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.Athena.ListDataCatalogs

Description

Lists the data catalogs in the current Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDataCatalogs Source #

See: newListDataCatalogs smart constructor.

Constructors

ListDataCatalogs' 

Fields

  • nextToken :: Maybe Text

    A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

  • maxResults :: Maybe Natural

    Specifies the maximum number of data catalogs to return.

Instances

Instances details
Eq ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Read ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Show ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Generic ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type Rep ListDataCatalogs :: Type -> Type #

NFData ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Methods

rnf :: ListDataCatalogs -> () #

Hashable ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToJSON ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

AWSPager ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

AWSRequest ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type AWSResponse ListDataCatalogs #

ToHeaders ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToPath ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToQuery ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

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

Defined in Amazonka.Athena.ListDataCatalogs

newListDataCatalogs :: ListDataCatalogs Source #

Create a value of ListDataCatalogs 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:ListDataCatalogs', listDataCatalogs_nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

$sel:maxResults:ListDataCatalogs', listDataCatalogs_maxResults - Specifies the maximum number of data catalogs to return.

Request Lenses

listDataCatalogs_nextToken :: Lens' ListDataCatalogs (Maybe Text) Source #

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

listDataCatalogs_maxResults :: Lens' ListDataCatalogs (Maybe Natural) Source #

Specifies the maximum number of data catalogs to return.

Destructuring the Response

data ListDataCatalogsResponse Source #

See: newListDataCatalogsResponse smart constructor.

Constructors

ListDataCatalogsResponse' 

Fields

  • dataCatalogsSummary :: Maybe [DataCatalogSummary]

    A summary list of data catalogs.

  • nextToken :: Maybe Text

    A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Read ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Show ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Generic ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type Rep ListDataCatalogsResponse :: Type -> Type #

NFData ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogsResponse = D1 ('MetaData "ListDataCatalogsResponse" "Amazonka.Athena.ListDataCatalogs" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListDataCatalogsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataCatalogsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataCatalogSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDataCatalogsResponse Source #

Create a value of ListDataCatalogsResponse 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:dataCatalogsSummary:ListDataCatalogsResponse', listDataCatalogsResponse_dataCatalogsSummary - A summary list of data catalogs.

$sel:nextToken:ListDataCatalogs', listDataCatalogsResponse_nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

$sel:httpStatus:ListDataCatalogsResponse', listDataCatalogsResponse_httpStatus - The response's http status code.

Response Lenses

listDataCatalogsResponse_nextToken :: Lens' ListDataCatalogsResponse (Maybe Text) Source #

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.