Module Object_key.Prefix

type t

Non-empty object listing prefix. Use None in operation options and page records for "no prefix" rather than constructing an empty prefix value.

val of_string : string -> (t, Awskit.Error.t) Stdlib.result

Validate a non-empty listing prefix.

val of_string_exn : string -> t

Like of_string, but raises Awskit.Error.Awskit_error carrying the structured validation error on validation failure.

val to_string : t -> string

Return the prefix string.

val pp : Stdlib.Format.formatter -> t -> unit

Pretty-print the prefix.

val equal : t -> t -> bool

Compare two prefixes.