disableOrganizationAdminAccount method
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter adminAccountId :
The Amazon Web Services account ID of the delegated Amazon Macie
administrator account.
Implementation
Future<void> disableOrganizationAdminAccount({
required String adminAccountId,
}) async {
final $query = <String, List<String>>{
'adminAccountId': [adminAccountId],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/admin',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}