disassociateMember method

Future<DisassociateMemberResponse> disassociateMember({
  1. required String accountId,
})

Disassociates a member account from an Amazon Inspector delegated administrator.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter accountId : The Amazon Web Services account ID of the member account to disassociate.

Implementation

Future<DisassociateMemberResponse> disassociateMember({
  required String accountId,
}) async {
  final $payload = <String, dynamic>{
    'accountId': accountId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/members/disassociate',
    exceptionFnMap: _exceptionFns,
  );
  return DisassociateMemberResponse.fromJson(response);
}