code: @Override
      public PreviewAgentsResult previewAgents(PreviewAgentsRequest request) {
          request = beforeClientExecution(request);
          return executePreviewAgents(request);
      }
docs: <p>
  Previews the agents installed on the EC2 instances that are part of the specified assessment target.
  </p>
  
  @param previewAgentsRequest
  @return Result of the PreviewAgents 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 NoSuchEntityException
  The request was rejected because it referenced an entity that does not exist. The error code describes
  the entity.
  @throws InvalidCrossAccountRoleException
  Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the
  assessment run.
  @sample AmazonInspector.PreviewAgents
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents" target="_top">AWS API
  Documentation</a>