:doc:`Lambda <../../lambda>` / Client / get_function_scaling_config

***************************
get_function_scaling_config
***************************



.. py:method:: Lambda.Client.get_function_scaling_config(**kwargs)

  

  Retrieves the scaling configuration for a Lambda Managed Instances function.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionScalingConfig>`_  


  **Request Syntax**
  ::

    response = client.get_function_scaling_config(
        FunctionName='string',
        Qualifier='string'
    )
    
  :type FunctionName: string
  :param FunctionName: **[REQUIRED]** 

    The name or ARN of the Lambda function.

    

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

    Specify a version or alias to get the scaling configuration for a published version of the function.

    

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

    
    ::

      {
          'FunctionArn': 'string',
          'AppliedFunctionScalingConfig': {
              'MinExecutionEnvironments': 123,
              'MaxExecutionEnvironments': 123
          },
          'RequestedFunctionScalingConfig': {
              'MinExecutionEnvironments': 123,
              'MaxExecutionEnvironments': 123
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **FunctionArn** *(string) --* 

        The Amazon Resource Name (ARN) of the function.

        
      

      - **AppliedFunctionScalingConfig** *(dict) --* 

        The scaling configuration that is currently applied to the function. This represents the actual scaling settings in effect.

        
        

        - **MinExecutionEnvironments** *(integer) --* 

          The minimum number of execution environments to maintain for the function.

          
        

        - **MaxExecutionEnvironments** *(integer) --* 

          The maximum number of execution environments that can be provisioned for the function.

          
    
      

      - **RequestedFunctionScalingConfig** *(dict) --* 

        The scaling configuration that was requested for the function.

        
        

        - **MinExecutionEnvironments** *(integer) --* 

          The minimum number of execution environments to maintain for the function.

          
        

        - **MaxExecutionEnvironments** *(integer) --* 

          The maximum number of execution environments that can be provisioned for the function.

          
    
  
  **Exceptions**
  
  *   :py:class:`Lambda.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Lambda.Client.exceptions.ServiceException`

  
  *   :py:class:`Lambda.Client.exceptions.TooManyRequestsException`

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

  