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 |
Lists the connectors for the specified Region.
This operation returns paginated results.
Synopsis
- data ListConnectors = ListConnectors' {}
- newListConnectors :: ListConnectors
- listConnectors_maxResults :: Lens' ListConnectors (Maybe Natural)
- listConnectors_nextToken :: Lens' ListConnectors (Maybe Text)
- data ListConnectorsResponse = ListConnectorsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- connectors :: [ListedConnector]
- newListConnectorsResponse :: Int -> ListConnectorsResponse
- listConnectorsResponse_nextToken :: Lens' ListConnectorsResponse (Maybe Text)
- listConnectorsResponse_httpStatus :: Lens' ListConnectorsResponse Int
- listConnectorsResponse_connectors :: Lens' ListConnectorsResponse [ListedConnector]
Creating a Request
data ListConnectors Source #
See: newListConnectors
smart constructor.
ListConnectors' | |
|
Instances
newListConnectors :: ListConnectors Source #
Create a value of ListConnectors
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:maxResults:ListConnectors'
, listConnectors_maxResults
- The maximum number of connectors to return.
ListConnectors
, listConnectors_nextToken
- When you can get additional results from the ListConnectors
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional connectors.
Request Lenses
listConnectors_maxResults :: Lens' ListConnectors (Maybe Natural) Source #
The maximum number of connectors to return.
listConnectors_nextToken :: Lens' ListConnectors (Maybe Text) Source #
When you can get additional results from the ListConnectors
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional connectors.
Destructuring the Response
data ListConnectorsResponse Source #
See: newListConnectorsResponse
smart constructor.
ListConnectorsResponse' | |
|
Instances
newListConnectorsResponse Source #
Create a value of ListConnectorsResponse
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:
ListConnectors
, listConnectorsResponse_nextToken
- Returns a token that you can use to call ListConnectors
again and
receive additional results, if there are any.
$sel:httpStatus:ListConnectorsResponse'
, listConnectorsResponse_httpStatus
- The response's http status code.
$sel:connectors:ListConnectorsResponse'
, listConnectorsResponse_connectors
- Returns an array, where each item contains the details of a connector.
Response Lenses
listConnectorsResponse_nextToken :: Lens' ListConnectorsResponse (Maybe Text) Source #
Returns a token that you can use to call ListConnectors
again and
receive additional results, if there are any.
listConnectorsResponse_httpStatus :: Lens' ListConnectorsResponse Int Source #
The response's http status code.
listConnectorsResponse_connectors :: Lens' ListConnectorsResponse [ListedConnector] Source #
Returns an array, where each item contains the details of a connector.