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.
Starts the process to update the primary email address for the specified account.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginStartPrimaryEmailUpdate and EndStartPrimaryEmailUpdate.
Namespace: Amazon.Account
Assembly: AWSSDK.Account.dll
Version: 3.x.y.z
public abstract Task<StartPrimaryEmailUpdateResponse> StartPrimaryEmailUpdateAsync( StartPrimaryEmailUpdateRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the StartPrimaryEmailUpdate service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
AccessDeniedException | The operation failed because the calling identity doesn't have the minimum required permissions. |
ConflictException | The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING). |
InternalServerException | The operation failed because of an error internal to Amazon Web Services. Try your operation again later. |
ResourceNotFoundException | The operation failed because it specified a resource that can't be found. |
TooManyRequestsException | The operation failed because it was called too frequently and exceeded a throttle limit. |
ValidationException | The operation failed because one of the input parameters was invalid. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer