UpdateFunctionRequest
¶
Source code in docs_src/capo_elementalinference/types/update_function_request.py
description
instance-attribute
¶
description: NotRequired[FunctionDescription]
A new description for the function.
event_bridge_delivery
instance-attribute
¶
event_bridge_delivery: NotRequired[EventBridgeDeliveryMode]
Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.
name
instance-attribute
¶
name: NotRequired[ResourceName]
A new name for the function. You can't change the name while the function is referenced by a feed.
request_expression
instance-attribute
¶
request_expression: NotRequired[JsonataExpression]
A new request expression for the function. Elemental Inference derives contextTypes again from the new expression. While a feed references the function, the new expression must reference the same media context as the current one.
response_expression
instance-attribute
¶
response_expression: NotRequired[JsonataExpression]
A new response expression for the function. To remove the response expression, specify an empty string. A function with a Bedrock target and eventBridgeDelivery set to ENABLED must keep a response expression.
target
instance-attribute
¶
target: NotRequired[FunctionTarget]
A new target for the function. You can't change the target while the function is referenced by a feed.