You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Budgets::Types::CreateSubscriberRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::CreateSubscriberRequest
- Defined in:
- (unknown)
Overview
When passing CreateSubscriberRequest as input to an Aws::Client method, you can use a vanilla 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
},
}
Request of CreateSubscriber
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
accountId
that is associated with the budget that you want to create a subscriber for. -
#budget_name ⇒ String
The name of the budget that you want to subscribe to.
-
#notification ⇒ Types::Notification
The notification that you want to create a subscriber for.
-
#subscriber ⇒ Types::Subscriber
The subscriber that you want to associate with a budget notification.
Instance Attribute Details
#account_id ⇒ String
The accountId
that is associated with the budget that you want to
create a subscriber for.
#budget_name ⇒ String
The name of the budget that you want to subscribe to. Budget names must be unique within an account.
#notification ⇒ Types::Notification
The notification that you want to create a subscriber for.
#subscriber ⇒ Types::Subscriber
The subscriber that you want to associate with a budget notification.