Skip to content

Update Account Settings

opensearchserviceserverless_update_account_settings R Documentation

Update the OpenSearch Serverless settings for the current Amazon Web Services account

Description

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

Usage

opensearchserviceserverless_update_account_settings(capacityLimits)

Arguments

capacityLimits

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

Value

A list with the following syntax:

list(
  accountSettingsDetail = list(
    capacityLimits = list(
      maxIndexingCapacityInOCU = 123,
      maxSearchCapacityInOCU = 123
    )
  )
)

Request syntax

svc$update_account_settings(
  capacityLimits = list(
    maxIndexingCapacityInOCU = 123,
    maxSearchCapacityInOCU = 123
  )
)