Module Values.WebsiteConfigurationSource

Specifies website configuration parameters for an Amazon S3 bucket.

Sourcetype nonrec t = {
  1. errorDocument : ErrorDocument.t option;
    (*

    The name of the error document for the website.

    *)
  2. indexDocument : IndexDocument.t option;
    (*

    The name of the index document for the website.

    *)
  3. redirectAllRequestsTo : RedirectAllRequestsTo.t option;
    (*

    The redirect behavior for every request to this bucket's website endpoint. If you specify this property, you can't specify any other property.

    *)
  4. routingRules : RoutingRules.t option;
    (*

    Rules that define when a redirect is applied and the redirect behavior.

    *)
}
Sourceval make : ?errorDocument:??? -> ?indexDocument:??? -> ?redirectAllRequestsTo:??? -> ?routingRules:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of HttpErrorCodeReturnedEquals.t ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of ObjectKey.t ]) 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