Module Values.PutBucketAbacRequestSource

Sets the attribute-based access control (ABAC) property of the general purpose bucket. You must have s3:PutBucketABAC permission to perform this action. When you enable ABAC, you can use tags for access control on your buckets. Additionally, when ABAC is enabled, you must use the TagResource and UntagResource actions to manage tags on your buckets. You can nolonger use the PutBucketTagging and DeleteBucketTagging actions to tag your bucket. For more information, see Enabling ABAC in general purpose buckets.

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

    The name of the general purpose bucket.

    *)
  2. contentMD5 : ContentMD5.t option;
    (*

    The MD5 hash of the PutBucketAbac request body. For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

    *)
  3. checksumAlgorithm : ChecksumAlgorithm.t option;
    (*

    Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.

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

    The Amazon Web Services account ID of the general purpose bucket's owner.

    *)
  5. abacStatus : AbacStatus.t;
    (*

    The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.

    *)
}
Sourceval context_ : string
Sourceval make : ?contentMD5:??? -> ?checksumAlgorithm:??? -> ?expectedBucketOwner:??? -> bucket:BucketName.t -> abacStatus:AbacStatus.t -> unit -> t
Sourceval of_header_and_body : ((string, ContentMD5.t) Awso.Import.List.Assoc.t * AbacStatus.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of BucketName.t | `Structure of (string * [> `Enum of string ]) list ]) 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