Class: Aws::Budgets::Types::UpdateNotificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::UpdateNotificationRequest
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
Note:
When making an API call, you may pass UpdateNotificationRequest data as a hash:
{
account_id: "AccountId", # required
budget_name: "BudgetName", # required
old_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
},
new_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
},
}
Request of UpdateNotification
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
accountId
that is associated with the budget whose notification you want to update. -
#budget_name ⇒ String
The name of the budget whose notification you want to update.
-
#new_notification ⇒ Types::Notification
The updated notification to be associated with a budget.
-
#old_notification ⇒ Types::Notification
The previous notification that is associated with a budget.
Instance Attribute Details
#account_id ⇒ String
The accountId
that is associated with the budget whose
notification you want to update.
2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2327 class UpdateNotificationRequest < Struct.new( :account_id, :budget_name, :old_notification, :new_notification) SENSITIVE = [] include Aws::Structure end |
#budget_name ⇒ String
The name of the budget whose notification you want to update.
2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2327 class UpdateNotificationRequest < Struct.new( :account_id, :budget_name, :old_notification, :new_notification) SENSITIVE = [] include Aws::Structure end |
#new_notification ⇒ Types::Notification
The updated notification to be associated with a budget.
2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2327 class UpdateNotificationRequest < Struct.new( :account_id, :budget_name, :old_notification, :new_notification) SENSITIVE = [] include Aws::Structure end |
#old_notification ⇒ Types::Notification
The previous notification that is associated with a budget.
2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2327 class UpdateNotificationRequest < Struct.new( :account_id, :budget_name, :old_notification, :new_notification) SENSITIVE = [] include Aws::Structure end |