:doc:`ACMPCA <../../acm-pca>` / Paginator / ListTags

********
ListTags
********



.. py:class:: ACMPCA.Paginator.ListTags

  ::

    
    paginator = client.get_paginator('list_tags')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`ACMPCA.Client.list_tags`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTags>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          CertificateAuthorityArn='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type CertificateAuthorityArn: string
    :param CertificateAuthorityArn: **[REQUIRED]** 

      The Amazon Resource Name (ARN) that was returned when you called the `CreateCertificateAuthority <https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html>`__ action. This must be of the form:

       

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

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

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

      

      - *(dict) --* 
        

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

          The tags associated with your private CA.

          
          

          - *(dict) --* 

            Tags are labels that you can use to identify and organize your private CAs. Each tag consists of a key and an optional value. You can associate up to 50 tags with a private CA. To add one or more tags to a private CA, call the `TagCertificateAuthority <https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html>`__ action. To remove a tag, call the `UntagCertificateAuthority <https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html>`__ action.

            
            

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

              Key (name) of the tag.

              
            

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

              Value of the tag.

              
        
      
    