kendra / Client / list_experiences

list_experiences#

kendra.Client.list_experiences(**kwargs)#

Lists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

See also: AWS API Documentation

Request Syntax

response = client.list_experiences(
    IndexId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • IndexId (string) –

    [REQUIRED]

    The identifier of the index for your Amazon Kendra experience.

  • NextToken (string) – If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Kendra experiences.

  • MaxResults (integer) – The maximum number of returned Amazon Kendra experiences.

Return type:

dict

Returns:

Response Syntax

{
    'SummaryItems': [
        {
            'Name': 'string',
            'Id': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'Status': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED',
            'Endpoints': [
                {
                    'EndpointType': 'HOME',
                    'Endpoint': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • SummaryItems (list) –

      An array of summary information for one or more Amazon Kendra experiences.

      • (dict) –

        Summary information for your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

        • Name (string) –

          The name of your Amazon Kendra experience.

        • Id (string) –

          The identifier of your Amazon Kendra experience.

        • CreatedAt (datetime) –

          The date-time your Amazon Kendra experience was created.

        • Status (string) –

          The processing status of your Amazon Kendra experience.

        • Endpoints (list) –

          The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.

          • (dict) –

            Provides the configuration information for the endpoint for your Amazon Kendra experience.

            • EndpointType (string) –

              The type of endpoint for your Amazon Kendra experience. The type currently available is HOME, which is a unique and fully hosted URL to the home page of your Amazon Kendra experience.

            • Endpoint (string) –

              The endpoint of your Amazon Kendra experience.

    • NextToken (string) –

      If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of Amazon Kendra experiences.

Exceptions

  • kendra.Client.exceptions.ValidationException

  • kendra.Client.exceptions.ResourceNotFoundException

  • kendra.Client.exceptions.AccessDeniedException

  • kendra.Client.exceptions.ThrottlingException

  • kendra.Client.exceptions.InternalServerException