:doc:`LaunchWizard <../../launch-wizard>` / Client / list_deployment_pattern_versions

********************************
list_deployment_pattern_versions
********************************



.. py:method:: LaunchWizard.Client.list_deployment_pattern_versions(**kwargs)

  

  Lists the deployment pattern versions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListDeploymentPatternVersions>`_  


  **Request Syntax**
  ::

    response = client.list_deployment_pattern_versions(
        workloadName='string',
        deploymentPatternName='string',
        maxResults=123,
        nextToken='string',
        filters=[
            {
                'name': 'updateFromVersion',
                'values': [
                    'string',
                ]
            },
        ]
    )
    
  :type workloadName: string
  :param workloadName: **[REQUIRED]** 

    The name of the workload. You can use the `ListWorkloads <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html>`__ operation to discover supported values for this parameter.

    

  
  :type deploymentPatternName: string
  :param deploymentPatternName: **[REQUIRED]** 

    The name of the deployment pattern. You can use the `ListWorkloadDeploymentPatterns <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html>`__ operation to discover supported values for this parameter.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of deployment pattern versions to list.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results.

    

  
  :type filters: list
  :param filters: 

    Filters to apply when listing deployment pattern versions.

    

  
    - *(dict) --* 

      A filter for deployment pattern versions. Use this filter to specify criteria for querying deployment pattern versions in Launch Wizard.

      

    
      - **name** *(string) --* **[REQUIRED]** 

        The name of the filter attribute. Specifies which attribute to filter on when querying deployment pattern versions.

        

      
      - **values** *(list) --* **[REQUIRED]** 

        The values to filter by. Contains the specific values to match against when filtering deployment pattern versions.

        

      
        - *(string) --* 

        
    
    

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

    
    ::

      {
          'deploymentPatternVersions': [
              {
                  'deploymentPatternVersionName': 'string',
                  'description': 'string',
                  'documentationUrl': 'string',
                  'workloadName': 'string',
                  'deploymentPatternName': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **deploymentPatternVersions** *(list) --* 

        The deployment pattern versions.

        
        

        - *(dict) --* 

          Describes a deployment pattern version summary.

          
          

          - **deploymentPatternVersionName** *(string) --* 

            The name of the deployment pattern version.

            
          

          - **description** *(string) --* 

            The description of the deployment pattern version.

            
          

          - **documentationUrl** *(string) --* 

            The URL of the documentation for the deployment pattern version.

            
          

          - **workloadName** *(string) --* 

            The name of the workload.

            
          

          - **deploymentPatternName** *(string) --* 

            The name of the deployment pattern.

            
      
    
      

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

        The token for the next set of results.

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

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

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

  