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 |
Modifies an existing classifier (a GrokClassifier
, an XMLClassifier
,
a JsonClassifier
, or a CsvClassifier
, depending on which field is
present).
Synopsis
- data UpdateClassifier = UpdateClassifier' {}
- newUpdateClassifier :: UpdateClassifier
- updateClassifier_grokClassifier :: Lens' UpdateClassifier (Maybe UpdateGrokClassifierRequest)
- updateClassifier_xMLClassifier :: Lens' UpdateClassifier (Maybe UpdateXMLClassifierRequest)
- updateClassifier_csvClassifier :: Lens' UpdateClassifier (Maybe UpdateCsvClassifierRequest)
- updateClassifier_jsonClassifier :: Lens' UpdateClassifier (Maybe UpdateJsonClassifierRequest)
- data UpdateClassifierResponse = UpdateClassifierResponse' {
- httpStatus :: Int
- newUpdateClassifierResponse :: Int -> UpdateClassifierResponse
- updateClassifierResponse_httpStatus :: Lens' UpdateClassifierResponse Int
Creating a Request
data UpdateClassifier Source #
See: newUpdateClassifier
smart constructor.
UpdateClassifier' | |
|
Instances
newUpdateClassifier :: UpdateClassifier Source #
Create a value of UpdateClassifier
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:grokClassifier:UpdateClassifier'
, updateClassifier_grokClassifier
- A GrokClassifier
object with updated fields.
$sel:xMLClassifier:UpdateClassifier'
, updateClassifier_xMLClassifier
- An XMLClassifier
object with updated fields.
$sel:csvClassifier:UpdateClassifier'
, updateClassifier_csvClassifier
- A CsvClassifier
object with updated fields.
$sel:jsonClassifier:UpdateClassifier'
, updateClassifier_jsonClassifier
- A JsonClassifier
object with updated fields.
Request Lenses
updateClassifier_grokClassifier :: Lens' UpdateClassifier (Maybe UpdateGrokClassifierRequest) Source #
A GrokClassifier
object with updated fields.
updateClassifier_xMLClassifier :: Lens' UpdateClassifier (Maybe UpdateXMLClassifierRequest) Source #
An XMLClassifier
object with updated fields.
updateClassifier_csvClassifier :: Lens' UpdateClassifier (Maybe UpdateCsvClassifierRequest) Source #
A CsvClassifier
object with updated fields.
updateClassifier_jsonClassifier :: Lens' UpdateClassifier (Maybe UpdateJsonClassifierRequest) Source #
A JsonClassifier
object with updated fields.
Destructuring the Response
data UpdateClassifierResponse Source #
See: newUpdateClassifierResponse
smart constructor.
UpdateClassifierResponse' | |
|
Instances
newUpdateClassifierResponse Source #
Create a value of UpdateClassifierResponse
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:UpdateClassifierResponse'
, updateClassifierResponse_httpStatus
- The response's http status code.
Response Lenses
updateClassifierResponse_httpStatus :: Lens' UpdateClassifierResponse Int Source #
The response's http status code.