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

Class: Aws::Budgets::Types::UpdateSubscriberRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

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

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1153

class UpdateSubscriberRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification,
  :old_subscriber,
  :new_subscriber)
  include Aws::Structure
end

#budget_nameString

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

Returns:

  • (String)


1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1153

class UpdateSubscriberRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification,
  :old_subscriber,
  :new_subscriber)
  include Aws::Structure
end

#new_subscriberTypes::Subscriber

The updated subscriber associated with a budget notification.

Returns:



1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1153

class UpdateSubscriberRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification,
  :old_subscriber,
  :new_subscriber)
  include Aws::Structure
end

#notificationTypes::Notification

The notification whose subscriber you want to update.

Returns:



1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1153

class UpdateSubscriberRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification,
  :old_subscriber,
  :new_subscriber)
  include Aws::Structure
end

#old_subscriberTypes::Subscriber

The previous subscriber associated with a budget notification.

Returns:



1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1153

class UpdateSubscriberRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification,
  :old_subscriber,
  :new_subscriber)
  include Aws::Structure
end