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 |
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:status:Subscriber'
, subscriber_status
- Indicates if the subscriber accepts the notifications.
$sel:address:Subscriber'
, subscriber_address
- The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
$sel:type':Subscriber'
, subscriber_type
- The notification delivery channel.
subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus) Source #
Indicates if the subscriber accepts the notifications.
subscriber_address :: Lens' Subscriber (Maybe Text) Source #
The email address or SNS Amazon Resource Name (ARN). This depends on the
Type
.
subscriber_type :: Lens' Subscriber (Maybe SubscriberType) Source #
The notification delivery channel.