Lambda / Client / get_function_code_signing_config

get_function_code_signing_config#

Lambda.Client.get_function_code_signing_config(**kwargs)#

Returns the code signing configuration for the specified function.

See also: AWS API Documentation

Request Syntax

response = client.get_function_code_signing_config(
    FunctionName='string'
)
Parameters:

FunctionName (string) –

[REQUIRED]

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Return type:

dict

Returns:

Response Syntax

{
    'CodeSigningConfigArn': 'string',
    'FunctionName': 'string'
}

Response Structure

  • (dict) –

    • CodeSigningConfigArn (string) –

      The The Amazon Resource Name (ARN) of the code signing configuration.

    • FunctionName (string) –

      The name of the Lambda function.

      Name formats

      • Function name - MyFunction.

      • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

      • Partial ARN - 123456789012:function:MyFunction.

      The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Exceptions

  • Lambda.Client.exceptions.InvalidParameterValueException

  • Lambda.Client.exceptions.ResourceNotFoundException

  • Lambda.Client.exceptions.ServiceException

  • Lambda.Client.exceptions.TooManyRequestsException