Module Values.GetBucketLoggingRequestSource

This operation is not supported for directory buckets. Returns the logging status of a bucket and the permissions users have to view and modify that status. The following operations are related to GetBucketLogging: CreateBucket PutBucketLogging You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

Sourcetype nonrec t = {
  1. bucket : BucketName.t;
    (*

    The bucket name for which to get the logging information.

    *)
  2. expectedBucketOwner : AccountId.t option;
    (*

    The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

    *)
}
Sourceval context_ : string
Sourceval make : ?expectedBucketOwner:??? -> bucket:BucketName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of BucketName.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