@Override
    public AcceptInvitationResult acceptInvitation(AcceptInvitationRequest request) {
        request = beforeClientExecution(request);
        return executeAcceptInvitation(request);
    }
<p>
Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be
called by an invited member account.
</p>
<p>
The request provides the ARN of behavior graph.
</p>
<p>
The member account status in the graph must be <code>INVITED</code>.
</p>

@param acceptInvitationRequest
@return Result of the AcceptInvitation 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.AcceptInvitation
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AcceptInvitation" target="_top">AWS API
     Documentation</a>
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/AmazonDetectiveClient.java