Class: Aws::SESV2::Types::CreateContactRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sesv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributes_dataString

The attribute data attached to a contact.

Returns:

  • (String)


815
816
817
818
819
820
821
822
823
# File 'lib/aws-sdk-sesv2/types.rb', line 815

class CreateContactRequest < Struct.new(
  :contact_list_name,
  :email_address,
  :topic_preferences,
  :unsubscribe_all,
  :attributes_data)
  SENSITIVE = []
  include Aws::Structure
end

#contact_list_nameString

The name of the contact list to which the contact should be added.

Returns:

  • (String)


815
816
817
818
819
820
821
822
823
# File 'lib/aws-sdk-sesv2/types.rb', line 815

class CreateContactRequest < Struct.new(
  :contact_list_name,
  :email_address,
  :topic_preferences,
  :unsubscribe_all,
  :attributes_data)
  SENSITIVE = []
  include Aws::Structure
end

#email_addressString

The contact’s email address.

Returns:

  • (String)


815
816
817
818
819
820
821
822
823
# File 'lib/aws-sdk-sesv2/types.rb', line 815

class CreateContactRequest < Struct.new(
  :contact_list_name,
  :email_address,
  :topic_preferences,
  :unsubscribe_all,
  :attributes_data)
  SENSITIVE = []
  include Aws::Structure
end

#topic_preferencesArray<Types::TopicPreference>

The contact’s preferences for being opted-in to or opted-out of topics.

Returns:



815
816
817
818
819
820
821
822
823
# File 'lib/aws-sdk-sesv2/types.rb', line 815

class CreateContactRequest < Struct.new(
  :contact_list_name,
  :email_address,
  :topic_preferences,
  :unsubscribe_all,
  :attributes_data)
  SENSITIVE = []
  include Aws::Structure
end

#unsubscribe_allBoolean

A boolean value status noting if the contact is unsubscribed from all contact list topics.

Returns:

  • (Boolean)


815
816
817
818
819
820
821
822
823
# File 'lib/aws-sdk-sesv2/types.rb', line 815

class CreateContactRequest < Struct.new(
  :contact_list_name,
  :email_address,
  :topic_preferences,
  :unsubscribe_all,
  :attributes_data)
  SENSITIVE = []
  include Aws::Structure
end