Class: Aws::CostExplorer::Types::UpdateAnomalySubscriptionRequest

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 UpdateAnomalySubscriptionRequest data as a hash:

{
  subscription_arn: "GenericString", # required
  threshold: 1.0,
  frequency: "DAILY", # accepts DAILY, IMMEDIATE, WEEKLY
  monitor_arn_list: ["Arn"],
  subscribers: [
    {
      address: "SubscriberAddress",
      type: "EMAIL", # accepts EMAIL, SNS
      status: "CONFIRMED", # accepts CONFIRMED, DECLINED
    },
  ],
  subscription_name: "GenericString",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#frequencyString

The update to the frequency value that subscribers receive notifications.

Returns:

  • (String)


6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end

#monitor_arn_listArray<String>

A list of cost anomaly monitor ARNs.

Returns:

  • (Array<String>)


6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end

#subscribersArray<Types::Subscriber>

The update to the subscriber list.

Returns:



6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_arnString

A cost anomaly subscription Amazon Resource Name (ARN).

Returns:

  • (String)


6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_nameString

The new name of the subscription.

Returns:

  • (String)


6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdFloat

The update to the threshold value for receiving notifications.

Returns:

  • (Float)


6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6994

class UpdateAnomalySubscriptionRequest < Struct.new(
  :subscription_arn,
  :threshold,
  :frequency,
  :monitor_arn_list,
  :subscribers,
  :subscription_name)
  SENSITIVE = []
  include Aws::Structure
end