You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Budgets::Types::NotificationWithSubscribers

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

Overview

Note:

When making an API call, you may pass NotificationWithSubscribers data as a hash:

{
  notification: { # required
    notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
    comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
    threshold: 1.0, # required
    threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
  },
  subscribers: [ # required
    {
      subscription_type: "SNS", # required, accepts SNS, EMAIL
      address: "SubscriberAddress", # required
    },
  ],
}

A structure to relate notification and a list of subscribers who belong to the notification.

Instance Attribute Summary collapse

Instance Attribute Details

#notificationTypes::Notification

Notification model. Each budget may contain multiple notifications with different settings.

Returns:



782
783
784
785
786
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 782

class NotificationWithSubscribers < Struct.new(
  :notification,
  :subscribers)
  include Aws::Structure
end

#subscribersArray<Types::Subscriber>

A list of subscribers.

Returns:



782
783
784
785
786
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 782

class NotificationWithSubscribers < Struct.new(
  :notification,
  :subscribers)
  include Aws::Structure
end