| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.DeleteCrawler
Description
Removes a specified crawler from the Glue Data Catalog, unless the
crawler state is RUNNING.
Synopsis
- data DeleteCrawler = DeleteCrawler' {}
- newDeleteCrawler :: Text -> DeleteCrawler
- deleteCrawler_name :: Lens' DeleteCrawler Text
- data DeleteCrawlerResponse = DeleteCrawlerResponse' {
- httpStatus :: Int
- newDeleteCrawlerResponse :: Int -> DeleteCrawlerResponse
- deleteCrawlerResponse_httpStatus :: Lens' DeleteCrawlerResponse Int
Creating a Request
data DeleteCrawler Source #
See: newDeleteCrawler smart constructor.
Constructors
| DeleteCrawler' | |
Instances
Arguments
| :: Text | |
| -> DeleteCrawler |
Create a value of DeleteCrawler 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:
DeleteCrawler, deleteCrawler_name - The name of the crawler to remove.
Request Lenses
deleteCrawler_name :: Lens' DeleteCrawler Text Source #
The name of the crawler to remove.
Destructuring the Response
data DeleteCrawlerResponse Source #
See: newDeleteCrawlerResponse smart constructor.
Constructors
| DeleteCrawlerResponse' | |
Fields
| |
Instances
newDeleteCrawlerResponse Source #
Create a value of DeleteCrawlerResponse 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:httpStatus:DeleteCrawlerResponse', deleteCrawlerResponse_httpStatus - The response's http status code.
Response Lenses
deleteCrawlerResponse_httpStatus :: Lens' DeleteCrawlerResponse Int Source #
The response's http status code.