package awskit-s3

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bucket.Get_locationSource

Sourcetype options = {
  1. expected_bucket_owner : Account_id.t option;
    (*

    x-amz-expected-bucket-owner.

    *)
}

GetBucketLocation request options.

Sourcetype result = {
  1. region : Awskit.Region.t;
    (*

    Bucket region. S3's legacy empty default-location encoding is normalized to us-east-1.

    *)
  2. response : Awskit.Response.t;
    (*

    Raw response metadata.

    *)
}

GetBucketLocation result metadata.

Sourceval default_options : options

Default GetBucketLocation options: no owner guard.

Sourceval options : ?expected_bucket_owner:Account_id.t -> unit -> (options, Awskit.Error.t) result

Build GetBucketLocation options.

Sourceval options_exn : ?expected_bucket_owner:Account_id.t -> unit -> options

Like options, but raises on validation failure.