libZSservicesZSamazonka-glueZSamazonka-glue
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.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
Eq ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Read ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Show ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Generic ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type Rep ListCrawlers :: Type -> Type #

NFData ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Methods

rnf :: ListCrawlers -> () #

Hashable ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

ToJSON ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

AWSRequest ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type AWSResponse 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

type Rep ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlers = D1 ('MetaData "ListCrawlers" "Amazonka.Glue.ListCrawlers" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListCrawlers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))
type AWSResponse ListCrawlers Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

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:nextToken:ListCrawlers', listCrawlers_nextToken - A continuation token, if this is a continuation request.

$sel:maxResults:ListCrawlers', listCrawlers_maxResults - The maximum size of a list to return.

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

Request Lenses

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

A continuation token, if this is a continuation request.

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

The maximum size of a list to return.

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

  • nextToken :: Maybe Text

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

  • crawlerNames :: Maybe [Text]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Read ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Show ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Generic ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Associated Types

type Rep ListCrawlersResponse :: Type -> Type #

NFData ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

Methods

rnf :: ListCrawlersResponse -> () #

type Rep ListCrawlersResponse Source # 
Instance details

Defined in Amazonka.Glue.ListCrawlers

type Rep ListCrawlersResponse = D1 ('MetaData "ListCrawlersResponse" "Amazonka.Glue.ListCrawlers" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListCrawlersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "crawlerNames") '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:nextToken:ListCrawlers', listCrawlersResponse_nextToken - A continuation token, if the returned list does not contain the last metric available.

$sel:crawlerNames:ListCrawlersResponse', listCrawlersResponse_crawlerNames - The names of all crawlers in the account, or the crawlers with the specified tags.

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

Response Lenses

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

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

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

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