OpenSearchService / Client / update_application

update_application#

OpenSearchService.Client.update_application(**kwargs)#

Update the OpenSearch Application.

See also: AWS API Documentation

Request Syntax

response = client.update_application(
    id='string',
    dataSources=[
        {
            'dataSourceArn': 'string',
            'dataSourceDescription': 'string'
        },
    ],
    appConfigs=[
        {
            'key': 'opensearchDashboards.dashboardAdmin.users'|'opensearchDashboards.dashboardAdmin.groups',
            'value': 'string'
        },
    ]
)
Parameters:
  • id (string) –

    [REQUIRED]

    Unique identifier of the OpenSearch Application to be updated.

  • dataSources (list) –

    Data sources to be associated with the OpenSearch Application.

    • (dict) –

      Data sources that are associated with an OpenSearch Application.

      • dataSourceArn (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.

      • dataSourceDescription (string) –

        Detailed description of a data source.

  • appConfigs (list) –

    Configurations to be changed for the OpenSearch Application.

    • (dict) –

      Configurations of the OpenSearch Application.

      • key (string) –

        Specify the item to configure, such as admin role for the OpenSearch Application.

      • value (string) –

        Specifies the value to configure for the key, such as an IAM user ARN.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'arn': 'string',
    'dataSources': [
        {
            'dataSourceArn': 'string',
            'dataSourceDescription': 'string'
        },
    ],
    'iamIdentityCenterOptions': {
        'enabled': True|False,
        'iamIdentityCenterInstanceArn': 'string',
        'iamRoleForIdentityCenterApplicationArn': 'string',
        'iamIdentityCenterApplicationArn': 'string'
    },
    'appConfigs': [
        {
            'key': 'opensearchDashboards.dashboardAdmin.users'|'opensearchDashboards.dashboardAdmin.groups',
            'value': 'string'
        },
    ],
    'createdAt': datetime(2015, 1, 1),
    'lastUpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • id (string) –

      Unique identifier of the updated OpenSearch Application.

    • name (string) –

      Name of the updated OpenSearch Application.

    • arn (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.

    • dataSources (list) –

      Data sources associated with the updated OpenSearch Application.

      • (dict) –

        Data sources that are associated with an OpenSearch Application.

        • dataSourceArn (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.

        • dataSourceDescription (string) –

          Detailed description of a data source.

    • iamIdentityCenterOptions (dict) –

      IAM Identity Center settings for the updated OpenSearch Application.

      • enabled (boolean) –

        IAM Identity Center is enabled for the OpenSearch Application.

      • iamIdentityCenterInstanceArn (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.

      • iamRoleForIdentityCenterApplicationArn (string) –

        Amazon Resource Name of the IAM Identity Center’s Application created for the OpenSearch Application after enabling IAM Identity Center.

      • iamIdentityCenterApplicationArn (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.

    • appConfigs (list) –

      Configurations for the updated OpenSearch Application.

      • (dict) –

        Configurations of the OpenSearch Application.

        • key (string) –

          Specify the item to configure, such as admin role for the OpenSearch Application.

        • value (string) –

          Specifies the value to configure for the key, such as an IAM user ARN.

    • createdAt (datetime) –

      Timestamp at which the OpenSearch Application was created.

    • lastUpdatedAt (datetime) –

      Timestamp at which the OpenSearch Application was last updated.

Exceptions