Skip to content

Create Classifier

glue_create_classifier R Documentation

Creates a classifier in the user's account

Description

Creates a classifier in the user's account. This can be a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field of the request is present.

Usage

glue_create_classifier(GrokClassifier, XMLClassifier, JsonClassifier,
  CsvClassifier)

Arguments

GrokClassifier

A GrokClassifier object specifying the classifier to create.

XMLClassifier

An XMLClassifier object specifying the classifier to create.

JsonClassifier

A JsonClassifier object specifying the classifier to create.

CsvClassifier

A CsvClassifier object specifying the classifier to create.

Value

An empty list.

Request syntax

svc$create_classifier(
  GrokClassifier = list(
    Classification = "string",
    Name = "string",
    GrokPattern = "string",
    CustomPatterns = "string"
  ),
  XMLClassifier = list(
    Classification = "string",
    Name = "string",
    RowTag = "string"
  ),
  JsonClassifier = list(
    Name = "string",
    JsonPath = "string"
  ),
  CsvClassifier = list(
    Name = "string",
    Delimiter = "string",
    QuoteSymbol = "string",
    ContainsHeader = "UNKNOWN"|"PRESENT"|"ABSENT",
    Header = list(
      "string"
    ),
    DisableValueTrimming = TRUE|FALSE,
    AllowSingleColumn = TRUE|FALSE,
    CustomDatatypeConfigured = TRUE|FALSE,
    CustomDatatypes = list(
      "string"
    ),
    Serde = "OpenCSVSerDe"|"LazySimpleSerDe"|"None"
  )
)