AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GrokClassifier

import "github.com/aws/aws-sdk-go/service/glue"

type GrokClassifier struct { Classification *string `type:"string" required:"true"` CreationTime *time.Time `type:"timestamp"` CustomPatterns *string `type:"string"` GrokPattern *string `min:"1" type:"string" required:"true"` LastUpdated *time.Time `type:"timestamp"` Name *string `min:"1" type:"string" required:"true"` Version *int64 `type:"long"` }

A classifier that uses grok patterns.

Classification

Type: *string

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

Classification is a required field

CreationTime

Type: *time.Time

The time this classifier was registered.

CustomPatterns

Type: *string

Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).

GrokPattern

Type: *string

The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html).

GrokPattern is a required field

LastUpdated

Type: *time.Time

The time this classifier was last updated.

Name

Type: *string

The name of the classifier.

Name is a required field

Version

Type: *int64

The version of this classifier.

Method

GoString

func (s GrokClassifier) GoString() string

GoString returns the string representation

SetClassification

func (s *GrokClassifier) SetClassification(v string) *GrokClassifier

SetClassification sets the Classification field's value.

SetCreationTime

func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier

SetCreationTime sets the CreationTime field's value.

SetCustomPatterns

func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier

SetCustomPatterns sets the CustomPatterns field's value.

SetGrokPattern

func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier

SetGrokPattern sets the GrokPattern field's value.

SetLastUpdated

func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier

SetLastUpdated sets the LastUpdated field's value.

SetName

func (s *GrokClassifier) SetName(v string) *GrokClassifier

SetName sets the Name field's value.

SetVersion

func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier

SetVersion sets the Version field's value.

String

func (s GrokClassifier) String() string

String returns the string representation

On this page: