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.Types.DocumentAttribute

Description

 
Synopsis

Documentation

data DocumentAttribute Source #

A document attribute or metadata field. To create custom document attributes, see Custom attributes.

See: newDocumentAttribute smart constructor.

Constructors

DocumentAttribute' 

Fields

Instances

Instances details
FromJSON DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

ToJSON DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

Generic DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

Associated Types

type Rep DocumentAttribute :: Type -> Type #

Read DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

Show DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

NFData DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

Methods

rnf :: DocumentAttribute -> () #

Eq DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

Hashable DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

type Rep DocumentAttribute Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentAttribute

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

newDocumentAttribute Source #

Create a value of DocumentAttribute 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:key:DocumentAttribute', documentAttribute_key - The identifier for the attribute.

$sel:value:DocumentAttribute', documentAttribute_value - The value of the attribute.

documentAttribute_key :: Lens' DocumentAttribute Text Source #

The identifier for the attribute.