You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CostExplorer::Types::AnomalySubscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::AnomalySubscription
- Defined in:
- (unknown)
Overview
When passing AnomalySubscription as input to an Aws::Client method, you can use a vanilla Hash:
{
subscription_arn: "GenericString",
account_id: "GenericString",
monitor_arn_list: ["Value"], # required
subscribers: [ # required
{
address: "SubscriberAddress",
type: "EMAIL", # accepts EMAIL, SNS
status: "CONFIRMED", # accepts CONFIRMED, DECLINED
},
],
threshold: 1.0, # required
frequency: "DAILY", # required, accepts DAILY, IMMEDIATE, WEEKLY
subscription_name: "GenericString", # required
}
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.
Returned by:
Instance Attribute Summary collapse
-
#account_id ⇒ String
Your unique account identifier.
-
#frequency ⇒ String
The frequency at which anomaly reports are sent over email.
-
#monitor_arn_list ⇒ Array<String>
A list of cost anomaly monitors.
-
#subscribers ⇒ Array<Types::Subscriber>
A list of subscribers to notify.
-
#subscription_arn ⇒ String
The
AnomalySubscription
Amazon Resource Name (ARN). -
#subscription_name ⇒ String
The name for the subscription.
-
#threshold ⇒ Float
The dollar value that triggers a notification if the threshold is exceeded.
Instance Attribute Details
#account_id ⇒ String
Your unique account identifier.
#frequency ⇒ String
The frequency at which anomaly reports are sent over email.
Possible values:
- DAILY
- IMMEDIATE
- WEEKLY
#monitor_arn_list ⇒ Array<String>
A list of cost anomaly monitors.
#subscribers ⇒ Array<Types::Subscriber>
A list of subscribers to notify.
#subscription_arn ⇒ String
The AnomalySubscription
Amazon Resource Name (ARN).
#subscription_name ⇒ String
The name for the subscription.
#threshold ⇒ Float
The dollar value that triggers a notification if the threshold is exceeded.