Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Deletes a list of connection definitions from the Data Catalog.
- batchDeleteConnection :: BatchDeleteConnection
- data BatchDeleteConnection
- bdcCatalogId :: Lens' BatchDeleteConnection (Maybe Text)
- bdcConnectionNameList :: Lens' BatchDeleteConnection [Text]
- batchDeleteConnectionResponse :: Int -> BatchDeleteConnectionResponse
- data BatchDeleteConnectionResponse
- bdcrsSucceeded :: Lens' BatchDeleteConnectionResponse [Text]
- bdcrsErrors :: Lens' BatchDeleteConnectionResponse (HashMap Text ErrorDetail)
- bdcrsResponseStatus :: Lens' BatchDeleteConnectionResponse Int
Creating a Request
batchDeleteConnection :: BatchDeleteConnection Source #
Creates a value of BatchDeleteConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdcCatalogId
- The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.bdcConnectionNameList
- A list of names of the connections to delete.
data BatchDeleteConnection Source #
See: batchDeleteConnection
smart constructor.
Request Lenses
bdcCatalogId :: Lens' BatchDeleteConnection (Maybe Text) Source #
The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.
bdcConnectionNameList :: Lens' BatchDeleteConnection [Text] Source #
A list of names of the connections to delete.
Destructuring the Response
batchDeleteConnectionResponse Source #
Creates a value of BatchDeleteConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdcrsSucceeded
- A list of names of the connection definitions that were successfully deleted.bdcrsErrors
- A map of the names of connections that were not successfully deleted to error details.bdcrsResponseStatus
- -- | The response status code.
data BatchDeleteConnectionResponse Source #
See: batchDeleteConnectionResponse
smart constructor.
Response Lenses
bdcrsSucceeded :: Lens' BatchDeleteConnectionResponse [Text] Source #
A list of names of the connection definitions that were successfully deleted.
bdcrsErrors :: Lens' BatchDeleteConnectionResponse (HashMap Text ErrorDetail) Source #
A map of the names of connections that were not successfully deleted to error details.
bdcrsResponseStatus :: Lens' BatchDeleteConnectionResponse Int Source #
- - | The response status code.