:doc:`Lightsail <../../lightsail>` / Client / get_distribution_bundles

************************
get_distribution_bundles
************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionBundles>`_  


  **Request Syntax**
  ::

    response = client.get_distribution_bundles()
    
    
  
  :rtype: 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**
  
  *   :py:class:`Lightsail.Client.exceptions.ServiceException`

  
  *   :py:class:`Lightsail.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Lightsail.Client.exceptions.NotFoundException`

  
  *   :py:class:`Lightsail.Client.exceptions.OperationFailureException`

  
  *   :py:class:`Lightsail.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Lightsail.Client.exceptions.UnauthenticatedException`

  