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 |
Updates a connection definition in the Data Catalog.
Synopsis
- data UpdateConnection = UpdateConnection' {}
- newUpdateConnection :: Text -> ConnectionInput -> UpdateConnection
- updateConnection_catalogId :: Lens' UpdateConnection (Maybe Text)
- updateConnection_name :: Lens' UpdateConnection Text
- updateConnection_connectionInput :: Lens' UpdateConnection ConnectionInput
- data UpdateConnectionResponse = UpdateConnectionResponse' {
- httpStatus :: Int
- newUpdateConnectionResponse :: Int -> UpdateConnectionResponse
- updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int
Creating a Request
data UpdateConnection Source #
See: newUpdateConnection
smart constructor.
UpdateConnection' | |
|
Instances
:: Text | |
-> ConnectionInput | |
-> UpdateConnection |
Create a value of UpdateConnection
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:UpdateConnection'
, updateConnection_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:name:UpdateConnection'
, updateConnection_name
- The name of the connection definition to update.
$sel:connectionInput:UpdateConnection'
, updateConnection_connectionInput
- A ConnectionInput
object that redefines the connection in question.
Request Lenses
updateConnection_catalogId :: Lens' UpdateConnection (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.
updateConnection_name :: Lens' UpdateConnection Text Source #
The name of the connection definition to update.
updateConnection_connectionInput :: Lens' UpdateConnection ConnectionInput Source #
A ConnectionInput
object that redefines the connection in question.
Destructuring the Response
data UpdateConnectionResponse Source #
See: newUpdateConnectionResponse
smart constructor.
UpdateConnectionResponse' | |
|
Instances
newUpdateConnectionResponse Source #
Create a value of UpdateConnectionResponse
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:UpdateConnectionResponse'
, updateConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int Source #
The response's http status code.