list_crawlers

Glue.Client.list_crawlers(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.list_crawlers(
    MaxResults=123,
    NextToken='string',
    Tags={
        'string': 'string'
    }
)
Parameters
  • MaxResults (integer) -- The maximum size of a list to return.
  • NextToken (string) -- A continuation token, if this is a continuation request.
  • Tags (dict) --

    Specifies to return only these tagged resources.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'CrawlerNames': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CrawlerNames (list) --

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

      • (string) --
    • NextToken (string) --

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

Exceptions

  • Glue.Client.exceptions.OperationTimeoutException