Module Values.DeleteBucketRequestSource

Deletes a Amazon Lightsail bucket. When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another Amazon Web Services account.

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

    The name of the bucket to delete. Use the GetBuckets action to get a list of bucket names that you can specify.

    *)
  2. forceDelete : Boolean.t option;
    (*

    A Boolean value that indicates whether to force delete the bucket. You must force delete the bucket if it has one of the following conditions: The bucket is the origin of a distribution. The bucket has instances that were granted access to it using the SetResourceAccessForBucket action. The bucket has objects. The bucket has access keys. Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.

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