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.

ReceiptFilter

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

type ReceiptFilter struct { IpFilter *ReceiptIpFilter `type:"structure" required:"true"` Name *string `type:"string" required:"true"` }

A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.

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

IpFilter

A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.

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

Name

Type: *string

The name of the IP address filter. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

  • Start and end with a letter or number.

  • Contain less than 64 characters.

Name is a required field

Method

GoString

func (s ReceiptFilter) GoString() string

GoString returns the string representation

SetIpFilter

func (s *ReceiptFilter) SetIpFilter(v *ReceiptIpFilter) *ReceiptFilter

SetIpFilter sets the IpFilter field's value.

SetName

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

SetName sets the Name field's value.

String

func (s ReceiptFilter) String() string

String returns the string representation

Validate

func (s *ReceiptFilter) Validate() error

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

On this page: