Module Values.GetFunctionRequestSource

Gets 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.

Sourcetype nonrec t = {
  1. name : FunctionName.t;
    (*

    The name of the function whose code you are getting.

    *)
  2. stage : FunctionStage.t option;
    (*

    The function's stage, either DEVELOPMENT or LIVE.

    *)
}
Sourceval context_ : string
Sourceval make : ?stage:??? -> name:FunctionName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of FunctionName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t