class Aws::Budgets::Types::CreateSubscriberRequest

Request of CreateSubscriber

@note When making an API call, you may pass CreateSubscriberRequest

data as a hash:

    {
      account_id: "AccountId", # required
      budget_name: "BudgetName", # required
      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
        notification_state: "OK", # accepts OK, ALARM
      },
      subscriber: { # required
        subscription_type: "SNS", # required, accepts SNS, EMAIL
        address: "SubscriberAddress", # required
      },
    }

@!attribute [rw] account_id

The `accountId` that is associated with the budget that you want to
create a subscriber for.
@return [String]

@!attribute [rw] budget_name

The name of the budget that you want to subscribe to. Budget names
must be unique within an account.
@return [String]

@!attribute [rw] notification

The notification that you want to create a subscriber for.
@return [Types::Notification]

@!attribute [rw] subscriber

The subscriber that you want to associate with a budget
notification.
@return [Types::Subscriber]

Constants

SENSITIVE