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.

UpdateReceiptRuleInput

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

type UpdateReceiptRuleInput struct { Rule *ReceiptRule `type:"structure" required:"true"` RuleSetName *string `type:"string" required:"true"` }

Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html).

Rule

Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.

Each receipt rule defines a set of email addresses or domains that it applies to. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.

For information about setting up receipt rules, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html).

RuleSetName

Type: *string

The name of the receipt rule set that the receipt rule belongs to.

RuleSetName is a required field

Method

GoString

func (s UpdateReceiptRuleInput) GoString() string

GoString returns the string representation

SetRule

func (s *UpdateReceiptRuleInput) SetRule(v *ReceiptRule) *UpdateReceiptRuleInput

SetRule sets the Rule field's value.

SetRuleSetName

func (s *UpdateReceiptRuleInput) SetRuleSetName(v string) *UpdateReceiptRuleInput

SetRuleSetName sets the RuleSetName field's value.

String

func (s UpdateReceiptRuleInput) String() string

String returns the string representation

Validate

func (s *UpdateReceiptRuleInput) Validate() error

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

On this page: