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 |
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
- subscribeToEvent :: Text -> InspectorEvent -> Text -> SubscribeToEvent
- data SubscribeToEvent
- steResourceARN :: Lens' SubscribeToEvent Text
- steEvent :: Lens' SubscribeToEvent InspectorEvent
- steTopicARN :: Lens' SubscribeToEvent Text
- subscribeToEventResponse :: SubscribeToEventResponse
- data SubscribeToEventResponse
Creating a Request
Creates a value of SubscribeToEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscribeToEvent Source #
See: subscribeToEvent
smart constructor.
Request Lenses
steResourceARN :: Lens' SubscribeToEvent Text Source #
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
steEvent :: Lens' SubscribeToEvent InspectorEvent Source #
The event for which you want to receive SNS notifications.
steTopicARN :: Lens' SubscribeToEvent Text Source #
The ARN of the SNS topic to which the SNS notifications are sent.
Destructuring the Response
subscribeToEventResponse :: SubscribeToEventResponse Source #
Creates a value of SubscribeToEventResponse
with the minimum fields required to make a request.
data SubscribeToEventResponse Source #
See: subscribeToEventResponse
smart constructor.