:doc:`AppRegistry <../../servicecatalog-appregistry>` / Client / list_attribute_groups_for_application

*************************************
list_attribute_groups_for_application
*************************************



.. py:method:: AppRegistry.Client.list_attribute_groups_for_application(**kwargs)

  

  Lists the details of all attribute groups associated with a specific application. The results display in pages.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication>`_  


  **Request Syntax**
  ::

    response = client.list_attribute_groups_for_application(
        application='string',
        nextToken='string',
        maxResults=123
    )
    
  :type application: string
  :param application: **[REQUIRED]** 

    The name or ID of the application.

    

  
  :type nextToken: string
  :param nextToken: 

    This token retrieves the next page of results after a previous API call.

    

  
  :type maxResults: integer
  :param maxResults: 

    The upper bound of the number of results to return. The value cannot exceed 25. If you omit this parameter, it defaults to 25. This value is optional.

    

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

    
    ::

      {
          'attributeGroupsDetails': [
              {
                  'id': 'string',
                  'arn': 'string',
                  'name': 'string',
                  'createdBy': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **attributeGroupsDetails** *(list) --* 

        The details related to a specific attribute group.

        
        

        - *(dict) --* 

          The details related to a specific AttributeGroup.

          
          

          - **id** *(string) --* 

            The unique identifier of the attribute group.

            
          

          - **arn** *(string) --* 

            The Amazon resource name (ARN) that specifies the attribute group.

            
          

          - **name** *(string) --* 

            .. warning::

              

              This field is no longer supported. We recommend you don't use the field when using ``ListAttributeGroupsForApplication``.

               

             

            The name of the attribute group.

            
          

          - **createdBy** *(string) --* 

            The service principal that created the attribute group.

            
      
    
      

      - **nextToken** *(string) --* 

        The token to use to get the next page of results after a previous API call.

        
  
  **Exceptions**
  
  *   :py:class:`AppRegistry.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`AppRegistry.Client.exceptions.InternalServerException`

  