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

Class: Aws::Budgets::Types::UpdateNotificationRequest

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 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
  },
  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
  },
}

Request of UpdateNotification

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The accountId that is associated with the budget whose notification you want to update.

Returns:

  • (String)


1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1096

class UpdateNotificationRequest < Struct.new(
  :account_id,
  :budget_name,
  :old_notification,
  :new_notification)
  include Aws::Structure
end

#budget_nameString

The name of the budget whose notification you want to update.

Returns:

  • (String)


1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1096

class UpdateNotificationRequest < Struct.new(
  :account_id,
  :budget_name,
  :old_notification,
  :new_notification)
  include Aws::Structure
end

#new_notificationTypes::Notification

The updated notification to be associated with a budget.

Returns:



1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1096

class UpdateNotificationRequest < Struct.new(
  :account_id,
  :budget_name,
  :old_notification,
  :new_notification)
  include Aws::Structure
end

#old_notificationTypes::Notification

The previous notification associated with a budget.

Returns:



1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1096

class UpdateNotificationRequest < Struct.new(
  :account_id,
  :budget_name,
  :old_notification,
  :new_notification)
  include Aws::Structure
end