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 paginated list of event integrations in the account.
Synopsis
- data ListEventIntegrations = ListEventIntegrations' {}
- newListEventIntegrations :: ListEventIntegrations
- listEventIntegrations_nextToken :: Lens' ListEventIntegrations (Maybe Text)
- listEventIntegrations_maxResults :: Lens' ListEventIntegrations (Maybe Natural)
- data ListEventIntegrationsResponse = ListEventIntegrationsResponse' {}
- newListEventIntegrationsResponse :: Int -> ListEventIntegrationsResponse
- listEventIntegrationsResponse_eventIntegrations :: Lens' ListEventIntegrationsResponse (Maybe (NonEmpty EventIntegration))
- listEventIntegrationsResponse_nextToken :: Lens' ListEventIntegrationsResponse (Maybe Text)
- listEventIntegrationsResponse_httpStatus :: Lens' ListEventIntegrationsResponse Int
Creating a Request
data ListEventIntegrations Source #
See: newListEventIntegrations
smart constructor.
Instances
newListEventIntegrations :: ListEventIntegrations Source #
Create a value of ListEventIntegrations
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:ListEventIntegrations'
, listEventIntegrations_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListEventIntegrations'
, listEventIntegrations_maxResults
- The maximum number of results to return per page.
Request Lenses
listEventIntegrations_nextToken :: Lens' ListEventIntegrations (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listEventIntegrations_maxResults :: Lens' ListEventIntegrations (Maybe Natural) Source #
The maximum number of results to return per page.
Destructuring the Response
data ListEventIntegrationsResponse Source #
See: newListEventIntegrationsResponse
smart constructor.
ListEventIntegrationsResponse' | |
|
Instances
newListEventIntegrationsResponse Source #
Create a value of ListEventIntegrationsResponse
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:eventIntegrations:ListEventIntegrationsResponse'
, listEventIntegrationsResponse_eventIntegrations
- The event integrations.
$sel:nextToken:ListEventIntegrations'
, listEventIntegrationsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListEventIntegrationsResponse'
, listEventIntegrationsResponse_httpStatus
- The response's http status code.
Response Lenses
listEventIntegrationsResponse_eventIntegrations :: Lens' ListEventIntegrationsResponse (Maybe (NonEmpty EventIntegration)) Source #
The event integrations.
listEventIntegrationsResponse_nextToken :: Lens' ListEventIntegrationsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listEventIntegrationsResponse_httpStatus :: Lens' ListEventIntegrationsResponse Int Source #
The response's http status code.