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

Class: Aws::Budgets::Types::Subscriber

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 Subscriber data as a hash:

{
  subscription_type: "SNS", # required, accepts SNS, EMAIL
  address: "GenericString", # required
}

Subscriber model. Each notification may contain multiple subscribers with different addresses.

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

A generic String.

Returns:

  • (String)


783
784
785
786
787
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 783

class Subscriber < Struct.new(
  :subscription_type,
  :address)
  include Aws::Structure
end

#subscription_typeString

The subscription type of the subscriber. It can be SMS or EMAIL.

Returns:

  • (String)


783
784
785
786
787
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 783

class Subscriber < Struct.new(
  :subscription_type,
  :address)
  include Aws::Structure
end