Skip to main content

account_settings

Creates, updates, deletes, gets or lists an account_settings resource.

Overview

Nameaccount_settings
TypeResource
Idaws.opensearchserverless.account_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
capacity_limitsobjectThe 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 Managing capacity limits for Amazon OpenSearch Serverless.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_account_settingsselectregionReturns account-level settings related to OpenSearch Serverless.
update_account_settingsupdateregionUpdate the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns account-level settings related to OpenSearch Serverless.

SELECT
capacity_limits
FROM aws.opensearchserverless.account_settings
WHERE region = '{{ region }}' -- required
;

UPDATE examples

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

UPDATE aws.opensearchserverless.account_settings
SET
capacityLimits = '{{ capacityLimits }}'
WHERE
region = '{{ region }}' --required
RETURNING
account_settings_detail;