GetBucketsRequest
¶
Source code in docs_src/capo_lightsail/types/get_buckets_request.py
bucket_name
instance-attribute
¶
bucket_name: NotRequired[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.
include_connected_resources
instance-attribute
¶
include_connected_resources: NotRequired[boolean]
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
include_cors
instance-attribute
¶
include_cors: NotRequired[boolean]
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.
page_token
instance-attribute
¶
page_token: NotRequired[string]
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.