:doc:`ACM <../../acm>` / Client / list_tags_for_certificate

*************************
list_tags_for_certificate
*************************



.. py:method:: ACM.Client.list_tags_for_certificate(**kwargs)

  

  Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the  AddTagsToCertificate action. To delete a tag, use the  RemoveTagsFromCertificate action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_certificate(
        CertificateArn='string'
    )
    
  :type CertificateArn: string
  :param CertificateArn: **[REQUIRED]** 

    String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

     

    ``arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012``

     

    For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The key-value pairs that define the applied tags.

        
        

        - *(dict) --* 

          A key-value pair that identifies or specifies metadata about an ACM resource.

          
          

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

            The key of the tag.

            
          

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

            The value of the tag.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`ACM.Client.exceptions.InvalidArnException`

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

  