Module Values.CreateBucketResultSource

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. bucket : Bucket.t option;
    (*

    An object that describes the bucket that is created.

    *)
  2. operations : OperationList.t option;
    (*

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  4. | `ServiceException of ServiceException.t
  5. | `UnauthenticatedException of UnauthenticatedException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?bucket:??? -> ?operations:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ] list | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of BucketCorsAllowedMethod.t ] list | `String of BucketCorsRuleId.t ]) list ] list | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) 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