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.

IPSetUpdate

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

type IPSetUpdate struct { Action *string `type:"string" required:"true" enum:"ChangeAction"` IPSetDescriptor *IPSetDescriptor `type:"structure" required:"true"` }

Specifies the type of update to perform to an IPSet with UpdateIPSet.

Action

Type: *string

Specifies whether to insert or delete an IP address with UpdateIPSet.

Action is a required field

IPSetDescriptor

Specifies the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) that web requests originate from.

Method

GoString

func (s IPSetUpdate) GoString() string

GoString returns the string representation

SetAction

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

SetAction sets the Action field's value.

SetIPSetDescriptor

func (s *IPSetUpdate) SetIPSetDescriptor(v *IPSetDescriptor) *IPSetUpdate

SetIPSetDescriptor sets the IPSetDescriptor field's value.

String

func (s IPSetUpdate) String() string

String returns the string representation

Validate

func (s *IPSetUpdate) Validate() error

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

On this page: