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

Class: Aws::Glue::Types::CreateGrokClassifierRequest

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

{
  classification: "Classification", # required
  name: "NameString", # required
  grok_pattern: "GrokPattern", # required
  custom_patterns: "CustomPatterns",
}

Specifies a grok classifier for CreateClassifier to create.

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString

An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.

Returns:

  • (String)


1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1399

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#custom_patternsString

Optional custom grok patterns used by this classifier.

Returns:

  • (String)


1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1399

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#grok_patternString

The grok pattern used by this classifier.

Returns:

  • (String)


1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1399

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end

#nameString

The name of the new classifier.

Returns:

  • (String)


1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1399

class CreateGrokClassifierRequest < Struct.new(
  :classification,
  :name,
  :grok_pattern,
  :custom_patterns)
  include Aws::Structure
end