Class: Aws::Budgets::Types::UpdateSubscriberRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::UpdateSubscriberRequest
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
When making an API call, you may pass UpdateSubscriberRequest 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
},
old_subscriber: { # required
subscription_type: "SNS", # required, accepts SNS, EMAIL
address: "SubscriberAddress", # required
},
new_subscriber: { # required
subscription_type: "SNS", # required, accepts SNS, EMAIL
address: "SubscriberAddress", # required
},
}
Request of UpdateSubscriber
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
accountId
that is associated with the budget whose subscriber you want to update. -
#budget_name ⇒ String
The name of the budget whose subscriber you want to update.
-
#new_subscriber ⇒ Types::Subscriber
The updated subscriber that is associated with a budget notification.
-
#notification ⇒ Types::Notification
The notification whose subscriber you want to update.
-
#old_subscriber ⇒ Types::Subscriber
The previous subscriber that is associated with a budget notification.
Instance Attribute Details
#account_id ⇒ String
The accountId
that is associated with the budget whose subscriber
you want to update.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2388 class UpdateSubscriberRequest < Struct.new( :account_id, :budget_name, :notification, :old_subscriber, :new_subscriber) SENSITIVE = [] include Aws::Structure end |
#budget_name ⇒ String
The name of the budget whose subscriber you want to update.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2388 class UpdateSubscriberRequest < Struct.new( :account_id, :budget_name, :notification, :old_subscriber, :new_subscriber) SENSITIVE = [] include Aws::Structure end |
#new_subscriber ⇒ Types::Subscriber
The updated subscriber that is associated with a budget notification.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2388 class UpdateSubscriberRequest < Struct.new( :account_id, :budget_name, :notification, :old_subscriber, :new_subscriber) SENSITIVE = [] include Aws::Structure end |
#notification ⇒ Types::Notification
The notification whose subscriber you want to update.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2388 class UpdateSubscriberRequest < Struct.new( :account_id, :budget_name, :notification, :old_subscriber, :new_subscriber) SENSITIVE = [] include Aws::Structure end |
#old_subscriber ⇒ Types::Subscriber
The previous subscriber that is associated with a budget notification.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2388 class UpdateSubscriberRequest < Struct.new( :account_id, :budget_name, :notification, :old_subscriber, :new_subscriber) SENSITIVE = [] include Aws::Structure end |