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

***************
get_job_tagging
***************



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

  

  Returns the tags on an S3 Batch Operations job.

    Permissions  

  To use the ``GetJobTagging`` operation, you must have permission to perform the ``s3:GetJobTagging`` action. For more information, see `Controlling access and labeling jobs using tags <https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags>`__ in the *Amazon S3 User Guide*.

     

  Related actions include:

   

  
  * `CreateJob <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html>`__
   
  * `PutJobTagging <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html>`__
   
  * `DeleteJobTagging <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html>`__
  

  

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


  **Request Syntax**
  ::

    response = client.get_job_tagging(
        AccountId='string',
        JobId='string'
    )
    
  :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 S3 Batch Operations job whose tags you want to retrieve.

    

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

    
    ::

      {
          'Tags': [
              {
                  'Key': 'string',
                  'Value': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Tags** *(list) --* 

        The set of tags associated with the S3 Batch Operations job.

        
        

        - *(dict) --* 

          A container for a key-value name pair.

          
          

          - **Key** *(string) --* 

            Key of the tag

            
          

          - **Value** *(string) --* 

            Value of the tag

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

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

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

  