Amazon OpenSearch Service

2025/11/07 - Amazon OpenSearch Service - 2 new api methods

Changes  This release introduces the Default Application feature, allowing users to set, change, or unset a preferred OpenSearch UI application on a per-region basis for a streamlined and consistent user experience.

PutDefaultApplicationSetting (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.put_default_application_setting(
    applicationArn='string',
    setAsDefault=True|False
)
type applicationArn:

string

param applicationArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.

type setAsDefault:

boolean

param setAsDefault:

[REQUIRED]

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

rtype:

dict

returns:

Response Syntax

{
    'applicationArn': 'string'
}

Response Structure

  • (dict) --

    • applicationArn (string) --

      The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.

GetDefaultApplicationSetting (new) Link ¶

Gets the ARN of the current default application.

If the default application isn't set, the operation returns a resource not found error.

See also: AWS API Documentation

Request Syntax

client.get_default_application_setting()
rtype:

dict

returns:

Response Syntax

{
    'applicationArn': 'string'
}

Response Structure

  • (dict) --

    • applicationArn (string) --

      The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.