Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves a list of connection definitions from the Data Catalog.
This operation returns paginated results.
Synopsis
- data GetConnections = GetConnections' {}
- newGetConnections :: GetConnections
- getConnections_catalogId :: Lens' GetConnections (Maybe Text)
- getConnections_filter :: Lens' GetConnections (Maybe GetConnectionsFilter)
- getConnections_hidePassword :: Lens' GetConnections (Maybe Bool)
- getConnections_maxResults :: Lens' GetConnections (Maybe Natural)
- getConnections_nextToken :: Lens' GetConnections (Maybe Text)
- data GetConnectionsResponse = GetConnectionsResponse' {
- connectionList :: Maybe [Connection]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetConnectionsResponse :: Int -> GetConnectionsResponse
- getConnectionsResponse_connectionList :: Lens' GetConnectionsResponse (Maybe [Connection])
- getConnectionsResponse_nextToken :: Lens' GetConnectionsResponse (Maybe Text)
- getConnectionsResponse_httpStatus :: Lens' GetConnectionsResponse Int
Creating a Request
data GetConnections Source #
See: newGetConnections
smart constructor.
GetConnections' | |
|
Instances
newGetConnections :: GetConnections Source #
Create a value of GetConnections
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetConnections
, getConnections_catalogId
- The ID of the Data Catalog in which the connections reside. If none is
provided, the Amazon Web Services account ID is used by default.
GetConnections
, getConnections_filter
- A filter that controls which connections are returned.
$sel:hidePassword:GetConnections'
, getConnections_hidePassword
- Allows you to retrieve the connection metadata without returning the
password. For instance, the Glue console uses this flag to retrieve the
connection, and does not display the password. Set this parameter when
the caller might not have permission to use the KMS key to decrypt the
password, but it does have permission to access the rest of the
connection properties.
$sel:maxResults:GetConnections'
, getConnections_maxResults
- The maximum number of connections to return in one response.
GetConnections
, getConnections_nextToken
- A continuation token, if this is a continuation call.
Request Lenses
getConnections_catalogId :: Lens' GetConnections (Maybe Text) Source #
The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.
getConnections_filter :: Lens' GetConnections (Maybe GetConnectionsFilter) Source #
A filter that controls which connections are returned.
getConnections_hidePassword :: Lens' GetConnections (Maybe Bool) Source #
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
getConnections_maxResults :: Lens' GetConnections (Maybe Natural) Source #
The maximum number of connections to return in one response.
getConnections_nextToken :: Lens' GetConnections (Maybe Text) Source #
A continuation token, if this is a continuation call.
Destructuring the Response
data GetConnectionsResponse Source #
See: newGetConnectionsResponse
smart constructor.
GetConnectionsResponse' | |
|
Instances
newGetConnectionsResponse Source #
Create a value of GetConnectionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connectionList:GetConnectionsResponse'
, getConnectionsResponse_connectionList
- A list of requested connection definitions.
GetConnections
, getConnectionsResponse_nextToken
- A continuation token, if the list of connections returned does not
include the last of the filtered connections.
$sel:httpStatus:GetConnectionsResponse'
, getConnectionsResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectionsResponse_connectionList :: Lens' GetConnectionsResponse (Maybe [Connection]) Source #
A list of requested connection definitions.
getConnectionsResponse_nextToken :: Lens' GetConnectionsResponse (Maybe Text) Source #
A continuation token, if the list of connections returned does not include the last of the filtered connections.
getConnectionsResponse_httpStatus :: Lens' GetConnectionsResponse Int Source #
The response's http status code.