Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the subscribers associated with a notification.
Synopsis
- describeSubscribersForNotification :: Text -> Text -> Notification -> DescribeSubscribersForNotification
- data DescribeSubscribersForNotification
- dsfnNextToken :: Lens' DescribeSubscribersForNotification (Maybe Text)
- dsfnMaxResults :: Lens' DescribeSubscribersForNotification (Maybe Natural)
- dsfnAccountId :: Lens' DescribeSubscribersForNotification Text
- dsfnBudgetName :: Lens' DescribeSubscribersForNotification Text
- dsfnNotification :: Lens' DescribeSubscribersForNotification Notification
- describeSubscribersForNotificationResponse :: Int -> DescribeSubscribersForNotificationResponse
- data DescribeSubscribersForNotificationResponse
- dsfnrsNextToken :: Lens' DescribeSubscribersForNotificationResponse (Maybe Text)
- dsfnrsSubscribers :: Lens' DescribeSubscribersForNotificationResponse (Maybe (NonEmpty Subscriber))
- dsfnrsResponseStatus :: Lens' DescribeSubscribersForNotificationResponse Int
Creating a Request
describeSubscribersForNotification Source #
Creates a value of DescribeSubscribersForNotification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsfnNextToken
- The pagination token that indicates the next set of results to retrieve.dsfnMaxResults
- Optional integer. Specifies the maximum number of results to return in response.dsfnAccountId
- TheaccountId
that is associated with the budget whose subscribers you want descriptions of.dsfnBudgetName
- The name of the budget whose subscribers you want descriptions of.dsfnNotification
- The notification whose subscribers you want to list.
data DescribeSubscribersForNotification Source #
Request of DescribeSubscribersForNotification
See: describeSubscribersForNotification
smart constructor.
Instances
Request Lenses
dsfnNextToken :: Lens' DescribeSubscribersForNotification (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
dsfnMaxResults :: Lens' DescribeSubscribersForNotification (Maybe Natural) Source #
Optional integer. Specifies the maximum number of results to return in response.
dsfnAccountId :: Lens' DescribeSubscribersForNotification Text Source #
The accountId
that is associated with the budget whose subscribers you want descriptions of.
dsfnBudgetName :: Lens' DescribeSubscribersForNotification Text Source #
The name of the budget whose subscribers you want descriptions of.
dsfnNotification :: Lens' DescribeSubscribersForNotification Notification Source #
The notification whose subscribers you want to list.
Destructuring the Response
describeSubscribersForNotificationResponse Source #
Creates a value of DescribeSubscribersForNotificationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsfnrsNextToken
- The pagination token that indicates the next set of results that you can retrieve.dsfnrsSubscribers
- A list of subscribers associated with a notification.dsfnrsResponseStatus
- -- | The response status code.
data DescribeSubscribersForNotificationResponse Source #
Response of DescribeSubscribersForNotification
See: describeSubscribersForNotificationResponse
smart constructor.
Instances
Response Lenses
dsfnrsNextToken :: Lens' DescribeSubscribersForNotificationResponse (Maybe Text) Source #
The pagination token that indicates the next set of results that you can retrieve.
dsfnrsSubscribers :: Lens' DescribeSubscribersForNotificationResponse (Maybe (NonEmpty Subscriber)) Source #
A list of subscribers associated with a notification.
dsfnrsResponseStatus :: Lens' DescribeSubscribersForNotificationResponse Int Source #
- - | The response status code.