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 |
Retrieves a connection definition from the Data Catalog.
Synopsis
- getConnection :: Text -> GetConnection
- data GetConnection
- gCatalogId :: Lens' GetConnection (Maybe Text)
- gName :: Lens' GetConnection Text
- getConnectionResponse :: Int -> GetConnectionResponse
- data GetConnectionResponse
- getrsConnection :: Lens' GetConnectionResponse (Maybe Connection)
- getrsResponseStatus :: Lens' GetConnectionResponse Int
Creating a Request
:: Text | |
-> GetConnection |
Creates a value of GetConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gCatalogId
- The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.gName
- The name of the connection definition to retrieve.
data GetConnection Source #
See: getConnection
smart constructor.
Instances
Request Lenses
gCatalogId :: Lens' GetConnection (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.
Destructuring the Response
getConnectionResponse Source #
Creates a value of GetConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getrsConnection
- The requested connection definition.getrsResponseStatus
- -- | The response status code.
data GetConnectionResponse Source #
See: getConnectionResponse
smart constructor.
Instances
Response Lenses
getrsConnection :: Lens' GetConnectionResponse (Maybe Connection) Source #
The requested connection definition.
getrsResponseStatus :: Lens' GetConnectionResponse Int Source #
- - | The response status code.