getMasterAccount method
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Implementation
Future<GetMasterAccountResponse> getMasterAccount() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/master',
exceptionFnMap: _exceptionFns,
);
return GetMasterAccountResponse.fromJson(response);
}