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.

SetIdentityHeadersInNotificationsEnabledInput

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

type SetIdentityHeadersInNotificationsEnabledInput struct { Enabled *bool `type:"boolean" required:"true"` Identity *string `type:"string" required:"true"` NotificationType *string `type:"string" required:"true" enum:"NotificationType"` }

Represents a request to set whether Amazon SES includes the original email headers in the Amazon SNS notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html).

Enabled

Type: *bool

Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true specifies that Amazon SES will include headers in notifications, and a value of false specifies that Amazon SES will not include headers in notifications.

This value can only be set when NotificationType is already set to use a particular Amazon SNS topic.

Enabled is a required field

Identity

Type: *string

The identity for which to enable or disable headers in notifications. Examples: user@example.com, example.com.

Identity is a required field

NotificationType

Type: *string

The notification type for which to enable or disable headers in notifications.

NotificationType is a required field

Method

GoString

func (s SetIdentityHeadersInNotificationsEnabledInput) GoString() string

GoString returns the string representation

SetEnabled

func (s *SetIdentityHeadersInNotificationsEnabledInput) SetEnabled(v bool) *SetIdentityHeadersInNotificationsEnabledInput

SetEnabled sets the Enabled field's value.

SetIdentity

func (s *SetIdentityHeadersInNotificationsEnabledInput) SetIdentity(v string) *SetIdentityHeadersInNotificationsEnabledInput

SetIdentity sets the Identity field's value.

SetNotificationType

func (s *SetIdentityHeadersInNotificationsEnabledInput) SetNotificationType(v string) *SetIdentityHeadersInNotificationsEnabledInput

SetNotificationType sets the NotificationType field's value.

String

func (s SetIdentityHeadersInNotificationsEnabledInput) String() string

String returns the string representation

Validate

func (s *SetIdentityHeadersInNotificationsEnabledInput) Validate() error

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

On this page: