QuickSight / Client / update_spice_capacity_configuration

update_spice_capacity_configuration#

QuickSight.Client.update_spice_capacity_configuration(**kwargs)#

Updates the SPICE capacity configuration for a Amazon QuickSight account.

See also: AWS API Documentation

Request Syntax

response = client.update_spice_capacity_configuration(
    AwsAccountId='string',
    PurchaseMode='MANUAL'|'AUTO_PURCHASE'
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

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

  • PurchaseMode (string) –

    [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.

Return type:

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

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.InternalFailureException