AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateContact operation. Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleEmailV2.AmazonSimpleEmailServiceV2Request
      Amazon.SimpleEmailV2.Model.CreateContactRequest

Namespace: Amazon.SimpleEmailV2.Model
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z

Syntax

C#
public class CreateContactRequest : AmazonSimpleEmailServiceV2Request
         IAmazonWebServiceRequest

The CreateContactRequest type exposes the following members

Constructors

NameDescription
Public Method CreateContactRequest()

Properties

NameTypeDescription
Public Property AttributesData System.String

Gets and sets the property AttributesData.

The attribute data attached to a contact.

Public Property ContactListName System.String

Gets and sets the property ContactListName.

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

Public Property EmailAddress System.String

Gets and sets the property EmailAddress.

The contact's email address.

Public Property TopicPreferences System.Collections.Generic.List<Amazon.SimpleEmailV2.Model.TopicPreference>

Gets and sets the property TopicPreferences.

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

Public Property UnsubscribeAll System.Boolean

Gets and sets the property UnsubscribeAll.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5