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.

ByteMatchSetUpdate

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

type ByteMatchSetUpdate struct { Action *string `type:"string" required:"true" enum:"ChangeAction"` ByteMatchTuple *ByteMatchTuple `type:"structure" required:"true"` }

In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.

Action

Type: *string

Specifies whether to insert or delete a ByteMatchTuple.

Action is a required field

ByteMatchTuple

The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

Method

GoString

func (s ByteMatchSetUpdate) GoString() string

GoString returns the string representation

SetAction

func (s *ByteMatchSetUpdate) SetAction(v string) *ByteMatchSetUpdate

SetAction sets the Action field's value.

SetByteMatchTuple

func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetUpdate

SetByteMatchTuple sets the ByteMatchTuple field's value.

String

func (s ByteMatchSetUpdate) String() string

String returns the string representation

Validate

func (s *ByteMatchSetUpdate) Validate() error

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

On this page: