| 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.CloudSearch.Types.DateArrayOptions
Description
Synopsis
- data DateArrayOptions = DateArrayOptions' {}
- newDateArrayOptions :: DateArrayOptions
- dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text)
- dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool)
- dateArrayOptions_sourceFields :: 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.
Constructors
| DateArrayOptions' | |
Fields
| |
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:defaultValue:DateArrayOptions', dateArrayOptions_defaultValue - A value to use for the field if the field isn't specified for a
document.
$sel:facetEnabled:DateArrayOptions', dateArrayOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:DateArrayOptions', dateArrayOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$sel:searchEnabled:DateArrayOptions', dateArrayOptions_searchEnabled - Whether the contents of the field are searchable.
$sel:sourceFields:DateArrayOptions', dateArrayOptions_sourceFields - A list of source fields to map to the field.
dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.
dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text) Source #
A list of source fields to map to the field.