code: @Override
      public CreateDetectorResult createDetector(CreateDetectorRequest request) {
          request = beforeClientExecution(request);
          return executeCreateDetector(request);
      }
docs: Creates a single Amazon GuardDuty detector. A detector is an object that represents the GuardDuty service. A
  detector must be created in order for GuardDuty to become operational.
  
  @param createDetectorRequest
  CreateDetector request body.
  @return Result of the CreateDetector operation returned by the service.
  @throws BadRequestException
  400 response
  @throws InternalServerErrorException
  500 response
  @sample AmazonGuardDuty.CreateDetector
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector" target="_top">AWS API
  Documentation</a>