:doc:`ConnectCampaignServiceV2 <../../connectcampaignsv2>` / Client / list_tags_for_resource

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



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

  

  List tags for a resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    Amazon Resource Names(ARN)

    

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

    
    ::

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

    

    - *(dict) --* 

      The request for ListTagsForResource API.

      
      

      - **tags** *(dict) --* 

        Tag map with key and value.

        
        

        - *(string) --* 

          The key of tag.

          
          

          - *(string) --* 

            The value of tag.

            
    
  
  
  **Exceptions**
  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.InternalServerException`

  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ConnectCampaignServiceV2.Client.exceptions.ThrottlingException`

  