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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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,
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#csv_classifierTypes::CreateCsvClassifierRequest

A `CsvClassifier` object specifying the classifier to create.



3029
3030
3031
3032
3033
3034
3035
3036
# File 'lib/aws-sdk-glue/types.rb', line 3029

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

#grok_classifierTypes::CreateGrokClassifierRequest

A `GrokClassifier` object specifying the classifier to create.



3029
3030
3031
3032
3033
3034
3035
3036
# File 'lib/aws-sdk-glue/types.rb', line 3029

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

#json_classifierTypes::CreateJsonClassifierRequest

A `JsonClassifier` object specifying the classifier to create.



3029
3030
3031
3032
3033
3034
3035
3036
# File 'lib/aws-sdk-glue/types.rb', line 3029

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

#xml_classifierTypes::CreateXMLClassifierRequest

An `XMLClassifier` object specifying the classifier to create.



3029
3030
3031
3032
3033
3034
3035
3036
# File 'lib/aws-sdk-glue/types.rb', line 3029

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