Returns information about one or more Amazon Lightsail buckets
Source:R/lightsail_operations.R
lightsail_get_buckets.RdReturns 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.
See https://www.paws-r-sdk.com/docs/lightsail_get_buckets/ for full documentation.
Usage
lightsail_get_buckets(
bucketName = NULL,
pageToken = NULL,
includeConnectedResources = NULL,
includeCors = NULL
)Arguments
- bucketName
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.
- pageToken
The token to advance to the next page of results from your request.
To get a page token, perform an initial
get_bucketsrequest. 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.- includeConnectedResources
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the
set_resource_access_for_bucketaction.- includeCors
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
bucketNamespecified. The default value for this parameter isFalse.