Skip to content

UpdateFunctionRequest

Source code in docs_src/capo_cloudfront/types/update_function_request.py
class UpdateFunctionRequest(TypedDict, closed=True):
    name: "capo_cloudfront.types.function_name.FunctionName"
    """<p>The name of the function that you are updating.</p>"""
    if_match: "capo_cloudfront.types.string.string"
    """<p>The current version (<code>ETag</code> value) of the function that you are updating, which you can get using <code>DescribeFunction</code>.</p>"""
    function_config: "capo_cloudfront.types.function_config.FunctionConfig"
    """<p>Configuration information about the function.</p>"""
    function_code: "capo_cloudfront.types.function_blob.FunctionBlob"
    """<p>The function code. For more information about writing a CloudFront function, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html">Writing function code for CloudFront Functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""

function_code instance-attribute

function_code: FunctionBlob

The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.

function_config instance-attribute

function_config: FunctionConfig

Configuration information about the function.

if_match instance-attribute

if_match: string

The current version (ETag value) of the function that you are updating, which you can get using DescribeFunction.

name instance-attribute

The name of the function that you are updating.