:doc:`IoT <../../iot>` / Client / update_billing_group

********************
update_billing_group
********************



.. py:method:: IoT.Client.update_billing_group(**kwargs)

  

  Updates information about the billing group.

   

  Requires permission to access the `UpdateBillingGroup <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateBillingGroup>`_  


  **Request Syntax**
  ::

    response = client.update_billing_group(
        billingGroupName='string',
        billingGroupProperties={
            'billingGroupDescription': 'string'
        },
        expectedVersion=123
    )
    
  :type billingGroupName: string
  :param billingGroupName: **[REQUIRED]** 

    The name of the billing group.

    

  
  :type billingGroupProperties: dict
  :param billingGroupProperties: **[REQUIRED]** 

    The properties of the billing group.

    

  
    - **billingGroupDescription** *(string) --* 

      The description of the billing group.

      

    
  
  :type expectedVersion: integer
  :param expectedVersion: 

    The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the ``UpdateBillingGroup`` request is rejected with a ``VersionConflictException``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'version': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **version** *(integer) --* 

        The latest version of the billing group.

        
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.VersionConflictException`

  
  *   :py:class:`IoT.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoT.Client.exceptions.ResourceNotFoundException`

  