| 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.CreateConnection
Description
Creates a connection definition in the Data Catalog.
Synopsis
- createConnection :: ConnectionInput -> CreateConnection
- data CreateConnection
- ccCatalogId :: Lens' CreateConnection (Maybe Text)
- ccConnectionInput :: Lens' CreateConnection ConnectionInput
- createConnectionResponse :: Int -> CreateConnectionResponse
- data CreateConnectionResponse
- crsResponseStatus :: Lens' CreateConnectionResponse Int
Creating a Request
Arguments
| :: ConnectionInput | |
| -> CreateConnection |
Creates a value of CreateConnection with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccCatalogId- The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.ccConnectionInput- AConnectionInputobject defining the connection to create.
data CreateConnection Source #
See: createConnection smart constructor.
Instances
Request Lenses
ccCatalogId :: Lens' CreateConnection (Maybe Text) Source #
The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
ccConnectionInput :: Lens' CreateConnection ConnectionInput Source #
A ConnectionInput object defining the connection to create.
Destructuring the Response
createConnectionResponse Source #
Arguments
| :: Int | |
| -> CreateConnectionResponse |
Creates a value of CreateConnectionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsResponseStatus- -- | The response status code.
data CreateConnectionResponse Source #
See: createConnectionResponse smart constructor.
Instances
Response Lenses
crsResponseStatus :: Lens' CreateConnectionResponse Int Source #
- - | The response status code.