amazonka-glue-2.0: Amazon Glue 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.Glue.ListCrawlers

Description

Retrieves the names of all crawler resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

Synopsis

Creating a Request

data ListCrawlers Source #

See: newListCrawlers smart constructor.

Constructors

ListCrawlers' 

Fields

Instances

Instances details
ToJSON ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

ToHeaders ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

ToPath ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

ToQuery ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

AWSRequest ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type AWSResponse ListCrawlers #

Generic ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type Rep ListCrawlers :: Type -> Type #

Read ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Show ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

NFData ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Methods

rnf :: ListCrawlers -> () #

Eq ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Hashable ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type AWSResponse ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlers = D1 ('MetaData "ListCrawlers" "Amazonka.Glue.ListCrawlers" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListCrawlers'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

newListCrawlers :: ListCrawlers Source #

Create a value of ListCrawlers 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:ListCrawlers', listCrawlers_maxResults - The maximum size of a list to return.

ListCrawlers, listCrawlers_nextToken - A continuation token, if this is a continuation request.

$sel:tags:ListCrawlers', listCrawlers_tags - Specifies to return only these tagged resources.

Request Lenses

listCrawlers_maxResults :: Lens' ListCrawlers (Maybe Natural) Source #

The maximum size of a list to return.

listCrawlers_nextToken :: Lens' ListCrawlers (Maybe Text) Source #

A continuation token, if this is a continuation request.

listCrawlers_tags :: Lens' ListCrawlers (Maybe (HashMap Text Text)) Source #

Specifies to return only these tagged resources.

Destructuring the Response

data ListCrawlersResponse Source #

See: newListCrawlersResponse smart constructor.

Constructors

ListCrawlersResponse' 

Fields

  • crawlerNames :: Maybe [Text]

    The names of all crawlers in the account, or the crawlers with the specified tags.

  • nextToken :: Maybe Text

    A continuation token, if the returned list does not contain the last metric available.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type Rep ListCrawlersResponse :: Type -> Type #

Read ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Show ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

NFData ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Methods

rnf :: ListCrawlersResponse -> () #

Eq ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlersResponse = D1 ('MetaData "ListCrawlersResponse" "Amazonka.Glue.ListCrawlers" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListCrawlersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "crawlerNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCrawlersResponse Source #

Create a value of ListCrawlersResponse 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:crawlerNames:ListCrawlersResponse', listCrawlersResponse_crawlerNames - The names of all crawlers in the account, or the crawlers with the specified tags.

ListCrawlers, listCrawlersResponse_nextToken - A continuation token, if the returned list does not contain the last metric available.

$sel:httpStatus:ListCrawlersResponse', listCrawlersResponse_httpStatus - The response's http status code.

Response Lenses

listCrawlersResponse_crawlerNames :: Lens' ListCrawlersResponse (Maybe [Text]) Source #

The names of all crawlers in the account, or the crawlers with the specified tags.

listCrawlersResponse_nextToken :: Lens' ListCrawlersResponse (Maybe Text) Source #

A continuation token, if the returned list does not contain the last metric available.