GlueClient.list_crawls
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Returns all the crawls of a specified crawler. Returns only the crawls that have occurred since the launch date of the crawler history feature, and only retains up to 12 months of crawls. Older crawls will not be returned. You may use this API to: Retrive all the crawls of a specified crawler. Retrieve all the crawls of a specified crawler within a limited count. Retrieve all the crawls of a...
Install and imports
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
CrawlsFilter,
ListCrawlsOutput,
)
Signature
async def list_crawls(
*,
crawler_name: str,
max_results: int | None = None,
filters: Sequence[CrawlsFilter] | None = None,
next_token: str | None = None,
) -> ListCrawlsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
crawler_name |
Yes | The name of the crawler whose runs you want to retrieve. |
max_results |
No | The maximum number of results to return. The default is 20, and maximum is 100. |
filters |
No | Filters the crawls by the criteria you specify in a list of CrawlsFilter objects. |
next_token |
No | A continuation token, if this is a continuation call. |
Output
ListCrawlsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
crawls |
list[CrawlerHistoryOutput] | None |
Always present | CrawlerHistoryOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CrawlsFilter, ListCrawlsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_crawls(...) accepts the same arguments and returns AsyncIterator[ListCrawlsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_glue.exceptions:
EntityNotFoundError, InvalidInputError, OperationTimeoutError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.