docs: @Override
      protected InputStream getContentInputStream(OperationContext operationContext, ModelNode operation) throws OperationFailedException {
          int streamIndex = operation.get(INPUT_STREAM_INDEX).asInt();
          int maxIndex = operationContext.getAttachmentStreamCount();
          if (streamIndex > maxIndex) {
              throw new OperationFailedException(DomainControllerLogger.ROOT_LOGGER.invalidValue(INPUT_STREAM_INDEX, streamIndex, maxIndex));
          }
  
          InputStream in = operationContext.getAttachmentStream(streamIndex);
          if (in == null) {
              throw new OperationFailedException(DomainControllerLogger.ROOT_LOGGER.nullStream(streamIndex));
          }
  
          return in;
      }