Skip to content

Update Classifier

glue_update_classifier R Documentation

Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present)

Description

Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present).

Usage

glue_update_classifier(GrokClassifier, XMLClassifier, JsonClassifier,
  CsvClassifier)

Arguments

GrokClassifier

A GrokClassifier object with updated fields.

XMLClassifier

An XMLClassifier object with updated fields.

JsonClassifier

A JsonClassifier object with updated fields.

CsvClassifier

A CsvClassifier object with updated fields.

Value

An empty list.

Request syntax

svc$update_classifier(
  GrokClassifier = list(
    Name = "string",
    Classification = "string",
    GrokPattern = "string",
    CustomPatterns = "string"
  ),
  XMLClassifier = list(
    Name = "string",
    Classification = "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"
  )
)