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

Instance Attribute Summary collapse

Instance Attribute Details

#grok_classifierTypes::CreateGrokClassifierRequest

A GrokClassifier object specifying the classifier to create.



1017
1018
1019
1020
1021
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1017

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

#xml_classifierTypes::CreateXMLClassifierRequest

An XMLClassifier object specifying the classifier to create.



1017
1018
1019
1020
1021
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1017

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