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 UpdatePrimaryEmailAddress operation. Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.WorkMail.AmazonWorkMailRequest
      Amazon.WorkMail.Model.UpdatePrimaryEmailAddressRequest

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

Syntax

C#
public class UpdatePrimaryEmailAddressRequest : AmazonWorkMailRequest
         IAmazonWebServiceRequest

The UpdatePrimaryEmailAddressRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Email System.String

Gets and sets the property Email.

The value of the email to be updated as primary.

Public Property EntityId System.String

Gets and sets the property EntityId.

The user, group, or resource to update.

The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

  • Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234

  • Email address: entity@domain.tld

  • Entity name: entity

Public Property OrganizationId System.String

Gets and sets the property OrganizationId.

The organization that contains the user, group, or resource to update.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5