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 |
Describes the connectors registered with the AWS SMS.
This operation returns paginated results.
Synopsis
- data GetConnectors = GetConnectors' {}
- newGetConnectors :: GetConnectors
- getConnectors_nextToken :: Lens' GetConnectors (Maybe Text)
- getConnectors_maxResults :: Lens' GetConnectors (Maybe Int)
- data GetConnectorsResponse = GetConnectorsResponse' {
- connectorList :: Maybe [Connector]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetConnectorsResponse :: Int -> GetConnectorsResponse
- getConnectorsResponse_connectorList :: Lens' GetConnectorsResponse (Maybe [Connector])
- getConnectorsResponse_nextToken :: Lens' GetConnectorsResponse (Maybe Text)
- getConnectorsResponse_httpStatus :: Lens' GetConnectorsResponse Int
Creating a Request
data GetConnectors Source #
See: newGetConnectors
smart constructor.
Instances
newGetConnectors :: GetConnectors Source #
Create a value of GetConnectors
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:nextToken:GetConnectors'
, getConnectors_nextToken
- The token for the next set of results.
$sel:maxResults:GetConnectors'
, getConnectors_maxResults
- The maximum number of results to return in a single call. The default
value is 50. To retrieve the remaining results, make another call with
the returned NextToken
value.
Request Lenses
getConnectors_nextToken :: Lens' GetConnectors (Maybe Text) Source #
The token for the next set of results.
getConnectors_maxResults :: Lens' GetConnectors (Maybe Int) Source #
The maximum number of results to return in a single call. The default
value is 50. To retrieve the remaining results, make another call with
the returned NextToken
value.
Destructuring the Response
data GetConnectorsResponse Source #
See: newGetConnectorsResponse
smart constructor.
GetConnectorsResponse' | |
|
Instances
newGetConnectorsResponse Source #
Create a value of GetConnectorsResponse
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:connectorList:GetConnectorsResponse'
, getConnectorsResponse_connectorList
- Information about the registered connectors.
$sel:nextToken:GetConnectors'
, getConnectorsResponse_nextToken
- The token required to retrieve the next set of results. This value is
null when there are no more results to return.
$sel:httpStatus:GetConnectorsResponse'
, getConnectorsResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectorsResponse_connectorList :: Lens' GetConnectorsResponse (Maybe [Connector]) Source #
Information about the registered connectors.
getConnectorsResponse_nextToken :: Lens' GetConnectorsResponse (Maybe Text) Source #
The token required to retrieve the next set of results. This value is null when there are no more results to return.
getConnectorsResponse_httpStatus :: Lens' GetConnectorsResponse Int Source #
The response's http status code.