OpenSearchServiceServerless.Client.
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
}
)
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.
The maximum indexing capacity for collections.
The maximum search capacity for collections.
{
'accountSettingsDetail': {
'capacityLimits': {
'maxIndexingCapacityInOCU': 123,
'maxSearchCapacityInOCU': 123
}
}
}
Response Structure
OpenSearch Serverless-related settings for the current Amazon Web Services account.
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.
The maximum indexing capacity for collections.
The maximum search capacity for collections.
Exceptions
OpenSearchServiceServerless.Client.exceptions.InternalServerException
OpenSearchServiceServerless.Client.exceptions.ValidationException