Class: Aws::CostExplorer::Types::AnomalySubscription

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb

Overview

Note:

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

Instance Attribute Details

#account_idString

Your unique account identifier.

Returns:

  • (String)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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

#frequencyString

The frequency at which anomaly reports are sent over email.

Returns:

  • (String)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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_listArray<String>

A list of cost anomaly monitors.

Returns:

  • (Array<String>)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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

#subscribersArray<Types::Subscriber>

A list of subscribers to notify.

Returns:



324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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_arnString

The AnomalySubscription Amazon Resource Name (ARN).

Returns:

  • (String)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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_nameString

The name for the subscription.

Returns:

  • (String)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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

#thresholdFloat

The dollar value that triggers a notification if the threshold is exceeded.

Returns:

  • (Float)


324
325
326
327
328
329
330
331
332
333
334
# File 'gems/aws-sdk-costexplorer/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