disableDelegatedAdminAccount method

Future<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount({
  1. required String delegatedAdminAccountId,
})

Disables the Amazon Inspector delegated administrator for your organization.

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

Parameter delegatedAdminAccountId : The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

Implementation

Future<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount({
  required String delegatedAdminAccountId,
}) async {
  final $payload = <String, dynamic>{
    'delegatedAdminAccountId': delegatedAdminAccountId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/delegatedadminaccounts/disable',
    exceptionFnMap: _exceptionFns,
  );
  return DisableDelegatedAdminAccountResponse.fromJson(response);
}