Class: Aws::Glue::Types::CreateClassifierRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass CreateClassifierRequest data as a hash:

{
  grok_classifier: {
    classification: "Classification", # required
    name: "NameString", # required
    grok_pattern: "GrokPattern", # required
    custom_patterns: "CustomPatterns",
  },
  xml_classifier: {
    classification: "Classification", # required
    name: "NameString", # required
    row_tag: "RowTag",
  },
  json_classifier: {
    name: "NameString", # required
    json_path: "JsonPath", # required
  },
  csv_classifier: {
    name: "NameString", # required
    delimiter: "CsvColumnDelimiter",
    quote_symbol: "CsvQuoteSymbol",
    contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
    header: ["NameString"],
    disable_value_trimming: false,
    allow_single_column: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#csv_classifierTypes::CreateCsvClassifierRequest

A CsvClassifier object specifying the classifier to create.



1815
1816
1817
1818
1819
1820
1821
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1815

class CreateClassifierRequest < Struct.new(
  :grok_classifier,
  :xml_classifier,
  :json_classifier,
  :csv_classifier)
  include Aws::Structure
end

#grok_classifierTypes::CreateGrokClassifierRequest

A GrokClassifier object specifying the classifier to create.



1815
1816
1817
1818
1819
1820
1821
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1815

class CreateClassifierRequest < Struct.new(
  :grok_classifier,
  :xml_classifier,
  :json_classifier,
  :csv_classifier)
  include Aws::Structure
end

#json_classifierTypes::CreateJsonClassifierRequest

A JsonClassifier object specifying the classifier to create.



1815
1816
1817
1818
1819
1820
1821
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1815

class CreateClassifierRequest < Struct.new(
  :grok_classifier,
  :xml_classifier,
  :json_classifier,
  :csv_classifier)
  include Aws::Structure
end

#xml_classifierTypes::CreateXMLClassifierRequest

An XMLClassifier object specifying the classifier to create.



1815
1816
1817
1818
1819
1820
1821
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1815

class CreateClassifierRequest < Struct.new(
  :grok_classifier,
  :xml_classifier,
  :json_classifier,
  :csv_classifier)
  include Aws::Structure
end