code: @Override
      public UpdateDetectorResult updateDetector(UpdateDetectorRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateDetector(request);
      }
docs: Updates an Amazon GuardDuty detector specified by the detectorId.
  
  @param updateDetectorRequest
  UpdateDetector request body.
  @return Result of the UpdateDetector operation returned by the service.
  @throws BadRequestException
  400 response
  @throws InternalServerErrorException
  500 response
  @sample AmazonGuardDuty.UpdateDetector
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector" target="_top">AWS API
  Documentation</a>