Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- succeeded :: Maybe [Text]
- errors :: Maybe (HashMap Text ErrorDetail)
- httpStatus :: Int
- newBatchDeleteConnectionResponse :: Int -> BatchDeleteConnectionResponse
- batchDeleteConnectionResponse_succeeded :: Lens' BatchDeleteConnectionResponse (Maybe [Text])
- batchDeleteConnectionResponse_errors :: Lens' BatchDeleteConnectionResponse (Maybe (HashMap Text ErrorDetail))
- batchDeleteConnectionResponse_httpStatus :: Lens' BatchDeleteConnectionResponse Int
Creating a Request
data BatchDeleteConnection Source #
See: newBatchDeleteConnection
smart constructor.
BatchDeleteConnection' | |
|
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:
$sel:catalogId: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.
BatchDeleteConnectionResponse' | |
|
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:succeeded:BatchDeleteConnectionResponse'
, batchDeleteConnectionResponse_succeeded
- A list of names of the connection definitions that were successfully
deleted.
$sel:errors:BatchDeleteConnectionResponse'
, batchDeleteConnectionResponse_errors
- A map of the names of connections that were not successfully deleted to
error details.
$sel:httpStatus:BatchDeleteConnectionResponse'
, batchDeleteConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteConnectionResponse_succeeded :: Lens' BatchDeleteConnectionResponse (Maybe [Text]) Source #
A list of names of the connection definitions that were successfully deleted.
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_httpStatus :: Lens' BatchDeleteConnectionResponse Int Source #
The response's http status code.