| 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 |
Network.AWS.Glue.UpdateConnection
Description
Updates a connection definition in the Data Catalog.
Synopsis
- updateConnection :: Text -> ConnectionInput -> UpdateConnection
- data UpdateConnection
- ucCatalogId :: Lens' UpdateConnection (Maybe Text)
- ucName :: Lens' UpdateConnection Text
- ucConnectionInput :: Lens' UpdateConnection ConnectionInput
- updateConnectionResponse :: Int -> UpdateConnectionResponse
- data UpdateConnectionResponse
- ucrsResponseStatus :: Lens' UpdateConnectionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ConnectionInput | |
| -> UpdateConnection |
Creates a value of UpdateConnection with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucCatalogId- The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.ucName- The name of the connection definition to update.ucConnectionInput- AConnectionInputobject that redefines the connection in question.
data UpdateConnection Source #
See: updateConnection smart constructor.
Instances
Request Lenses
ucCatalogId :: Lens' UpdateConnection (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.
ucConnectionInput :: Lens' UpdateConnection ConnectionInput Source #
A ConnectionInput object that redefines the connection in question.
Destructuring the Response
updateConnectionResponse Source #
Arguments
| :: Int | |
| -> UpdateConnectionResponse |
Creates a value of UpdateConnectionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrsResponseStatus- -- | The response status code.
data UpdateConnectionResponse Source #
See: updateConnectionResponse smart constructor.
Instances
Response Lenses
ucrsResponseStatus :: Lens' UpdateConnectionResponse Int Source #
- - | The response status code.