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

Description

Gets information about an FAQ list.

Synopsis

Creating a Request

data DescribeFaq Source #

See: newDescribeFaq smart constructor.

Constructors

DescribeFaq' 

Fields

  • id :: Text

    The identifier of the FAQ you want to get information on.

  • indexId :: Text

    The identifier of the index for the FAQ.

Instances

Instances details
ToJSON DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

ToHeaders DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Methods

toHeaders :: DescribeFaq -> [Header] #

ToPath DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

ToQuery DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

AWSRequest DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Associated Types

type AWSResponse DescribeFaq #

Generic DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Associated Types

type Rep DescribeFaq :: Type -> Type #

Read DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Show DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

NFData DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Methods

rnf :: DescribeFaq -> () #

Eq DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Hashable DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

type AWSResponse DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

type Rep DescribeFaq Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

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

newDescribeFaq Source #

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

DescribeFaq, describeFaq_id - The identifier of the FAQ you want to get information on.

DescribeFaq, describeFaq_indexId - The identifier of the index for the FAQ.

Request Lenses

describeFaq_id :: Lens' DescribeFaq Text Source #

The identifier of the FAQ you want to get information on.

describeFaq_indexId :: Lens' DescribeFaq Text Source #

The identifier of the index for the FAQ.

Destructuring the Response

data DescribeFaqResponse Source #

See: newDescribeFaqResponse smart constructor.

Constructors

DescribeFaqResponse' 

Fields

Instances

Instances details
Generic DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Associated Types

type Rep DescribeFaqResponse :: Type -> Type #

Read DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Show DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

NFData DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

Methods

rnf :: DescribeFaqResponse -> () #

Eq DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

type Rep DescribeFaqResponse Source # 
Instance details

Defined in Amazonka.Kendra.DescribeFaq

type Rep DescribeFaqResponse = D1 ('MetaData "DescribeFaqResponse" "Amazonka.Kendra.DescribeFaq" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DescribeFaqResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "fileFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FaqFileFormat)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "s3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Path)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FaqStatus))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeFaqResponse Source #

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

DescribeFaqResponse, describeFaqResponse_createdAt - The date and time that the FAQ was created.

$sel:description:DescribeFaqResponse', describeFaqResponse_description - The description of the FAQ that you provided when it was created.

DescribeFaqResponse, describeFaqResponse_errorMessage - If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.

DescribeFaqResponse, describeFaqResponse_fileFormat - The file format used by the input files for the FAQ.

DescribeFaq, describeFaqResponse_id - The identifier of the FAQ.

DescribeFaq, describeFaqResponse_indexId - The identifier of the index for the FAQ.

DescribeFaqResponse, describeFaqResponse_languageCode - The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

DescribeFaqResponse, describeFaqResponse_name - The name that you gave the FAQ when it was created.

DescribeFaqResponse, describeFaqResponse_roleArn - The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.

DescribeFaqResponse, describeFaqResponse_s3Path - Undocumented member.

DescribeFaqResponse, describeFaqResponse_status - The status of the FAQ. It is ready to use when the status is ACTIVE.

DescribeFaqResponse, describeFaqResponse_updatedAt - The date and time that the FAQ was last updated.

$sel:httpStatus:DescribeFaqResponse', describeFaqResponse_httpStatus - The response's http status code.

Response Lenses

describeFaqResponse_createdAt :: Lens' DescribeFaqResponse (Maybe UTCTime) Source #

The date and time that the FAQ was created.

describeFaqResponse_description :: Lens' DescribeFaqResponse (Maybe Text) Source #

The description of the FAQ that you provided when it was created.

describeFaqResponse_errorMessage :: Lens' DescribeFaqResponse (Maybe Text) Source #

If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.

describeFaqResponse_fileFormat :: Lens' DescribeFaqResponse (Maybe FaqFileFormat) Source #

The file format used by the input files for the FAQ.

describeFaqResponse_indexId :: Lens' DescribeFaqResponse (Maybe Text) Source #

The identifier of the index for the FAQ.

describeFaqResponse_languageCode :: Lens' DescribeFaqResponse (Maybe Text) Source #

The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

describeFaqResponse_name :: Lens' DescribeFaqResponse (Maybe Text) Source #

The name that you gave the FAQ when it was created.

describeFaqResponse_roleArn :: Lens' DescribeFaqResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.

describeFaqResponse_status :: Lens' DescribeFaqResponse (Maybe FaqStatus) Source #

The status of the FAQ. It is ready to use when the status is ACTIVE.

describeFaqResponse_updatedAt :: Lens' DescribeFaqResponse (Maybe UTCTime) Source #

The date and time that the FAQ was last updated.