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.

UpdateGrokClassifierRequest

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

type UpdateGrokClassifierRequest struct { Classification *string `type:"string"` CustomPatterns *string `type:"string"` GrokPattern *string `min:"1" type:"string"` Name *string `min:"1" type:"string" required:"true"` }

Specifies a grok classifier to update when passed to UpdateClassifier.

Classification

Type: *string

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

CustomPatterns

Type: *string

Optional custom grok patterns used by this classifier.

GrokPattern

Type: *string

The grok pattern used by this classifier.

Name

Type: *string

The name of the GrokClassifier.

Name is a required field

Method

GoString

func (s UpdateGrokClassifierRequest) GoString() string

GoString returns the string representation

SetClassification

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

SetClassification sets the Classification field's value.

SetCustomPatterns

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

SetCustomPatterns sets the CustomPatterns field's value.

SetGrokPattern

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

SetGrokPattern sets the GrokPattern field's value.

SetName

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

SetName sets the Name field's value.

String

func (s UpdateGrokClassifierRequest) String() string

String returns the string representation

Validate

func (s *UpdateGrokClassifierRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: