@Override
    public DisassociateMembershipResult disassociateMembership(DisassociateMembershipRequest request) {
        request = beforeClientExecution(request);
        return executeDisassociateMembership(request);
    }
<p>
Removes the member account from the specified behavior graph. This operation can only be called by an invited
member account that has the <code>ENABLED</code> status.
</p>
<p>
<code>DisassociateMembership</code> cannot be called by an organization account in the organization behavior
graph. For the organization behavior graph, the Detective administrator account determines which organization
accounts to enable or disable as member accounts.
</p>

@param disassociateMembershipRequest
@return Result of the DisassociateMembership operation returned by the service.
@throws AccessDeniedException
        The request issuer does not have permission to access this resource or perform this operation.
@throws ConflictException
        The request attempted an invalid action.
@throws InternalServerException
        The request was valid but failed because of a problem with the service.
@throws ResourceNotFoundException
        The request refers to a nonexistent resource.
@throws ValidationException
        The request parameters are invalid.
@sample AmazonDetective.DisassociateMembership
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisassociateMembership"
     target="_top">AWS API Documentation</a>
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/AmazonDetectiveClient.java