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

******************
get_bucket_bundles
******************



.. py:method:: 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 <https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html>`__ action to update the bundle for a bucket.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketBundles>`_  


  **Request Syntax**
  ::

    response = client.get_bucket_bundles(
        includeInactive=True|False
    )
    
  :type includeInactive: boolean
  :param includeInactive: 

    A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Lightsail.Client.exceptions.AccessDeniedException`

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

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

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

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

  