Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
Synopsis
- data BuildSuggesters = BuildSuggesters' {
- domainName :: Text
- newBuildSuggesters :: Text -> BuildSuggesters
- buildSuggesters_domainName :: Lens' BuildSuggesters Text
- data BuildSuggestersResponse = BuildSuggestersResponse' {
- fieldNames :: Maybe [Text]
- httpStatus :: Int
- newBuildSuggestersResponse :: Int -> BuildSuggestersResponse
- buildSuggestersResponse_fieldNames :: Lens' BuildSuggestersResponse (Maybe [Text])
- buildSuggestersResponse_httpStatus :: Lens' BuildSuggestersResponse Int
Creating a Request
data BuildSuggesters Source #
Container for the parameters to the BuildSuggester
operation.
Specifies the name of the domain you want to update.
See: newBuildSuggesters
smart constructor.
Instances
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:
$sel:domainName:BuildSuggesters'
, buildSuggesters_domainName
- Undocumented member.
Request Lenses
buildSuggesters_domainName :: Lens' BuildSuggesters Text Source #
Undocumented member.
Destructuring the Response
data BuildSuggestersResponse Source #
The result of a BuildSuggester
request. Contains a list of the fields
used for suggestions.
See: newBuildSuggestersResponse
smart constructor.
BuildSuggestersResponse' | |
|
Instances
newBuildSuggestersResponse Source #
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.
Response Lenses
buildSuggestersResponse_fieldNames :: Lens' BuildSuggestersResponse (Maybe [Text]) Source #
Undocumented member.
buildSuggestersResponse_httpStatus :: Lens' BuildSuggestersResponse Int Source #
The response's http status code.