getAdministratorAccount method

Future<GetAdministratorAccountResponse> getAdministratorAccount()

Retrieves information about the Amazon Macie administrator account for an account.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<GetAdministratorAccountResponse> getAdministratorAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/administrator',
    exceptionFnMap: _exceptionFns,
  );
  return GetAdministratorAccountResponse.fromJson(response);
}