:doc:`MWAA <../../mwaa>` / Client / list_tags_for_resource

**********************
list_tags_for_resource
**********************



.. py:method:: MWAA.Client.list_tags_for_resource(**kwargs)

  

  Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, ``"Environment": "Staging"``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ListTagsForResource>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_resource(
        ResourceArn='string'
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, ``arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment``.

    

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

    
    ::

      {
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Tags** *(dict) --* 

        The key-value tag pairs associated to your environment. For more information, see `Tagging Amazon Web Services resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`__.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`MWAA.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`MWAA.Client.exceptions.ValidationException`

  
  *   :py:class:`MWAA.Client.exceptions.InternalServerException`

  