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 |
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
Synopsis
- data UnsubscribeFromEvent = UnsubscribeFromEvent' {
- resourceArn :: Text
- event :: InspectorEvent
- topicArn :: Text
- newUnsubscribeFromEvent :: Text -> InspectorEvent -> Text -> UnsubscribeFromEvent
- unsubscribeFromEvent_resourceArn :: Lens' UnsubscribeFromEvent Text
- unsubscribeFromEvent_event :: Lens' UnsubscribeFromEvent InspectorEvent
- unsubscribeFromEvent_topicArn :: Lens' UnsubscribeFromEvent Text
- data UnsubscribeFromEventResponse = UnsubscribeFromEventResponse' {
- newUnsubscribeFromEventResponse :: UnsubscribeFromEventResponse
Creating a Request
data UnsubscribeFromEvent Source #
See: newUnsubscribeFromEvent
smart constructor.
UnsubscribeFromEvent' | |
|
Instances
newUnsubscribeFromEvent Source #
:: Text | |
-> InspectorEvent | |
-> Text | |
-> UnsubscribeFromEvent |
Create a value of UnsubscribeFromEvent
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:resourceArn:UnsubscribeFromEvent'
, unsubscribeFromEvent_resourceArn
- The ARN of the assessment template that is used during the event for
which you want to stop receiving SNS notifications.
$sel:event:UnsubscribeFromEvent'
, unsubscribeFromEvent_event
- The event for which you want to stop receiving SNS notifications.
$sel:topicArn:UnsubscribeFromEvent'
, unsubscribeFromEvent_topicArn
- The ARN of the SNS topic to which SNS notifications are sent.
Request Lenses
unsubscribeFromEvent_resourceArn :: Lens' UnsubscribeFromEvent Text Source #
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
unsubscribeFromEvent_event :: Lens' UnsubscribeFromEvent InspectorEvent Source #
The event for which you want to stop receiving SNS notifications.
unsubscribeFromEvent_topicArn :: Lens' UnsubscribeFromEvent Text Source #
The ARN of the SNS topic to which SNS notifications are sent.
Destructuring the Response
data UnsubscribeFromEventResponse Source #
See: newUnsubscribeFromEventResponse
smart constructor.
Instances
newUnsubscribeFromEventResponse :: UnsubscribeFromEventResponse Source #
Create a value of UnsubscribeFromEventResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.