v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Sets the default application to the application with the specified ARN.

To remove the default application, use the GetDefaultApplicationSetting operation to get the current default and then call the PutDefaultApplicationSetting with the current applications ARN and the setAsDefault parameter set to false.

put/2021-01-01/opensearch/defaultApplicationSetting

Request body

applicationArnstring required

The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.

setAsDefaultboolean required

Set to true to set the specified ARN as the default application. Set to false to clear the default application.

Response

Success

applicationArnstring

The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.