packages feed

amazonka-cloudsearch 0.0.1 → 0.0.2

raw patch · 27 files changed

+246/−259 lines, 27 filesdep ~amazonka-corePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

- Network.AWS.CloudSearch.Types: SearchM22XLarge :: PartitionInstanceType
- Network.AWS.CloudSearch.Types: SearchM2XLarge :: PartitionInstanceType
+ Network.AWS.CloudSearch.Types: SearchM22xlarge :: PartitionInstanceType
+ Network.AWS.CloudSearch.Types: SearchM2Xlarge :: PartitionInstanceType

Files

README.md view
@@ -8,7 +8,11 @@  ## Description -Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application. Amazon CloudSearch supports 34 languages and popular search features such as highlighting, autocomplete, and geospatial search.+    Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes it+    simple and cost-effective to set up, manage, and scale a search solution for+    your website or application. Amazon CloudSearch supports 34 languages and+    popular search features such as highlighting, autocomplete, and geospatial+    search.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-cloudsearch) and [AWS API Reference](http://docs.aws.amazon.com/cloudsearch/latest/developerguide/what-is-cloudsearch.html).
amazonka-cloudsearch.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cloudsearch-version:               0.0.1+version:               0.0.2 synopsis:              Amazon CloudSearch SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -13,11 +13,11 @@ cabal-version:         >= 1.10  description:-    Amazon CloudSearch is a fully-managed service in the AWS Cloud that-    makes it simple and cost-effective to set up, manage, and scale a-    search solution for your website or application. Amazon CloudSearch-    supports 34 languages and popular search features such as highlighting,-    autocomplete, and geospatial search.+    Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes it+    simple and cost-effective to set up, manage, and scale a search solution for+    your website or application. Amazon CloudSearch supports 34 languages and+    popular search features such as highlighting, autocomplete, and geospatial+    search.     .     /See:/ <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/what-is-cloudsearch.html AWS API Reference>     .@@ -65,5 +65,5 @@     other-modules:      build-depends:-          amazonka-core == 0.0.1.*+          amazonka-core == 0.0.2.*         , base          >= 4.7     && < 5
gen/Network/AWS/CloudSearch.hs view
@@ -8,11 +8,11 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes--- it simple and cost-effective to set up, manage, and scale a search solution--- for your website or application. Amazon CloudSearch supports 34 languages--- and popular search features such as highlighting, autocomplete, and--- geospatial search.+-- | Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes it+-- simple and cost-effective to set up, manage, and scale a search solution for+-- your website or application. Amazon CloudSearch supports 34 languages and+-- popular search features such as highlighting, autocomplete, and geospatial+-- search. module Network.AWS.CloudSearch     ( module Network.AWS.CloudSearch.BuildSuggesters     , module Network.AWS.CloudSearch.CreateDomain
gen/Network/AWS/CloudSearch/BuildSuggesters.hs view
@@ -20,8 +20,7 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Indexes the search suggestions. For more information, see Configuring--- Suggesters in the Amazon CloudSearch Developer Guide.+-- | Indexes the search suggestions. For more information, see <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html#configuring-suggesters ConfiguringSuggesters> in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_BuildSuggesters.html> module Network.AWS.CloudSearch.BuildSuggesters
gen/Network/AWS/CloudSearch/CreateDomain.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions)  -- | Creates a new search domain. For more information, see Creating a Search--- Domain in the Amazon CloudSearch Developer Guide.+-- Domain in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_CreateDomain.html> module Network.AWS.CloudSearch.CreateDomain
gen/Network/AWS/CloudSearch/DefineAnalysisScheme.hs view
@@ -20,10 +20,9 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Configures an analysis scheme that can be applied to a text or text-array+-- | 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.+-- information, see Configuring Analysis Schemes in the /Amazon CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DefineAnalysisScheme.html> module Network.AWS.CloudSearch.DefineAnalysisScheme
gen/Network/AWS/CloudSearch/DefineExpression.hs view
@@ -20,10 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Configures an Expression for the search domain. Used to create new+-- | 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.+-- Expressions in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DefineExpression.html> module Network.AWS.CloudSearch.DefineExpression
gen/Network/AWS/CloudSearch/DefineIndexField.hs view
@@ -20,14 +20,12 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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+-- | 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.+-- 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 DeveloperGuide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DefineIndexField.html> module Network.AWS.CloudSearch.DefineIndexField
gen/Network/AWS/CloudSearch/DefineSuggester.hs view
@@ -21,11 +21,10 @@ -- Portability : non-portable (GHC extensions)  -- | 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.+-- 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 CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DefineSuggester.html> module Network.AWS.CloudSearch.DefineSuggester
gen/Network/AWS/CloudSearch/DeleteAnalysisScheme.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions)  -- | Deletes an analysis scheme. For more information, see Configuring Analysis--- Schemes in the Amazon CloudSearch Developer Guide.+-- Schemes in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DeleteAnalysisScheme.html> module Network.AWS.CloudSearch.DeleteAnalysisScheme
gen/Network/AWS/CloudSearch/DeleteDomain.hs view
@@ -22,7 +22,7 @@  -- | 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.+-- Search Domain in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DeleteDomain.html> module Network.AWS.CloudSearch.DeleteDomain
gen/Network/AWS/CloudSearch/DeleteExpression.hs view
@@ -20,8 +20,8 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Removes an Expression from the search domain. For more information, see--- Configuring Expressions in the Amazon CloudSearch Developer Guide.+-- | Removes an ''Expression' from the search domain. For more information, see Configuring Expressions+-- in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DeleteExpression.html> module Network.AWS.CloudSearch.DeleteExpression@@ -71,7 +71,7 @@ de2DomainName :: Lens' DeleteExpression Text de2DomainName = lens _de2DomainName (\s a -> s { _de2DomainName = a }) --- | The name of the Expression to delete.+-- | The name of the ''Expression' to delete. de2ExpressionName :: Lens' DeleteExpression Text de2ExpressionName =     lens _de2ExpressionName (\s a -> s { _de2ExpressionName = a })
gen/Network/AWS/CloudSearch/DeleteIndexField.hs view
@@ -20,8 +20,8 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Removes an IndexField from the search domain. For more information, see--- Configuring Index Fields in the Amazon CloudSearch Developer Guide.+-- | Removes an ''IndexField' from the search domain. For more information, see Configuring Index Fields+-- in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DeleteIndexField.html> module Network.AWS.CloudSearch.DeleteIndexField@@ -71,8 +71,8 @@ dif1DomainName :: Lens' DeleteIndexField Text dif1DomainName = lens _dif1DomainName (\s a -> s { _dif1DomainName = a }) --- | The name of the index field your want to remove from the domain's--- indexing options.+-- | The name of the index field your want to remove from the domain's indexing+-- options. dif1IndexFieldName :: Lens' DeleteIndexField Text dif1IndexFieldName =     lens _dif1IndexFieldName (\s a -> s { _dif1IndexFieldName = a })
gen/Network/AWS/CloudSearch/DeleteSuggester.hs view
@@ -20,8 +20,8 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | Deletes a suggester. For more information, see Getting Search Suggestions--- in the Amazon CloudSearch Developer Guide.+-- | Deletes a suggester. For more information, see Getting Search Suggestions in+-- the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DeleteSuggester.html> module Network.AWS.CloudSearch.DeleteSuggester
gen/Network/AWS/CloudSearch/DescribeAnalysisSchemes.hs view
@@ -20,13 +20,11 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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 CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeAnalysisSchemes.html> module Network.AWS.CloudSearch.DescribeAnalysisSchemes@@ -83,8 +81,8 @@     lens _das1AnalysisSchemeNames (\s a -> s { _das1AnalysisSchemeNames = a })         . _List --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. das1Deployed :: Lens' DescribeAnalysisSchemes (Maybe Bool) das1Deployed = lens _das1Deployed (\s a -> s { _das1Deployed = a }) 
gen/Network/AWS/CloudSearch/DescribeAvailabilityOptions.hs view
@@ -20,11 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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 CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeAvailabilityOptions.html> module Network.AWS.CloudSearch.DescribeAvailabilityOptions@@ -70,8 +69,8 @@     , _daoDeployed   = Nothing     } --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. daoDeployed :: Lens' DescribeAvailabilityOptions (Maybe Bool) daoDeployed = lens _daoDeployed (\s a -> s { _daoDeployed = a }) 
gen/Network/AWS/CloudSearch/DescribeDomains.hs view
@@ -21,12 +21,9 @@ -- Portability : non-portable (GHC extensions)  -- | 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&amp;amp;q.parser=structured&amp;amp;size=0. For more--- information, see Getting Information about a Search Domain in the Amazon--- CloudSearch Developer Guide.+-- 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&amp;q.parser=structured&amp;size=0'. For more information, see Getting Information about a Search Domain in the /Amazon CloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeDomains.html> module Network.AWS.CloudSearch.DescribeDomains
gen/Network/AWS/CloudSearch/DescribeExpressions.hs view
@@ -21,11 +21,10 @@ -- Portability : non-portable (GHC extensions)  -- | 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.+-- 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 DeveloperGuide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeExpressions.html> module Network.AWS.CloudSearch.DescribeExpressions@@ -76,8 +75,8 @@     , _deDeployed        = Nothing     } --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. deDeployed :: Lens' DescribeExpressions (Maybe Bool) deDeployed = lens _deDeployed (\s a -> s { _deDeployed = a }) @@ -85,8 +84,8 @@ deDomainName :: Lens' DescribeExpressions Text deDomainName = lens _deDomainName (\s a -> s { _deDomainName = a }) --- | Limits the DescribeExpressions response to the specified expressions. If--- not specified, all expressions are shown.+-- | Limits the ''DescribeExpressions' response to the specified expressions. If not+-- specified, all expressions are shown. deExpressionNames :: Lens' DescribeExpressions [Text] deExpressionNames =     lens _deExpressionNames (\s a -> s { _deExpressionNames = a })
gen/Network/AWS/CloudSearch/DescribeIndexFields.hs view
@@ -20,12 +20,10 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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 CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeIndexFields.html> module Network.AWS.CloudSearch.DescribeIndexFields@@ -76,8 +74,8 @@     , _difDeployed   = Nothing     } --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. difDeployed :: Lens' DescribeIndexFields (Maybe Bool) difDeployed = lens _difDeployed (\s a -> s { _difDeployed = a }) 
gen/Network/AWS/CloudSearch/DescribeScalingParameters.hs view
@@ -22,8 +22,7 @@  -- | 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.+-- For more information, see Configuring Scaling Options in the /AmazonCloudSearch Developer Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeScalingParameters.html> module Network.AWS.CloudSearch.DescribeScalingParameters
gen/Network/AWS/CloudSearch/DescribeServiceAccessPolicies.hs view
@@ -22,10 +22,9 @@  -- | 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.+-- 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/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeServiceAccessPolicies.html> module Network.AWS.CloudSearch.DescribeServiceAccessPolicies@@ -71,8 +70,8 @@     , _dsapDeployed   = Nothing     } --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. dsapDeployed :: Lens' DescribeServiceAccessPolicies (Maybe Bool) dsapDeployed = lens _dsapDeployed (\s a -> s { _dsapDeployed = a }) 
gen/Network/AWS/CloudSearch/DescribeSuggesters.hs view
@@ -22,11 +22,9 @@  -- | 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.+-- 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 CloudSearchDeveloper Guide/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_DescribeSuggesters.html> module Network.AWS.CloudSearch.DescribeSuggesters@@ -77,8 +75,8 @@     , _ds1Deployed       = Nothing     } --- | Whether to display the deployed configuration (true) or include any--- pending changes (false). Defaults to false.+-- | Whether to display the deployed configuration ('true') or include any pending+-- changes ('false'). Defaults to 'false'. ds1Deployed :: Lens' DescribeSuggesters (Maybe Bool) ds1Deployed = lens _ds1Deployed (\s a -> s { _ds1Deployed = a }) 
gen/Network/AWS/CloudSearch/IndexDocuments.hs view
@@ -21,8 +21,7 @@ -- Portability : non-portable (GHC extensions)  -- | 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.+-- indexing options. This operation must be invoked to activate options whose 'OptionStatus' is 'RequiresIndexDocuments'. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_IndexDocuments.html> module Network.AWS.CloudSearch.IndexDocuments
gen/Network/AWS/CloudSearch/Types.hs view
@@ -387,17 +387,16 @@ dsARN = lens _dsARN (\s a -> s { _dsARN = a })  -- | 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.+-- 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. dsCreated :: Lens' DomainStatus (Maybe Bool) dsCreated = lens _dsCreated (\s a -> s { _dsCreated = a })  -- | 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.+-- 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. dsDeleted :: Lens' DomainStatus (Maybe Bool) dsDeleted = lens _dsDeleted (\s a -> s { _dsDeleted = a }) @@ -414,20 +413,18 @@ dsLimits :: Lens' DomainStatus (Maybe Limits) dsLimits = lens _dsLimits (\s a -> s { _dsLimits = a }) --- | True if processing is being done to activate the current domain--- configuration.+-- | True if processing is being done to activate the current domain configuration. dsProcessing :: Lens' DomainStatus (Maybe Bool) dsProcessing = lens _dsProcessing (\s a -> s { _dsProcessing = a }) --- | True if IndexDocuments needs to be called to activate the current domain+-- | True if 'IndexDocuments' needs to be called to activate the current domain -- configuration. dsRequiresIndexDocuments :: Lens' DomainStatus Bool dsRequiresIndexDocuments =     lens _dsRequiresIndexDocuments         (\s a -> s { _dsRequiresIndexDocuments = a }) --- | The number of search instances that are available to process search--- requests.+-- | The number of search instances that are available to process search requests. dsSearchInstanceCount :: Lens' DomainStatus (Maybe Natural) dsSearchInstanceCount =     lens _dsSearchInstanceCount (\s a -> s { _dsSearchInstanceCount = a })@@ -505,22 +502,21 @@     , _dsoSortExpression = Nothing     } --- | 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.+-- | 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. dsoFuzzyMatching :: Lens' DocumentSuggesterOptions (Maybe SuggesterFuzzyMatching) dsoFuzzyMatching = lens _dsoFuzzyMatching (\s a -> s { _dsoFuzzyMatching = a }) --- | 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.+-- | 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. dsoSortExpression :: Lens' DocumentSuggesterOptions (Maybe Text) dsoSortExpression =     lens _dsoSortExpression (\s a -> s { _dsoSortExpression = a })@@ -689,11 +685,10 @@ ifDoubleOptions :: Lens' IndexField (Maybe DoubleOptions) ifDoubleOptions = lens _ifDoubleOptions (\s a -> s { _ifDoubleOptions = a }) --- | The name of a field in the search index. Field names must begin with a--- letter and can contain the following characters: a-z (lowercase), 0-9,--- and _ (underscore). Uppercase letters and hyphens are not allowed. The--- name "score" is reserved and cannot be specified as field or expression--- name.+-- | The name of a field in the search index. Field names must begin with a letter+-- and can contain the following characters: a-z (lowercase), 0-9, and _+-- (underscore). Uppercase letters and hyphens are not allowed. The name "score"+-- is reserved and cannot be specified as field or expression name. ifIndexFieldName :: Lens' IndexField Text ifIndexFieldName = lens _ifIndexFieldName (\s a -> s { _ifIndexFieldName = a }) @@ -844,10 +839,13 @@ instance Hashable OptionState  instance FromText OptionState where-    parser = match "Active"                 Active-         <|> match "FailedToValidate"       FailedToValidate-         <|> match "Processing"             Processing-         <|> match "RequiresIndexDocuments" RequiresIndexDocuments+    parser = takeText >>= \case+        "Active"                 -> pure Active+        "FailedToValidate"       -> pure FailedToValidate+        "Processing"             -> pure Processing+        "RequiresIndexDocuments" -> pure RequiresIndexDocuments+        e                        -> fail $+            "Failure parsing OptionState from " ++ show e  instance ToText OptionState where     toText = \case@@ -863,7 +861,6 @@ instance FromXML OptionState where     parseXML = parseXMLText "OptionState" - data TextArrayOptions = TextArrayOptions     { _taoAnalysisScheme   :: Maybe Text     , _taoDefaultValue     :: Maybe Text@@ -895,7 +892,7 @@     , _taoAnalysisScheme   = Nothing     } --- | The name of an analysis scheme for a text-array field.+-- | The name of an analysis scheme for a 'text-array' field. taoAnalysisScheme :: Lens' TextArrayOptions (Maybe Text) taoAnalysisScheme =     lens _taoAnalysisScheme (\s a -> s { _taoAnalysisScheme = a })@@ -944,10 +941,13 @@ instance Hashable AlgorithmicStemming  instance FromText AlgorithmicStemming where-    parser = match "full"    Full-         <|> match "light"   Light-         <|> match "minimal" Minimal-         <|> match "none"    None+    parser = takeText >>= \case+        "full"    -> pure Full+        "light"   -> pure Light+        "minimal" -> pure Minimal+        "none"    -> pure None+        e         -> fail $+            "Failure parsing AlgorithmicStemming from " ++ show e  instance ToText AlgorithmicStemming where     toText = \case@@ -963,7 +963,6 @@ instance FromXML AlgorithmicStemming where     parseXML = parseXMLText "AlgorithmicStemming" - data AnalysisScheme = AnalysisScheme     { _asAnalysisOptions        :: Maybe AnalysisOptions     , _asAnalysisSchemeLanguage :: AnalysisSchemeLanguage@@ -1038,14 +1037,13 @@     , _spDesiredPartitionCount   = Nothing     } --- | The instance type that you want to preconfigure for your domain. For--- example, search.m1.small.+-- | The instance type that you want to preconfigure for your domain. For example, 'search.m1.small'. spDesiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType) spDesiredInstanceType =     lens _spDesiredInstanceType (\s a -> s { _spDesiredInstanceType = a }) --- | The number of partitions you want to preconfigure for your domain. Only--- valid when you select m2.2xlarge as the desired instance type.+-- | The number of partitions you want to preconfigure for your domain. Only valid+-- when you select 'm2.2xlarge' as the desired instance type. spDesiredPartitionCount :: Lens' ScalingParameters (Maybe Natural) spDesiredPartitionCount =     lens _spDesiredPartitionCount (\s a -> s { _spDesiredPartitionCount = a })@@ -1102,26 +1100,24 @@     , _aoAlgorithmicStemming            = Nothing     } --- | 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.+-- | 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 CloudSearchDeveloper Guide/ aoAlgorithmicStemming :: Lens' AnalysisOptions (Maybe AlgorithmicStemming) aoAlgorithmicStemming =     lens _aoAlgorithmicStemming (\s a -> s { _aoAlgorithmicStemming = a }) --- | 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.+-- | 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. aoJapaneseTokenizationDictionary :: Lens' AnalysisOptions (Maybe Text) aoJapaneseTokenizationDictionary =     lens _aoJapaneseTokenizationDictionary         (\s a -> s { _aoJapaneseTokenizationDictionary = a }) --- | 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+-- | 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.@@ -1129,22 +1125,19 @@ aoStemmingDictionary =     lens _aoStemmingDictionary (\s a -> s { _aoStemmingDictionary = a }) --- | 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.+-- | 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. aoStopwords :: Lens' AnalysisOptions (Maybe Text) aoStopwords = lens _aoStopwords (\s a -> s { _aoStopwords = a }) --- | 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.+-- | 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 <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html#synonyms Synonyms> in the /Amazon CloudSearchDeveloper Guide/. aoSynonyms :: Lens' AnalysisOptions (Maybe Text) aoSynonyms = lens _aoSynonyms (\s a -> s { _aoSynonyms = a }) @@ -1201,8 +1194,8 @@     }  -- | 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.+-- This can be important if you are using the field in an expression and that+-- field is not present in every document. do1DefaultValue :: Lens' DoubleOptions (Maybe Double) do1DefaultValue = lens _do1DefaultValue (\s a -> s { _do1DefaultValue = a }) @@ -1280,7 +1273,7 @@     , _toAnalysisScheme   = Nothing     } --- | The name of an analysis scheme for a text field.+-- | The name of an analysis scheme for a 'text' field. toAnalysisScheme :: Lens' TextOptions (Maybe Text) toAnalysisScheme = lens _toAnalysisScheme (\s a -> s { _toAnalysisScheme = a }) @@ -1603,17 +1596,20 @@ instance Hashable IndexFieldType  instance FromText IndexFieldType where-    parser = match "date"          IFTDate-         <|> match "date-array"    IFTDateArray-         <|> match "double"        IFTDouble-         <|> match "double-array"  IFTDoubleArray-         <|> match "int"           IFTInt-         <|> match "int-array"     IFTIntArray-         <|> match "latlon"        IFTLatlon-         <|> match "literal"       IFTLiteral-         <|> match "literal-array" IFTLiteralArray-         <|> match "text"          IFTText-         <|> match "text-array"    IFTTextArray+    parser = takeText >>= \case+        "date"          -> pure IFTDate+        "date-array"    -> pure IFTDateArray+        "double"        -> pure IFTDouble+        "double-array"  -> pure IFTDoubleArray+        "int"           -> pure IFTInt+        "int-array"     -> pure IFTIntArray+        "latlon"        -> pure IFTLatlon+        "literal"       -> pure IFTLiteral+        "literal-array" -> pure IFTLiteralArray+        "text"          -> pure IFTText+        "text-array"    -> pure IFTTextArray+        e               -> fail $+            "Failure parsing IndexFieldType from " ++ show e  instance ToText IndexFieldType where     toText = \case@@ -1636,7 +1632,6 @@ instance FromXML IndexFieldType where     parseXML = parseXMLText "IndexFieldType" - data LatLonOptions = LatLonOptions     { _lloDefaultValue  :: Maybe Text     , _lloFacetEnabled  :: Maybe Bool@@ -1753,10 +1748,10 @@         ]  data OptionStatus = OptionStatus-    { _osCreationDate    :: RFC822+    { _osCreationDate    :: ISO8601     , _osPendingDeletion :: Maybe Bool     , _osState           :: OptionState-    , _osUpdateDate      :: RFC822+    , _osUpdateDate      :: ISO8601     , _osUpdateVersion   :: Maybe Nat     } deriving (Eq, Show) @@ -1796,13 +1791,14 @@     lens _osPendingDeletion (\s a -> s { _osPendingDeletion = a })  -- | 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.+--+-- '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. osState :: Lens' OptionStatus OptionState osState = lens _osState (\s a -> s { _osState = a }) @@ -2014,9 +2010,12 @@ instance Hashable SuggesterFuzzyMatching  instance FromText SuggesterFuzzyMatching where-    parser = match "high" SFMHigh-         <|> match "low"  SFMLow-         <|> match "none" SFMNone+    parser = takeText >>= \case+        "high" -> pure SFMHigh+        "low"  -> pure SFMLow+        "none" -> pure SFMNone+        e      -> fail $+            "Failure parsing SuggesterFuzzyMatching from " ++ show e  instance ToText SuggesterFuzzyMatching where     toText = \case@@ -2031,7 +2030,6 @@ instance FromXML SuggesterFuzzyMatching where     parseXML = parseXMLText "SuggesterFuzzyMatching" - data DateArrayOptions = DateArrayOptions     { _dao1DefaultValue  :: Maybe Text     , _dao1FacetEnabled  :: Maybe Bool@@ -2143,41 +2141,44 @@ instance Hashable AnalysisSchemeLanguage  instance FromText AnalysisSchemeLanguage where-    parser = match "ar"      Ar-         <|> match "bg"      Bg-         <|> match "ca"      Ca-         <|> match "cs"      Cs-         <|> match "da"      Da-         <|> match "de"      De-         <|> match "el"      El-         <|> match "en"      En-         <|> match "es"      Es-         <|> match "eu"      Eu-         <|> match "fa"      Fa-         <|> match "fi"      Fi-         <|> match "fr"      Fr-         <|> match "ga"      Ga-         <|> match "gl"      Gl-         <|> match "he"      He-         <|> match "hi"      Hi-         <|> match "hu"      Hu-         <|> match "hy"      Hy-         <|> match "id"      Id-         <|> match "it"      It-         <|> match "ja"      Ja-         <|> match "ko"      Ko-         <|> match "lv"      Lv-         <|> match "mul"     Mul-         <|> match "nl"      Nl-         <|> match "no"      No-         <|> match "pt"      Pt-         <|> match "ro"      Ro-         <|> match "ru"      Ru-         <|> match "sv"      Sv-         <|> match "th"      Th-         <|> match "tr"      Tr-         <|> match "zh-Hans" ZhHans-         <|> match "zh-Hant" ZhHant+    parser = takeText >>= \case+        "ar"      -> pure Ar+        "bg"      -> pure Bg+        "ca"      -> pure Ca+        "cs"      -> pure Cs+        "da"      -> pure Da+        "de"      -> pure De+        "el"      -> pure El+        "en"      -> pure En+        "es"      -> pure Es+        "eu"      -> pure Eu+        "fa"      -> pure Fa+        "fi"      -> pure Fi+        "fr"      -> pure Fr+        "ga"      -> pure Ga+        "gl"      -> pure Gl+        "he"      -> pure He+        "hi"      -> pure Hi+        "hu"      -> pure Hu+        "hy"      -> pure Hy+        "id"      -> pure Id+        "it"      -> pure It+        "ja"      -> pure Ja+        "ko"      -> pure Ko+        "lv"      -> pure Lv+        "mul"     -> pure Mul+        "nl"      -> pure Nl+        "no"      -> pure No+        "pt"      -> pure Pt+        "ro"      -> pure Ro+        "ru"      -> pure Ru+        "sv"      -> pure Sv+        "th"      -> pure Th+        "tr"      -> pure Tr+        "zh-Hans" -> pure ZhHans+        "zh-Hant" -> pure ZhHant+        e         -> fail $+            "Failure parsing AnalysisSchemeLanguage from " ++ show e  instance ToText AnalysisSchemeLanguage where     toText = \case@@ -2224,28 +2225,30 @@ instance FromXML AnalysisSchemeLanguage where     parseXML = parseXMLText "AnalysisSchemeLanguage" - data PartitionInstanceType     = SearchM1Large   -- ^ search.m1.large     | SearchM1Small   -- ^ search.m1.small-    | SearchM22XLarge -- ^ search.m2.2xlarge-    | SearchM2XLarge  -- ^ search.m2.xlarge+    | SearchM22xlarge -- ^ search.m2.2xlarge+    | SearchM2Xlarge  -- ^ search.m2.xlarge       deriving (Eq, Ord, Show, Generic, Enum)  instance Hashable PartitionInstanceType  instance FromText PartitionInstanceType where-    parser = match "search.m1.large"   SearchM1Large-         <|> match "search.m1.small"   SearchM1Small-         <|> match "search.m2.2xlarge" SearchM22XLarge-         <|> match "search.m2.xlarge"  SearchM2XLarge+    parser = takeText >>= \case+        "search.m1.large"   -> pure SearchM1Large+        "search.m1.small"   -> pure SearchM1Small+        "search.m2.2xlarge" -> pure SearchM22xlarge+        "search.m2.xlarge"  -> pure SearchM2Xlarge+        e                   -> fail $+            "Failure parsing PartitionInstanceType from " ++ show e  instance ToText PartitionInstanceType where     toText = \case         SearchM1Large   -> "search.m1.large"         SearchM1Small   -> "search.m1.small"-        SearchM22XLarge -> "search.m2.2xlarge"-        SearchM2XLarge  -> "search.m2.xlarge"+        SearchM22xlarge -> "search.m2.2xlarge"+        SearchM2Xlarge  -> "search.m2.xlarge"  instance ToByteString PartitionInstanceType instance ToHeader     PartitionInstanceType@@ -2254,7 +2257,6 @@ instance FromXML PartitionInstanceType where     parseXML = parseXMLText "PartitionInstanceType" - data Suggester = Suggester     { _sDocumentSuggesterOptions :: DocumentSuggesterOptions     , _sSuggesterName            :: Text@@ -2331,8 +2333,8 @@     }  -- | 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.+-- This can be important if you are using the field in an expression and that+-- field is not present in every document. ioDefaultValue :: Lens' IntOptions (Maybe Integer) ioDefaultValue = lens _ioDefaultValue (\s a -> s { _ioDefaultValue = a }) 
gen/Network/AWS/CloudSearch/UpdateAvailabilityOptions.hs view
@@ -22,10 +22,10 @@  -- | 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.+-- 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/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_UpdateAvailabilityOptions.html> module Network.AWS.CloudSearch.UpdateAvailabilityOptions@@ -75,10 +75,10 @@ uaoDomainName :: Lens' UpdateAvailabilityOptions Text uaoDomainName = lens _uaoDomainName (\s a -> s { _uaoDomainName = a }) --- | 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.+-- | 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'. uaoMultiAZ :: Lens' UpdateAvailabilityOptions Bool uaoMultiAZ = lens _uaoMultiAZ (\s a -> s { _uaoMultiAZ = a }) 
gen/Network/AWS/CloudSearch/UpdateScalingParameters.hs view
@@ -22,11 +22,11 @@  -- | 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.+-- 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/. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_UpdateScalingParameters.html> module Network.AWS.CloudSearch.UpdateScalingParameters
gen/Network/AWS/CloudSearch/UpdateServiceAccessPolicies.hs view
@@ -20,9 +20,9 @@ -- Stability   : experimental -- Portability : non-portable (GHC extensions) --- | 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.+-- | 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. -- -- <http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_UpdateServiceAccessPolicies.html> module Network.AWS.CloudSearch.UpdateServiceAccessPolicies