Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Modifies an existing classifier (a GrokClassifier
, XMLClassifier
, or JsonClassifier
, depending on which field is present).
Synopsis
- updateClassifier :: UpdateClassifier
- data UpdateClassifier
- ucGrokClassifier :: Lens' UpdateClassifier (Maybe UpdateGrokClassifierRequest)
- ucXMLClassifier :: Lens' UpdateClassifier (Maybe UpdateXMLClassifierRequest)
- ucJSONClassifier :: Lens' UpdateClassifier (Maybe UpdateJSONClassifierRequest)
- updateClassifierResponse :: Int -> UpdateClassifierResponse
- data UpdateClassifierResponse
- ursResponseStatus :: Lens' UpdateClassifierResponse Int
Creating a Request
updateClassifier :: UpdateClassifier Source #
Creates a value of UpdateClassifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucGrokClassifier
- AGrokClassifier
object with updated fields.ucXMLClassifier
- AnXMLClassifier
object with updated fields.ucJSONClassifier
- AJsonClassifier
object with updated fields.
data UpdateClassifier Source #
See: updateClassifier
smart constructor.
Instances
Request Lenses
ucGrokClassifier :: Lens' UpdateClassifier (Maybe UpdateGrokClassifierRequest) Source #
A GrokClassifier
object with updated fields.
ucXMLClassifier :: Lens' UpdateClassifier (Maybe UpdateXMLClassifierRequest) Source #
An XMLClassifier
object with updated fields.
ucJSONClassifier :: Lens' UpdateClassifier (Maybe UpdateJSONClassifierRequest) Source #
A JsonClassifier
object with updated fields.
Destructuring the Response
updateClassifierResponse Source #
Creates a value of UpdateClassifierResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ursResponseStatus
- -- | The response status code.
data UpdateClassifierResponse Source #
See: updateClassifierResponse
smart constructor.
Instances
Response Lenses
ursResponseStatus :: Lens' UpdateClassifierResponse Int Source #
- - | The response status code.