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.CreateExperience

Description

Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code.

Synopsis

Creating a Request

data CreateExperience Source #

See: newCreateExperience smart constructor.

Constructors

CreateExperience' 

Fields

  • clientToken :: Maybe Text

    A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience API with the same client token creates only one Amazon Kendra experience.

  • configuration :: Maybe ExperienceConfiguration

    Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

  • description :: Maybe Text

    A description for your Amazon Kendra experience.

  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.

  • name :: Text

    A name for your Amazon Kendra experience.

  • indexId :: Text

    The identifier of the index for your Amazon Kendra experience.

Instances

Instances details
ToJSON CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

ToHeaders CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

ToPath CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

ToQuery CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

AWSRequest CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Associated Types

type AWSResponse CreateExperience #

Generic CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Associated Types

type Rep CreateExperience :: Type -> Type #

Read CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Show CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

NFData CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Methods

rnf :: CreateExperience -> () #

Eq CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Hashable CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

type AWSResponse CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

type Rep CreateExperience Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

newCreateExperience Source #

Create a value of CreateExperience 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:

$sel:clientToken:CreateExperience', createExperience_clientToken - A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience API with the same client token creates only one Amazon Kendra experience.

$sel:configuration:CreateExperience', createExperience_configuration - Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

$sel:description:CreateExperience', createExperience_description - A description for your Amazon Kendra experience.

CreateExperience, createExperience_roleArn - The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.

CreateExperience, createExperience_name - A name for your Amazon Kendra experience.

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

Request Lenses

createExperience_clientToken :: Lens' CreateExperience (Maybe Text) Source #

A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience API with the same client token creates only one Amazon Kendra experience.

createExperience_configuration :: Lens' CreateExperience (Maybe ExperienceConfiguration) Source #

Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

createExperience_description :: Lens' CreateExperience (Maybe Text) Source #

A description for your Amazon Kendra experience.

createExperience_roleArn :: Lens' CreateExperience (Maybe Text) Source #

The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your user and group information. For more information, see IAM roles for Amazon Kendra.

createExperience_name :: Lens' CreateExperience Text Source #

A name for your Amazon Kendra experience.

createExperience_indexId :: Lens' CreateExperience Text Source #

The identifier of the index for your Amazon Kendra experience.

Destructuring the Response

data CreateExperienceResponse Source #

See: newCreateExperienceResponse smart constructor.

Constructors

CreateExperienceResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • id :: Text

    The identifier for your created Amazon Kendra experience.

Instances

Instances details
Generic CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Associated Types

type Rep CreateExperienceResponse :: Type -> Type #

Read CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Show CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

NFData CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

Eq CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

type Rep CreateExperienceResponse Source # 
Instance details

Defined in Amazonka.Kendra.CreateExperience

type Rep CreateExperienceResponse = D1 ('MetaData "CreateExperienceResponse" "Amazonka.Kendra.CreateExperience" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "CreateExperienceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateExperienceResponse Source #

Create a value of CreateExperienceResponse 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:

$sel:httpStatus:CreateExperienceResponse', createExperienceResponse_httpStatus - The response's http status code.

CreateExperienceResponse, createExperienceResponse_id - The identifier for your created Amazon Kendra experience.

Response Lenses

createExperienceResponse_id :: Lens' CreateExperienceResponse Text Source #

The identifier for your created Amazon Kendra experience.