| 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.WellArchitected.ListNotifications
Description
List lens notifications.
Synopsis
- data ListNotifications = ListNotifications' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- workloadId :: Maybe Text
- newListNotifications :: ListNotifications
- listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural)
- listNotifications_nextToken :: Lens' ListNotifications (Maybe Text)
- listNotifications_workloadId :: Lens' ListNotifications (Maybe Text)
- data ListNotificationsResponse = ListNotificationsResponse' {}
- newListNotificationsResponse :: Int -> ListNotificationsResponse
- listNotificationsResponse_nextToken :: Lens' ListNotificationsResponse (Maybe Text)
- listNotificationsResponse_notificationSummaries :: Lens' ListNotificationsResponse (Maybe [NotificationSummary])
- listNotificationsResponse_httpStatus :: Lens' ListNotificationsResponse Int
Creating a Request
data ListNotifications Source #
See: newListNotifications smart constructor.
Constructors
| ListNotifications' | |
Fields
| |
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 - The maximum number of results to return for this request.
ListNotifications, listNotifications_nextToken - Undocumented member.
ListNotifications, listNotifications_workloadId - Undocumented member.
Request Lenses
listNotifications_maxResults :: Lens' ListNotifications (Maybe Natural) Source #
The maximum number of results to return for this request.
listNotifications_nextToken :: Lens' ListNotifications (Maybe Text) Source #
Undocumented member.
listNotifications_workloadId :: Lens' ListNotifications (Maybe Text) Source #
Undocumented member.
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 - Undocumented member.
$sel:notificationSummaries:ListNotificationsResponse', listNotificationsResponse_notificationSummaries - List of lens notification summaries in a workload.
$sel:httpStatus:ListNotificationsResponse', listNotificationsResponse_httpStatus - The response's http status code.
Response Lenses
listNotificationsResponse_nextToken :: Lens' ListNotificationsResponse (Maybe Text) Source #
Undocumented member.
listNotificationsResponse_notificationSummaries :: Lens' ListNotificationsResponse (Maybe [NotificationSummary]) Source #
List of lens notification summaries in a workload.
listNotificationsResponse_httpStatus :: Lens' ListNotificationsResponse Int Source #
The response's http status code.