:doc:`AppConfig <../../appconfig>` / Client / list_extension_associations

***************************
list_extension_associations
***************************



.. py:method:: AppConfig.Client.list_extension_associations(**kwargs)

  

  Lists all AppConfig extension associations in the account. For more information about extensions and associations, see `Extending workflows <https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html>`__ in the *AppConfig User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations>`_  


  **Request Syntax**
  ::

    response = client.list_extension_associations(
        ResourceIdentifier='string',
        ExtensionIdentifier='string',
        ExtensionVersionNumber=123,
        MaxResults=123,
        NextToken='string'
    )
    
  :type ResourceIdentifier: string
  :param ResourceIdentifier: 

    The ARN of an application, configuration profile, or environment.

    

  
  :type ExtensionIdentifier: string
  :param ExtensionIdentifier: 

    The name, the ID, or the Amazon Resource Name (ARN) of the extension.

    

  
  :type ExtensionVersionNumber: integer
  :param ExtensionVersionNumber: 

    The version number for the extension defined in the association.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

    

  
  :type NextToken: string
  :param NextToken: 

    A token to start the list. Use this token to get the next set of results or pass null to get the first set of results.

    

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

    
    ::

      {
          'Items': [
              {
                  'Id': 'string',
                  'ExtensionArn': 'string',
                  'ResourceArn': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Items** *(list) --* 

        The list of extension associations. Each item represents an extension association to an application, environment, or configuration profile.

        
        

        - *(dict) --* 

          Information about an association between an extension and an AppConfig resource such as an application, environment, or configuration profile. Call ``GetExtensionAssociation`` to get more information about an association.

          
          

          - **Id** *(string) --* 

            The extension association ID. This ID is used to call other ``ExtensionAssociation`` API actions such as ``GetExtensionAssociation`` or ``DeleteExtensionAssociation``.

            
          

          - **ExtensionArn** *(string) --* 

            The system-generated Amazon Resource Name (ARN) for the extension.

            
          

          - **ResourceArn** *(string) --* 

            The ARNs of applications, configuration profiles, or environments defined in the association.

            
      
    
      

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

        The token for the next set of items to return. Use this token to get the next set of results.

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

  
  *   :py:class:`AppConfig.Client.exceptions.BadRequestException`

  