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.

RuleSummary

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

type RuleSummary struct { Name *string `min:"1" type:"string" required:"true"` RuleId *string `min:"1" type:"string" required:"true"` }

Contains the identifier and the friendly name or description of the Rule.

Name

Type: *string

A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

Name is a required field

RuleId

Type: *string

A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

RuleId is a required field

Method

GoString

func (s RuleSummary) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetRuleId

func (s *RuleSummary) SetRuleId(v string) *RuleSummary

SetRuleId sets the RuleId field's value.

String

func (s RuleSummary) String() string

String returns the string representation

On this page: