| 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.Budgets.Types.Subscriber
Description
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 has the following parameters:
- A
subscriptionTypeofEMAIL - An
addressofexample@example.com
See: newSubscriber smart constructor.
Constructors
| Subscriber' | |
Fields
| |
Instances
Arguments
| :: SubscriptionType | |
| -> Text | |
| -> Subscriber |
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 Amazon Web Services sends to a subscriber.
$sel:address:Subscriber', subscriber_address - The address that Amazon Web Services 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 Amazon Web Services sends to a subscriber.
subscriber_address :: Lens' Subscriber Text Source #
The address that Amazon Web Services 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.