:doc:`S3Control <../../s3control>` / Client / update_job_priority

*******************
update_job_priority
*******************



.. py:method:: S3Control.Client.update_job_priority(**kwargs)

  

  Updates an existing S3 Batch Operations job's priority. For more information, see `S3 Batch Operations <https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html>`__ in the *Amazon S3 User Guide*.

    Permissions  

  To use the ``UpdateJobPriority`` operation, you must have permission to perform the ``s3:UpdateJobPriority`` action.

     

  Related actions include:

   

  
  * `CreateJob <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html>`__
   
  * `ListJobs <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html>`__
   
  * `DescribeJob <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html>`__
   
  * `UpdateJobStatus <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html>`__
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobPriority>`_  


  **Request Syntax**
  ::

    response = client.update_job_priority(
        AccountId='string',
        JobId='string',
        Priority=123
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Web Services account ID associated with the S3 Batch Operations job.

    

  
  :type JobId: string
  :param JobId: **[REQUIRED]** 

    The ID for the job whose priority you want to update.

    

  
  :type Priority: integer
  :param Priority: **[REQUIRED]** 

    The priority you want to assign to this job.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'JobId': 'string',
          'Priority': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **JobId** *(string) --* 

        The ID for the job whose priority Amazon S3 updated.

        
      

      - **Priority** *(integer) --* 

        The new priority assigned to the specified job.

        
  
  **Exceptions**
  
  *   :py:class:`S3Control.Client.exceptions.BadRequestException`

  
  *   :py:class:`S3Control.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`S3Control.Client.exceptions.NotFoundException`

  
  *   :py:class:`S3Control.Client.exceptions.InternalServiceException`

  