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

Class: Aws::Glue::Types::CreateXMLClassifierRequest

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 CreateXMLClassifierRequest data as a hash:

{
  classification: "Classification", # required
  name: "NameString", # required
  row_tag: "RowTag",
}

Specifies an XML classifier for CreateClassifier to create.

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString

An identifier of the data format that the classifier matches.

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2109

class CreateXMLClassifierRequest < Struct.new(
  :classification,
  :name,
  :row_tag)
  include Aws::Structure
end

#nameString

The name of the classifier.

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2109

class CreateXMLClassifierRequest < Struct.new(
  :classification,
  :name,
  :row_tag)
  include Aws::Structure
end

#row_tagString

The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2109

class CreateXMLClassifierRequest < Struct.new(
  :classification,
  :name,
  :row_tag)
  include Aws::Structure
end