| 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.DateOptions
Description
Synopsis
- data DateOptions = DateOptions' {}
- newDateOptions :: DateOptions
- dateOptions_defaultValue :: Lens' DateOptions (Maybe Text)
- dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_sourceField :: Lens' DateOptions (Maybe Text)
Documentation
data DateOptions Source #
Options for a date field. Dates and times are specified in UTC
(Coordinated Universal Time) according to IETF RFC3339:
yyyy-mm-ddT00:00:00Z. Present if IndexFieldType specifies the field is
of type date. All options are enabled by default.
See: newDateOptions smart constructor.
Constructors
| DateOptions' | |
Fields
| |
Instances
newDateOptions :: DateOptions Source #
Create a value of DateOptions 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:DateOptions', dateOptions_defaultValue - A value to use for the field if the field isn't specified for a
document.
$sel:facetEnabled:DateOptions', dateOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:DateOptions', dateOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$sel:searchEnabled:DateOptions', dateOptions_searchEnabled - Whether the contents of the field are searchable.
$sel:sortEnabled:DateOptions', dateOptions_sortEnabled - Whether the field can be used to sort the search results.
$sel:sourceField:DateOptions', dateOptions_sourceField - Undocumented member.
dateOptions_defaultValue :: Lens' DateOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.
dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
dateOptions_sourceField :: Lens' DateOptions (Maybe Text) Source #
Undocumented member.