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 information about the Amazon Macie administrator account for an account.

Note:

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

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

Syntax

C#
public virtual GetAdministratorAccountResponse GetAdministratorAccount(
         GetAdministratorAccountRequest request
)

Parameters

request
Type: Amazon.Macie2.Model.GetAdministratorAccountRequest

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

Return Value


The response from the GetAdministratorAccount service method, as returned by Macie2.

Exceptions

ExceptionCondition
AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.
ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.
ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.
ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.
ValidationException Provides information about an error that occurred due to a syntax error in a request.

Version Information

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

See Also