Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DateArrayOptions = DateArrayOptions' {}
- newDateArrayOptions :: DateArrayOptions
- dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text)
- dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text)
Documentation
data DateArrayOptions Source #
Options for a field that contains an array of dates. Present if
IndexFieldType
specifies the field is of type date-array
. All
options are enabled by default.
See: newDateArrayOptions
smart constructor.
DateArrayOptions' | |
|
Instances
newDateArrayOptions :: DateArrayOptions Source #
Create a value of DateArrayOptions
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:sourceFields:DateArrayOptions'
, dateArrayOptions_sourceFields
- A list of source fields to map to the field.
$sel:returnEnabled:DateArrayOptions'
, dateArrayOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:facetEnabled:DateArrayOptions'
, dateArrayOptions_facetEnabled
- Whether facet information can be returned for the field.
$sel:searchEnabled:DateArrayOptions'
, dateArrayOptions_searchEnabled
- Whether the contents of the field are searchable.
$sel:defaultValue:DateArrayOptions'
, dateArrayOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text) Source #
A list of source fields to map to the field.
dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.