amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.ListExperiences

Description

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.

Synopsis

Creating a Request

data ListExperiences Source #

See: newListExperiences smart constructor.

Constructors

ListExperiences' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of returned Amazon Kendra experiences.

  • nextToken :: Maybe Text

    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.

  • indexId :: Text

    The identifier of the index for your Amazon Kendra experience.

Instances

Instances details
ToJSON ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

ToHeaders ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

ToPath ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

ToQuery ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

AWSRequest ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Associated Types

type AWSResponse ListExperiences #

Generic ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Associated Types

type Rep ListExperiences :: Type -> Type #

Read ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Show ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

NFData ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Methods

rnf :: ListExperiences -> () #

Eq ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Hashable ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

type AWSResponse ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

type Rep ListExperiences Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

type Rep ListExperiences = D1 ('MetaData "ListExperiences" "Amazonka.Kendra.ListExperiences" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListExperiences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListExperiences Source #

Create a value of ListExperiences with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListExperiences, listExperiences_maxResults - The maximum number of returned Amazon Kendra experiences.

ListExperiences, listExperiences_nextToken - 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.

$sel:indexId:ListExperiences', listExperiences_indexId - The identifier of the index for your Amazon Kendra experience.

Request Lenses

listExperiences_maxResults :: Lens' ListExperiences (Maybe Natural) Source #

The maximum number of returned Amazon Kendra experiences.

listExperiences_nextToken :: Lens' ListExperiences (Maybe Text) Source #

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.

listExperiences_indexId :: Lens' ListExperiences Text Source #

The identifier of the index for your Amazon Kendra experience.

Destructuring the Response

data ListExperiencesResponse Source #

See: newListExperiencesResponse smart constructor.

Constructors

ListExperiencesResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • summaryItems :: Maybe [ExperiencesSummary]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Associated Types

type Rep ListExperiencesResponse :: Type -> Type #

Read ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Show ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

NFData ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

Methods

rnf :: ListExperiencesResponse -> () #

Eq ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

type Rep ListExperiencesResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListExperiences

type Rep ListExperiencesResponse = D1 ('MetaData "ListExperiencesResponse" "Amazonka.Kendra.ListExperiences" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListExperiencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaryItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExperiencesSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListExperiencesResponse Source #

Create a value of ListExperiencesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListExperiences, listExperiencesResponse_nextToken - 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.

$sel:summaryItems:ListExperiencesResponse', listExperiencesResponse_summaryItems - An array of summary information for one or more Amazon Kendra experiences.

$sel:httpStatus:ListExperiencesResponse', listExperiencesResponse_httpStatus - The response's http status code.

Response Lenses

listExperiencesResponse_nextToken :: Lens' ListExperiencesResponse (Maybe Text) Source #

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.

listExperiencesResponse_summaryItems :: Lens' ListExperiencesResponse (Maybe [ExperiencesSummary]) Source #

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