Module Values.ResponseHeadersPolicyAccessControlAllowMethodsSource

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header. For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

Sourcetype nonrec t = {
  1. quantity : Integer.t;
    (*

    The number of HTTP methods in the list.

    *)
  2. items : AccessControlAllowMethodsList.t;
    (*

    The list of HTTP methods. Valid values are: GET DELETE HEAD OPTIONS PATCH POST PUT ALL ALL is a special value that includes all of the listed HTTP methods.

    *)
}
Sourceval context_ : string
Sourceval make : quantity:Integer.t -> items:AccessControlAllowMethodsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Enum of string ] 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