-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudSearch SDK.
--
-- Derived from API version 2013-01-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.CloudSearch.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.CloudSearch and the AWS documentation to
-- get started.
@package amazonka-cloudsearch
@version 2.0
module Amazonka.CloudSearch.Types.AlgorithmicStemming
newtype AlgorithmicStemming
AlgorithmicStemming' :: Text -> AlgorithmicStemming
[fromAlgorithmicStemming] :: AlgorithmicStemming -> Text
pattern AlgorithmicStemming_Full :: AlgorithmicStemming
pattern AlgorithmicStemming_Light :: AlgorithmicStemming
pattern AlgorithmicStemming_Minimal :: AlgorithmicStemming
pattern AlgorithmicStemming_None :: AlgorithmicStemming
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance GHC.Read.Read Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
instance GHC.Show.Show Amazonka.CloudSearch.Types.AlgorithmicStemming.AlgorithmicStemming
module Amazonka.CloudSearch.Types.AnalysisOptions
-- | Synonyms, stopwords, and stemming options for an analysis scheme.
-- Includes tokenization dictionary for Japanese.
--
-- See: newAnalysisOptions smart constructor.
data AnalysisOptions
AnalysisOptions' :: Maybe AlgorithmicStemming -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AnalysisOptions
-- | The level of algorithmic stemming to perform: none,
-- minimal, light, or full. The available
-- levels vary depending on the language. For more information, see
-- Language Specific Text Processing Settings in the Amazon
-- CloudSearch Developer Guide
[$sel:algorithmicStemming:AnalysisOptions'] :: AnalysisOptions -> Maybe AlgorithmicStemming
-- | A JSON array that contains a collection of terms, tokens, readings and
-- part of speech for Japanese Tokenizaiton. The Japanese tokenization
-- dictionary enables you to override the default tokenization for
-- selected terms. This is only valid for Japanese language fields.
[$sel:japaneseTokenizationDictionary:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON object that contains a collection of string:value pairs that
-- each map a term to its stem. For example, {"term1": "stem1",
-- "term2": "stem2", "term3": "stem3"}. The stemming dictionary is
-- applied in addition to any algorithmic stemming. This enables you to
-- override the results of the algorithmic stemming to correct specific
-- cases of overstemming or understemming. The maximum size of a stemming
-- dictionary is 500 KB.
[$sel:stemmingDictionary:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON array of terms to ignore during indexing and searching. For
-- example, ["a", "an", "the", "of"]. The stopwords dictionary
-- must explicitly list each word you want to ignore. Wildcards and
-- regular expressions are not supported.
[$sel:stopwords:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON object that defines synonym groups and aliases. A synonym group
-- is an array of arrays, where each sub-array is a group of terms where
-- each term in the group is considered a synonym of every other term in
-- the group. The aliases value is an object that contains a collection
-- of string:value pairs where the string specifies a term and the array
-- of values specifies each of the aliases for that term. An alias is
-- considered a synonym of the specified term, but the term is not
-- considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
[$sel:synonyms:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | Create a value of AnalysisOptions 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:algorithmicStemming:AnalysisOptions',
-- analysisOptions_algorithmicStemming - The level of algorithmic
-- stemming to perform: none, minimal, light,
-- or full. The available levels vary depending on the language.
-- For more information, see Language Specific Text Processing
-- Settings in the Amazon CloudSearch Developer Guide
--
-- $sel:japaneseTokenizationDictionary:AnalysisOptions',
-- analysisOptions_japaneseTokenizationDictionary - A JSON array
-- that contains a collection of terms, tokens, readings and part of
-- speech for Japanese Tokenizaiton. The Japanese tokenization dictionary
-- enables you to override the default tokenization for selected terms.
-- This is only valid for Japanese language fields.
--
-- $sel:stemmingDictionary:AnalysisOptions',
-- analysisOptions_stemmingDictionary - A JSON object that
-- contains a collection of string:value pairs that each map a term to
-- its stem. For example, {"term1": "stem1", "term2": "stem2",
-- "term3": "stem3"}. The stemming dictionary is applied in addition
-- to any algorithmic stemming. This enables you to override the results
-- of the algorithmic stemming to correct specific cases of overstemming
-- or understemming. The maximum size of a stemming dictionary is 500 KB.
--
-- $sel:stopwords:AnalysisOptions',
-- analysisOptions_stopwords - A JSON array of terms to ignore
-- during indexing and searching. For example, ["a", "an", "the",
-- "of"]. The stopwords dictionary must explicitly list each word
-- you want to ignore. Wildcards and regular expressions are not
-- supported.
--
-- $sel:synonyms:AnalysisOptions', analysisOptions_synonyms
-- - A JSON object that defines synonym groups and aliases. A synonym
-- group is an array of arrays, where each sub-array is a group of terms
-- where each term in the group is considered a synonym of every other
-- term in the group. The aliases value is an object that contains a
-- collection of string:value pairs where the string specifies a term and
-- the array of values specifies each of the aliases for that term. An
-- alias is considered a synonym of the specified term, but the term is
-- not considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
newAnalysisOptions :: AnalysisOptions
-- | The level of algorithmic stemming to perform: none,
-- minimal, light, or full. The available
-- levels vary depending on the language. For more information, see
-- Language Specific Text Processing Settings in the Amazon
-- CloudSearch Developer Guide
analysisOptions_algorithmicStemming :: Lens' AnalysisOptions (Maybe AlgorithmicStemming)
-- | A JSON array that contains a collection of terms, tokens, readings and
-- part of speech for Japanese Tokenizaiton. The Japanese tokenization
-- dictionary enables you to override the default tokenization for
-- selected terms. This is only valid for Japanese language fields.
analysisOptions_japaneseTokenizationDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that contains a collection of string:value pairs that
-- each map a term to its stem. For example, {"term1": "stem1",
-- "term2": "stem2", "term3": "stem3"}. The stemming dictionary is
-- applied in addition to any algorithmic stemming. This enables you to
-- override the results of the algorithmic stemming to correct specific
-- cases of overstemming or understemming. The maximum size of a stemming
-- dictionary is 500 KB.
analysisOptions_stemmingDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON array of terms to ignore during indexing and searching. For
-- example, ["a", "an", "the", "of"]. The stopwords dictionary
-- must explicitly list each word you want to ignore. Wildcards and
-- regular expressions are not supported.
analysisOptions_stopwords :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that defines synonym groups and aliases. A synonym group
-- is an array of arrays, where each sub-array is a group of terms where
-- each term in the group is considered a synonym of every other term in
-- the group. The aliases value is an object that contains a collection
-- of string:value pairs where the string specifies a term and the array
-- of values specifies each of the aliases for that term. An alias is
-- considered a synonym of the specified term, but the term is not
-- considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
analysisOptions_synonyms :: Lens' AnalysisOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.AnalysisOptions.AnalysisOptions
module Amazonka.CloudSearch.Types.AnalysisSchemeLanguage
-- | An IETF RFC 4646 language code or mul for multiple
-- languages.
newtype AnalysisSchemeLanguage
AnalysisSchemeLanguage' :: Text -> AnalysisSchemeLanguage
[fromAnalysisSchemeLanguage] :: AnalysisSchemeLanguage -> Text
pattern AnalysisSchemeLanguage_Ar :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Bg :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ca :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Cs :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Da :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_De :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_El :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_En :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Es :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Eu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fa :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ga :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Gl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_He :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hy :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Id :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_It :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ja :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ko :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Lv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Mul :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Nl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_No :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Pt :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ro :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ru :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Sv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Th :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Tr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hans :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hant :: AnalysisSchemeLanguage
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance GHC.Read.Read Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
instance GHC.Show.Show Amazonka.CloudSearch.Types.AnalysisSchemeLanguage.AnalysisSchemeLanguage
module Amazonka.CloudSearch.Types.AnalysisScheme
-- | Configuration information for an analysis scheme. Each analysis scheme
-- has a unique name and specifies the language of the text to be
-- processed. The following options can be configured for an analysis
-- scheme: Synonyms, Stopwords,
-- StemmingDictionary, JapaneseTokenizationDictionary
-- and AlgorithmicStemming.
--
-- See: newAnalysisScheme smart constructor.
data AnalysisScheme
AnalysisScheme' :: Maybe AnalysisOptions -> Text -> AnalysisSchemeLanguage -> AnalysisScheme
[$sel:analysisOptions:AnalysisScheme'] :: AnalysisScheme -> Maybe AnalysisOptions
[$sel:analysisSchemeName:AnalysisScheme'] :: AnalysisScheme -> Text
[$sel:analysisSchemeLanguage:AnalysisScheme'] :: AnalysisScheme -> AnalysisSchemeLanguage
-- | Create a value of AnalysisScheme 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:analysisOptions:AnalysisScheme',
-- analysisScheme_analysisOptions - Undocumented member.
--
-- $sel:analysisSchemeName:AnalysisScheme',
-- analysisScheme_analysisSchemeName - Undocumented member.
--
-- $sel:analysisSchemeLanguage:AnalysisScheme',
-- analysisScheme_analysisSchemeLanguage - Undocumented member.
newAnalysisScheme :: Text -> AnalysisSchemeLanguage -> AnalysisScheme
-- | Undocumented member.
analysisScheme_analysisOptions :: Lens' AnalysisScheme (Maybe AnalysisOptions)
-- | Undocumented member.
analysisScheme_analysisSchemeName :: Lens' AnalysisScheme Text
-- | Undocumented member.
analysisScheme_analysisSchemeLanguage :: Lens' AnalysisScheme AnalysisSchemeLanguage
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance GHC.Show.Show Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance GHC.Read.Read Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.AnalysisScheme.AnalysisScheme
module Amazonka.CloudSearch.Types.DateArrayOptions
-- | 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.
data DateArrayOptions
DateArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DateArrayOptions'] :: DateArrayOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:DateArrayOptions'] :: DateArrayOptions -> Maybe Text
-- | 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.
newDateArrayOptions :: DateArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DateArrayOptions.DateArrayOptions
module Amazonka.CloudSearch.Types.DateOptions
-- | 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.
data DateOptions
DateOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DateOptions'] :: DateOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:DateOptions'] :: DateOptions -> Maybe Bool
[$sel:sourceField:DateOptions'] :: DateOptions -> Maybe Text
-- | 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.
newDateOptions :: DateOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
dateOptions_defaultValue :: Lens' DateOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool)
-- | Undocumented member.
dateOptions_sourceField :: Lens' DateOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DateOptions.DateOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DateOptions.DateOptions
module Amazonka.CloudSearch.Types.DoubleArrayOptions
-- | Options for a field that contains an array of double-precision 64-bit
-- floating point values. Present if IndexFieldType specifies
-- the field is of type double-array. All options are enabled by
-- default.
--
-- See: newDoubleArrayOptions smart constructor.
data DoubleArrayOptions
DoubleArrayOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Double
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Text
-- | Create a value of DoubleArrayOptions 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:DoubleArrayOptions',
-- doubleArrayOptions_defaultValue - A value to use for the field
-- if the field isn't specified for a document.
--
-- $sel:facetEnabled:DoubleArrayOptions',
-- doubleArrayOptions_facetEnabled - Whether facet information can
-- be returned for the field.
--
-- $sel:returnEnabled:DoubleArrayOptions',
-- doubleArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:DoubleArrayOptions',
-- doubleArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:DoubleArrayOptions',
-- doubleArrayOptions_sourceFields - A list of source fields to
-- map to the field.
newDoubleArrayOptions :: DoubleArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
doubleArrayOptions_defaultValue :: Lens' DoubleArrayOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleArrayOptions_facetEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleArrayOptions_returnEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleArrayOptions_searchEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
doubleArrayOptions_sourceFields :: Lens' DoubleArrayOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DoubleArrayOptions.DoubleArrayOptions
module Amazonka.CloudSearch.Types.DoubleOptions
-- | Options for a double-precision 64-bit floating point field. Present if
-- IndexFieldType specifies the field is of type
-- double. All options are enabled by default.
--
-- See: newDoubleOptions smart constructor.
data DoubleOptions
DoubleOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
[$sel:defaultValue:DoubleOptions'] :: DoubleOptions -> Maybe Double
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | The name of the source field to map to the field.
[$sel:sourceField:DoubleOptions'] :: DoubleOptions -> Maybe Text
-- | Create a value of DoubleOptions 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:DoubleOptions',
-- doubleOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document. This can be important if you
-- are using the field in an expression and that field is not present in
-- every document.
--
-- $sel:facetEnabled:DoubleOptions',
-- doubleOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:DoubleOptions',
-- doubleOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:DoubleOptions',
-- doubleOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:DoubleOptions',
-- doubleOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:DoubleOptions',
-- doubleOptions_sourceField - The name of the source field to map
-- to the field.
newDoubleOptions :: DoubleOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | The name of the source field to map to the field.
doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DoubleOptions.DoubleOptions
module Amazonka.CloudSearch.Types.Expression
-- | A named expression that can be evaluated at search time. Can be used
-- to sort the search results, define other expressions, or return
-- computed information in the search results.
--
-- See: newExpression smart constructor.
data Expression
Expression' :: Text -> Text -> Expression
[$sel:expressionName:Expression'] :: Expression -> Text
[$sel:expressionValue:Expression'] :: Expression -> Text
-- | Create a value of Expression 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:expressionName:Expression',
-- expression_expressionName - Undocumented member.
--
-- $sel:expressionValue:Expression',
-- expression_expressionValue - Undocumented member.
newExpression :: Text -> Text -> Expression
-- | Undocumented member.
expression_expressionName :: Lens' Expression Text
-- | Undocumented member.
expression_expressionValue :: Lens' Expression Text
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.Expression.Expression
instance GHC.Show.Show Amazonka.CloudSearch.Types.Expression.Expression
instance GHC.Read.Read Amazonka.CloudSearch.Types.Expression.Expression
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.Expression.Expression
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.Expression.Expression
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.Expression.Expression
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.Expression.Expression
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.Expression.Expression
module Amazonka.CloudSearch.Types.IndexFieldType
-- | The type of field. The valid options for a field depend on the field
-- type. For more information about the supported field types, see
-- Configuring Index Fields in the Amazon CloudSearch Developer
-- Guide.
newtype IndexFieldType
IndexFieldType' :: Text -> IndexFieldType
[fromIndexFieldType] :: IndexFieldType -> Text
pattern IndexFieldType_Date :: IndexFieldType
pattern IndexFieldType_Date_array :: IndexFieldType
pattern IndexFieldType_Double :: IndexFieldType
pattern IndexFieldType_Double_array :: IndexFieldType
pattern IndexFieldType_Int :: IndexFieldType
pattern IndexFieldType_Int_array :: IndexFieldType
pattern IndexFieldType_Latlon :: IndexFieldType
pattern IndexFieldType_Literal :: IndexFieldType
pattern IndexFieldType_Literal_array :: IndexFieldType
pattern IndexFieldType_Text :: IndexFieldType
pattern IndexFieldType_Text_array :: IndexFieldType
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance GHC.Read.Read Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
instance GHC.Show.Show Amazonka.CloudSearch.Types.IndexFieldType.IndexFieldType
module Amazonka.CloudSearch.Types.IntArrayOptions
-- | Options for a field that contains an array of 64-bit signed integers.
-- Present if IndexFieldType specifies the field is of type
-- int-array. All options are enabled by default.
--
-- See: newIntArrayOptions smart constructor.
data IntArrayOptions
IntArrayOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:IntArrayOptions'] :: IntArrayOptions -> Maybe Integer
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:IntArrayOptions'] :: IntArrayOptions -> Maybe Text
-- | Create a value of IntArrayOptions 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:IntArrayOptions',
-- intArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:IntArrayOptions',
-- intArrayOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:IntArrayOptions',
-- intArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:IntArrayOptions',
-- intArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:IntArrayOptions',
-- intArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newIntArrayOptions :: IntArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
intArrayOptions_defaultValue :: Lens' IntArrayOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intArrayOptions_facetEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intArrayOptions_returnEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intArrayOptions_searchEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
intArrayOptions_sourceFields :: Lens' IntArrayOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.IntArrayOptions.IntArrayOptions
module Amazonka.CloudSearch.Types.IntOptions
-- | Options for a 64-bit signed integer field. Present if
-- IndexFieldType specifies the field is of type int.
-- All options are enabled by default.
--
-- See: newIntOptions smart constructor.
data IntOptions
IntOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
[$sel:defaultValue:IntOptions'] :: IntOptions -> Maybe Integer
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | The name of the source field to map to the field.
[$sel:sourceField:IntOptions'] :: IntOptions -> Maybe Text
-- | Create a value of IntOptions 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:IntOptions', intOptions_defaultValue -
-- A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
--
-- $sel:facetEnabled:IntOptions', intOptions_facetEnabled -
-- Whether facet information can be returned for the field.
--
-- $sel:returnEnabled:IntOptions', intOptions_returnEnabled
-- - Whether the contents of the field can be returned in the search
-- results.
--
-- $sel:searchEnabled:IntOptions', intOptions_searchEnabled
-- - Whether the contents of the field are searchable.
--
-- $sel:sortEnabled:IntOptions', intOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:IntOptions', intOptions_sourceField -
-- The name of the source field to map to the field.
newIntOptions :: IntOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
intOptions_defaultValue :: Lens' IntOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intOptions_facetEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intOptions_returnEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intOptions_searchEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
intOptions_sortEnabled :: Lens' IntOptions (Maybe Bool)
-- | The name of the source field to map to the field.
intOptions_sourceField :: Lens' IntOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.IntOptions.IntOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.IntOptions.IntOptions
module Amazonka.CloudSearch.Types.LatLonOptions
-- | Options for a latlon field. A latlon field contains a location stored
-- as a latitude and longitude value pair. Present if
-- IndexFieldType specifies the field is of type
-- latlon. All options are enabled by default.
--
-- See: newLatLonOptions smart constructor.
data LatLonOptions
LatLonOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LatLonOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LatLonOptions'] :: LatLonOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
[$sel:sourceField:LatLonOptions'] :: LatLonOptions -> Maybe Text
-- | Create a value of LatLonOptions 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:LatLonOptions',
-- latLonOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LatLonOptions',
-- latLonOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LatLonOptions',
-- latLonOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:LatLonOptions',
-- latLonOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:LatLonOptions',
-- latLonOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LatLonOptions',
-- latLonOptions_sourceField - Undocumented member.
newLatLonOptions :: LatLonOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
latLonOptions_defaultValue :: Lens' LatLonOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
latLonOptions_facetEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
latLonOptions_returnEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
latLonOptions_searchEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
latLonOptions_sortEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Undocumented member.
latLonOptions_sourceField :: Lens' LatLonOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.LatLonOptions.LatLonOptions
module Amazonka.CloudSearch.Types.Limits
-- | See: newLimits smart constructor.
data Limits
Limits' :: Natural -> Natural -> Limits
[$sel:maximumReplicationCount:Limits'] :: Limits -> Natural
[$sel:maximumPartitionCount:Limits'] :: Limits -> Natural
-- | Create a value of Limits 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:maximumReplicationCount:Limits',
-- limits_maximumReplicationCount - Undocumented member.
--
-- $sel:maximumPartitionCount:Limits',
-- limits_maximumPartitionCount - Undocumented member.
newLimits :: Natural -> Natural -> Limits
-- | Undocumented member.
limits_maximumReplicationCount :: Lens' Limits Natural
-- | Undocumented member.
limits_maximumPartitionCount :: Lens' Limits Natural
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.Limits.Limits
instance GHC.Show.Show Amazonka.CloudSearch.Types.Limits.Limits
instance GHC.Read.Read Amazonka.CloudSearch.Types.Limits.Limits
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.Limits.Limits
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.Limits.Limits
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.Limits.Limits
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.Limits.Limits
module Amazonka.CloudSearch.Types.LiteralArrayOptions
-- | 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.
data LiteralArrayOptions
LiteralArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Text
-- | 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.
newLiteralArrayOptions :: LiteralArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.LiteralArrayOptions.LiteralArrayOptions
module Amazonka.CloudSearch.Types.LiteralOptions
-- | Options for literal field. Present if IndexFieldType
-- specifies the field is of type literal. All options are
-- enabled by default.
--
-- See: newLiteralOptions smart constructor.
data LiteralOptions
LiteralOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LiteralOptions'] :: LiteralOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
[$sel:sourceField:LiteralOptions'] :: LiteralOptions -> Maybe Text
-- | Create a value of LiteralOptions 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:LiteralOptions',
-- literalOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LiteralOptions',
-- literalOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LiteralOptions',
-- literalOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:LiteralOptions',
-- literalOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sortEnabled:LiteralOptions',
-- literalOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LiteralOptions',
-- literalOptions_sourceField - Undocumented member.
newLiteralOptions :: LiteralOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Undocumented member.
literalOptions_sourceField :: Lens' LiteralOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.LiteralOptions.LiteralOptions
module Amazonka.CloudSearch.Types.OptionState
-- | The state of processing a change to an option. One of:
--
--
-- - RequiresIndexDocuments: The option's latest value will not be
-- deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: The option's latest value is in the process of being
-- activated.
-- - Active: The option's latest value is fully deployed.
-- - FailedToValidate: The option value is not compatible with the
-- domain's data and cannot be used to index the data. You must either
-- modify the option value or update or remove the incompatible
-- documents.
--
newtype OptionState
OptionState' :: Text -> OptionState
[fromOptionState] :: OptionState -> Text
pattern OptionState_Active :: OptionState
pattern OptionState_FailedToValidate :: OptionState
pattern OptionState_Processing :: OptionState
pattern OptionState_RequiresIndexDocuments :: OptionState
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.OptionState.OptionState
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.OptionState.OptionState
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.OptionState.OptionState
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.OptionState.OptionState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.OptionState.OptionState
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.OptionState.OptionState
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.OptionState.OptionState
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.OptionState.OptionState
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.OptionState.OptionState
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.OptionState.OptionState
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.OptionState.OptionState
instance GHC.Read.Read Amazonka.CloudSearch.Types.OptionState.OptionState
instance GHC.Show.Show Amazonka.CloudSearch.Types.OptionState.OptionState
module Amazonka.CloudSearch.Types.OptionStatus
-- | The status of domain configuration option.
--
-- See: newOptionStatus smart constructor.
data OptionStatus
OptionStatus' :: Maybe Bool -> Maybe Natural -> ISO8601 -> ISO8601 -> OptionState -> OptionStatus
-- | Indicates that the option will be deleted once processing is complete.
[$sel:pendingDeletion:OptionStatus'] :: OptionStatus -> Maybe Bool
-- | A unique integer that indicates when this option was last updated.
[$sel:updateVersion:OptionStatus'] :: OptionStatus -> Maybe Natural
-- | A timestamp for when this option was created.
[$sel:creationDate:OptionStatus'] :: OptionStatus -> ISO8601
-- | A timestamp for when this option was last updated.
[$sel:updateDate:OptionStatus'] :: OptionStatus -> ISO8601
-- | The state of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
[$sel:state:OptionStatus'] :: OptionStatus -> OptionState
-- | Create a value of OptionStatus 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:pendingDeletion:OptionStatus',
-- optionStatus_pendingDeletion - Indicates that the option will
-- be deleted once processing is complete.
--
-- $sel:updateVersion:OptionStatus',
-- optionStatus_updateVersion - A unique integer that indicates
-- when this option was last updated.
--
-- $sel:creationDate:OptionStatus',
-- optionStatus_creationDate - A timestamp for when this option
-- was created.
--
-- $sel:updateDate:OptionStatus', optionStatus_updateDate -
-- A timestamp for when this option was last updated.
--
-- $sel:state:OptionStatus', optionStatus_state - The state
-- of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
newOptionStatus :: UTCTime -> UTCTime -> OptionState -> OptionStatus
-- | Indicates that the option will be deleted once processing is complete.
optionStatus_pendingDeletion :: Lens' OptionStatus (Maybe Bool)
-- | A unique integer that indicates when this option was last updated.
optionStatus_updateVersion :: Lens' OptionStatus (Maybe Natural)
-- | A timestamp for when this option was created.
optionStatus_creationDate :: Lens' OptionStatus UTCTime
-- | A timestamp for when this option was last updated.
optionStatus_updateDate :: Lens' OptionStatus UTCTime
-- | The state of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
optionStatus_state :: Lens' OptionStatus OptionState
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.OptionStatus.OptionStatus
module Amazonka.CloudSearch.Types.ExpressionStatus
-- | The value of an Expression and its current status.
--
-- See: newExpressionStatus smart constructor.
data ExpressionStatus
ExpressionStatus' :: Expression -> OptionStatus -> ExpressionStatus
-- | The expression that is evaluated for sorting while processing a search
-- request.
[$sel:options:ExpressionStatus'] :: ExpressionStatus -> Expression
[$sel:status:ExpressionStatus'] :: ExpressionStatus -> OptionStatus
-- | Create a value of ExpressionStatus 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:options:ExpressionStatus', expressionStatus_options
-- - The expression that is evaluated for sorting while processing a
-- search request.
--
-- $sel:status:ExpressionStatus', expressionStatus_status -
-- Undocumented member.
newExpressionStatus :: Expression -> OptionStatus -> ExpressionStatus
-- | The expression that is evaluated for sorting while processing a search
-- request.
expressionStatus_options :: Lens' ExpressionStatus Expression
-- | Undocumented member.
expressionStatus_status :: Lens' ExpressionStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.ExpressionStatus.ExpressionStatus
module Amazonka.CloudSearch.Types.AvailabilityOptionsStatus
-- | The status and configuration of the domain's availability options.
--
-- See: newAvailabilityOptionsStatus smart constructor.
data AvailabilityOptionsStatus
AvailabilityOptionsStatus' :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | The availability options configured for the domain.
[$sel:options:AvailabilityOptionsStatus'] :: AvailabilityOptionsStatus -> Bool
[$sel:status:AvailabilityOptionsStatus'] :: AvailabilityOptionsStatus -> OptionStatus
-- | Create a value of AvailabilityOptionsStatus 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:options:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_options - The availability options
-- configured for the domain.
--
-- $sel:status:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_status - Undocumented member.
newAvailabilityOptionsStatus :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | The availability options configured for the domain.
availabilityOptionsStatus_options :: Lens' AvailabilityOptionsStatus Bool
-- | Undocumented member.
availabilityOptionsStatus_status :: Lens' AvailabilityOptionsStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AvailabilityOptionsStatus.AvailabilityOptionsStatus
module Amazonka.CloudSearch.Types.AnalysisSchemeStatus
-- | The status and configuration of an AnalysisScheme.
--
-- See: newAnalysisSchemeStatus smart constructor.
data AnalysisSchemeStatus
AnalysisSchemeStatus' :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
[$sel:options:AnalysisSchemeStatus'] :: AnalysisSchemeStatus -> AnalysisScheme
[$sel:status:AnalysisSchemeStatus'] :: AnalysisSchemeStatus -> OptionStatus
-- | Create a value of AnalysisSchemeStatus 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:options:AnalysisSchemeStatus',
-- analysisSchemeStatus_options - Undocumented member.
--
-- $sel:status:AnalysisSchemeStatus',
-- analysisSchemeStatus_status - Undocumented member.
newAnalysisSchemeStatus :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
-- | Undocumented member.
analysisSchemeStatus_options :: Lens' AnalysisSchemeStatus AnalysisScheme
-- | Undocumented member.
analysisSchemeStatus_status :: Lens' AnalysisSchemeStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AnalysisSchemeStatus.AnalysisSchemeStatus
module Amazonka.CloudSearch.Types.AccessPoliciesStatus
-- | The configured access rules for the domain's document and search
-- endpoints, and the current status of those rules.
--
-- See: newAccessPoliciesStatus smart constructor.
data AccessPoliciesStatus
AccessPoliciesStatus' :: Text -> OptionStatus -> AccessPoliciesStatus
[$sel:options:AccessPoliciesStatus'] :: AccessPoliciesStatus -> Text
[$sel:status:AccessPoliciesStatus'] :: AccessPoliciesStatus -> OptionStatus
-- | Create a value of AccessPoliciesStatus 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:options:AccessPoliciesStatus',
-- accessPoliciesStatus_options - Undocumented member.
--
-- $sel:status:AccessPoliciesStatus',
-- accessPoliciesStatus_status - Undocumented member.
newAccessPoliciesStatus :: Text -> OptionStatus -> AccessPoliciesStatus
-- | Undocumented member.
accessPoliciesStatus_options :: Lens' AccessPoliciesStatus Text
-- | Undocumented member.
accessPoliciesStatus_status :: Lens' AccessPoliciesStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.AccessPoliciesStatus.AccessPoliciesStatus
module Amazonka.CloudSearch.Types.PartitionInstanceType
-- | The instance type (such as search.m1.small) on which an index
-- partition is hosted.
newtype PartitionInstanceType
PartitionInstanceType' :: Text -> PartitionInstanceType
[fromPartitionInstanceType] :: PartitionInstanceType -> Text
pattern PartitionInstanceType_Search_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_xlarge :: PartitionInstanceType
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance GHC.Read.Read Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
instance GHC.Show.Show Amazonka.CloudSearch.Types.PartitionInstanceType.PartitionInstanceType
module Amazonka.CloudSearch.Types.ScalingParameters
-- | The desired instance type and desired number of replicas of each index
-- partition.
--
-- See: newScalingParameters smart constructor.
data ScalingParameters
ScalingParameters' :: Maybe PartitionInstanceType -> Maybe Natural -> Maybe Natural -> ScalingParameters
-- | The instance type that you want to preconfigure for your domain. For
-- example, search.m1.small.
[$sel:desiredInstanceType:ScalingParameters'] :: ScalingParameters -> Maybe PartitionInstanceType
-- | The number of partitions you want to preconfigure for your domain.
-- Only valid when you select m2.2xlarge as the desired instance
-- type.
[$sel:desiredPartitionCount:ScalingParameters'] :: ScalingParameters -> Maybe Natural
-- | The number of replicas you want to preconfigure for each index
-- partition.
[$sel:desiredReplicationCount:ScalingParameters'] :: ScalingParameters -> Maybe Natural
-- | Create a value of ScalingParameters 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:desiredInstanceType:ScalingParameters',
-- scalingParameters_desiredInstanceType - The instance type that
-- you want to preconfigure for your domain. For example,
-- search.m1.small.
--
-- $sel:desiredPartitionCount:ScalingParameters',
-- scalingParameters_desiredPartitionCount - The number of
-- partitions you want to preconfigure for your domain. Only valid when
-- you select m2.2xlarge as the desired instance type.
--
-- $sel:desiredReplicationCount:ScalingParameters',
-- scalingParameters_desiredReplicationCount - The number of
-- replicas you want to preconfigure for each index partition.
newScalingParameters :: ScalingParameters
-- | The instance type that you want to preconfigure for your domain. For
-- example, search.m1.small.
scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType)
-- | The number of partitions you want to preconfigure for your domain.
-- Only valid when you select m2.2xlarge as the desired instance
-- type.
scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural)
-- | The number of replicas you want to preconfigure for each index
-- partition.
scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance GHC.Show.Show Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance GHC.Read.Read Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.ScalingParameters.ScalingParameters
module Amazonka.CloudSearch.Types.ScalingParametersStatus
-- | The status and configuration of a search domain's scaling parameters.
--
-- See: newScalingParametersStatus smart constructor.
data ScalingParametersStatus
ScalingParametersStatus' :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
[$sel:options:ScalingParametersStatus'] :: ScalingParametersStatus -> ScalingParameters
[$sel:status:ScalingParametersStatus'] :: ScalingParametersStatus -> OptionStatus
-- | Create a value of ScalingParametersStatus 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:options:ScalingParametersStatus',
-- scalingParametersStatus_options - Undocumented member.
--
-- $sel:status:ScalingParametersStatus',
-- scalingParametersStatus_status - Undocumented member.
newScalingParametersStatus :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
-- | Undocumented member.
scalingParametersStatus_options :: Lens' ScalingParametersStatus ScalingParameters
-- | Undocumented member.
scalingParametersStatus_status :: Lens' ScalingParametersStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.ScalingParametersStatus.ScalingParametersStatus
module Amazonka.CloudSearch.Types.ServiceEndpoint
-- | The endpoint to which service requests can be submitted.
--
-- See: newServiceEndpoint smart constructor.
data ServiceEndpoint
ServiceEndpoint' :: Maybe Text -> ServiceEndpoint
[$sel:endpoint:ServiceEndpoint'] :: ServiceEndpoint -> Maybe Text
-- | Create a value of ServiceEndpoint 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:endpoint:ServiceEndpoint', serviceEndpoint_endpoint
-- - Undocumented member.
newServiceEndpoint :: ServiceEndpoint
-- | Undocumented member.
serviceEndpoint_endpoint :: Lens' ServiceEndpoint (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance GHC.Show.Show Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance GHC.Read.Read Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.ServiceEndpoint.ServiceEndpoint
module Amazonka.CloudSearch.Types.DomainStatus
-- | The current status of the search domain.
--
-- See: newDomainStatus smart constructor.
data DomainStatus
DomainStatus' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ServiceEndpoint -> Maybe Limits -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ServiceEndpoint -> Text -> Text -> Bool -> DomainStatus
[$sel:arn:DomainStatus'] :: DomainStatus -> Maybe Text
-- | True if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
[$sel:created:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | True if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
[$sel:deleted:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | The service endpoint for updating documents in a search domain.
[$sel:docService:DomainStatus'] :: DomainStatus -> Maybe ServiceEndpoint
[$sel:limits:DomainStatus'] :: DomainStatus -> Maybe Limits
-- | True if processing is being done to activate the current domain
-- configuration.
[$sel:processing:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | The number of search instances that are available to process search
-- requests.
[$sel:searchInstanceCount:DomainStatus'] :: DomainStatus -> Maybe Natural
-- | The instance type that is being used to process search requests.
[$sel:searchInstanceType:DomainStatus'] :: DomainStatus -> Maybe Text
-- | The number of partitions across which the search index is spread.
[$sel:searchPartitionCount:DomainStatus'] :: DomainStatus -> Maybe Natural
-- | The service endpoint for requesting search results from a search
-- domain.
[$sel:searchService:DomainStatus'] :: DomainStatus -> Maybe ServiceEndpoint
[$sel:domainId:DomainStatus'] :: DomainStatus -> Text
[$sel:domainName:DomainStatus'] :: DomainStatus -> Text
-- | True if IndexDocuments needs to be called to activate the current
-- domain configuration.
[$sel:requiresIndexDocuments:DomainStatus'] :: DomainStatus -> Bool
-- | Create a value of DomainStatus 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:arn:DomainStatus', domainStatus_arn - Undocumented
-- member.
--
-- $sel:created:DomainStatus', domainStatus_created - True
-- if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
--
-- $sel:deleted:DomainStatus', domainStatus_deleted - True
-- if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
--
-- $sel:docService:DomainStatus', domainStatus_docService -
-- The service endpoint for updating documents in a search domain.
--
-- $sel:limits:DomainStatus', domainStatus_limits -
-- Undocumented member.
--
-- $sel:processing:DomainStatus', domainStatus_processing -
-- True if processing is being done to activate the current domain
-- configuration.
--
-- $sel:searchInstanceCount:DomainStatus',
-- domainStatus_searchInstanceCount - The number of search
-- instances that are available to process search requests.
--
-- $sel:searchInstanceType:DomainStatus',
-- domainStatus_searchInstanceType - The instance type that is
-- being used to process search requests.
--
-- $sel:searchPartitionCount:DomainStatus',
-- domainStatus_searchPartitionCount - The number of partitions
-- across which the search index is spread.
--
-- $sel:searchService:DomainStatus',
-- domainStatus_searchService - The service endpoint for
-- requesting search results from a search domain.
--
-- $sel:domainId:DomainStatus', domainStatus_domainId -
-- Undocumented member.
--
-- $sel:domainName:DomainStatus', domainStatus_domainName -
-- Undocumented member.
--
-- $sel:requiresIndexDocuments:DomainStatus',
-- domainStatus_requiresIndexDocuments - True if IndexDocuments
-- needs to be called to activate the current domain configuration.
newDomainStatus :: Text -> Text -> Bool -> DomainStatus
-- | Undocumented member.
domainStatus_arn :: Lens' DomainStatus (Maybe Text)
-- | True if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
domainStatus_created :: Lens' DomainStatus (Maybe Bool)
-- | True if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
domainStatus_deleted :: Lens' DomainStatus (Maybe Bool)
-- | The service endpoint for updating documents in a search domain.
domainStatus_docService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_limits :: Lens' DomainStatus (Maybe Limits)
-- | True if processing is being done to activate the current domain
-- configuration.
domainStatus_processing :: Lens' DomainStatus (Maybe Bool)
-- | The number of search instances that are available to process search
-- requests.
domainStatus_searchInstanceCount :: Lens' DomainStatus (Maybe Natural)
-- | The instance type that is being used to process search requests.
domainStatus_searchInstanceType :: Lens' DomainStatus (Maybe Text)
-- | The number of partitions across which the search index is spread.
domainStatus_searchPartitionCount :: Lens' DomainStatus (Maybe Natural)
-- | The service endpoint for requesting search results from a search
-- domain.
domainStatus_searchService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_domainId :: Lens' DomainStatus Text
-- | Undocumented member.
domainStatus_domainName :: Lens' DomainStatus Text
-- | True if IndexDocuments needs to be called to activate the current
-- domain configuration.
domainStatus_requiresIndexDocuments :: Lens' DomainStatus Bool
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DomainStatus.DomainStatus
module Amazonka.CloudSearch.Types.SuggesterFuzzyMatching
newtype SuggesterFuzzyMatching
SuggesterFuzzyMatching' :: Text -> SuggesterFuzzyMatching
[fromSuggesterFuzzyMatching] :: SuggesterFuzzyMatching -> Text
pattern SuggesterFuzzyMatching_High :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_Low :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_None :: SuggesterFuzzyMatching
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance GHC.Read.Read Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
instance GHC.Show.Show Amazonka.CloudSearch.Types.SuggesterFuzzyMatching.SuggesterFuzzyMatching
module Amazonka.CloudSearch.Types.DocumentSuggesterOptions
-- | Options for a search suggester.
--
-- See: newDocumentSuggesterOptions smart constructor.
data DocumentSuggesterOptions
DocumentSuggesterOptions' :: Maybe SuggesterFuzzyMatching -> Maybe Text -> Text -> DocumentSuggesterOptions
-- | The level of fuzziness allowed when suggesting matches for a string:
-- none, low, or high. With none, the
-- specified string is treated as an exact prefix. With low, suggestions
-- must differ from the specified string by no more than one character.
-- With high, suggestions can differ by up to two characters. The default
-- is none.
[$sel:fuzzyMatching:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Maybe SuggesterFuzzyMatching
-- | An expression that computes a score for each suggestion to control how
-- they are sorted. The scores are rounded to the nearest integer, with a
-- floor of 0 and a ceiling of 2^31-1. A document's relevance score is
-- not computed for suggestions, so sort expressions cannot reference the
-- _score value. To sort suggestions using a numeric field or
-- existing expression, simply specify the name of the field or
-- expression. If no expression is configured for the suggester, the
-- suggestions are sorted with the closest matches listed first.
[$sel:sortExpression:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Maybe Text
-- | The name of the index field you want to use for suggestions.
[$sel:sourceField:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Text
-- | Create a value of DocumentSuggesterOptions 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:fuzzyMatching:DocumentSuggesterOptions',
-- documentSuggesterOptions_fuzzyMatching - The level of fuzziness
-- allowed when suggesting matches for a string: none,
-- low, or high. With none, the specified string is
-- treated as an exact prefix. With low, suggestions must differ from the
-- specified string by no more than one character. With high, suggestions
-- can differ by up to two characters. The default is none.
--
-- $sel:sortExpression:DocumentSuggesterOptions',
-- documentSuggesterOptions_sortExpression - An expression that
-- computes a score for each suggestion to control how they are sorted.
-- The scores are rounded to the nearest integer, with a floor of 0 and a
-- ceiling of 2^31-1. A document's relevance score is not computed for
-- suggestions, so sort expressions cannot reference the _score
-- value. To sort suggestions using a numeric field or existing
-- expression, simply specify the name of the field or expression. If no
-- expression is configured for the suggester, the suggestions are sorted
-- with the closest matches listed first.
--
-- $sel:sourceField:DocumentSuggesterOptions',
-- documentSuggesterOptions_sourceField - The name of the index
-- field you want to use for suggestions.
newDocumentSuggesterOptions :: Text -> DocumentSuggesterOptions
-- | The level of fuzziness allowed when suggesting matches for a string:
-- none, low, or high. With none, the
-- specified string is treated as an exact prefix. With low, suggestions
-- must differ from the specified string by no more than one character.
-- With high, suggestions can differ by up to two characters. The default
-- is none.
documentSuggesterOptions_fuzzyMatching :: Lens' DocumentSuggesterOptions (Maybe SuggesterFuzzyMatching)
-- | An expression that computes a score for each suggestion to control how
-- they are sorted. The scores are rounded to the nearest integer, with a
-- floor of 0 and a ceiling of 2^31-1. A document's relevance score is
-- not computed for suggestions, so sort expressions cannot reference the
-- _score value. To sort suggestions using a numeric field or
-- existing expression, simply specify the name of the field or
-- expression. If no expression is configured for the suggester, the
-- suggestions are sorted with the closest matches listed first.
documentSuggesterOptions_sortExpression :: Lens' DocumentSuggesterOptions (Maybe Text)
-- | The name of the index field you want to use for suggestions.
documentSuggesterOptions_sourceField :: Lens' DocumentSuggesterOptions Text
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DocumentSuggesterOptions.DocumentSuggesterOptions
module Amazonka.CloudSearch.Types.Suggester
-- | Configuration information for a search suggester. Each suggester has a
-- unique name and specifies the text field you want to use for
-- suggestions. The following options can be configured for a suggester:
-- FuzzyMatching, SortExpression.
--
-- See: newSuggester smart constructor.
data Suggester
Suggester' :: Text -> DocumentSuggesterOptions -> Suggester
[$sel:suggesterName:Suggester'] :: Suggester -> Text
[$sel:documentSuggesterOptions:Suggester'] :: Suggester -> DocumentSuggesterOptions
-- | Create a value of Suggester 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:suggesterName:Suggester', suggester_suggesterName -
-- Undocumented member.
--
-- $sel:documentSuggesterOptions:Suggester',
-- suggester_documentSuggesterOptions - Undocumented member.
newSuggester :: Text -> DocumentSuggesterOptions -> Suggester
-- | Undocumented member.
suggester_suggesterName :: Lens' Suggester Text
-- | Undocumented member.
suggester_documentSuggesterOptions :: Lens' Suggester DocumentSuggesterOptions
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.Suggester.Suggester
instance GHC.Show.Show Amazonka.CloudSearch.Types.Suggester.Suggester
instance GHC.Read.Read Amazonka.CloudSearch.Types.Suggester.Suggester
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.Suggester.Suggester
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.Suggester.Suggester
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.Suggester.Suggester
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.Suggester.Suggester
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.Suggester.Suggester
module Amazonka.CloudSearch.Types.SuggesterStatus
-- | The value of a Suggester and its current status.
--
-- See: newSuggesterStatus smart constructor.
data SuggesterStatus
SuggesterStatus' :: Suggester -> OptionStatus -> SuggesterStatus
[$sel:options:SuggesterStatus'] :: SuggesterStatus -> Suggester
[$sel:status:SuggesterStatus'] :: SuggesterStatus -> OptionStatus
-- | Create a value of SuggesterStatus 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:options:SuggesterStatus', suggesterStatus_options -
-- Undocumented member.
--
-- $sel:status:SuggesterStatus', suggesterStatus_status -
-- Undocumented member.
newSuggesterStatus :: Suggester -> OptionStatus -> SuggesterStatus
-- | Undocumented member.
suggesterStatus_options :: Lens' SuggesterStatus Suggester
-- | Undocumented member.
suggesterStatus_status :: Lens' SuggesterStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.SuggesterStatus.SuggesterStatus
module Amazonka.CloudSearch.Types.TLSSecurityPolicy
-- | The minimum required TLS version.
newtype TLSSecurityPolicy
TLSSecurityPolicy' :: Text -> TLSSecurityPolicy
[fromTLSSecurityPolicy] :: TLSSecurityPolicy -> Text
pattern TLSSecurityPolicy_Policy_Min_TLS_1_0_2019_07 :: TLSSecurityPolicy
pattern TLSSecurityPolicy_Policy_Min_TLS_1_2_2019_07 :: TLSSecurityPolicy
instance Amazonka.Data.XML.ToXML Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.Log.ToLog Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.Text.ToText Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Amazonka.Data.Text.FromText Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance GHC.Classes.Ord Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance GHC.Read.Read Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
instance GHC.Show.Show Amazonka.CloudSearch.Types.TLSSecurityPolicy.TLSSecurityPolicy
module Amazonka.CloudSearch.Types.DomainEndpointOptions
-- | The domain's endpoint options.
--
-- See: newDomainEndpointOptions smart constructor.
data DomainEndpointOptions
DomainEndpointOptions' :: Maybe Bool -> Maybe TLSSecurityPolicy -> DomainEndpointOptions
-- | Whether the domain is HTTPS only enabled.
[$sel:enforceHTTPS:DomainEndpointOptions'] :: DomainEndpointOptions -> Maybe Bool
-- | The minimum required TLS version
[$sel:tLSSecurityPolicy:DomainEndpointOptions'] :: DomainEndpointOptions -> Maybe TLSSecurityPolicy
-- | Create a value of DomainEndpointOptions 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:enforceHTTPS:DomainEndpointOptions',
-- domainEndpointOptions_enforceHTTPS - Whether the domain is
-- HTTPS only enabled.
--
-- $sel:tLSSecurityPolicy:DomainEndpointOptions',
-- domainEndpointOptions_tLSSecurityPolicy - The minimum required
-- TLS version
newDomainEndpointOptions :: DomainEndpointOptions
-- | Whether the domain is HTTPS only enabled.
domainEndpointOptions_enforceHTTPS :: Lens' DomainEndpointOptions (Maybe Bool)
-- | The minimum required TLS version
domainEndpointOptions_tLSSecurityPolicy :: Lens' DomainEndpointOptions (Maybe TLSSecurityPolicy)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.DomainEndpointOptions.DomainEndpointOptions
module Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus
-- | The configuration and status of the domain's endpoint options.
--
-- See: newDomainEndpointOptionsStatus smart constructor.
data DomainEndpointOptionsStatus
DomainEndpointOptionsStatus' :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | The domain endpoint options configured for the domain.
[$sel:options:DomainEndpointOptionsStatus'] :: DomainEndpointOptionsStatus -> DomainEndpointOptions
-- | The status of the configured domain endpoint options.
[$sel:status:DomainEndpointOptionsStatus'] :: DomainEndpointOptionsStatus -> OptionStatus
-- | Create a value of DomainEndpointOptionsStatus 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:options:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_options - The domain endpoint
-- options configured for the domain.
--
-- $sel:status:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_status - The status of the
-- configured domain endpoint options.
newDomainEndpointOptionsStatus :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | The domain endpoint options configured for the domain.
domainEndpointOptionsStatus_options :: Lens' DomainEndpointOptionsStatus DomainEndpointOptions
-- | The status of the configured domain endpoint options.
domainEndpointOptionsStatus_status :: Lens' DomainEndpointOptionsStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.DomainEndpointOptionsStatus.DomainEndpointOptionsStatus
module Amazonka.CloudSearch.Types.TextArrayOptions
-- | Options for a field that contains an array of text strings. Present if
-- IndexFieldType specifies the field is of type
-- text-array. A text-array field is always searchable.
-- All options are enabled by default.
--
-- See: newTextArrayOptions smart constructor.
data TextArrayOptions
TextArrayOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextArrayOptions
-- | The name of an analysis scheme for a text-array field.
[$sel:analysisScheme:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | Whether highlights can be returned for the field.
[$sel:highlightEnabled:TextArrayOptions'] :: TextArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:TextArrayOptions'] :: TextArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | Create a value of TextArrayOptions 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:analysisScheme:TextArrayOptions',
-- textArrayOptions_analysisScheme - The name of an analysis
-- scheme for a text-array field.
--
-- $sel:defaultValue:TextArrayOptions',
-- textArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:highlightEnabled:TextArrayOptions',
-- textArrayOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextArrayOptions',
-- textArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:sourceFields:TextArrayOptions',
-- textArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newTextArrayOptions :: TextArrayOptions
-- | The name of an analysis scheme for a text-array field.
textArrayOptions_analysisScheme :: Lens' TextArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textArrayOptions_defaultValue :: Lens' TextArrayOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textArrayOptions_highlightEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textArrayOptions_returnEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
textArrayOptions_sourceFields :: Lens' TextArrayOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.TextArrayOptions.TextArrayOptions
module Amazonka.CloudSearch.Types.TextOptions
-- | Options for text field. Present if IndexFieldType specifies
-- the field is of type text. A text field is always
-- searchable. All options are enabled by default.
--
-- See: newTextOptions smart constructor.
data TextOptions
TextOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextOptions
-- | The name of an analysis scheme for a text field.
[$sel:analysisScheme:TextOptions'] :: TextOptions -> Maybe Text
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:TextOptions'] :: TextOptions -> Maybe Text
-- | Whether highlights can be returned for the field.
[$sel:highlightEnabled:TextOptions'] :: TextOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:TextOptions'] :: TextOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:TextOptions'] :: TextOptions -> Maybe Bool
[$sel:sourceField:TextOptions'] :: TextOptions -> Maybe Text
-- | Create a value of TextOptions 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:analysisScheme:TextOptions',
-- textOptions_analysisScheme - The name of an analysis scheme for
-- a text field.
--
-- $sel:defaultValue:TextOptions', textOptions_defaultValue
-- - A value to use for the field if the field isn't specified for a
-- document.
--
-- $sel:highlightEnabled:TextOptions',
-- textOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextOptions',
-- textOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:sortEnabled:TextOptions', textOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:TextOptions', textOptions_sourceField -
-- Undocumented member.
newTextOptions :: TextOptions
-- | The name of an analysis scheme for a text field.
textOptions_analysisScheme :: Lens' TextOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textOptions_defaultValue :: Lens' TextOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool)
-- | Undocumented member.
textOptions_sourceField :: Lens' TextOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance GHC.Show.Show Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance GHC.Read.Read Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.TextOptions.TextOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.TextOptions.TextOptions
module Amazonka.CloudSearch.Types.IndexField
-- | Configuration information for a field in the index, including its
-- name, type, and options. The supported options depend on the
-- IndexFieldType.
--
-- See: newIndexField smart constructor.
data IndexField
IndexField' :: Maybe DateArrayOptions -> Maybe DateOptions -> Maybe DoubleArrayOptions -> Maybe DoubleOptions -> Maybe IntArrayOptions -> Maybe IntOptions -> Maybe LatLonOptions -> Maybe LiteralArrayOptions -> Maybe LiteralOptions -> Maybe TextArrayOptions -> Maybe TextOptions -> Text -> IndexFieldType -> IndexField
[$sel:dateArrayOptions:IndexField'] :: IndexField -> Maybe DateArrayOptions
[$sel:dateOptions:IndexField'] :: IndexField -> Maybe DateOptions
[$sel:doubleArrayOptions:IndexField'] :: IndexField -> Maybe DoubleArrayOptions
[$sel:doubleOptions:IndexField'] :: IndexField -> Maybe DoubleOptions
[$sel:intArrayOptions:IndexField'] :: IndexField -> Maybe IntArrayOptions
[$sel:intOptions:IndexField'] :: IndexField -> Maybe IntOptions
[$sel:latLonOptions:IndexField'] :: IndexField -> Maybe LatLonOptions
[$sel:literalArrayOptions:IndexField'] :: IndexField -> Maybe LiteralArrayOptions
[$sel:literalOptions:IndexField'] :: IndexField -> Maybe LiteralOptions
[$sel:textArrayOptions:IndexField'] :: IndexField -> Maybe TextArrayOptions
[$sel:textOptions:IndexField'] :: IndexField -> Maybe TextOptions
-- | A string that represents the name of an index field. CloudSearch
-- supports regular index fields as well as dynamic fields. A dynamic
-- field's name defines a pattern that begins or ends with a wildcard.
-- Any document fields that don't map to a regular index field but do
-- match a dynamic field's pattern are configured with the dynamic
-- field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
[$sel:indexFieldName:IndexField'] :: IndexField -> Text
[$sel:indexFieldType:IndexField'] :: IndexField -> IndexFieldType
-- | Create a value of IndexField 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:dateArrayOptions:IndexField',
-- indexField_dateArrayOptions - Undocumented member.
--
-- $sel:dateOptions:IndexField', indexField_dateOptions -
-- Undocumented member.
--
-- $sel:doubleArrayOptions:IndexField',
-- indexField_doubleArrayOptions - Undocumented member.
--
-- $sel:doubleOptions:IndexField', indexField_doubleOptions
-- - Undocumented member.
--
-- $sel:intArrayOptions:IndexField',
-- indexField_intArrayOptions - Undocumented member.
--
-- $sel:intOptions:IndexField', indexField_intOptions -
-- Undocumented member.
--
-- $sel:latLonOptions:IndexField', indexField_latLonOptions
-- - Undocumented member.
--
-- $sel:literalArrayOptions:IndexField',
-- indexField_literalArrayOptions - Undocumented member.
--
-- $sel:literalOptions:IndexField',
-- indexField_literalOptions - Undocumented member.
--
-- $sel:textArrayOptions:IndexField',
-- indexField_textArrayOptions - Undocumented member.
--
-- $sel:textOptions:IndexField', indexField_textOptions -
-- Undocumented member.
--
-- $sel:indexFieldName:IndexField',
-- indexField_indexFieldName - A string that represents the name
-- of an index field. CloudSearch supports regular index fields as well
-- as dynamic fields. A dynamic field's name defines a pattern that
-- begins or ends with a wildcard. Any document fields that don't map to
-- a regular index field but do match a dynamic field's pattern are
-- configured with the dynamic field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
--
-- $sel:indexFieldType:IndexField',
-- indexField_indexFieldType - Undocumented member.
newIndexField :: Text -> IndexFieldType -> IndexField
-- | Undocumented member.
indexField_dateArrayOptions :: Lens' IndexField (Maybe DateArrayOptions)
-- | Undocumented member.
indexField_dateOptions :: Lens' IndexField (Maybe DateOptions)
-- | Undocumented member.
indexField_doubleArrayOptions :: Lens' IndexField (Maybe DoubleArrayOptions)
-- | Undocumented member.
indexField_doubleOptions :: Lens' IndexField (Maybe DoubleOptions)
-- | Undocumented member.
indexField_intArrayOptions :: Lens' IndexField (Maybe IntArrayOptions)
-- | Undocumented member.
indexField_intOptions :: Lens' IndexField (Maybe IntOptions)
-- | Undocumented member.
indexField_latLonOptions :: Lens' IndexField (Maybe LatLonOptions)
-- | Undocumented member.
indexField_literalArrayOptions :: Lens' IndexField (Maybe LiteralArrayOptions)
-- | Undocumented member.
indexField_literalOptions :: Lens' IndexField (Maybe LiteralOptions)
-- | Undocumented member.
indexField_textArrayOptions :: Lens' IndexField (Maybe TextArrayOptions)
-- | Undocumented member.
indexField_textOptions :: Lens' IndexField (Maybe TextOptions)
-- | A string that represents the name of an index field. CloudSearch
-- supports regular index fields as well as dynamic fields. A dynamic
-- field's name defines a pattern that begins or ends with a wildcard.
-- Any document fields that don't map to a regular index field but do
-- match a dynamic field's pattern are configured with the dynamic
-- field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
indexField_indexFieldName :: Lens' IndexField Text
-- | Undocumented member.
indexField_indexFieldType :: Lens' IndexField IndexFieldType
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.IndexField.IndexField
instance GHC.Show.Show Amazonka.CloudSearch.Types.IndexField.IndexField
instance GHC.Read.Read Amazonka.CloudSearch.Types.IndexField.IndexField
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.IndexField.IndexField
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.IndexField.IndexField
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.IndexField.IndexField
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.IndexField.IndexField
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.Types.IndexField.IndexField
module Amazonka.CloudSearch.Types.IndexFieldStatus
-- | The value of an IndexField and its current status.
--
-- See: newIndexFieldStatus smart constructor.
data IndexFieldStatus
IndexFieldStatus' :: IndexField -> OptionStatus -> IndexFieldStatus
[$sel:options:IndexFieldStatus'] :: IndexFieldStatus -> IndexField
[$sel:status:IndexFieldStatus'] :: IndexFieldStatus -> OptionStatus
-- | Create a value of IndexFieldStatus 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:options:IndexFieldStatus', indexFieldStatus_options
-- - Undocumented member.
--
-- $sel:status:IndexFieldStatus', indexFieldStatus_status -
-- Undocumented member.
newIndexFieldStatus :: IndexField -> OptionStatus -> IndexFieldStatus
-- | Undocumented member.
indexFieldStatus_options :: Lens' IndexFieldStatus IndexField
-- | Undocumented member.
indexFieldStatus_status :: Lens' IndexFieldStatus OptionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance GHC.Show.Show Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance GHC.Read.Read Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance GHC.Classes.Eq Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
instance Control.DeepSeq.NFData Amazonka.CloudSearch.Types.IndexFieldStatus.IndexFieldStatus
module Amazonka.CloudSearch.Types
-- | API version 2013-01-01 of the Amazon CloudSearch SDK
-- configuration.
defaultService :: Service
-- | An error occurred while processing the request.
_BaseException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted an operation which is
-- not enabled.
_DisabledOperationException :: AsError a => Fold a ServiceError
-- | An internal error occurred while processing the request. If this
-- problem persists, report an issue from the Service Health
-- Dashboard.
_InternalException :: AsError a => Fold a ServiceError
-- | The request was rejected because it specified an invalid type
-- definition.
_InvalidTypeException :: AsError a => Fold a ServiceError
-- | The request was rejected because a resource limit has already been
-- met.
_LimitExceededException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted to create a resource
-- that already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted to reference a resource
-- that does not exist.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The request was rejected because it has invalid parameters.
_ValidationException :: AsError a => Fold a ServiceError
newtype AlgorithmicStemming
AlgorithmicStemming' :: Text -> AlgorithmicStemming
[fromAlgorithmicStemming] :: AlgorithmicStemming -> Text
pattern AlgorithmicStemming_Full :: AlgorithmicStemming
pattern AlgorithmicStemming_Light :: AlgorithmicStemming
pattern AlgorithmicStemming_Minimal :: AlgorithmicStemming
pattern AlgorithmicStemming_None :: AlgorithmicStemming
-- | An IETF RFC 4646 language code or mul for multiple
-- languages.
newtype AnalysisSchemeLanguage
AnalysisSchemeLanguage' :: Text -> AnalysisSchemeLanguage
[fromAnalysisSchemeLanguage] :: AnalysisSchemeLanguage -> Text
pattern AnalysisSchemeLanguage_Ar :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Bg :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ca :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Cs :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Da :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_De :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_El :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_En :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Es :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Eu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fa :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ga :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Gl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_He :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hy :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Id :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_It :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ja :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ko :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Lv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Mul :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Nl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_No :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Pt :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ro :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ru :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Sv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Th :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Tr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hans :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hant :: AnalysisSchemeLanguage
-- | The type of field. The valid options for a field depend on the field
-- type. For more information about the supported field types, see
-- Configuring Index Fields in the Amazon CloudSearch Developer
-- Guide.
newtype IndexFieldType
IndexFieldType' :: Text -> IndexFieldType
[fromIndexFieldType] :: IndexFieldType -> Text
pattern IndexFieldType_Date :: IndexFieldType
pattern IndexFieldType_Date_array :: IndexFieldType
pattern IndexFieldType_Double :: IndexFieldType
pattern IndexFieldType_Double_array :: IndexFieldType
pattern IndexFieldType_Int :: IndexFieldType
pattern IndexFieldType_Int_array :: IndexFieldType
pattern IndexFieldType_Latlon :: IndexFieldType
pattern IndexFieldType_Literal :: IndexFieldType
pattern IndexFieldType_Literal_array :: IndexFieldType
pattern IndexFieldType_Text :: IndexFieldType
pattern IndexFieldType_Text_array :: IndexFieldType
-- | The state of processing a change to an option. One of:
--
--
-- - RequiresIndexDocuments: The option's latest value will not be
-- deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: The option's latest value is in the process of being
-- activated.
-- - Active: The option's latest value is fully deployed.
-- - FailedToValidate: The option value is not compatible with the
-- domain's data and cannot be used to index the data. You must either
-- modify the option value or update or remove the incompatible
-- documents.
--
newtype OptionState
OptionState' :: Text -> OptionState
[fromOptionState] :: OptionState -> Text
pattern OptionState_Active :: OptionState
pattern OptionState_FailedToValidate :: OptionState
pattern OptionState_Processing :: OptionState
pattern OptionState_RequiresIndexDocuments :: OptionState
-- | The instance type (such as search.m1.small) on which an index
-- partition is hosted.
newtype PartitionInstanceType
PartitionInstanceType' :: Text -> PartitionInstanceType
[fromPartitionInstanceType] :: PartitionInstanceType -> Text
pattern PartitionInstanceType_Search_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_xlarge :: PartitionInstanceType
newtype SuggesterFuzzyMatching
SuggesterFuzzyMatching' :: Text -> SuggesterFuzzyMatching
[fromSuggesterFuzzyMatching] :: SuggesterFuzzyMatching -> Text
pattern SuggesterFuzzyMatching_High :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_Low :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_None :: SuggesterFuzzyMatching
-- | The minimum required TLS version.
newtype TLSSecurityPolicy
TLSSecurityPolicy' :: Text -> TLSSecurityPolicy
[fromTLSSecurityPolicy] :: TLSSecurityPolicy -> Text
pattern TLSSecurityPolicy_Policy_Min_TLS_1_0_2019_07 :: TLSSecurityPolicy
pattern TLSSecurityPolicy_Policy_Min_TLS_1_2_2019_07 :: TLSSecurityPolicy
-- | The configured access rules for the domain's document and search
-- endpoints, and the current status of those rules.
--
-- See: newAccessPoliciesStatus smart constructor.
data AccessPoliciesStatus
AccessPoliciesStatus' :: Text -> OptionStatus -> AccessPoliciesStatus
[$sel:options:AccessPoliciesStatus'] :: AccessPoliciesStatus -> Text
[$sel:status:AccessPoliciesStatus'] :: AccessPoliciesStatus -> OptionStatus
-- | Create a value of AccessPoliciesStatus 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:options:AccessPoliciesStatus',
-- accessPoliciesStatus_options - Undocumented member.
--
-- $sel:status:AccessPoliciesStatus',
-- accessPoliciesStatus_status - Undocumented member.
newAccessPoliciesStatus :: Text -> OptionStatus -> AccessPoliciesStatus
-- | Undocumented member.
accessPoliciesStatus_options :: Lens' AccessPoliciesStatus Text
-- | Undocumented member.
accessPoliciesStatus_status :: Lens' AccessPoliciesStatus OptionStatus
-- | Synonyms, stopwords, and stemming options for an analysis scheme.
-- Includes tokenization dictionary for Japanese.
--
-- See: newAnalysisOptions smart constructor.
data AnalysisOptions
AnalysisOptions' :: Maybe AlgorithmicStemming -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AnalysisOptions
-- | The level of algorithmic stemming to perform: none,
-- minimal, light, or full. The available
-- levels vary depending on the language. For more information, see
-- Language Specific Text Processing Settings in the Amazon
-- CloudSearch Developer Guide
[$sel:algorithmicStemming:AnalysisOptions'] :: AnalysisOptions -> Maybe AlgorithmicStemming
-- | A JSON array that contains a collection of terms, tokens, readings and
-- part of speech for Japanese Tokenizaiton. The Japanese tokenization
-- dictionary enables you to override the default tokenization for
-- selected terms. This is only valid for Japanese language fields.
[$sel:japaneseTokenizationDictionary:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON object that contains a collection of string:value pairs that
-- each map a term to its stem. For example, {"term1": "stem1",
-- "term2": "stem2", "term3": "stem3"}. The stemming dictionary is
-- applied in addition to any algorithmic stemming. This enables you to
-- override the results of the algorithmic stemming to correct specific
-- cases of overstemming or understemming. The maximum size of a stemming
-- dictionary is 500 KB.
[$sel:stemmingDictionary:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON array of terms to ignore during indexing and searching. For
-- example, ["a", "an", "the", "of"]. The stopwords dictionary
-- must explicitly list each word you want to ignore. Wildcards and
-- regular expressions are not supported.
[$sel:stopwords:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | A JSON object that defines synonym groups and aliases. A synonym group
-- is an array of arrays, where each sub-array is a group of terms where
-- each term in the group is considered a synonym of every other term in
-- the group. The aliases value is an object that contains a collection
-- of string:value pairs where the string specifies a term and the array
-- of values specifies each of the aliases for that term. An alias is
-- considered a synonym of the specified term, but the term is not
-- considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
[$sel:synonyms:AnalysisOptions'] :: AnalysisOptions -> Maybe Text
-- | Create a value of AnalysisOptions 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:algorithmicStemming:AnalysisOptions',
-- analysisOptions_algorithmicStemming - The level of algorithmic
-- stemming to perform: none, minimal, light,
-- or full. The available levels vary depending on the language.
-- For more information, see Language Specific Text Processing
-- Settings in the Amazon CloudSearch Developer Guide
--
-- $sel:japaneseTokenizationDictionary:AnalysisOptions',
-- analysisOptions_japaneseTokenizationDictionary - A JSON array
-- that contains a collection of terms, tokens, readings and part of
-- speech for Japanese Tokenizaiton. The Japanese tokenization dictionary
-- enables you to override the default tokenization for selected terms.
-- This is only valid for Japanese language fields.
--
-- $sel:stemmingDictionary:AnalysisOptions',
-- analysisOptions_stemmingDictionary - A JSON object that
-- contains a collection of string:value pairs that each map a term to
-- its stem. For example, {"term1": "stem1", "term2": "stem2",
-- "term3": "stem3"}. The stemming dictionary is applied in addition
-- to any algorithmic stemming. This enables you to override the results
-- of the algorithmic stemming to correct specific cases of overstemming
-- or understemming. The maximum size of a stemming dictionary is 500 KB.
--
-- $sel:stopwords:AnalysisOptions',
-- analysisOptions_stopwords - A JSON array of terms to ignore
-- during indexing and searching. For example, ["a", "an", "the",
-- "of"]. The stopwords dictionary must explicitly list each word
-- you want to ignore. Wildcards and regular expressions are not
-- supported.
--
-- $sel:synonyms:AnalysisOptions', analysisOptions_synonyms
-- - A JSON object that defines synonym groups and aliases. A synonym
-- group is an array of arrays, where each sub-array is a group of terms
-- where each term in the group is considered a synonym of every other
-- term in the group. The aliases value is an object that contains a
-- collection of string:value pairs where the string specifies a term and
-- the array of values specifies each of the aliases for that term. An
-- alias is considered a synonym of the specified term, but the term is
-- not considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
newAnalysisOptions :: AnalysisOptions
-- | The level of algorithmic stemming to perform: none,
-- minimal, light, or full. The available
-- levels vary depending on the language. For more information, see
-- Language Specific Text Processing Settings in the Amazon
-- CloudSearch Developer Guide
analysisOptions_algorithmicStemming :: Lens' AnalysisOptions (Maybe AlgorithmicStemming)
-- | A JSON array that contains a collection of terms, tokens, readings and
-- part of speech for Japanese Tokenizaiton. The Japanese tokenization
-- dictionary enables you to override the default tokenization for
-- selected terms. This is only valid for Japanese language fields.
analysisOptions_japaneseTokenizationDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that contains a collection of string:value pairs that
-- each map a term to its stem. For example, {"term1": "stem1",
-- "term2": "stem2", "term3": "stem3"}. The stemming dictionary is
-- applied in addition to any algorithmic stemming. This enables you to
-- override the results of the algorithmic stemming to correct specific
-- cases of overstemming or understemming. The maximum size of a stemming
-- dictionary is 500 KB.
analysisOptions_stemmingDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON array of terms to ignore during indexing and searching. For
-- example, ["a", "an", "the", "of"]. The stopwords dictionary
-- must explicitly list each word you want to ignore. Wildcards and
-- regular expressions are not supported.
analysisOptions_stopwords :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that defines synonym groups and aliases. A synonym group
-- is an array of arrays, where each sub-array is a group of terms where
-- each term in the group is considered a synonym of every other term in
-- the group. The aliases value is an object that contains a collection
-- of string:value pairs where the string specifies a term and the array
-- of values specifies each of the aliases for that term. An alias is
-- considered a synonym of the specified term, but the term is not
-- considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
analysisOptions_synonyms :: Lens' AnalysisOptions (Maybe Text)
-- | Configuration information for an analysis scheme. Each analysis scheme
-- has a unique name and specifies the language of the text to be
-- processed. The following options can be configured for an analysis
-- scheme: Synonyms, Stopwords,
-- StemmingDictionary, JapaneseTokenizationDictionary
-- and AlgorithmicStemming.
--
-- See: newAnalysisScheme smart constructor.
data AnalysisScheme
AnalysisScheme' :: Maybe AnalysisOptions -> Text -> AnalysisSchemeLanguage -> AnalysisScheme
[$sel:analysisOptions:AnalysisScheme'] :: AnalysisScheme -> Maybe AnalysisOptions
[$sel:analysisSchemeName:AnalysisScheme'] :: AnalysisScheme -> Text
[$sel:analysisSchemeLanguage:AnalysisScheme'] :: AnalysisScheme -> AnalysisSchemeLanguage
-- | Create a value of AnalysisScheme 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:analysisOptions:AnalysisScheme',
-- analysisScheme_analysisOptions - Undocumented member.
--
-- $sel:analysisSchemeName:AnalysisScheme',
-- analysisScheme_analysisSchemeName - Undocumented member.
--
-- $sel:analysisSchemeLanguage:AnalysisScheme',
-- analysisScheme_analysisSchemeLanguage - Undocumented member.
newAnalysisScheme :: Text -> AnalysisSchemeLanguage -> AnalysisScheme
-- | Undocumented member.
analysisScheme_analysisOptions :: Lens' AnalysisScheme (Maybe AnalysisOptions)
-- | Undocumented member.
analysisScheme_analysisSchemeName :: Lens' AnalysisScheme Text
-- | Undocumented member.
analysisScheme_analysisSchemeLanguage :: Lens' AnalysisScheme AnalysisSchemeLanguage
-- | The status and configuration of an AnalysisScheme.
--
-- See: newAnalysisSchemeStatus smart constructor.
data AnalysisSchemeStatus
AnalysisSchemeStatus' :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
[$sel:options:AnalysisSchemeStatus'] :: AnalysisSchemeStatus -> AnalysisScheme
[$sel:status:AnalysisSchemeStatus'] :: AnalysisSchemeStatus -> OptionStatus
-- | Create a value of AnalysisSchemeStatus 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:options:AnalysisSchemeStatus',
-- analysisSchemeStatus_options - Undocumented member.
--
-- $sel:status:AnalysisSchemeStatus',
-- analysisSchemeStatus_status - Undocumented member.
newAnalysisSchemeStatus :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
-- | Undocumented member.
analysisSchemeStatus_options :: Lens' AnalysisSchemeStatus AnalysisScheme
-- | Undocumented member.
analysisSchemeStatus_status :: Lens' AnalysisSchemeStatus OptionStatus
-- | The status and configuration of the domain's availability options.
--
-- See: newAvailabilityOptionsStatus smart constructor.
data AvailabilityOptionsStatus
AvailabilityOptionsStatus' :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | The availability options configured for the domain.
[$sel:options:AvailabilityOptionsStatus'] :: AvailabilityOptionsStatus -> Bool
[$sel:status:AvailabilityOptionsStatus'] :: AvailabilityOptionsStatus -> OptionStatus
-- | Create a value of AvailabilityOptionsStatus 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:options:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_options - The availability options
-- configured for the domain.
--
-- $sel:status:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_status - Undocumented member.
newAvailabilityOptionsStatus :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | The availability options configured for the domain.
availabilityOptionsStatus_options :: Lens' AvailabilityOptionsStatus Bool
-- | Undocumented member.
availabilityOptionsStatus_status :: Lens' AvailabilityOptionsStatus OptionStatus
-- | 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.
data DateArrayOptions
DateArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DateArrayOptions'] :: DateArrayOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DateArrayOptions'] :: DateArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:DateArrayOptions'] :: DateArrayOptions -> Maybe Text
-- | 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.
newDateArrayOptions :: DateArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text)
-- | 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.
data DateOptions
DateOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DateOptions'] :: DateOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DateOptions'] :: DateOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:DateOptions'] :: DateOptions -> Maybe Bool
[$sel:sourceField:DateOptions'] :: DateOptions -> Maybe Text
-- | 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.
newDateOptions :: DateOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
dateOptions_defaultValue :: Lens' DateOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool)
-- | Undocumented member.
dateOptions_sourceField :: Lens' DateOptions (Maybe Text)
-- | Options for a search suggester.
--
-- See: newDocumentSuggesterOptions smart constructor.
data DocumentSuggesterOptions
DocumentSuggesterOptions' :: Maybe SuggesterFuzzyMatching -> Maybe Text -> Text -> DocumentSuggesterOptions
-- | The level of fuzziness allowed when suggesting matches for a string:
-- none, low, or high. With none, the
-- specified string is treated as an exact prefix. With low, suggestions
-- must differ from the specified string by no more than one character.
-- With high, suggestions can differ by up to two characters. The default
-- is none.
[$sel:fuzzyMatching:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Maybe SuggesterFuzzyMatching
-- | An expression that computes a score for each suggestion to control how
-- they are sorted. The scores are rounded to the nearest integer, with a
-- floor of 0 and a ceiling of 2^31-1. A document's relevance score is
-- not computed for suggestions, so sort expressions cannot reference the
-- _score value. To sort suggestions using a numeric field or
-- existing expression, simply specify the name of the field or
-- expression. If no expression is configured for the suggester, the
-- suggestions are sorted with the closest matches listed first.
[$sel:sortExpression:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Maybe Text
-- | The name of the index field you want to use for suggestions.
[$sel:sourceField:DocumentSuggesterOptions'] :: DocumentSuggesterOptions -> Text
-- | Create a value of DocumentSuggesterOptions 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:fuzzyMatching:DocumentSuggesterOptions',
-- documentSuggesterOptions_fuzzyMatching - The level of fuzziness
-- allowed when suggesting matches for a string: none,
-- low, or high. With none, the specified string is
-- treated as an exact prefix. With low, suggestions must differ from the
-- specified string by no more than one character. With high, suggestions
-- can differ by up to two characters. The default is none.
--
-- $sel:sortExpression:DocumentSuggesterOptions',
-- documentSuggesterOptions_sortExpression - An expression that
-- computes a score for each suggestion to control how they are sorted.
-- The scores are rounded to the nearest integer, with a floor of 0 and a
-- ceiling of 2^31-1. A document's relevance score is not computed for
-- suggestions, so sort expressions cannot reference the _score
-- value. To sort suggestions using a numeric field or existing
-- expression, simply specify the name of the field or expression. If no
-- expression is configured for the suggester, the suggestions are sorted
-- with the closest matches listed first.
--
-- $sel:sourceField:DocumentSuggesterOptions',
-- documentSuggesterOptions_sourceField - The name of the index
-- field you want to use for suggestions.
newDocumentSuggesterOptions :: Text -> DocumentSuggesterOptions
-- | The level of fuzziness allowed when suggesting matches for a string:
-- none, low, or high. With none, the
-- specified string is treated as an exact prefix. With low, suggestions
-- must differ from the specified string by no more than one character.
-- With high, suggestions can differ by up to two characters. The default
-- is none.
documentSuggesterOptions_fuzzyMatching :: Lens' DocumentSuggesterOptions (Maybe SuggesterFuzzyMatching)
-- | An expression that computes a score for each suggestion to control how
-- they are sorted. The scores are rounded to the nearest integer, with a
-- floor of 0 and a ceiling of 2^31-1. A document's relevance score is
-- not computed for suggestions, so sort expressions cannot reference the
-- _score value. To sort suggestions using a numeric field or
-- existing expression, simply specify the name of the field or
-- expression. If no expression is configured for the suggester, the
-- suggestions are sorted with the closest matches listed first.
documentSuggesterOptions_sortExpression :: Lens' DocumentSuggesterOptions (Maybe Text)
-- | The name of the index field you want to use for suggestions.
documentSuggesterOptions_sourceField :: Lens' DocumentSuggesterOptions Text
-- | The domain's endpoint options.
--
-- See: newDomainEndpointOptions smart constructor.
data DomainEndpointOptions
DomainEndpointOptions' :: Maybe Bool -> Maybe TLSSecurityPolicy -> DomainEndpointOptions
-- | Whether the domain is HTTPS only enabled.
[$sel:enforceHTTPS:DomainEndpointOptions'] :: DomainEndpointOptions -> Maybe Bool
-- | The minimum required TLS version
[$sel:tLSSecurityPolicy:DomainEndpointOptions'] :: DomainEndpointOptions -> Maybe TLSSecurityPolicy
-- | Create a value of DomainEndpointOptions 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:enforceHTTPS:DomainEndpointOptions',
-- domainEndpointOptions_enforceHTTPS - Whether the domain is
-- HTTPS only enabled.
--
-- $sel:tLSSecurityPolicy:DomainEndpointOptions',
-- domainEndpointOptions_tLSSecurityPolicy - The minimum required
-- TLS version
newDomainEndpointOptions :: DomainEndpointOptions
-- | Whether the domain is HTTPS only enabled.
domainEndpointOptions_enforceHTTPS :: Lens' DomainEndpointOptions (Maybe Bool)
-- | The minimum required TLS version
domainEndpointOptions_tLSSecurityPolicy :: Lens' DomainEndpointOptions (Maybe TLSSecurityPolicy)
-- | The configuration and status of the domain's endpoint options.
--
-- See: newDomainEndpointOptionsStatus smart constructor.
data DomainEndpointOptionsStatus
DomainEndpointOptionsStatus' :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | The domain endpoint options configured for the domain.
[$sel:options:DomainEndpointOptionsStatus'] :: DomainEndpointOptionsStatus -> DomainEndpointOptions
-- | The status of the configured domain endpoint options.
[$sel:status:DomainEndpointOptionsStatus'] :: DomainEndpointOptionsStatus -> OptionStatus
-- | Create a value of DomainEndpointOptionsStatus 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:options:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_options - The domain endpoint
-- options configured for the domain.
--
-- $sel:status:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_status - The status of the
-- configured domain endpoint options.
newDomainEndpointOptionsStatus :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | The domain endpoint options configured for the domain.
domainEndpointOptionsStatus_options :: Lens' DomainEndpointOptionsStatus DomainEndpointOptions
-- | The status of the configured domain endpoint options.
domainEndpointOptionsStatus_status :: Lens' DomainEndpointOptionsStatus OptionStatus
-- | The current status of the search domain.
--
-- See: newDomainStatus smart constructor.
data DomainStatus
DomainStatus' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ServiceEndpoint -> Maybe Limits -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ServiceEndpoint -> Text -> Text -> Bool -> DomainStatus
[$sel:arn:DomainStatus'] :: DomainStatus -> Maybe Text
-- | True if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
[$sel:created:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | True if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
[$sel:deleted:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | The service endpoint for updating documents in a search domain.
[$sel:docService:DomainStatus'] :: DomainStatus -> Maybe ServiceEndpoint
[$sel:limits:DomainStatus'] :: DomainStatus -> Maybe Limits
-- | True if processing is being done to activate the current domain
-- configuration.
[$sel:processing:DomainStatus'] :: DomainStatus -> Maybe Bool
-- | The number of search instances that are available to process search
-- requests.
[$sel:searchInstanceCount:DomainStatus'] :: DomainStatus -> Maybe Natural
-- | The instance type that is being used to process search requests.
[$sel:searchInstanceType:DomainStatus'] :: DomainStatus -> Maybe Text
-- | The number of partitions across which the search index is spread.
[$sel:searchPartitionCount:DomainStatus'] :: DomainStatus -> Maybe Natural
-- | The service endpoint for requesting search results from a search
-- domain.
[$sel:searchService:DomainStatus'] :: DomainStatus -> Maybe ServiceEndpoint
[$sel:domainId:DomainStatus'] :: DomainStatus -> Text
[$sel:domainName:DomainStatus'] :: DomainStatus -> Text
-- | True if IndexDocuments needs to be called to activate the current
-- domain configuration.
[$sel:requiresIndexDocuments:DomainStatus'] :: DomainStatus -> Bool
-- | Create a value of DomainStatus 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:arn:DomainStatus', domainStatus_arn - Undocumented
-- member.
--
-- $sel:created:DomainStatus', domainStatus_created - True
-- if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
--
-- $sel:deleted:DomainStatus', domainStatus_deleted - True
-- if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
--
-- $sel:docService:DomainStatus', domainStatus_docService -
-- The service endpoint for updating documents in a search domain.
--
-- $sel:limits:DomainStatus', domainStatus_limits -
-- Undocumented member.
--
-- $sel:processing:DomainStatus', domainStatus_processing -
-- True if processing is being done to activate the current domain
-- configuration.
--
-- $sel:searchInstanceCount:DomainStatus',
-- domainStatus_searchInstanceCount - The number of search
-- instances that are available to process search requests.
--
-- $sel:searchInstanceType:DomainStatus',
-- domainStatus_searchInstanceType - The instance type that is
-- being used to process search requests.
--
-- $sel:searchPartitionCount:DomainStatus',
-- domainStatus_searchPartitionCount - The number of partitions
-- across which the search index is spread.
--
-- $sel:searchService:DomainStatus',
-- domainStatus_searchService - The service endpoint for
-- requesting search results from a search domain.
--
-- $sel:domainId:DomainStatus', domainStatus_domainId -
-- Undocumented member.
--
-- $sel:domainName:DomainStatus', domainStatus_domainName -
-- Undocumented member.
--
-- $sel:requiresIndexDocuments:DomainStatus',
-- domainStatus_requiresIndexDocuments - True if IndexDocuments
-- needs to be called to activate the current domain configuration.
newDomainStatus :: Text -> Text -> Bool -> DomainStatus
-- | Undocumented member.
domainStatus_arn :: Lens' DomainStatus (Maybe Text)
-- | True if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
domainStatus_created :: Lens' DomainStatus (Maybe Bool)
-- | True if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
domainStatus_deleted :: Lens' DomainStatus (Maybe Bool)
-- | The service endpoint for updating documents in a search domain.
domainStatus_docService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_limits :: Lens' DomainStatus (Maybe Limits)
-- | True if processing is being done to activate the current domain
-- configuration.
domainStatus_processing :: Lens' DomainStatus (Maybe Bool)
-- | The number of search instances that are available to process search
-- requests.
domainStatus_searchInstanceCount :: Lens' DomainStatus (Maybe Natural)
-- | The instance type that is being used to process search requests.
domainStatus_searchInstanceType :: Lens' DomainStatus (Maybe Text)
-- | The number of partitions across which the search index is spread.
domainStatus_searchPartitionCount :: Lens' DomainStatus (Maybe Natural)
-- | The service endpoint for requesting search results from a search
-- domain.
domainStatus_searchService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_domainId :: Lens' DomainStatus Text
-- | Undocumented member.
domainStatus_domainName :: Lens' DomainStatus Text
-- | True if IndexDocuments needs to be called to activate the current
-- domain configuration.
domainStatus_requiresIndexDocuments :: Lens' DomainStatus Bool
-- | Options for a field that contains an array of double-precision 64-bit
-- floating point values. Present if IndexFieldType specifies
-- the field is of type double-array. All options are enabled by
-- default.
--
-- See: newDoubleArrayOptions smart constructor.
data DoubleArrayOptions
DoubleArrayOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Double
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:DoubleArrayOptions'] :: DoubleArrayOptions -> Maybe Text
-- | Create a value of DoubleArrayOptions 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:DoubleArrayOptions',
-- doubleArrayOptions_defaultValue - A value to use for the field
-- if the field isn't specified for a document.
--
-- $sel:facetEnabled:DoubleArrayOptions',
-- doubleArrayOptions_facetEnabled - Whether facet information can
-- be returned for the field.
--
-- $sel:returnEnabled:DoubleArrayOptions',
-- doubleArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:DoubleArrayOptions',
-- doubleArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:DoubleArrayOptions',
-- doubleArrayOptions_sourceFields - A list of source fields to
-- map to the field.
newDoubleArrayOptions :: DoubleArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
doubleArrayOptions_defaultValue :: Lens' DoubleArrayOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleArrayOptions_facetEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleArrayOptions_returnEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleArrayOptions_searchEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
doubleArrayOptions_sourceFields :: Lens' DoubleArrayOptions (Maybe Text)
-- | Options for a double-precision 64-bit floating point field. Present if
-- IndexFieldType specifies the field is of type
-- double. All options are enabled by default.
--
-- See: newDoubleOptions smart constructor.
data DoubleOptions
DoubleOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
[$sel:defaultValue:DoubleOptions'] :: DoubleOptions -> Maybe Double
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:DoubleOptions'] :: DoubleOptions -> Maybe Bool
-- | The name of the source field to map to the field.
[$sel:sourceField:DoubleOptions'] :: DoubleOptions -> Maybe Text
-- | Create a value of DoubleOptions 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:DoubleOptions',
-- doubleOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document. This can be important if you
-- are using the field in an expression and that field is not present in
-- every document.
--
-- $sel:facetEnabled:DoubleOptions',
-- doubleOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:DoubleOptions',
-- doubleOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:DoubleOptions',
-- doubleOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:DoubleOptions',
-- doubleOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:DoubleOptions',
-- doubleOptions_sourceField - The name of the source field to map
-- to the field.
newDoubleOptions :: DoubleOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | The name of the source field to map to the field.
doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text)
-- | A named expression that can be evaluated at search time. Can be used
-- to sort the search results, define other expressions, or return
-- computed information in the search results.
--
-- See: newExpression smart constructor.
data Expression
Expression' :: Text -> Text -> Expression
[$sel:expressionName:Expression'] :: Expression -> Text
[$sel:expressionValue:Expression'] :: Expression -> Text
-- | Create a value of Expression 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:expressionName:Expression',
-- expression_expressionName - Undocumented member.
--
-- $sel:expressionValue:Expression',
-- expression_expressionValue - Undocumented member.
newExpression :: Text -> Text -> Expression
-- | Undocumented member.
expression_expressionName :: Lens' Expression Text
-- | Undocumented member.
expression_expressionValue :: Lens' Expression Text
-- | The value of an Expression and its current status.
--
-- See: newExpressionStatus smart constructor.
data ExpressionStatus
ExpressionStatus' :: Expression -> OptionStatus -> ExpressionStatus
-- | The expression that is evaluated for sorting while processing a search
-- request.
[$sel:options:ExpressionStatus'] :: ExpressionStatus -> Expression
[$sel:status:ExpressionStatus'] :: ExpressionStatus -> OptionStatus
-- | Create a value of ExpressionStatus 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:options:ExpressionStatus', expressionStatus_options
-- - The expression that is evaluated for sorting while processing a
-- search request.
--
-- $sel:status:ExpressionStatus', expressionStatus_status -
-- Undocumented member.
newExpressionStatus :: Expression -> OptionStatus -> ExpressionStatus
-- | The expression that is evaluated for sorting while processing a search
-- request.
expressionStatus_options :: Lens' ExpressionStatus Expression
-- | Undocumented member.
expressionStatus_status :: Lens' ExpressionStatus OptionStatus
-- | Configuration information for a field in the index, including its
-- name, type, and options. The supported options depend on the
-- IndexFieldType.
--
-- See: newIndexField smart constructor.
data IndexField
IndexField' :: Maybe DateArrayOptions -> Maybe DateOptions -> Maybe DoubleArrayOptions -> Maybe DoubleOptions -> Maybe IntArrayOptions -> Maybe IntOptions -> Maybe LatLonOptions -> Maybe LiteralArrayOptions -> Maybe LiteralOptions -> Maybe TextArrayOptions -> Maybe TextOptions -> Text -> IndexFieldType -> IndexField
[$sel:dateArrayOptions:IndexField'] :: IndexField -> Maybe DateArrayOptions
[$sel:dateOptions:IndexField'] :: IndexField -> Maybe DateOptions
[$sel:doubleArrayOptions:IndexField'] :: IndexField -> Maybe DoubleArrayOptions
[$sel:doubleOptions:IndexField'] :: IndexField -> Maybe DoubleOptions
[$sel:intArrayOptions:IndexField'] :: IndexField -> Maybe IntArrayOptions
[$sel:intOptions:IndexField'] :: IndexField -> Maybe IntOptions
[$sel:latLonOptions:IndexField'] :: IndexField -> Maybe LatLonOptions
[$sel:literalArrayOptions:IndexField'] :: IndexField -> Maybe LiteralArrayOptions
[$sel:literalOptions:IndexField'] :: IndexField -> Maybe LiteralOptions
[$sel:textArrayOptions:IndexField'] :: IndexField -> Maybe TextArrayOptions
[$sel:textOptions:IndexField'] :: IndexField -> Maybe TextOptions
-- | A string that represents the name of an index field. CloudSearch
-- supports regular index fields as well as dynamic fields. A dynamic
-- field's name defines a pattern that begins or ends with a wildcard.
-- Any document fields that don't map to a regular index field but do
-- match a dynamic field's pattern are configured with the dynamic
-- field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
[$sel:indexFieldName:IndexField'] :: IndexField -> Text
[$sel:indexFieldType:IndexField'] :: IndexField -> IndexFieldType
-- | Create a value of IndexField 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:dateArrayOptions:IndexField',
-- indexField_dateArrayOptions - Undocumented member.
--
-- $sel:dateOptions:IndexField', indexField_dateOptions -
-- Undocumented member.
--
-- $sel:doubleArrayOptions:IndexField',
-- indexField_doubleArrayOptions - Undocumented member.
--
-- $sel:doubleOptions:IndexField', indexField_doubleOptions
-- - Undocumented member.
--
-- $sel:intArrayOptions:IndexField',
-- indexField_intArrayOptions - Undocumented member.
--
-- $sel:intOptions:IndexField', indexField_intOptions -
-- Undocumented member.
--
-- $sel:latLonOptions:IndexField', indexField_latLonOptions
-- - Undocumented member.
--
-- $sel:literalArrayOptions:IndexField',
-- indexField_literalArrayOptions - Undocumented member.
--
-- $sel:literalOptions:IndexField',
-- indexField_literalOptions - Undocumented member.
--
-- $sel:textArrayOptions:IndexField',
-- indexField_textArrayOptions - Undocumented member.
--
-- $sel:textOptions:IndexField', indexField_textOptions -
-- Undocumented member.
--
-- $sel:indexFieldName:IndexField',
-- indexField_indexFieldName - A string that represents the name
-- of an index field. CloudSearch supports regular index fields as well
-- as dynamic fields. A dynamic field's name defines a pattern that
-- begins or ends with a wildcard. Any document fields that don't map to
-- a regular index field but do match a dynamic field's pattern are
-- configured with the dynamic field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
--
-- $sel:indexFieldType:IndexField',
-- indexField_indexFieldType - Undocumented member.
newIndexField :: Text -> IndexFieldType -> IndexField
-- | Undocumented member.
indexField_dateArrayOptions :: Lens' IndexField (Maybe DateArrayOptions)
-- | Undocumented member.
indexField_dateOptions :: Lens' IndexField (Maybe DateOptions)
-- | Undocumented member.
indexField_doubleArrayOptions :: Lens' IndexField (Maybe DoubleArrayOptions)
-- | Undocumented member.
indexField_doubleOptions :: Lens' IndexField (Maybe DoubleOptions)
-- | Undocumented member.
indexField_intArrayOptions :: Lens' IndexField (Maybe IntArrayOptions)
-- | Undocumented member.
indexField_intOptions :: Lens' IndexField (Maybe IntOptions)
-- | Undocumented member.
indexField_latLonOptions :: Lens' IndexField (Maybe LatLonOptions)
-- | Undocumented member.
indexField_literalArrayOptions :: Lens' IndexField (Maybe LiteralArrayOptions)
-- | Undocumented member.
indexField_literalOptions :: Lens' IndexField (Maybe LiteralOptions)
-- | Undocumented member.
indexField_textArrayOptions :: Lens' IndexField (Maybe TextArrayOptions)
-- | Undocumented member.
indexField_textOptions :: Lens' IndexField (Maybe TextOptions)
-- | A string that represents the name of an index field. CloudSearch
-- supports regular index fields as well as dynamic fields. A dynamic
-- field's name defines a pattern that begins or ends with a wildcard.
-- Any document fields that don't map to a regular index field but do
-- match a dynamic field's pattern are configured with the dynamic
-- field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
indexField_indexFieldName :: Lens' IndexField Text
-- | Undocumented member.
indexField_indexFieldType :: Lens' IndexField IndexFieldType
-- | The value of an IndexField and its current status.
--
-- See: newIndexFieldStatus smart constructor.
data IndexFieldStatus
IndexFieldStatus' :: IndexField -> OptionStatus -> IndexFieldStatus
[$sel:options:IndexFieldStatus'] :: IndexFieldStatus -> IndexField
[$sel:status:IndexFieldStatus'] :: IndexFieldStatus -> OptionStatus
-- | Create a value of IndexFieldStatus 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:options:IndexFieldStatus', indexFieldStatus_options
-- - Undocumented member.
--
-- $sel:status:IndexFieldStatus', indexFieldStatus_status -
-- Undocumented member.
newIndexFieldStatus :: IndexField -> OptionStatus -> IndexFieldStatus
-- | Undocumented member.
indexFieldStatus_options :: Lens' IndexFieldStatus IndexField
-- | Undocumented member.
indexFieldStatus_status :: Lens' IndexFieldStatus OptionStatus
-- | Options for a field that contains an array of 64-bit signed integers.
-- Present if IndexFieldType specifies the field is of type
-- int-array. All options are enabled by default.
--
-- See: newIntArrayOptions smart constructor.
data IntArrayOptions
IntArrayOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:IntArrayOptions'] :: IntArrayOptions -> Maybe Integer
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:IntArrayOptions'] :: IntArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:IntArrayOptions'] :: IntArrayOptions -> Maybe Text
-- | Create a value of IntArrayOptions 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:IntArrayOptions',
-- intArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:IntArrayOptions',
-- intArrayOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:IntArrayOptions',
-- intArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:IntArrayOptions',
-- intArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:IntArrayOptions',
-- intArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newIntArrayOptions :: IntArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
intArrayOptions_defaultValue :: Lens' IntArrayOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intArrayOptions_facetEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intArrayOptions_returnEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intArrayOptions_searchEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
intArrayOptions_sourceFields :: Lens' IntArrayOptions (Maybe Text)
-- | Options for a 64-bit signed integer field. Present if
-- IndexFieldType specifies the field is of type int.
-- All options are enabled by default.
--
-- See: newIntOptions smart constructor.
data IntOptions
IntOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
[$sel:defaultValue:IntOptions'] :: IntOptions -> Maybe Integer
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:IntOptions'] :: IntOptions -> Maybe Bool
-- | The name of the source field to map to the field.
[$sel:sourceField:IntOptions'] :: IntOptions -> Maybe Text
-- | Create a value of IntOptions 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:IntOptions', intOptions_defaultValue -
-- A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
--
-- $sel:facetEnabled:IntOptions', intOptions_facetEnabled -
-- Whether facet information can be returned for the field.
--
-- $sel:returnEnabled:IntOptions', intOptions_returnEnabled
-- - Whether the contents of the field can be returned in the search
-- results.
--
-- $sel:searchEnabled:IntOptions', intOptions_searchEnabled
-- - Whether the contents of the field are searchable.
--
-- $sel:sortEnabled:IntOptions', intOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:IntOptions', intOptions_sourceField -
-- The name of the source field to map to the field.
newIntOptions :: IntOptions
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
intOptions_defaultValue :: Lens' IntOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intOptions_facetEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intOptions_returnEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intOptions_searchEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
intOptions_sortEnabled :: Lens' IntOptions (Maybe Bool)
-- | The name of the source field to map to the field.
intOptions_sourceField :: Lens' IntOptions (Maybe Text)
-- | Options for a latlon field. A latlon field contains a location stored
-- as a latitude and longitude value pair. Present if
-- IndexFieldType specifies the field is of type
-- latlon. All options are enabled by default.
--
-- See: newLatLonOptions smart constructor.
data LatLonOptions
LatLonOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LatLonOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LatLonOptions'] :: LatLonOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:LatLonOptions'] :: LatLonOptions -> Maybe Bool
[$sel:sourceField:LatLonOptions'] :: LatLonOptions -> Maybe Text
-- | Create a value of LatLonOptions 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:LatLonOptions',
-- latLonOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LatLonOptions',
-- latLonOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LatLonOptions',
-- latLonOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:LatLonOptions',
-- latLonOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:LatLonOptions',
-- latLonOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LatLonOptions',
-- latLonOptions_sourceField - Undocumented member.
newLatLonOptions :: LatLonOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
latLonOptions_defaultValue :: Lens' LatLonOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
latLonOptions_facetEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
latLonOptions_returnEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
latLonOptions_searchEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
latLonOptions_sortEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Undocumented member.
latLonOptions_sourceField :: Lens' LatLonOptions (Maybe Text)
-- | See: newLimits smart constructor.
data Limits
Limits' :: Natural -> Natural -> Limits
[$sel:maximumReplicationCount:Limits'] :: Limits -> Natural
[$sel:maximumPartitionCount:Limits'] :: Limits -> Natural
-- | Create a value of Limits 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:maximumReplicationCount:Limits',
-- limits_maximumReplicationCount - Undocumented member.
--
-- $sel:maximumPartitionCount:Limits',
-- limits_maximumPartitionCount - Undocumented member.
newLimits :: Natural -> Natural -> Limits
-- | Undocumented member.
limits_maximumReplicationCount :: Lens' Limits Natural
-- | Undocumented member.
limits_maximumPartitionCount :: Lens' Limits Natural
-- | 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.
data LiteralArrayOptions
LiteralArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:LiteralArrayOptions'] :: LiteralArrayOptions -> Maybe Text
-- | 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.
newLiteralArrayOptions :: LiteralArrayOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text)
-- | Options for literal field. Present if IndexFieldType
-- specifies the field is of type literal. All options are
-- enabled by default.
--
-- See: newLiteralOptions smart constructor.
data LiteralOptions
LiteralOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:LiteralOptions'] :: LiteralOptions -> Maybe Text
-- | Whether facet information can be returned for the field.
[$sel:facetEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the contents of the field are searchable.
[$sel:searchEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:LiteralOptions'] :: LiteralOptions -> Maybe Bool
[$sel:sourceField:LiteralOptions'] :: LiteralOptions -> Maybe Text
-- | Create a value of LiteralOptions 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:LiteralOptions',
-- literalOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LiteralOptions',
-- literalOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LiteralOptions',
-- literalOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:LiteralOptions',
-- literalOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sortEnabled:LiteralOptions',
-- literalOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LiteralOptions',
-- literalOptions_sourceField - Undocumented member.
newLiteralOptions :: LiteralOptions
-- | A value to use for the field if the field isn't specified for a
-- document.
literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Undocumented member.
literalOptions_sourceField :: Lens' LiteralOptions (Maybe Text)
-- | The status of domain configuration option.
--
-- See: newOptionStatus smart constructor.
data OptionStatus
OptionStatus' :: Maybe Bool -> Maybe Natural -> ISO8601 -> ISO8601 -> OptionState -> OptionStatus
-- | Indicates that the option will be deleted once processing is complete.
[$sel:pendingDeletion:OptionStatus'] :: OptionStatus -> Maybe Bool
-- | A unique integer that indicates when this option was last updated.
[$sel:updateVersion:OptionStatus'] :: OptionStatus -> Maybe Natural
-- | A timestamp for when this option was created.
[$sel:creationDate:OptionStatus'] :: OptionStatus -> ISO8601
-- | A timestamp for when this option was last updated.
[$sel:updateDate:OptionStatus'] :: OptionStatus -> ISO8601
-- | The state of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
[$sel:state:OptionStatus'] :: OptionStatus -> OptionState
-- | Create a value of OptionStatus 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:pendingDeletion:OptionStatus',
-- optionStatus_pendingDeletion - Indicates that the option will
-- be deleted once processing is complete.
--
-- $sel:updateVersion:OptionStatus',
-- optionStatus_updateVersion - A unique integer that indicates
-- when this option was last updated.
--
-- $sel:creationDate:OptionStatus',
-- optionStatus_creationDate - A timestamp for when this option
-- was created.
--
-- $sel:updateDate:OptionStatus', optionStatus_updateDate -
-- A timestamp for when this option was last updated.
--
-- $sel:state:OptionStatus', optionStatus_state - The state
-- of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
newOptionStatus :: UTCTime -> UTCTime -> OptionState -> OptionStatus
-- | Indicates that the option will be deleted once processing is complete.
optionStatus_pendingDeletion :: Lens' OptionStatus (Maybe Bool)
-- | A unique integer that indicates when this option was last updated.
optionStatus_updateVersion :: Lens' OptionStatus (Maybe Natural)
-- | A timestamp for when this option was created.
optionStatus_creationDate :: Lens' OptionStatus UTCTime
-- | A timestamp for when this option was last updated.
optionStatus_updateDate :: Lens' OptionStatus UTCTime
-- | The state of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
optionStatus_state :: Lens' OptionStatus OptionState
-- | The desired instance type and desired number of replicas of each index
-- partition.
--
-- See: newScalingParameters smart constructor.
data ScalingParameters
ScalingParameters' :: Maybe PartitionInstanceType -> Maybe Natural -> Maybe Natural -> ScalingParameters
-- | The instance type that you want to preconfigure for your domain. For
-- example, search.m1.small.
[$sel:desiredInstanceType:ScalingParameters'] :: ScalingParameters -> Maybe PartitionInstanceType
-- | The number of partitions you want to preconfigure for your domain.
-- Only valid when you select m2.2xlarge as the desired instance
-- type.
[$sel:desiredPartitionCount:ScalingParameters'] :: ScalingParameters -> Maybe Natural
-- | The number of replicas you want to preconfigure for each index
-- partition.
[$sel:desiredReplicationCount:ScalingParameters'] :: ScalingParameters -> Maybe Natural
-- | Create a value of ScalingParameters 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:desiredInstanceType:ScalingParameters',
-- scalingParameters_desiredInstanceType - The instance type that
-- you want to preconfigure for your domain. For example,
-- search.m1.small.
--
-- $sel:desiredPartitionCount:ScalingParameters',
-- scalingParameters_desiredPartitionCount - The number of
-- partitions you want to preconfigure for your domain. Only valid when
-- you select m2.2xlarge as the desired instance type.
--
-- $sel:desiredReplicationCount:ScalingParameters',
-- scalingParameters_desiredReplicationCount - The number of
-- replicas you want to preconfigure for each index partition.
newScalingParameters :: ScalingParameters
-- | The instance type that you want to preconfigure for your domain. For
-- example, search.m1.small.
scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType)
-- | The number of partitions you want to preconfigure for your domain.
-- Only valid when you select m2.2xlarge as the desired instance
-- type.
scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural)
-- | The number of replicas you want to preconfigure for each index
-- partition.
scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural)
-- | The status and configuration of a search domain's scaling parameters.
--
-- See: newScalingParametersStatus smart constructor.
data ScalingParametersStatus
ScalingParametersStatus' :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
[$sel:options:ScalingParametersStatus'] :: ScalingParametersStatus -> ScalingParameters
[$sel:status:ScalingParametersStatus'] :: ScalingParametersStatus -> OptionStatus
-- | Create a value of ScalingParametersStatus 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:options:ScalingParametersStatus',
-- scalingParametersStatus_options - Undocumented member.
--
-- $sel:status:ScalingParametersStatus',
-- scalingParametersStatus_status - Undocumented member.
newScalingParametersStatus :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
-- | Undocumented member.
scalingParametersStatus_options :: Lens' ScalingParametersStatus ScalingParameters
-- | Undocumented member.
scalingParametersStatus_status :: Lens' ScalingParametersStatus OptionStatus
-- | The endpoint to which service requests can be submitted.
--
-- See: newServiceEndpoint smart constructor.
data ServiceEndpoint
ServiceEndpoint' :: Maybe Text -> ServiceEndpoint
[$sel:endpoint:ServiceEndpoint'] :: ServiceEndpoint -> Maybe Text
-- | Create a value of ServiceEndpoint 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:endpoint:ServiceEndpoint', serviceEndpoint_endpoint
-- - Undocumented member.
newServiceEndpoint :: ServiceEndpoint
-- | Undocumented member.
serviceEndpoint_endpoint :: Lens' ServiceEndpoint (Maybe Text)
-- | Configuration information for a search suggester. Each suggester has a
-- unique name and specifies the text field you want to use for
-- suggestions. The following options can be configured for a suggester:
-- FuzzyMatching, SortExpression.
--
-- See: newSuggester smart constructor.
data Suggester
Suggester' :: Text -> DocumentSuggesterOptions -> Suggester
[$sel:suggesterName:Suggester'] :: Suggester -> Text
[$sel:documentSuggesterOptions:Suggester'] :: Suggester -> DocumentSuggesterOptions
-- | Create a value of Suggester 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:suggesterName:Suggester', suggester_suggesterName -
-- Undocumented member.
--
-- $sel:documentSuggesterOptions:Suggester',
-- suggester_documentSuggesterOptions - Undocumented member.
newSuggester :: Text -> DocumentSuggesterOptions -> Suggester
-- | Undocumented member.
suggester_suggesterName :: Lens' Suggester Text
-- | Undocumented member.
suggester_documentSuggesterOptions :: Lens' Suggester DocumentSuggesterOptions
-- | The value of a Suggester and its current status.
--
-- See: newSuggesterStatus smart constructor.
data SuggesterStatus
SuggesterStatus' :: Suggester -> OptionStatus -> SuggesterStatus
[$sel:options:SuggesterStatus'] :: SuggesterStatus -> Suggester
[$sel:status:SuggesterStatus'] :: SuggesterStatus -> OptionStatus
-- | Create a value of SuggesterStatus 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:options:SuggesterStatus', suggesterStatus_options -
-- Undocumented member.
--
-- $sel:status:SuggesterStatus', suggesterStatus_status -
-- Undocumented member.
newSuggesterStatus :: Suggester -> OptionStatus -> SuggesterStatus
-- | Undocumented member.
suggesterStatus_options :: Lens' SuggesterStatus Suggester
-- | Undocumented member.
suggesterStatus_status :: Lens' SuggesterStatus OptionStatus
-- | Options for a field that contains an array of text strings. Present if
-- IndexFieldType specifies the field is of type
-- text-array. A text-array field is always searchable.
-- All options are enabled by default.
--
-- See: newTextArrayOptions smart constructor.
data TextArrayOptions
TextArrayOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextArrayOptions
-- | The name of an analysis scheme for a text-array field.
[$sel:analysisScheme:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | Whether highlights can be returned for the field.
[$sel:highlightEnabled:TextArrayOptions'] :: TextArrayOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:TextArrayOptions'] :: TextArrayOptions -> Maybe Bool
-- | A list of source fields to map to the field.
[$sel:sourceFields:TextArrayOptions'] :: TextArrayOptions -> Maybe Text
-- | Create a value of TextArrayOptions 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:analysisScheme:TextArrayOptions',
-- textArrayOptions_analysisScheme - The name of an analysis
-- scheme for a text-array field.
--
-- $sel:defaultValue:TextArrayOptions',
-- textArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:highlightEnabled:TextArrayOptions',
-- textArrayOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextArrayOptions',
-- textArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:sourceFields:TextArrayOptions',
-- textArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newTextArrayOptions :: TextArrayOptions
-- | The name of an analysis scheme for a text-array field.
textArrayOptions_analysisScheme :: Lens' TextArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textArrayOptions_defaultValue :: Lens' TextArrayOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textArrayOptions_highlightEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textArrayOptions_returnEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
textArrayOptions_sourceFields :: Lens' TextArrayOptions (Maybe Text)
-- | Options for text field. Present if IndexFieldType specifies
-- the field is of type text. A text field is always
-- searchable. All options are enabled by default.
--
-- See: newTextOptions smart constructor.
data TextOptions
TextOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextOptions
-- | The name of an analysis scheme for a text field.
[$sel:analysisScheme:TextOptions'] :: TextOptions -> Maybe Text
-- | A value to use for the field if the field isn't specified for a
-- document.
[$sel:defaultValue:TextOptions'] :: TextOptions -> Maybe Text
-- | Whether highlights can be returned for the field.
[$sel:highlightEnabled:TextOptions'] :: TextOptions -> Maybe Bool
-- | Whether the contents of the field can be returned in the search
-- results.
[$sel:returnEnabled:TextOptions'] :: TextOptions -> Maybe Bool
-- | Whether the field can be used to sort the search results.
[$sel:sortEnabled:TextOptions'] :: TextOptions -> Maybe Bool
[$sel:sourceField:TextOptions'] :: TextOptions -> Maybe Text
-- | Create a value of TextOptions 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:analysisScheme:TextOptions',
-- textOptions_analysisScheme - The name of an analysis scheme for
-- a text field.
--
-- $sel:defaultValue:TextOptions', textOptions_defaultValue
-- - A value to use for the field if the field isn't specified for a
-- document.
--
-- $sel:highlightEnabled:TextOptions',
-- textOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextOptions',
-- textOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:sortEnabled:TextOptions', textOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:TextOptions', textOptions_sourceField -
-- Undocumented member.
newTextOptions :: TextOptions
-- | The name of an analysis scheme for a text field.
textOptions_analysisScheme :: Lens' TextOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textOptions_defaultValue :: Lens' TextOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool)
-- | Undocumented member.
textOptions_sourceField :: Lens' TextOptions (Maybe Text)
-- | Lists all search domains owned by an account.
module Amazonka.CloudSearch.ListDomainNames
-- | See: newListDomainNames smart constructor.
data ListDomainNames
ListDomainNames' :: ListDomainNames
-- | Create a value of ListDomainNames with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListDomainNames :: ListDomainNames
-- | The result of a ListDomainNames request. Contains a list of
-- the domains owned by an account.
--
-- See: newListDomainNamesResponse smart constructor.
data ListDomainNamesResponse
ListDomainNamesResponse' :: Maybe (HashMap Text Text) -> Int -> ListDomainNamesResponse
-- | The names of the search domains owned by an account.
[$sel:domainNames:ListDomainNamesResponse'] :: ListDomainNamesResponse -> Maybe (HashMap Text Text)
-- | The response's http status code.
[$sel:httpStatus:ListDomainNamesResponse'] :: ListDomainNamesResponse -> Int
-- | Create a value of ListDomainNamesResponse 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:domainNames:ListDomainNamesResponse',
-- listDomainNamesResponse_domainNames - The names of the search
-- domains owned by an account.
--
-- $sel:httpStatus:ListDomainNamesResponse',
-- listDomainNamesResponse_httpStatus - The response's http status
-- code.
newListDomainNamesResponse :: Int -> ListDomainNamesResponse
-- | The names of the search domains owned by an account.
listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance GHC.Show.Show Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance GHC.Read.Read Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance GHC.Classes.Eq Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance GHC.Generics.Generic Amazonka.CloudSearch.ListDomainNames.ListDomainNamesResponse
instance GHC.Show.Show Amazonka.CloudSearch.ListDomainNames.ListDomainNamesResponse
instance GHC.Read.Read Amazonka.CloudSearch.ListDomainNames.ListDomainNamesResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.ListDomainNames.ListDomainNamesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance Control.DeepSeq.NFData Amazonka.CloudSearch.ListDomainNames.ListDomainNamesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance Control.DeepSeq.NFData Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.ListDomainNames.ListDomainNames
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.ListDomainNames.ListDomainNames
-- | Tells the search domain to start indexing its documents using the
-- latest indexing options. This operation must be invoked to activate
-- options whose OptionStatus is RequiresIndexDocuments.
module Amazonka.CloudSearch.IndexDocuments
-- | Container for the parameters to the IndexDocuments operation.
-- Specifies the name of the domain you want to re-index.
--
-- See: newIndexDocuments smart constructor.
data IndexDocuments
IndexDocuments' :: Text -> IndexDocuments
[$sel:domainName:IndexDocuments'] :: IndexDocuments -> Text
-- | Create a value of IndexDocuments 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:
--
-- IndexDocuments, indexDocuments_domainName - Undocumented
-- member.
newIndexDocuments :: Text -> IndexDocuments
-- | Undocumented member.
indexDocuments_domainName :: Lens' IndexDocuments Text
-- | The result of an IndexDocuments request. Contains the status
-- of the indexing operation, including the fields being indexed.
--
-- See: newIndexDocumentsResponse smart constructor.
data IndexDocumentsResponse
IndexDocumentsResponse' :: Maybe [Text] -> Int -> IndexDocumentsResponse
-- | The names of the fields that are currently being indexed.
[$sel:fieldNames:IndexDocumentsResponse'] :: IndexDocumentsResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:IndexDocumentsResponse'] :: IndexDocumentsResponse -> Int
-- | Create a value of IndexDocumentsResponse 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:fieldNames:IndexDocumentsResponse',
-- indexDocumentsResponse_fieldNames - The names of the fields
-- that are currently being indexed.
--
-- $sel:httpStatus:IndexDocumentsResponse',
-- indexDocumentsResponse_httpStatus - The response's http status
-- code.
newIndexDocumentsResponse :: Int -> IndexDocumentsResponse
-- | The names of the fields that are currently being indexed.
indexDocumentsResponse_fieldNames :: Lens' IndexDocumentsResponse (Maybe [Text])
-- | The response's http status code.
indexDocumentsResponse_httpStatus :: Lens' IndexDocumentsResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance GHC.Show.Show Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance GHC.Read.Read Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance GHC.Classes.Eq Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance GHC.Generics.Generic Amazonka.CloudSearch.IndexDocuments.IndexDocumentsResponse
instance GHC.Show.Show Amazonka.CloudSearch.IndexDocuments.IndexDocumentsResponse
instance GHC.Read.Read Amazonka.CloudSearch.IndexDocuments.IndexDocumentsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.IndexDocuments.IndexDocumentsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance Control.DeepSeq.NFData Amazonka.CloudSearch.IndexDocuments.IndexDocumentsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance Control.DeepSeq.NFData Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.IndexDocuments.IndexDocuments
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.IndexDocuments.IndexDocuments
-- | Gets the suggesters configured for a domain. A suggester enables you
-- to display possible matches before users finish typing their queries.
-- Can be limited to specific suggesters by name. By default, shows all
-- suggesters and includes any pending changes to the configuration. Set
-- the Deployed option to true to show the active
-- configuration and exclude pending changes. For more information, see
-- Getting Search Suggestions in the Amazon CloudSearch
-- Developer Guide.
module Amazonka.CloudSearch.DescribeSuggesters
-- | Container for the parameters to the DescribeSuggester
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular suggesters, specify the names of
-- the suggesters you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeSuggesters smart constructor.
data DescribeSuggesters
DescribeSuggesters' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeSuggesters
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeSuggesters'] :: DescribeSuggesters -> Maybe Bool
-- | The suggesters you want to describe.
[$sel:suggesterNames:DescribeSuggesters'] :: DescribeSuggesters -> Maybe [Text]
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeSuggesters'] :: DescribeSuggesters -> Text
-- | Create a value of DescribeSuggesters 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:deployed:DescribeSuggesters',
-- describeSuggesters_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:suggesterNames:DescribeSuggesters',
-- describeSuggesters_suggesterNames - The suggesters you want to
-- describe.
--
-- DescribeSuggesters, describeSuggesters_domainName - The
-- name of the domain you want to describe.
newDescribeSuggesters :: Text -> DescribeSuggesters
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeSuggesters_deployed :: Lens' DescribeSuggesters (Maybe Bool)
-- | The suggesters you want to describe.
describeSuggesters_suggesterNames :: Lens' DescribeSuggesters (Maybe [Text])
-- | The name of the domain you want to describe.
describeSuggesters_domainName :: Lens' DescribeSuggesters Text
-- | The result of a DescribeSuggesters request.
--
-- See: newDescribeSuggestersResponse smart constructor.
data DescribeSuggestersResponse
DescribeSuggestersResponse' :: Int -> [SuggesterStatus] -> DescribeSuggestersResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeSuggestersResponse'] :: DescribeSuggestersResponse -> Int
-- | The suggesters configured for the domain specified in the request.
[$sel:suggesters:DescribeSuggestersResponse'] :: DescribeSuggestersResponse -> [SuggesterStatus]
-- | Create a value of DescribeSuggestersResponse 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:httpStatus:DescribeSuggestersResponse',
-- describeSuggestersResponse_httpStatus - The response's http
-- status code.
--
-- $sel:suggesters:DescribeSuggestersResponse',
-- describeSuggestersResponse_suggesters - The suggesters
-- configured for the domain specified in the request.
newDescribeSuggestersResponse :: Int -> DescribeSuggestersResponse
-- | The response's http status code.
describeSuggestersResponse_httpStatus :: Lens' DescribeSuggestersResponse Int
-- | The suggesters configured for the domain specified in the request.
describeSuggestersResponse_suggesters :: Lens' DescribeSuggestersResponse [SuggesterStatus]
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance GHC.Show.Show Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance GHC.Read.Read Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggestersResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggestersResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggestersResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggestersResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggestersResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeSuggesters.DescribeSuggesters
-- | Gets information about the access policies that control access to the
-- domain's document and search endpoints. By default, shows the
-- configuration with any pending changes. Set the Deployed
-- option to true to show the active configuration and exclude
-- pending changes. For more information, see Configuring Access for a
-- Search Domain in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DescribeServiceAccessPolicies
-- | Container for the parameters to the
-- DescribeServiceAccessPolicies operation. Specifies the name
-- of the domain you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeServiceAccessPolicies smart constructor.
data DescribeServiceAccessPolicies
DescribeServiceAccessPolicies' :: Maybe Bool -> Text -> DescribeServiceAccessPolicies
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeServiceAccessPolicies'] :: DescribeServiceAccessPolicies -> Maybe Bool
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeServiceAccessPolicies'] :: DescribeServiceAccessPolicies -> Text
-- | Create a value of DescribeServiceAccessPolicies 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:deployed:DescribeServiceAccessPolicies',
-- describeServiceAccessPolicies_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeServiceAccessPolicies,
-- describeServiceAccessPolicies_domainName - The name of the
-- domain you want to describe.
newDescribeServiceAccessPolicies :: Text -> DescribeServiceAccessPolicies
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeServiceAccessPolicies_deployed :: Lens' DescribeServiceAccessPolicies (Maybe Bool)
-- | The name of the domain you want to describe.
describeServiceAccessPolicies_domainName :: Lens' DescribeServiceAccessPolicies Text
-- | The result of a DescribeServiceAccessPolicies request.
--
-- See: newDescribeServiceAccessPoliciesResponse smart
-- constructor.
data DescribeServiceAccessPoliciesResponse
DescribeServiceAccessPoliciesResponse' :: Int -> AccessPoliciesStatus -> DescribeServiceAccessPoliciesResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeServiceAccessPoliciesResponse'] :: DescribeServiceAccessPoliciesResponse -> Int
-- | The access rules configured for the domain specified in the request.
[$sel:accessPolicies:DescribeServiceAccessPoliciesResponse'] :: DescribeServiceAccessPoliciesResponse -> AccessPoliciesStatus
-- | Create a value of DescribeServiceAccessPoliciesResponse 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:httpStatus:DescribeServiceAccessPoliciesResponse',
-- describeServiceAccessPoliciesResponse_httpStatus - The
-- response's http status code.
--
-- $sel:accessPolicies:DescribeServiceAccessPoliciesResponse',
-- describeServiceAccessPoliciesResponse_accessPolicies - The
-- access rules configured for the domain specified in the request.
newDescribeServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> DescribeServiceAccessPoliciesResponse
-- | The response's http status code.
describeServiceAccessPoliciesResponse_httpStatus :: Lens' DescribeServiceAccessPoliciesResponse Int
-- | The access rules configured for the domain specified in the request.
describeServiceAccessPoliciesResponse_accessPolicies :: Lens' DescribeServiceAccessPoliciesResponse AccessPoliciesStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance GHC.Show.Show Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance GHC.Read.Read Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPoliciesResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPoliciesResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeServiceAccessPolicies.DescribeServiceAccessPolicies
-- | Gets the scaling parameters configured for a domain. A domain's
-- scaling parameters specify the desired search instance type and
-- replication count. For more information, see Configuring Scaling
-- Options in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DescribeScalingParameters
-- | Container for the parameters to the DescribeScalingParameters
-- operation. Specifies the name of the domain you want to describe.
--
-- See: newDescribeScalingParameters smart constructor.
data DescribeScalingParameters
DescribeScalingParameters' :: Text -> DescribeScalingParameters
[$sel:domainName:DescribeScalingParameters'] :: DescribeScalingParameters -> Text
-- | Create a value of DescribeScalingParameters 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:
--
-- DescribeScalingParameters,
-- describeScalingParameters_domainName - Undocumented member.
newDescribeScalingParameters :: Text -> DescribeScalingParameters
-- | Undocumented member.
describeScalingParameters_domainName :: Lens' DescribeScalingParameters Text
-- | The result of a DescribeScalingParameters request. Contains
-- the scaling parameters configured for the domain specified in the
-- request.
--
-- See: newDescribeScalingParametersResponse smart
-- constructor.
data DescribeScalingParametersResponse
DescribeScalingParametersResponse' :: Int -> ScalingParametersStatus -> DescribeScalingParametersResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeScalingParametersResponse'] :: DescribeScalingParametersResponse -> Int
[$sel:scalingParameters:DescribeScalingParametersResponse'] :: DescribeScalingParametersResponse -> ScalingParametersStatus
-- | Create a value of DescribeScalingParametersResponse 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:httpStatus:DescribeScalingParametersResponse',
-- describeScalingParametersResponse_httpStatus - The response's
-- http status code.
--
-- $sel:scalingParameters:DescribeScalingParametersResponse',
-- describeScalingParametersResponse_scalingParameters -
-- Undocumented member.
newDescribeScalingParametersResponse :: Int -> ScalingParametersStatus -> DescribeScalingParametersResponse
-- | The response's http status code.
describeScalingParametersResponse_httpStatus :: Lens' DescribeScalingParametersResponse Int
-- | Undocumented member.
describeScalingParametersResponse_scalingParameters :: Lens' DescribeScalingParametersResponse ScalingParametersStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance GHC.Show.Show Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance GHC.Read.Read Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParametersResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParametersResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParametersResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParametersResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParametersResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeScalingParameters.DescribeScalingParameters
-- | Gets information about the index fields configured for the search
-- domain. Can be limited to specific fields by name. By default, shows
-- all fields and includes any pending changes to the configuration. Set
-- the Deployed option to true to show the active
-- configuration and exclude pending changes. For more information, see
-- Getting Domain Information in the Amazon CloudSearch
-- Developer Guide.
module Amazonka.CloudSearch.DescribeIndexFields
-- | Container for the parameters to the DescribeIndexFields
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular index fields, specify the names of
-- the index fields you want to describe. To show the active
-- configuration and exclude any pending changes, set the
-- Deployed option to true.
--
-- See: newDescribeIndexFields smart constructor.
data DescribeIndexFields
DescribeIndexFields' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeIndexFields
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeIndexFields'] :: DescribeIndexFields -> Maybe Bool
-- | A list of the index fields you want to describe. If not specified,
-- information is returned for all configured index fields.
[$sel:fieldNames:DescribeIndexFields'] :: DescribeIndexFields -> Maybe [Text]
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeIndexFields'] :: DescribeIndexFields -> Text
-- | Create a value of DescribeIndexFields 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:deployed:DescribeIndexFields',
-- describeIndexFields_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:fieldNames:DescribeIndexFields',
-- describeIndexFields_fieldNames - A list of the index fields you
-- want to describe. If not specified, information is returned for all
-- configured index fields.
--
-- DescribeIndexFields, describeIndexFields_domainName -
-- The name of the domain you want to describe.
newDescribeIndexFields :: Text -> DescribeIndexFields
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeIndexFields_deployed :: Lens' DescribeIndexFields (Maybe Bool)
-- | A list of the index fields you want to describe. If not specified,
-- information is returned for all configured index fields.
describeIndexFields_fieldNames :: Lens' DescribeIndexFields (Maybe [Text])
-- | The name of the domain you want to describe.
describeIndexFields_domainName :: Lens' DescribeIndexFields Text
-- | The result of a DescribeIndexFields request. Contains the
-- index fields configured for the domain specified in the request.
--
-- See: newDescribeIndexFieldsResponse smart constructor.
data DescribeIndexFieldsResponse
DescribeIndexFieldsResponse' :: Int -> [IndexFieldStatus] -> DescribeIndexFieldsResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeIndexFieldsResponse'] :: DescribeIndexFieldsResponse -> Int
-- | The index fields configured for the domain.
[$sel:indexFields:DescribeIndexFieldsResponse'] :: DescribeIndexFieldsResponse -> [IndexFieldStatus]
-- | Create a value of DescribeIndexFieldsResponse 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:httpStatus:DescribeIndexFieldsResponse',
-- describeIndexFieldsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:indexFields:DescribeIndexFieldsResponse',
-- describeIndexFieldsResponse_indexFields - The index fields
-- configured for the domain.
newDescribeIndexFieldsResponse :: Int -> DescribeIndexFieldsResponse
-- | The response's http status code.
describeIndexFieldsResponse_httpStatus :: Lens' DescribeIndexFieldsResponse Int
-- | The index fields configured for the domain.
describeIndexFieldsResponse_indexFields :: Lens' DescribeIndexFieldsResponse [IndexFieldStatus]
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance GHC.Show.Show Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance GHC.Read.Read Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFieldsResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFieldsResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFieldsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFieldsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFieldsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeIndexFields.DescribeIndexFields
-- | Gets the expressions configured for the search domain. Can be limited
-- to specific expressions by name. By default, shows all expressions and
-- includes any pending changes to the configuration. Set the
-- Deployed option to true to show the active
-- configuration and exclude pending changes. For more information, see
-- Configuring Expressions in the Amazon CloudSearch Developer
-- Guide.
module Amazonka.CloudSearch.DescribeExpressions
-- | Container for the parameters to the DescribeDomains
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular expressions, specify the names of
-- the expressions you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeExpressions smart constructor.
data DescribeExpressions
DescribeExpressions' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeExpressions
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeExpressions'] :: DescribeExpressions -> Maybe Bool
-- | Limits the DescribeExpressions response to the specified
-- expressions. If not specified, all expressions are shown.
[$sel:expressionNames:DescribeExpressions'] :: DescribeExpressions -> Maybe [Text]
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeExpressions'] :: DescribeExpressions -> Text
-- | Create a value of DescribeExpressions 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:deployed:DescribeExpressions',
-- describeExpressions_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:expressionNames:DescribeExpressions',
-- describeExpressions_expressionNames - Limits the
-- DescribeExpressions response to the specified expressions. If
-- not specified, all expressions are shown.
--
-- DescribeExpressions, describeExpressions_domainName -
-- The name of the domain you want to describe.
newDescribeExpressions :: Text -> DescribeExpressions
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeExpressions_deployed :: Lens' DescribeExpressions (Maybe Bool)
-- | Limits the DescribeExpressions response to the specified
-- expressions. If not specified, all expressions are shown.
describeExpressions_expressionNames :: Lens' DescribeExpressions (Maybe [Text])
-- | The name of the domain you want to describe.
describeExpressions_domainName :: Lens' DescribeExpressions Text
-- | The result of a DescribeExpressions request. Contains the
-- expressions configured for the domain specified in the request.
--
-- See: newDescribeExpressionsResponse smart constructor.
data DescribeExpressionsResponse
DescribeExpressionsResponse' :: Int -> [ExpressionStatus] -> DescribeExpressionsResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeExpressionsResponse'] :: DescribeExpressionsResponse -> Int
-- | The expressions configured for the domain.
[$sel:expressions:DescribeExpressionsResponse'] :: DescribeExpressionsResponse -> [ExpressionStatus]
-- | Create a value of DescribeExpressionsResponse 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:httpStatus:DescribeExpressionsResponse',
-- describeExpressionsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:expressions:DescribeExpressionsResponse',
-- describeExpressionsResponse_expressions - The expressions
-- configured for the domain.
newDescribeExpressionsResponse :: Int -> DescribeExpressionsResponse
-- | The response's http status code.
describeExpressionsResponse_httpStatus :: Lens' DescribeExpressionsResponse Int
-- | The expressions configured for the domain.
describeExpressionsResponse_expressions :: Lens' DescribeExpressionsResponse [ExpressionStatus]
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance GHC.Show.Show Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance GHC.Read.Read Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeExpressions.DescribeExpressionsResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeExpressions.DescribeExpressionsResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeExpressions.DescribeExpressionsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeExpressions.DescribeExpressionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeExpressions.DescribeExpressionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeExpressions.DescribeExpressions
-- | Gets information about the search domains owned by this account. Can
-- be limited to specific domains. Shows all domains by default. To get
-- the number of searchable documents in a domain, use the console or
-- submit a matchall request to your domain's search endpoint:
-- q=matchall&q.parser=structured&size=0. For
-- more information, see Getting Information about a Search Domain
-- in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DescribeDomains
-- | Container for the parameters to the DescribeDomains
-- operation. By default shows the status of all domains. To restrict the
-- response to particular domains, specify the names of the domains you
-- want to describe.
--
-- See: newDescribeDomains smart constructor.
data DescribeDomains
DescribeDomains' :: Maybe [Text] -> DescribeDomains
-- | The names of the domains you want to include in the response.
[$sel:domainNames:DescribeDomains'] :: DescribeDomains -> Maybe [Text]
-- | Create a value of DescribeDomains 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:domainNames:DescribeDomains',
-- describeDomains_domainNames - The names of the domains you want
-- to include in the response.
newDescribeDomains :: DescribeDomains
-- | The names of the domains you want to include in the response.
describeDomains_domainNames :: Lens' DescribeDomains (Maybe [Text])
-- | The result of a DescribeDomains request. Contains the status
-- of the domains specified in the request or all domains owned by the
-- account.
--
-- See: newDescribeDomainsResponse smart constructor.
data DescribeDomainsResponse
DescribeDomainsResponse' :: Int -> [DomainStatus] -> DescribeDomainsResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeDomainsResponse'] :: DescribeDomainsResponse -> Int
[$sel:domainStatusList:DescribeDomainsResponse'] :: DescribeDomainsResponse -> [DomainStatus]
-- | Create a value of DescribeDomainsResponse 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:httpStatus:DescribeDomainsResponse',
-- describeDomainsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:domainStatusList:DescribeDomainsResponse',
-- describeDomainsResponse_domainStatusList - Undocumented member.
newDescribeDomainsResponse :: Int -> DescribeDomainsResponse
-- | The response's http status code.
describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int
-- | Undocumented member.
describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus]
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance GHC.Show.Show Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance GHC.Read.Read Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeDomains.DescribeDomainsResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeDomains.DescribeDomainsResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeDomains.DescribeDomainsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeDomains.DescribeDomainsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeDomains.DescribeDomainsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeDomains.DescribeDomains
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeDomains.DescribeDomains
-- | Returns the domain's endpoint options, specifically whether all
-- requests to the domain must arrive over HTTPS. For more information,
-- see Configuring Domain Endpoint Options in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.DescribeDomainEndpointOptions
-- | Container for the parameters to the
-- DescribeDomainEndpointOptions operation. Specify the name of
-- the domain you want to describe. To show the active configuration and
-- exclude any pending changes, set the Deployed option to true.
--
-- See: newDescribeDomainEndpointOptions smart constructor.
data DescribeDomainEndpointOptions
DescribeDomainEndpointOptions' :: Maybe Bool -> Text -> DescribeDomainEndpointOptions
-- | Whether to retrieve the latest configuration (which might be in a
-- Processing state) or the current, active configuration. Defaults to
-- false.
[$sel:deployed:DescribeDomainEndpointOptions'] :: DescribeDomainEndpointOptions -> Maybe Bool
-- | A string that represents the name of a domain.
[$sel:domainName:DescribeDomainEndpointOptions'] :: DescribeDomainEndpointOptions -> Text
-- | Create a value of DescribeDomainEndpointOptions 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:deployed:DescribeDomainEndpointOptions',
-- describeDomainEndpointOptions_deployed - Whether to retrieve
-- the latest configuration (which might be in a Processing state) or the
-- current, active configuration. Defaults to false.
--
-- DescribeDomainEndpointOptions,
-- describeDomainEndpointOptions_domainName - A string that
-- represents the name of a domain.
newDescribeDomainEndpointOptions :: Text -> DescribeDomainEndpointOptions
-- | Whether to retrieve the latest configuration (which might be in a
-- Processing state) or the current, active configuration. Defaults to
-- false.
describeDomainEndpointOptions_deployed :: Lens' DescribeDomainEndpointOptions (Maybe Bool)
-- | A string that represents the name of a domain.
describeDomainEndpointOptions_domainName :: Lens' DescribeDomainEndpointOptions Text
-- | The result of a DescribeDomainEndpointOptions request.
-- Contains the status and configuration of a search domain's endpoint
-- options.
--
-- See: newDescribeDomainEndpointOptionsResponse smart
-- constructor.
data DescribeDomainEndpointOptionsResponse
DescribeDomainEndpointOptionsResponse' :: Maybe DomainEndpointOptionsStatus -> Int -> DescribeDomainEndpointOptionsResponse
-- | The status and configuration of a search domain's endpoint options.
[$sel:domainEndpointOptions:DescribeDomainEndpointOptionsResponse'] :: DescribeDomainEndpointOptionsResponse -> Maybe DomainEndpointOptionsStatus
-- | The response's http status code.
[$sel:httpStatus:DescribeDomainEndpointOptionsResponse'] :: DescribeDomainEndpointOptionsResponse -> Int
-- | Create a value of DescribeDomainEndpointOptionsResponse 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:domainEndpointOptions:DescribeDomainEndpointOptionsResponse',
-- describeDomainEndpointOptionsResponse_domainEndpointOptions -
-- The status and configuration of a search domain's endpoint options.
--
-- $sel:httpStatus:DescribeDomainEndpointOptionsResponse',
-- describeDomainEndpointOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeDomainEndpointOptionsResponse :: Int -> DescribeDomainEndpointOptionsResponse
-- | The status and configuration of a search domain's endpoint options.
describeDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' DescribeDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus)
-- | The response's http status code.
describeDomainEndpointOptionsResponse_httpStatus :: Lens' DescribeDomainEndpointOptionsResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance GHC.Show.Show Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance GHC.Read.Read Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptionsResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptionsResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptionsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeDomainEndpointOptions.DescribeDomainEndpointOptions
-- | Gets the availability options configured for a domain. By default,
-- shows the configuration with any pending changes. Set the
-- Deployed option to true to show the active
-- configuration and exclude pending changes. For more information, see
-- Configuring Availability Options in the Amazon CloudSearch
-- Developer Guide.
module Amazonka.CloudSearch.DescribeAvailabilityOptions
-- | Container for the parameters to the
-- DescribeAvailabilityOptions operation. Specifies the name of
-- the domain you want to describe. To show the active configuration and
-- exclude any pending changes, set the Deployed option to true.
--
-- See: newDescribeAvailabilityOptions smart constructor.
data DescribeAvailabilityOptions
DescribeAvailabilityOptions' :: Maybe Bool -> Text -> DescribeAvailabilityOptions
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeAvailabilityOptions'] :: DescribeAvailabilityOptions -> Maybe Bool
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeAvailabilityOptions'] :: DescribeAvailabilityOptions -> Text
-- | Create a value of DescribeAvailabilityOptions 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:deployed:DescribeAvailabilityOptions',
-- describeAvailabilityOptions_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeAvailabilityOptions,
-- describeAvailabilityOptions_domainName - The name of the domain
-- you want to describe.
newDescribeAvailabilityOptions :: Text -> DescribeAvailabilityOptions
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeAvailabilityOptions_deployed :: Lens' DescribeAvailabilityOptions (Maybe Bool)
-- | The name of the domain you want to describe.
describeAvailabilityOptions_domainName :: Lens' DescribeAvailabilityOptions Text
-- | The result of a DescribeAvailabilityOptions request.
-- Indicates whether or not the Multi-AZ option is enabled for the domain
-- specified in the request.
--
-- See: newDescribeAvailabilityOptionsResponse smart
-- constructor.
data DescribeAvailabilityOptionsResponse
DescribeAvailabilityOptionsResponse' :: Maybe AvailabilityOptionsStatus -> Int -> DescribeAvailabilityOptionsResponse
-- | The availability options configured for the domain. Indicates whether
-- Multi-AZ is enabled for the domain.
[$sel:availabilityOptions:DescribeAvailabilityOptionsResponse'] :: DescribeAvailabilityOptionsResponse -> Maybe AvailabilityOptionsStatus
-- | The response's http status code.
[$sel:httpStatus:DescribeAvailabilityOptionsResponse'] :: DescribeAvailabilityOptionsResponse -> Int
-- | Create a value of DescribeAvailabilityOptionsResponse 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:availabilityOptions:DescribeAvailabilityOptionsResponse',
-- describeAvailabilityOptionsResponse_availabilityOptions - The
-- availability options configured for the domain. Indicates whether
-- Multi-AZ is enabled for the domain.
--
-- $sel:httpStatus:DescribeAvailabilityOptionsResponse',
-- describeAvailabilityOptionsResponse_httpStatus - The response's
-- http status code.
newDescribeAvailabilityOptionsResponse :: Int -> DescribeAvailabilityOptionsResponse
-- | The availability options configured for the domain. Indicates whether
-- Multi-AZ is enabled for the domain.
describeAvailabilityOptionsResponse_availabilityOptions :: Lens' DescribeAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
-- | The response's http status code.
describeAvailabilityOptionsResponse_httpStatus :: Lens' DescribeAvailabilityOptionsResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance GHC.Show.Show Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance GHC.Read.Read Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptionsResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptionsResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptionsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeAvailabilityOptions.DescribeAvailabilityOptions
-- | Gets the analysis schemes configured for a domain. An analysis scheme
-- defines language-specific text processing options for a text
-- field. Can be limited to specific analysis schemes by name. By
-- default, shows all analysis schemes and includes any pending changes
-- to the configuration. Set the Deployed option to
-- true to show the active configuration and exclude pending
-- changes. For more information, see Configuring Analysis Schemes
-- in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DescribeAnalysisSchemes
-- | Container for the parameters to the DescribeAnalysisSchemes
-- operation. Specifies the name of the domain you want to describe. To
-- limit the response to particular analysis schemes, specify the names
-- of the analysis schemes you want to describe. To show the active
-- configuration and exclude any pending changes, set the
-- Deployed option to true.
--
-- See: newDescribeAnalysisSchemes smart constructor.
data DescribeAnalysisSchemes
DescribeAnalysisSchemes' :: Maybe [Text] -> Maybe Bool -> Text -> DescribeAnalysisSchemes
-- | The analysis schemes you want to describe.
[$sel:analysisSchemeNames:DescribeAnalysisSchemes'] :: DescribeAnalysisSchemes -> Maybe [Text]
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
[$sel:deployed:DescribeAnalysisSchemes'] :: DescribeAnalysisSchemes -> Maybe Bool
-- | The name of the domain you want to describe.
[$sel:domainName:DescribeAnalysisSchemes'] :: DescribeAnalysisSchemes -> Text
-- | Create a value of DescribeAnalysisSchemes 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:analysisSchemeNames:DescribeAnalysisSchemes',
-- describeAnalysisSchemes_analysisSchemeNames - The analysis
-- schemes you want to describe.
--
-- $sel:deployed:DescribeAnalysisSchemes',
-- describeAnalysisSchemes_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeAnalysisSchemes,
-- describeAnalysisSchemes_domainName - The name of the domain you
-- want to describe.
newDescribeAnalysisSchemes :: Text -> DescribeAnalysisSchemes
-- | The analysis schemes you want to describe.
describeAnalysisSchemes_analysisSchemeNames :: Lens' DescribeAnalysisSchemes (Maybe [Text])
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeAnalysisSchemes_deployed :: Lens' DescribeAnalysisSchemes (Maybe Bool)
-- | The name of the domain you want to describe.
describeAnalysisSchemes_domainName :: Lens' DescribeAnalysisSchemes Text
-- | The result of a DescribeAnalysisSchemes request. Contains the
-- analysis schemes configured for the domain specified in the request.
--
-- See: newDescribeAnalysisSchemesResponse smart
-- constructor.
data DescribeAnalysisSchemesResponse
DescribeAnalysisSchemesResponse' :: Int -> [AnalysisSchemeStatus] -> DescribeAnalysisSchemesResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeAnalysisSchemesResponse'] :: DescribeAnalysisSchemesResponse -> Int
-- | The analysis scheme descriptions.
[$sel:analysisSchemes:DescribeAnalysisSchemesResponse'] :: DescribeAnalysisSchemesResponse -> [AnalysisSchemeStatus]
-- | Create a value of DescribeAnalysisSchemesResponse 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:httpStatus:DescribeAnalysisSchemesResponse',
-- describeAnalysisSchemesResponse_httpStatus - The response's
-- http status code.
--
-- $sel:analysisSchemes:DescribeAnalysisSchemesResponse',
-- describeAnalysisSchemesResponse_analysisSchemes - The analysis
-- scheme descriptions.
newDescribeAnalysisSchemesResponse :: Int -> DescribeAnalysisSchemesResponse
-- | The response's http status code.
describeAnalysisSchemesResponse_httpStatus :: Lens' DescribeAnalysisSchemesResponse Int
-- | The analysis scheme descriptions.
describeAnalysisSchemesResponse_analysisSchemes :: Lens' DescribeAnalysisSchemesResponse [AnalysisSchemeStatus]
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance GHC.Show.Show Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance GHC.Read.Read Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance GHC.Generics.Generic Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemesResponse
instance GHC.Show.Show Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemesResponse
instance GHC.Read.Read Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemesResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DescribeAnalysisSchemes.DescribeAnalysisSchemes
-- | Deletes a suggester. For more information, see Getting Search
-- Suggestions in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DeleteSuggester
-- | Container for the parameters to the DeleteSuggester
-- operation. Specifies the name of the domain you want to update and
-- name of the suggester you want to delete.
--
-- See: newDeleteSuggester smart constructor.
data DeleteSuggester
DeleteSuggester' :: Text -> Text -> DeleteSuggester
[$sel:domainName:DeleteSuggester'] :: DeleteSuggester -> Text
-- | Specifies the name of the suggester you want to delete.
[$sel:suggesterName:DeleteSuggester'] :: DeleteSuggester -> Text
-- | Create a value of DeleteSuggester 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:
--
-- DeleteSuggester, deleteSuggester_domainName -
-- Undocumented member.
--
-- DeleteSuggester, deleteSuggester_suggesterName -
-- Specifies the name of the suggester you want to delete.
newDeleteSuggester :: Text -> Text -> DeleteSuggester
-- | Undocumented member.
deleteSuggester_domainName :: Lens' DeleteSuggester Text
-- | Specifies the name of the suggester you want to delete.
deleteSuggester_suggesterName :: Lens' DeleteSuggester Text
-- | The result of a DeleteSuggester request. Contains the status
-- of the deleted suggester.
--
-- See: newDeleteSuggesterResponse smart constructor.
data DeleteSuggesterResponse
DeleteSuggesterResponse' :: Int -> SuggesterStatus -> DeleteSuggesterResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteSuggesterResponse'] :: DeleteSuggesterResponse -> Int
-- | The status of the suggester being deleted.
[$sel:suggester:DeleteSuggesterResponse'] :: DeleteSuggesterResponse -> SuggesterStatus
-- | Create a value of DeleteSuggesterResponse 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:httpStatus:DeleteSuggesterResponse',
-- deleteSuggesterResponse_httpStatus - The response's http status
-- code.
--
-- $sel:suggester:DeleteSuggesterResponse',
-- deleteSuggesterResponse_suggester - The status of the suggester
-- being deleted.
newDeleteSuggesterResponse :: Int -> SuggesterStatus -> DeleteSuggesterResponse
-- | The response's http status code.
deleteSuggesterResponse_httpStatus :: Lens' DeleteSuggesterResponse Int
-- | The status of the suggester being deleted.
deleteSuggesterResponse_suggester :: Lens' DeleteSuggesterResponse SuggesterStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance GHC.Show.Show Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance GHC.Read.Read Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteSuggester.DeleteSuggesterResponse
instance GHC.Show.Show Amazonka.CloudSearch.DeleteSuggester.DeleteSuggesterResponse
instance GHC.Read.Read Amazonka.CloudSearch.DeleteSuggester.DeleteSuggesterResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteSuggester.DeleteSuggesterResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteSuggester.DeleteSuggesterResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DeleteSuggester.DeleteSuggester
-- | Removes an IndexField from the search domain. For more
-- information, see Configuring Index Fields in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.DeleteIndexField
-- | Container for the parameters to the DeleteIndexField
-- operation. Specifies the name of the domain you want to update and the
-- name of the index field you want to delete.
--
-- See: newDeleteIndexField smart constructor.
data DeleteIndexField
DeleteIndexField' :: Text -> Text -> DeleteIndexField
[$sel:domainName:DeleteIndexField'] :: DeleteIndexField -> Text
-- | The name of the index field your want to remove from the domain's
-- indexing options.
[$sel:indexFieldName:DeleteIndexField'] :: DeleteIndexField -> Text
-- | Create a value of DeleteIndexField 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:
--
-- DeleteIndexField, deleteIndexField_domainName -
-- Undocumented member.
--
-- DeleteIndexField, deleteIndexField_indexFieldName - The
-- name of the index field your want to remove from the domain's indexing
-- options.
newDeleteIndexField :: Text -> Text -> DeleteIndexField
-- | Undocumented member.
deleteIndexField_domainName :: Lens' DeleteIndexField Text
-- | The name of the index field your want to remove from the domain's
-- indexing options.
deleteIndexField_indexFieldName :: Lens' DeleteIndexField Text
-- | The result of a DeleteIndexField request.
--
-- See: newDeleteIndexFieldResponse smart constructor.
data DeleteIndexFieldResponse
DeleteIndexFieldResponse' :: Int -> IndexFieldStatus -> DeleteIndexFieldResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteIndexFieldResponse'] :: DeleteIndexFieldResponse -> Int
-- | The status of the index field being deleted.
[$sel:indexField:DeleteIndexFieldResponse'] :: DeleteIndexFieldResponse -> IndexFieldStatus
-- | Create a value of DeleteIndexFieldResponse 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:httpStatus:DeleteIndexFieldResponse',
-- deleteIndexFieldResponse_httpStatus - The response's http
-- status code.
--
-- $sel:indexField:DeleteIndexFieldResponse',
-- deleteIndexFieldResponse_indexField - The status of the index
-- field being deleted.
newDeleteIndexFieldResponse :: Int -> IndexFieldStatus -> DeleteIndexFieldResponse
-- | The response's http status code.
deleteIndexFieldResponse_httpStatus :: Lens' DeleteIndexFieldResponse Int
-- | The status of the index field being deleted.
deleteIndexFieldResponse_indexField :: Lens' DeleteIndexFieldResponse IndexFieldStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance GHC.Show.Show Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance GHC.Read.Read Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteIndexField.DeleteIndexFieldResponse
instance GHC.Show.Show Amazonka.CloudSearch.DeleteIndexField.DeleteIndexFieldResponse
instance GHC.Read.Read Amazonka.CloudSearch.DeleteIndexField.DeleteIndexFieldResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteIndexField.DeleteIndexFieldResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteIndexField.DeleteIndexFieldResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DeleteIndexField.DeleteIndexField
-- | Removes an Expression from the search domain. For more
-- information, see Configuring Expressions in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.DeleteExpression
-- | Container for the parameters to the DeleteExpression
-- operation. Specifies the name of the domain you want to update and the
-- name of the expression you want to delete.
--
-- See: newDeleteExpression smart constructor.
data DeleteExpression
DeleteExpression' :: Text -> Text -> DeleteExpression
[$sel:domainName:DeleteExpression'] :: DeleteExpression -> Text
-- | The name of the Expression to delete.
[$sel:expressionName:DeleteExpression'] :: DeleteExpression -> Text
-- | Create a value of DeleteExpression 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:
--
-- DeleteExpression, deleteExpression_domainName -
-- Undocumented member.
--
-- DeleteExpression, deleteExpression_expressionName - The
-- name of the Expression to delete.
newDeleteExpression :: Text -> Text -> DeleteExpression
-- | Undocumented member.
deleteExpression_domainName :: Lens' DeleteExpression Text
-- | The name of the Expression to delete.
deleteExpression_expressionName :: Lens' DeleteExpression Text
-- | The result of a DeleteExpression request. Specifies the
-- expression being deleted.
--
-- See: newDeleteExpressionResponse smart constructor.
data DeleteExpressionResponse
DeleteExpressionResponse' :: Int -> ExpressionStatus -> DeleteExpressionResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteExpressionResponse'] :: DeleteExpressionResponse -> Int
-- | The status of the expression being deleted.
[$sel:expression:DeleteExpressionResponse'] :: DeleteExpressionResponse -> ExpressionStatus
-- | Create a value of DeleteExpressionResponse 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:httpStatus:DeleteExpressionResponse',
-- deleteExpressionResponse_httpStatus - The response's http
-- status code.
--
-- $sel:expression:DeleteExpressionResponse',
-- deleteExpressionResponse_expression - The status of the
-- expression being deleted.
newDeleteExpressionResponse :: Int -> ExpressionStatus -> DeleteExpressionResponse
-- | The response's http status code.
deleteExpressionResponse_httpStatus :: Lens' DeleteExpressionResponse Int
-- | The status of the expression being deleted.
deleteExpressionResponse_expression :: Lens' DeleteExpressionResponse ExpressionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance GHC.Show.Show Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance GHC.Read.Read Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteExpression.DeleteExpressionResponse
instance GHC.Show.Show Amazonka.CloudSearch.DeleteExpression.DeleteExpressionResponse
instance GHC.Read.Read Amazonka.CloudSearch.DeleteExpression.DeleteExpressionResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteExpression.DeleteExpressionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteExpression.DeleteExpressionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DeleteExpression.DeleteExpression
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DeleteExpression.DeleteExpression
-- | Permanently deletes a search domain and all of its data. Once a domain
-- has been deleted, it cannot be recovered. For more information, see
-- Deleting a Search Domain in the Amazon CloudSearch Developer
-- Guide.
module Amazonka.CloudSearch.DeleteDomain
-- | Container for the parameters to the DeleteDomain operation.
-- Specifies the name of the domain you want to delete.
--
-- See: newDeleteDomain smart constructor.
data DeleteDomain
DeleteDomain' :: Text -> DeleteDomain
-- | The name of the domain you want to permanently delete.
[$sel:domainName:DeleteDomain'] :: DeleteDomain -> Text
-- | Create a value of DeleteDomain 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:
--
-- DeleteDomain, deleteDomain_domainName - The name of the
-- domain you want to permanently delete.
newDeleteDomain :: Text -> DeleteDomain
-- | The name of the domain you want to permanently delete.
deleteDomain_domainName :: Lens' DeleteDomain Text
-- | The result of a DeleteDomain request. Contains the status of
-- a newly deleted domain, or no status if the domain has already been
-- completely deleted.
--
-- See: newDeleteDomainResponse smart constructor.
data DeleteDomainResponse
DeleteDomainResponse' :: Maybe DomainStatus -> Int -> DeleteDomainResponse
[$sel:domainStatus:DeleteDomainResponse'] :: DeleteDomainResponse -> Maybe DomainStatus
-- | The response's http status code.
[$sel:httpStatus:DeleteDomainResponse'] :: DeleteDomainResponse -> Int
-- | Create a value of DeleteDomainResponse 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:domainStatus:DeleteDomainResponse',
-- deleteDomainResponse_domainStatus - Undocumented member.
--
-- $sel:httpStatus:DeleteDomainResponse',
-- deleteDomainResponse_httpStatus - The response's http status
-- code.
newDeleteDomainResponse :: Int -> DeleteDomainResponse
-- | Undocumented member.
deleteDomainResponse_domainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus)
-- | The response's http status code.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance GHC.Show.Show Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance GHC.Read.Read Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteDomain.DeleteDomainResponse
instance GHC.Show.Show Amazonka.CloudSearch.DeleteDomain.DeleteDomainResponse
instance GHC.Read.Read Amazonka.CloudSearch.DeleteDomain.DeleteDomainResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteDomain.DeleteDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteDomain.DeleteDomainResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DeleteDomain.DeleteDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DeleteDomain.DeleteDomain
-- | Deletes an analysis scheme. For more information, see Configuring
-- Analysis Schemes in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DeleteAnalysisScheme
-- | Container for the parameters to the DeleteAnalysisScheme
-- operation. Specifies the name of the domain you want to update and the
-- analysis scheme you want to delete.
--
-- See: newDeleteAnalysisScheme smart constructor.
data DeleteAnalysisScheme
DeleteAnalysisScheme' :: Text -> Text -> DeleteAnalysisScheme
[$sel:domainName:DeleteAnalysisScheme'] :: DeleteAnalysisScheme -> Text
-- | The name of the analysis scheme you want to delete.
[$sel:analysisSchemeName:DeleteAnalysisScheme'] :: DeleteAnalysisScheme -> Text
-- | Create a value of DeleteAnalysisScheme 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:
--
-- DeleteAnalysisScheme, deleteAnalysisScheme_domainName -
-- Undocumented member.
--
-- DeleteAnalysisScheme,
-- deleteAnalysisScheme_analysisSchemeName - The name of the
-- analysis scheme you want to delete.
newDeleteAnalysisScheme :: Text -> Text -> DeleteAnalysisScheme
-- | Undocumented member.
deleteAnalysisScheme_domainName :: Lens' DeleteAnalysisScheme Text
-- | The name of the analysis scheme you want to delete.
deleteAnalysisScheme_analysisSchemeName :: Lens' DeleteAnalysisScheme Text
-- | The result of a DeleteAnalysisScheme request. Contains the
-- status of the deleted analysis scheme.
--
-- See: newDeleteAnalysisSchemeResponse smart constructor.
data DeleteAnalysisSchemeResponse
DeleteAnalysisSchemeResponse' :: Int -> AnalysisSchemeStatus -> DeleteAnalysisSchemeResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteAnalysisSchemeResponse'] :: DeleteAnalysisSchemeResponse -> Int
-- | The status of the analysis scheme being deleted.
[$sel:analysisScheme:DeleteAnalysisSchemeResponse'] :: DeleteAnalysisSchemeResponse -> AnalysisSchemeStatus
-- | Create a value of DeleteAnalysisSchemeResponse 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:httpStatus:DeleteAnalysisSchemeResponse',
-- deleteAnalysisSchemeResponse_httpStatus - The response's http
-- status code.
--
-- DeleteAnalysisSchemeResponse,
-- deleteAnalysisSchemeResponse_analysisScheme - The status of the
-- analysis scheme being deleted.
newDeleteAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DeleteAnalysisSchemeResponse
-- | The response's http status code.
deleteAnalysisSchemeResponse_httpStatus :: Lens' DeleteAnalysisSchemeResponse Int
-- | The status of the analysis scheme being deleted.
deleteAnalysisSchemeResponse_analysisScheme :: Lens' DeleteAnalysisSchemeResponse AnalysisSchemeStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance GHC.Show.Show Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance GHC.Read.Read Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance GHC.Generics.Generic Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisSchemeResponse
instance GHC.Show.Show Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisSchemeResponse
instance GHC.Read.Read Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisSchemeResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisSchemeResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisSchemeResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DeleteAnalysisScheme.DeleteAnalysisScheme
-- | Configures a suggester for a domain. A suggester enables you to
-- display possible matches before users finish typing their queries.
-- When you configure a suggester, you must specify the name of the text
-- field you want to search for possible matches and a unique name for
-- the suggester. For more information, see Getting Search
-- Suggestions in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DefineSuggester
-- | Container for the parameters to the DefineSuggester
-- operation. Specifies the name of the domain you want to update and the
-- suggester configuration.
--
-- See: newDefineSuggester smart constructor.
data DefineSuggester
DefineSuggester' :: Text -> Suggester -> DefineSuggester
[$sel:domainName:DefineSuggester'] :: DefineSuggester -> Text
[$sel:suggester:DefineSuggester'] :: DefineSuggester -> Suggester
-- | Create a value of DefineSuggester 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:
--
-- DefineSuggester, defineSuggester_domainName -
-- Undocumented member.
--
-- DefineSuggester, defineSuggester_suggester -
-- Undocumented member.
newDefineSuggester :: Text -> Suggester -> DefineSuggester
-- | Undocumented member.
defineSuggester_domainName :: Lens' DefineSuggester Text
-- | Undocumented member.
defineSuggester_suggester :: Lens' DefineSuggester Suggester
-- | The result of a DefineSuggester request. Contains the status
-- of the newly-configured suggester.
--
-- See: newDefineSuggesterResponse smart constructor.
data DefineSuggesterResponse
DefineSuggesterResponse' :: Int -> SuggesterStatus -> DefineSuggesterResponse
-- | The response's http status code.
[$sel:httpStatus:DefineSuggesterResponse'] :: DefineSuggesterResponse -> Int
[$sel:suggester:DefineSuggesterResponse'] :: DefineSuggesterResponse -> SuggesterStatus
-- | Create a value of DefineSuggesterResponse 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:httpStatus:DefineSuggesterResponse',
-- defineSuggesterResponse_httpStatus - The response's http status
-- code.
--
-- DefineSuggester, defineSuggesterResponse_suggester -
-- Undocumented member.
newDefineSuggesterResponse :: Int -> SuggesterStatus -> DefineSuggesterResponse
-- | The response's http status code.
defineSuggesterResponse_httpStatus :: Lens' DefineSuggesterResponse Int
-- | Undocumented member.
defineSuggesterResponse_suggester :: Lens' DefineSuggesterResponse SuggesterStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance GHC.Show.Show Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance GHC.Read.Read Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineSuggester.DefineSuggesterResponse
instance GHC.Show.Show Amazonka.CloudSearch.DefineSuggester.DefineSuggesterResponse
instance GHC.Read.Read Amazonka.CloudSearch.DefineSuggester.DefineSuggesterResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineSuggester.DefineSuggesterResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineSuggester.DefineSuggesterResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DefineSuggester.DefineSuggester
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DefineSuggester.DefineSuggester
-- | Configures an IndexField for the search domain. Used to
-- create new fields and modify existing ones. You must specify the name
-- of the domain you are configuring and an index field configuration.
-- The index field configuration specifies a unique name, the index field
-- type, and the options you want to configure for the field. The options
-- you can specify depend on the IndexFieldType. If the field
-- exists, the new configuration replaces the old one. For more
-- information, see Configuring Index Fields in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.DefineIndexField
-- | Container for the parameters to the DefineIndexField
-- operation. Specifies the name of the domain you want to update and the
-- index field configuration.
--
-- See: newDefineIndexField smart constructor.
data DefineIndexField
DefineIndexField' :: Text -> IndexField -> DefineIndexField
[$sel:domainName:DefineIndexField'] :: DefineIndexField -> Text
-- | The index field and field options you want to configure.
[$sel:indexField:DefineIndexField'] :: DefineIndexField -> IndexField
-- | Create a value of DefineIndexField 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:
--
-- DefineIndexField, defineIndexField_domainName -
-- Undocumented member.
--
-- DefineIndexField, defineIndexField_indexField - The
-- index field and field options you want to configure.
newDefineIndexField :: Text -> IndexField -> DefineIndexField
-- | Undocumented member.
defineIndexField_domainName :: Lens' DefineIndexField Text
-- | The index field and field options you want to configure.
defineIndexField_indexField :: Lens' DefineIndexField IndexField
-- | The result of a DefineIndexField request. Contains the status
-- of the newly-configured index field.
--
-- See: newDefineIndexFieldResponse smart constructor.
data DefineIndexFieldResponse
DefineIndexFieldResponse' :: Int -> IndexFieldStatus -> DefineIndexFieldResponse
-- | The response's http status code.
[$sel:httpStatus:DefineIndexFieldResponse'] :: DefineIndexFieldResponse -> Int
[$sel:indexField:DefineIndexFieldResponse'] :: DefineIndexFieldResponse -> IndexFieldStatus
-- | Create a value of DefineIndexFieldResponse 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:httpStatus:DefineIndexFieldResponse',
-- defineIndexFieldResponse_httpStatus - The response's http
-- status code.
--
-- DefineIndexField, defineIndexFieldResponse_indexField -
-- Undocumented member.
newDefineIndexFieldResponse :: Int -> IndexFieldStatus -> DefineIndexFieldResponse
-- | The response's http status code.
defineIndexFieldResponse_httpStatus :: Lens' DefineIndexFieldResponse Int
-- | Undocumented member.
defineIndexFieldResponse_indexField :: Lens' DefineIndexFieldResponse IndexFieldStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance GHC.Show.Show Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance GHC.Read.Read Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineIndexField.DefineIndexFieldResponse
instance GHC.Show.Show Amazonka.CloudSearch.DefineIndexField.DefineIndexFieldResponse
instance GHC.Read.Read Amazonka.CloudSearch.DefineIndexField.DefineIndexFieldResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineIndexField.DefineIndexFieldResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineIndexField.DefineIndexFieldResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DefineIndexField.DefineIndexField
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DefineIndexField.DefineIndexField
-- | Configures an Expression for the search domain. Used to
-- create new expressions and modify existing ones. If the expression
-- exists, the new configuration replaces the old one. For more
-- information, see Configuring Expressions in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.DefineExpression
-- | Container for the parameters to the DefineExpression
-- operation. Specifies the name of the domain you want to update and the
-- expression you want to configure.
--
-- See: newDefineExpression smart constructor.
data DefineExpression
DefineExpression' :: Text -> Expression -> DefineExpression
[$sel:domainName:DefineExpression'] :: DefineExpression -> Text
[$sel:expression:DefineExpression'] :: DefineExpression -> Expression
-- | Create a value of DefineExpression 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:
--
-- DefineExpression, defineExpression_domainName -
-- Undocumented member.
--
-- DefineExpression, defineExpression_expression -
-- Undocumented member.
newDefineExpression :: Text -> Expression -> DefineExpression
-- | Undocumented member.
defineExpression_domainName :: Lens' DefineExpression Text
-- | Undocumented member.
defineExpression_expression :: Lens' DefineExpression Expression
-- | The result of a DefineExpression request. Contains the status
-- of the newly-configured expression.
--
-- See: newDefineExpressionResponse smart constructor.
data DefineExpressionResponse
DefineExpressionResponse' :: Int -> ExpressionStatus -> DefineExpressionResponse
-- | The response's http status code.
[$sel:httpStatus:DefineExpressionResponse'] :: DefineExpressionResponse -> Int
[$sel:expression:DefineExpressionResponse'] :: DefineExpressionResponse -> ExpressionStatus
-- | Create a value of DefineExpressionResponse 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:httpStatus:DefineExpressionResponse',
-- defineExpressionResponse_httpStatus - The response's http
-- status code.
--
-- DefineExpression, defineExpressionResponse_expression -
-- Undocumented member.
newDefineExpressionResponse :: Int -> ExpressionStatus -> DefineExpressionResponse
-- | The response's http status code.
defineExpressionResponse_httpStatus :: Lens' DefineExpressionResponse Int
-- | Undocumented member.
defineExpressionResponse_expression :: Lens' DefineExpressionResponse ExpressionStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineExpression.DefineExpression
instance GHC.Show.Show Amazonka.CloudSearch.DefineExpression.DefineExpression
instance GHC.Read.Read Amazonka.CloudSearch.DefineExpression.DefineExpression
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineExpression.DefineExpression
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineExpression.DefineExpressionResponse
instance GHC.Show.Show Amazonka.CloudSearch.DefineExpression.DefineExpressionResponse
instance GHC.Read.Read Amazonka.CloudSearch.DefineExpression.DefineExpressionResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineExpression.DefineExpressionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DefineExpression.DefineExpression
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineExpression.DefineExpressionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DefineExpression.DefineExpression
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineExpression.DefineExpression
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DefineExpression.DefineExpression
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DefineExpression.DefineExpression
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DefineExpression.DefineExpression
-- | Configures an analysis scheme that can be applied to a text
-- or text-array field to define language-specific text
-- processing options. For more information, see Configuring Analysis
-- Schemes in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.DefineAnalysisScheme
-- | Container for the parameters to the DefineAnalysisScheme
-- operation. Specifies the name of the domain you want to update and the
-- analysis scheme configuration.
--
-- See: newDefineAnalysisScheme smart constructor.
data DefineAnalysisScheme
DefineAnalysisScheme' :: Text -> AnalysisScheme -> DefineAnalysisScheme
[$sel:domainName:DefineAnalysisScheme'] :: DefineAnalysisScheme -> Text
[$sel:analysisScheme:DefineAnalysisScheme'] :: DefineAnalysisScheme -> AnalysisScheme
-- | Create a value of DefineAnalysisScheme 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:
--
-- DefineAnalysisScheme, defineAnalysisScheme_domainName -
-- Undocumented member.
--
-- DefineAnalysisScheme,
-- defineAnalysisScheme_analysisScheme - Undocumented member.
newDefineAnalysisScheme :: Text -> AnalysisScheme -> DefineAnalysisScheme
-- | Undocumented member.
defineAnalysisScheme_domainName :: Lens' DefineAnalysisScheme Text
-- | Undocumented member.
defineAnalysisScheme_analysisScheme :: Lens' DefineAnalysisScheme AnalysisScheme
-- | The result of a DefineAnalysisScheme request. Contains the
-- status of the newly-configured analysis scheme.
--
-- See: newDefineAnalysisSchemeResponse smart constructor.
data DefineAnalysisSchemeResponse
DefineAnalysisSchemeResponse' :: Int -> AnalysisSchemeStatus -> DefineAnalysisSchemeResponse
-- | The response's http status code.
[$sel:httpStatus:DefineAnalysisSchemeResponse'] :: DefineAnalysisSchemeResponse -> Int
[$sel:analysisScheme:DefineAnalysisSchemeResponse'] :: DefineAnalysisSchemeResponse -> AnalysisSchemeStatus
-- | Create a value of DefineAnalysisSchemeResponse 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:httpStatus:DefineAnalysisSchemeResponse',
-- defineAnalysisSchemeResponse_httpStatus - The response's http
-- status code.
--
-- DefineAnalysisScheme,
-- defineAnalysisSchemeResponse_analysisScheme - Undocumented
-- member.
newDefineAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DefineAnalysisSchemeResponse
-- | The response's http status code.
defineAnalysisSchemeResponse_httpStatus :: Lens' DefineAnalysisSchemeResponse Int
-- | Undocumented member.
defineAnalysisSchemeResponse_analysisScheme :: Lens' DefineAnalysisSchemeResponse AnalysisSchemeStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance GHC.Show.Show Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance GHC.Read.Read Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance GHC.Generics.Generic Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisSchemeResponse
instance GHC.Show.Show Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisSchemeResponse
instance GHC.Read.Read Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisSchemeResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisSchemeResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisSchemeResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance Control.DeepSeq.NFData Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.DefineAnalysisScheme.DefineAnalysisScheme
-- | Creates a new search domain. For more information, see Creating a
-- Search Domain in the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.CreateDomain
-- | Container for the parameters to the CreateDomain operation.
-- Specifies a name for the new search domain.
--
-- See: newCreateDomain smart constructor.
data CreateDomain
CreateDomain' :: Text -> CreateDomain
-- | A name for the domain you are creating. Allowed characters are a-z
-- (lower-case letters), 0-9, and hyphen (-). Domain names must start
-- with a letter or number and be at least 3 and no more than 28
-- characters long.
[$sel:domainName:CreateDomain'] :: CreateDomain -> Text
-- | Create a value of CreateDomain 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:
--
-- CreateDomain, createDomain_domainName - A name for the
-- domain you are creating. Allowed characters are a-z (lower-case
-- letters), 0-9, and hyphen (-). Domain names must start with a letter
-- or number and be at least 3 and no more than 28 characters long.
newCreateDomain :: Text -> CreateDomain
-- | A name for the domain you are creating. Allowed characters are a-z
-- (lower-case letters), 0-9, and hyphen (-). Domain names must start
-- with a letter or number and be at least 3 and no more than 28
-- characters long.
createDomain_domainName :: Lens' CreateDomain Text
-- | The result of a CreateDomainRequest. Contains the status of a
-- newly created domain.
--
-- See: newCreateDomainResponse smart constructor.
data CreateDomainResponse
CreateDomainResponse' :: Maybe DomainStatus -> Int -> CreateDomainResponse
[$sel:domainStatus:CreateDomainResponse'] :: CreateDomainResponse -> Maybe DomainStatus
-- | The response's http status code.
[$sel:httpStatus:CreateDomainResponse'] :: CreateDomainResponse -> Int
-- | Create a value of CreateDomainResponse 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:domainStatus:CreateDomainResponse',
-- createDomainResponse_domainStatus - Undocumented member.
--
-- $sel:httpStatus:CreateDomainResponse',
-- createDomainResponse_httpStatus - The response's http status
-- code.
newCreateDomainResponse :: Int -> CreateDomainResponse
-- | Undocumented member.
createDomainResponse_domainStatus :: Lens' CreateDomainResponse (Maybe DomainStatus)
-- | The response's http status code.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.CreateDomain.CreateDomain
instance GHC.Show.Show Amazonka.CloudSearch.CreateDomain.CreateDomain
instance GHC.Read.Read Amazonka.CloudSearch.CreateDomain.CreateDomain
instance GHC.Classes.Eq Amazonka.CloudSearch.CreateDomain.CreateDomain
instance GHC.Generics.Generic Amazonka.CloudSearch.CreateDomain.CreateDomainResponse
instance GHC.Show.Show Amazonka.CloudSearch.CreateDomain.CreateDomainResponse
instance GHC.Read.Read Amazonka.CloudSearch.CreateDomain.CreateDomainResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.CreateDomain.CreateDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.CreateDomain.CreateDomain
instance Control.DeepSeq.NFData Amazonka.CloudSearch.CreateDomain.CreateDomainResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.CreateDomain.CreateDomain
instance Control.DeepSeq.NFData Amazonka.CloudSearch.CreateDomain.CreateDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.CreateDomain.CreateDomain
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.CreateDomain.CreateDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.CreateDomain.CreateDomain
-- | Indexes the search suggestions. For more information, see
-- Configuring Suggesters in the Amazon CloudSearch Developer
-- Guide.
module Amazonka.CloudSearch.BuildSuggesters
-- | Container for the parameters to the BuildSuggester operation.
-- Specifies the name of the domain you want to update.
--
-- See: newBuildSuggesters smart constructor.
data BuildSuggesters
BuildSuggesters' :: Text -> BuildSuggesters
[$sel:domainName:BuildSuggesters'] :: BuildSuggesters -> Text
-- | Create a value of BuildSuggesters 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:
--
-- BuildSuggesters, buildSuggesters_domainName -
-- Undocumented member.
newBuildSuggesters :: Text -> BuildSuggesters
-- | Undocumented member.
buildSuggesters_domainName :: Lens' BuildSuggesters Text
-- | The result of a BuildSuggester request. Contains a list of
-- the fields used for suggestions.
--
-- See: newBuildSuggestersResponse smart constructor.
data BuildSuggestersResponse
BuildSuggestersResponse' :: Maybe [Text] -> Int -> BuildSuggestersResponse
[$sel:fieldNames:BuildSuggestersResponse'] :: BuildSuggestersResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:BuildSuggestersResponse'] :: BuildSuggestersResponse -> Int
-- | Create a value of BuildSuggestersResponse 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:fieldNames:BuildSuggestersResponse',
-- buildSuggestersResponse_fieldNames - Undocumented member.
--
-- $sel:httpStatus:BuildSuggestersResponse',
-- buildSuggestersResponse_httpStatus - The response's http status
-- code.
newBuildSuggestersResponse :: Int -> BuildSuggestersResponse
-- | Undocumented member.
buildSuggestersResponse_fieldNames :: Lens' BuildSuggestersResponse (Maybe [Text])
-- | The response's http status code.
buildSuggestersResponse_httpStatus :: Lens' BuildSuggestersResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance GHC.Show.Show Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance GHC.Read.Read Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance GHC.Classes.Eq Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance GHC.Generics.Generic Amazonka.CloudSearch.BuildSuggesters.BuildSuggestersResponse
instance GHC.Show.Show Amazonka.CloudSearch.BuildSuggesters.BuildSuggestersResponse
instance GHC.Read.Read Amazonka.CloudSearch.BuildSuggesters.BuildSuggestersResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.BuildSuggesters.BuildSuggestersResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.BuildSuggesters.BuildSuggestersResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.BuildSuggesters.BuildSuggesters
-- | Configures the availability options for a domain. Enabling the
-- Multi-AZ option expands an Amazon CloudSearch domain to an additional
-- Availability Zone in the same Region to increase fault tolerance in
-- the event of a service disruption. Changes to the Multi-AZ option can
-- take about half an hour to become active. For more information, see
-- Configuring Availability Options in the Amazon CloudSearch
-- Developer Guide.
module Amazonka.CloudSearch.UpdateAvailabilityOptions
-- | Container for the parameters to the UpdateAvailabilityOptions
-- operation. Specifies the name of the domain you want to update and the
-- Multi-AZ availability option.
--
-- See: newUpdateAvailabilityOptions smart constructor.
data UpdateAvailabilityOptions
UpdateAvailabilityOptions' :: Text -> Bool -> UpdateAvailabilityOptions
[$sel:domainName:UpdateAvailabilityOptions'] :: UpdateAvailabilityOptions -> Text
-- | You expand an existing search domain to a second Availability Zone by
-- setting the Multi-AZ option to true. Similarly, you can turn off the
-- Multi-AZ option to downgrade the domain to a single Availability Zone
-- by setting the Multi-AZ option to false.
[$sel:multiAZ:UpdateAvailabilityOptions'] :: UpdateAvailabilityOptions -> Bool
-- | Create a value of UpdateAvailabilityOptions 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:
--
-- UpdateAvailabilityOptions,
-- updateAvailabilityOptions_domainName - Undocumented member.
--
-- $sel:multiAZ:UpdateAvailabilityOptions',
-- updateAvailabilityOptions_multiAZ - You expand an existing
-- search domain to a second Availability Zone by setting the Multi-AZ
-- option to true. Similarly, you can turn off the Multi-AZ option to
-- downgrade the domain to a single Availability Zone by setting the
-- Multi-AZ option to false.
newUpdateAvailabilityOptions :: Text -> Bool -> UpdateAvailabilityOptions
-- | Undocumented member.
updateAvailabilityOptions_domainName :: Lens' UpdateAvailabilityOptions Text
-- | You expand an existing search domain to a second Availability Zone by
-- setting the Multi-AZ option to true. Similarly, you can turn off the
-- Multi-AZ option to downgrade the domain to a single Availability Zone
-- by setting the Multi-AZ option to false.
updateAvailabilityOptions_multiAZ :: Lens' UpdateAvailabilityOptions Bool
-- | The result of a UpdateAvailabilityOptions request. Contains
-- the status of the domain's availability options.
--
-- See: newUpdateAvailabilityOptionsResponse smart
-- constructor.
data UpdateAvailabilityOptionsResponse
UpdateAvailabilityOptionsResponse' :: Maybe AvailabilityOptionsStatus -> Int -> UpdateAvailabilityOptionsResponse
-- | The newly-configured availability options. Indicates whether Multi-AZ
-- is enabled for the domain.
[$sel:availabilityOptions:UpdateAvailabilityOptionsResponse'] :: UpdateAvailabilityOptionsResponse -> Maybe AvailabilityOptionsStatus
-- | The response's http status code.
[$sel:httpStatus:UpdateAvailabilityOptionsResponse'] :: UpdateAvailabilityOptionsResponse -> Int
-- | Create a value of UpdateAvailabilityOptionsResponse 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:availabilityOptions:UpdateAvailabilityOptionsResponse',
-- updateAvailabilityOptionsResponse_availabilityOptions - The
-- newly-configured availability options. Indicates whether Multi-AZ is
-- enabled for the domain.
--
-- $sel:httpStatus:UpdateAvailabilityOptionsResponse',
-- updateAvailabilityOptionsResponse_httpStatus - The response's
-- http status code.
newUpdateAvailabilityOptionsResponse :: Int -> UpdateAvailabilityOptionsResponse
-- | The newly-configured availability options. Indicates whether Multi-AZ
-- is enabled for the domain.
updateAvailabilityOptionsResponse_availabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
-- | The response's http status code.
updateAvailabilityOptionsResponse_httpStatus :: Lens' UpdateAvailabilityOptionsResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance GHC.Show.Show Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance GHC.Read.Read Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptionsResponse
instance GHC.Show.Show Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptionsResponse
instance GHC.Read.Read Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptionsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.UpdateAvailabilityOptions.UpdateAvailabilityOptions
-- | Updates the domain's endpoint options, specifically whether all
-- requests to the domain must arrive over HTTPS. For more information,
-- see Configuring Domain Endpoint Options in the Amazon
-- CloudSearch Developer Guide.
module Amazonka.CloudSearch.UpdateDomainEndpointOptions
-- | Container for the parameters to the
-- UpdateDomainEndpointOptions operation. Specifies the name of
-- the domain you want to update and the domain endpoint options.
--
-- See: newUpdateDomainEndpointOptions smart constructor.
data UpdateDomainEndpointOptions
UpdateDomainEndpointOptions' :: Text -> DomainEndpointOptions -> UpdateDomainEndpointOptions
-- | A string that represents the name of a domain.
[$sel:domainName:UpdateDomainEndpointOptions'] :: UpdateDomainEndpointOptions -> Text
-- | Whether to require that all requests to the domain arrive over HTTPS.
-- We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
-- compatibility with older clients, the default is
-- Policy-Min-TLS-1-0-2019-07.
[$sel:domainEndpointOptions:UpdateDomainEndpointOptions'] :: UpdateDomainEndpointOptions -> DomainEndpointOptions
-- | Create a value of UpdateDomainEndpointOptions 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:
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptions_domainName - A string that
-- represents the name of a domain.
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptions_domainEndpointOptions - Whether to
-- require that all requests to the domain arrive over HTTPS. We
-- recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
-- compatibility with older clients, the default is
-- Policy-Min-TLS-1-0-2019-07.
newUpdateDomainEndpointOptions :: Text -> DomainEndpointOptions -> UpdateDomainEndpointOptions
-- | A string that represents the name of a domain.
updateDomainEndpointOptions_domainName :: Lens' UpdateDomainEndpointOptions Text
-- | Whether to require that all requests to the domain arrive over HTTPS.
-- We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
-- compatibility with older clients, the default is
-- Policy-Min-TLS-1-0-2019-07.
updateDomainEndpointOptions_domainEndpointOptions :: Lens' UpdateDomainEndpointOptions DomainEndpointOptions
-- | The result of a UpdateDomainEndpointOptions request. Contains
-- the configuration and status of the domain's endpoint options.
--
-- See: newUpdateDomainEndpointOptionsResponse smart
-- constructor.
data UpdateDomainEndpointOptionsResponse
UpdateDomainEndpointOptionsResponse' :: Maybe DomainEndpointOptionsStatus -> Int -> UpdateDomainEndpointOptionsResponse
-- | The newly-configured domain endpoint options.
[$sel:domainEndpointOptions:UpdateDomainEndpointOptionsResponse'] :: UpdateDomainEndpointOptionsResponse -> Maybe DomainEndpointOptionsStatus
-- | The response's http status code.
[$sel:httpStatus:UpdateDomainEndpointOptionsResponse'] :: UpdateDomainEndpointOptionsResponse -> Int
-- | Create a value of UpdateDomainEndpointOptionsResponse 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:
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptionsResponse_domainEndpointOptions - The
-- newly-configured domain endpoint options.
--
-- $sel:httpStatus:UpdateDomainEndpointOptionsResponse',
-- updateDomainEndpointOptionsResponse_httpStatus - The response's
-- http status code.
newUpdateDomainEndpointOptionsResponse :: Int -> UpdateDomainEndpointOptionsResponse
-- | The newly-configured domain endpoint options.
updateDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' UpdateDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus)
-- | The response's http status code.
updateDomainEndpointOptionsResponse_httpStatus :: Lens' UpdateDomainEndpointOptionsResponse Int
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance GHC.Show.Show Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance GHC.Read.Read Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptionsResponse
instance GHC.Show.Show Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptionsResponse
instance GHC.Read.Read Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptionsResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.UpdateDomainEndpointOptions.UpdateDomainEndpointOptions
-- | Configures scaling parameters for a domain. A domain's scaling
-- parameters specify the desired search instance type and replication
-- count. Amazon CloudSearch will still automatically scale your domain
-- based on the volume of data and traffic, but not below the desired
-- instance type and replication count. If the Multi-AZ option is
-- enabled, these values control the resources used per Availability
-- Zone. For more information, see Configuring Scaling Options in
-- the Amazon CloudSearch Developer Guide.
module Amazonka.CloudSearch.UpdateScalingParameters
-- | Container for the parameters to the UpdateScalingParameters
-- operation. Specifies the name of the domain you want to update and the
-- scaling parameters you want to configure.
--
-- See: newUpdateScalingParameters smart constructor.
data UpdateScalingParameters
UpdateScalingParameters' :: Text -> ScalingParameters -> UpdateScalingParameters
[$sel:domainName:UpdateScalingParameters'] :: UpdateScalingParameters -> Text
[$sel:scalingParameters:UpdateScalingParameters'] :: UpdateScalingParameters -> ScalingParameters
-- | Create a value of UpdateScalingParameters 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:
--
-- UpdateScalingParameters,
-- updateScalingParameters_domainName - Undocumented member.
--
-- UpdateScalingParameters,
-- updateScalingParameters_scalingParameters - Undocumented
-- member.
newUpdateScalingParameters :: Text -> ScalingParameters -> UpdateScalingParameters
-- | Undocumented member.
updateScalingParameters_domainName :: Lens' UpdateScalingParameters Text
-- | Undocumented member.
updateScalingParameters_scalingParameters :: Lens' UpdateScalingParameters ScalingParameters
-- | The result of a UpdateScalingParameters request. Contains the
-- status of the newly-configured scaling parameters.
--
-- See: newUpdateScalingParametersResponse smart
-- constructor.
data UpdateScalingParametersResponse
UpdateScalingParametersResponse' :: Int -> ScalingParametersStatus -> UpdateScalingParametersResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateScalingParametersResponse'] :: UpdateScalingParametersResponse -> Int
[$sel:scalingParameters:UpdateScalingParametersResponse'] :: UpdateScalingParametersResponse -> ScalingParametersStatus
-- | Create a value of UpdateScalingParametersResponse 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:httpStatus:UpdateScalingParametersResponse',
-- updateScalingParametersResponse_httpStatus - The response's
-- http status code.
--
-- UpdateScalingParameters,
-- updateScalingParametersResponse_scalingParameters -
-- Undocumented member.
newUpdateScalingParametersResponse :: Int -> ScalingParametersStatus -> UpdateScalingParametersResponse
-- | The response's http status code.
updateScalingParametersResponse_httpStatus :: Lens' UpdateScalingParametersResponse Int
-- | Undocumented member.
updateScalingParametersResponse_scalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance GHC.Show.Show Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance GHC.Read.Read Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParametersResponse
instance GHC.Show.Show Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParametersResponse
instance GHC.Read.Read Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParametersResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParametersResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParametersResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.UpdateScalingParameters.UpdateScalingParameters
-- | Configures the access rules that control access to the domain's
-- document and search endpoints. For more information, see
-- Configuring Access for an Amazon CloudSearch Domain.
module Amazonka.CloudSearch.UpdateServiceAccessPolicies
-- | Container for the parameters to the
-- UpdateServiceAccessPolicies operation. Specifies the name of
-- the domain you want to update and the access rules you want to
-- configure.
--
-- See: newUpdateServiceAccessPolicies smart constructor.
data UpdateServiceAccessPolicies
UpdateServiceAccessPolicies' :: Text -> Text -> UpdateServiceAccessPolicies
[$sel:domainName:UpdateServiceAccessPolicies'] :: UpdateServiceAccessPolicies -> Text
-- | The access rules you want to configure. These rules replace any
-- existing rules.
[$sel:accessPolicies:UpdateServiceAccessPolicies'] :: UpdateServiceAccessPolicies -> Text
-- | Create a value of UpdateServiceAccessPolicies 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:
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPolicies_domainName - Undocumented member.
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPolicies_accessPolicies - The access rules
-- you want to configure. These rules replace any existing rules.
newUpdateServiceAccessPolicies :: Text -> Text -> UpdateServiceAccessPolicies
-- | Undocumented member.
updateServiceAccessPolicies_domainName :: Lens' UpdateServiceAccessPolicies Text
-- | The access rules you want to configure. These rules replace any
-- existing rules.
updateServiceAccessPolicies_accessPolicies :: Lens' UpdateServiceAccessPolicies Text
-- | The result of an UpdateServiceAccessPolicies request.
-- Contains the new access policies.
--
-- See: newUpdateServiceAccessPoliciesResponse smart
-- constructor.
data UpdateServiceAccessPoliciesResponse
UpdateServiceAccessPoliciesResponse' :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateServiceAccessPoliciesResponse'] :: UpdateServiceAccessPoliciesResponse -> Int
-- | The access rules configured for the domain.
[$sel:accessPolicies:UpdateServiceAccessPoliciesResponse'] :: UpdateServiceAccessPoliciesResponse -> AccessPoliciesStatus
-- | Create a value of UpdateServiceAccessPoliciesResponse 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:httpStatus:UpdateServiceAccessPoliciesResponse',
-- updateServiceAccessPoliciesResponse_httpStatus - The response's
-- http status code.
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPoliciesResponse_accessPolicies - The access
-- rules configured for the domain.
newUpdateServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
-- | The response's http status code.
updateServiceAccessPoliciesResponse_httpStatus :: Lens' UpdateServiceAccessPoliciesResponse Int
-- | The access rules configured for the domain.
updateServiceAccessPoliciesResponse_accessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance GHC.Show.Show Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance GHC.Read.Read Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance GHC.Generics.Generic Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPoliciesResponse
instance GHC.Show.Show Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPoliciesResponse
instance GHC.Read.Read Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance Control.DeepSeq.NFData Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudSearch.UpdateServiceAccessPolicies.UpdateServiceAccessPolicies
module Amazonka.CloudSearch.Lens
-- | Undocumented member.
buildSuggesters_domainName :: Lens' BuildSuggesters Text
-- | Undocumented member.
buildSuggestersResponse_fieldNames :: Lens' BuildSuggestersResponse (Maybe [Text])
-- | The response's http status code.
buildSuggestersResponse_httpStatus :: Lens' BuildSuggestersResponse Int
-- | A name for the domain you are creating. Allowed characters are a-z
-- (lower-case letters), 0-9, and hyphen (-). Domain names must start
-- with a letter or number and be at least 3 and no more than 28
-- characters long.
createDomain_domainName :: Lens' CreateDomain Text
-- | Undocumented member.
createDomainResponse_domainStatus :: Lens' CreateDomainResponse (Maybe DomainStatus)
-- | The response's http status code.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
-- | Undocumented member.
defineAnalysisScheme_domainName :: Lens' DefineAnalysisScheme Text
-- | Undocumented member.
defineAnalysisScheme_analysisScheme :: Lens' DefineAnalysisScheme AnalysisScheme
-- | The response's http status code.
defineAnalysisSchemeResponse_httpStatus :: Lens' DefineAnalysisSchemeResponse Int
-- | Undocumented member.
defineAnalysisSchemeResponse_analysisScheme :: Lens' DefineAnalysisSchemeResponse AnalysisSchemeStatus
-- | Undocumented member.
defineExpression_domainName :: Lens' DefineExpression Text
-- | Undocumented member.
defineExpression_expression :: Lens' DefineExpression Expression
-- | The response's http status code.
defineExpressionResponse_httpStatus :: Lens' DefineExpressionResponse Int
-- | Undocumented member.
defineExpressionResponse_expression :: Lens' DefineExpressionResponse ExpressionStatus
-- | Undocumented member.
defineIndexField_domainName :: Lens' DefineIndexField Text
-- | The index field and field options you want to configure.
defineIndexField_indexField :: Lens' DefineIndexField IndexField
-- | The response's http status code.
defineIndexFieldResponse_httpStatus :: Lens' DefineIndexFieldResponse Int
-- | Undocumented member.
defineIndexFieldResponse_indexField :: Lens' DefineIndexFieldResponse IndexFieldStatus
-- | Undocumented member.
defineSuggester_domainName :: Lens' DefineSuggester Text
-- | Undocumented member.
defineSuggester_suggester :: Lens' DefineSuggester Suggester
-- | The response's http status code.
defineSuggesterResponse_httpStatus :: Lens' DefineSuggesterResponse Int
-- | Undocumented member.
defineSuggesterResponse_suggester :: Lens' DefineSuggesterResponse SuggesterStatus
-- | Undocumented member.
deleteAnalysisScheme_domainName :: Lens' DeleteAnalysisScheme Text
-- | The name of the analysis scheme you want to delete.
deleteAnalysisScheme_analysisSchemeName :: Lens' DeleteAnalysisScheme Text
-- | The response's http status code.
deleteAnalysisSchemeResponse_httpStatus :: Lens' DeleteAnalysisSchemeResponse Int
-- | The status of the analysis scheme being deleted.
deleteAnalysisSchemeResponse_analysisScheme :: Lens' DeleteAnalysisSchemeResponse AnalysisSchemeStatus
-- | The name of the domain you want to permanently delete.
deleteDomain_domainName :: Lens' DeleteDomain Text
-- | Undocumented member.
deleteDomainResponse_domainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus)
-- | The response's http status code.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
-- | Undocumented member.
deleteExpression_domainName :: Lens' DeleteExpression Text
-- | The name of the Expression to delete.
deleteExpression_expressionName :: Lens' DeleteExpression Text
-- | The response's http status code.
deleteExpressionResponse_httpStatus :: Lens' DeleteExpressionResponse Int
-- | The status of the expression being deleted.
deleteExpressionResponse_expression :: Lens' DeleteExpressionResponse ExpressionStatus
-- | Undocumented member.
deleteIndexField_domainName :: Lens' DeleteIndexField Text
-- | The name of the index field your want to remove from the domain's
-- indexing options.
deleteIndexField_indexFieldName :: Lens' DeleteIndexField Text
-- | The response's http status code.
deleteIndexFieldResponse_httpStatus :: Lens' DeleteIndexFieldResponse Int
-- | The status of the index field being deleted.
deleteIndexFieldResponse_indexField :: Lens' DeleteIndexFieldResponse IndexFieldStatus
-- | Undocumented member.
deleteSuggester_domainName :: Lens' DeleteSuggester Text
-- | Specifies the name of the suggester you want to delete.
deleteSuggester_suggesterName :: Lens' DeleteSuggester Text
-- | The response's http status code.
deleteSuggesterResponse_httpStatus :: Lens' DeleteSuggesterResponse Int
-- | The status of the suggester being deleted.
deleteSuggesterResponse_suggester :: Lens' DeleteSuggesterResponse SuggesterStatus
-- | The analysis schemes you want to describe.
describeAnalysisSchemes_analysisSchemeNames :: Lens' DescribeAnalysisSchemes (Maybe [Text])
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeAnalysisSchemes_deployed :: Lens' DescribeAnalysisSchemes (Maybe Bool)
-- | The name of the domain you want to describe.
describeAnalysisSchemes_domainName :: Lens' DescribeAnalysisSchemes Text
-- | The response's http status code.
describeAnalysisSchemesResponse_httpStatus :: Lens' DescribeAnalysisSchemesResponse Int
-- | The analysis scheme descriptions.
describeAnalysisSchemesResponse_analysisSchemes :: Lens' DescribeAnalysisSchemesResponse [AnalysisSchemeStatus]
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeAvailabilityOptions_deployed :: Lens' DescribeAvailabilityOptions (Maybe Bool)
-- | The name of the domain you want to describe.
describeAvailabilityOptions_domainName :: Lens' DescribeAvailabilityOptions Text
-- | The availability options configured for the domain. Indicates whether
-- Multi-AZ is enabled for the domain.
describeAvailabilityOptionsResponse_availabilityOptions :: Lens' DescribeAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
-- | The response's http status code.
describeAvailabilityOptionsResponse_httpStatus :: Lens' DescribeAvailabilityOptionsResponse Int
-- | Whether to retrieve the latest configuration (which might be in a
-- Processing state) or the current, active configuration. Defaults to
-- false.
describeDomainEndpointOptions_deployed :: Lens' DescribeDomainEndpointOptions (Maybe Bool)
-- | A string that represents the name of a domain.
describeDomainEndpointOptions_domainName :: Lens' DescribeDomainEndpointOptions Text
-- | The status and configuration of a search domain's endpoint options.
describeDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' DescribeDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus)
-- | The response's http status code.
describeDomainEndpointOptionsResponse_httpStatus :: Lens' DescribeDomainEndpointOptionsResponse Int
-- | The names of the domains you want to include in the response.
describeDomains_domainNames :: Lens' DescribeDomains (Maybe [Text])
-- | The response's http status code.
describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int
-- | Undocumented member.
describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus]
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeExpressions_deployed :: Lens' DescribeExpressions (Maybe Bool)
-- | Limits the DescribeExpressions response to the specified
-- expressions. If not specified, all expressions are shown.
describeExpressions_expressionNames :: Lens' DescribeExpressions (Maybe [Text])
-- | The name of the domain you want to describe.
describeExpressions_domainName :: Lens' DescribeExpressions Text
-- | The response's http status code.
describeExpressionsResponse_httpStatus :: Lens' DescribeExpressionsResponse Int
-- | The expressions configured for the domain.
describeExpressionsResponse_expressions :: Lens' DescribeExpressionsResponse [ExpressionStatus]
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeIndexFields_deployed :: Lens' DescribeIndexFields (Maybe Bool)
-- | A list of the index fields you want to describe. If not specified,
-- information is returned for all configured index fields.
describeIndexFields_fieldNames :: Lens' DescribeIndexFields (Maybe [Text])
-- | The name of the domain you want to describe.
describeIndexFields_domainName :: Lens' DescribeIndexFields Text
-- | The response's http status code.
describeIndexFieldsResponse_httpStatus :: Lens' DescribeIndexFieldsResponse Int
-- | The index fields configured for the domain.
describeIndexFieldsResponse_indexFields :: Lens' DescribeIndexFieldsResponse [IndexFieldStatus]
-- | Undocumented member.
describeScalingParameters_domainName :: Lens' DescribeScalingParameters Text
-- | The response's http status code.
describeScalingParametersResponse_httpStatus :: Lens' DescribeScalingParametersResponse Int
-- | Undocumented member.
describeScalingParametersResponse_scalingParameters :: Lens' DescribeScalingParametersResponse ScalingParametersStatus
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeServiceAccessPolicies_deployed :: Lens' DescribeServiceAccessPolicies (Maybe Bool)
-- | The name of the domain you want to describe.
describeServiceAccessPolicies_domainName :: Lens' DescribeServiceAccessPolicies Text
-- | The response's http status code.
describeServiceAccessPoliciesResponse_httpStatus :: Lens' DescribeServiceAccessPoliciesResponse Int
-- | The access rules configured for the domain specified in the request.
describeServiceAccessPoliciesResponse_accessPolicies :: Lens' DescribeServiceAccessPoliciesResponse AccessPoliciesStatus
-- | Whether to display the deployed configuration (true) or
-- include any pending changes (false). Defaults to
-- false.
describeSuggesters_deployed :: Lens' DescribeSuggesters (Maybe Bool)
-- | The suggesters you want to describe.
describeSuggesters_suggesterNames :: Lens' DescribeSuggesters (Maybe [Text])
-- | The name of the domain you want to describe.
describeSuggesters_domainName :: Lens' DescribeSuggesters Text
-- | The response's http status code.
describeSuggestersResponse_httpStatus :: Lens' DescribeSuggestersResponse Int
-- | The suggesters configured for the domain specified in the request.
describeSuggestersResponse_suggesters :: Lens' DescribeSuggestersResponse [SuggesterStatus]
-- | Undocumented member.
indexDocuments_domainName :: Lens' IndexDocuments Text
-- | The names of the fields that are currently being indexed.
indexDocumentsResponse_fieldNames :: Lens' IndexDocumentsResponse (Maybe [Text])
-- | The response's http status code.
indexDocumentsResponse_httpStatus :: Lens' IndexDocumentsResponse Int
-- | The names of the search domains owned by an account.
listDomainNamesResponse_domainNames :: Lens' ListDomainNamesResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int
-- | Undocumented member.
updateAvailabilityOptions_domainName :: Lens' UpdateAvailabilityOptions Text
-- | You expand an existing search domain to a second Availability Zone by
-- setting the Multi-AZ option to true. Similarly, you can turn off the
-- Multi-AZ option to downgrade the domain to a single Availability Zone
-- by setting the Multi-AZ option to false.
updateAvailabilityOptions_multiAZ :: Lens' UpdateAvailabilityOptions Bool
-- | The newly-configured availability options. Indicates whether Multi-AZ
-- is enabled for the domain.
updateAvailabilityOptionsResponse_availabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
-- | The response's http status code.
updateAvailabilityOptionsResponse_httpStatus :: Lens' UpdateAvailabilityOptionsResponse Int
-- | A string that represents the name of a domain.
updateDomainEndpointOptions_domainName :: Lens' UpdateDomainEndpointOptions Text
-- | Whether to require that all requests to the domain arrive over HTTPS.
-- We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
-- compatibility with older clients, the default is
-- Policy-Min-TLS-1-0-2019-07.
updateDomainEndpointOptions_domainEndpointOptions :: Lens' UpdateDomainEndpointOptions DomainEndpointOptions
-- | The newly-configured domain endpoint options.
updateDomainEndpointOptionsResponse_domainEndpointOptions :: Lens' UpdateDomainEndpointOptionsResponse (Maybe DomainEndpointOptionsStatus)
-- | The response's http status code.
updateDomainEndpointOptionsResponse_httpStatus :: Lens' UpdateDomainEndpointOptionsResponse Int
-- | Undocumented member.
updateScalingParameters_domainName :: Lens' UpdateScalingParameters Text
-- | Undocumented member.
updateScalingParameters_scalingParameters :: Lens' UpdateScalingParameters ScalingParameters
-- | The response's http status code.
updateScalingParametersResponse_httpStatus :: Lens' UpdateScalingParametersResponse Int
-- | Undocumented member.
updateScalingParametersResponse_scalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus
-- | Undocumented member.
updateServiceAccessPolicies_domainName :: Lens' UpdateServiceAccessPolicies Text
-- | The access rules you want to configure. These rules replace any
-- existing rules.
updateServiceAccessPolicies_accessPolicies :: Lens' UpdateServiceAccessPolicies Text
-- | The response's http status code.
updateServiceAccessPoliciesResponse_httpStatus :: Lens' UpdateServiceAccessPoliciesResponse Int
-- | The access rules configured for the domain.
updateServiceAccessPoliciesResponse_accessPolicies :: Lens' UpdateServiceAccessPoliciesResponse AccessPoliciesStatus
-- | Undocumented member.
accessPoliciesStatus_options :: Lens' AccessPoliciesStatus Text
-- | Undocumented member.
accessPoliciesStatus_status :: Lens' AccessPoliciesStatus OptionStatus
-- | The level of algorithmic stemming to perform: none,
-- minimal, light, or full. The available
-- levels vary depending on the language. For more information, see
-- Language Specific Text Processing Settings in the Amazon
-- CloudSearch Developer Guide
analysisOptions_algorithmicStemming :: Lens' AnalysisOptions (Maybe AlgorithmicStemming)
-- | A JSON array that contains a collection of terms, tokens, readings and
-- part of speech for Japanese Tokenizaiton. The Japanese tokenization
-- dictionary enables you to override the default tokenization for
-- selected terms. This is only valid for Japanese language fields.
analysisOptions_japaneseTokenizationDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that contains a collection of string:value pairs that
-- each map a term to its stem. For example, {"term1": "stem1",
-- "term2": "stem2", "term3": "stem3"}. The stemming dictionary is
-- applied in addition to any algorithmic stemming. This enables you to
-- override the results of the algorithmic stemming to correct specific
-- cases of overstemming or understemming. The maximum size of a stemming
-- dictionary is 500 KB.
analysisOptions_stemmingDictionary :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON array of terms to ignore during indexing and searching. For
-- example, ["a", "an", "the", "of"]. The stopwords dictionary
-- must explicitly list each word you want to ignore. Wildcards and
-- regular expressions are not supported.
analysisOptions_stopwords :: Lens' AnalysisOptions (Maybe Text)
-- | A JSON object that defines synonym groups and aliases. A synonym group
-- is an array of arrays, where each sub-array is a group of terms where
-- each term in the group is considered a synonym of every other term in
-- the group. The aliases value is an object that contains a collection
-- of string:value pairs where the string specifies a term and the array
-- of values specifies each of the aliases for that term. An alias is
-- considered a synonym of the specified term, but the term is not
-- considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
analysisOptions_synonyms :: Lens' AnalysisOptions (Maybe Text)
-- | Undocumented member.
analysisScheme_analysisOptions :: Lens' AnalysisScheme (Maybe AnalysisOptions)
-- | Undocumented member.
analysisScheme_analysisSchemeName :: Lens' AnalysisScheme Text
-- | Undocumented member.
analysisScheme_analysisSchemeLanguage :: Lens' AnalysisScheme AnalysisSchemeLanguage
-- | Undocumented member.
analysisSchemeStatus_options :: Lens' AnalysisSchemeStatus AnalysisScheme
-- | Undocumented member.
analysisSchemeStatus_status :: Lens' AnalysisSchemeStatus OptionStatus
-- | The availability options configured for the domain.
availabilityOptionsStatus_options :: Lens' AvailabilityOptionsStatus Bool
-- | Undocumented member.
availabilityOptionsStatus_status :: Lens' AvailabilityOptionsStatus OptionStatus
-- | A value to use for the field if the field isn't specified for a
-- document.
dateArrayOptions_defaultValue :: Lens' DateArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateArrayOptions_facetEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateArrayOptions_returnEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateArrayOptions_searchEnabled :: Lens' DateArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
dateArrayOptions_sourceFields :: Lens' DateArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
dateOptions_defaultValue :: Lens' DateOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
dateOptions_facetEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
dateOptions_returnEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
dateOptions_searchEnabled :: Lens' DateOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
dateOptions_sortEnabled :: Lens' DateOptions (Maybe Bool)
-- | Undocumented member.
dateOptions_sourceField :: Lens' DateOptions (Maybe Text)
-- | The level of fuzziness allowed when suggesting matches for a string:
-- none, low, or high. With none, the
-- specified string is treated as an exact prefix. With low, suggestions
-- must differ from the specified string by no more than one character.
-- With high, suggestions can differ by up to two characters. The default
-- is none.
documentSuggesterOptions_fuzzyMatching :: Lens' DocumentSuggesterOptions (Maybe SuggesterFuzzyMatching)
-- | An expression that computes a score for each suggestion to control how
-- they are sorted. The scores are rounded to the nearest integer, with a
-- floor of 0 and a ceiling of 2^31-1. A document's relevance score is
-- not computed for suggestions, so sort expressions cannot reference the
-- _score value. To sort suggestions using a numeric field or
-- existing expression, simply specify the name of the field or
-- expression. If no expression is configured for the suggester, the
-- suggestions are sorted with the closest matches listed first.
documentSuggesterOptions_sortExpression :: Lens' DocumentSuggesterOptions (Maybe Text)
-- | The name of the index field you want to use for suggestions.
documentSuggesterOptions_sourceField :: Lens' DocumentSuggesterOptions Text
-- | Whether the domain is HTTPS only enabled.
domainEndpointOptions_enforceHTTPS :: Lens' DomainEndpointOptions (Maybe Bool)
-- | The minimum required TLS version
domainEndpointOptions_tLSSecurityPolicy :: Lens' DomainEndpointOptions (Maybe TLSSecurityPolicy)
-- | The domain endpoint options configured for the domain.
domainEndpointOptionsStatus_options :: Lens' DomainEndpointOptionsStatus DomainEndpointOptions
-- | The status of the configured domain endpoint options.
domainEndpointOptionsStatus_status :: Lens' DomainEndpointOptionsStatus OptionStatus
-- | Undocumented member.
domainStatus_arn :: Lens' DomainStatus (Maybe Text)
-- | True if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
domainStatus_created :: Lens' DomainStatus (Maybe Bool)
-- | True if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
domainStatus_deleted :: Lens' DomainStatus (Maybe Bool)
-- | The service endpoint for updating documents in a search domain.
domainStatus_docService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_limits :: Lens' DomainStatus (Maybe Limits)
-- | True if processing is being done to activate the current domain
-- configuration.
domainStatus_processing :: Lens' DomainStatus (Maybe Bool)
-- | The number of search instances that are available to process search
-- requests.
domainStatus_searchInstanceCount :: Lens' DomainStatus (Maybe Natural)
-- | The instance type that is being used to process search requests.
domainStatus_searchInstanceType :: Lens' DomainStatus (Maybe Text)
-- | The number of partitions across which the search index is spread.
domainStatus_searchPartitionCount :: Lens' DomainStatus (Maybe Natural)
-- | The service endpoint for requesting search results from a search
-- domain.
domainStatus_searchService :: Lens' DomainStatus (Maybe ServiceEndpoint)
-- | Undocumented member.
domainStatus_domainId :: Lens' DomainStatus Text
-- | Undocumented member.
domainStatus_domainName :: Lens' DomainStatus Text
-- | True if IndexDocuments needs to be called to activate the current
-- domain configuration.
domainStatus_requiresIndexDocuments :: Lens' DomainStatus Bool
-- | A value to use for the field if the field isn't specified for a
-- document.
doubleArrayOptions_defaultValue :: Lens' DoubleArrayOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleArrayOptions_facetEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleArrayOptions_returnEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleArrayOptions_searchEnabled :: Lens' DoubleArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
doubleArrayOptions_sourceFields :: Lens' DoubleArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double)
-- | Whether facet information can be returned for the field.
doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool)
-- | The name of the source field to map to the field.
doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text)
-- | Undocumented member.
expression_expressionName :: Lens' Expression Text
-- | Undocumented member.
expression_expressionValue :: Lens' Expression Text
-- | The expression that is evaluated for sorting while processing a search
-- request.
expressionStatus_options :: Lens' ExpressionStatus Expression
-- | Undocumented member.
expressionStatus_status :: Lens' ExpressionStatus OptionStatus
-- | Undocumented member.
indexField_dateArrayOptions :: Lens' IndexField (Maybe DateArrayOptions)
-- | Undocumented member.
indexField_dateOptions :: Lens' IndexField (Maybe DateOptions)
-- | Undocumented member.
indexField_doubleArrayOptions :: Lens' IndexField (Maybe DoubleArrayOptions)
-- | Undocumented member.
indexField_doubleOptions :: Lens' IndexField (Maybe DoubleOptions)
-- | Undocumented member.
indexField_intArrayOptions :: Lens' IndexField (Maybe IntArrayOptions)
-- | Undocumented member.
indexField_intOptions :: Lens' IndexField (Maybe IntOptions)
-- | Undocumented member.
indexField_latLonOptions :: Lens' IndexField (Maybe LatLonOptions)
-- | Undocumented member.
indexField_literalArrayOptions :: Lens' IndexField (Maybe LiteralArrayOptions)
-- | Undocumented member.
indexField_literalOptions :: Lens' IndexField (Maybe LiteralOptions)
-- | Undocumented member.
indexField_textArrayOptions :: Lens' IndexField (Maybe TextArrayOptions)
-- | Undocumented member.
indexField_textOptions :: Lens' IndexField (Maybe TextOptions)
-- | A string that represents the name of an index field. CloudSearch
-- supports regular index fields as well as dynamic fields. A dynamic
-- field's name defines a pattern that begins or ends with a wildcard.
-- Any document fields that don't map to a regular index field but do
-- match a dynamic field's pattern are configured with the dynamic
-- field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
indexField_indexFieldName :: Lens' IndexField Text
-- | Undocumented member.
indexField_indexFieldType :: Lens' IndexField IndexFieldType
-- | Undocumented member.
indexFieldStatus_options :: Lens' IndexFieldStatus IndexField
-- | Undocumented member.
indexFieldStatus_status :: Lens' IndexFieldStatus OptionStatus
-- | A value to use for the field if the field isn't specified for a
-- document.
intArrayOptions_defaultValue :: Lens' IntArrayOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intArrayOptions_facetEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intArrayOptions_returnEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intArrayOptions_searchEnabled :: Lens' IntArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
intArrayOptions_sourceFields :: Lens' IntArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
intOptions_defaultValue :: Lens' IntOptions (Maybe Integer)
-- | Whether facet information can be returned for the field.
intOptions_facetEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
intOptions_returnEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
intOptions_searchEnabled :: Lens' IntOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
intOptions_sortEnabled :: Lens' IntOptions (Maybe Bool)
-- | The name of the source field to map to the field.
intOptions_sourceField :: Lens' IntOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
latLonOptions_defaultValue :: Lens' LatLonOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
latLonOptions_facetEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
latLonOptions_returnEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
latLonOptions_searchEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
latLonOptions_sortEnabled :: Lens' LatLonOptions (Maybe Bool)
-- | Undocumented member.
latLonOptions_sourceField :: Lens' LatLonOptions (Maybe Text)
-- | Undocumented member.
limits_maximumReplicationCount :: Lens' Limits Natural
-- | Undocumented member.
limits_maximumPartitionCount :: Lens' Limits Natural
-- | A value to use for the field if the field isn't specified for a
-- document.
literalArrayOptions_defaultValue :: Lens' LiteralArrayOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalArrayOptions_facetEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalArrayOptions_returnEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalArrayOptions_searchEnabled :: Lens' LiteralArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
literalArrayOptions_sourceFields :: Lens' LiteralArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text)
-- | Whether facet information can be returned for the field.
literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the contents of the field are searchable.
literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool)
-- | Undocumented member.
literalOptions_sourceField :: Lens' LiteralOptions (Maybe Text)
-- | Indicates that the option will be deleted once processing is complete.
optionStatus_pendingDeletion :: Lens' OptionStatus (Maybe Bool)
-- | A unique integer that indicates when this option was last updated.
optionStatus_updateVersion :: Lens' OptionStatus (Maybe Natural)
-- | A timestamp for when this option was created.
optionStatus_creationDate :: Lens' OptionStatus UTCTime
-- | A timestamp for when this option was last updated.
optionStatus_updateDate :: Lens' OptionStatus UTCTime
-- | The state of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
optionStatus_state :: Lens' OptionStatus OptionState
-- | The instance type that you want to preconfigure for your domain. For
-- example, search.m1.small.
scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType)
-- | The number of partitions you want to preconfigure for your domain.
-- Only valid when you select m2.2xlarge as the desired instance
-- type.
scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural)
-- | The number of replicas you want to preconfigure for each index
-- partition.
scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural)
-- | Undocumented member.
scalingParametersStatus_options :: Lens' ScalingParametersStatus ScalingParameters
-- | Undocumented member.
scalingParametersStatus_status :: Lens' ScalingParametersStatus OptionStatus
-- | Undocumented member.
serviceEndpoint_endpoint :: Lens' ServiceEndpoint (Maybe Text)
-- | Undocumented member.
suggester_suggesterName :: Lens' Suggester Text
-- | Undocumented member.
suggester_documentSuggesterOptions :: Lens' Suggester DocumentSuggesterOptions
-- | Undocumented member.
suggesterStatus_options :: Lens' SuggesterStatus Suggester
-- | Undocumented member.
suggesterStatus_status :: Lens' SuggesterStatus OptionStatus
-- | The name of an analysis scheme for a text-array field.
textArrayOptions_analysisScheme :: Lens' TextArrayOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textArrayOptions_defaultValue :: Lens' TextArrayOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textArrayOptions_highlightEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textArrayOptions_returnEnabled :: Lens' TextArrayOptions (Maybe Bool)
-- | A list of source fields to map to the field.
textArrayOptions_sourceFields :: Lens' TextArrayOptions (Maybe Text)
-- | The name of an analysis scheme for a text field.
textOptions_analysisScheme :: Lens' TextOptions (Maybe Text)
-- | A value to use for the field if the field isn't specified for a
-- document.
textOptions_defaultValue :: Lens' TextOptions (Maybe Text)
-- | Whether highlights can be returned for the field.
textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the contents of the field can be returned in the search
-- results.
textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool)
-- | Whether the field can be used to sort the search results.
textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool)
-- | Undocumented member.
textOptions_sourceField :: Lens' TextOptions (Maybe Text)
module Amazonka.CloudSearch.Waiters
-- | Derived from API version 2013-01-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon CloudSearch Configuration Service
--
-- You use the Amazon CloudSearch configuration service to create,
-- configure, and manage search domains. Configuration service requests
-- are submitted using the AWS Query protocol. AWS Query requests are
-- HTTP or HTTPS requests submitted via HTTP GET or POST with a query
-- parameter named Action.
--
-- The endpoint for configuration service requests is region-specific:
-- cloudsearch.region.amazonaws.com. For example,
-- cloudsearch.us-east-1.amazonaws.com. For a current list of supported
-- regions and endpoints, see Regions and Endpoints.
module Amazonka.CloudSearch
-- | API version 2013-01-01 of the Amazon CloudSearch SDK
-- configuration.
defaultService :: Service
-- | An error occurred while processing the request.
_BaseException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted an operation which is
-- not enabled.
_DisabledOperationException :: AsError a => Fold a ServiceError
-- | An internal error occurred while processing the request. If this
-- problem persists, report an issue from the Service Health
-- Dashboard.
_InternalException :: AsError a => Fold a ServiceError
-- | The request was rejected because it specified an invalid type
-- definition.
_InvalidTypeException :: AsError a => Fold a ServiceError
-- | The request was rejected because a resource limit has already been
-- met.
_LimitExceededException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted to create a resource
-- that already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The request was rejected because it attempted to reference a resource
-- that does not exist.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The request was rejected because it has invalid parameters.
_ValidationException :: AsError a => Fold a ServiceError
-- | Container for the parameters to the BuildSuggester operation.
-- Specifies the name of the domain you want to update.
--
-- See: newBuildSuggesters smart constructor.
data BuildSuggesters
BuildSuggesters' :: Text -> BuildSuggesters
-- | Create a value of BuildSuggesters 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:
--
-- BuildSuggesters, buildSuggesters_domainName -
-- Undocumented member.
newBuildSuggesters :: Text -> BuildSuggesters
-- | The result of a BuildSuggester request. Contains a list of
-- the fields used for suggestions.
--
-- See: newBuildSuggestersResponse smart constructor.
data BuildSuggestersResponse
BuildSuggestersResponse' :: Maybe [Text] -> Int -> BuildSuggestersResponse
-- | Create a value of BuildSuggestersResponse 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:fieldNames:BuildSuggestersResponse',
-- buildSuggestersResponse_fieldNames - Undocumented member.
--
-- $sel:httpStatus:BuildSuggestersResponse',
-- buildSuggestersResponse_httpStatus - The response's http status
-- code.
newBuildSuggestersResponse :: Int -> BuildSuggestersResponse
-- | Container for the parameters to the CreateDomain operation.
-- Specifies a name for the new search domain.
--
-- See: newCreateDomain smart constructor.
data CreateDomain
CreateDomain' :: Text -> CreateDomain
-- | Create a value of CreateDomain 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:
--
-- CreateDomain, createDomain_domainName - A name for the
-- domain you are creating. Allowed characters are a-z (lower-case
-- letters), 0-9, and hyphen (-). Domain names must start with a letter
-- or number and be at least 3 and no more than 28 characters long.
newCreateDomain :: Text -> CreateDomain
-- | The result of a CreateDomainRequest. Contains the status of a
-- newly created domain.
--
-- See: newCreateDomainResponse smart constructor.
data CreateDomainResponse
CreateDomainResponse' :: Maybe DomainStatus -> Int -> CreateDomainResponse
-- | Create a value of CreateDomainResponse 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:domainStatus:CreateDomainResponse',
-- createDomainResponse_domainStatus - Undocumented member.
--
-- $sel:httpStatus:CreateDomainResponse',
-- createDomainResponse_httpStatus - The response's http status
-- code.
newCreateDomainResponse :: Int -> CreateDomainResponse
-- | Container for the parameters to the DefineAnalysisScheme
-- operation. Specifies the name of the domain you want to update and the
-- analysis scheme configuration.
--
-- See: newDefineAnalysisScheme smart constructor.
data DefineAnalysisScheme
DefineAnalysisScheme' :: Text -> AnalysisScheme -> DefineAnalysisScheme
-- | Create a value of DefineAnalysisScheme 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:
--
-- DefineAnalysisScheme, defineAnalysisScheme_domainName -
-- Undocumented member.
--
-- DefineAnalysisScheme,
-- defineAnalysisScheme_analysisScheme - Undocumented member.
newDefineAnalysisScheme :: Text -> AnalysisScheme -> DefineAnalysisScheme
-- | The result of a DefineAnalysisScheme request. Contains the
-- status of the newly-configured analysis scheme.
--
-- See: newDefineAnalysisSchemeResponse smart constructor.
data DefineAnalysisSchemeResponse
DefineAnalysisSchemeResponse' :: Int -> AnalysisSchemeStatus -> DefineAnalysisSchemeResponse
-- | Create a value of DefineAnalysisSchemeResponse 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:httpStatus:DefineAnalysisSchemeResponse',
-- defineAnalysisSchemeResponse_httpStatus - The response's http
-- status code.
--
-- DefineAnalysisScheme,
-- defineAnalysisSchemeResponse_analysisScheme - Undocumented
-- member.
newDefineAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DefineAnalysisSchemeResponse
-- | Container for the parameters to the DefineExpression
-- operation. Specifies the name of the domain you want to update and the
-- expression you want to configure.
--
-- See: newDefineExpression smart constructor.
data DefineExpression
DefineExpression' :: Text -> Expression -> DefineExpression
-- | Create a value of DefineExpression 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:
--
-- DefineExpression, defineExpression_domainName -
-- Undocumented member.
--
-- DefineExpression, defineExpression_expression -
-- Undocumented member.
newDefineExpression :: Text -> Expression -> DefineExpression
-- | The result of a DefineExpression request. Contains the status
-- of the newly-configured expression.
--
-- See: newDefineExpressionResponse smart constructor.
data DefineExpressionResponse
DefineExpressionResponse' :: Int -> ExpressionStatus -> DefineExpressionResponse
-- | Create a value of DefineExpressionResponse 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:httpStatus:DefineExpressionResponse',
-- defineExpressionResponse_httpStatus - The response's http
-- status code.
--
-- DefineExpression, defineExpressionResponse_expression -
-- Undocumented member.
newDefineExpressionResponse :: Int -> ExpressionStatus -> DefineExpressionResponse
-- | Container for the parameters to the DefineIndexField
-- operation. Specifies the name of the domain you want to update and the
-- index field configuration.
--
-- See: newDefineIndexField smart constructor.
data DefineIndexField
DefineIndexField' :: Text -> IndexField -> DefineIndexField
-- | Create a value of DefineIndexField 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:
--
-- DefineIndexField, defineIndexField_domainName -
-- Undocumented member.
--
-- DefineIndexField, defineIndexField_indexField - The
-- index field and field options you want to configure.
newDefineIndexField :: Text -> IndexField -> DefineIndexField
-- | The result of a DefineIndexField request. Contains the status
-- of the newly-configured index field.
--
-- See: newDefineIndexFieldResponse smart constructor.
data DefineIndexFieldResponse
DefineIndexFieldResponse' :: Int -> IndexFieldStatus -> DefineIndexFieldResponse
-- | Create a value of DefineIndexFieldResponse 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:httpStatus:DefineIndexFieldResponse',
-- defineIndexFieldResponse_httpStatus - The response's http
-- status code.
--
-- DefineIndexField, defineIndexFieldResponse_indexField -
-- Undocumented member.
newDefineIndexFieldResponse :: Int -> IndexFieldStatus -> DefineIndexFieldResponse
-- | Container for the parameters to the DefineSuggester
-- operation. Specifies the name of the domain you want to update and the
-- suggester configuration.
--
-- See: newDefineSuggester smart constructor.
data DefineSuggester
DefineSuggester' :: Text -> Suggester -> DefineSuggester
-- | Create a value of DefineSuggester 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:
--
-- DefineSuggester, defineSuggester_domainName -
-- Undocumented member.
--
-- DefineSuggester, defineSuggester_suggester -
-- Undocumented member.
newDefineSuggester :: Text -> Suggester -> DefineSuggester
-- | The result of a DefineSuggester request. Contains the status
-- of the newly-configured suggester.
--
-- See: newDefineSuggesterResponse smart constructor.
data DefineSuggesterResponse
DefineSuggesterResponse' :: Int -> SuggesterStatus -> DefineSuggesterResponse
-- | Create a value of DefineSuggesterResponse 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:httpStatus:DefineSuggesterResponse',
-- defineSuggesterResponse_httpStatus - The response's http status
-- code.
--
-- DefineSuggester, defineSuggesterResponse_suggester -
-- Undocumented member.
newDefineSuggesterResponse :: Int -> SuggesterStatus -> DefineSuggesterResponse
-- | Container for the parameters to the DeleteAnalysisScheme
-- operation. Specifies the name of the domain you want to update and the
-- analysis scheme you want to delete.
--
-- See: newDeleteAnalysisScheme smart constructor.
data DeleteAnalysisScheme
DeleteAnalysisScheme' :: Text -> Text -> DeleteAnalysisScheme
-- | Create a value of DeleteAnalysisScheme 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:
--
-- DeleteAnalysisScheme, deleteAnalysisScheme_domainName -
-- Undocumented member.
--
-- DeleteAnalysisScheme,
-- deleteAnalysisScheme_analysisSchemeName - The name of the
-- analysis scheme you want to delete.
newDeleteAnalysisScheme :: Text -> Text -> DeleteAnalysisScheme
-- | The result of a DeleteAnalysisScheme request. Contains the
-- status of the deleted analysis scheme.
--
-- See: newDeleteAnalysisSchemeResponse smart constructor.
data DeleteAnalysisSchemeResponse
DeleteAnalysisSchemeResponse' :: Int -> AnalysisSchemeStatus -> DeleteAnalysisSchemeResponse
-- | Create a value of DeleteAnalysisSchemeResponse 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:httpStatus:DeleteAnalysisSchemeResponse',
-- deleteAnalysisSchemeResponse_httpStatus - The response's http
-- status code.
--
-- DeleteAnalysisSchemeResponse,
-- deleteAnalysisSchemeResponse_analysisScheme - The status of the
-- analysis scheme being deleted.
newDeleteAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DeleteAnalysisSchemeResponse
-- | Container for the parameters to the DeleteDomain operation.
-- Specifies the name of the domain you want to delete.
--
-- See: newDeleteDomain smart constructor.
data DeleteDomain
DeleteDomain' :: Text -> DeleteDomain
-- | Create a value of DeleteDomain 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:
--
-- DeleteDomain, deleteDomain_domainName - The name of the
-- domain you want to permanently delete.
newDeleteDomain :: Text -> DeleteDomain
-- | The result of a DeleteDomain request. Contains the status of
-- a newly deleted domain, or no status if the domain has already been
-- completely deleted.
--
-- See: newDeleteDomainResponse smart constructor.
data DeleteDomainResponse
DeleteDomainResponse' :: Maybe DomainStatus -> Int -> DeleteDomainResponse
-- | Create a value of DeleteDomainResponse 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:domainStatus:DeleteDomainResponse',
-- deleteDomainResponse_domainStatus - Undocumented member.
--
-- $sel:httpStatus:DeleteDomainResponse',
-- deleteDomainResponse_httpStatus - The response's http status
-- code.
newDeleteDomainResponse :: Int -> DeleteDomainResponse
-- | Container for the parameters to the DeleteExpression
-- operation. Specifies the name of the domain you want to update and the
-- name of the expression you want to delete.
--
-- See: newDeleteExpression smart constructor.
data DeleteExpression
DeleteExpression' :: Text -> Text -> DeleteExpression
-- | Create a value of DeleteExpression 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:
--
-- DeleteExpression, deleteExpression_domainName -
-- Undocumented member.
--
-- DeleteExpression, deleteExpression_expressionName - The
-- name of the Expression to delete.
newDeleteExpression :: Text -> Text -> DeleteExpression
-- | The result of a DeleteExpression request. Specifies the
-- expression being deleted.
--
-- See: newDeleteExpressionResponse smart constructor.
data DeleteExpressionResponse
DeleteExpressionResponse' :: Int -> ExpressionStatus -> DeleteExpressionResponse
-- | Create a value of DeleteExpressionResponse 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:httpStatus:DeleteExpressionResponse',
-- deleteExpressionResponse_httpStatus - The response's http
-- status code.
--
-- $sel:expression:DeleteExpressionResponse',
-- deleteExpressionResponse_expression - The status of the
-- expression being deleted.
newDeleteExpressionResponse :: Int -> ExpressionStatus -> DeleteExpressionResponse
-- | Container for the parameters to the DeleteIndexField
-- operation. Specifies the name of the domain you want to update and the
-- name of the index field you want to delete.
--
-- See: newDeleteIndexField smart constructor.
data DeleteIndexField
DeleteIndexField' :: Text -> Text -> DeleteIndexField
-- | Create a value of DeleteIndexField 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:
--
-- DeleteIndexField, deleteIndexField_domainName -
-- Undocumented member.
--
-- DeleteIndexField, deleteIndexField_indexFieldName - The
-- name of the index field your want to remove from the domain's indexing
-- options.
newDeleteIndexField :: Text -> Text -> DeleteIndexField
-- | The result of a DeleteIndexField request.
--
-- See: newDeleteIndexFieldResponse smart constructor.
data DeleteIndexFieldResponse
DeleteIndexFieldResponse' :: Int -> IndexFieldStatus -> DeleteIndexFieldResponse
-- | Create a value of DeleteIndexFieldResponse 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:httpStatus:DeleteIndexFieldResponse',
-- deleteIndexFieldResponse_httpStatus - The response's http
-- status code.
--
-- $sel:indexField:DeleteIndexFieldResponse',
-- deleteIndexFieldResponse_indexField - The status of the index
-- field being deleted.
newDeleteIndexFieldResponse :: Int -> IndexFieldStatus -> DeleteIndexFieldResponse
-- | Container for the parameters to the DeleteSuggester
-- operation. Specifies the name of the domain you want to update and
-- name of the suggester you want to delete.
--
-- See: newDeleteSuggester smart constructor.
data DeleteSuggester
DeleteSuggester' :: Text -> Text -> DeleteSuggester
-- | Create a value of DeleteSuggester 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:
--
-- DeleteSuggester, deleteSuggester_domainName -
-- Undocumented member.
--
-- DeleteSuggester, deleteSuggester_suggesterName -
-- Specifies the name of the suggester you want to delete.
newDeleteSuggester :: Text -> Text -> DeleteSuggester
-- | The result of a DeleteSuggester request. Contains the status
-- of the deleted suggester.
--
-- See: newDeleteSuggesterResponse smart constructor.
data DeleteSuggesterResponse
DeleteSuggesterResponse' :: Int -> SuggesterStatus -> DeleteSuggesterResponse
-- | Create a value of DeleteSuggesterResponse 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:httpStatus:DeleteSuggesterResponse',
-- deleteSuggesterResponse_httpStatus - The response's http status
-- code.
--
-- $sel:suggester:DeleteSuggesterResponse',
-- deleteSuggesterResponse_suggester - The status of the suggester
-- being deleted.
newDeleteSuggesterResponse :: Int -> SuggesterStatus -> DeleteSuggesterResponse
-- | Container for the parameters to the DescribeAnalysisSchemes
-- operation. Specifies the name of the domain you want to describe. To
-- limit the response to particular analysis schemes, specify the names
-- of the analysis schemes you want to describe. To show the active
-- configuration and exclude any pending changes, set the
-- Deployed option to true.
--
-- See: newDescribeAnalysisSchemes smart constructor.
data DescribeAnalysisSchemes
DescribeAnalysisSchemes' :: Maybe [Text] -> Maybe Bool -> Text -> DescribeAnalysisSchemes
-- | Create a value of DescribeAnalysisSchemes 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:analysisSchemeNames:DescribeAnalysisSchemes',
-- describeAnalysisSchemes_analysisSchemeNames - The analysis
-- schemes you want to describe.
--
-- $sel:deployed:DescribeAnalysisSchemes',
-- describeAnalysisSchemes_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeAnalysisSchemes,
-- describeAnalysisSchemes_domainName - The name of the domain you
-- want to describe.
newDescribeAnalysisSchemes :: Text -> DescribeAnalysisSchemes
-- | The result of a DescribeAnalysisSchemes request. Contains the
-- analysis schemes configured for the domain specified in the request.
--
-- See: newDescribeAnalysisSchemesResponse smart
-- constructor.
data DescribeAnalysisSchemesResponse
DescribeAnalysisSchemesResponse' :: Int -> [AnalysisSchemeStatus] -> DescribeAnalysisSchemesResponse
-- | Create a value of DescribeAnalysisSchemesResponse 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:httpStatus:DescribeAnalysisSchemesResponse',
-- describeAnalysisSchemesResponse_httpStatus - The response's
-- http status code.
--
-- $sel:analysisSchemes:DescribeAnalysisSchemesResponse',
-- describeAnalysisSchemesResponse_analysisSchemes - The analysis
-- scheme descriptions.
newDescribeAnalysisSchemesResponse :: Int -> DescribeAnalysisSchemesResponse
-- | Container for the parameters to the
-- DescribeAvailabilityOptions operation. Specifies the name of
-- the domain you want to describe. To show the active configuration and
-- exclude any pending changes, set the Deployed option to true.
--
-- See: newDescribeAvailabilityOptions smart constructor.
data DescribeAvailabilityOptions
DescribeAvailabilityOptions' :: Maybe Bool -> Text -> DescribeAvailabilityOptions
-- | Create a value of DescribeAvailabilityOptions 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:deployed:DescribeAvailabilityOptions',
-- describeAvailabilityOptions_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeAvailabilityOptions,
-- describeAvailabilityOptions_domainName - The name of the domain
-- you want to describe.
newDescribeAvailabilityOptions :: Text -> DescribeAvailabilityOptions
-- | The result of a DescribeAvailabilityOptions request.
-- Indicates whether or not the Multi-AZ option is enabled for the domain
-- specified in the request.
--
-- See: newDescribeAvailabilityOptionsResponse smart
-- constructor.
data DescribeAvailabilityOptionsResponse
DescribeAvailabilityOptionsResponse' :: Maybe AvailabilityOptionsStatus -> Int -> DescribeAvailabilityOptionsResponse
-- | Create a value of DescribeAvailabilityOptionsResponse 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:availabilityOptions:DescribeAvailabilityOptionsResponse',
-- describeAvailabilityOptionsResponse_availabilityOptions - The
-- availability options configured for the domain. Indicates whether
-- Multi-AZ is enabled for the domain.
--
-- $sel:httpStatus:DescribeAvailabilityOptionsResponse',
-- describeAvailabilityOptionsResponse_httpStatus - The response's
-- http status code.
newDescribeAvailabilityOptionsResponse :: Int -> DescribeAvailabilityOptionsResponse
-- | Container for the parameters to the
-- DescribeDomainEndpointOptions operation. Specify the name of
-- the domain you want to describe. To show the active configuration and
-- exclude any pending changes, set the Deployed option to true.
--
-- See: newDescribeDomainEndpointOptions smart constructor.
data DescribeDomainEndpointOptions
DescribeDomainEndpointOptions' :: Maybe Bool -> Text -> DescribeDomainEndpointOptions
-- | Create a value of DescribeDomainEndpointOptions 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:deployed:DescribeDomainEndpointOptions',
-- describeDomainEndpointOptions_deployed - Whether to retrieve
-- the latest configuration (which might be in a Processing state) or the
-- current, active configuration. Defaults to false.
--
-- DescribeDomainEndpointOptions,
-- describeDomainEndpointOptions_domainName - A string that
-- represents the name of a domain.
newDescribeDomainEndpointOptions :: Text -> DescribeDomainEndpointOptions
-- | The result of a DescribeDomainEndpointOptions request.
-- Contains the status and configuration of a search domain's endpoint
-- options.
--
-- See: newDescribeDomainEndpointOptionsResponse smart
-- constructor.
data DescribeDomainEndpointOptionsResponse
DescribeDomainEndpointOptionsResponse' :: Maybe DomainEndpointOptionsStatus -> Int -> DescribeDomainEndpointOptionsResponse
-- | Create a value of DescribeDomainEndpointOptionsResponse 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:domainEndpointOptions:DescribeDomainEndpointOptionsResponse',
-- describeDomainEndpointOptionsResponse_domainEndpointOptions -
-- The status and configuration of a search domain's endpoint options.
--
-- $sel:httpStatus:DescribeDomainEndpointOptionsResponse',
-- describeDomainEndpointOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeDomainEndpointOptionsResponse :: Int -> DescribeDomainEndpointOptionsResponse
-- | Container for the parameters to the DescribeDomains
-- operation. By default shows the status of all domains. To restrict the
-- response to particular domains, specify the names of the domains you
-- want to describe.
--
-- See: newDescribeDomains smart constructor.
data DescribeDomains
DescribeDomains' :: Maybe [Text] -> DescribeDomains
-- | Create a value of DescribeDomains 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:domainNames:DescribeDomains',
-- describeDomains_domainNames - The names of the domains you want
-- to include in the response.
newDescribeDomains :: DescribeDomains
-- | The result of a DescribeDomains request. Contains the status
-- of the domains specified in the request or all domains owned by the
-- account.
--
-- See: newDescribeDomainsResponse smart constructor.
data DescribeDomainsResponse
DescribeDomainsResponse' :: Int -> [DomainStatus] -> DescribeDomainsResponse
-- | Create a value of DescribeDomainsResponse 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:httpStatus:DescribeDomainsResponse',
-- describeDomainsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:domainStatusList:DescribeDomainsResponse',
-- describeDomainsResponse_domainStatusList - Undocumented member.
newDescribeDomainsResponse :: Int -> DescribeDomainsResponse
-- | Container for the parameters to the DescribeDomains
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular expressions, specify the names of
-- the expressions you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeExpressions smart constructor.
data DescribeExpressions
DescribeExpressions' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeExpressions
-- | Create a value of DescribeExpressions 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:deployed:DescribeExpressions',
-- describeExpressions_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:expressionNames:DescribeExpressions',
-- describeExpressions_expressionNames - Limits the
-- DescribeExpressions response to the specified expressions. If
-- not specified, all expressions are shown.
--
-- DescribeExpressions, describeExpressions_domainName -
-- The name of the domain you want to describe.
newDescribeExpressions :: Text -> DescribeExpressions
-- | The result of a DescribeExpressions request. Contains the
-- expressions configured for the domain specified in the request.
--
-- See: newDescribeExpressionsResponse smart constructor.
data DescribeExpressionsResponse
DescribeExpressionsResponse' :: Int -> [ExpressionStatus] -> DescribeExpressionsResponse
-- | Create a value of DescribeExpressionsResponse 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:httpStatus:DescribeExpressionsResponse',
-- describeExpressionsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:expressions:DescribeExpressionsResponse',
-- describeExpressionsResponse_expressions - The expressions
-- configured for the domain.
newDescribeExpressionsResponse :: Int -> DescribeExpressionsResponse
-- | Container for the parameters to the DescribeIndexFields
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular index fields, specify the names of
-- the index fields you want to describe. To show the active
-- configuration and exclude any pending changes, set the
-- Deployed option to true.
--
-- See: newDescribeIndexFields smart constructor.
data DescribeIndexFields
DescribeIndexFields' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeIndexFields
-- | Create a value of DescribeIndexFields 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:deployed:DescribeIndexFields',
-- describeIndexFields_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:fieldNames:DescribeIndexFields',
-- describeIndexFields_fieldNames - A list of the index fields you
-- want to describe. If not specified, information is returned for all
-- configured index fields.
--
-- DescribeIndexFields, describeIndexFields_domainName -
-- The name of the domain you want to describe.
newDescribeIndexFields :: Text -> DescribeIndexFields
-- | The result of a DescribeIndexFields request. Contains the
-- index fields configured for the domain specified in the request.
--
-- See: newDescribeIndexFieldsResponse smart constructor.
data DescribeIndexFieldsResponse
DescribeIndexFieldsResponse' :: Int -> [IndexFieldStatus] -> DescribeIndexFieldsResponse
-- | Create a value of DescribeIndexFieldsResponse 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:httpStatus:DescribeIndexFieldsResponse',
-- describeIndexFieldsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:indexFields:DescribeIndexFieldsResponse',
-- describeIndexFieldsResponse_indexFields - The index fields
-- configured for the domain.
newDescribeIndexFieldsResponse :: Int -> DescribeIndexFieldsResponse
-- | Container for the parameters to the DescribeScalingParameters
-- operation. Specifies the name of the domain you want to describe.
--
-- See: newDescribeScalingParameters smart constructor.
data DescribeScalingParameters
DescribeScalingParameters' :: Text -> DescribeScalingParameters
-- | Create a value of DescribeScalingParameters 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:
--
-- DescribeScalingParameters,
-- describeScalingParameters_domainName - Undocumented member.
newDescribeScalingParameters :: Text -> DescribeScalingParameters
-- | The result of a DescribeScalingParameters request. Contains
-- the scaling parameters configured for the domain specified in the
-- request.
--
-- See: newDescribeScalingParametersResponse smart
-- constructor.
data DescribeScalingParametersResponse
DescribeScalingParametersResponse' :: Int -> ScalingParametersStatus -> DescribeScalingParametersResponse
-- | Create a value of DescribeScalingParametersResponse 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:httpStatus:DescribeScalingParametersResponse',
-- describeScalingParametersResponse_httpStatus - The response's
-- http status code.
--
-- $sel:scalingParameters:DescribeScalingParametersResponse',
-- describeScalingParametersResponse_scalingParameters -
-- Undocumented member.
newDescribeScalingParametersResponse :: Int -> ScalingParametersStatus -> DescribeScalingParametersResponse
-- | Container for the parameters to the
-- DescribeServiceAccessPolicies operation. Specifies the name
-- of the domain you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeServiceAccessPolicies smart constructor.
data DescribeServiceAccessPolicies
DescribeServiceAccessPolicies' :: Maybe Bool -> Text -> DescribeServiceAccessPolicies
-- | Create a value of DescribeServiceAccessPolicies 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:deployed:DescribeServiceAccessPolicies',
-- describeServiceAccessPolicies_deployed - Whether to display the
-- deployed configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- DescribeServiceAccessPolicies,
-- describeServiceAccessPolicies_domainName - The name of the
-- domain you want to describe.
newDescribeServiceAccessPolicies :: Text -> DescribeServiceAccessPolicies
-- | The result of a DescribeServiceAccessPolicies request.
--
-- See: newDescribeServiceAccessPoliciesResponse smart
-- constructor.
data DescribeServiceAccessPoliciesResponse
DescribeServiceAccessPoliciesResponse' :: Int -> AccessPoliciesStatus -> DescribeServiceAccessPoliciesResponse
-- | Create a value of DescribeServiceAccessPoliciesResponse 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:httpStatus:DescribeServiceAccessPoliciesResponse',
-- describeServiceAccessPoliciesResponse_httpStatus - The
-- response's http status code.
--
-- $sel:accessPolicies:DescribeServiceAccessPoliciesResponse',
-- describeServiceAccessPoliciesResponse_accessPolicies - The
-- access rules configured for the domain specified in the request.
newDescribeServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> DescribeServiceAccessPoliciesResponse
-- | Container for the parameters to the DescribeSuggester
-- operation. Specifies the name of the domain you want to describe. To
-- restrict the response to particular suggesters, specify the names of
-- the suggesters you want to describe. To show the active configuration
-- and exclude any pending changes, set the Deployed option to
-- true.
--
-- See: newDescribeSuggesters smart constructor.
data DescribeSuggesters
DescribeSuggesters' :: Maybe Bool -> Maybe [Text] -> Text -> DescribeSuggesters
-- | Create a value of DescribeSuggesters 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:deployed:DescribeSuggesters',
-- describeSuggesters_deployed - Whether to display the deployed
-- configuration (true) or include any pending changes
-- (false). Defaults to false.
--
-- $sel:suggesterNames:DescribeSuggesters',
-- describeSuggesters_suggesterNames - The suggesters you want to
-- describe.
--
-- DescribeSuggesters, describeSuggesters_domainName - The
-- name of the domain you want to describe.
newDescribeSuggesters :: Text -> DescribeSuggesters
-- | The result of a DescribeSuggesters request.
--
-- See: newDescribeSuggestersResponse smart constructor.
data DescribeSuggestersResponse
DescribeSuggestersResponse' :: Int -> [SuggesterStatus] -> DescribeSuggestersResponse
-- | Create a value of DescribeSuggestersResponse 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:httpStatus:DescribeSuggestersResponse',
-- describeSuggestersResponse_httpStatus - The response's http
-- status code.
--
-- $sel:suggesters:DescribeSuggestersResponse',
-- describeSuggestersResponse_suggesters - The suggesters
-- configured for the domain specified in the request.
newDescribeSuggestersResponse :: Int -> DescribeSuggestersResponse
-- | Container for the parameters to the IndexDocuments operation.
-- Specifies the name of the domain you want to re-index.
--
-- See: newIndexDocuments smart constructor.
data IndexDocuments
IndexDocuments' :: Text -> IndexDocuments
-- | Create a value of IndexDocuments 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:
--
-- IndexDocuments, indexDocuments_domainName - Undocumented
-- member.
newIndexDocuments :: Text -> IndexDocuments
-- | The result of an IndexDocuments request. Contains the status
-- of the indexing operation, including the fields being indexed.
--
-- See: newIndexDocumentsResponse smart constructor.
data IndexDocumentsResponse
IndexDocumentsResponse' :: Maybe [Text] -> Int -> IndexDocumentsResponse
-- | Create a value of IndexDocumentsResponse 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:fieldNames:IndexDocumentsResponse',
-- indexDocumentsResponse_fieldNames - The names of the fields
-- that are currently being indexed.
--
-- $sel:httpStatus:IndexDocumentsResponse',
-- indexDocumentsResponse_httpStatus - The response's http status
-- code.
newIndexDocumentsResponse :: Int -> IndexDocumentsResponse
-- | See: newListDomainNames smart constructor.
data ListDomainNames
ListDomainNames' :: ListDomainNames
-- | Create a value of ListDomainNames with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListDomainNames :: ListDomainNames
-- | The result of a ListDomainNames request. Contains a list of
-- the domains owned by an account.
--
-- See: newListDomainNamesResponse smart constructor.
data ListDomainNamesResponse
ListDomainNamesResponse' :: Maybe (HashMap Text Text) -> Int -> ListDomainNamesResponse
-- | Create a value of ListDomainNamesResponse 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:domainNames:ListDomainNamesResponse',
-- listDomainNamesResponse_domainNames - The names of the search
-- domains owned by an account.
--
-- $sel:httpStatus:ListDomainNamesResponse',
-- listDomainNamesResponse_httpStatus - The response's http status
-- code.
newListDomainNamesResponse :: Int -> ListDomainNamesResponse
-- | Container for the parameters to the UpdateAvailabilityOptions
-- operation. Specifies the name of the domain you want to update and the
-- Multi-AZ availability option.
--
-- See: newUpdateAvailabilityOptions smart constructor.
data UpdateAvailabilityOptions
UpdateAvailabilityOptions' :: Text -> Bool -> UpdateAvailabilityOptions
-- | Create a value of UpdateAvailabilityOptions 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:
--
-- UpdateAvailabilityOptions,
-- updateAvailabilityOptions_domainName - Undocumented member.
--
-- $sel:multiAZ:UpdateAvailabilityOptions',
-- updateAvailabilityOptions_multiAZ - You expand an existing
-- search domain to a second Availability Zone by setting the Multi-AZ
-- option to true. Similarly, you can turn off the Multi-AZ option to
-- downgrade the domain to a single Availability Zone by setting the
-- Multi-AZ option to false.
newUpdateAvailabilityOptions :: Text -> Bool -> UpdateAvailabilityOptions
-- | The result of a UpdateAvailabilityOptions request. Contains
-- the status of the domain's availability options.
--
-- See: newUpdateAvailabilityOptionsResponse smart
-- constructor.
data UpdateAvailabilityOptionsResponse
UpdateAvailabilityOptionsResponse' :: Maybe AvailabilityOptionsStatus -> Int -> UpdateAvailabilityOptionsResponse
-- | Create a value of UpdateAvailabilityOptionsResponse 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:availabilityOptions:UpdateAvailabilityOptionsResponse',
-- updateAvailabilityOptionsResponse_availabilityOptions - The
-- newly-configured availability options. Indicates whether Multi-AZ is
-- enabled for the domain.
--
-- $sel:httpStatus:UpdateAvailabilityOptionsResponse',
-- updateAvailabilityOptionsResponse_httpStatus - The response's
-- http status code.
newUpdateAvailabilityOptionsResponse :: Int -> UpdateAvailabilityOptionsResponse
-- | Container for the parameters to the
-- UpdateDomainEndpointOptions operation. Specifies the name of
-- the domain you want to update and the domain endpoint options.
--
-- See: newUpdateDomainEndpointOptions smart constructor.
data UpdateDomainEndpointOptions
UpdateDomainEndpointOptions' :: Text -> DomainEndpointOptions -> UpdateDomainEndpointOptions
-- | Create a value of UpdateDomainEndpointOptions 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:
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptions_domainName - A string that
-- represents the name of a domain.
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptions_domainEndpointOptions - Whether to
-- require that all requests to the domain arrive over HTTPS. We
-- recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
-- compatibility with older clients, the default is
-- Policy-Min-TLS-1-0-2019-07.
newUpdateDomainEndpointOptions :: Text -> DomainEndpointOptions -> UpdateDomainEndpointOptions
-- | The result of a UpdateDomainEndpointOptions request. Contains
-- the configuration and status of the domain's endpoint options.
--
-- See: newUpdateDomainEndpointOptionsResponse smart
-- constructor.
data UpdateDomainEndpointOptionsResponse
UpdateDomainEndpointOptionsResponse' :: Maybe DomainEndpointOptionsStatus -> Int -> UpdateDomainEndpointOptionsResponse
-- | Create a value of UpdateDomainEndpointOptionsResponse 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:
--
-- UpdateDomainEndpointOptions,
-- updateDomainEndpointOptionsResponse_domainEndpointOptions - The
-- newly-configured domain endpoint options.
--
-- $sel:httpStatus:UpdateDomainEndpointOptionsResponse',
-- updateDomainEndpointOptionsResponse_httpStatus - The response's
-- http status code.
newUpdateDomainEndpointOptionsResponse :: Int -> UpdateDomainEndpointOptionsResponse
-- | Container for the parameters to the UpdateScalingParameters
-- operation. Specifies the name of the domain you want to update and the
-- scaling parameters you want to configure.
--
-- See: newUpdateScalingParameters smart constructor.
data UpdateScalingParameters
UpdateScalingParameters' :: Text -> ScalingParameters -> UpdateScalingParameters
-- | Create a value of UpdateScalingParameters 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:
--
-- UpdateScalingParameters,
-- updateScalingParameters_domainName - Undocumented member.
--
-- UpdateScalingParameters,
-- updateScalingParameters_scalingParameters - Undocumented
-- member.
newUpdateScalingParameters :: Text -> ScalingParameters -> UpdateScalingParameters
-- | The result of a UpdateScalingParameters request. Contains the
-- status of the newly-configured scaling parameters.
--
-- See: newUpdateScalingParametersResponse smart
-- constructor.
data UpdateScalingParametersResponse
UpdateScalingParametersResponse' :: Int -> ScalingParametersStatus -> UpdateScalingParametersResponse
-- | Create a value of UpdateScalingParametersResponse 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:httpStatus:UpdateScalingParametersResponse',
-- updateScalingParametersResponse_httpStatus - The response's
-- http status code.
--
-- UpdateScalingParameters,
-- updateScalingParametersResponse_scalingParameters -
-- Undocumented member.
newUpdateScalingParametersResponse :: Int -> ScalingParametersStatus -> UpdateScalingParametersResponse
-- | Container for the parameters to the
-- UpdateServiceAccessPolicies operation. Specifies the name of
-- the domain you want to update and the access rules you want to
-- configure.
--
-- See: newUpdateServiceAccessPolicies smart constructor.
data UpdateServiceAccessPolicies
UpdateServiceAccessPolicies' :: Text -> Text -> UpdateServiceAccessPolicies
-- | Create a value of UpdateServiceAccessPolicies 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:
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPolicies_domainName - Undocumented member.
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPolicies_accessPolicies - The access rules
-- you want to configure. These rules replace any existing rules.
newUpdateServiceAccessPolicies :: Text -> Text -> UpdateServiceAccessPolicies
-- | The result of an UpdateServiceAccessPolicies request.
-- Contains the new access policies.
--
-- See: newUpdateServiceAccessPoliciesResponse smart
-- constructor.
data UpdateServiceAccessPoliciesResponse
UpdateServiceAccessPoliciesResponse' :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
-- | Create a value of UpdateServiceAccessPoliciesResponse 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:httpStatus:UpdateServiceAccessPoliciesResponse',
-- updateServiceAccessPoliciesResponse_httpStatus - The response's
-- http status code.
--
-- UpdateServiceAccessPolicies,
-- updateServiceAccessPoliciesResponse_accessPolicies - The access
-- rules configured for the domain.
newUpdateServiceAccessPoliciesResponse :: Int -> AccessPoliciesStatus -> UpdateServiceAccessPoliciesResponse
newtype AlgorithmicStemming
AlgorithmicStemming' :: Text -> AlgorithmicStemming
[fromAlgorithmicStemming] :: AlgorithmicStemming -> Text
pattern AlgorithmicStemming_Full :: AlgorithmicStemming
pattern AlgorithmicStemming_Light :: AlgorithmicStemming
pattern AlgorithmicStemming_Minimal :: AlgorithmicStemming
pattern AlgorithmicStemming_None :: AlgorithmicStemming
-- | An IETF RFC 4646 language code or mul for multiple
-- languages.
newtype AnalysisSchemeLanguage
AnalysisSchemeLanguage' :: Text -> AnalysisSchemeLanguage
[fromAnalysisSchemeLanguage] :: AnalysisSchemeLanguage -> Text
pattern AnalysisSchemeLanguage_Ar :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Bg :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ca :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Cs :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Da :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_De :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_El :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_En :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Es :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Eu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fa :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Fr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ga :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Gl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_He :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hi :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hu :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Hy :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Id :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_It :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ja :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ko :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Lv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Mul :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Nl :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_No :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Pt :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ro :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Ru :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Sv :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Th :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Tr :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hans :: AnalysisSchemeLanguage
pattern AnalysisSchemeLanguage_Zh_Hant :: AnalysisSchemeLanguage
-- | The type of field. The valid options for a field depend on the field
-- type. For more information about the supported field types, see
-- Configuring Index Fields in the Amazon CloudSearch Developer
-- Guide.
newtype IndexFieldType
IndexFieldType' :: Text -> IndexFieldType
[fromIndexFieldType] :: IndexFieldType -> Text
pattern IndexFieldType_Date :: IndexFieldType
pattern IndexFieldType_Date_array :: IndexFieldType
pattern IndexFieldType_Double :: IndexFieldType
pattern IndexFieldType_Double_array :: IndexFieldType
pattern IndexFieldType_Int :: IndexFieldType
pattern IndexFieldType_Int_array :: IndexFieldType
pattern IndexFieldType_Latlon :: IndexFieldType
pattern IndexFieldType_Literal :: IndexFieldType
pattern IndexFieldType_Literal_array :: IndexFieldType
pattern IndexFieldType_Text :: IndexFieldType
pattern IndexFieldType_Text_array :: IndexFieldType
-- | The state of processing a change to an option. One of:
--
--
-- - RequiresIndexDocuments: The option's latest value will not be
-- deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: The option's latest value is in the process of being
-- activated.
-- - Active: The option's latest value is fully deployed.
-- - FailedToValidate: The option value is not compatible with the
-- domain's data and cannot be used to index the data. You must either
-- modify the option value or update or remove the incompatible
-- documents.
--
newtype OptionState
OptionState' :: Text -> OptionState
[fromOptionState] :: OptionState -> Text
pattern OptionState_Active :: OptionState
pattern OptionState_FailedToValidate :: OptionState
pattern OptionState_Processing :: OptionState
pattern OptionState_RequiresIndexDocuments :: OptionState
-- | The instance type (such as search.m1.small) on which an index
-- partition is hosted.
newtype PartitionInstanceType
PartitionInstanceType' :: Text -> PartitionInstanceType
[fromPartitionInstanceType] :: PartitionInstanceType -> Text
pattern PartitionInstanceType_Search_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m1_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m2_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_m3_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_medium :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_2xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_large :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_previousgeneration_xlarge :: PartitionInstanceType
pattern PartitionInstanceType_Search_small :: PartitionInstanceType
pattern PartitionInstanceType_Search_xlarge :: PartitionInstanceType
newtype SuggesterFuzzyMatching
SuggesterFuzzyMatching' :: Text -> SuggesterFuzzyMatching
[fromSuggesterFuzzyMatching] :: SuggesterFuzzyMatching -> Text
pattern SuggesterFuzzyMatching_High :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_Low :: SuggesterFuzzyMatching
pattern SuggesterFuzzyMatching_None :: SuggesterFuzzyMatching
-- | The minimum required TLS version.
newtype TLSSecurityPolicy
TLSSecurityPolicy' :: Text -> TLSSecurityPolicy
[fromTLSSecurityPolicy] :: TLSSecurityPolicy -> Text
pattern TLSSecurityPolicy_Policy_Min_TLS_1_0_2019_07 :: TLSSecurityPolicy
pattern TLSSecurityPolicy_Policy_Min_TLS_1_2_2019_07 :: TLSSecurityPolicy
-- | The configured access rules for the domain's document and search
-- endpoints, and the current status of those rules.
--
-- See: newAccessPoliciesStatus smart constructor.
data AccessPoliciesStatus
AccessPoliciesStatus' :: Text -> OptionStatus -> AccessPoliciesStatus
-- | Create a value of AccessPoliciesStatus 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:options:AccessPoliciesStatus',
-- accessPoliciesStatus_options - Undocumented member.
--
-- $sel:status:AccessPoliciesStatus',
-- accessPoliciesStatus_status - Undocumented member.
newAccessPoliciesStatus :: Text -> OptionStatus -> AccessPoliciesStatus
-- | Synonyms, stopwords, and stemming options for an analysis scheme.
-- Includes tokenization dictionary for Japanese.
--
-- See: newAnalysisOptions smart constructor.
data AnalysisOptions
AnalysisOptions' :: Maybe AlgorithmicStemming -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AnalysisOptions
-- | Create a value of AnalysisOptions 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:algorithmicStemming:AnalysisOptions',
-- analysisOptions_algorithmicStemming - The level of algorithmic
-- stemming to perform: none, minimal, light,
-- or full. The available levels vary depending on the language.
-- For more information, see Language Specific Text Processing
-- Settings in the Amazon CloudSearch Developer Guide
--
-- $sel:japaneseTokenizationDictionary:AnalysisOptions',
-- analysisOptions_japaneseTokenizationDictionary - A JSON array
-- that contains a collection of terms, tokens, readings and part of
-- speech for Japanese Tokenizaiton. The Japanese tokenization dictionary
-- enables you to override the default tokenization for selected terms.
-- This is only valid for Japanese language fields.
--
-- $sel:stemmingDictionary:AnalysisOptions',
-- analysisOptions_stemmingDictionary - A JSON object that
-- contains a collection of string:value pairs that each map a term to
-- its stem. For example, {"term1": "stem1", "term2": "stem2",
-- "term3": "stem3"}. The stemming dictionary is applied in addition
-- to any algorithmic stemming. This enables you to override the results
-- of the algorithmic stemming to correct specific cases of overstemming
-- or understemming. The maximum size of a stemming dictionary is 500 KB.
--
-- $sel:stopwords:AnalysisOptions',
-- analysisOptions_stopwords - A JSON array of terms to ignore
-- during indexing and searching. For example, ["a", "an", "the",
-- "of"]. The stopwords dictionary must explicitly list each word
-- you want to ignore. Wildcards and regular expressions are not
-- supported.
--
-- $sel:synonyms:AnalysisOptions', analysisOptions_synonyms
-- - A JSON object that defines synonym groups and aliases. A synonym
-- group is an array of arrays, where each sub-array is a group of terms
-- where each term in the group is considered a synonym of every other
-- term in the group. The aliases value is an object that contains a
-- collection of string:value pairs where the string specifies a term and
-- the array of values specifies each of the aliases for that term. An
-- alias is considered a synonym of the specified term, but the term is
-- not considered a synonym of the alias. For more information about
-- specifying synonyms, see Synonyms in the Amazon CloudSearch
-- Developer Guide.
newAnalysisOptions :: AnalysisOptions
-- | Configuration information for an analysis scheme. Each analysis scheme
-- has a unique name and specifies the language of the text to be
-- processed. The following options can be configured for an analysis
-- scheme: Synonyms, Stopwords,
-- StemmingDictionary, JapaneseTokenizationDictionary
-- and AlgorithmicStemming.
--
-- See: newAnalysisScheme smart constructor.
data AnalysisScheme
AnalysisScheme' :: Maybe AnalysisOptions -> Text -> AnalysisSchemeLanguage -> AnalysisScheme
-- | Create a value of AnalysisScheme 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:analysisOptions:AnalysisScheme',
-- analysisScheme_analysisOptions - Undocumented member.
--
-- $sel:analysisSchemeName:AnalysisScheme',
-- analysisScheme_analysisSchemeName - Undocumented member.
--
-- $sel:analysisSchemeLanguage:AnalysisScheme',
-- analysisScheme_analysisSchemeLanguage - Undocumented member.
newAnalysisScheme :: Text -> AnalysisSchemeLanguage -> AnalysisScheme
-- | The status and configuration of an AnalysisScheme.
--
-- See: newAnalysisSchemeStatus smart constructor.
data AnalysisSchemeStatus
AnalysisSchemeStatus' :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
-- | Create a value of AnalysisSchemeStatus 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:options:AnalysisSchemeStatus',
-- analysisSchemeStatus_options - Undocumented member.
--
-- $sel:status:AnalysisSchemeStatus',
-- analysisSchemeStatus_status - Undocumented member.
newAnalysisSchemeStatus :: AnalysisScheme -> OptionStatus -> AnalysisSchemeStatus
-- | The status and configuration of the domain's availability options.
--
-- See: newAvailabilityOptionsStatus smart constructor.
data AvailabilityOptionsStatus
AvailabilityOptionsStatus' :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | Create a value of AvailabilityOptionsStatus 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:options:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_options - The availability options
-- configured for the domain.
--
-- $sel:status:AvailabilityOptionsStatus',
-- availabilityOptionsStatus_status - Undocumented member.
newAvailabilityOptionsStatus :: Bool -> OptionStatus -> AvailabilityOptionsStatus
-- | 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.
data DateArrayOptions
DateArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateArrayOptions
-- | 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.
newDateArrayOptions :: DateArrayOptions
-- | 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.
data DateOptions
DateOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DateOptions
-- | 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.
newDateOptions :: DateOptions
-- | Options for a search suggester.
--
-- See: newDocumentSuggesterOptions smart constructor.
data DocumentSuggesterOptions
DocumentSuggesterOptions' :: Maybe SuggesterFuzzyMatching -> Maybe Text -> Text -> DocumentSuggesterOptions
-- | Create a value of DocumentSuggesterOptions 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:fuzzyMatching:DocumentSuggesterOptions',
-- documentSuggesterOptions_fuzzyMatching - The level of fuzziness
-- allowed when suggesting matches for a string: none,
-- low, or high. With none, the specified string is
-- treated as an exact prefix. With low, suggestions must differ from the
-- specified string by no more than one character. With high, suggestions
-- can differ by up to two characters. The default is none.
--
-- $sel:sortExpression:DocumentSuggesterOptions',
-- documentSuggesterOptions_sortExpression - An expression that
-- computes a score for each suggestion to control how they are sorted.
-- The scores are rounded to the nearest integer, with a floor of 0 and a
-- ceiling of 2^31-1. A document's relevance score is not computed for
-- suggestions, so sort expressions cannot reference the _score
-- value. To sort suggestions using a numeric field or existing
-- expression, simply specify the name of the field or expression. If no
-- expression is configured for the suggester, the suggestions are sorted
-- with the closest matches listed first.
--
-- $sel:sourceField:DocumentSuggesterOptions',
-- documentSuggesterOptions_sourceField - The name of the index
-- field you want to use for suggestions.
newDocumentSuggesterOptions :: Text -> DocumentSuggesterOptions
-- | The domain's endpoint options.
--
-- See: newDomainEndpointOptions smart constructor.
data DomainEndpointOptions
DomainEndpointOptions' :: Maybe Bool -> Maybe TLSSecurityPolicy -> DomainEndpointOptions
-- | Create a value of DomainEndpointOptions 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:enforceHTTPS:DomainEndpointOptions',
-- domainEndpointOptions_enforceHTTPS - Whether the domain is
-- HTTPS only enabled.
--
-- $sel:tLSSecurityPolicy:DomainEndpointOptions',
-- domainEndpointOptions_tLSSecurityPolicy - The minimum required
-- TLS version
newDomainEndpointOptions :: DomainEndpointOptions
-- | The configuration and status of the domain's endpoint options.
--
-- See: newDomainEndpointOptionsStatus smart constructor.
data DomainEndpointOptionsStatus
DomainEndpointOptionsStatus' :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | Create a value of DomainEndpointOptionsStatus 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:options:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_options - The domain endpoint
-- options configured for the domain.
--
-- $sel:status:DomainEndpointOptionsStatus',
-- domainEndpointOptionsStatus_status - The status of the
-- configured domain endpoint options.
newDomainEndpointOptionsStatus :: DomainEndpointOptions -> OptionStatus -> DomainEndpointOptionsStatus
-- | The current status of the search domain.
--
-- See: newDomainStatus smart constructor.
data DomainStatus
DomainStatus' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ServiceEndpoint -> Maybe Limits -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ServiceEndpoint -> Text -> Text -> Bool -> DomainStatus
-- | Create a value of DomainStatus 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:arn:DomainStatus', domainStatus_arn - Undocumented
-- member.
--
-- $sel:created:DomainStatus', domainStatus_created - True
-- if the search domain is created. It can take several minutes to
-- initialize a domain when CreateDomain is called. Newly created search
-- domains are returned from DescribeDomains with a false value for
-- Created until domain creation is complete.
--
-- $sel:deleted:DomainStatus', domainStatus_deleted - True
-- if the search domain has been deleted. The system must clean up
-- resources dedicated to the search domain when DeleteDomain is called.
-- Newly deleted search domains are returned from DescribeDomains with a
-- true value for IsDeleted for several minutes until resource cleanup is
-- complete.
--
-- $sel:docService:DomainStatus', domainStatus_docService -
-- The service endpoint for updating documents in a search domain.
--
-- $sel:limits:DomainStatus', domainStatus_limits -
-- Undocumented member.
--
-- $sel:processing:DomainStatus', domainStatus_processing -
-- True if processing is being done to activate the current domain
-- configuration.
--
-- $sel:searchInstanceCount:DomainStatus',
-- domainStatus_searchInstanceCount - The number of search
-- instances that are available to process search requests.
--
-- $sel:searchInstanceType:DomainStatus',
-- domainStatus_searchInstanceType - The instance type that is
-- being used to process search requests.
--
-- $sel:searchPartitionCount:DomainStatus',
-- domainStatus_searchPartitionCount - The number of partitions
-- across which the search index is spread.
--
-- $sel:searchService:DomainStatus',
-- domainStatus_searchService - The service endpoint for
-- requesting search results from a search domain.
--
-- $sel:domainId:DomainStatus', domainStatus_domainId -
-- Undocumented member.
--
-- $sel:domainName:DomainStatus', domainStatus_domainName -
-- Undocumented member.
--
-- $sel:requiresIndexDocuments:DomainStatus',
-- domainStatus_requiresIndexDocuments - True if IndexDocuments
-- needs to be called to activate the current domain configuration.
newDomainStatus :: Text -> Text -> Bool -> DomainStatus
-- | Options for a field that contains an array of double-precision 64-bit
-- floating point values. Present if IndexFieldType specifies
-- the field is of type double-array. All options are enabled by
-- default.
--
-- See: newDoubleArrayOptions smart constructor.
data DoubleArrayOptions
DoubleArrayOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleArrayOptions
-- | Create a value of DoubleArrayOptions 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:DoubleArrayOptions',
-- doubleArrayOptions_defaultValue - A value to use for the field
-- if the field isn't specified for a document.
--
-- $sel:facetEnabled:DoubleArrayOptions',
-- doubleArrayOptions_facetEnabled - Whether facet information can
-- be returned for the field.
--
-- $sel:returnEnabled:DoubleArrayOptions',
-- doubleArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:DoubleArrayOptions',
-- doubleArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:DoubleArrayOptions',
-- doubleArrayOptions_sourceFields - A list of source fields to
-- map to the field.
newDoubleArrayOptions :: DoubleArrayOptions
-- | Options for a double-precision 64-bit floating point field. Present if
-- IndexFieldType specifies the field is of type
-- double. All options are enabled by default.
--
-- See: newDoubleOptions smart constructor.
data DoubleOptions
DoubleOptions' :: Maybe Double -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> DoubleOptions
-- | Create a value of DoubleOptions 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:DoubleOptions',
-- doubleOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document. This can be important if you
-- are using the field in an expression and that field is not present in
-- every document.
--
-- $sel:facetEnabled:DoubleOptions',
-- doubleOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:DoubleOptions',
-- doubleOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:DoubleOptions',
-- doubleOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:DoubleOptions',
-- doubleOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:DoubleOptions',
-- doubleOptions_sourceField - The name of the source field to map
-- to the field.
newDoubleOptions :: DoubleOptions
-- | A named expression that can be evaluated at search time. Can be used
-- to sort the search results, define other expressions, or return
-- computed information in the search results.
--
-- See: newExpression smart constructor.
data Expression
Expression' :: Text -> Text -> Expression
-- | Create a value of Expression 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:expressionName:Expression',
-- expression_expressionName - Undocumented member.
--
-- $sel:expressionValue:Expression',
-- expression_expressionValue - Undocumented member.
newExpression :: Text -> Text -> Expression
-- | The value of an Expression and its current status.
--
-- See: newExpressionStatus smart constructor.
data ExpressionStatus
ExpressionStatus' :: Expression -> OptionStatus -> ExpressionStatus
-- | Create a value of ExpressionStatus 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:options:ExpressionStatus', expressionStatus_options
-- - The expression that is evaluated for sorting while processing a
-- search request.
--
-- $sel:status:ExpressionStatus', expressionStatus_status -
-- Undocumented member.
newExpressionStatus :: Expression -> OptionStatus -> ExpressionStatus
-- | Configuration information for a field in the index, including its
-- name, type, and options. The supported options depend on the
-- IndexFieldType.
--
-- See: newIndexField smart constructor.
data IndexField
IndexField' :: Maybe DateArrayOptions -> Maybe DateOptions -> Maybe DoubleArrayOptions -> Maybe DoubleOptions -> Maybe IntArrayOptions -> Maybe IntOptions -> Maybe LatLonOptions -> Maybe LiteralArrayOptions -> Maybe LiteralOptions -> Maybe TextArrayOptions -> Maybe TextOptions -> Text -> IndexFieldType -> IndexField
-- | Create a value of IndexField 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:dateArrayOptions:IndexField',
-- indexField_dateArrayOptions - Undocumented member.
--
-- $sel:dateOptions:IndexField', indexField_dateOptions -
-- Undocumented member.
--
-- $sel:doubleArrayOptions:IndexField',
-- indexField_doubleArrayOptions - Undocumented member.
--
-- $sel:doubleOptions:IndexField', indexField_doubleOptions
-- - Undocumented member.
--
-- $sel:intArrayOptions:IndexField',
-- indexField_intArrayOptions - Undocumented member.
--
-- $sel:intOptions:IndexField', indexField_intOptions -
-- Undocumented member.
--
-- $sel:latLonOptions:IndexField', indexField_latLonOptions
-- - Undocumented member.
--
-- $sel:literalArrayOptions:IndexField',
-- indexField_literalArrayOptions - Undocumented member.
--
-- $sel:literalOptions:IndexField',
-- indexField_literalOptions - Undocumented member.
--
-- $sel:textArrayOptions:IndexField',
-- indexField_textArrayOptions - Undocumented member.
--
-- $sel:textOptions:IndexField', indexField_textOptions -
-- Undocumented member.
--
-- $sel:indexFieldName:IndexField',
-- indexField_indexFieldName - A string that represents the name
-- of an index field. CloudSearch supports regular index fields as well
-- as dynamic fields. A dynamic field's name defines a pattern that
-- begins or ends with a wildcard. Any document fields that don't map to
-- a regular index field but do match a dynamic field's pattern are
-- configured with the dynamic field's indexing options.
--
-- Regular field names begin with a letter and can contain the following
-- characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field
-- names must begin or end with a wildcard (*). The wildcard can also be
-- the only character in a dynamic field name. Multiple wildcards, and
-- wildcards embedded within a string are not supported.
--
-- The name score is reserved and cannot be used as a field
-- name. To reference a document's ID, you can use the name _id.
--
-- $sel:indexFieldType:IndexField',
-- indexField_indexFieldType - Undocumented member.
newIndexField :: Text -> IndexFieldType -> IndexField
-- | The value of an IndexField and its current status.
--
-- See: newIndexFieldStatus smart constructor.
data IndexFieldStatus
IndexFieldStatus' :: IndexField -> OptionStatus -> IndexFieldStatus
-- | Create a value of IndexFieldStatus 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:options:IndexFieldStatus', indexFieldStatus_options
-- - Undocumented member.
--
-- $sel:status:IndexFieldStatus', indexFieldStatus_status -
-- Undocumented member.
newIndexFieldStatus :: IndexField -> OptionStatus -> IndexFieldStatus
-- | Options for a field that contains an array of 64-bit signed integers.
-- Present if IndexFieldType specifies the field is of type
-- int-array. All options are enabled by default.
--
-- See: newIntArrayOptions smart constructor.
data IntArrayOptions
IntArrayOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntArrayOptions
-- | Create a value of IntArrayOptions 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:IntArrayOptions',
-- intArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:IntArrayOptions',
-- intArrayOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:IntArrayOptions',
-- intArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:IntArrayOptions',
-- intArrayOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sourceFields:IntArrayOptions',
-- intArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newIntArrayOptions :: IntArrayOptions
-- | Options for a 64-bit signed integer field. Present if
-- IndexFieldType specifies the field is of type int.
-- All options are enabled by default.
--
-- See: newIntOptions smart constructor.
data IntOptions
IntOptions' :: Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> IntOptions
-- | Create a value of IntOptions 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:IntOptions', intOptions_defaultValue -
-- A value to use for the field if the field isn't specified for a
-- document. This can be important if you are using the field in an
-- expression and that field is not present in every document.
--
-- $sel:facetEnabled:IntOptions', intOptions_facetEnabled -
-- Whether facet information can be returned for the field.
--
-- $sel:returnEnabled:IntOptions', intOptions_returnEnabled
-- - Whether the contents of the field can be returned in the search
-- results.
--
-- $sel:searchEnabled:IntOptions', intOptions_searchEnabled
-- - Whether the contents of the field are searchable.
--
-- $sel:sortEnabled:IntOptions', intOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:IntOptions', intOptions_sourceField -
-- The name of the source field to map to the field.
newIntOptions :: IntOptions
-- | Options for a latlon field. A latlon field contains a location stored
-- as a latitude and longitude value pair. Present if
-- IndexFieldType specifies the field is of type
-- latlon. All options are enabled by default.
--
-- See: newLatLonOptions smart constructor.
data LatLonOptions
LatLonOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LatLonOptions
-- | Create a value of LatLonOptions 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:LatLonOptions',
-- latLonOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LatLonOptions',
-- latLonOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LatLonOptions',
-- latLonOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:searchEnabled:LatLonOptions',
-- latLonOptions_searchEnabled - Whether the contents of the field
-- are searchable.
--
-- $sel:sortEnabled:LatLonOptions',
-- latLonOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LatLonOptions',
-- latLonOptions_sourceField - Undocumented member.
newLatLonOptions :: LatLonOptions
-- | See: newLimits smart constructor.
data Limits
Limits' :: Natural -> Natural -> Limits
-- | Create a value of Limits 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:maximumReplicationCount:Limits',
-- limits_maximumReplicationCount - Undocumented member.
--
-- $sel:maximumPartitionCount:Limits',
-- limits_maximumPartitionCount - Undocumented member.
newLimits :: Natural -> Natural -> Limits
-- | 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.
data LiteralArrayOptions
LiteralArrayOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralArrayOptions
-- | 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.
newLiteralArrayOptions :: LiteralArrayOptions
-- | Options for literal field. Present if IndexFieldType
-- specifies the field is of type literal. All options are
-- enabled by default.
--
-- See: newLiteralOptions smart constructor.
data LiteralOptions
LiteralOptions' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> LiteralOptions
-- | Create a value of LiteralOptions 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:LiteralOptions',
-- literalOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:facetEnabled:LiteralOptions',
-- literalOptions_facetEnabled - Whether facet information can be
-- returned for the field.
--
-- $sel:returnEnabled:LiteralOptions',
-- literalOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:searchEnabled:LiteralOptions',
-- literalOptions_searchEnabled - Whether the contents of the
-- field are searchable.
--
-- $sel:sortEnabled:LiteralOptions',
-- literalOptions_sortEnabled - Whether the field can be used to
-- sort the search results.
--
-- $sel:sourceField:LiteralOptions',
-- literalOptions_sourceField - Undocumented member.
newLiteralOptions :: LiteralOptions
-- | The status of domain configuration option.
--
-- See: newOptionStatus smart constructor.
data OptionStatus
OptionStatus' :: Maybe Bool -> Maybe Natural -> ISO8601 -> ISO8601 -> OptionState -> OptionStatus
-- | Create a value of OptionStatus 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:pendingDeletion:OptionStatus',
-- optionStatus_pendingDeletion - Indicates that the option will
-- be deleted once processing is complete.
--
-- $sel:updateVersion:OptionStatus',
-- optionStatus_updateVersion - A unique integer that indicates
-- when this option was last updated.
--
-- $sel:creationDate:OptionStatus',
-- optionStatus_creationDate - A timestamp for when this option
-- was created.
--
-- $sel:updateDate:OptionStatus', optionStatus_updateDate -
-- A timestamp for when this option was last updated.
--
-- $sel:state:OptionStatus', optionStatus_state - The state
-- of processing a change to an option. Possible values:
--
--
-- - RequiresIndexDocuments: the option's latest value will
-- not be deployed until IndexDocuments has been called and indexing is
-- complete.
-- - Processing: the option's latest value is in the process
-- of being activated.
-- - Active: the option's latest value is completely
-- deployed.
-- - FailedToValidate: the option value is not compatible with
-- the domain's data and cannot be used to index the data. You must
-- either modify the option value or update or remove the incompatible
-- documents.
--
newOptionStatus :: UTCTime -> UTCTime -> OptionState -> OptionStatus
-- | The desired instance type and desired number of replicas of each index
-- partition.
--
-- See: newScalingParameters smart constructor.
data ScalingParameters
ScalingParameters' :: Maybe PartitionInstanceType -> Maybe Natural -> Maybe Natural -> ScalingParameters
-- | Create a value of ScalingParameters 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:desiredInstanceType:ScalingParameters',
-- scalingParameters_desiredInstanceType - The instance type that
-- you want to preconfigure for your domain. For example,
-- search.m1.small.
--
-- $sel:desiredPartitionCount:ScalingParameters',
-- scalingParameters_desiredPartitionCount - The number of
-- partitions you want to preconfigure for your domain. Only valid when
-- you select m2.2xlarge as the desired instance type.
--
-- $sel:desiredReplicationCount:ScalingParameters',
-- scalingParameters_desiredReplicationCount - The number of
-- replicas you want to preconfigure for each index partition.
newScalingParameters :: ScalingParameters
-- | The status and configuration of a search domain's scaling parameters.
--
-- See: newScalingParametersStatus smart constructor.
data ScalingParametersStatus
ScalingParametersStatus' :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
-- | Create a value of ScalingParametersStatus 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:options:ScalingParametersStatus',
-- scalingParametersStatus_options - Undocumented member.
--
-- $sel:status:ScalingParametersStatus',
-- scalingParametersStatus_status - Undocumented member.
newScalingParametersStatus :: ScalingParameters -> OptionStatus -> ScalingParametersStatus
-- | The endpoint to which service requests can be submitted.
--
-- See: newServiceEndpoint smart constructor.
data ServiceEndpoint
ServiceEndpoint' :: Maybe Text -> ServiceEndpoint
-- | Create a value of ServiceEndpoint 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:endpoint:ServiceEndpoint', serviceEndpoint_endpoint
-- - Undocumented member.
newServiceEndpoint :: ServiceEndpoint
-- | Configuration information for a search suggester. Each suggester has a
-- unique name and specifies the text field you want to use for
-- suggestions. The following options can be configured for a suggester:
-- FuzzyMatching, SortExpression.
--
-- See: newSuggester smart constructor.
data Suggester
Suggester' :: Text -> DocumentSuggesterOptions -> Suggester
-- | Create a value of Suggester 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:suggesterName:Suggester', suggester_suggesterName -
-- Undocumented member.
--
-- $sel:documentSuggesterOptions:Suggester',
-- suggester_documentSuggesterOptions - Undocumented member.
newSuggester :: Text -> DocumentSuggesterOptions -> Suggester
-- | The value of a Suggester and its current status.
--
-- See: newSuggesterStatus smart constructor.
data SuggesterStatus
SuggesterStatus' :: Suggester -> OptionStatus -> SuggesterStatus
-- | Create a value of SuggesterStatus 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:options:SuggesterStatus', suggesterStatus_options -
-- Undocumented member.
--
-- $sel:status:SuggesterStatus', suggesterStatus_status -
-- Undocumented member.
newSuggesterStatus :: Suggester -> OptionStatus -> SuggesterStatus
-- | Options for a field that contains an array of text strings. Present if
-- IndexFieldType specifies the field is of type
-- text-array. A text-array field is always searchable.
-- All options are enabled by default.
--
-- See: newTextArrayOptions smart constructor.
data TextArrayOptions
TextArrayOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextArrayOptions
-- | Create a value of TextArrayOptions 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:analysisScheme:TextArrayOptions',
-- textArrayOptions_analysisScheme - The name of an analysis
-- scheme for a text-array field.
--
-- $sel:defaultValue:TextArrayOptions',
-- textArrayOptions_defaultValue - A value to use for the field if
-- the field isn't specified for a document.
--
-- $sel:highlightEnabled:TextArrayOptions',
-- textArrayOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextArrayOptions',
-- textArrayOptions_returnEnabled - Whether the contents of the
-- field can be returned in the search results.
--
-- $sel:sourceFields:TextArrayOptions',
-- textArrayOptions_sourceFields - A list of source fields to map
-- to the field.
newTextArrayOptions :: TextArrayOptions
-- | Options for text field. Present if IndexFieldType specifies
-- the field is of type text. A text field is always
-- searchable. All options are enabled by default.
--
-- See: newTextOptions smart constructor.
data TextOptions
TextOptions' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> TextOptions
-- | Create a value of TextOptions 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:analysisScheme:TextOptions',
-- textOptions_analysisScheme - The name of an analysis scheme for
-- a text field.
--
-- $sel:defaultValue:TextOptions', textOptions_defaultValue
-- - A value to use for the field if the field isn't specified for a
-- document.
--
-- $sel:highlightEnabled:TextOptions',
-- textOptions_highlightEnabled - Whether highlights can be
-- returned for the field.
--
-- $sel:returnEnabled:TextOptions',
-- textOptions_returnEnabled - Whether the contents of the field
-- can be returned in the search results.
--
-- $sel:sortEnabled:TextOptions', textOptions_sortEnabled -
-- Whether the field can be used to sort the search results.
--
-- $sel:sourceField:TextOptions', textOptions_sourceField -
-- Undocumented member.
newTextOptions :: TextOptions