@Override
    public RegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request) {
        request = beforeClientExecution(request);
        return executeRegisterCrossAccountAccessRole(request);
    }
<p>
Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
</p>

@param registerCrossAccountAccessRoleRequest
@return Result of the RegisterCrossAccountAccessRole operation returned by the service.
@throws InternalException
        Internal server error.
@throws InvalidInputException
        The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
@throws AccessDeniedException
        You do not have required permissions to access the requested resource.
@throws InvalidCrossAccountRoleException
        Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the
        assessment run.
@throws ServiceTemporarilyUnavailableException
        The serice is temporary unavailable.
@sample AmazonInspector.RegisterCrossAccountAccessRole
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole"
     target="_top">AWS API Documentation</a>
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/AmazonInspectorClient.java