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 |
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.
Synopsis
- data DefineAnalysisScheme = DefineAnalysisScheme' {}
- newDefineAnalysisScheme :: Text -> AnalysisScheme -> DefineAnalysisScheme
- defineAnalysisScheme_domainName :: Lens' DefineAnalysisScheme Text
- defineAnalysisScheme_analysisScheme :: Lens' DefineAnalysisScheme AnalysisScheme
- data DefineAnalysisSchemeResponse = DefineAnalysisSchemeResponse' {}
- newDefineAnalysisSchemeResponse :: Int -> AnalysisSchemeStatus -> DefineAnalysisSchemeResponse
- defineAnalysisSchemeResponse_httpStatus :: Lens' DefineAnalysisSchemeResponse Int
- defineAnalysisSchemeResponse_analysisScheme :: Lens' DefineAnalysisSchemeResponse AnalysisSchemeStatus
Creating a Request
data DefineAnalysisScheme Source #
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.
Instances
newDefineAnalysisScheme Source #
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:
$sel:domainName:DefineAnalysisScheme'
, defineAnalysisScheme_domainName
- Undocumented member.
$sel:analysisScheme:DefineAnalysisScheme'
, defineAnalysisScheme_analysisScheme
- Undocumented member.
Request Lenses
defineAnalysisScheme_domainName :: Lens' DefineAnalysisScheme Text Source #
Undocumented member.
defineAnalysisScheme_analysisScheme :: Lens' DefineAnalysisScheme AnalysisScheme Source #
Undocumented member.
Destructuring the Response
data DefineAnalysisSchemeResponse Source #
The result of a DefineAnalysisScheme
request. Contains the status of
the newly-configured analysis scheme.
See: newDefineAnalysisSchemeResponse
smart constructor.
DefineAnalysisSchemeResponse' | |
|
Instances
newDefineAnalysisSchemeResponse Source #
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.
$sel:analysisScheme:DefineAnalysisScheme'
, defineAnalysisSchemeResponse_analysisScheme
- Undocumented member.
Response Lenses
defineAnalysisSchemeResponse_httpStatus :: Lens' DefineAnalysisSchemeResponse Int Source #
The response's http status code.
defineAnalysisSchemeResponse_analysisScheme :: Lens' DefineAnalysisSchemeResponse AnalysisSchemeStatus Source #
Undocumented member.