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
- data AnomalySubscription = AnomalySubscription' {}
- newAnomalySubscription :: Double -> AnomalySubscriptionFrequency -> Text -> AnomalySubscription
- anomalySubscription_accountId :: Lens' AnomalySubscription (Maybe Text)
- anomalySubscription_subscriptionArn :: Lens' AnomalySubscription (Maybe Text)
- anomalySubscription_monitorArnList :: Lens' AnomalySubscription [Text]
- anomalySubscription_subscribers :: Lens' AnomalySubscription [Subscriber]
- anomalySubscription_threshold :: Lens' AnomalySubscription Double
- anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency
- anomalySubscription_subscriptionName :: Lens' AnomalySubscription Text
Documentation
data AnomalySubscription Source #
The association between a monitor, threshold, and list of subscribers
used to deliver notifications about anomalies detected by a monitor that
exceeds a threshold. The content consists of the detailed metadata and
the current status of the AnomalySubscription
object.
See: newAnomalySubscription
smart constructor.
AnomalySubscription' | |
|
Instances
newAnomalySubscription Source #
Create a value of AnomalySubscription
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:accountId:AnomalySubscription'
, anomalySubscription_accountId
- Your unique account identifier.
$sel:subscriptionArn:AnomalySubscription'
, anomalySubscription_subscriptionArn
- The AnomalySubscription
Amazon Resource Name (ARN).
$sel:monitorArnList:AnomalySubscription'
, anomalySubscription_monitorArnList
- A list of cost anomaly monitors.
$sel:subscribers:AnomalySubscription'
, anomalySubscription_subscribers
- A list of subscribers to notify.
$sel:threshold:AnomalySubscription'
, anomalySubscription_threshold
- The dollar value that triggers a notification if the threshold is
exceeded.
$sel:frequency:AnomalySubscription'
, anomalySubscription_frequency
- The frequency that anomaly reports are sent over email.
$sel:subscriptionName:AnomalySubscription'
, anomalySubscription_subscriptionName
- The name for the subscription.
anomalySubscription_accountId :: Lens' AnomalySubscription (Maybe Text) Source #
Your unique account identifier.
anomalySubscription_subscriptionArn :: Lens' AnomalySubscription (Maybe Text) Source #
The AnomalySubscription
Amazon Resource Name (ARN).
anomalySubscription_monitorArnList :: Lens' AnomalySubscription [Text] Source #
A list of cost anomaly monitors.
anomalySubscription_subscribers :: Lens' AnomalySubscription [Subscriber] Source #
A list of subscribers to notify.
anomalySubscription_threshold :: Lens' AnomalySubscription Double Source #
The dollar value that triggers a notification if the threshold is exceeded.
anomalySubscription_frequency :: Lens' AnomalySubscription AnomalySubscriptionFrequency Source #
The frequency that anomaly reports are sent over email.
anomalySubscription_subscriptionName :: Lens' AnomalySubscription Text Source #
The name for the subscription.