OpenSearchService / Client / list_applications

list_applications#

OpenSearchService.Client.list_applications(**kwargs)#

List all OpenSearch Applications under your account.

See also: AWS API Documentation

Request Syntax

response = client.list_applications(
    nextToken='string',
    statuses=[
        'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED',
    ],
    maxResults=123
)
Parameters:
  • nextToken (string) – When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

  • statuses (list) –

    OpenSearch Application Status can be used as filters for the listing request. Possible values are CREATING, UPDATING, DELETING, FAILED, ACTIVE, and DELETED.

    • (string) –

  • maxResults (integer) – An optional parameter that specifies the maximum number of results to return for a given request.

Return type:

dict

Returns:

Response Syntax

{
    'ApplicationSummaries': [
        {
            'id': 'string',
            'arn': 'string',
            'name': 'string',
            'endpoint': 'string',
            'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED',
            'createdAt': datetime(2015, 1, 1),
            'lastUpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • ApplicationSummaries (list) –

      Summary of the OpenSearch Applications, including ID, ARN, name, endpoint, status, create time and last update time.

      • (dict) –

        Basic information of the OpenSearch Application.

        • id (string) –

          Unique identifier for an 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.

        • name (string) –

          Name of an OpenSearch Application.

        • endpoint (string) –

          Endpoint URL of an OpenSearch Application.

        • status (string) –

          Status of an OpenSearch Application. Possible values are CREATING, UPDATING, `` DELETING``, FAILED, ACTIVE, and DELETED.

        • createdAt (datetime) –

          Timestamp at which an OpenSearch Application was created.

        • lastUpdatedAt (datetime) –

          Timestamp at which an OpenSearch Application was last updated.

    • nextToken (string) –

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

Exceptions

  • OpenSearchService.Client.exceptions.BaseException

  • OpenSearchService.Client.exceptions.ResourceNotFoundException

  • OpenSearchService.Client.exceptions.ValidationException

  • OpenSearchService.Client.exceptions.AccessDeniedException

  • OpenSearchService.Client.exceptions.InternalException

  • OpenSearchService.Client.exceptions.DisabledOperationException