| 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.BatchDeleteConnection
Description
Deletes a list of connection definitions from the Data Catalog.
Synopsis
- data BatchDeleteConnection = BatchDeleteConnection' {
- catalogId :: Maybe Text
- connectionNameList :: [Text]
- newBatchDeleteConnection :: BatchDeleteConnection
- batchDeleteConnection_catalogId :: Lens' BatchDeleteConnection (Maybe Text)
- batchDeleteConnection_connectionNameList :: Lens' BatchDeleteConnection [Text]
- data BatchDeleteConnectionResponse = BatchDeleteConnectionResponse' {
- errors :: Maybe (HashMap Text ErrorDetail)
- succeeded :: Maybe [Text]
- httpStatus :: Int
- newBatchDeleteConnectionResponse :: Int -> BatchDeleteConnectionResponse
- batchDeleteConnectionResponse_errors :: Lens' BatchDeleteConnectionResponse (Maybe (HashMap Text ErrorDetail))
- batchDeleteConnectionResponse_succeeded :: Lens' BatchDeleteConnectionResponse (Maybe [Text])
- batchDeleteConnectionResponse_httpStatus :: Lens' BatchDeleteConnectionResponse Int
Creating a Request
data BatchDeleteConnection Source #
See: newBatchDeleteConnection smart constructor.
Constructors
| BatchDeleteConnection' | |
Fields
| |
Instances
newBatchDeleteConnection :: BatchDeleteConnection Source #
Create a value of BatchDeleteConnection 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:
BatchDeleteConnection, batchDeleteConnection_catalogId - The ID of the Data Catalog in which the connections reside. If none is
provided, the Amazon Web Services account ID is used by default.
$sel:connectionNameList:BatchDeleteConnection', batchDeleteConnection_connectionNameList - A list of names of the connections to delete.
Request Lenses
batchDeleteConnection_catalogId :: Lens' BatchDeleteConnection (Maybe Text) Source #
The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.
batchDeleteConnection_connectionNameList :: Lens' BatchDeleteConnection [Text] Source #
A list of names of the connections to delete.
Destructuring the Response
data BatchDeleteConnectionResponse Source #
See: newBatchDeleteConnectionResponse smart constructor.
Constructors
| BatchDeleteConnectionResponse' | |
Fields
| |
Instances
newBatchDeleteConnectionResponse Source #
Create a value of BatchDeleteConnectionResponse 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:errors:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_errors - A map of the names of connections that were not successfully deleted to
error details.
$sel:succeeded:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_succeeded - A list of names of the connection definitions that were successfully
deleted.
$sel:httpStatus:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_httpStatus - The response's http status code.
Response Lenses
batchDeleteConnectionResponse_errors :: Lens' BatchDeleteConnectionResponse (Maybe (HashMap Text ErrorDetail)) Source #
A map of the names of connections that were not successfully deleted to error details.
batchDeleteConnectionResponse_succeeded :: Lens' BatchDeleteConnectionResponse (Maybe [Text]) Source #
A list of names of the connection definitions that were successfully deleted.
batchDeleteConnectionResponse_httpStatus :: Lens' BatchDeleteConnectionResponse Int Source #
The response's http status code.