Object.Headtype options = {preconditions : Preconditions.Read.t;Conditional headers for the object metadata request.
*)version_id : Version_id.t option;Object version to inspect instead of the current version.
*)checksum_mode : Checksum.Mode.t option;Request S3 checksum metadata in the response.
*)source_encryption : Encryption.Source.t option;SSE-C source-object key headers for encrypted objects.
*)expected_bucket_owner : Account_id.t option;x-amz-expected-bucket-owner.
}HeadObject request options.
type result = Get.infoHeadObject metadata has the same shape as Get.info; no object body is returned.
val default_options : optionsval options :
?preconditions:Preconditions.Read.t ->
?version_id:Version_id.t ->
?checksum_mode:Checksum.Mode.t ->
?source_encryption:Encryption.Source.t ->
?expected_bucket_owner:Account_id.t ->
unit ->
(options, Awskit.Error.t) Stdlib.resultBuild HeadObject options.
val options_exn :
?preconditions:Preconditions.Read.t ->
?version_id:Version_id.t ->
?checksum_mode:Checksum.Mode.t ->
?source_encryption:Encryption.Source.t ->
?expected_bucket_owner:Account_id.t ->
unit ->
optionsLike options, but raises on validation failure.