Module Awskit_s3.Object_keySource

S3 object key values.

Sourcetype t

Opaque non-empty S3 object key.

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

Validate a non-empty UTF-8 object key up to S3's 1,024-byte object-key limit. Relative .. path segments are accepted only when they never outnumber preceding non-relative segments while scanning left to right.

Sourceval of_string_exn : string -> t

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

Sourceval to_string : t -> string

Return the object key string.

Sourceval pp : Format.formatter -> t -> unit

Pretty-print the object key.

Sourceval equal : t -> t -> bool

Compare two object keys.

Sourcemodule Prefix : sig ... end
Sourcemodule Delimiter : sig ... end