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

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

Returns:

  • (String)


5847
5848
5849
5850
5851
5852
5853
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5847

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

#custom_patternsString

Optional custom grok patterns used by this classifier.

Returns:

  • (String)


5847
5848
5849
5850
5851
5852
5853
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5847

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)


5847
5848
5849
5850
5851
5852
5853
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5847

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

#nameString

The name of the GrokClassifier.

Returns:

  • (String)


5847
5848
5849
5850
5851
5852
5853
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5847

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