TestFunctionRequest
¶
Source code in docs_src/capo_cloudfront/types/test_function_request.py
event_object
instance-attribute
¶
event_object: FunctionEventObject
The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
if_match
instance-attribute
¶
if_match: string
The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.
stage
instance-attribute
¶
stage: NotRequired[FunctionStage]
The stage of the function that you are testing, either DEVELOPMENT or LIVE.