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 DateOptions = DateOptions' {}
- newDateOptions :: DateOptions
- dateOptions_sourceField :: Lens' DateOptions (Maybe Text)
- dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool)
- dateOptions_defaultValue :: 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.
DateOptions' | |
|
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:sourceField:DateOptions'
, dateOptions_sourceField
- Undocumented member.
$sel:returnEnabled:DateOptions'
, dateOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:facetEnabled:DateOptions'
, dateOptions_facetEnabled
- Whether facet information can be returned for the field.
$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:defaultValue:DateOptions'
, dateOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
dateOptions_sourceField :: Lens' DateOptions (Maybe Text) Source #
Undocumented member.
dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
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_defaultValue :: Lens' DateOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.