You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#grok_classifierTypes::CreateGrokClassifierRequest

A GrokClassifier object specifying the classifier to create.



1201
1202
1203
1204
1205
1206
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1201

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

#json_classifierTypes::CreateJsonClassifierRequest

A JsonClassifier object specifying the classifier to create.



1201
1202
1203
1204
1205
1206
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1201

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

#xml_classifierTypes::CreateXMLClassifierRequest

An XMLClassifier object specifying the classifier to create.



1201
1202
1203
1204
1205
1206
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1201

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