| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kendra.Types.DocumentAttributeValue
Description
Synopsis
- data DocumentAttributeValue = DocumentAttributeValue' {}
- newDocumentAttributeValue :: DocumentAttributeValue
- documentAttributeValue_dateValue :: Lens' DocumentAttributeValue (Maybe UTCTime)
- documentAttributeValue_longValue :: Lens' DocumentAttributeValue (Maybe Integer)
- documentAttributeValue_stringListValue :: Lens' DocumentAttributeValue (Maybe [Text])
- documentAttributeValue_stringValue :: Lens' DocumentAttributeValue (Maybe Text)
Documentation
data DocumentAttributeValue Source #
The value of a document attribute. You can only provide one value for a document attribute.
See: newDocumentAttributeValue smart constructor.
Constructors
| DocumentAttributeValue' | |
Fields
| |
Instances
newDocumentAttributeValue :: DocumentAttributeValue Source #
Create a value of DocumentAttributeValue 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:dateValue:DocumentAttributeValue', documentAttributeValue_dateValue - A date expressed as an ISO 8601 string.
It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
$sel:longValue:DocumentAttributeValue', documentAttributeValue_longValue - A long integer value.
$sel:stringListValue:DocumentAttributeValue', documentAttributeValue_stringListValue - A list of strings. The default maximum length or number of strings is
10.
$sel:stringValue:DocumentAttributeValue', documentAttributeValue_stringValue - A string, such as "department".
documentAttributeValue_dateValue :: Lens' DocumentAttributeValue (Maybe UTCTime) Source #
A date expressed as an ISO 8601 string.
It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
documentAttributeValue_longValue :: Lens' DocumentAttributeValue (Maybe Integer) Source #
A long integer value.
documentAttributeValue_stringListValue :: Lens' DocumentAttributeValue (Maybe [Text]) Source #
A list of strings. The default maximum length or number of strings is 10.
documentAttributeValue_stringValue :: Lens' DocumentAttributeValue (Maybe Text) Source #
A string, such as "department".