Module Values.GetBucketsRequestSource

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. bucketName : BucketName.t option;
    (*

    The name of the bucket for which to return information. When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.

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

    The token to advance to the next page of results from your request. To get a page token, perform an initial GetBuckets request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

    *)
  3. includeConnectedResources : Boolean.t option;
    (*

    A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.

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

    A Boolean value that indicates whether to include Lightsail bucket CORS configuration in the response. For more information, see Configuring cross-origin resource sharing (CORS). This parameter is only supported when getting a single bucket with bucketName specified. The default value for this parameter is False.

    *)
}
Sourceval make : ?bucketName:??? -> ?pageToken:??? -> ?includeConnectedResources:??? -> ?includeCors:??? -> 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