:doc:`QuickSight <../../quicksight>` / Client / update_spice_capacity_configuration

***********************************
update_spice_capacity_configuration
***********************************



.. py:method:: QuickSight.Client.update_spice_capacity_configuration(**kwargs)

  

  Updates the SPICE capacity configuration for a Quick Sight account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateSPICECapacityConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_spice_capacity_configuration(
        AwsAccountId='string',
        PurchaseMode='MANUAL'|'AUTO_PURCHASE'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the SPICE configuration that you want to update.

    

  
  :type PurchaseMode: string
  :param PurchaseMode: **[REQUIRED]** 

    Determines how SPICE capacity can be purchased. The following options are available.

     

    
    * ``MANUAL``: SPICE capacity can only be purchased manually.
     
    * ``AUTO_PURCHASE``: Extra SPICE capacity is automatically purchased on your behalf as needed. SPICE capacity can also be purchased manually with this option.
    

    

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

    
    ::

      {
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

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

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

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

  