Copyright | (c) 2013-2017 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 list of connection definitions from the Data Catalog.
- getConnections :: GetConnections
- data GetConnections
- gcsCatalogId :: Lens' GetConnections (Maybe Text)
- gcsNextToken :: Lens' GetConnections (Maybe Text)
- gcsFilter :: Lens' GetConnections (Maybe GetConnectionsFilter)
- gcsMaxResults :: Lens' GetConnections (Maybe Natural)
- getConnectionsResponse :: Int -> GetConnectionsResponse
- data GetConnectionsResponse
- gccrsNextToken :: Lens' GetConnectionsResponse (Maybe Text)
- gccrsConnectionList :: Lens' GetConnectionsResponse [Connection]
- gccrsResponseStatus :: Lens' GetConnectionsResponse Int
Creating a Request
getConnections :: GetConnections Source #
Creates a value of GetConnections
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsCatalogId
- The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.gcsNextToken
- A continuation token, if this is a continuation call.gcsFilter
- A filter that controls which connections will be returned.gcsMaxResults
- The maximum number of connections to return in one response.
data GetConnections Source #
See: getConnections
smart constructor.
Request Lenses
gcsCatalogId :: Lens' GetConnections (Maybe Text) Source #
The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.
gcsNextToken :: Lens' GetConnections (Maybe Text) Source #
A continuation token, if this is a continuation call.
gcsFilter :: Lens' GetConnections (Maybe GetConnectionsFilter) Source #
A filter that controls which connections will be returned.
gcsMaxResults :: Lens' GetConnections (Maybe Natural) Source #
The maximum number of connections to return in one response.
Destructuring the Response
getConnectionsResponse Source #
Creates a value of GetConnectionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gccrsNextToken
- A continuation token, if the list of connections returned does not include the last of the filtered connections.gccrsConnectionList
- A list of requested connection definitions.gccrsResponseStatus
- -- | The response status code.
data GetConnectionsResponse Source #
See: getConnectionsResponse
smart constructor.
Response Lenses
gccrsNextToken :: Lens' GetConnectionsResponse (Maybe Text) Source #
A continuation token, if the list of connections returned does not include the last of the filtered connections.
gccrsConnectionList :: Lens' GetConnectionsResponse [Connection] Source #
A list of requested connection definitions.
gccrsResponseStatus :: Lens' GetConnectionsResponse Int Source #
- - | The response status code.