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

**************************
list_deployment_strategies
**************************



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

  

  Lists deployment strategies.

  

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


  **Request Syntax**
  ::

    response = client.list_deployment_strategies(
        MaxResults=123,
        NextToken='string'
    )
    
  :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.

    

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

    
    ::

      {
          'Items': [
              {
                  'Id': 'string',
                  'Name': 'string',
                  'Description': 'string',
                  'DeploymentDurationInMinutes': 123,
                  'GrowthType': 'LINEAR'|'EXPONENTIAL',
                  'GrowthFactor': ...,
                  'FinalBakeTimeInMinutes': 123,
                  'ReplicateTo': 'NONE'|'SSM_DOCUMENT'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The elements from this collection.

        
        

        - *(dict) --* 
          

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

            The deployment strategy ID.

            
          

          - **Name** *(string) --* 

            The name of the deployment strategy.

            
          

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

            The description of the deployment strategy.

            
          

          - **DeploymentDurationInMinutes** *(integer) --* 

            Total amount of time the deployment lasted.

            
          

          - **GrowthType** *(string) --* 

            The algorithm used to define how percentage grew over time.

            
          

          - **GrowthFactor** *(float) --* 

            The percentage of targets that received a deployed configuration during each interval.

            
          

          - **FinalBakeTimeInMinutes** *(integer) --* 

            The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.

            
          

          - **ReplicateTo** *(string) --* 

            Save the deployment strategy to a Systems Manager (SSM) document.

            
      
    
      

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

  

  **Examples**

  The following list-deployment-strategies example lists the available deployment strategies in your AWS account.
  ::

    response = client.list_deployment_strategies(
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'Items': [
            {
                'DeploymentDurationInMinutes': 15,
                'FinalBakeTimeInMinutes': 0,
                'GrowthFactor': 25,
                'GrowthType': 'LINEAR',
                'Id': '1225qzk',
                'Name': 'Example-Deployment',
                'ReplicateTo': 'SSM_DOCUMENT',
            },
        ],
        'ResponseMetadata': {
            '...': '...',
        },
    }

  