StopCrawler
Source:
src/AWS/Glue/StopCrawler.ts
Runtime binding for glue:StopCrawler.
Stops an in-progress crawl of the bound Crawler. Fails with the
typed CrawlerNotRunningException when idle and
CrawlerStoppingException when a stop is already underway. The crawler
name is injected from the binding. Provide the implementation with
Effect.provide(AWS.Glue.StopCrawlerHttp).
Running Crawlers
Section titled “Running Crawlers”// initconst stopCrawler = yield* AWS.Glue.StopCrawler(crawler);
// runtime — tolerate an idle or already-stopping crawleryield* stopCrawler().pipe( Effect.catchTag( ["CrawlerNotRunningException", "CrawlerStoppingException"], () => Effect.void, ),);