Copyright | (c) 2013-2018 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 connection from the Data Catalog.
- deleteConnection :: Text -> DeleteConnection
- data DeleteConnection
- dcCatalogId :: Lens' DeleteConnection (Maybe Text)
- dcConnectionName :: Lens' DeleteConnection Text
- deleteConnectionResponse :: Int -> DeleteConnectionResponse
- data DeleteConnectionResponse
- dcrsResponseStatus :: Lens' DeleteConnectionResponse Int
Creating a Request
Creates a value of DeleteConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcCatalogId
- The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.dcConnectionName
- The name of the connection to delete.
data DeleteConnection Source #
See: deleteConnection
smart constructor.
Request Lenses
dcCatalogId :: Lens' DeleteConnection (Maybe Text) Source #
The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.
dcConnectionName :: Lens' DeleteConnection Text Source #
The name of the connection to delete.
Destructuring the Response
deleteConnectionResponse Source #
Creates a value of DeleteConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsResponseStatus
- -- | The response status code.
data DeleteConnectionResponse Source #
See: deleteConnectionResponse
smart constructor.
Response Lenses
dcrsResponseStatus :: Lens' DeleteConnectionResponse Int Source #
- - | The response status code.