get_distribution_bundles

get_distribution_bundles()

Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.

See also: AWS API Documentation

Request Syntax

response = client.get_distribution_bundles()
Return type
dict
Returns
Response Syntax
{
    'bundles': [
        {
            'bundleId': 'string',
            'name': 'string',
            'price': ...,
            'transferPerMonthInGb': 123,
            'isActive': True|False
        },
    ]
}

Response Structure

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

      An object that describes a distribution bundle.

      • (dict) --

        Describes the specifications of a distribution bundle.

        • bundleId (string) --

          The ID of the bundle.

        • name (string) --

          The name of the distribution bundle.

        • price (float) --

          The monthly price, in US dollars, of the bundle.

        • transferPerMonthInGb (integer) --

          The monthly network transfer quota of the bundle.

        • isActive (boolean) --

          Indicates whether the bundle is active, and can be specified for a new or existing distribution.

Exceptions

  • Lightsail.Client.exceptions.ServiceException
  • Lightsail.Client.exceptions.InvalidInputException
  • Lightsail.Client.exceptions.NotFoundException
  • Lightsail.Client.exceptions.OperationFailureException
  • Lightsail.Client.exceptions.AccessDeniedException
  • Lightsail.Client.exceptions.UnauthenticatedException