Class: Aws::CostExplorer::Types::AnomalySubscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::AnomalySubscription
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-costexplorer/types.rb
Overview
When making an API call, you may pass AnomalySubscription data as a hash:
{
subscription_arn: "GenericString",
account_id: "GenericString",
monitor_arn_list: ["Arn"], # 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#frequency ⇒ String
The frequency at which anomaly reports are sent over email.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#monitor_arn_list ⇒ Array<String>
A list of cost anomaly monitors.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#subscribers ⇒ Array<Types::Subscriber>
A list of subscribers to notify.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#subscription_arn ⇒ String
The ‘AnomalySubscription` Amazon Resource Name (ARN).
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#subscription_name ⇒ String
The name for the subscription.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |
#threshold ⇒ Float
The dollar value that triggers a notification if the threshold is exceeded.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 324 class AnomalySubscription < Struct.new( :subscription_arn, :account_id, :monitor_arn_list, :subscribers, :threshold, :frequency, :subscription_name) SENSITIVE = [] include Aws::Structure end |