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.
Deletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
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 BeginDeleteAlternateContact and EndDeleteAlternateContact.
Namespace: Amazon.Account
Assembly: AWSSDK.Account.dll
Version: 3.x.y.z
public virtual Task<DeleteAlternateContactResponse> DeleteAlternateContactAsync( DeleteAlternateContactRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the DeleteAlternateContact 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. |
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