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

Account Id of the customer. It should be a 12 digit number.

Returns:

  • (String)


968
969
970
971
972
973
974
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 968

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

#budget_nameString

A string represents the budget name. No ":" and "\" character is allowed.

Returns:

  • (String)


968
969
970
971
972
973
974
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 968

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

#new_notificationTypes::Notification

Notification model. Each budget may contain multiple notifications with different settings.

Returns:



968
969
970
971
972
973
974
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 968

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

#old_notificationTypes::Notification

Notification model. Each budget may contain multiple notifications with different settings.

Returns:



968
969
970
971
972
973
974
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 968

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