Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
- listEventSubscriptions :: ListEventSubscriptions
- data ListEventSubscriptions
- lesNextToken :: Lens' ListEventSubscriptions (Maybe Text)
- lesResourceARN :: Lens' ListEventSubscriptions (Maybe Text)
- lesMaxResults :: Lens' ListEventSubscriptions (Maybe Int)
- listEventSubscriptionsResponse :: Int -> ListEventSubscriptionsResponse
- data ListEventSubscriptionsResponse
- lesrsNextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text)
- lesrsResponseStatus :: Lens' ListEventSubscriptionsResponse Int
- lesrsSubscriptions :: Lens' ListEventSubscriptionsResponse [Subscription]
Creating a Request
listEventSubscriptions :: ListEventSubscriptions Source #
Creates a value of ListEventSubscriptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListEventSubscriptions Source #
See: listEventSubscriptions
smart constructor.
Request Lenses
lesNextToken :: Lens' ListEventSubscriptions (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
lesResourceARN :: Lens' ListEventSubscriptions (Maybe Text) Source #
The ARN of the assessment template for which you want to list the existing event subscriptions.
lesMaxResults :: Lens' ListEventSubscriptions (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Destructuring the Response
listEventSubscriptionsResponse Source #
Creates a value of ListEventSubscriptionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListEventSubscriptionsResponse Source #
See: listEventSubscriptionsResponse
smart constructor.
Response Lenses
lesrsNextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
lesrsResponseStatus :: Lens' ListEventSubscriptionsResponse Int Source #
The response status code.
lesrsSubscriptions :: Lens' ListEventSubscriptionsResponse [Subscription] Source #
Details of the returned event subscriptions.