Module Values.BucketStateSource

Describes the state of an Amazon Lightsail bucket.

Sourcetype nonrec t = {
  1. code : NonEmptyString.t option;
    (*

    The state code of the bucket. The following codes are possible: OK - The bucket is in a running state. Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.

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

    A message that describes the state of the bucket.

    *)
}
Sourceval make : ?code:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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