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 |
Synopsis
Documentation
data Subscriber Source #
The recipient of AnomalySubscription
notifications.
See: newSubscriber
smart constructor.
Subscriber' | |
|
Instances
newSubscriber :: Subscriber Source #
Create a value of Subscriber
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:address:Subscriber'
, subscriber_address
- The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
$sel:status:Subscriber'
, subscriber_status
- Indicates if the subscriber accepts the notifications.
$sel:type':Subscriber'
, subscriber_type
- The notification delivery channel.
subscriber_address :: Lens' Subscriber (Maybe Text) Source #
The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus) Source #
Indicates if the subscriber accepts the notifications.
subscriber_type :: Lens' Subscriber (Maybe SubscriberType) Source #
The notification delivery channel.