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 |
Documentation
data Subscriber Source #
The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.
For example, an email subscriber would have the following parameters:
- A
subscriptionType
ofEMAIL
- An
address
ofexample@example.com
See: newSubscriber
smart constructor.
Subscriber' | |
|
Instances
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:subscriptionType:Subscriber'
, subscriber_subscriptionType
- The type of notification that AWS sends to a subscriber.
$sel:address:Subscriber'
, subscriber_address
- The address that AWS sends budget notifications to, either an SNS topic
or an email.
When you create a subscriber, the value of Address
can't contain line
breaks.
subscriber_subscriptionType :: Lens' Subscriber SubscriptionType Source #
The type of notification that AWS sends to a subscriber.
subscriber_address :: Lens' Subscriber Text Source #
The address that AWS sends budget notifications to, either an SNS topic or an email.
When you create a subscriber, the value of Address
can't contain line
breaks.