Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_bucket_bundles

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
)
Parameters
includeInactive (boolean) -- A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
Return type
dict
Returns
Response Syntax
{
    'bundles': [
        {
            'bundleId': 'string',
            'name': 'string',
            'price': ...,
            'storagePerMonthInGb': 123,
            'transferPerMonthInGb': 123,
            'isActive': True|False
        },
    ]
}

Response Structure

  • (dict) --
    • bundles (list) --

      An object that describes bucket bundles.

      • (dict) --

        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.

        • bundleId (string) --

          The ID of the bundle.

        • name (string) --

          The name of the bundle.

        • price (float) --

          The monthly price of the bundle, in US dollars.

        • storagePerMonthInGb (integer) --

          The storage size of the bundle, in GB.

        • transferPerMonthInGb (integer) --

          The monthly network transfer quota of the bundle.

        • isActive (boolean) --

          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