Module Values.CreateBucketRequestSource

Creates an Amazon Lightsail bucket. A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.

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

    The name for the bucket. For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.

    *)
  2. bundleId : NonEmptyString.t;
    (*

    The ID of the bundle to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the GetBucketBundles action to get a list of bundle IDs that you can specify. Use the UpdateBucketBundle action to change the bundle after the bucket is created.

    *)
  3. tags : TagList.t option;
    (*

    The tag keys and optional values to add to the bucket during creation. Use the TagResource action to tag the bucket after it's created.

    *)
  4. enableObjectVersioning : Boolean.t option;
    (*

    A Boolean value that indicates whether to enable versioning of objects in the bucket. For more information about versioning, see Enabling and suspending object versioning in a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> ?enableObjectVersioning:??? -> bucketName:BucketName.t -> bundleId:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `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