Values.GetFunctionRequestSourceGets the code of a CloudFront function. To get configuration information and metadata about a function, use DescribeFunction. To get a function's code, you must provide the function's name and stage. To get these values, you can use ListFunctions.
type nonrec t = {name : FunctionName.t;The name of the function whose code you are getting.
*)stage : FunctionStage.t option;The function's stage, either DEVELOPMENT or LIVE.
*)}val to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of FunctionName.t ]) list ]