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 |
Synopsis
- data CreateGrokClassifierRequest = CreateGrokClassifierRequest' {
- customPatterns :: Maybe Text
- classification :: Text
- name :: Text
- grokPattern :: Text
- newCreateGrokClassifierRequest :: Text -> Text -> Text -> CreateGrokClassifierRequest
- createGrokClassifierRequest_customPatterns :: Lens' CreateGrokClassifierRequest (Maybe Text)
- createGrokClassifierRequest_classification :: Lens' CreateGrokClassifierRequest Text
- createGrokClassifierRequest_name :: Lens' CreateGrokClassifierRequest Text
- createGrokClassifierRequest_grokPattern :: Lens' CreateGrokClassifierRequest Text
Documentation
data CreateGrokClassifierRequest Source #
Specifies a grok
classifier for CreateClassifier
to create.
See: newCreateGrokClassifierRequest
smart constructor.
CreateGrokClassifierRequest' | |
|
Instances
newCreateGrokClassifierRequest Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateGrokClassifierRequest |
Create a value of CreateGrokClassifierRequest
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:customPatterns:CreateGrokClassifierRequest'
, createGrokClassifierRequest_customPatterns
- Optional custom grok patterns used by this classifier.
$sel:classification:CreateGrokClassifierRequest'
, createGrokClassifierRequest_classification
- An identifier of the data format that the classifier matches, such as
Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
$sel:name:CreateGrokClassifierRequest'
, createGrokClassifierRequest_name
- The name of the new classifier.
$sel:grokPattern:CreateGrokClassifierRequest'
, createGrokClassifierRequest_grokPattern
- The grok pattern used by this classifier.
createGrokClassifierRequest_customPatterns :: Lens' CreateGrokClassifierRequest (Maybe Text) Source #
Optional custom grok patterns used by this classifier.
createGrokClassifierRequest_classification :: Lens' CreateGrokClassifierRequest Text Source #
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
createGrokClassifierRequest_name :: Lens' CreateGrokClassifierRequest Text Source #
The name of the new classifier.
createGrokClassifierRequest_grokPattern :: Lens' CreateGrokClassifierRequest Text Source #
The grok pattern used by this classifier.