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.

Retrieves the specified alternate contact attached to 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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetAlternateContactAsync.

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

Syntax

C#
public abstract GetAlternateContactResponse GetAlternateContact(
         GetAlternateContactRequest request
)

Parameters

request
Type: Amazon.Account.Model.GetAlternateContactRequest

Container for the necessary parameters to execute the GetAlternateContact service method.

Return Value


The response from the GetAlternateContact service method, as returned by Account.

Exceptions

ExceptionCondition
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.

Version Information

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

See Also