| 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.Types.EventSubscription
Description
Documentation
data EventSubscription Source #
This data type is used in the Subscription data type.
See: newEventSubscription smart constructor.
Constructors
| EventSubscription' | |
Fields
| |
Instances
Arguments
| :: InspectorEvent | |
| -> UTCTime | |
| -> EventSubscription |
Create a value of EventSubscription 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:event:EventSubscription', eventSubscription_event - The event for which Amazon Simple Notification Service (SNS)
notifications are sent.
$sel:subscribedAt:EventSubscription', eventSubscription_subscribedAt - The time at which SubscribeToEvent is called.
eventSubscription_event :: Lens' EventSubscription InspectorEvent Source #
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
eventSubscription_subscribedAt :: Lens' EventSubscription UTCTime Source #
The time at which SubscribeToEvent is called.