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.

SqlInjectionMatchSet

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

type SqlInjectionMatchSet struct { Name *string `min:"1" type:"string"` SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` SqlInjectionMatchTuples []*SqlInjectionMatchTuple `type:"list" required:"true"` }

A complex type that contains SqlInjectionMatchTuple objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a SqlInjectionMatchSet contains more than one SqlInjectionMatchTuple object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.

Name

Type: *string

The name, if any, of the SqlInjectionMatchSet.

SqlInjectionMatchSetId

Type: *string

A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

SqlInjectionMatchSetId is a required field

SqlInjectionMatchTuples

Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

Method

GoString

func (s SqlInjectionMatchSet) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetSqlInjectionMatchSetId

func (s *SqlInjectionMatchSet) SetSqlInjectionMatchSetId(v string) *SqlInjectionMatchSet

SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.

SetSqlInjectionMatchTuples

func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []*SqlInjectionMatchTuple) *SqlInjectionMatchSet

SetSqlInjectionMatchTuples sets the SqlInjectionMatchTuples field's value.

String

func (s SqlInjectionMatchSet) String() string

String returns the string representation

On this page: