Module Values.GetBucketsResultSource

Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.

Sourcetype nonrec t = {
  1. buckets : BucketList.t option;
    (*

    An array of objects that describe buckets.

    *)
  2. nextPageToken : String_.t option;
    (*

    The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetBuckets request and specify the next page token using the pageToken parameter.

    *)
  3. accountLevelBpaSync : AccountLevelBpaSync.t option;
    (*

    An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets. For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  5. | `ServiceException of ServiceException.t
  6. | `UnauthenticatedException of UnauthenticatedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?buckets:??? -> ?nextPageToken:??? -> ?accountLevelBpaSync:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.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 | `NotFoundException of NotFoundException.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 | `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 | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `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