code: def create_job_queue(self, queue_name, priority, state, compute_env_order):
          
          for variable, var_name in ((queue_name, 'jobQueueName'), (priority, 'priority'), (state, 'state'), (compute_env_order, 'computeEnvironmentOrder')):
              if variable is None:
                  raise ClientException('{0} must be provided'.format(var_name))
  
          if state not in ('ENABLED', 'DISABLED'):
              raise ClientException('state {0} must be one of ENABLED | DISABLED'.format(state))
          if self.get_job_queue_by_name(queue_name) is not None:
              raise ClientException('Job queue {0} already exists'.format(queue_name))
  
          if len(compute_env_order) == 0:
              raise ClientException('At least 1 compute environment must be provided')
          try:
              # orders and extracts computeEnvironment names
              ordered_compute_environments = [item['computeEnvironment'] for item in sorted(compute_env_order, key=lambda x: x['order'])]
              env_objects = []
              # Check each ARN exists, then make a list of compute env's
              for arn in ordered_compute_environments:
                  env = self.get_compute_environment_by_arn(arn)
                  if env is None:
                      raise ClientException('Compute environment {0} does not exist'.format(arn))
                  env_objects.append(env)
          except Exception:
              raise ClientException('computeEnvironmentOrder is malformed')
  
          # Create new Job Queue
          queue = JobQueue(queue_name, priority, state, env_objects, compute_env_order, self.region_name)
          self._job_queues[queue.arn] = queue
  
          return queue_name, queue.arn
docs: Create a job queue
  
          :param queue_name: Queue name
          :type queue_name: str
          :param priority: Queue priority
          :type priority: int
          :param state: Queue state
          :type state: string
          :param compute_env_order: Compute environment list
          :type compute_env_order: list of dict
          :return: Tuple of Name, ARN
          :rtype: tuple of str