libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CostExplorer.Types.AnomalySubscription

Description

 
Synopsis

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.

Constructors

AnomalySubscription' 

Fields

Instances

Instances details
Eq AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

Read AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

Show AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

Generic AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

Associated Types

type Rep AnomalySubscription :: Type -> Type #

NFData AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

Methods

rnf :: AnomalySubscription -> () #

Hashable AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

ToJSON AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

FromJSON AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

type Rep AnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.AnomalySubscription

type Rep AnomalySubscription = D1 ('MetaData "AnomalySubscription" "Amazonka.CostExplorer.Types.AnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "AnomalySubscription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monitorArnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) :*: ((S1 ('MetaSel ('Just "subscribers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Subscriber]) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AnomalySubscriptionFrequency) :*: S1 ('MetaSel ('Just "subscriptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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_subscriptionArn :: Lens' AnomalySubscription (Maybe Text) Source #

The AnomalySubscription Amazon Resource Name (ARN).

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.