update_account_settings

update_account_settings(**kwargs)

Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Autoscaling.

See also: AWS API Documentation

Request Syntax

response = client.update_account_settings(
    capacityLimits={
        'maxIndexingCapacityInOCU': 123,
        'maxSearchCapacityInOCU': 123
    }
)
Parameters
capacityLimits (dict) --

The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Autoscaling.

  • maxIndexingCapacityInOCU (integer) --

    The maximum indexing capacity for collections.

  • maxSearchCapacityInOCU (integer) --

    The maximum search capacity for collections.

Return type
dict
Returns
Response Syntax
{
    'accountSettingsDetail': {
        'capacityLimits': {
            'maxIndexingCapacityInOCU': 123,
            'maxSearchCapacityInOCU': 123
        }
    }
}

Response Structure

  • (dict) --
    • accountSettingsDetail (dict) --

      OpenSearch Serverless-related settings for the current Amazon Web Services account.

      • capacityLimits (dict) --

        The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units (OCUs). These limits are used to scale your collections based on the current workload. For more information, see Autoscaling.

        • maxIndexingCapacityInOCU (integer) --

          The maximum indexing capacity for collections.

        • maxSearchCapacityInOCU (integer) --

          The maximum search capacity for collections.

Exceptions

  • OpenSearchServiceServerless.Client.exceptions.InternalServerException
  • OpenSearchServiceServerless.Client.exceptions.ValidationException