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 Audit Manager notifications.
Synopsis
- data ListNotifications = ListNotifications' {}
- newListNotifications :: ListNotifications
- listNotifications_nextToken :: Lens' ListNotifications (Maybe Text)
- listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural)
- data ListNotificationsResponse = ListNotificationsResponse' {
- nextToken :: Maybe Text
- notifications :: Maybe [Notification]
- httpStatus :: Int
- newListNotificationsResponse :: Int -> ListNotificationsResponse
- listNotificationsResponse_nextToken :: Lens' ListNotificationsResponse (Maybe Text)
- listNotificationsResponse_notifications :: Lens' ListNotificationsResponse (Maybe [Notification])
- listNotificationsResponse_httpStatus :: Lens' ListNotificationsResponse Int
Creating a Request
data ListNotifications Source #
See: newListNotifications
smart constructor.
Instances
newListNotifications :: ListNotifications Source #
Create a value of ListNotifications
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:ListNotifications'
, listNotifications_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:ListNotifications'
, listNotifications_maxResults
- Represents the maximum number of results per page, or per API request
call.
Request Lenses
listNotifications_nextToken :: Lens' ListNotifications (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
Destructuring the Response
data ListNotificationsResponse Source #
See: newListNotificationsResponse
smart constructor.
ListNotificationsResponse' | |
|
Instances
newListNotificationsResponse Source #
Create a value of ListNotificationsResponse
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:ListNotifications'
, listNotificationsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:notifications:ListNotificationsResponse'
, listNotificationsResponse_notifications
- The returned list of notifications.
$sel:httpStatus:ListNotificationsResponse'
, listNotificationsResponse_httpStatus
- The response's http status code.
Response Lenses
listNotificationsResponse_nextToken :: Lens' ListNotificationsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listNotificationsResponse_notifications :: Lens' ListNotificationsResponse (Maybe [Notification]) Source #
The returned list of notifications.
listNotificationsResponse_httpStatus :: Lens' ListNotificationsResponse Int Source #
The response's http status code.