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 LiteralArrayOptions = LiteralArrayOptions' {}
- newLiteralArrayOptions :: LiteralArrayOptions
- literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text)
- literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
- literalArrayOptions_defaultValue :: 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.
LiteralArrayOptions' | |
|
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:sourceFields:LiteralArrayOptions'
, literalArrayOptions_sourceFields
- A list of source fields to map to the field.
$sel:returnEnabled:LiteralArrayOptions'
, literalArrayOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:facetEnabled:LiteralArrayOptions'
, literalArrayOptions_facetEnabled
- Whether facet information can be returned for the field.
$sel:searchEnabled:LiteralArrayOptions'
, literalArrayOptions_searchEnabled
- Whether the contents of the field are searchable.
$sel:defaultValue:LiteralArrayOptions'
, literalArrayOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text) Source #
A list of source fields to map to the field.
literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.