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