Lightsail.Client.
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()
{
'bundles': [
{
'bundleId': 'string',
'name': 'string',
'price': ...,
'transferPerMonthInGb': 123,
'isActive': True|False
},
]
}
Response Structure
An object that describes a distribution bundle.
Describes the specifications of a distribution bundle.
The ID of the bundle.
The name of the distribution bundle.
The monthly price, in US dollars, of the bundle.
The monthly network transfer quota of the bundle.
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