Lambda / Client / get_function_scaling_config
get_function_scaling_config¶
- Lambda.Client.get_function_scaling_config(**kwargs)¶
Retrieves the scaling configuration for a Lambda Managed Instances function.
See also: AWS API Documentation
Request Syntax
response = client.get_function_scaling_config( FunctionName='string', Qualifier='string' )
- Parameters:
FunctionName (string) –
[REQUIRED]
The name or ARN of the Lambda function.
Qualifier (string) –
[REQUIRED]
Specify a version or alias to get the scaling configuration for a published version of the function.
- Return type:
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