Skip to content

GetFunctionResponse

Source code in docs_src/capo_lambda/types/get_function_response.py
class GetFunctionResponse(TypedDict, closed=True):
    configuration: NotRequired[
        "capo_lambda.types.function_configuration.FunctionConfiguration"
    ]
    """<p>The configuration of the function or version.</p>"""
    code: NotRequired["capo_lambda.types.function_code_location.FunctionCodeLocation"]
    """<p>The deployment package of the function or version.</p>"""
    tags: NotRequired["capo_lambda.types.tags.Tags"]
    """<p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. Lambda returns tag data only if you have explicit allow permissions for <a href="https://docs.aws.amazon.com/lambda/latest/api/API_ListTags.html">lambda:ListTags</a>.</p>"""
    tags_error: NotRequired["capo_lambda.types.tags_error.TagsError"]
    """<p>An object that contains details about an error related to retrieving tags.</p>"""
    concurrency: NotRequired["capo_lambda.types.concurrency.Concurrency"]
    """<p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">reserved concurrency</a>.</p>"""

code instance-attribute

code: NotRequired[FunctionCodeLocation]

The deployment package of the function or version.

concurrency instance-attribute

concurrency: NotRequired[Concurrency]

The function's reserved concurrency.

configuration instance-attribute

configuration: NotRequired[FunctionConfiguration]

The configuration of the function or version.

tags instance-attribute

tags: NotRequired[Tags]

The function's tags. Lambda returns tag data only if you have explicit allow permissions for lambda:ListTags.

tags_error instance-attribute

tags_error: NotRequired[TagsError]

An object that contains details about an error related to retrieving tags.