:doc:`ElasticBeanstalk <../../elasticbeanstalk>` / Paginator / DescribeApplicationVersions

***************************
DescribeApplicationVersions
***************************



.. py:class:: ElasticBeanstalk.Paginator.DescribeApplicationVersions

  ::

    
    paginator = client.get_paginator('describe_application_versions')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`ElasticBeanstalk.Client.describe_application_versions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions>`_    


    **Request Syntax**
    ::

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

      Specify an application name to show only application versions for that application.

      

    
    :type VersionLabels: list
    :param VersionLabels: 

      Specify a version label to show a specific application version.

      

    
      - *(string) --* 

      
  
    :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**

      
      ::

        {
            'ApplicationVersions': [
                {
                    'ApplicationVersionArn': 'string',
                    'ApplicationName': 'string',
                    'Description': 'string',
                    'VersionLabel': 'string',
                    'SourceBuildInformation': {
                        'SourceType': 'Git'|'Zip',
                        'SourceRepository': 'CodeCommit'|'S3',
                        'SourceLocation': 'string'
                    },
                    'BuildArn': 'string',
                    'SourceBundle': {
                        'S3Bucket': 'string',
                        'S3Key': 'string'
                    },
                    'DateCreated': datetime(2015, 1, 1),
                    'DateUpdated': datetime(2015, 1, 1),
                    'Status': 'Processed'|'Unprocessed'|'Failed'|'Processing'|'Building'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 

        Result message wrapping a list of application version descriptions.

        
        

        - **ApplicationVersions** *(list) --* 

          List of ``ApplicationVersionDescription`` objects sorted in order of creation.

          
          

          - *(dict) --* 

            Describes the properties of an application version.

            
            

            - **ApplicationVersionArn** *(string) --* 

              The Amazon Resource Name (ARN) of the application version.

              
            

            - **ApplicationName** *(string) --* 

              The name of the application to which the application version belongs.

              
            

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

              The description of the application version.

              
            

            - **VersionLabel** *(string) --* 

              A unique identifier for the application version.

              
            

            - **SourceBuildInformation** *(dict) --* 

              If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.

              
              

              - **SourceType** *(string) --* 

                The type of repository.

                 

                
                * ``Git``
                 
                * ``Zip``
                

                
              

              - **SourceRepository** *(string) --* 

                Location where the repository is stored.

                 

                
                * ``CodeCommit``
                 
                * ``S3``
                

                
              

              - **SourceLocation** *(string) --* 

                The location of the source code, as a formatted string, depending on the value of ``SourceRepository``

                 

                
                * For ``CodeCommit``, the format is the repository name and commit ID, separated by a forward slash. For example, ``my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a``.
                 
                * For ``S3``, the format is the S3 bucket name and object key, separated by a forward slash. For example, ``my-s3-bucket/Folders/my-source-file``.
                

                
          
            

            - **BuildArn** *(string) --* 

              Reference to the artifact from the AWS CodeBuild build.

              
            

            - **SourceBundle** *(dict) --* 

              The storage location of the application version's source bundle in Amazon S3.

              
              

              - **S3Bucket** *(string) --* 

                The Amazon S3 bucket where the data is located.

                
              

              - **S3Key** *(string) --* 

                The Amazon S3 key where the data is located.

                
          
            

            - **DateCreated** *(datetime) --* 

              The creation date of the application version.

              
            

            - **DateUpdated** *(datetime) --* 

              The last modified date of the application version.

              
            

            - **Status** *(string) --* 

              The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified ``True`` for the ``Process`` parameter of the ``CreateApplicationVersion`` action. The following list describes the possible values.

               

              
              * ``Unprocessed`` – Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment.
               
              * ``Processing`` – Elastic Beanstalk is currently processing the application version.
               
              * ``Building`` – Application version is currently undergoing an AWS CodeBuild build.
               
              * ``Processed`` – Elastic Beanstalk was successfully pre-processed and validated.
               
              * ``Failed`` – Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
              

              
        
      
    