Lightsail.Client.
get_bucket_bundles
(**kwargs)¶Returns the bundles that you can apply to a Amazon Lightsail bucket.
The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.
Use the UpdateBucketBundle action to update the bundle for a bucket.
See also: AWS API Documentation
Request Syntax
response = client.get_bucket_bundles(
includeInactive=True|False
)
{
'bundles': [
{
'bundleId': 'string',
'name': 'string',
'price': ...,
'storagePerMonthInGb': 123,
'transferPerMonthInGb': 123,
'isActive': True|False
},
]
}
Response Structure
An object that describes bucket bundles.
Describes the specifications of a bundle that can be applied to an Amazon Lightsail bucket.
A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.
The ID of the bundle.
The name of the bundle.
The monthly price of the bundle, in US dollars.
The storage size of the bundle, in GB.
The monthly network transfer quota of the bundle.
Indicates whether the bundle is active. Use for a new or existing bucket.
Exceptions
Lightsail.Client.exceptions.AccessDeniedException
Lightsail.Client.exceptions.InvalidInputException
Lightsail.Client.exceptions.ServiceException
Lightsail.Client.exceptions.UnauthenticatedException