| 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.LiteralArrayOptions
Description
Synopsis
- data LiteralArrayOptions = LiteralArrayOptions' {}
- newLiteralArrayOptions :: LiteralArrayOptions
- literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text)
- literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text)
Documentation
data LiteralArrayOptions Source #
Options for a field that contains an array of literal strings. Present
if IndexFieldType specifies the field is of type literal-array. All
options are enabled by default.
See: newLiteralArrayOptions smart constructor.
Constructors
| LiteralArrayOptions' | |
Fields
| |
Instances
newLiteralArrayOptions :: LiteralArrayOptions Source #
Create a value of LiteralArrayOptions 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:LiteralArrayOptions', literalArrayOptions_defaultValue - A value to use for the field if the field isn't specified for a
document.
$sel:facetEnabled:LiteralArrayOptions', literalArrayOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:LiteralArrayOptions', literalArrayOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$sel:searchEnabled:LiteralArrayOptions', literalArrayOptions_searchEnabled - Whether the contents of the field are searchable.
$sel:sourceFields:LiteralArrayOptions', literalArrayOptions_sourceFields - A list of source fields to map to the field.
literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.
literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text) Source #
A list of source fields to map to the field.