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

Class: Aws::Glue::Types::UpdateGrokClassifierRequest

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

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

Specifies a Grok classifier to update when passed to UpdateClassifier.

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString

The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so forth.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5545

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

#custom_patternsString

Custom grok patterns used by this classifier.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5545

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

#grok_patternString

The grok pattern used by this classifier.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5545

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

#nameString

The name of the GrokClassifier.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5545

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