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 connection from the Data Catalog.
Synopsis
- data DeleteConnection = DeleteConnection' {
- catalogId :: Maybe Text
- connectionName :: Text
- newDeleteConnection :: Text -> DeleteConnection
- deleteConnection_catalogId :: Lens' DeleteConnection (Maybe Text)
- deleteConnection_connectionName :: Lens' DeleteConnection Text
- data DeleteConnectionResponse = DeleteConnectionResponse' {
- httpStatus :: Int
- newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
- deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
Creating a Request
data DeleteConnection Source #
See: newDeleteConnection
smart constructor.
DeleteConnection' | |
|
Instances
Create a value of DeleteConnection
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:DeleteConnection'
, deleteConnection_catalogId
- The ID of the Data Catalog in which the connection resides. If none is
provided, the Amazon Web Services account ID is used by default.
$sel:connectionName:DeleteConnection'
, deleteConnection_connectionName
- The name of the connection to delete.
Request Lenses
deleteConnection_catalogId :: Lens' DeleteConnection (Maybe Text) Source #
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
deleteConnection_connectionName :: Lens' DeleteConnection Text Source #
The name of the connection to delete.
Destructuring the Response
data DeleteConnectionResponse Source #
See: newDeleteConnectionResponse
smart constructor.
DeleteConnectionResponse' | |
|
Instances
newDeleteConnectionResponse Source #
Create a value of DeleteConnectionResponse
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:DeleteConnectionResponse'
, deleteConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int Source #
The response's http status code.