Copyright | (c) 2013-2021 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 |
Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.
This operation returns paginated results.
Synopsis
- data ListConnectors = ListConnectors' {}
- newListConnectors :: ListConnectors
- listConnectors_connectorNamePrefix :: Lens' ListConnectors (Maybe Text)
- listConnectors_nextToken :: Lens' ListConnectors (Maybe Text)
- listConnectors_maxResults :: Lens' ListConnectors (Maybe Natural)
- data ListConnectorsResponse = ListConnectorsResponse' {
- connectors :: Maybe [ConnectorSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListConnectorsResponse :: Int -> ListConnectorsResponse
- listConnectorsResponse_connectors :: Lens' ListConnectorsResponse (Maybe [ConnectorSummary])
- listConnectorsResponse_nextToken :: Lens' ListConnectorsResponse (Maybe Text)
- listConnectorsResponse_httpStatus :: Lens' ListConnectorsResponse Int
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:connectorNamePrefix:ListConnectors'
, listConnectors_connectorNamePrefix
- The name prefix that you want to use to search for and list connectors.
$sel:nextToken:ListConnectors'
, listConnectors_nextToken
- If the response of a ListConnectors operation is truncated, it will
include a NextToken. Send this NextToken in a subsequent request to
continue listing from where the previous operation left off.
$sel:maxResults:ListConnectors'
, listConnectors_maxResults
- The maximum number of connectors to list in one response.
Request Lenses
listConnectors_connectorNamePrefix :: Lens' ListConnectors (Maybe Text) Source #
The name prefix that you want to use to search for and list connectors.
listConnectors_nextToken :: Lens' ListConnectors (Maybe Text) Source #
If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
listConnectors_maxResults :: Lens' ListConnectors (Maybe Natural) Source #
The maximum number of connectors to list in one response.
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:
$sel:connectors:ListConnectorsResponse'
, listConnectorsResponse_connectors
- An array of connector descriptions.
$sel:nextToken:ListConnectors'
, listConnectorsResponse_nextToken
- If the response of a ListConnectors operation is truncated, it will
include a NextToken. Send this NextToken in a subsequent request to
continue listing from where it left off.
$sel:httpStatus:ListConnectorsResponse'
, listConnectorsResponse_httpStatus
- The response's http status code.
Response Lenses
listConnectorsResponse_connectors :: Lens' ListConnectorsResponse (Maybe [ConnectorSummary]) Source #
An array of connector descriptions.
listConnectorsResponse_nextToken :: Lens' ListConnectorsResponse (Maybe Text) Source #
If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
listConnectorsResponse_httpStatus :: Lens' ListConnectorsResponse Int Source #
The response's http status code.