| 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 |
Amazonka.AuditManager.ListNotifications
Description
Returns a list of all Audit Manager notifications.
Synopsis
- data ListNotifications = ListNotifications' {}
- newListNotifications :: ListNotifications
- listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural)
- listNotifications_nextToken :: Lens' ListNotifications (Maybe Text)
- 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.
Constructors
| ListNotifications' | |
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:maxResults:ListNotifications', listNotifications_maxResults - Represents the maximum number of results on a page or for an API request
call.
ListNotifications, listNotifications_nextToken - The pagination token that's used to fetch the next set of results.
Request Lenses
listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listNotifications_nextToken :: Lens' ListNotifications (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
Destructuring the Response
data ListNotificationsResponse Source #
See: newListNotificationsResponse smart constructor.
Constructors
| ListNotificationsResponse' | |
Fields
| |
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:
ListNotifications, listNotificationsResponse_nextToken - The pagination token that's 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 that's 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.