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.

UpdateSizeConstraintSetInput

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

type UpdateSizeConstraintSetInput struct { ChangeToken *string `min:"1" type:"string" required:"true"` SizeConstraintSetId *string `min:"1" type:"string" required:"true"` Updates []*SizeConstraintSetUpdate `min:"1" type:"list" required:"true"` }

ChangeToken

Type: *string

The value returned by the most recent call to GetChangeToken.

ChangeToken is a required field

SizeConstraintSetId

Type: *string

The SizeConstraintSetId of the SizeConstraintSet that you want to update. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

SizeConstraintSetId is a required field

Updates

Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the specification to a SizeConstraintSet or delete it from a SizeConstraintSet.

Method

GoString

func (s UpdateSizeConstraintSetInput) GoString() string

GoString returns the string representation

SetChangeToken

func (s *UpdateSizeConstraintSetInput) SetChangeToken(v string) *UpdateSizeConstraintSetInput

SetChangeToken sets the ChangeToken field's value.

SetSizeConstraintSetId

func (s *UpdateSizeConstraintSetInput) SetSizeConstraintSetId(v string) *UpdateSizeConstraintSetInput

SetSizeConstraintSetId sets the SizeConstraintSetId field's value.

SetUpdates

func (s *UpdateSizeConstraintSetInput) SetUpdates(v []*SizeConstraintSetUpdate) *UpdateSizeConstraintSetInput

SetUpdates sets the Updates field's value.

String

func (s UpdateSizeConstraintSetInput) String() string

String returns the string representation

Validate

func (s *UpdateSizeConstraintSetInput) Validate() error

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

On this page: