:doc:`Connect <../../connect>` / Client / list_predefined_attributes

**************************
list_predefined_attributes
**************************



.. py:method:: Connect.Client.list_predefined_attributes(**kwargs)

  

  Lists predefined attributes for the specified Amazon Connect instance. A *predefined attribute* is made up of a name and a value. You can use predefined attributes for:

   

  
  * Routing proficiency (for example, agent certification) that has predefined values (for example, a list of possible certifications). For more information, see `Create predefined attributes for routing contacts to agents <https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html>`__.
   
  * Contact information that varies between transfers or conferences, such as the name of the business unit handling the contact. For more information, see `Use contact segment attributes <https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html>`__.
  

   

  For the predefined attributes per instance quota, see `Amazon Connect quotas <https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas>`__.

   

  **Endpoints**: See `Amazon Connect endpoints and quotas <https://docs.aws.amazon.com/general/latest/gr/connect_region.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPredefinedAttributes>`_  


  **Request Syntax**
  ::

    response = client.list_predefined_attributes(
        InstanceId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return per page.

    

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

    
    ::

      {
          'NextToken': 'string',
          'PredefinedAttributeSummaryList': [
              {
                  'Name': 'string',
                  'LastModifiedTime': datetime(2015, 1, 1),
                  'LastModifiedRegion': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        If there are additional results, this is the token for the next set of results.

        
      

      - **PredefinedAttributeSummaryList** *(list) --* 

        Summary of the predefined attributes.

        
        

        - *(dict) --* 

          Summary of a predefined attribute.

          
          

          - **Name** *(string) --* 

            The name of the predefined attribute.

            
          

          - **LastModifiedTime** *(datetime) --* 

            Last modified time.

            
          

          - **LastModifiedRegion** *(string) --* 

            Last modified region.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  