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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

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)


5408
5409
5410
5411
5412
5413
5414
5415
# File 'lib/aws-sdk-glue/types.rb', line 5408

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

#custom_patternsString

Optional custom grok patterns used by this classifier.

Returns:

  • (String)


5408
5409
5410
5411
5412
5413
5414
5415
# File 'lib/aws-sdk-glue/types.rb', line 5408

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

#grok_patternString

The grok pattern used by this classifier.

Returns:

  • (String)


5408
5409
5410
5411
5412
5413
5414
5415
# File 'lib/aws-sdk-glue/types.rb', line 5408

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

#nameString

The name of the new classifier.

Returns:

  • (String)


5408
5409
5410
5411
5412
5413
5414
5415
# File 'lib/aws-sdk-glue/types.rb', line 5408

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