:doc:`MQ <../../mq>` / Client / list_configuration_revisions

****************************
list_configuration_revisions
****************************



.. py:method:: MQ.Client.list_configuration_revisions(**kwargs)

  

  Returns a list of all revisions for the specified configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions>`_  


  **Request Syntax**
  ::

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

    The unique ID that Amazon MQ generates for the configuration.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

    

  
  :type NextToken: string
  :param NextToken: 

    The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

    

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

    
    ::

      {
          'ConfigurationId': 'string',
          'MaxResults': 123,
          'NextToken': 'string',
          'Revisions': [
              {
                  'Created': datetime(2015, 1, 1),
                  'Description': 'string',
                  'Revision': 123
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      HTTP Status Code 200: OK.

      
      

      - **ConfigurationId** *(string) --* 

        The unique ID that Amazon MQ generates for the configuration.

        
      

      - **MaxResults** *(integer) --* 

        The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.

        
      

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

        The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

        
      

      - **Revisions** *(list) --* 

        The list of all revisions for the specified configuration.

        
        

        - *(dict) --* 

          Returns information about the specified configuration revision.

          
          

          - **Created** *(datetime) --* 

            Required. The date and time of the configuration revision.

            
          

          - **Description** *(string) --* 

            The description of the configuration revision.

            
          

          - **Revision** *(integer) --* 

            Required. The revision number of the configuration.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`MQ.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`MQ.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MQ.Client.exceptions.ForbiddenException`

  