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 |
Creates a connection definition in the Data Catalog.
- 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
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
- AConnectionInput
object defining the connection to create.
data CreateConnection Source #
See: createConnection
smart constructor.
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 #
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.
Response Lenses
crsResponseStatus :: Lens' CreateConnectionResponse Int Source #
- - | The response status code.