Module Values.UpdateFunctionResultSource

Updates a CloudFront function. You can update a function's code or the comment that describes the function. You cannot update a function's name. To update a function, you provide the function's name and version (ETag value) along with the updated function code. To get the name and version, you can use ListFunctions and DescribeFunction.

Sourcetype nonrec t = {
  1. functionSummary : FunctionSummary.t option;
    (*

    Contains configuration information and metadata about a CloudFront function.

    *)
  2. eTag : String_.t option;
    (*

    The version identifier for the current version of the CloudFront function.

    *)
}
Sourcetype nonrec error = [
  1. | `FunctionSizeLimitExceeded of FunctionSizeLimitExceeded.t
  2. | `InvalidArgument of InvalidArgument.t
  3. | `InvalidIfMatchVersion of InvalidIfMatchVersion.t
  4. | `NoSuchFunctionExists of NoSuchFunctionExists.t
  5. | `PreconditionFailed of PreconditionFailed.t
  6. | `UnsupportedOperation of UnsupportedOperation.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?functionSummary:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `FunctionSizeLimitExceeded of FunctionSizeLimitExceeded.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `NoSuchFunctionExists of NoSuchFunctionExists.t | `PreconditionFailed of PreconditionFailed.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `FunctionSizeLimitExceeded of FunctionSizeLimitExceeded.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `NoSuchFunctionExists of NoSuchFunctionExists.t | `PreconditionFailed of PreconditionFailed.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * FunctionSummary.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of FunctionName.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of KeyValueStoreARN.t ]) list ] list ]) list | `Timestamp of Timestamp.t ]) list ]) list ]) 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