Values.GetFunctionResultSourceGets 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 = {functionCode : FunctionBlob.t option;The function code of a CloudFront function.
*)eTag : String_.t option;The version identifier for the current version of the CloudFront function.
*)contentType : String_.t option;The content type (media type) of the response.
*)}type nonrec error = [ | `NoSuchFunctionExists of NoSuchFunctionExists.t| `UnsupportedOperation of UnsupportedOperation.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `NoSuchFunctionExists of NoSuchFunctionExists.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperation of UnsupportedOperation.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `NoSuchFunctionExists of NoSuchFunctionExists.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperation of UnsupportedOperation.t ]val to_value :
t ->
[> `Structure of
(string * [> `Blob of FunctionBlob.t | `String of String_.t ]) list ]