| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector.UnsubscribeFromEvent
Description
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.
Constructors
| UnsubscribeFromEvent' | |
Fields
| |
Instances
newUnsubscribeFromEvent Source #
Arguments
| :: 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:
UnsubscribeFromEvent, unsubscribeFromEvent_resourceArn - The ARN of the assessment template that is used during the event for
which you want to stop receiving SNS notifications.
UnsubscribeFromEvent, unsubscribeFromEvent_event - The event for which you want to stop receiving SNS notifications.
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.
Constructors
| UnsubscribeFromEventResponse' | |
Instances
| Generic UnsubscribeFromEventResponse Source # | |
Defined in Amazonka.Inspector.UnsubscribeFromEvent Associated Types type Rep UnsubscribeFromEventResponse :: Type -> Type # | |
| Read UnsubscribeFromEventResponse Source # | |
| Show UnsubscribeFromEventResponse Source # | |
Defined in Amazonka.Inspector.UnsubscribeFromEvent Methods showsPrec :: Int -> UnsubscribeFromEventResponse -> ShowS # show :: UnsubscribeFromEventResponse -> String # showList :: [UnsubscribeFromEventResponse] -> ShowS # | |
| NFData UnsubscribeFromEventResponse Source # | |
Defined in Amazonka.Inspector.UnsubscribeFromEvent Methods rnf :: UnsubscribeFromEventResponse -> () # | |
| Eq UnsubscribeFromEventResponse Source # | |
Defined in Amazonka.Inspector.UnsubscribeFromEvent Methods (==) :: UnsubscribeFromEventResponse -> UnsubscribeFromEventResponse -> Bool # (/=) :: UnsubscribeFromEventResponse -> UnsubscribeFromEventResponse -> Bool # | |
| type Rep UnsubscribeFromEventResponse Source # | |
Defined in Amazonka.Inspector.UnsubscribeFromEvent | |
newUnsubscribeFromEventResponse :: UnsubscribeFromEventResponse Source #
Create a value of UnsubscribeFromEventResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.