aws-sdk-go: github.com/aws/aws-sdk-go/service/ses Index | Examples | Files | Directories

package ses

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

Package ses provides the client and types for making API requests to Amazon Simple Email Service.

This document contains reference information for the Amazon Simple Email Service (https://aws.amazon.com/ses/) (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html).

For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html) in the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01 for more information on this service.

See ses package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ses/

Using the Client

To contact Amazon Simple Email Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Simple Email Service client SES for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ses/#New

Index

Examples

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

const (
    // BehaviorOnMXFailureUseDefaultValue is a BehaviorOnMXFailure enum value
    BehaviorOnMXFailureUseDefaultValue = "UseDefaultValue"

    // BehaviorOnMXFailureRejectMessage is a BehaviorOnMXFailure enum value
    BehaviorOnMXFailureRejectMessage = "RejectMessage"
)
const (
    // BounceTypeDoesNotExist is a BounceType enum value
    BounceTypeDoesNotExist = "DoesNotExist"

    // BounceTypeMessageTooLarge is a BounceType enum value
    BounceTypeMessageTooLarge = "MessageTooLarge"

    // BounceTypeExceededQuota is a BounceType enum value
    BounceTypeExceededQuota = "ExceededQuota"

    // BounceTypeContentRejected is a BounceType enum value
    BounceTypeContentRejected = "ContentRejected"

    // BounceTypeUndefined is a BounceType enum value
    BounceTypeUndefined = "Undefined"

    // BounceTypeTemporaryFailure is a BounceType enum value
    BounceTypeTemporaryFailure = "TemporaryFailure"
)
const (
    // BulkEmailStatusSuccess is a BulkEmailStatus enum value
    BulkEmailStatusSuccess = "Success"

    // BulkEmailStatusMessageRejected is a BulkEmailStatus enum value
    BulkEmailStatusMessageRejected = "MessageRejected"

    // BulkEmailStatusMailFromDomainNotVerified is a BulkEmailStatus enum value
    BulkEmailStatusMailFromDomainNotVerified = "MailFromDomainNotVerified"

    // BulkEmailStatusConfigurationSetDoesNotExist is a BulkEmailStatus enum value
    BulkEmailStatusConfigurationSetDoesNotExist = "ConfigurationSetDoesNotExist"

    // BulkEmailStatusTemplateDoesNotExist is a BulkEmailStatus enum value
    BulkEmailStatusTemplateDoesNotExist = "TemplateDoesNotExist"

    // BulkEmailStatusAccountSuspended is a BulkEmailStatus enum value
    BulkEmailStatusAccountSuspended = "AccountSuspended"

    // BulkEmailStatusAccountThrottled is a BulkEmailStatus enum value
    BulkEmailStatusAccountThrottled = "AccountThrottled"

    // BulkEmailStatusAccountDailyQuotaExceeded is a BulkEmailStatus enum value
    BulkEmailStatusAccountDailyQuotaExceeded = "AccountDailyQuotaExceeded"

    // BulkEmailStatusInvalidSendingPoolName is a BulkEmailStatus enum value
    BulkEmailStatusInvalidSendingPoolName = "InvalidSendingPoolName"

    // BulkEmailStatusAccountSendingPaused is a BulkEmailStatus enum value
    BulkEmailStatusAccountSendingPaused = "AccountSendingPaused"

    // BulkEmailStatusConfigurationSetSendingPaused is a BulkEmailStatus enum value
    BulkEmailStatusConfigurationSetSendingPaused = "ConfigurationSetSendingPaused"

    // BulkEmailStatusInvalidParameterValue is a BulkEmailStatus enum value
    BulkEmailStatusInvalidParameterValue = "InvalidParameterValue"

    // BulkEmailStatusTransientFailure is a BulkEmailStatus enum value
    BulkEmailStatusTransientFailure = "TransientFailure"

    // BulkEmailStatusFailed is a BulkEmailStatus enum value
    BulkEmailStatusFailed = "Failed"
)
const (
    // ConfigurationSetAttributeEventDestinations is a ConfigurationSetAttribute enum value
    ConfigurationSetAttributeEventDestinations = "eventDestinations"

    // ConfigurationSetAttributeTrackingOptions is a ConfigurationSetAttribute enum value
    ConfigurationSetAttributeTrackingOptions = "trackingOptions"

    // ConfigurationSetAttributeDeliveryOptions is a ConfigurationSetAttribute enum value
    ConfigurationSetAttributeDeliveryOptions = "deliveryOptions"

    // ConfigurationSetAttributeReputationOptions is a ConfigurationSetAttribute enum value
    ConfigurationSetAttributeReputationOptions = "reputationOptions"
)
const (
    // CustomMailFromStatusPending is a CustomMailFromStatus enum value
    CustomMailFromStatusPending = "Pending"

    // CustomMailFromStatusSuccess is a CustomMailFromStatus enum value
    CustomMailFromStatusSuccess = "Success"

    // CustomMailFromStatusFailed is a CustomMailFromStatus enum value
    CustomMailFromStatusFailed = "Failed"

    // CustomMailFromStatusTemporaryFailure is a CustomMailFromStatus enum value
    CustomMailFromStatusTemporaryFailure = "TemporaryFailure"
)
const (
    // DimensionValueSourceMessageTag is a DimensionValueSource enum value
    DimensionValueSourceMessageTag = "messageTag"

    // DimensionValueSourceEmailHeader is a DimensionValueSource enum value
    DimensionValueSourceEmailHeader = "emailHeader"

    // DimensionValueSourceLinkTag is a DimensionValueSource enum value
    DimensionValueSourceLinkTag = "linkTag"
)
const (
    // DsnActionFailed is a DsnAction enum value
    DsnActionFailed = "failed"

    // DsnActionDelayed is a DsnAction enum value
    DsnActionDelayed = "delayed"

    // DsnActionDelivered is a DsnAction enum value
    DsnActionDelivered = "delivered"

    // DsnActionRelayed is a DsnAction enum value
    DsnActionRelayed = "relayed"

    // DsnActionExpanded is a DsnAction enum value
    DsnActionExpanded = "expanded"
)
const (
    // EventTypeSend is a EventType enum value
    EventTypeSend = "send"

    // EventTypeReject is a EventType enum value
    EventTypeReject = "reject"

    // EventTypeBounce is a EventType enum value
    EventTypeBounce = "bounce"

    // EventTypeComplaint is a EventType enum value
    EventTypeComplaint = "complaint"

    // EventTypeDelivery is a EventType enum value
    EventTypeDelivery = "delivery"

    // EventTypeOpen is a EventType enum value
    EventTypeOpen = "open"

    // EventTypeClick is a EventType enum value
    EventTypeClick = "click"

    // EventTypeRenderingFailure is a EventType enum value
    EventTypeRenderingFailure = "renderingFailure"
)
const (
    // IdentityTypeEmailAddress is a IdentityType enum value
    IdentityTypeEmailAddress = "EmailAddress"

    // IdentityTypeDomain is a IdentityType enum value
    IdentityTypeDomain = "Domain"
)
const (
    // InvocationTypeEvent is a InvocationType enum value
    InvocationTypeEvent = "Event"

    // InvocationTypeRequestResponse is a InvocationType enum value
    InvocationTypeRequestResponse = "RequestResponse"
)
const (
    // NotificationTypeBounce is a NotificationType enum value
    NotificationTypeBounce = "Bounce"

    // NotificationTypeComplaint is a NotificationType enum value
    NotificationTypeComplaint = "Complaint"

    // NotificationTypeDelivery is a NotificationType enum value
    NotificationTypeDelivery = "Delivery"
)
const (
    // ReceiptFilterPolicyBlock is a ReceiptFilterPolicy enum value
    ReceiptFilterPolicyBlock = "Block"

    // ReceiptFilterPolicyAllow is a ReceiptFilterPolicy enum value
    ReceiptFilterPolicyAllow = "Allow"
)
const (
    // SNSActionEncodingUtf8 is a SNSActionEncoding enum value
    SNSActionEncodingUtf8 = "UTF-8"

    // SNSActionEncodingBase64 is a SNSActionEncoding enum value
    SNSActionEncodingBase64 = "Base64"
)
const (
    // TlsPolicyRequire is a TlsPolicy enum value
    TlsPolicyRequire = "Require"

    // TlsPolicyOptional is a TlsPolicy enum value
    TlsPolicyOptional = "Optional"
)
const (
    // VerificationStatusPending is a VerificationStatus enum value
    VerificationStatusPending = "Pending"

    // VerificationStatusSuccess is a VerificationStatus enum value
    VerificationStatusSuccess = "Success"

    // VerificationStatusFailed is a VerificationStatus enum value
    VerificationStatusFailed = "Failed"

    // VerificationStatusTemporaryFailure is a VerificationStatus enum value
    VerificationStatusTemporaryFailure = "TemporaryFailure"

    // VerificationStatusNotStarted is a VerificationStatus enum value
    VerificationStatusNotStarted = "NotStarted"
)
const (

    // ErrCodeAccountSendingPausedException for service response error code
    // "AccountSendingPausedException".
    //
    // Indicates that email sending is disabled for your entire Amazon SES account.
    //
    // You can enable or disable email sending for your Amazon SES account using
    // UpdateAccountSendingEnabled.
    ErrCodeAccountSendingPausedException = "AccountSendingPausedException"

    // ErrCodeAlreadyExistsException for service response error code
    // "AlreadyExists".
    //
    // Indicates that a resource could not be created because of a naming conflict.
    ErrCodeAlreadyExistsException = "AlreadyExists"

    // ErrCodeCannotDeleteException for service response error code
    // "CannotDelete".
    //
    // Indicates that the delete operation could not be completed.
    ErrCodeCannotDeleteException = "CannotDelete"

    // ErrCodeConfigurationSetAlreadyExistsException for service response error code
    // "ConfigurationSetAlreadyExists".
    //
    // Indicates that the configuration set could not be created because of a naming
    // conflict.
    ErrCodeConfigurationSetAlreadyExistsException = "ConfigurationSetAlreadyExists"

    // ErrCodeConfigurationSetDoesNotExistException for service response error code
    // "ConfigurationSetDoesNotExist".
    //
    // Indicates that the configuration set does not exist.
    ErrCodeConfigurationSetDoesNotExistException = "ConfigurationSetDoesNotExist"

    // ErrCodeConfigurationSetSendingPausedException for service response error code
    // "ConfigurationSetSendingPausedException".
    //
    // Indicates that email sending is disabled for the configuration set.
    //
    // You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled.
    ErrCodeConfigurationSetSendingPausedException = "ConfigurationSetSendingPausedException"

    // ErrCodeCustomVerificationEmailInvalidContentException for service response error code
    // "CustomVerificationEmailInvalidContent".
    //
    // Indicates that custom verification email template provided content is invalid.
    ErrCodeCustomVerificationEmailInvalidContentException = "CustomVerificationEmailInvalidContent"

    // ErrCodeCustomVerificationEmailTemplateAlreadyExistsException for service response error code
    // "CustomVerificationEmailTemplateAlreadyExists".
    //
    // Indicates that a custom verification email template with the name you specified
    // already exists.
    ErrCodeCustomVerificationEmailTemplateAlreadyExistsException = "CustomVerificationEmailTemplateAlreadyExists"

    // ErrCodeCustomVerificationEmailTemplateDoesNotExistException for service response error code
    // "CustomVerificationEmailTemplateDoesNotExist".
    //
    // Indicates that a custom verification email template with the name you specified
    // does not exist.
    ErrCodeCustomVerificationEmailTemplateDoesNotExistException = "CustomVerificationEmailTemplateDoesNotExist"

    // ErrCodeEventDestinationAlreadyExistsException for service response error code
    // "EventDestinationAlreadyExists".
    //
    // Indicates that the event destination could not be created because of a naming
    // conflict.
    ErrCodeEventDestinationAlreadyExistsException = "EventDestinationAlreadyExists"

    // ErrCodeEventDestinationDoesNotExistException for service response error code
    // "EventDestinationDoesNotExist".
    //
    // Indicates that the event destination does not exist.
    ErrCodeEventDestinationDoesNotExistException = "EventDestinationDoesNotExist"

    // ErrCodeFromEmailAddressNotVerifiedException for service response error code
    // "FromEmailAddressNotVerified".
    //
    // Indicates that the sender address specified for a custom verification email
    // is not verified, and is therefore not eligible to send the custom verification
    // email.
    ErrCodeFromEmailAddressNotVerifiedException = "FromEmailAddressNotVerified"

    // ErrCodeInvalidCloudWatchDestinationException for service response error code
    // "InvalidCloudWatchDestination".
    //
    // Indicates that the Amazon CloudWatch destination is invalid. See the error
    // message for details.
    ErrCodeInvalidCloudWatchDestinationException = "InvalidCloudWatchDestination"

    // ErrCodeInvalidConfigurationSetException for service response error code
    // "InvalidConfigurationSet".
    //
    // Indicates that the configuration set is invalid. See the error message for
    // details.
    ErrCodeInvalidConfigurationSetException = "InvalidConfigurationSet"

    // ErrCodeInvalidDeliveryOptionsException for service response error code
    // "InvalidDeliveryOptions".
    //
    // Indicates that provided delivery option is invalid.
    ErrCodeInvalidDeliveryOptionsException = "InvalidDeliveryOptions"

    // ErrCodeInvalidFirehoseDestinationException for service response error code
    // "InvalidFirehoseDestination".
    //
    // Indicates that the Amazon Kinesis Firehose destination is invalid. See the
    // error message for details.
    ErrCodeInvalidFirehoseDestinationException = "InvalidFirehoseDestination"

    // ErrCodeInvalidLambdaFunctionException for service response error code
    // "InvalidLambdaFunction".
    //
    // Indicates that the provided AWS Lambda function is invalid, or that Amazon
    // SES could not execute the provided function, possibly due to permissions
    // issues. For information about giving permissions, see the Amazon SES Developer
    // Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
    ErrCodeInvalidLambdaFunctionException = "InvalidLambdaFunction"

    // ErrCodeInvalidPolicyException for service response error code
    // "InvalidPolicy".
    //
    // Indicates that the provided policy is invalid. Check the error stack for
    // more information about what caused the error.
    ErrCodeInvalidPolicyException = "InvalidPolicy"

    // ErrCodeInvalidRenderingParameterException for service response error code
    // "InvalidRenderingParameter".
    //
    // Indicates that one or more of the replacement values you provided is invalid.
    // This error may occur when the TemplateData object contains invalid JSON.
    ErrCodeInvalidRenderingParameterException = "InvalidRenderingParameter"

    // ErrCodeInvalidS3ConfigurationException for service response error code
    // "InvalidS3Configuration".
    //
    // Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is
    // invalid, or that Amazon SES could not publish to the bucket, possibly due
    // to permissions issues. For information about giving permissions, see the
    // Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
    ErrCodeInvalidS3ConfigurationException = "InvalidS3Configuration"

    // ErrCodeInvalidSNSDestinationException for service response error code
    // "InvalidSNSDestination".
    //
    // Indicates that the Amazon Simple Notification Service (Amazon SNS) destination
    // is invalid. See the error message for details.
    ErrCodeInvalidSNSDestinationException = "InvalidSNSDestination"

    // ErrCodeInvalidSnsTopicException for service response error code
    // "InvalidSnsTopic".
    //
    // Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
    // could not publish to the topic, possibly due to permissions issues. For information
    // about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
    ErrCodeInvalidSnsTopicException = "InvalidSnsTopic"

    // ErrCodeInvalidTemplateException for service response error code
    // "InvalidTemplate".
    //
    // Indicates that the template that you specified could not be rendered. This
    // issue may occur when a template refers to a partial that does not exist.
    ErrCodeInvalidTemplateException = "InvalidTemplate"

    // ErrCodeInvalidTrackingOptionsException for service response error code
    // "InvalidTrackingOptions".
    //
    // Indicates that the custom domain to be used for open and click tracking redirects
    // is invalid. This error appears most often in the following situations:
    //
    //    * When the tracking domain you specified is not verified in Amazon SES.
    //
    //    * When the tracking domain you specified is not a valid domain or subdomain.
    ErrCodeInvalidTrackingOptionsException = "InvalidTrackingOptions"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceeded".
    //
    // Indicates that a resource could not be created because of service limits.
    // For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
    ErrCodeLimitExceededException = "LimitExceeded"

    // ErrCodeMailFromDomainNotVerifiedException for service response error code
    // "MailFromDomainNotVerifiedException".
    //
    // Indicates that the message could not be sent because Amazon SES could not
    // read the MX record required to use the specified MAIL FROM domain. For information
    // about editing the custom MAIL FROM domain settings for an identity, see the
    // Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
    ErrCodeMailFromDomainNotVerifiedException = "MailFromDomainNotVerifiedException"

    // ErrCodeMessageRejected for service response error code
    // "MessageRejected".
    //
    // Indicates that the action failed, and the message could not be sent. Check
    // the error stack for more information about what caused the error.
    ErrCodeMessageRejected = "MessageRejected"

    // ErrCodeMissingRenderingAttributeException for service response error code
    // "MissingRenderingAttribute".
    //
    // Indicates that one or more of the replacement values for the specified template
    // was not specified. Ensure that the TemplateData object contains references
    // to all of the replacement tags in the specified template.
    ErrCodeMissingRenderingAttributeException = "MissingRenderingAttribute"

    // ErrCodeProductionAccessNotGrantedException for service response error code
    // "ProductionAccessNotGranted".
    //
    // Indicates that the account has not been granted production access.
    ErrCodeProductionAccessNotGrantedException = "ProductionAccessNotGranted"

    // ErrCodeRuleDoesNotExistException for service response error code
    // "RuleDoesNotExist".
    //
    // Indicates that the provided receipt rule does not exist.
    ErrCodeRuleDoesNotExistException = "RuleDoesNotExist"

    // ErrCodeRuleSetDoesNotExistException for service response error code
    // "RuleSetDoesNotExist".
    //
    // Indicates that the provided receipt rule set does not exist.
    ErrCodeRuleSetDoesNotExistException = "RuleSetDoesNotExist"

    // ErrCodeTemplateDoesNotExistException for service response error code
    // "TemplateDoesNotExist".
    //
    // Indicates that the Template object you specified does not exist in your Amazon
    // SES account.
    ErrCodeTemplateDoesNotExistException = "TemplateDoesNotExist"

    // ErrCodeTrackingOptionsAlreadyExistsException for service response error code
    // "TrackingOptionsAlreadyExistsException".
    //
    // Indicates that the configuration set you specified already contains a TrackingOptions
    // object.
    ErrCodeTrackingOptionsAlreadyExistsException = "TrackingOptionsAlreadyExistsException"

    // ErrCodeTrackingOptionsDoesNotExistException for service response error code
    // "TrackingOptionsDoesNotExistException".
    //
    // Indicates that the TrackingOptions object you specified does not exist.
    ErrCodeTrackingOptionsDoesNotExistException = "TrackingOptionsDoesNotExistException"
)
const (
    ServiceName = "email"     // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "SES"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // StopScopeRuleSet is a StopScope enum value
    StopScopeRuleSet = "RuleSet"
)

type AddHeaderAction Uses

type AddHeaderAction struct {

    // The name of the header to add. Must be between 1 and 50 characters, inclusive,
    // and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
    //
    // HeaderName is a required field
    HeaderName *string `type:"string" required:"true"`

    // Must be less than 2048 characters, and must not contain newline characters
    // ("\r" or "\n").
    //
    // HeaderValue is a required field
    HeaderValue *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

When included in a receipt rule, this action adds a header to the received email.

For information about adding a header using a receipt rule, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html).

func (AddHeaderAction) GoString Uses

func (s AddHeaderAction) GoString() string

GoString returns the string representation

func (*AddHeaderAction) SetHeaderName Uses

func (s *AddHeaderAction) SetHeaderName(v string) *AddHeaderAction

SetHeaderName sets the HeaderName field's value.

func (*AddHeaderAction) SetHeaderValue Uses

func (s *AddHeaderAction) SetHeaderValue(v string) *AddHeaderAction

SetHeaderValue sets the HeaderValue field's value.

func (AddHeaderAction) String Uses

func (s AddHeaderAction) String() string

String returns the string representation

func (*AddHeaderAction) Validate Uses

func (s *AddHeaderAction) Validate() error

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

type Body Uses

type Body struct {

    // The content of the message, in HTML format. Use this for email clients that
    // can process HTML. You can include clickable links, formatted text, and much
    // more in an HTML message.
    Html *Content `type:"structure"`

    // The content of the message, in text format. Use this for text-based email
    // clients, or clients on high-latency networks (such as mobile devices).
    Text *Content `type:"structure"`
    // contains filtered or unexported fields
}

Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.

func (Body) GoString Uses

func (s Body) GoString() string

GoString returns the string representation

func (*Body) SetHtml Uses

func (s *Body) SetHtml(v *Content) *Body

SetHtml sets the Html field's value.

func (*Body) SetText Uses

func (s *Body) SetText(v *Content) *Body

SetText sets the Text field's value.

func (Body) String Uses

func (s Body) String() string

String returns the string representation

func (*Body) Validate Uses

func (s *Body) Validate() error

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

type BounceAction Uses

type BounceAction struct {

    // Human-readable text to include in the bounce message.
    //
    // Message is a required field
    Message *string `type:"string" required:"true"`

    // The email address of the sender of the bounced email. This is the address
    // from which the bounce message will be sent.
    //
    // Sender is a required field
    Sender *string `type:"string" required:"true"`

    // The SMTP reply code, as defined by RFC 5321 (https://tools.ietf.org/html/rfc5321).
    //
    // SmtpReplyCode is a required field
    SmtpReplyCode *string `type:"string" required:"true"`

    // The SMTP enhanced status code, as defined by RFC 3463 (https://tools.ietf.org/html/rfc3463).
    StatusCode *string `type:"string"`

    // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
    // bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic.
    // For more information about Amazon SNS topics, see the Amazon SNS Developer
    // Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
    TopicArn *string `type:"string"`
    // contains filtered or unexported fields
}

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html).

func (BounceAction) GoString Uses

func (s BounceAction) GoString() string

GoString returns the string representation

func (*BounceAction) SetMessage Uses

func (s *BounceAction) SetMessage(v string) *BounceAction

SetMessage sets the Message field's value.

func (*BounceAction) SetSender Uses

func (s *BounceAction) SetSender(v string) *BounceAction

SetSender sets the Sender field's value.

func (*BounceAction) SetSmtpReplyCode Uses

func (s *BounceAction) SetSmtpReplyCode(v string) *BounceAction

SetSmtpReplyCode sets the SmtpReplyCode field's value.

func (*BounceAction) SetStatusCode Uses

func (s *BounceAction) SetStatusCode(v string) *BounceAction

SetStatusCode sets the StatusCode field's value.

func (*BounceAction) SetTopicArn Uses

func (s *BounceAction) SetTopicArn(v string) *BounceAction

SetTopicArn sets the TopicArn field's value.

func (BounceAction) String Uses

func (s BounceAction) String() string

String returns the string representation

func (*BounceAction) Validate Uses

func (s *BounceAction) Validate() error

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

type BouncedRecipientInfo Uses

type BouncedRecipientInfo struct {

    // The reason for the bounce. You must provide either this parameter or RecipientDsnFields.
    BounceType *string `type:"string" enum:"BounceType"`

    // The email address of the recipient of the bounced email.
    //
    // Recipient is a required field
    Recipient *string `type:"string" required:"true"`

    // This parameter is used only for sending authorization. It is the ARN of the
    // identity that is associated with the sending authorization policy that permits
    // you to receive email for the recipient of the bounced email. For more information
    // about sending authorization, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
    RecipientArn *string `type:"string"`

    // Recipient-related DSN fields, most of which would normally be filled in automatically
    // when provided with a BounceType. You must provide either this parameter or
    // BounceType.
    RecipientDsnFields *RecipientDsnFields `type:"structure"`
    // contains filtered or unexported fields
}

Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

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

func (BouncedRecipientInfo) GoString Uses

func (s BouncedRecipientInfo) GoString() string

GoString returns the string representation

func (*BouncedRecipientInfo) SetBounceType Uses

func (s *BouncedRecipientInfo) SetBounceType(v string) *BouncedRecipientInfo

SetBounceType sets the BounceType field's value.

func (*BouncedRecipientInfo) SetRecipient Uses

func (s *BouncedRecipientInfo) SetRecipient(v string) *BouncedRecipientInfo

SetRecipient sets the Recipient field's value.

func (*BouncedRecipientInfo) SetRecipientArn Uses

func (s *BouncedRecipientInfo) SetRecipientArn(v string) *BouncedRecipientInfo

SetRecipientArn sets the RecipientArn field's value.

func (*BouncedRecipientInfo) SetRecipientDsnFields Uses

func (s *BouncedRecipientInfo) SetRecipientDsnFields(v *RecipientDsnFields) *BouncedRecipientInfo

SetRecipientDsnFields sets the RecipientDsnFields field's value.

func (BouncedRecipientInfo) String Uses

func (s BouncedRecipientInfo) String() string

String returns the string representation

func (*BouncedRecipientInfo) Validate Uses

func (s *BouncedRecipientInfo) Validate() error

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

type BulkEmailDestination Uses

type BulkEmailDestination struct {

    // Represents the destination of the message, consisting of To:, CC:, and BCC:
    // fields.
    //
    // Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531
    // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of
    // a destination email address (the part of the email address that precedes
    // the @ sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part).
    // If the domain part of an address (the part after the @ sign) contains non-ASCII
    // characters, they must be encoded using Punycode, as described in RFC3492
    // (https://tools.ietf.org/html/rfc3492.html).
    //
    // Destination is a required field
    Destination *Destination `type:"structure" required:"true"`

    // A list of tags, in the form of name/value pairs, to apply to an email that
    // you send using SendBulkTemplatedEmail. Tags correspond to characteristics
    // of the email that you define, so that you can publish email sending events.
    ReplacementTags []*MessageTag `type:"list"`

    // A list of replacement values to apply to the template. This parameter is
    // a JSON object, typically consisting of key-value pairs in which the keys
    // correspond to replacement tags in the email template.
    ReplacementTemplateData *string `type:"string"`
    // contains filtered or unexported fields
}

An array that contains one or more Destinations, as well as the tags and replacement data associated with each of those Destinations.

func (BulkEmailDestination) GoString Uses

func (s BulkEmailDestination) GoString() string

GoString returns the string representation

func (*BulkEmailDestination) SetDestination Uses

func (s *BulkEmailDestination) SetDestination(v *Destination) *BulkEmailDestination

SetDestination sets the Destination field's value.

func (*BulkEmailDestination) SetReplacementTags Uses

func (s *BulkEmailDestination) SetReplacementTags(v []*MessageTag) *BulkEmailDestination

SetReplacementTags sets the ReplacementTags field's value.

func (*BulkEmailDestination) SetReplacementTemplateData Uses

func (s *BulkEmailDestination) SetReplacementTemplateData(v string) *BulkEmailDestination

SetReplacementTemplateData sets the ReplacementTemplateData field's value.

func (BulkEmailDestination) String Uses

func (s BulkEmailDestination) String() string

String returns the string representation

func (*BulkEmailDestination) Validate Uses

func (s *BulkEmailDestination) Validate() error

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

type BulkEmailDestinationStatus Uses

type BulkEmailDestinationStatus struct {

    // A description of an error that prevented a message being sent using the SendBulkTemplatedEmail
    // operation.
    Error *string `type:"string"`

    // The unique message identifier returned from the SendBulkTemplatedEmail operation.
    MessageId *string `type:"string"`

    // The status of a message sent using the SendBulkTemplatedEmail operation.
    //
    // Possible values for this parameter include:
    //
    //    * Success: Amazon SES accepted the message, and will attempt to deliver
    //    it to the recipients.
    //
    //    * MessageRejected: The message was rejected because it contained a virus.
    //
    //    * MailFromDomainNotVerified: The sender's email address or domain was
    //    not verified.
    //
    //    * ConfigurationSetDoesNotExist: The configuration set you specified does
    //    not exist.
    //
    //    * TemplateDoesNotExist: The template you specified does not exist.
    //
    //    * AccountSuspended: Your account has been shut down because of issues
    //    related to your email sending practices.
    //
    //    * AccountThrottled: The number of emails you can send has been reduced
    //    because your account has exceeded its allocated sending limit.
    //
    //    * AccountDailyQuotaExceeded: You have reached or exceeded the maximum
    //    number of emails you can send from your account in a 24-hour period.
    //
    //    * InvalidSendingPoolName: The configuration set you specified refers to
    //    an IP pool that does not exist.
    //
    //    * AccountSendingPaused: Email sending for the Amazon SES account was disabled
    //    using the UpdateAccountSendingEnabled operation.
    //
    //    * ConfigurationSetSendingPaused: Email sending for this configuration
    //    set was disabled using the UpdateConfigurationSetSendingEnabled operation.
    //
    //    * InvalidParameterValue: One or more of the parameters you specified when
    //    calling this operation was invalid. See the error message for additional
    //    information.
    //
    //    * TransientFailure: Amazon SES was unable to process your request because
    //    of a temporary issue.
    //
    //    * Failed: Amazon SES was unable to process your request. See the error
    //    message for additional information.
    Status *string `type:"string" enum:"BulkEmailStatus"`
    // contains filtered or unexported fields
}

An object that contains the response from the SendBulkTemplatedEmail operation.

func (BulkEmailDestinationStatus) GoString Uses

func (s BulkEmailDestinationStatus) GoString() string

GoString returns the string representation

func (*BulkEmailDestinationStatus) SetError Uses

func (s *BulkEmailDestinationStatus) SetError(v string) *BulkEmailDestinationStatus

SetError sets the Error field's value.

func (*BulkEmailDestinationStatus) SetMessageId Uses

func (s *BulkEmailDestinationStatus) SetMessageId(v string) *BulkEmailDestinationStatus

SetMessageId sets the MessageId field's value.

func (*BulkEmailDestinationStatus) SetStatus Uses

func (s *BulkEmailDestinationStatus) SetStatus(v string) *BulkEmailDestinationStatus

SetStatus sets the Status field's value.

func (BulkEmailDestinationStatus) String Uses

func (s BulkEmailDestinationStatus) String() string

String returns the string representation

type CloneReceiptRuleSetInput Uses

type CloneReceiptRuleSetInput struct {

    // The name of the rule set to clone.
    //
    // OriginalRuleSetName is a required field
    OriginalRuleSetName *string `type:"string" required:"true"`

    // The name of the rule set to create. 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.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets 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).

func (CloneReceiptRuleSetInput) GoString Uses

func (s CloneReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (*CloneReceiptRuleSetInput) SetOriginalRuleSetName Uses

func (s *CloneReceiptRuleSetInput) SetOriginalRuleSetName(v string) *CloneReceiptRuleSetInput

SetOriginalRuleSetName sets the OriginalRuleSetName field's value.

func (*CloneReceiptRuleSetInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (CloneReceiptRuleSetInput) String Uses

func (s CloneReceiptRuleSetInput) String() string

String returns the string representation

func (*CloneReceiptRuleSetInput) Validate Uses

func (s *CloneReceiptRuleSetInput) Validate() error

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

type CloneReceiptRuleSetOutput Uses

type CloneReceiptRuleSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CloneReceiptRuleSetOutput) GoString Uses

func (s CloneReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (CloneReceiptRuleSetOutput) String Uses

func (s CloneReceiptRuleSetOutput) String() string

String returns the string representation

type CloudWatchDestination Uses

type CloudWatchDestination struct {

    // A list of dimensions upon which to categorize your emails when you publish
    // email sending events to Amazon CloudWatch.
    //
    // DimensionConfigurations is a required field
    DimensionConfigurations []*CloudWatchDimensionConfiguration `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Contains information associated with an Amazon CloudWatch event destination to which email sending events are published.

Event destinations, such as Amazon CloudWatch, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (CloudWatchDestination) GoString Uses

func (s CloudWatchDestination) GoString() string

GoString returns the string representation

func (*CloudWatchDestination) SetDimensionConfigurations Uses

func (s *CloudWatchDestination) SetDimensionConfigurations(v []*CloudWatchDimensionConfiguration) *CloudWatchDestination

SetDimensionConfigurations sets the DimensionConfigurations field's value.

func (CloudWatchDestination) String Uses

func (s CloudWatchDestination) String() string

String returns the string representation

func (*CloudWatchDestination) Validate Uses

func (s *CloudWatchDestination) Validate() error

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

type CloudWatchDimensionConfiguration Uses

type CloudWatchDimensionConfiguration struct {

    // The default value of the dimension that is published to Amazon CloudWatch
    // if you do not provide the value of the dimension when you send an email.
    // The default value must:
    //
    //    * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9),
    //    underscores (_), or dashes (-).
    //
    //    * Contain less than 256 characters.
    //
    // DefaultDimensionValue is a required field
    DefaultDimensionValue *string `type:"string" required:"true"`

    // The name of an Amazon CloudWatch dimension associated with an email sending
    // metric. The name must:
    //
    //    * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9),
    //    underscores (_), or dashes (-).
    //
    //    * Contain less than 256 characters.
    //
    // DimensionName is a required field
    DimensionName *string `type:"string" required:"true"`

    // The place where Amazon SES finds the value of a dimension to publish to Amazon
    // CloudWatch. If you want Amazon SES to use the message tags that you specify
    // using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail
    // API, choose messageTag. If you want Amazon SES to use your own email headers,
    // choose emailHeader.
    //
    // DimensionValueSource is a required field
    DimensionValueSource *string `type:"string" required:"true" enum:"DimensionValueSource"`
    // contains filtered or unexported fields
}

Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.

For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (CloudWatchDimensionConfiguration) GoString Uses

func (s CloudWatchDimensionConfiguration) GoString() string

GoString returns the string representation

func (*CloudWatchDimensionConfiguration) SetDefaultDimensionValue Uses

func (s *CloudWatchDimensionConfiguration) SetDefaultDimensionValue(v string) *CloudWatchDimensionConfiguration

SetDefaultDimensionValue sets the DefaultDimensionValue field's value.

func (*CloudWatchDimensionConfiguration) SetDimensionName Uses

func (s *CloudWatchDimensionConfiguration) SetDimensionName(v string) *CloudWatchDimensionConfiguration

SetDimensionName sets the DimensionName field's value.

func (*CloudWatchDimensionConfiguration) SetDimensionValueSource Uses

func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v string) *CloudWatchDimensionConfiguration

SetDimensionValueSource sets the DimensionValueSource field's value.

func (CloudWatchDimensionConfiguration) String Uses

func (s CloudWatchDimensionConfiguration) String() string

String returns the string representation

func (*CloudWatchDimensionConfiguration) Validate Uses

func (s *CloudWatchDimensionConfiguration) Validate() error

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

type ConfigurationSet Uses

type ConfigurationSet struct {

    // The name of the configuration set. The name must meet the following requirements:
    //
    //    * Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or
    //    dashes (-).
    //
    //    * Contain 64 characters or fewer.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

The name of the configuration set.

Configuration sets let you create groups of rules that you can apply to the emails you send using Amazon SES. For more information about using configuration sets, see Using Amazon SES Configuration Sets (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html) in the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/).

func (ConfigurationSet) GoString Uses

func (s ConfigurationSet) GoString() string

GoString returns the string representation

func (*ConfigurationSet) SetName Uses

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

SetName sets the Name field's value.

func (ConfigurationSet) String Uses

func (s ConfigurationSet) String() string

String returns the string representation

func (*ConfigurationSet) Validate Uses

func (s *ConfigurationSet) Validate() error

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

type Content Uses

type Content struct {

    // The character set of the content.
    Charset *string `type:"string"`

    // The textual data of the content.
    //
    // Data is a required field
    Data *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents textual data, plus an optional character set specification.

By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.

func (Content) GoString Uses

func (s Content) GoString() string

GoString returns the string representation

func (*Content) SetCharset Uses

func (s *Content) SetCharset(v string) *Content

SetCharset sets the Charset field's value.

func (*Content) SetData Uses

func (s *Content) SetData(v string) *Content

SetData sets the Data field's value.

func (Content) String Uses

func (s Content) String() string

String returns the string representation

func (*Content) Validate Uses

func (s *Content) Validate() error

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

type CreateConfigurationSetEventDestinationInput Uses

type CreateConfigurationSetEventDestinationInput struct {

    // The name of the configuration set that the event destination should be associated
    // with.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`

    // An object that describes the AWS service that email sending event information
    // will be published to.
    //
    // EventDestination is a required field
    EventDestination *EventDestination `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create a configuration set event destination. A configuration set event destination, which can be either Amazon CloudWatch or Amazon Kinesis Firehose, describes an AWS service in which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (CreateConfigurationSetEventDestinationInput) GoString Uses

func (s CreateConfigurationSetEventDestinationInput) GoString() string

GoString returns the string representation

func (*CreateConfigurationSetEventDestinationInput) SetConfigurationSetName Uses

func (s *CreateConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *CreateConfigurationSetEventDestinationInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetEventDestinationInput) SetEventDestination Uses

func (s *CreateConfigurationSetEventDestinationInput) SetEventDestination(v *EventDestination) *CreateConfigurationSetEventDestinationInput

SetEventDestination sets the EventDestination field's value.

func (CreateConfigurationSetEventDestinationInput) String Uses

func (s CreateConfigurationSetEventDestinationInput) String() string

String returns the string representation

func (*CreateConfigurationSetEventDestinationInput) Validate Uses

func (s *CreateConfigurationSetEventDestinationInput) Validate() error

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

type CreateConfigurationSetEventDestinationOutput Uses

type CreateConfigurationSetEventDestinationOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateConfigurationSetEventDestinationOutput) GoString Uses

func (s CreateConfigurationSetEventDestinationOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetEventDestinationOutput) String Uses

func (s CreateConfigurationSetEventDestinationOutput) String() string

String returns the string representation

type CreateConfigurationSetInput Uses

type CreateConfigurationSetInput struct {

    // A data structure that contains the name of the configuration set.
    //
    // ConfigurationSet is a required field
    ConfigurationSet *ConfigurationSet `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (CreateConfigurationSetInput) GoString Uses

func (s CreateConfigurationSetInput) GoString() string

GoString returns the string representation

func (*CreateConfigurationSetInput) SetConfigurationSet Uses

func (s *CreateConfigurationSetInput) SetConfigurationSet(v *ConfigurationSet) *CreateConfigurationSetInput

SetConfigurationSet sets the ConfigurationSet field's value.

func (CreateConfigurationSetInput) String Uses

func (s CreateConfigurationSetInput) String() string

String returns the string representation

func (*CreateConfigurationSetInput) Validate Uses

func (s *CreateConfigurationSetInput) Validate() error

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

type CreateConfigurationSetOutput Uses

type CreateConfigurationSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateConfigurationSetOutput) GoString Uses

func (s CreateConfigurationSetOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetOutput) String Uses

func (s CreateConfigurationSetOutput) String() string

String returns the string representation

type CreateConfigurationSetTrackingOptionsInput Uses

type CreateConfigurationSetTrackingOptionsInput struct {

    // The name of the configuration set that the tracking options should be associated
    // with.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`

    // A domain that is used to redirect email recipients to an Amazon SES-operated
    // domain. This domain captures open and click events generated by Amazon SES
    // emails.
    //
    // For more information, see Configuring Custom Domains to Handle Open and Click
    // Tracking (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html)
    // in the Amazon SES Developer Guide.
    //
    // TrackingOptions is a required field
    TrackingOptions *TrackingOptions `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create an open and click tracking option object in a configuration set.

func (CreateConfigurationSetTrackingOptionsInput) GoString Uses

func (s CreateConfigurationSetTrackingOptionsInput) GoString() string

GoString returns the string representation

func (*CreateConfigurationSetTrackingOptionsInput) SetConfigurationSetName Uses

func (s *CreateConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v string) *CreateConfigurationSetTrackingOptionsInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetTrackingOptionsInput) SetTrackingOptions Uses

func (s *CreateConfigurationSetTrackingOptionsInput) SetTrackingOptions(v *TrackingOptions) *CreateConfigurationSetTrackingOptionsInput

SetTrackingOptions sets the TrackingOptions field's value.

func (CreateConfigurationSetTrackingOptionsInput) String Uses

func (s CreateConfigurationSetTrackingOptionsInput) String() string

String returns the string representation

func (*CreateConfigurationSetTrackingOptionsInput) Validate Uses

func (s *CreateConfigurationSetTrackingOptionsInput) Validate() error

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

type CreateConfigurationSetTrackingOptionsOutput Uses

type CreateConfigurationSetTrackingOptionsOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateConfigurationSetTrackingOptionsOutput) GoString Uses

func (s CreateConfigurationSetTrackingOptionsOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetTrackingOptionsOutput) String Uses

func (s CreateConfigurationSetTrackingOptionsOutput) String() string

String returns the string representation

type CreateCustomVerificationEmailTemplateInput Uses

type CreateCustomVerificationEmailTemplateInput struct {

    // The URL that the recipient of the verification email is sent to if his or
    // her address is not successfully verified.
    //
    // FailureRedirectionURL is a required field
    FailureRedirectionURL *string `type:"string" required:"true"`

    // The email address that the custom verification email is sent from.
    //
    // FromEmailAddress is a required field
    FromEmailAddress *string `type:"string" required:"true"`

    // The URL that the recipient of the verification email is sent to if his or
    // her address is successfully verified.
    //
    // SuccessRedirectionURL is a required field
    SuccessRedirectionURL *string `type:"string" required:"true"`

    // The content of the custom verification email. The total size of the email
    // must be less than 10 MB. The message body may contain HTML, with some limitations.
    // For more information, see Custom Verification Email Frequently Asked Questions
    // (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq)
    // in the Amazon SES Developer Guide.
    //
    // TemplateContent is a required field
    TemplateContent *string `type:"string" required:"true"`

    // The name of the custom verification email template.
    //
    // TemplateName is a required field
    TemplateName *string `type:"string" required:"true"`

    // The subject line of the custom verification email.
    //
    // TemplateSubject is a required field
    TemplateSubject *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create a custom verification email template.

func (CreateCustomVerificationEmailTemplateInput) GoString Uses

func (s CreateCustomVerificationEmailTemplateInput) GoString() string

GoString returns the string representation

func (*CreateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetFromEmailAddress Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetFromEmailAddress(v string) *CreateCustomVerificationEmailTemplateInput

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateContent Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateContent(v string) *CreateCustomVerificationEmailTemplateInput

SetTemplateContent sets the TemplateContent field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateName Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateName(v string) *CreateCustomVerificationEmailTemplateInput

SetTemplateName sets the TemplateName field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateSubject Uses

func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateSubject(v string) *CreateCustomVerificationEmailTemplateInput

SetTemplateSubject sets the TemplateSubject field's value.

func (CreateCustomVerificationEmailTemplateInput) String Uses

func (s CreateCustomVerificationEmailTemplateInput) String() string

String returns the string representation

func (*CreateCustomVerificationEmailTemplateInput) Validate Uses

func (s *CreateCustomVerificationEmailTemplateInput) Validate() error

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

type CreateCustomVerificationEmailTemplateOutput Uses

type CreateCustomVerificationEmailTemplateOutput struct {
    // contains filtered or unexported fields
}

func (CreateCustomVerificationEmailTemplateOutput) GoString Uses

func (s CreateCustomVerificationEmailTemplateOutput) GoString() string

GoString returns the string representation

func (CreateCustomVerificationEmailTemplateOutput) String Uses

func (s CreateCustomVerificationEmailTemplateOutput) String() string

String returns the string representation

type CreateReceiptFilterInput Uses

type CreateReceiptFilterInput struct {

    // A data structure that describes the IP address filter to create, which consists
    // of a name, an IP address range, and whether to allow or block mail from it.
    //
    // Filter is a required field
    Filter *ReceiptFilter `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create a new IP address filter. You use IP address filters when you 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).

func (CreateReceiptFilterInput) GoString Uses

func (s CreateReceiptFilterInput) GoString() string

GoString returns the string representation

func (*CreateReceiptFilterInput) SetFilter Uses

func (s *CreateReceiptFilterInput) SetFilter(v *ReceiptFilter) *CreateReceiptFilterInput

SetFilter sets the Filter field's value.

func (CreateReceiptFilterInput) String Uses

func (s CreateReceiptFilterInput) String() string

String returns the string representation

func (*CreateReceiptFilterInput) Validate Uses

func (s *CreateReceiptFilterInput) Validate() error

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

type CreateReceiptFilterOutput Uses

type CreateReceiptFilterOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateReceiptFilterOutput) GoString Uses

func (s CreateReceiptFilterOutput) GoString() string

GoString returns the string representation

func (CreateReceiptFilterOutput) String Uses

func (s CreateReceiptFilterOutput) String() string

String returns the string representation

type CreateReceiptRuleInput Uses

type CreateReceiptRuleInput struct {

    // The name of an existing rule after which the new rule will be placed. If
    // this parameter is null, the new rule will be inserted at the beginning of
    // the rule list.
    After *string `type:"string"`

    // A data structure that contains the specified rule's name, actions, recipients,
    // domains, enabled status, scan status, and TLS policy.
    //
    // Rule is a required field
    Rule *ReceiptRule `type:"structure" required:"true"`

    // The name of the rule set that the receipt rule will be added to.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create 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).

func (CreateReceiptRuleInput) GoString Uses

func (s CreateReceiptRuleInput) GoString() string

GoString returns the string representation

func (*CreateReceiptRuleInput) SetAfter Uses

func (s *CreateReceiptRuleInput) SetAfter(v string) *CreateReceiptRuleInput

SetAfter sets the After field's value.

func (*CreateReceiptRuleInput) SetRule Uses

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

SetRule sets the Rule field's value.

func (*CreateReceiptRuleInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (CreateReceiptRuleInput) String Uses

func (s CreateReceiptRuleInput) String() string

String returns the string representation

func (*CreateReceiptRuleInput) Validate Uses

func (s *CreateReceiptRuleInput) Validate() error

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

type CreateReceiptRuleOutput Uses

type CreateReceiptRuleOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateReceiptRuleOutput) GoString Uses

func (s CreateReceiptRuleOutput) GoString() string

GoString returns the string representation

func (CreateReceiptRuleOutput) String Uses

func (s CreateReceiptRuleOutput) String() string

String returns the string representation

type CreateReceiptRuleSetInput Uses

type CreateReceiptRuleSetInput struct {

    // The name of the rule set to create. 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.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create an empty receipt rule set. You use receipt rule sets 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).

func (CreateReceiptRuleSetInput) GoString Uses

func (s CreateReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (*CreateReceiptRuleSetInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (CreateReceiptRuleSetInput) String Uses

func (s CreateReceiptRuleSetInput) String() string

String returns the string representation

func (*CreateReceiptRuleSetInput) Validate Uses

func (s *CreateReceiptRuleSetInput) Validate() error

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

type CreateReceiptRuleSetOutput Uses

type CreateReceiptRuleSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (CreateReceiptRuleSetOutput) GoString Uses

func (s CreateReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (CreateReceiptRuleSetOutput) String Uses

func (s CreateReceiptRuleSetOutput) String() string

String returns the string representation

type CreateTemplateInput Uses

type CreateTemplateInput struct {

    // The content of the email, composed of a subject line, an HTML part, and a
    // text-only part.
    //
    // Template is a required field
    Template *Template `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to create an email template. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).

func (CreateTemplateInput) GoString Uses

func (s CreateTemplateInput) GoString() string

GoString returns the string representation

func (*CreateTemplateInput) SetTemplate Uses

func (s *CreateTemplateInput) SetTemplate(v *Template) *CreateTemplateInput

SetTemplate sets the Template field's value.

func (CreateTemplateInput) String Uses

func (s CreateTemplateInput) String() string

String returns the string representation

func (*CreateTemplateInput) Validate Uses

func (s *CreateTemplateInput) Validate() error

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

type CreateTemplateOutput Uses

type CreateTemplateOutput struct {
    // contains filtered or unexported fields
}

func (CreateTemplateOutput) GoString Uses

func (s CreateTemplateOutput) GoString() string

GoString returns the string representation

func (CreateTemplateOutput) String Uses

func (s CreateTemplateOutput) String() string

String returns the string representation

type CustomVerificationEmailTemplate Uses

type CustomVerificationEmailTemplate struct {

    // The URL that the recipient of the verification email is sent to if his or
    // her address is not successfully verified.
    FailureRedirectionURL *string `type:"string"`

    // The email address that the custom verification email is sent from.
    FromEmailAddress *string `type:"string"`

    // The URL that the recipient of the verification email is sent to if his or
    // her address is successfully verified.
    SuccessRedirectionURL *string `type:"string"`

    // The name of the custom verification email template.
    TemplateName *string `type:"string"`

    // The subject line of the custom verification email.
    TemplateSubject *string `type:"string"`
    // contains filtered or unexported fields
}

Contains information about a custom verification email template.

func (CustomVerificationEmailTemplate) GoString Uses

func (s CustomVerificationEmailTemplate) GoString() string

GoString returns the string representation

func (*CustomVerificationEmailTemplate) SetFailureRedirectionURL Uses

func (s *CustomVerificationEmailTemplate) SetFailureRedirectionURL(v string) *CustomVerificationEmailTemplate

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*CustomVerificationEmailTemplate) SetFromEmailAddress Uses

func (s *CustomVerificationEmailTemplate) SetFromEmailAddress(v string) *CustomVerificationEmailTemplate

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*CustomVerificationEmailTemplate) SetSuccessRedirectionURL Uses

func (s *CustomVerificationEmailTemplate) SetSuccessRedirectionURL(v string) *CustomVerificationEmailTemplate

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*CustomVerificationEmailTemplate) SetTemplateName Uses

func (s *CustomVerificationEmailTemplate) SetTemplateName(v string) *CustomVerificationEmailTemplate

SetTemplateName sets the TemplateName field's value.

func (*CustomVerificationEmailTemplate) SetTemplateSubject Uses

func (s *CustomVerificationEmailTemplate) SetTemplateSubject(v string) *CustomVerificationEmailTemplate

SetTemplateSubject sets the TemplateSubject field's value.

func (CustomVerificationEmailTemplate) String Uses

func (s CustomVerificationEmailTemplate) String() string

String returns the string representation

type DeleteConfigurationSetEventDestinationInput Uses

type DeleteConfigurationSetEventDestinationInput struct {

    // The name of the configuration set from which to delete the event destination.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`

    // The name of the event destination to delete.
    //
    // EventDestinationName is a required field
    EventDestinationName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (DeleteConfigurationSetEventDestinationInput) GoString Uses

func (s DeleteConfigurationSetEventDestinationInput) GoString() string

GoString returns the string representation

func (*DeleteConfigurationSetEventDestinationInput) SetConfigurationSetName Uses

func (s *DeleteConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *DeleteConfigurationSetEventDestinationInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteConfigurationSetEventDestinationInput) SetEventDestinationName Uses

func (s *DeleteConfigurationSetEventDestinationInput) SetEventDestinationName(v string) *DeleteConfigurationSetEventDestinationInput

SetEventDestinationName sets the EventDestinationName field's value.

func (DeleteConfigurationSetEventDestinationInput) String Uses

func (s DeleteConfigurationSetEventDestinationInput) String() string

String returns the string representation

func (*DeleteConfigurationSetEventDestinationInput) Validate Uses

func (s *DeleteConfigurationSetEventDestinationInput) Validate() error

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

type DeleteConfigurationSetEventDestinationOutput Uses

type DeleteConfigurationSetEventDestinationOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteConfigurationSetEventDestinationOutput) GoString Uses

func (s DeleteConfigurationSetEventDestinationOutput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetEventDestinationOutput) String Uses

func (s DeleteConfigurationSetEventDestinationOutput) String() string

String returns the string representation

type DeleteConfigurationSetInput Uses

type DeleteConfigurationSetInput struct {

    // The name of the configuration set to delete.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (DeleteConfigurationSetInput) GoString Uses

func (s DeleteConfigurationSetInput) GoString() string

GoString returns the string representation

func (*DeleteConfigurationSetInput) SetConfigurationSetName Uses

func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteConfigurationSetInput) String Uses

func (s DeleteConfigurationSetInput) String() string

String returns the string representation

func (*DeleteConfigurationSetInput) Validate Uses

func (s *DeleteConfigurationSetInput) Validate() error

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

type DeleteConfigurationSetOutput Uses

type DeleteConfigurationSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteConfigurationSetOutput) GoString Uses

func (s DeleteConfigurationSetOutput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetOutput) String Uses

func (s DeleteConfigurationSetOutput) String() string

String returns the string representation

type DeleteConfigurationSetTrackingOptionsInput Uses

type DeleteConfigurationSetTrackingOptionsInput struct {

    // The name of the configuration set from which you want to delete the tracking
    // options.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete open and click tracking options in a configuration set.

func (DeleteConfigurationSetTrackingOptionsInput) GoString Uses

func (s DeleteConfigurationSetTrackingOptionsInput) GoString() string

GoString returns the string representation

func (*DeleteConfigurationSetTrackingOptionsInput) SetConfigurationSetName Uses

func (s *DeleteConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v string) *DeleteConfigurationSetTrackingOptionsInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteConfigurationSetTrackingOptionsInput) String Uses

func (s DeleteConfigurationSetTrackingOptionsInput) String() string

String returns the string representation

func (*DeleteConfigurationSetTrackingOptionsInput) Validate Uses

func (s *DeleteConfigurationSetTrackingOptionsInput) Validate() error

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

type DeleteConfigurationSetTrackingOptionsOutput Uses

type DeleteConfigurationSetTrackingOptionsOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteConfigurationSetTrackingOptionsOutput) GoString Uses

func (s DeleteConfigurationSetTrackingOptionsOutput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetTrackingOptionsOutput) String Uses

func (s DeleteConfigurationSetTrackingOptionsOutput) String() string

String returns the string representation

type DeleteCustomVerificationEmailTemplateInput Uses

type DeleteCustomVerificationEmailTemplateInput struct {

    // The name of the custom verification email template that you want to delete.
    //
    // TemplateName is a required field
    TemplateName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete an existing custom verification email template.

func (DeleteCustomVerificationEmailTemplateInput) GoString Uses

func (s DeleteCustomVerificationEmailTemplateInput) GoString() string

GoString returns the string representation

func (*DeleteCustomVerificationEmailTemplateInput) SetTemplateName Uses

func (s *DeleteCustomVerificationEmailTemplateInput) SetTemplateName(v string) *DeleteCustomVerificationEmailTemplateInput

SetTemplateName sets the TemplateName field's value.

func (DeleteCustomVerificationEmailTemplateInput) String Uses

func (s DeleteCustomVerificationEmailTemplateInput) String() string

String returns the string representation

func (*DeleteCustomVerificationEmailTemplateInput) Validate Uses

func (s *DeleteCustomVerificationEmailTemplateInput) Validate() error

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

type DeleteCustomVerificationEmailTemplateOutput Uses

type DeleteCustomVerificationEmailTemplateOutput struct {
    // contains filtered or unexported fields
}

func (DeleteCustomVerificationEmailTemplateOutput) GoString Uses

func (s DeleteCustomVerificationEmailTemplateOutput) GoString() string

GoString returns the string representation

func (DeleteCustomVerificationEmailTemplateOutput) String Uses

func (s DeleteCustomVerificationEmailTemplateOutput) String() string

String returns the string representation

type DeleteIdentityInput Uses

type DeleteIdentityInput struct {

    // The identity to be removed from the list of identities for the AWS Account.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete one of your Amazon SES identities (an email address or domain).

func (DeleteIdentityInput) GoString Uses

func (s DeleteIdentityInput) GoString() string

GoString returns the string representation

func (*DeleteIdentityInput) SetIdentity Uses

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

SetIdentity sets the Identity field's value.

func (DeleteIdentityInput) String Uses

func (s DeleteIdentityInput) String() string

String returns the string representation

func (*DeleteIdentityInput) Validate Uses

func (s *DeleteIdentityInput) Validate() error

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

type DeleteIdentityOutput Uses

type DeleteIdentityOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteIdentityOutput) GoString Uses

func (s DeleteIdentityOutput) GoString() string

GoString returns the string representation

func (DeleteIdentityOutput) String Uses

func (s DeleteIdentityOutput) String() string

String returns the string representation

type DeleteIdentityPolicyInput Uses

type DeleteIdentityPolicyInput struct {

    // The identity that is associated with the policy that you want to delete.
    // You can specify the identity by using its name or by using its Amazon Resource
    // Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
    //
    // To successfully call this API, you must own the identity.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`

    // The name of the policy to be deleted.
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

func (DeleteIdentityPolicyInput) GoString Uses

func (s DeleteIdentityPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteIdentityPolicyInput) SetIdentity Uses

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

SetIdentity sets the Identity field's value.

func (*DeleteIdentityPolicyInput) SetPolicyName Uses

func (s *DeleteIdentityPolicyInput) SetPolicyName(v string) *DeleteIdentityPolicyInput

SetPolicyName sets the PolicyName field's value.

func (DeleteIdentityPolicyInput) String Uses

func (s DeleteIdentityPolicyInput) String() string

String returns the string representation

func (*DeleteIdentityPolicyInput) Validate Uses

func (s *DeleteIdentityPolicyInput) Validate() error

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

type DeleteIdentityPolicyOutput Uses

type DeleteIdentityPolicyOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteIdentityPolicyOutput) GoString Uses

func (s DeleteIdentityPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteIdentityPolicyOutput) String Uses

func (s DeleteIdentityPolicyOutput) String() string

String returns the string representation

type DeleteReceiptFilterInput Uses

type DeleteReceiptFilterInput struct {

    // The name of the IP address filter to delete.
    //
    // FilterName is a required field
    FilterName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete an IP address filter. You use IP address filters when you 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).

func (DeleteReceiptFilterInput) GoString Uses

func (s DeleteReceiptFilterInput) GoString() string

GoString returns the string representation

func (*DeleteReceiptFilterInput) SetFilterName Uses

func (s *DeleteReceiptFilterInput) SetFilterName(v string) *DeleteReceiptFilterInput

SetFilterName sets the FilterName field's value.

func (DeleteReceiptFilterInput) String Uses

func (s DeleteReceiptFilterInput) String() string

String returns the string representation

func (*DeleteReceiptFilterInput) Validate Uses

func (s *DeleteReceiptFilterInput) Validate() error

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

type DeleteReceiptFilterOutput Uses

type DeleteReceiptFilterOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteReceiptFilterOutput) GoString Uses

func (s DeleteReceiptFilterOutput) GoString() string

GoString returns the string representation

func (DeleteReceiptFilterOutput) String Uses

func (s DeleteReceiptFilterOutput) String() string

String returns the string representation

type DeleteReceiptRuleInput Uses

type DeleteReceiptRuleInput struct {

    // The name of the receipt rule to delete.
    //
    // RuleName is a required field
    RuleName *string `type:"string" required:"true"`

    // The name of the receipt rule set that contains the receipt rule to delete.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete 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).

func (DeleteReceiptRuleInput) GoString Uses

func (s DeleteReceiptRuleInput) GoString() string

GoString returns the string representation

func (*DeleteReceiptRuleInput) SetRuleName Uses

func (s *DeleteReceiptRuleInput) SetRuleName(v string) *DeleteReceiptRuleInput

SetRuleName sets the RuleName field's value.

func (*DeleteReceiptRuleInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (DeleteReceiptRuleInput) String Uses

func (s DeleteReceiptRuleInput) String() string

String returns the string representation

func (*DeleteReceiptRuleInput) Validate Uses

func (s *DeleteReceiptRuleInput) Validate() error

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

type DeleteReceiptRuleOutput Uses

type DeleteReceiptRuleOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteReceiptRuleOutput) GoString Uses

func (s DeleteReceiptRuleOutput) GoString() string

GoString returns the string representation

func (DeleteReceiptRuleOutput) String Uses

func (s DeleteReceiptRuleOutput) String() string

String returns the string representation

type DeleteReceiptRuleSetInput Uses

type DeleteReceiptRuleSetInput struct {

    // The name of the receipt rule set to delete.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete a receipt rule set and all of the receipt rules it contains. You use receipt rule sets 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).

func (DeleteReceiptRuleSetInput) GoString Uses

func (s DeleteReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (*DeleteReceiptRuleSetInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (DeleteReceiptRuleSetInput) String Uses

func (s DeleteReceiptRuleSetInput) String() string

String returns the string representation

func (*DeleteReceiptRuleSetInput) Validate Uses

func (s *DeleteReceiptRuleSetInput) Validate() error

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

type DeleteReceiptRuleSetOutput Uses

type DeleteReceiptRuleSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (DeleteReceiptRuleSetOutput) GoString Uses

func (s DeleteReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (DeleteReceiptRuleSetOutput) String Uses

func (s DeleteReceiptRuleSetOutput) String() string

String returns the string representation

type DeleteTemplateInput Uses

type DeleteTemplateInput struct {

    // The name of the template to be deleted.
    //
    // TemplateName is a required field
    TemplateName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).

func (DeleteTemplateInput) GoString Uses

func (s DeleteTemplateInput) GoString() string

GoString returns the string representation

func (*DeleteTemplateInput) SetTemplateName Uses

func (s *DeleteTemplateInput) SetTemplateName(v string) *DeleteTemplateInput

SetTemplateName sets the TemplateName field's value.

func (DeleteTemplateInput) String Uses

func (s DeleteTemplateInput) String() string

String returns the string representation

func (*DeleteTemplateInput) Validate Uses

func (s *DeleteTemplateInput) Validate() error

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

type DeleteTemplateOutput Uses

type DeleteTemplateOutput struct {
    // contains filtered or unexported fields
}

func (DeleteTemplateOutput) GoString Uses

func (s DeleteTemplateOutput) GoString() string

GoString returns the string representation

func (DeleteTemplateOutput) String Uses

func (s DeleteTemplateOutput) String() string

String returns the string representation

type DeleteVerifiedEmailAddressInput Uses

type DeleteVerifiedEmailAddressInput struct {

    // An email address to be removed from the list of verified addresses.
    //
    // EmailAddress is a required field
    EmailAddress *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to delete an email address from the list of email addresses you have attempted to verify under your AWS account.

func (DeleteVerifiedEmailAddressInput) GoString Uses

func (s DeleteVerifiedEmailAddressInput) GoString() string

GoString returns the string representation

func (*DeleteVerifiedEmailAddressInput) SetEmailAddress Uses

func (s *DeleteVerifiedEmailAddressInput) SetEmailAddress(v string) *DeleteVerifiedEmailAddressInput

SetEmailAddress sets the EmailAddress field's value.

func (DeleteVerifiedEmailAddressInput) String Uses

func (s DeleteVerifiedEmailAddressInput) String() string

String returns the string representation

func (*DeleteVerifiedEmailAddressInput) Validate Uses

func (s *DeleteVerifiedEmailAddressInput) Validate() error

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

type DeleteVerifiedEmailAddressOutput Uses

type DeleteVerifiedEmailAddressOutput struct {
    // contains filtered or unexported fields
}

func (DeleteVerifiedEmailAddressOutput) GoString Uses

func (s DeleteVerifiedEmailAddressOutput) GoString() string

GoString returns the string representation

func (DeleteVerifiedEmailAddressOutput) String Uses

func (s DeleteVerifiedEmailAddressOutput) String() string

String returns the string representation

type DeliveryOptions Uses

type DeliveryOptions struct {

    // Specifies whether messages that use the configuration set are required to
    // use Transport Layer Security (TLS). If the value is Require, messages are
    // only delivered if a TLS connection can be established. If the value is Optional,
    // messages can be delivered in plain text if a TLS connection can't be established.
    TlsPolicy *string `type:"string" enum:"TlsPolicy"`
    // contains filtered or unexported fields
}

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).

func (DeliveryOptions) GoString Uses

func (s DeliveryOptions) GoString() string

GoString returns the string representation

func (*DeliveryOptions) SetTlsPolicy Uses

func (s *DeliveryOptions) SetTlsPolicy(v string) *DeliveryOptions

SetTlsPolicy sets the TlsPolicy field's value.

func (DeliveryOptions) String Uses

func (s DeliveryOptions) String() string

String returns the string representation

type DescribeActiveReceiptRuleSetInput Uses

type DescribeActiveReceiptRuleSetInput struct {
    // contains filtered or unexported fields
}

Represents a request to return the metadata and receipt rules for the receipt rule set that is currently active. You use receipt rule sets 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).

func (DescribeActiveReceiptRuleSetInput) GoString Uses

func (s DescribeActiveReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (DescribeActiveReceiptRuleSetInput) String Uses

func (s DescribeActiveReceiptRuleSetInput) String() string

String returns the string representation

type DescribeActiveReceiptRuleSetOutput Uses

type DescribeActiveReceiptRuleSetOutput struct {

    // The metadata for the currently active receipt rule set. The metadata consists
    // of the rule set name and a timestamp of when the rule set was created.
    Metadata *ReceiptRuleSetMetadata `type:"structure"`

    // The receipt rules that belong to the active rule set.
    Rules []*ReceiptRule `type:"list"`
    // contains filtered or unexported fields
}

Represents the metadata and receipt rules for the receipt rule set that is currently active.

func (DescribeActiveReceiptRuleSetOutput) GoString Uses

func (s DescribeActiveReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (*DescribeActiveReceiptRuleSetOutput) SetMetadata Uses

func (s *DescribeActiveReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeActiveReceiptRuleSetOutput

SetMetadata sets the Metadata field's value.

func (*DescribeActiveReceiptRuleSetOutput) SetRules Uses

func (s *DescribeActiveReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *DescribeActiveReceiptRuleSetOutput

SetRules sets the Rules field's value.

func (DescribeActiveReceiptRuleSetOutput) String Uses

func (s DescribeActiveReceiptRuleSetOutput) String() string

String returns the string representation

type DescribeConfigurationSetInput Uses

type DescribeConfigurationSetInput struct {

    // A list of configuration set attributes to return.
    ConfigurationSetAttributeNames []*string `type:"list"`

    // The name of the configuration set to describe.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the details of a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (DescribeConfigurationSetInput) GoString Uses

func (s DescribeConfigurationSetInput) GoString() string

GoString returns the string representation

func (*DescribeConfigurationSetInput) SetConfigurationSetAttributeNames Uses

func (s *DescribeConfigurationSetInput) SetConfigurationSetAttributeNames(v []*string) *DescribeConfigurationSetInput

SetConfigurationSetAttributeNames sets the ConfigurationSetAttributeNames field's value.

func (*DescribeConfigurationSetInput) SetConfigurationSetName Uses

func (s *DescribeConfigurationSetInput) SetConfigurationSetName(v string) *DescribeConfigurationSetInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DescribeConfigurationSetInput) String Uses

func (s DescribeConfigurationSetInput) String() string

String returns the string representation

func (*DescribeConfigurationSetInput) Validate Uses

func (s *DescribeConfigurationSetInput) Validate() error

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

type DescribeConfigurationSetOutput Uses

type DescribeConfigurationSetOutput struct {

    // The configuration set object associated with the specified configuration
    // set.
    ConfigurationSet *ConfigurationSet `type:"structure"`

    // Specifies whether messages that use the configuration set are required to
    // use Transport Layer Security (TLS).
    DeliveryOptions *DeliveryOptions `type:"structure"`

    // A list of event destinations associated with the configuration set.
    EventDestinations []*EventDestination `type:"list"`

    // An object that represents the reputation settings for the configuration set.
    ReputationOptions *ReputationOptions `type:"structure"`

    // The name of the custom open and click tracking domain associated with the
    // configuration set.
    TrackingOptions *TrackingOptions `type:"structure"`
    // contains filtered or unexported fields
}

Represents the details of a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (DescribeConfigurationSetOutput) GoString Uses

func (s DescribeConfigurationSetOutput) GoString() string

GoString returns the string representation

func (*DescribeConfigurationSetOutput) SetConfigurationSet Uses

func (s *DescribeConfigurationSetOutput) SetConfigurationSet(v *ConfigurationSet) *DescribeConfigurationSetOutput

SetConfigurationSet sets the ConfigurationSet field's value.

func (*DescribeConfigurationSetOutput) SetDeliveryOptions Uses

func (s *DescribeConfigurationSetOutput) SetDeliveryOptions(v *DeliveryOptions) *DescribeConfigurationSetOutput

SetDeliveryOptions sets the DeliveryOptions field's value.

func (*DescribeConfigurationSetOutput) SetEventDestinations Uses

func (s *DescribeConfigurationSetOutput) SetEventDestinations(v []*EventDestination) *DescribeConfigurationSetOutput

SetEventDestinations sets the EventDestinations field's value.

func (*DescribeConfigurationSetOutput) SetReputationOptions Uses

func (s *DescribeConfigurationSetOutput) SetReputationOptions(v *ReputationOptions) *DescribeConfigurationSetOutput

SetReputationOptions sets the ReputationOptions field's value.

func (*DescribeConfigurationSetOutput) SetTrackingOptions Uses

func (s *DescribeConfigurationSetOutput) SetTrackingOptions(v *TrackingOptions) *DescribeConfigurationSetOutput

SetTrackingOptions sets the TrackingOptions field's value.

func (DescribeConfigurationSetOutput) String Uses

func (s DescribeConfigurationSetOutput) String() string

String returns the string representation

type DescribeReceiptRuleInput Uses

type DescribeReceiptRuleInput struct {

    // The name of the receipt rule.
    //
    // RuleName is a required field
    RuleName *string `type:"string" required:"true"`

    // The name of the receipt rule set that the receipt rule belongs to.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the details of 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).

func (DescribeReceiptRuleInput) GoString Uses

func (s DescribeReceiptRuleInput) GoString() string

GoString returns the string representation

func (*DescribeReceiptRuleInput) SetRuleName Uses

func (s *DescribeReceiptRuleInput) SetRuleName(v string) *DescribeReceiptRuleInput

SetRuleName sets the RuleName field's value.

func (*DescribeReceiptRuleInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (DescribeReceiptRuleInput) String Uses

func (s DescribeReceiptRuleInput) String() string

String returns the string representation

func (*DescribeReceiptRuleInput) Validate Uses

func (s *DescribeReceiptRuleInput) Validate() error

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

type DescribeReceiptRuleOutput Uses

type DescribeReceiptRuleOutput struct {

    // A data structure that contains the specified receipt rule's name, actions,
    // recipients, domains, enabled status, scan status, and Transport Layer Security
    // (TLS) policy.
    Rule *ReceiptRule `type:"structure"`
    // contains filtered or unexported fields
}

Represents the details of a receipt rule.

func (DescribeReceiptRuleOutput) GoString Uses

func (s DescribeReceiptRuleOutput) GoString() string

GoString returns the string representation

func (*DescribeReceiptRuleOutput) SetRule Uses

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

SetRule sets the Rule field's value.

func (DescribeReceiptRuleOutput) String Uses

func (s DescribeReceiptRuleOutput) String() string

String returns the string representation

type DescribeReceiptRuleSetInput Uses

type DescribeReceiptRuleSetInput struct {

    // The name of the receipt rule set to describe.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the details of a receipt rule set. You use receipt rule sets 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).

func (DescribeReceiptRuleSetInput) GoString Uses

func (s DescribeReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (*DescribeReceiptRuleSetInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (DescribeReceiptRuleSetInput) String Uses

func (s DescribeReceiptRuleSetInput) String() string

String returns the string representation

func (*DescribeReceiptRuleSetInput) Validate Uses

func (s *DescribeReceiptRuleSetInput) Validate() error

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

type DescribeReceiptRuleSetOutput Uses

type DescribeReceiptRuleSetOutput struct {

    // The metadata for the receipt rule set, which consists of the rule set name
    // and the timestamp of when the rule set was created.
    Metadata *ReceiptRuleSetMetadata `type:"structure"`

    // A list of the receipt rules that belong to the specified receipt rule set.
    Rules []*ReceiptRule `type:"list"`
    // contains filtered or unexported fields
}

Represents the details of the specified receipt rule set.

func (DescribeReceiptRuleSetOutput) GoString Uses

func (s DescribeReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (*DescribeReceiptRuleSetOutput) SetMetadata Uses

func (s *DescribeReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeReceiptRuleSetOutput

SetMetadata sets the Metadata field's value.

func (*DescribeReceiptRuleSetOutput) SetRules Uses

func (s *DescribeReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *DescribeReceiptRuleSetOutput

SetRules sets the Rules field's value.

func (DescribeReceiptRuleSetOutput) String Uses

func (s DescribeReceiptRuleSetOutput) String() string

String returns the string representation

type Destination Uses

type Destination struct {

    // The recipients to place on the BCC: line of the message.
    BccAddresses []*string `type:"list"`

    // The recipients to place on the CC: line of the message.
    CcAddresses []*string `type:"list"`

    // The recipients to place on the To: line of the message.
    ToAddresses []*string `type:"list"`
    // contains filtered or unexported fields
}

Represents the destination of the message, consisting of To:, CC:, and BCC: fields.

Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 (https://tools.ietf.org/html/rfc6531). For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492 (https://tools.ietf.org/html/rfc3492.html).

func (Destination) GoString Uses

func (s Destination) GoString() string

GoString returns the string representation

func (*Destination) SetBccAddresses Uses

func (s *Destination) SetBccAddresses(v []*string) *Destination

SetBccAddresses sets the BccAddresses field's value.

func (*Destination) SetCcAddresses Uses

func (s *Destination) SetCcAddresses(v []*string) *Destination

SetCcAddresses sets the CcAddresses field's value.

func (*Destination) SetToAddresses Uses

func (s *Destination) SetToAddresses(v []*string) *Destination

SetToAddresses sets the ToAddresses field's value.

func (Destination) String Uses

func (s Destination) String() string

String returns the string representation

type EventDestination Uses

type EventDestination struct {

    // An object that contains the names, default values, and sources of the dimensions
    // associated with an Amazon CloudWatch event destination.
    CloudWatchDestination *CloudWatchDestination `type:"structure"`

    // Sets whether Amazon SES publishes events to this destination when you send
    // an email with the associated configuration set. Set to true to enable publishing
    // to this destination; set to false to prevent publishing to this destination.
    // The default value is false.
    Enabled *bool `type:"boolean"`

    // An object that contains the delivery stream ARN and the IAM role ARN associated
    // with an Amazon Kinesis Firehose event destination.
    KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

    // The type of email sending events to publish to the event destination.
    //
    // MatchingEventTypes is a required field
    MatchingEventTypes []*string `type:"list" required:"true"`

    // The name of the event destination. The name must:
    //
    //    * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9),
    //    underscores (_), or dashes (-).
    //
    //    * Contain less than 64 characters.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // An object that contains the topic ARN associated with an Amazon Simple Notification
    // Service (Amazon SNS) event destination.
    SNSDestination *SNSDestination `type:"structure"`
    // contains filtered or unexported fields
}

Contains information about the event destination that the specified email sending events will be published to.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).

Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (EventDestination) GoString Uses

func (s EventDestination) GoString() string

GoString returns the string representation

func (*EventDestination) SetCloudWatchDestination Uses

func (s *EventDestination) SetCloudWatchDestination(v *CloudWatchDestination) *EventDestination

SetCloudWatchDestination sets the CloudWatchDestination field's value.

func (*EventDestination) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (*EventDestination) SetKinesisFirehoseDestination Uses

func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*EventDestination) SetMatchingEventTypes Uses

func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*EventDestination) SetName Uses

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

SetName sets the Name field's value.

func (*EventDestination) SetSNSDestination Uses

func (s *EventDestination) SetSNSDestination(v *SNSDestination) *EventDestination

SetSNSDestination sets the SNSDestination field's value.

func (EventDestination) String Uses

func (s EventDestination) String() string

String returns the string representation

func (*EventDestination) Validate Uses

func (s *EventDestination) Validate() error

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

type ExtensionField Uses

type ExtensionField struct {

    // The name of the header to add. Must be between 1 and 50 characters, inclusive,
    // and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // The value of the header to add. Must be less than 2048 characters, and must
    // not contain newline characters ("\r" or "\n").
    //
    // Value is a required field
    Value *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

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

func (ExtensionField) GoString Uses

func (s ExtensionField) GoString() string

GoString returns the string representation

func (*ExtensionField) SetName Uses

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

SetName sets the Name field's value.

func (*ExtensionField) SetValue Uses

func (s *ExtensionField) SetValue(v string) *ExtensionField

SetValue sets the Value field's value.

func (ExtensionField) String Uses

func (s ExtensionField) String() string

String returns the string representation

func (*ExtensionField) Validate Uses

func (s *ExtensionField) Validate() error

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

type GetAccountSendingEnabledInput Uses

type GetAccountSendingEnabledInput struct {
    // contains filtered or unexported fields
}

func (GetAccountSendingEnabledInput) GoString Uses

func (s GetAccountSendingEnabledInput) GoString() string

GoString returns the string representation

func (GetAccountSendingEnabledInput) String Uses

func (s GetAccountSendingEnabledInput) String() string

String returns the string representation

type GetAccountSendingEnabledOutput Uses

type GetAccountSendingEnabledOutput struct {

    // Describes whether email sending is enabled or disabled for your Amazon SES
    // account in the current AWS Region.
    Enabled *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Represents a request to return the email sending status for your Amazon SES account in the current AWS Region.

func (GetAccountSendingEnabledOutput) GoString Uses

func (s GetAccountSendingEnabledOutput) GoString() string

GoString returns the string representation

func (*GetAccountSendingEnabledOutput) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (GetAccountSendingEnabledOutput) String Uses

func (s GetAccountSendingEnabledOutput) String() string

String returns the string representation

type GetCustomVerificationEmailTemplateInput Uses

type GetCustomVerificationEmailTemplateInput struct {

    // The name of the custom verification email template that you want to retrieve.
    //
    // TemplateName is a required field
    TemplateName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to retrieve an existing custom verification email template.

func (GetCustomVerificationEmailTemplateInput) GoString Uses

func (s GetCustomVerificationEmailTemplateInput) GoString() string

GoString returns the string representation

func (*GetCustomVerificationEmailTemplateInput) SetTemplateName Uses

func (s *GetCustomVerificationEmailTemplateInput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateInput

SetTemplateName sets the TemplateName field's value.

func (GetCustomVerificationEmailTemplateInput) String Uses

func (s GetCustomVerificationEmailTemplateInput) String() string

String returns the string representation

func (*GetCustomVerificationEmailTemplateInput) Validate Uses

func (s *GetCustomVerificationEmailTemplateInput) Validate() error

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

type GetCustomVerificationEmailTemplateOutput Uses

type GetCustomVerificationEmailTemplateOutput struct {

    // The URL that the recipient of the verification email is sent to if his or
    // her address is not successfully verified.
    FailureRedirectionURL *string `type:"string"`

    // The email address that the custom verification email is sent from.
    FromEmailAddress *string `type:"string"`

    // The URL that the recipient of the verification email is sent to if his or
    // her address is successfully verified.
    SuccessRedirectionURL *string `type:"string"`

    // The content of the custom verification email.
    TemplateContent *string `type:"string"`

    // The name of the custom verification email template.
    TemplateName *string `type:"string"`

    // The subject line of the custom verification email.
    TemplateSubject *string `type:"string"`
    // contains filtered or unexported fields
}

The content of the custom verification email template.

func (GetCustomVerificationEmailTemplateOutput) GoString Uses

func (s GetCustomVerificationEmailTemplateOutput) GoString() string

GoString returns the string representation

func (*GetCustomVerificationEmailTemplateOutput) SetFailureRedirectionURL Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetFailureRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetFromEmailAddress Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetFromEmailAddress(v string) *GetCustomVerificationEmailTemplateOutput

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetSuccessRedirectionURL Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetSuccessRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateContent Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateContent(v string) *GetCustomVerificationEmailTemplateOutput

SetTemplateContent sets the TemplateContent field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateName Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateOutput

SetTemplateName sets the TemplateName field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateSubject Uses

func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateSubject(v string) *GetCustomVerificationEmailTemplateOutput

SetTemplateSubject sets the TemplateSubject field's value.

func (GetCustomVerificationEmailTemplateOutput) String Uses

func (s GetCustomVerificationEmailTemplateOutput) String() string

String returns the string representation

type GetIdentityDkimAttributesInput Uses

type GetIdentityDkimAttributesInput struct {

    // A list of one or more verified identities - email addresses, domains, or
    // both.
    //
    // Identities is a required field
    Identities []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents a request for the status of Amazon SES Easy DKIM signing for an identity. For domain identities, this request also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES successfully verified that these tokens were published. For more information about Easy DKIM, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).

func (GetIdentityDkimAttributesInput) GoString Uses

func (s GetIdentityDkimAttributesInput) GoString() string

GoString returns the string representation

func (*GetIdentityDkimAttributesInput) SetIdentities Uses

func (s *GetIdentityDkimAttributesInput) SetIdentities(v []*string) *GetIdentityDkimAttributesInput

SetIdentities sets the Identities field's value.

func (GetIdentityDkimAttributesInput) String Uses

func (s GetIdentityDkimAttributesInput) String() string

String returns the string representation

func (*GetIdentityDkimAttributesInput) Validate Uses

func (s *GetIdentityDkimAttributesInput) Validate() error

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

type GetIdentityDkimAttributesOutput Uses

type GetIdentityDkimAttributesOutput struct {

    // The DKIM attributes for an email address or a domain.
    //
    // DkimAttributes is a required field
    DkimAttributes map[string]*IdentityDkimAttributes `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Represents the status of Amazon SES Easy DKIM signing for an identity. For domain identities, this response also contains the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES successfully verified that these tokens were published.

func (GetIdentityDkimAttributesOutput) GoString Uses

func (s GetIdentityDkimAttributesOutput) GoString() string

GoString returns the string representation

func (*GetIdentityDkimAttributesOutput) SetDkimAttributes Uses

func (s *GetIdentityDkimAttributesOutput) SetDkimAttributes(v map[string]*IdentityDkimAttributes) *GetIdentityDkimAttributesOutput

SetDkimAttributes sets the DkimAttributes field's value.

func (GetIdentityDkimAttributesOutput) String Uses

func (s GetIdentityDkimAttributesOutput) String() string

String returns the string representation

type GetIdentityMailFromDomainAttributesInput Uses

type GetIdentityMailFromDomainAttributesInput struct {

    // A list of one or more identities.
    //
    // Identities is a required field
    Identities []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the Amazon SES custom MAIL FROM attributes for a list of identities. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html).

func (GetIdentityMailFromDomainAttributesInput) GoString Uses

func (s GetIdentityMailFromDomainAttributesInput) GoString() string

GoString returns the string representation

func (*GetIdentityMailFromDomainAttributesInput) SetIdentities Uses

func (s *GetIdentityMailFromDomainAttributesInput) SetIdentities(v []*string) *GetIdentityMailFromDomainAttributesInput

SetIdentities sets the Identities field's value.

func (GetIdentityMailFromDomainAttributesInput) String Uses

func (s GetIdentityMailFromDomainAttributesInput) String() string

String returns the string representation

func (*GetIdentityMailFromDomainAttributesInput) Validate Uses

func (s *GetIdentityMailFromDomainAttributesInput) Validate() error

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

type GetIdentityMailFromDomainAttributesOutput Uses

type GetIdentityMailFromDomainAttributesOutput struct {

    // A map of identities to custom MAIL FROM attributes.
    //
    // MailFromDomainAttributes is a required field
    MailFromDomainAttributes map[string]*IdentityMailFromDomainAttributes `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Represents the custom MAIL FROM attributes for a list of identities.

func (GetIdentityMailFromDomainAttributesOutput) GoString Uses

func (s GetIdentityMailFromDomainAttributesOutput) GoString() string

GoString returns the string representation

func (*GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes Uses

func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes(v map[string]*IdentityMailFromDomainAttributes) *GetIdentityMailFromDomainAttributesOutput

SetMailFromDomainAttributes sets the MailFromDomainAttributes field's value.

func (GetIdentityMailFromDomainAttributesOutput) String Uses

func (s GetIdentityMailFromDomainAttributesOutput) String() string

String returns the string representation

type GetIdentityNotificationAttributesInput Uses

type GetIdentityNotificationAttributesInput struct {

    // A list of one or more identities. You can specify an identity by using its
    // name or by using its Amazon Resource Name (ARN). Examples: user@example.com,
    // example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
    //
    // Identities is a required field
    Identities []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the notification attributes for a list of identities you verified with Amazon SES. For information about Amazon SES notifications, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html).

func (GetIdentityNotificationAttributesInput) GoString Uses

func (s GetIdentityNotificationAttributesInput) GoString() string

GoString returns the string representation

func (*GetIdentityNotificationAttributesInput) SetIdentities Uses

func (s *GetIdentityNotificationAttributesInput) SetIdentities(v []*string) *GetIdentityNotificationAttributesInput

SetIdentities sets the Identities field's value.

func (GetIdentityNotificationAttributesInput) String Uses

func (s GetIdentityNotificationAttributesInput) String() string

String returns the string representation

func (*GetIdentityNotificationAttributesInput) Validate Uses

func (s *GetIdentityNotificationAttributesInput) Validate() error

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

type GetIdentityNotificationAttributesOutput Uses

type GetIdentityNotificationAttributesOutput struct {

    // A map of Identity to IdentityNotificationAttributes.
    //
    // NotificationAttributes is a required field
    NotificationAttributes map[string]*IdentityNotificationAttributes `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Represents the notification attributes for a list of identities.

func (GetIdentityNotificationAttributesOutput) GoString Uses

func (s GetIdentityNotificationAttributesOutput) GoString() string

GoString returns the string representation

func (*GetIdentityNotificationAttributesOutput) SetNotificationAttributes Uses

func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v map[string]*IdentityNotificationAttributes) *GetIdentityNotificationAttributesOutput

SetNotificationAttributes sets the NotificationAttributes field's value.

func (GetIdentityNotificationAttributesOutput) String Uses

func (s GetIdentityNotificationAttributesOutput) String() string

String returns the string representation

type GetIdentityPoliciesInput Uses

type GetIdentityPoliciesInput struct {

    // The identity for which the policies will be retrieved. You can specify an
    // identity by using its name or by using its Amazon Resource Name (ARN). Examples:
    // user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
    //
    // To successfully call this API, you must own the identity.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`

    // A list of the names of policies to be retrieved. You can retrieve a maximum
    // of 20 policies at a time. If you do not know the names of the policies that
    // are attached to the identity, you can use ListIdentityPolicies.
    //
    // PolicyNames is a required field
    PolicyNames []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the requested sending authorization policies for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

func (GetIdentityPoliciesInput) GoString Uses

func (s GetIdentityPoliciesInput) GoString() string

GoString returns the string representation

func (*GetIdentityPoliciesInput) SetIdentity Uses

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

SetIdentity sets the Identity field's value.

func (*GetIdentityPoliciesInput) SetPolicyNames Uses

func (s *GetIdentityPoliciesInput) SetPolicyNames(v []*string) *GetIdentityPoliciesInput

SetPolicyNames sets the PolicyNames field's value.

func (GetIdentityPoliciesInput) String Uses

func (s GetIdentityPoliciesInput) String() string

String returns the string representation

func (*GetIdentityPoliciesInput) Validate Uses

func (s *GetIdentityPoliciesInput) Validate() error

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

type GetIdentityPoliciesOutput Uses

type GetIdentityPoliciesOutput struct {

    // A map of policy names to policies.
    //
    // Policies is a required field
    Policies map[string]*string `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Represents the requested sending authorization policies.

func (GetIdentityPoliciesOutput) GoString Uses

func (s GetIdentityPoliciesOutput) GoString() string

GoString returns the string representation

func (*GetIdentityPoliciesOutput) SetPolicies Uses

func (s *GetIdentityPoliciesOutput) SetPolicies(v map[string]*string) *GetIdentityPoliciesOutput

SetPolicies sets the Policies field's value.

func (GetIdentityPoliciesOutput) String Uses

func (s GetIdentityPoliciesOutput) String() string

String returns the string representation

type GetIdentityVerificationAttributesInput Uses

type GetIdentityVerificationAttributesInput struct {

    // A list of identities.
    //
    // Identities is a required field
    Identities []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return the Amazon SES verification status of a list of identities. For domain identities, this request also returns the verification token. For information about verifying identities with Amazon SES, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html).

func (GetIdentityVerificationAttributesInput) GoString Uses

func (s GetIdentityVerificationAttributesInput) GoString() string

GoString returns the string representation

func (*GetIdentityVerificationAttributesInput) SetIdentities Uses

func (s *GetIdentityVerificationAttributesInput) SetIdentities(v []*string) *GetIdentityVerificationAttributesInput

SetIdentities sets the Identities field's value.

func (GetIdentityVerificationAttributesInput) String Uses

func (s GetIdentityVerificationAttributesInput) String() string

String returns the string representation

func (*GetIdentityVerificationAttributesInput) Validate Uses

func (s *GetIdentityVerificationAttributesInput) Validate() error

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

type GetIdentityVerificationAttributesOutput Uses

type GetIdentityVerificationAttributesOutput struct {

    // A map of Identities to IdentityVerificationAttributes objects.
    //
    // VerificationAttributes is a required field
    VerificationAttributes map[string]*IdentityVerificationAttributes `type:"map" required:"true"`
    // contains filtered or unexported fields
}

The Amazon SES verification status of a list of identities. For domain identities, this response also contains the verification token.

func (GetIdentityVerificationAttributesOutput) GoString Uses

func (s GetIdentityVerificationAttributesOutput) GoString() string

GoString returns the string representation

func (*GetIdentityVerificationAttributesOutput) SetVerificationAttributes Uses

func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v map[string]*IdentityVerificationAttributes) *GetIdentityVerificationAttributesOutput

SetVerificationAttributes sets the VerificationAttributes field's value.

func (GetIdentityVerificationAttributesOutput) String Uses

func (s GetIdentityVerificationAttributesOutput) String() string

String returns the string representation

type GetSendQuotaInput Uses

type GetSendQuotaInput struct {
    // contains filtered or unexported fields
}

func (GetSendQuotaInput) GoString Uses

func (s GetSendQuotaInput) GoString() string

GoString returns the string representation

func (GetSendQuotaInput) String Uses

func (s GetSendQuotaInput) String() string

String returns the string representation

type GetSendQuotaOutput Uses

type GetSendQuotaOutput struct {

    // The maximum number of emails the user is allowed to send in a 24-hour interval.
    // A value of -1 signifies an unlimited quota.
    Max24HourSend *float64 `type:"double"`

    // The maximum number of emails that Amazon SES can accept from the user's account
    // per second.
    //
    // The rate at which Amazon SES accepts the user's messages might be less than
    // the maximum send rate.
    MaxSendRate *float64 `type:"double"`

    // The number of emails sent during the previous 24 hours.
    SentLast24Hours *float64 `type:"double"`
    // contains filtered or unexported fields
}

Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.

func (GetSendQuotaOutput) GoString Uses

func (s GetSendQuotaOutput) GoString() string

GoString returns the string representation

func (*GetSendQuotaOutput) SetMax24HourSend Uses

func (s *GetSendQuotaOutput) SetMax24HourSend(v float64) *GetSendQuotaOutput

SetMax24HourSend sets the Max24HourSend field's value.

func (*GetSendQuotaOutput) SetMaxSendRate Uses

func (s *GetSendQuotaOutput) SetMaxSendRate(v float64) *GetSendQuotaOutput

SetMaxSendRate sets the MaxSendRate field's value.

func (*GetSendQuotaOutput) SetSentLast24Hours Uses

func (s *GetSendQuotaOutput) SetSentLast24Hours(v float64) *GetSendQuotaOutput

SetSentLast24Hours sets the SentLast24Hours field's value.

func (GetSendQuotaOutput) String Uses

func (s GetSendQuotaOutput) String() string

String returns the string representation

type GetSendStatisticsInput Uses

type GetSendStatisticsInput struct {
    // contains filtered or unexported fields
}

func (GetSendStatisticsInput) GoString Uses

func (s GetSendStatisticsInput) GoString() string

GoString returns the string representation

func (GetSendStatisticsInput) String Uses

func (s GetSendStatisticsInput) String() string

String returns the string representation

type GetSendStatisticsOutput Uses

type GetSendStatisticsOutput struct {

    // A list of data points, each of which represents 15 minutes of activity.
    SendDataPoints []*SendDataPoint `type:"list"`
    // contains filtered or unexported fields
}

Represents a list of data points. This list contains aggregated data from the previous two weeks of your sending activity with Amazon SES.

func (GetSendStatisticsOutput) GoString Uses

func (s GetSendStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetSendStatisticsOutput) SetSendDataPoints Uses

func (s *GetSendStatisticsOutput) SetSendDataPoints(v []*SendDataPoint) *GetSendStatisticsOutput

SetSendDataPoints sets the SendDataPoints field's value.

func (GetSendStatisticsOutput) String Uses

func (s GetSendStatisticsOutput) String() string

String returns the string representation

type GetTemplateInput Uses

type GetTemplateInput struct {

    // The name of the template you want to retrieve.
    //
    // TemplateName is a required field
    TemplateName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetTemplateInput) GoString Uses

func (s GetTemplateInput) GoString() string

GoString returns the string representation

func (*GetTemplateInput) SetTemplateName Uses

func (s *GetTemplateInput) SetTemplateName(v string) *GetTemplateInput

SetTemplateName sets the TemplateName field's value.

func (GetTemplateInput) String Uses

func (s GetTemplateInput) String() string

String returns the string representation

func (*GetTemplateInput) Validate Uses

func (s *GetTemplateInput) Validate() error

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

type GetTemplateOutput Uses

type GetTemplateOutput struct {

    // The content of the email, composed of a subject line, an HTML part, and a
    // text-only part.
    Template *Template `type:"structure"`
    // contains filtered or unexported fields
}

func (GetTemplateOutput) GoString Uses

func (s GetTemplateOutput) GoString() string

GoString returns the string representation

func (*GetTemplateOutput) SetTemplate Uses

func (s *GetTemplateOutput) SetTemplate(v *Template) *GetTemplateOutput

SetTemplate sets the Template field's value.

func (GetTemplateOutput) String Uses

func (s GetTemplateOutput) String() string

String returns the string representation

type IdentityDkimAttributes Uses

type IdentityDkimAttributes struct {

    // Is true if DKIM signing is enabled for email sent from the identity. It's
    // false otherwise. The default value is true.
    //
    // DkimEnabled is a required field
    DkimEnabled *bool `type:"boolean" required:"true"`

    // A set of character strings that represent the domain's identity. Using these
    // tokens, you need to create DNS CNAME records that point to DKIM public keys
    // that are hosted by Amazon SES. Amazon Web Services eventually detects that
    // you've updated your DNS records. This detection process might take up to
    // 72 hours. After successful detection, Amazon SES is able to DKIM-sign email
    // originating from that domain. (This only applies to domain identities, not
    // email address identities.)
    //
    // For more information about creating DNS records using DKIM tokens, see the
    // Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
    DkimTokens []*string `type:"list"`

    // Describes whether Amazon SES has successfully verified the DKIM DNS records
    // (tokens) published in the domain name's DNS. (This only applies to domain
    // identities, not email address identities.)
    //
    // DkimVerificationStatus is a required field
    DkimVerificationStatus *string `type:"string" required:"true" enum:"VerificationStatus"`
    // contains filtered or unexported fields
}

Represents the DKIM attributes of a verified email address or a domain.

func (IdentityDkimAttributes) GoString Uses

func (s IdentityDkimAttributes) GoString() string

GoString returns the string representation

func (*IdentityDkimAttributes) SetDkimEnabled Uses

func (s *IdentityDkimAttributes) SetDkimEnabled(v bool) *IdentityDkimAttributes

SetDkimEnabled sets the DkimEnabled field's value.

func (*IdentityDkimAttributes) SetDkimTokens Uses

func (s *IdentityDkimAttributes) SetDkimTokens(v []*string) *IdentityDkimAttributes

SetDkimTokens sets the DkimTokens field's value.

func (*IdentityDkimAttributes) SetDkimVerificationStatus Uses

func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v string) *IdentityDkimAttributes

SetDkimVerificationStatus sets the DkimVerificationStatus field's value.

func (IdentityDkimAttributes) String Uses

func (s IdentityDkimAttributes) String() string

String returns the string representation

type IdentityMailFromDomainAttributes Uses

type IdentityMailFromDomainAttributes struct {

    // The action that Amazon SES takes if it cannot successfully read the required
    // MX record when you send an email. A value of UseDefaultValue indicates that
    // if Amazon SES cannot read the required MX record, it uses amazonses.com (or
    // a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates
    // that if Amazon SES cannot read the required MX record, Amazon SES returns
    // a MailFromDomainNotVerified error and does not send the email.
    //
    // The custom MAIL FROM setup states that result in this behavior are Pending,
    // Failed, and TemporaryFailure.
    //
    // BehaviorOnMXFailure is a required field
    BehaviorOnMXFailure *string `type:"string" required:"true" enum:"BehaviorOnMXFailure"`

    // The custom MAIL FROM domain that the identity is configured to use.
    //
    // MailFromDomain is a required field
    MailFromDomain *string `type:"string" required:"true"`

    // The state that indicates whether Amazon SES has successfully read the MX
    // record required for custom MAIL FROM domain setup. If the state is Success,
    // Amazon SES uses the specified custom MAIL FROM domain when the verified identity
    // sends an email. All other states indicate that Amazon SES takes the action
    // described by BehaviorOnMXFailure.
    //
    // MailFromDomainStatus is a required field
    MailFromDomainStatus *string `type:"string" required:"true" enum:"CustomMailFromStatus"`
    // contains filtered or unexported fields
}

Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).

func (IdentityMailFromDomainAttributes) GoString Uses

func (s IdentityMailFromDomainAttributes) GoString() string

GoString returns the string representation

func (*IdentityMailFromDomainAttributes) SetBehaviorOnMXFailure Uses

func (s *IdentityMailFromDomainAttributes) SetBehaviorOnMXFailure(v string) *IdentityMailFromDomainAttributes

SetBehaviorOnMXFailure sets the BehaviorOnMXFailure field's value.

func (*IdentityMailFromDomainAttributes) SetMailFromDomain Uses

func (s *IdentityMailFromDomainAttributes) SetMailFromDomain(v string) *IdentityMailFromDomainAttributes

SetMailFromDomain sets the MailFromDomain field's value.

func (*IdentityMailFromDomainAttributes) SetMailFromDomainStatus Uses

func (s *IdentityMailFromDomainAttributes) SetMailFromDomainStatus(v string) *IdentityMailFromDomainAttributes

SetMailFromDomainStatus sets the MailFromDomainStatus field's value.

func (IdentityMailFromDomainAttributes) String Uses

func (s IdentityMailFromDomainAttributes) String() string

String returns the string representation

type IdentityNotificationAttributes Uses

type IdentityNotificationAttributes struct {

    // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will
    // publish bounce notifications.
    //
    // BounceTopic is a required field
    BounceTopic *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will
    // publish complaint notifications.
    //
    // ComplaintTopic is a required field
    ComplaintTopic *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will
    // publish delivery notifications.
    //
    // DeliveryTopic is a required field
    DeliveryTopic *string `type:"string" required:"true"`

    // Describes whether Amazon SES will forward bounce and complaint notifications
    // as email. true indicates that Amazon SES will forward bounce and complaint
    // notifications as email, while false indicates that bounce and complaint notifications
    // will be published only to the specified bounce and complaint Amazon SNS topics.
    //
    // ForwardingEnabled is a required field
    ForwardingEnabled *bool `type:"boolean" required:"true"`

    // Describes whether Amazon SES includes the original email headers in Amazon
    // SNS notifications of type Bounce. A value of true specifies that Amazon SES
    // will include headers in bounce notifications, and a value of false specifies
    // that Amazon SES will not include headers in bounce notifications.
    HeadersInBounceNotificationsEnabled *bool `type:"boolean"`

    // Describes whether Amazon SES includes the original email headers in Amazon
    // SNS notifications of type Complaint. A value of true specifies that Amazon
    // SES will include headers in complaint notifications, and a value of false
    // specifies that Amazon SES will not include headers in complaint notifications.
    HeadersInComplaintNotificationsEnabled *bool `type:"boolean"`

    // Describes whether Amazon SES includes the original email headers in Amazon
    // SNS notifications of type Delivery. A value of true specifies that Amazon
    // SES will include headers in delivery notifications, and a value of false
    // specifies that Amazon SES will not include headers in delivery notifications.
    HeadersInDeliveryNotificationsEnabled *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Represents the notification attributes of an identity, including whether an identity has Amazon Simple Notification Service (Amazon SNS) topics set for bounce, complaint, and/or delivery notifications, and whether feedback forwarding is enabled for bounce and complaint notifications.

func (IdentityNotificationAttributes) GoString Uses

func (s IdentityNotificationAttributes) GoString() string

GoString returns the string representation

func (*IdentityNotificationAttributes) SetBounceTopic Uses

func (s *IdentityNotificationAttributes) SetBounceTopic(v string) *IdentityNotificationAttributes

SetBounceTopic sets the BounceTopic field's value.

func (*IdentityNotificationAttributes) SetComplaintTopic Uses

func (s *IdentityNotificationAttributes) SetComplaintTopic(v string) *IdentityNotificationAttributes

SetComplaintTopic sets the ComplaintTopic field's value.

func (*IdentityNotificationAttributes) SetDeliveryTopic Uses

func (s *IdentityNotificationAttributes) SetDeliveryTopic(v string) *IdentityNotificationAttributes

SetDeliveryTopic sets the DeliveryTopic field's value.

func (*IdentityNotificationAttributes) SetForwardingEnabled Uses

func (s *IdentityNotificationAttributes) SetForwardingEnabled(v bool) *IdentityNotificationAttributes

SetForwardingEnabled sets the ForwardingEnabled field's value.

func (*IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled Uses

func (s *IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled(v bool) *IdentityNotificationAttributes

SetHeadersInBounceNotificationsEnabled sets the HeadersInBounceNotificationsEnabled field's value.

func (*IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled Uses

func (s *IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled(v bool) *IdentityNotificationAttributes

SetHeadersInComplaintNotificationsEnabled sets the HeadersInComplaintNotificationsEnabled field's value.

func (*IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled Uses

func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled(v bool) *IdentityNotificationAttributes

SetHeadersInDeliveryNotificationsEnabled sets the HeadersInDeliveryNotificationsEnabled field's value.

func (IdentityNotificationAttributes) String Uses

func (s IdentityNotificationAttributes) String() string

String returns the string representation

type IdentityVerificationAttributes Uses

type IdentityVerificationAttributes struct {

    // The verification status of the identity: "Pending", "Success", "Failed",
    // or "TemporaryFailure".
    //
    // VerificationStatus is a required field
    VerificationStatus *string `type:"string" required:"true" enum:"VerificationStatus"`

    // The verification token for a domain identity. Null for email address identities.
    VerificationToken *string `type:"string"`
    // contains filtered or unexported fields
}

Represents the verification attributes of a single identity.

func (IdentityVerificationAttributes) GoString Uses

func (s IdentityVerificationAttributes) GoString() string

GoString returns the string representation

func (*IdentityVerificationAttributes) SetVerificationStatus Uses

func (s *IdentityVerificationAttributes) SetVerificationStatus(v string) *IdentityVerificationAttributes

SetVerificationStatus sets the VerificationStatus field's value.

func (*IdentityVerificationAttributes) SetVerificationToken Uses

func (s *IdentityVerificationAttributes) SetVerificationToken(v string) *IdentityVerificationAttributes

SetVerificationToken sets the VerificationToken field's value.

func (IdentityVerificationAttributes) String Uses

func (s IdentityVerificationAttributes) String() string

String returns the string representation

type KinesisFirehoseDestination Uses

type KinesisFirehoseDestination struct {

    // The ARN of the Amazon Kinesis Firehose stream that email sending events should
    // be published to.
    //
    // DeliveryStreamARN is a required field
    DeliveryStreamARN *string `type:"string" required:"true"`

    // The ARN of the IAM role under which Amazon SES publishes email sending events
    // to the Amazon Kinesis Firehose stream.
    //
    // IAMRoleARN is a required field
    IAMRoleARN *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

Event destinations, such as Amazon Kinesis Firehose, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (KinesisFirehoseDestination) GoString Uses

func (s KinesisFirehoseDestination) GoString() string

GoString returns the string representation

func (*KinesisFirehoseDestination) SetDeliveryStreamARN Uses

func (s *KinesisFirehoseDestination) SetDeliveryStreamARN(v string) *KinesisFirehoseDestination

SetDeliveryStreamARN sets the DeliveryStreamARN field's value.

func (*KinesisFirehoseDestination) SetIAMRoleARN Uses

func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDestination

SetIAMRoleARN sets the IAMRoleARN field's value.

func (KinesisFirehoseDestination) String Uses

func (s KinesisFirehoseDestination) String() string

String returns the string representation

func (*KinesisFirehoseDestination) Validate Uses

func (s *KinesisFirehoseDestination) Validate() error

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

type LambdaAction Uses

type LambdaAction struct {

    // The Amazon Resource Name (ARN) of the AWS Lambda function. An example of
    // an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction.
    // For more information about AWS Lambda, see the AWS Lambda Developer Guide
    // (https://docs.aws.amazon.com/lambda/latest/dg/welcome.html).
    //
    // FunctionArn is a required field
    FunctionArn *string `type:"string" required:"true"`

    // The invocation type of the AWS Lambda function. An invocation type of RequestResponse
    // means that the execution of the function will immediately result in a response,
    // and a value of Event means that the function will be invoked asynchronously.
    // The default value is Event. For information about AWS Lambda invocation types,
    // see the AWS Lambda Developer Guide (https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html).
    //
    // There is a 30-second timeout on RequestResponse invocations. You should use
    // Event invocation in most cases. Use RequestResponse only when you want to
    // make a mail flow decision, such as whether to stop the receipt rule or the
    // receipt rule set.
    InvocationType *string `type:"string" enum:"InvocationType"`

    // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
    // Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic.
    // For more information about Amazon SNS topics, see the Amazon SNS Developer
    // Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
    TopicArn *string `type:"string"`
    // contains filtered or unexported fields
}

When included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

To enable Amazon SES to call your AWS Lambda function or to publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).

For information about using AWS Lambda actions in receipt rules, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html).

func (LambdaAction) GoString Uses

func (s LambdaAction) GoString() string

GoString returns the string representation

func (*LambdaAction) SetFunctionArn Uses

func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction

SetFunctionArn sets the FunctionArn field's value.

func (*LambdaAction) SetInvocationType Uses

func (s *LambdaAction) SetInvocationType(v string) *LambdaAction

SetInvocationType sets the InvocationType field's value.

func (*LambdaAction) SetTopicArn Uses

func (s *LambdaAction) SetTopicArn(v string) *LambdaAction

SetTopicArn sets the TopicArn field's value.

func (LambdaAction) String Uses

func (s LambdaAction) String() string

String returns the string representation

func (*LambdaAction) Validate Uses

func (s *LambdaAction) Validate() error

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

type ListConfigurationSetsInput Uses

type ListConfigurationSetsInput struct {

    // The number of configuration sets to return.
    MaxItems *int64 `type:"integer"`

    // A token returned from a previous call to ListConfigurationSets to indicate
    // the position of the configuration set in the configuration set list.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Represents a request to list the configuration sets associated with your AWS account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (ListConfigurationSetsInput) GoString Uses

func (s ListConfigurationSetsInput) GoString() string

GoString returns the string representation

func (*ListConfigurationSetsInput) SetMaxItems Uses

func (s *ListConfigurationSetsInput) SetMaxItems(v int64) *ListConfigurationSetsInput

SetMaxItems sets the MaxItems field's value.

func (*ListConfigurationSetsInput) SetNextToken Uses

func (s *ListConfigurationSetsInput) SetNextToken(v string) *ListConfigurationSetsInput

SetNextToken sets the NextToken field's value.

func (ListConfigurationSetsInput) String Uses

func (s ListConfigurationSetsInput) String() string

String returns the string representation

type ListConfigurationSetsOutput Uses

type ListConfigurationSetsOutput struct {

    // A list of configuration sets.
    ConfigurationSets []*ConfigurationSet `type:"list"`

    // A token indicating that there are additional configuration sets available
    // to be listed. Pass this token to successive calls of ListConfigurationSets.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

A list of configuration sets associated with your AWS account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (ListConfigurationSetsOutput) GoString Uses

func (s ListConfigurationSetsOutput) GoString() string

GoString returns the string representation

func (*ListConfigurationSetsOutput) SetConfigurationSets Uses

func (s *ListConfigurationSetsOutput) SetConfigurationSets(v []*ConfigurationSet) *ListConfigurationSetsOutput

SetConfigurationSets sets the ConfigurationSets field's value.

func (*ListConfigurationSetsOutput) SetNextToken Uses

func (s *ListConfigurationSetsOutput) SetNextToken(v string) *ListConfigurationSetsOutput

SetNextToken sets the NextToken field's value.

func (ListConfigurationSetsOutput) String Uses

func (s ListConfigurationSetsOutput) String() string

String returns the string representation

type ListCustomVerificationEmailTemplatesInput Uses

type ListCustomVerificationEmailTemplatesInput struct {

    // The maximum number of custom verification email templates to return. This
    // value must be at least 1 and less than or equal to 50. If you do not specify
    // a value, or if you specify a value less than 1 or greater than 50, the operation
    // will return up to 50 results.
    MaxResults *int64 `min:"1" type:"integer"`

    // An array the contains the name and creation time stamp for each template
    // in your Amazon SES account.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Represents a request to list the existing custom verification email templates for your account.

For more information about custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) in the Amazon SES Developer Guide.

func (ListCustomVerificationEmailTemplatesInput) GoString Uses

func (s ListCustomVerificationEmailTemplatesInput) GoString() string

GoString returns the string representation

func (*ListCustomVerificationEmailTemplatesInput) SetMaxResults Uses

func (s *ListCustomVerificationEmailTemplatesInput) SetMaxResults(v int64) *ListCustomVerificationEmailTemplatesInput

SetMaxResults sets the MaxResults field's value.

func (*ListCustomVerificationEmailTemplatesInput) SetNextToken Uses

func (s *ListCustomVerificationEmailTemplatesInput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesInput

SetNextToken sets the NextToken field's value.

func (ListCustomVerificationEmailTemplatesInput) String Uses

func (s ListCustomVerificationEmailTemplatesInput) String() string

String returns the string representation

func (*ListCustomVerificationEmailTemplatesInput) Validate Uses

func (s *ListCustomVerificationEmailTemplatesInput) Validate() error

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

type ListCustomVerificationEmailTemplatesOutput Uses

type ListCustomVerificationEmailTemplatesOutput struct {

    // A list of the custom verification email templates that exist in your account.
    CustomVerificationEmailTemplates []*CustomVerificationEmailTemplate `type:"list"`

    // A token indicating that there are additional custom verification email templates
    // available to be listed. Pass this token to a subsequent call to ListTemplates
    // to retrieve the next 50 custom verification email templates.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

A paginated list of custom verification email templates.

func (ListCustomVerificationEmailTemplatesOutput) GoString Uses

func (s ListCustomVerificationEmailTemplatesOutput) GoString() string

GoString returns the string representation

func (*ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates Uses

func (s *ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates(v []*CustomVerificationEmailTemplate) *ListCustomVerificationEmailTemplatesOutput

SetCustomVerificationEmailTemplates sets the CustomVerificationEmailTemplates field's value.

func (*ListCustomVerificationEmailTemplatesOutput) SetNextToken Uses

func (s *ListCustomVerificationEmailTemplatesOutput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesOutput

SetNextToken sets the NextToken field's value.

func (ListCustomVerificationEmailTemplatesOutput) String Uses

func (s ListCustomVerificationEmailTemplatesOutput) String() string

String returns the string representation

type ListIdentitiesInput Uses

type ListIdentitiesInput struct {

    // The type of the identities to list. Possible values are "EmailAddress" and
    // "Domain". If this parameter is omitted, then all identities will be listed.
    IdentityType *string `type:"string" enum:"IdentityType"`

    // The maximum number of identities per page. Possible values are 1-1000 inclusive.
    MaxItems *int64 `type:"integer"`

    // The token to use for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Represents a request to return a list of all identities (email addresses and domains) that you have attempted to verify under your AWS account, regardless of verification status.

func (ListIdentitiesInput) GoString Uses

func (s ListIdentitiesInput) GoString() string

GoString returns the string representation

func (*ListIdentitiesInput) SetIdentityType Uses

func (s *ListIdentitiesInput) SetIdentityType(v string) *ListIdentitiesInput

SetIdentityType sets the IdentityType field's value.

func (*ListIdentitiesInput) SetMaxItems Uses

func (s *ListIdentitiesInput) SetMaxItems(v int64) *ListIdentitiesInput

SetMaxItems sets the MaxItems field's value.

func (*ListIdentitiesInput) SetNextToken Uses

func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput

SetNextToken sets the NextToken field's value.

func (ListIdentitiesInput) String Uses

func (s ListIdentitiesInput) String() string

String returns the string representation

type ListIdentitiesOutput Uses

type ListIdentitiesOutput struct {

    // A list of identities.
    //
    // Identities is a required field
    Identities []*string `type:"list" required:"true"`

    // The token used for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

A list of all identities that you have attempted to verify under your AWS account, regardless of verification status.

func (ListIdentitiesOutput) GoString Uses

func (s ListIdentitiesOutput) GoString() string

GoString returns the string representation

func (*ListIdentitiesOutput) SetIdentities Uses

func (s *ListIdentitiesOutput) SetIdentities(v []*string) *ListIdentitiesOutput

SetIdentities sets the Identities field's value.

func (*ListIdentitiesOutput) SetNextToken Uses

func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput

SetNextToken sets the NextToken field's value.

func (ListIdentitiesOutput) String Uses

func (s ListIdentitiesOutput) String() string

String returns the string representation

type ListIdentityPoliciesInput Uses

type ListIdentityPoliciesInput struct {

    // The identity that is associated with the policy for which the policies will
    // be listed. You can specify an identity by using its name or by using its
    // Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
    //
    // To successfully call this API, you must own the identity.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to return a list of sending authorization policies that are attached to an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

func (ListIdentityPoliciesInput) GoString Uses

func (s ListIdentityPoliciesInput) GoString() string

GoString returns the string representation

func (*ListIdentityPoliciesInput) SetIdentity Uses

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

SetIdentity sets the Identity field's value.

func (ListIdentityPoliciesInput) String Uses

func (s ListIdentityPoliciesInput) String() string

String returns the string representation

func (*ListIdentityPoliciesInput) Validate Uses

func (s *ListIdentityPoliciesInput) Validate() error

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

type ListIdentityPoliciesOutput Uses

type ListIdentityPoliciesOutput struct {

    // A list of names of policies that apply to the specified identity.
    //
    // PolicyNames is a required field
    PolicyNames []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

A list of names of sending authorization policies that apply to an identity.

func (ListIdentityPoliciesOutput) GoString Uses

func (s ListIdentityPoliciesOutput) GoString() string

GoString returns the string representation

func (*ListIdentityPoliciesOutput) SetPolicyNames Uses

func (s *ListIdentityPoliciesOutput) SetPolicyNames(v []*string) *ListIdentityPoliciesOutput

SetPolicyNames sets the PolicyNames field's value.

func (ListIdentityPoliciesOutput) String Uses

func (s ListIdentityPoliciesOutput) String() string

String returns the string representation

type ListReceiptFiltersInput Uses

type ListReceiptFiltersInput struct {
    // contains filtered or unexported fields
}

Represents a request to list the IP address filters that exist under your AWS account. You use IP address filters when you 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).

func (ListReceiptFiltersInput) GoString Uses

func (s ListReceiptFiltersInput) GoString() string

GoString returns the string representation

func (ListReceiptFiltersInput) String Uses

func (s ListReceiptFiltersInput) String() string

String returns the string representation

type ListReceiptFiltersOutput Uses

type ListReceiptFiltersOutput struct {

    // A list of IP address filter data structures, which each consist of a name,
    // an IP address range, and whether to allow or block mail from it.
    Filters []*ReceiptFilter `type:"list"`
    // contains filtered or unexported fields
}

A list of IP address filters that exist under your AWS account.

func (ListReceiptFiltersOutput) GoString Uses

func (s ListReceiptFiltersOutput) GoString() string

GoString returns the string representation

func (*ListReceiptFiltersOutput) SetFilters Uses

func (s *ListReceiptFiltersOutput) SetFilters(v []*ReceiptFilter) *ListReceiptFiltersOutput

SetFilters sets the Filters field's value.

func (ListReceiptFiltersOutput) String Uses

func (s ListReceiptFiltersOutput) String() string

String returns the string representation

type ListReceiptRuleSetsInput Uses

type ListReceiptRuleSetsInput struct {

    // A token returned from a previous call to ListReceiptRuleSets to indicate
    // the position in the receipt rule set list.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Represents a request to list the receipt rule sets that exist under your AWS account. You use receipt rule sets 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).

func (ListReceiptRuleSetsInput) GoString Uses

func (s ListReceiptRuleSetsInput) GoString() string

GoString returns the string representation

func (*ListReceiptRuleSetsInput) SetNextToken Uses

func (s *ListReceiptRuleSetsInput) SetNextToken(v string) *ListReceiptRuleSetsInput

SetNextToken sets the NextToken field's value.

func (ListReceiptRuleSetsInput) String Uses

func (s ListReceiptRuleSetsInput) String() string

String returns the string representation

type ListReceiptRuleSetsOutput Uses

type ListReceiptRuleSetsOutput struct {

    // A token indicating that there are additional receipt rule sets available
    // to be listed. Pass this token to successive calls of ListReceiptRuleSets
    // to retrieve up to 100 receipt rule sets at a time.
    NextToken *string `type:"string"`

    // The metadata for the currently active receipt rule set. The metadata consists
    // of the rule set name and the timestamp of when the rule set was created.
    RuleSets []*ReceiptRuleSetMetadata `type:"list"`
    // contains filtered or unexported fields
}

A list of receipt rule sets that exist under your AWS account.

func (ListReceiptRuleSetsOutput) GoString Uses

func (s ListReceiptRuleSetsOutput) GoString() string

GoString returns the string representation

func (*ListReceiptRuleSetsOutput) SetNextToken Uses

func (s *ListReceiptRuleSetsOutput) SetNextToken(v string) *ListReceiptRuleSetsOutput

SetNextToken sets the NextToken field's value.

func (*ListReceiptRuleSetsOutput) SetRuleSets Uses

func (s *ListReceiptRuleSetsOutput) SetRuleSets(v []*ReceiptRuleSetMetadata) *ListReceiptRuleSetsOutput

SetRuleSets sets the RuleSets field's value.

func (ListReceiptRuleSetsOutput) String Uses

func (s ListReceiptRuleSetsOutput) String() string

String returns the string representation

type ListTemplatesInput Uses

type ListTemplatesInput struct {

    // The maximum number of templates to return. This value must be at least 1
    // and less than or equal to 10. If you do not specify a value, or if you specify
    // a value less than 1 or greater than 10, the operation will return up to 10
    // results.
    MaxItems *int64 `type:"integer"`

    // A token returned from a previous call to ListTemplates to indicate the position
    // in the list of email templates.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListTemplatesInput) GoString Uses

func (s ListTemplatesInput) GoString() string

GoString returns the string representation

func (*ListTemplatesInput) SetMaxItems Uses

func (s *ListTemplatesInput) SetMaxItems(v int64) *ListTemplatesInput

SetMaxItems sets the MaxItems field's value.

func (*ListTemplatesInput) SetNextToken Uses

func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput

SetNextToken sets the NextToken field's value.

func (ListTemplatesInput) String Uses

func (s ListTemplatesInput) String() string

String returns the string representation

type ListTemplatesOutput Uses

type ListTemplatesOutput struct {

    // A token indicating that there are additional email templates available to
    // be listed. Pass this token to a subsequent call to ListTemplates to retrieve
    // the next 50 email templates.
    NextToken *string `type:"string"`

    // An array the contains the name and creation time stamp for each template
    // in your Amazon SES account.
    TemplatesMetadata []*TemplateMetadata `type:"list"`
    // contains filtered or unexported fields
}

func (ListTemplatesOutput) GoString Uses

func (s ListTemplatesOutput) GoString() string

GoString returns the string representation

func (*ListTemplatesOutput) SetNextToken Uses

func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput

SetNextToken sets the NextToken field's value.

func (*ListTemplatesOutput) SetTemplatesMetadata Uses

func (s *ListTemplatesOutput) SetTemplatesMetadata(v []*TemplateMetadata) *ListTemplatesOutput

SetTemplatesMetadata sets the TemplatesMetadata field's value.

func (ListTemplatesOutput) String Uses

func (s ListTemplatesOutput) String() string

String returns the string representation

type ListVerifiedEmailAddressesInput Uses

type ListVerifiedEmailAddressesInput struct {
    // contains filtered or unexported fields
}

func (ListVerifiedEmailAddressesInput) GoString Uses

func (s ListVerifiedEmailAddressesInput) GoString() string

GoString returns the string representation

func (ListVerifiedEmailAddressesInput) String Uses

func (s ListVerifiedEmailAddressesInput) String() string

String returns the string representation

type ListVerifiedEmailAddressesOutput Uses

type ListVerifiedEmailAddressesOutput struct {

    // A list of email addresses that have been verified.
    VerifiedEmailAddresses []*string `type:"list"`
    // contains filtered or unexported fields
}

A list of email addresses that you have verified with Amazon SES under your AWS account.

func (ListVerifiedEmailAddressesOutput) GoString Uses

func (s ListVerifiedEmailAddressesOutput) GoString() string

GoString returns the string representation

func (*ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses Uses

func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []*string) *ListVerifiedEmailAddressesOutput

SetVerifiedEmailAddresses sets the VerifiedEmailAddresses field's value.

func (ListVerifiedEmailAddressesOutput) String Uses

func (s ListVerifiedEmailAddressesOutput) String() string

String returns the string representation

type Message Uses

type Message struct {

    // The message body.
    //
    // Body is a required field
    Body *Body `type:"structure" required:"true"`

    // The subject of the message: A short summary of the content, which will appear
    // in the recipient's inbox.
    //
    // Subject is a required field
    Subject *Content `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Represents the message to be sent, composed of a subject and a body.

func (Message) GoString Uses

func (s Message) GoString() string

GoString returns the string representation

func (*Message) SetBody Uses

func (s *Message) SetBody(v *Body) *Message

SetBody sets the Body field's value.

func (*Message) SetSubject Uses

func (s *Message) SetSubject(v *Content) *Message

SetSubject sets the Subject field's value.

func (Message) String Uses

func (s Message) String() string

String returns the string representation

func (*Message) Validate Uses

func (s *Message) Validate() error

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

type MessageDsn Uses

type MessageDsn struct {

    // When the message was received by the reporting mail transfer agent (MTA),
    // in RFC 822 (https://www.ietf.org/rfc/rfc0822.txt) date-time format.
    ArrivalDate *time.Time `type:"timestamp"`

    // Additional X-headers to include in the DSN.
    ExtensionFields []*ExtensionField `type:"list"`

    // The reporting MTA that attempted to deliver the message, formatted as specified
    // in RFC 3464 (https://tools.ietf.org/html/rfc3464) (mta-name-type; mta-name).
    // The default value is dns; inbound-smtp.[region].amazonaws.com.
    //
    // ReportingMta is a required field
    ReportingMta *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Message-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

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

func (MessageDsn) GoString Uses

func (s MessageDsn) GoString() string

GoString returns the string representation

func (*MessageDsn) SetArrivalDate Uses

func (s *MessageDsn) SetArrivalDate(v time.Time) *MessageDsn

SetArrivalDate sets the ArrivalDate field's value.

func (*MessageDsn) SetExtensionFields Uses

func (s *MessageDsn) SetExtensionFields(v []*ExtensionField) *MessageDsn

SetExtensionFields sets the ExtensionFields field's value.

func (*MessageDsn) SetReportingMta Uses

func (s *MessageDsn) SetReportingMta(v string) *MessageDsn

SetReportingMta sets the ReportingMta field's value.

func (MessageDsn) String Uses

func (s MessageDsn) String() string

String returns the string representation

func (*MessageDsn) Validate Uses

func (s *MessageDsn) Validate() error

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

type MessageTag Uses

type MessageTag struct {

    // The name of the tag. The name must:
    //
    //    * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9),
    //    underscores (_), or dashes (-).
    //
    //    * Contain less than 256 characters.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // The value of the tag. The value must:
    //
    //    * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9),
    //    underscores (_), or dashes (-).
    //
    //    * Contain less than 256 characters.
    //
    // Value is a required field
    Value *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to apply to an email.

Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

func (MessageTag) GoString Uses

func (s MessageTag) GoString() string

GoString returns the string representation

func (*MessageTag) SetName Uses

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

SetName sets the Name field's value.

func (*MessageTag) SetValue Uses

func (s *MessageTag) SetValue(v string) *MessageTag

SetValue sets the Value field's value.

func (MessageTag) String Uses

func (s MessageTag) String() string

String returns the string representation

func (*MessageTag) Validate Uses

func (s *MessageTag) Validate() error

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

type PutConfigurationSetDeliveryOptionsInput Uses

type PutConfigurationSetDeliveryOptionsInput struct {

    // The name of the configuration set that you want to specify the delivery options
    // for.
    //
    // ConfigurationSetName is a required field
    ConfigurationSetName *string `type:"string" required:"true"`

    // Specifies whether messages that use the configuration set are required to
    // use Transport Layer Security (TLS).
    DeliveryOptions *DeliveryOptions `type:"structure"`
    // contains filtered or unexported fields
}

A request to modify the delivery options for a configuration set.

func (PutConfigurationSetDeliveryOptionsInput) GoString Uses

func (s PutConfigurationSetDeliveryOptionsInput) GoString() string

GoString returns the string representation

func (*PutConfigurationSetDeliveryOptionsInput) SetConfigurationSetName Uses

func (s *PutConfigurationSetDeliveryOptionsInput) SetConfigurationSetName(v string) *PutConfigurationSetDeliveryOptionsInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetDeliveryOptionsInput) SetDeliveryOptions Uses

func (s *PutConfigurationSetDeliveryOptionsInput) SetDeliveryOptions(v *DeliveryOptions) *PutConfigurationSetDeliveryOptionsInput

SetDeliveryOptions sets the DeliveryOptions field's value.

func (PutConfigurationSetDeliveryOptionsInput) String Uses

func (s PutConfigurationSetDeliveryOptionsInput) String() string

String returns the string representation

func (*PutConfigurationSetDeliveryOptionsInput) Validate Uses

func (s *PutConfigurationSetDeliveryOptionsInput) Validate() error

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

type PutConfigurationSetDeliveryOptionsOutput Uses

type PutConfigurationSetDeliveryOptionsOutput struct {
    // contains filtered or unexported fields
}

An HTTP 200 response if the request succeeds, or an error message if the request fails.

func (PutConfigurationSetDeliveryOptionsOutput) GoString Uses

func (s PutConfigurationSetDeliveryOptionsOutput) GoString() string

GoString returns the string representation

func (PutConfigurationSetDeliveryOptionsOutput) String Uses

func (s PutConfigurationSetDeliveryOptionsOutput) String() string

String returns the string representation

type PutIdentityPolicyInput Uses

type PutIdentityPolicyInput struct {

    // The identity that the policy will apply to. You can specify an identity by
    // using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com,
    // example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
    //
    // To successfully call this API, you must own the identity.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`

    // The text of the policy in JSON format. The policy cannot exceed 4 KB.
    //
    // For information about the syntax of sending authorization policies, see the
    // Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html).
    //
    // Policy is a required field
    Policy *string `min:"1" type:"string" required:"true"`

    // The name of the policy.
    //
    // The policy name cannot exceed 64 characters and can only include alphanumeric
    // characters, dashes, and underscores.
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to add or update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

func (PutIdentityPolicyInput) GoString Uses

func (s PutIdentityPolicyInput) GoString() string

GoString returns the string representation

func (*PutIdentityPolicyInput) SetIdentity Uses

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

SetIdentity sets the Identity field's value.

func (*PutIdentityPolicyInput) SetPolicy Uses

func (s *PutIdentityPolicyInput) SetPolicy(v string) *PutIdentityPolicyInput

SetPolicy sets the Policy field's value.

func (*PutIdentityPolicyInput) SetPolicyName Uses

func (s *PutIdentityPolicyInput) SetPolicyName(v string) *PutIdentityPolicyInput

SetPolicyName sets the PolicyName field's value.

func (PutIdentityPolicyInput) String Uses

func (s PutIdentityPolicyInput) String() string

String returns the string representation

func (*PutIdentityPolicyInput) Validate Uses

func (s *PutIdentityPolicyInput) Validate() error

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

type PutIdentityPolicyOutput Uses

type PutIdentityPolicyOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (PutIdentityPolicyOutput) GoString Uses

func (s PutIdentityPolicyOutput) GoString() string

GoString returns the string representation

func (PutIdentityPolicyOutput) String Uses

func (s PutIdentityPolicyOutput) String() string

String returns the string representation

type RawMessage Uses

type RawMessage struct {

    // The raw data of the message. This data needs to base64-encoded if you are
    // accessing Amazon SES directly through the HTTPS interface. If you are accessing
    // Amazon SES using an AWS SDK, the SDK takes care of the base 64-encoding for
    // you. In all cases, the client must ensure that the message format complies
    // with Internet email standards regarding email header fields, MIME types,
    // and MIME encoding.
    //
    // The To:, CC:, and BCC: headers in the raw message can contain a group list.
    //
    // If you are using SendRawEmail with sending authorization, you can include
    // X-headers in the raw message to specify the "Source," "From," and "Return-Path"
    // addresses. For more information, see the documentation for SendRawEmail.
    //
    // Do not include these X-headers in the DKIM signature, because they are removed
    // by Amazon SES before sending the email.
    //
    // For more information, go to the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html).
    //
    // Data is automatically base64 encoded/decoded by the SDK.
    //
    // Data is a required field
    Data []byte `type:"blob" required:"true"`
    // contains filtered or unexported fields
}

Represents the raw data of the message.

func (RawMessage) GoString Uses

func (s RawMessage) GoString() string

GoString returns the string representation

func (*RawMessage) SetData Uses

func (s *RawMessage) SetData(v []byte) *RawMessage

SetData sets the Data field's value.

func (RawMessage) String Uses

func (s RawMessage) String() string

String returns the string representation

func (*RawMessage) Validate Uses

func (s *RawMessage) Validate() error

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

type ReceiptAction Uses

type ReceiptAction struct {

    // Adds a header to the received email.
    AddHeaderAction *AddHeaderAction `type:"structure"`

    // Rejects the received email by returning a bounce response to the sender and,
    // optionally, publishes a notification to Amazon Simple Notification Service
    // (Amazon SNS).
    BounceAction *BounceAction `type:"structure"`

    // Calls an AWS Lambda function, and optionally, publishes a notification to
    // Amazon SNS.
    LambdaAction *LambdaAction `type:"structure"`

    // Saves the received message to an Amazon Simple Storage Service (Amazon S3)
    // bucket and, optionally, publishes a notification to Amazon SNS.
    S3Action *S3Action `type:"structure"`

    // Publishes the email content within a notification to Amazon SNS.
    SNSAction *SNSAction `type:"structure"`

    // Terminates the evaluation of the receipt rule set and optionally publishes
    // a notification to Amazon SNS.
    StopAction *StopAction `type:"structure"`

    // Calls Amazon WorkMail and, optionally, publishes a notification to Amazon
    // Amazon SNS.
    WorkmailAction *WorkmailAction `type:"structure"`
    // contains filtered or unexported fields
}

An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

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).

func (ReceiptAction) GoString Uses

func (s ReceiptAction) GoString() string

GoString returns the string representation

func (*ReceiptAction) SetAddHeaderAction Uses

func (s *ReceiptAction) SetAddHeaderAction(v *AddHeaderAction) *ReceiptAction

SetAddHeaderAction sets the AddHeaderAction field's value.

func (*ReceiptAction) SetBounceAction Uses

func (s *ReceiptAction) SetBounceAction(v *BounceAction) *ReceiptAction

SetBounceAction sets the BounceAction field's value.

func (*ReceiptAction) SetLambdaAction Uses

func (s *ReceiptAction) SetLambdaAction(v *LambdaAction) *ReceiptAction

SetLambdaAction sets the LambdaAction field's value.

func (*ReceiptAction) SetS3Action Uses

func (s *ReceiptAction) SetS3Action(v *S3Action) *ReceiptAction

SetS3Action sets the S3Action field's value.

func (*ReceiptAction) SetSNSAction Uses

func (s *ReceiptAction) SetSNSAction(v *SNSAction) *ReceiptAction

SetSNSAction sets the SNSAction field's value.

func (*ReceiptAction) SetStopAction Uses

func (s *ReceiptAction) SetStopAction(v *StopAction) *ReceiptAction

SetStopAction sets the StopAction field's value.

func (*ReceiptAction) SetWorkmailAction Uses

func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction

SetWorkmailAction sets the WorkmailAction field's value.

func (ReceiptAction) String Uses

func (s ReceiptAction) String() string

String returns the string representation

func (*ReceiptAction) Validate Uses

func (s *ReceiptAction) Validate() error

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

type ReceiptFilter Uses

type ReceiptFilter struct {

    // A structure that provides the IP addresses to block or allow, and whether
    // to block or allow incoming mail from them.
    //
    // IpFilter is a required field
    IpFilter *ReceiptIpFilter `type:"structure" required:"true"`

    // 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
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

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).

func (ReceiptFilter) GoString Uses

func (s ReceiptFilter) GoString() string

GoString returns the string representation

func (*ReceiptFilter) SetIpFilter Uses

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

SetIpFilter sets the IpFilter field's value.

func (*ReceiptFilter) SetName Uses

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

SetName sets the Name field's value.

func (ReceiptFilter) String Uses

func (s ReceiptFilter) String() string

String returns the string representation

func (*ReceiptFilter) Validate Uses

func (s *ReceiptFilter) Validate() error

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

type ReceiptIpFilter Uses

type ReceiptIpFilter struct {

    // A single IP address or a range of IP addresses that you want to block or
    // allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example
    // of a single email address is 10.0.0.1. An example of a range of IP addresses
    // is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317 (https://tools.ietf.org/html/rfc2317).
    //
    // Cidr is a required field
    Cidr *string `type:"string" required:"true"`

    // Indicates whether to block or allow incoming mail from the specified IP addresses.
    //
    // Policy is a required field
    Policy *string `type:"string" required:"true" enum:"ReceiptFilterPolicy"`
    // contains filtered or unexported fields
}

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).

func (ReceiptIpFilter) GoString Uses

func (s ReceiptIpFilter) GoString() string

GoString returns the string representation

func (*ReceiptIpFilter) SetCidr Uses

func (s *ReceiptIpFilter) SetCidr(v string) *ReceiptIpFilter

SetCidr sets the Cidr field's value.

func (*ReceiptIpFilter) SetPolicy Uses

func (s *ReceiptIpFilter) SetPolicy(v string) *ReceiptIpFilter

SetPolicy sets the Policy field's value.

func (ReceiptIpFilter) String Uses

func (s ReceiptIpFilter) String() string

String returns the string representation

func (*ReceiptIpFilter) Validate Uses

func (s *ReceiptIpFilter) Validate() error

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

type ReceiptRule Uses

type ReceiptRule struct {

    // An ordered list of actions to perform on messages that match at least one
    // of the recipient email addresses or domains specified in the receipt rule.
    Actions []*ReceiptAction `type:"list"`

    // If true, the receipt rule is active. The default value is false.
    Enabled *bool `type:"boolean"`

    // The name of the receipt rule. 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
    Name *string `type:"string" required:"true"`

    // The recipient domains and email addresses that the receipt rule applies to.
    // If this field is not specified, this rule will match all recipients under
    // all verified domains.
    Recipients []*string `type:"list"`

    // If true, then messages that this receipt rule applies to are scanned for
    // spam and viruses. The default value is false.
    ScanEnabled *bool `type:"boolean"`

    // Specifies whether Amazon SES should require that incoming email is delivered
    // over a connection encrypted with Transport Layer Security (TLS). If this
    // parameter is set to Require, Amazon SES will bounce emails that are not received
    // over TLS. The default is Optional.
    TlsPolicy *string `type:"string" enum:"TlsPolicy"`
    // contains filtered or unexported fields
}

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).

func (ReceiptRule) GoString Uses

func (s ReceiptRule) GoString() string

GoString returns the string representation

func (*ReceiptRule) SetActions Uses

func (s *ReceiptRule) SetActions(v []*ReceiptAction) *ReceiptRule

SetActions sets the Actions field's value.

func (*ReceiptRule) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (*ReceiptRule) SetName Uses

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

SetName sets the Name field's value.

func (*ReceiptRule) SetRecipients Uses

func (s *ReceiptRule) SetRecipients(v []*string) *ReceiptRule

SetRecipients sets the Recipients field's value.

func (*ReceiptRule) SetScanEnabled Uses

func (s *ReceiptRule) SetScanEnabled(v bool) *ReceiptRule

SetScanEnabled sets the ScanEnabled field's value.

func (*ReceiptRule) SetTlsPolicy Uses

func (s *ReceiptRule) SetTlsPolicy(v string) *ReceiptRule

SetTlsPolicy sets the TlsPolicy field's value.

func (ReceiptRule) String Uses

func (s ReceiptRule) String() string

String returns the string representation

func (*ReceiptRule) Validate Uses

func (s *ReceiptRule) Validate() error

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

type ReceiptRuleSetMetadata Uses

type ReceiptRuleSetMetadata struct {

    // The date and time the receipt rule set was created.
    CreatedTimestamp *time.Time `type:"timestamp"`

    // The name of the receipt rule set. 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 *string `type:"string"`
    // contains filtered or unexported fields
}

Information about a receipt rule set.

A receipt rule set is a collection of rules that specify what Amazon SES should do with mail it receives on behalf of your account's verified domains.

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

func (ReceiptRuleSetMetadata) GoString Uses

func (s ReceiptRuleSetMetadata) GoString() string

GoString returns the string representation

func (*ReceiptRuleSetMetadata) SetCreatedTimestamp Uses

func (s *ReceiptRuleSetMetadata) SetCreatedTimestamp(v time.Time) *ReceiptRuleSetMetadata

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ReceiptRuleSetMetadata) SetName Uses

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

SetName sets the Name field's value.

func (ReceiptRuleSetMetadata) String Uses

func (s ReceiptRuleSetMetadata) String() string

String returns the string representation

type RecipientDsnFields Uses

type RecipientDsnFields struct {

    // The action performed by the reporting mail transfer agent (MTA) as a result
    // of its attempt to deliver the message to the recipient address. This is required
    // by RFC 3464 (https://tools.ietf.org/html/rfc3464).
    //
    // Action is a required field
    Action *string `type:"string" required:"true" enum:"DsnAction"`

    // An extended explanation of what went wrong; this is usually an SMTP response.
    // See RFC 3463 (https://tools.ietf.org/html/rfc3463) for the correct formatting
    // of this parameter.
    DiagnosticCode *string `type:"string"`

    // Additional X-headers to include in the DSN.
    ExtensionFields []*ExtensionField `type:"list"`

    // The email address that the message was ultimately delivered to. This corresponds
    // to the Final-Recipient in the DSN. If not specified, FinalRecipient will
    // be set to the Recipient specified in the BouncedRecipientInfo structure.
    // Either FinalRecipient or the recipient in BouncedRecipientInfo must be a
    // recipient of the original bounced message.
    //
    // Do not prepend the FinalRecipient email address with rfc 822;, as described
    // in RFC 3798 (https://tools.ietf.org/html/rfc3798).
    FinalRecipient *string `type:"string"`

    // The time the final delivery attempt was made, in RFC 822 (https://www.ietf.org/rfc/rfc0822.txt)
    // date-time format.
    LastAttemptDate *time.Time `type:"timestamp"`

    // The MTA to which the remote MTA attempted to deliver the message, formatted
    // as specified in RFC 3464 (https://tools.ietf.org/html/rfc3464) (mta-name-type;
    // mta-name). This parameter typically applies only to propagating synchronous
    // bounces.
    RemoteMta *string `type:"string"`

    // The status code that indicates what went wrong. This is required by RFC 3464
    // (https://tools.ietf.org/html/rfc3464).
    //
    // Status is a required field
    Status *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.

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

func (RecipientDsnFields) GoString Uses

func (s RecipientDsnFields) GoString() string

GoString returns the string representation

func (*RecipientDsnFields) SetAction Uses

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

SetAction sets the Action field's value.

func (*RecipientDsnFields) SetDiagnosticCode Uses

func (s *RecipientDsnFields) SetDiagnosticCode(v string) *RecipientDsnFields

SetDiagnosticCode sets the DiagnosticCode field's value.

func (*RecipientDsnFields) SetExtensionFields Uses

func (s *RecipientDsnFields) SetExtensionFields(v []*ExtensionField) *RecipientDsnFields

SetExtensionFields sets the ExtensionFields field's value.

func (*RecipientDsnFields) SetFinalRecipient Uses

func (s *RecipientDsnFields) SetFinalRecipient(v string) *RecipientDsnFields

SetFinalRecipient sets the FinalRecipient field's value.

func (*RecipientDsnFields) SetLastAttemptDate Uses

func (s *RecipientDsnFields) SetLastAttemptDate(v time.Time) *RecipientDsnFields

SetLastAttemptDate sets the LastAttemptDate field's value.

func (*RecipientDsnFields) SetRemoteMta Uses

func (s *RecipientDsnFields) SetRemoteMta(v string) *RecipientDsnFields

SetRemoteMta sets the RemoteMta field's value.

func (*RecipientDsnFields) SetStatus Uses

func (s *RecipientDsnFields) SetStatus(v string) *RecipientDsnFields

SetStatus sets the Status field's value.

func (RecipientDsnFields) String Uses

func (s RecipientDsnFields) String() string

String returns the string representation

func (*RecipientDsnFields) Validate Uses

func (s *RecipientDsnFields) Validate() error

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

type ReorderReceiptRuleSetInput Uses

type ReorderReceiptRuleSetInput struct {

    // A list of the specified receipt rule set's receipt rules in the order that
    // you want to put them.
    //
    // RuleNames is a required field
    RuleNames []*string `type:"list" required:"true"`

    // The name of the receipt rule set to reorder.
    //
    // RuleSetName is a required field
    RuleSetName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Represents a request to reorder the receipt rules within a receipt rule set. You use receipt rule sets 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).

func (ReorderReceiptRuleSetInput) GoString Uses

func (s ReorderReceiptRuleSetInput) GoString() string

GoString returns the string representation

func (*ReorderReceiptRuleSetInput) SetRuleNames Uses

func (s *ReorderReceiptRuleSetInput) SetRuleNames(v []*string) *ReorderReceiptRuleSetInput

SetRuleNames sets the RuleNames field's value.

func (*ReorderReceiptRuleSetInput) SetRuleSetName Uses

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

SetRuleSetName sets the RuleSetName field's value.

func (ReorderReceiptRuleSetInput) String Uses

func (s ReorderReceiptRuleSetInput) String() string

String returns the string representation

func (*ReorderReceiptRuleSetInput) Validate Uses

func (s *ReorderReceiptRuleSetInput) Validate() error

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

type ReorderReceiptRuleSetOutput Uses

type ReorderReceiptRuleSetOutput struct {
    // contains filtered or unexported fields
}

An empty element returned on a successful request.

func (ReorderReceiptRuleSetOutput) GoString Uses

func (s ReorderReceiptRuleSetOutput) GoString() string

GoString returns the string representation

func (ReorderReceiptRuleSetOutput) String Uses

func (s ReorderReceiptRuleSetOutput) String() string

String returns the string representation

type ReputationOptions Uses

type ReputationOptions struct {

    // The date and time at which the reputation metrics for the configuration set
    // were last reset. Resetting these metrics is known as a fresh start.
    //
    // When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
    // and later re-enable it, the reputation metrics for the configuration set
    // (but not for the entire Amazon SES account) are reset.
    //
    // If email sending for the configuration set has never been disabled and later
    // re-enabled, the value of this attribute is null.
    LastFreshStart *time.Time `type:"timestamp"`

    // Describes whether or not Amazon SES publishes reputation metrics for the
    // configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
    //
    // If the value is true, reputation metrics are published. If the value is false,
    // reputation metrics are not published. The default value is false.
    ReputationMetricsEnabled *bool `type:"boolean"`

    // Describes whether email sending is enabled or disabled for the configuration
    // set. If the value is true, then Amazon SES will send emails that use the
    // configuration set. If the value is false, Amazon SES will not send emails
    // that use the configuration set. The default value is true. You can change
    // this setting using UpdateConfigurationSetSendingEnabled.
    SendingEnabled *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Contains information about the reputation settings for a configuration set.

func (ReputationOptions) GoString Uses

func (s ReputationOptions) GoString() string

GoString returns the string representation

func (*ReputationOptions) SetLastFreshStart Uses

func (s *ReputationOptions) SetLastFreshStart(v time.Time) *ReputationOptions

SetLastFreshStart sets the LastFreshStart field's value.

func (*ReputationOptions) SetReputationMetricsEnabled Uses

func (s *ReputationOptions) SetReputationMetricsEnabled(v bool) *ReputationOptions

SetReputationMetricsEnabled sets the ReputationMetricsEnabled field's value.

func (*ReputationOptions) SetSendingEnabled Uses

func (s *ReputationOptions) SetSendingEnabled(v bool) *ReputationOptions

SetSendingEnabled sets the SendingEnabled field's value.

func (ReputationOptions) String Uses

func (s ReputationOptions) String() string

String returns the string representation

type S3Action Uses

type S3Action struct {

    // The name of the Amazon S3 bucket that incoming email will be saved to.
    //
    // BucketName is a required field
    BucketName *string `type:"string" required:"true"`

    // The customer master key that Amazon SES should use to encrypt your emails
    // before saving them to the Amazon S3 bucket. You can use the default master
    // key or a custom master key you created in AWS KMS as follows:
    //
    //    * To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses.
    //    For example, if your AWS account ID is 123456789012 and you want to use
    //    the default master key in the US West (Oregon) region, the ARN of the
    //    default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses.
    //    If you use the default master key, you don't need to perform any extra
    //    steps to give Amazon SES permission to use the key.
    //
    //    * To use a custom master key you created in AWS KMS, provide the ARN of
    //    the master key and ensure that you add a statement to your key's policy
    //    to give Amazon SES permission to use it. For more information about giving
    //    permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
    //
    // For more information about key policies, see the AWS KMS Developer Guide
    // (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html). If
    // you do not specify a master key, Amazon SES will not encrypt your emails.
    //
    // Your mail is encrypted by Amazon SES using the Amazon S3 encryption client
    // before the mail is submitted to Amazon S3 for storage. It is not encrypted
    // using Amazon S3 server-side encryption. This means that you must use the
    // Amazon S3 encryption client to decrypt the email after retrieving it from
    // Amazon S3, as the service has no access to use your AWS KMS keys for decryption.
    // This encryption client is currently available with the AWS SDK for Java (http://aws.amazon.com/sdk-for-java/)
    // and AWS SDK for Ruby (http://aws.amazon.com/sdk-for-ruby/) only. For more
    // information about client-side encryption using AWS KMS master keys, see the
    // Amazon S3 Developer Guide (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html).
    KmsKeyArn *string `type:"string"`

    // The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory
    // name that enables you to store similar data under the same directory in a
    // bucket.
    ObjectKeyPrefix *string `type:"string"`

    // The ARN of the Amazon SNS topic to notify when the message is saved to the
    // Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic.
    // For more information about Amazon SNS topics, see the Amazon SNS Developer
    // Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
    TopicArn *string `type:"string"`
    // contains filtered or unexported fields
}

When included in a receipt rule, this action saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

To enable Amazon SES to write emails to your Amazon S3 bucket, use an AWS KMS key to encrypt your emails, or publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).

When you save your emails to an Amazon S3 bucket, the maximum email size (including headers) is 30 MB. Emails larger than that will bounce.

For information about specifying Amazon S3 actions in receipt rules, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html).

func (S3Action) GoString Uses

func (s S3Action) GoString() string

GoString returns the string representation

func (*S3Action) SetBucketName Uses

func (s *S3Action) SetBucketName(v string) *S3Action

SetBucketName sets the BucketName field's value.

func (*S3Action) SetKmsKeyArn Uses

func (s *S3Action) SetKmsKeyArn(v string) *S3Action

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*S3Action) SetObjectKeyPrefix Uses

func (s *S3Action) SetObjectKeyPrefix(v string) *S3Action

SetObjectKeyPrefix sets the ObjectKeyPrefix field's value.

func (*S3Action) SetTopicArn Uses

func (s *S3Action) SetTopicArn(v string) *S3Action

SetTopicArn sets the TopicArn field's value.

func (S3Action) String Uses

func (s S3Action) String() string

String returns the string representation

func (*S3Action) Validate Uses

func (s *S3Action) Validate() error

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

type SES Uses

type SES struct {
    *client.Client
}

SES provides the API operation methods for making requests to Amazon Simple Email Service. See this package's package overview docs for details on the service.

SES methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *SES

New creates a new instance of the SES client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a SES client from just a session.
svc := ses.New(mySession)

// Create a SES client with additional configuration
svc := ses.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*SES) CloneReceiptRuleSet Uses

func (c *SES) CloneReceiptRuleSet(input *CloneReceiptRuleSetInput) (*CloneReceiptRuleSetOutput, error)

CloneReceiptRuleSet API operation for Amazon Simple Email Service.

Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

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

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CloneReceiptRuleSet for usage and error information.

Returned Error Codes:

* ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
Indicates that the provided receipt rule set does not exist.

* ErrCodeAlreadyExistsException "AlreadyExists"
Indicates that a resource could not be created because of a naming conflict.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet

CloneReceiptRuleSet

The following example creates a receipt rule set by cloning an existing one:

Code:

svc := ses.New(session.New())
input := &ses.CloneReceiptRuleSetInput{
    OriginalRuleSetName: aws.String("RuleSetToClone"),
    RuleSetName:         aws.String("RuleSetToCreate"),
}

result, err := svc.CloneReceiptRuleSet(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case ses.ErrCodeRuleSetDoesNotExistException:
            fmt.Println(ses.ErrCodeRuleSetDoesNotExistException, aerr.Error())
        case ses.ErrCodeAlreadyExistsException:
            fmt.Println(ses.ErrCodeAlreadyExistsException, aerr.Error())
        case ses.ErrCodeLimitExceededException:
            fmt.Println(ses.ErrCodeLimitExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) CloneReceiptRuleSetRequest Uses

func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req *request.Request, output *CloneReceiptRuleSetOutput)

CloneReceiptRuleSetRequest generates a "aws/request.Request" representing the client's request for the CloneReceiptRuleSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CloneReceiptRuleSet for more information on using the CloneReceiptRuleSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CloneReceiptRuleSetRequest method.
req, resp := client.CloneReceiptRuleSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet

func (*SES) CloneReceiptRuleSetWithContext Uses

func (c *SES) CloneReceiptRuleSetWithContext(ctx aws.Context, input *CloneReceiptRuleSetInput, opts ...request.Option) (*CloneReceiptRuleSetOutput, error)

CloneReceiptRuleSetWithContext is the same as CloneReceiptRuleSet with the addition of the ability to pass a context and additional request options.

See CloneReceiptRuleSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateConfigurationSet Uses

func (c *SES) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error)

CreateConfigurationSet API operation for Amazon Simple Email Service.

Creates a configuration set.

Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateConfigurationSet for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetAlreadyExistsException "ConfigurationSetAlreadyExists"
Indicates that the configuration set could not be created because of a naming
conflict.

* ErrCodeInvalidConfigurationSetException "InvalidConfigurationSet"
Indicates that the configuration set is invalid. See the error message for
details.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet

func (*SES) CreateConfigurationSetEventDestination Uses

func (c *SES) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error)

CreateConfigurationSetEventDestination API operation for Amazon Simple Email Service.

Creates a configuration set event destination.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateConfigurationSetEventDestination for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
Indicates that the configuration set does not exist.

* ErrCodeEventDestinationAlreadyExistsException "EventDestinationAlreadyExists"
Indicates that the event destination could not be created because of a naming
conflict.

* ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination"
Indicates that the Amazon CloudWatch destination is invalid. See the error
message for details.

* ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination"
Indicates that the Amazon Kinesis Firehose destination is invalid. See the
error message for details.

* ErrCodeInvalidSNSDestinationException "InvalidSNSDestination"
Indicates that the Amazon Simple Notification Service (Amazon SNS) destination
is invalid. See the error message for details.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination

func (*SES) CreateConfigurationSetEventDestinationRequest Uses

func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput)

CreateConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the client's request for the CreateConfigurationSetEventDestination operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfigurationSetEventDestination for more information on using the CreateConfigurationSetEventDestination API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConfigurationSetEventDestinationRequest method.
req, resp := client.CreateConfigurationSetEventDestinationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination

func (*SES) CreateConfigurationSetEventDestinationWithContext Uses

func (c *SES) CreateConfigurationSetEventDestinationWithContext(ctx aws.Context, input *CreateConfigurationSetEventDestinationInput, opts ...request.Option) (*CreateConfigurationSetEventDestinationOutput, error)

CreateConfigurationSetEventDestinationWithContext is the same as CreateConfigurationSetEventDestination with the addition of the ability to pass a context and additional request options.

See CreateConfigurationSetEventDestination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateConfigurationSetRequest Uses

func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput)

CreateConfigurationSetRequest generates a "aws/request.Request" representing the client's request for the CreateConfigurationSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfigurationSet for more information on using the CreateConfigurationSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConfigurationSetRequest method.
req, resp := client.CreateConfigurationSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet

func (*SES) CreateConfigurationSetTrackingOptions Uses

func (c *SES) CreateConfigurationSetTrackingOptions(input *CreateConfigurationSetTrackingOptionsInput) (*CreateConfigurationSetTrackingOptionsOutput, error)

CreateConfigurationSetTrackingOptions API operation for Amazon Simple Email Service.

Creates an association between a configuration set and a custom domain for open and click event tracking.

By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateConfigurationSetTrackingOptions for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
Indicates that the configuration set does not exist.

* ErrCodeTrackingOptionsAlreadyExistsException "TrackingOptionsAlreadyExistsException"
Indicates that the configuration set you specified already contains a TrackingOptions
object.

* ErrCodeInvalidTrackingOptionsException "InvalidTrackingOptions"
Indicates that the custom domain to be used for open and click tracking redirects
is invalid. This error appears most often in the following situations:

   * When the tracking domain you specified is not verified in Amazon SES.

   * When the tracking domain you specified is not a valid domain or subdomain.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions

func (*SES) CreateConfigurationSetTrackingOptionsRequest Uses

func (c *SES) CreateConfigurationSetTrackingOptionsRequest(input *CreateConfigurationSetTrackingOptionsInput) (req *request.Request, output *CreateConfigurationSetTrackingOptionsOutput)

CreateConfigurationSetTrackingOptionsRequest generates a "aws/request.Request" representing the client's request for the CreateConfigurationSetTrackingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfigurationSetTrackingOptions for more information on using the CreateConfigurationSetTrackingOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConfigurationSetTrackingOptionsRequest method.
req, resp := client.CreateConfigurationSetTrackingOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions

func (*SES) CreateConfigurationSetTrackingOptionsWithContext Uses

func (c *SES) CreateConfigurationSetTrackingOptionsWithContext(ctx aws.Context, input *CreateConfigurationSetTrackingOptionsInput, opts ...request.Option) (*CreateConfigurationSetTrackingOptionsOutput, error)

CreateConfigurationSetTrackingOptionsWithContext is the same as CreateConfigurationSetTrackingOptions with the addition of the ability to pass a context and additional request options.

See CreateConfigurationSetTrackingOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateConfigurationSetWithContext Uses

func (c *SES) CreateConfigurationSetWithContext(ctx aws.Context, input *CreateConfigurationSetInput, opts ...request.Option) (*CreateConfigurationSetOutput, error)

CreateConfigurationSetWithContext is the same as CreateConfigurationSet with the addition of the ability to pass a context and additional request options.

See CreateConfigurationSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateCustomVerificationEmailTemplate Uses

func (c *SES) CreateCustomVerificationEmailTemplate(input *CreateCustomVerificationEmailTemplateInput) (*CreateCustomVerificationEmailTemplateOutput, error)

CreateCustomVerificationEmailTemplate API operation for Amazon Simple Email Service.

Creates a new custom verification email template.

For more information about custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateCustomVerificationEmailTemplate for usage and error information.

Returned Error Codes:

* ErrCodeCustomVerificationEmailTemplateAlreadyExistsException "CustomVerificationEmailTemplateAlreadyExists"
Indicates that a custom verification email template with the name you specified
already exists.

* ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified"
Indicates that the sender address specified for a custom verification email
is not verified, and is therefore not eligible to send the custom verification
email.

* ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent"
Indicates that custom verification email template provided content is invalid.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate

func (*SES) CreateCustomVerificationEmailTemplateRequest Uses

func (c *SES) CreateCustomVerificationEmailTemplateRequest(input *CreateCustomVerificationEmailTemplateInput) (req *request.Request, output *CreateCustomVerificationEmailTemplateOutput)

CreateCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateCustomVerificationEmailTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCustomVerificationEmailTemplate for more information on using the CreateCustomVerificationEmailTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCustomVerificationEmailTemplateRequest method.
req, resp := client.CreateCustomVerificationEmailTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate

func (*SES) CreateCustomVerificationEmailTemplateWithContext Uses

func (c *SES) CreateCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *CreateCustomVerificationEmailTemplateInput, opts ...request.Option) (*CreateCustomVerificationEmailTemplateOutput, error)

CreateCustomVerificationEmailTemplateWithContext is the same as CreateCustomVerificationEmailTemplate with the addition of the ability to pass a context and additional request options.

See CreateCustomVerificationEmailTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateReceiptFilter Uses

func (c *SES) CreateReceiptFilter(input *CreateReceiptFilterInput) (*CreateReceiptFilterOutput, error)

CreateReceiptFilter API operation for Amazon Simple Email Service.

Creates a new IP address filter.

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).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateReceiptFilter for usage and error information.

Returned Error Codes:

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

* ErrCodeAlreadyExistsException "AlreadyExists"
Indicates that a resource could not be created because of a naming conflict.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter

CreateReceiptFilter

The following example creates a new IP address filter:

Code:

svc := ses.New(session.New())
input := &ses.CreateReceiptFilterInput{
    Filter: &ses.ReceiptFilter{
        IpFilter: &ses.ReceiptIpFilter{
            Cidr:   aws.String("1.2.3.4/24"),
            Policy: aws.String("Allow"),
        },
        Name: aws.String("MyFilter"),
    },
}

result, err := svc.CreateReceiptFilter(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case ses.ErrCodeLimitExceededException:
            fmt.Println(ses.ErrCodeLimitExceededException, aerr.Error())
        case ses.ErrCodeAlreadyExistsException:
            fmt.Println(ses.ErrCodeAlreadyExistsException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) CreateReceiptFilterRequest Uses

func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req *request.Request, output *CreateReceiptFilterOutput)

CreateReceiptFilterRequest generates a "aws/request.Request" representing the client's request for the CreateReceiptFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReceiptFilter for more information on using the CreateReceiptFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReceiptFilterRequest method.
req, resp := client.CreateReceiptFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter

func (*SES) CreateReceiptFilterWithContext Uses

func (c *SES) CreateReceiptFilterWithContext(ctx aws.Context, input *CreateReceiptFilterInput, opts ...request.Option) (*CreateReceiptFilterOutput, error)

CreateReceiptFilterWithContext is the same as CreateReceiptFilter with the addition of the ability to pass a context and additional request options.

See CreateReceiptFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateReceiptRule Uses

func (c *SES) CreateReceiptRule(input *CreateReceiptRuleInput) (*CreateReceiptRuleOutput, error)

CreateReceiptRule API operation for Amazon Simple Email Service.

Creates a receipt rule.

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).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateReceiptRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidSnsTopicException "InvalidSnsTopic"
Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
could not publish to the topic, possibly due to permissions issues. For information
about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).

* ErrCodeInvalidS3ConfigurationException "InvalidS3Configuration"
Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is
invalid, or that Amazon SES could not publish to the bucket, possibly due
to permissions issues. For information about giving permissions, see the
Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).

* ErrCodeInvalidLambdaFunctionException "InvalidLambdaFunction"
Indicates that the provided AWS Lambda function is invalid, or that Amazon
SES could not execute the provided function, possibly due to permissions
issues. For information about giving permissions, see the Amazon SES Developer
Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).

* ErrCodeAlreadyExistsException "AlreadyExists"
Indicates that a resource could not be created because of a naming conflict.

* ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
Indicates that the provided receipt rule does not exist.

* ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
Indicates that the provided receipt rule set does not exist.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule

CreateReceiptRule

The following example creates a new receipt rule:

Code:

svc := ses.New(session.New())
input := &ses.CreateReceiptRuleInput{
    After: aws.String(""),
    Rule: &ses.ReceiptRule{
        Actions: []*ses.ReceiptAction{
            {
                S3Action: &ses.S3Action{
                    BucketName:      aws.String("MyBucket"),
                    ObjectKeyPrefix: aws.String("email"),
                },
            },
        },
        Enabled:     aws.Bool(true),
        Name:        aws.String("MyRule"),
        ScanEnabled: aws.Bool(true),
        TlsPolicy:   aws.String("Optional"),
    },
    RuleSetName: aws.String("MyRuleSet"),
}

result, err := svc.CreateReceiptRule(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case ses.ErrCodeInvalidSnsTopicException:
            fmt.Println(ses.ErrCodeInvalidSnsTopicException, aerr.Error())
        case ses.ErrCodeInvalidS3ConfigurationException:
            fmt.Println(ses.ErrCodeInvalidS3ConfigurationException, aerr.Error())
        case ses.ErrCodeInvalidLambdaFunctionException:
            fmt.Println(ses.ErrCodeInvalidLambdaFunctionException, aerr.Error())
        case ses.ErrCodeAlreadyExistsException:
            fmt.Println(ses.ErrCodeAlreadyExistsException, aerr.Error())
        case ses.ErrCodeRuleDoesNotExistException:
            fmt.Println(ses.ErrCodeRuleDoesNotExistException, aerr.Error())
        case ses.ErrCodeRuleSetDoesNotExistException:
            fmt.Println(ses.ErrCodeRuleSetDoesNotExistException, aerr.Error())
        case ses.ErrCodeLimitExceededException:
            fmt.Println(ses.ErrCodeLimitExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) CreateReceiptRuleRequest Uses

func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *request.Request, output *CreateReceiptRuleOutput)

CreateReceiptRuleRequest generates a "aws/request.Request" representing the client's request for the CreateReceiptRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReceiptRule for more information on using the CreateReceiptRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReceiptRuleRequest method.
req, resp := client.CreateReceiptRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule

func (*SES) CreateReceiptRuleSet Uses

func (c *SES) CreateReceiptRuleSet(input *CreateReceiptRuleSetInput) (*CreateReceiptRuleSetOutput, error)

CreateReceiptRuleSet API operation for Amazon Simple Email Service.

Creates an empty receipt rule set.

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

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateReceiptRuleSet for usage and error information.

Returned Error Codes:

* ErrCodeAlreadyExistsException "AlreadyExists"
Indicates that a resource could not be created because of a naming conflict.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet

CreateReceiptRuleSet

The following example creates an empty receipt rule set:

Code:

svc := ses.New(session.New())
input := &ses.CreateReceiptRuleSetInput{
    RuleSetName: aws.String("MyRuleSet"),
}

result, err := svc.CreateReceiptRuleSet(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case ses.ErrCodeAlreadyExistsException:
            fmt.Println(ses.ErrCodeAlreadyExistsException, aerr.Error())
        case ses.ErrCodeLimitExceededException:
            fmt.Println(ses.ErrCodeLimitExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) CreateReceiptRuleSetRequest Uses

func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req *request.Request, output *CreateReceiptRuleSetOutput)

CreateReceiptRuleSetRequest generates a "aws/request.Request" representing the client's request for the CreateReceiptRuleSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReceiptRuleSet for more information on using the CreateReceiptRuleSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReceiptRuleSetRequest method.
req, resp := client.CreateReceiptRuleSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet

func (*SES) CreateReceiptRuleSetWithContext Uses

func (c *SES) CreateReceiptRuleSetWithContext(ctx aws.Context, input *CreateReceiptRuleSetInput, opts ...request.Option) (*CreateReceiptRuleSetOutput, error)

CreateReceiptRuleSetWithContext is the same as CreateReceiptRuleSet with the addition of the ability to pass a context and additional request options.

See CreateReceiptRuleSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateReceiptRuleWithContext Uses

func (c *SES) CreateReceiptRuleWithContext(ctx aws.Context, input *CreateReceiptRuleInput, opts ...request.Option) (*CreateReceiptRuleOutput, error)

CreateReceiptRuleWithContext is the same as CreateReceiptRule with the addition of the ability to pass a context and additional request options.

See CreateReceiptRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) CreateTemplate Uses

func (c *SES) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error)

CreateTemplate API operation for Amazon Simple Email Service.

Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation CreateTemplate for usage and error information.

Returned Error Codes:

* ErrCodeAlreadyExistsException "AlreadyExists"
Indicates that a resource could not be created because of a naming conflict.

* ErrCodeInvalidTemplateException "InvalidTemplate"
Indicates that the template that you specified could not be rendered. This
issue may occur when a template refers to a partial that does not exist.

* ErrCodeLimitExceededException "LimitExceeded"
Indicates that a resource could not be created because of service limits.
For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate

func (*SES) CreateTemplateRequest Uses

func (c *SES) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput)

CreateTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateTemplate for more information on using the CreateTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTemplateRequest method.
req, resp := client.CreateTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate

func (*SES) CreateTemplateWithContext Uses

func (c *SES) CreateTemplateWithContext(ctx aws.Context, input *CreateTemplateInput, opts ...request.Option) (*CreateTemplateOutput, error)

CreateTemplateWithContext is the same as CreateTemplate with the addition of the ability to pass a context and additional request options.

See CreateTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteConfigurationSet Uses

func (c *SES) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error)

DeleteConfigurationSet API operation for Amazon Simple Email Service.

Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteConfigurationSet for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
Indicates that the configuration set does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet

func (*SES) DeleteConfigurationSetEventDestination Uses

func (c *SES) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error)

DeleteConfigurationSetEventDestination API operation for Amazon Simple Email Service.

Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteConfigurationSetEventDestination for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
Indicates that the configuration set does not exist.

* ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist"
Indicates that the event destination does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination

func (*SES) DeleteConfigurationSetEventDestinationRequest Uses

func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput)

DeleteConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationSetEventDestination operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationSetEventDestination for more information on using the DeleteConfigurationSetEventDestination API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationSetEventDestinationRequest method.
req, resp := client.DeleteConfigurationSetEventDestinationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination

func (*SES) DeleteConfigurationSetEventDestinationWithContext Uses

func (c *SES) DeleteConfigurationSetEventDestinationWithContext(ctx aws.Context, input *DeleteConfigurationSetEventDestinationInput, opts ...request.Option) (*DeleteConfigurationSetEventDestinationOutput, error)

DeleteConfigurationSetEventDestinationWithContext is the same as DeleteConfigurationSetEventDestination with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationSetEventDestination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteConfigurationSetRequest Uses

func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput)

DeleteConfigurationSetRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationSet for more information on using the DeleteConfigurationSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationSetRequest method.
req, resp := client.DeleteConfigurationSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet

func (*SES) DeleteConfigurationSetTrackingOptions Uses

func (c *SES) DeleteConfigurationSetTrackingOptions(input *DeleteConfigurationSetTrackingOptionsInput) (*DeleteConfigurationSetTrackingOptionsOutput, error)

DeleteConfigurationSetTrackingOptions API operation for Amazon Simple Email Service.

Deletes an association between a configuration set and a custom domain for open and click event tracking.

By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html).

Deleting this kind of association will result in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteConfigurationSetTrackingOptions for usage and error information.

Returned Error Codes:

* ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
Indicates that the configuration set does not exist.

* ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException"
Indicates that the TrackingOptions object you specified does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions

func (*SES) DeleteConfigurationSetTrackingOptionsRequest Uses

func (c *SES) DeleteConfigurationSetTrackingOptionsRequest(input *DeleteConfigurationSetTrackingOptionsInput) (req *request.Request, output *DeleteConfigurationSetTrackingOptionsOutput)

DeleteConfigurationSetTrackingOptionsRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationSetTrackingOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationSetTrackingOptions for more information on using the DeleteConfigurationSetTrackingOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationSetTrackingOptionsRequest method.
req, resp := client.DeleteConfigurationSetTrackingOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions

func (*SES) DeleteConfigurationSetTrackingOptionsWithContext Uses

func (c *SES) DeleteConfigurationSetTrackingOptionsWithContext(ctx aws.Context, input *DeleteConfigurationSetTrackingOptionsInput, opts ...request.Option) (*DeleteConfigurationSetTrackingOptionsOutput, error)

DeleteConfigurationSetTrackingOptionsWithContext is the same as DeleteConfigurationSetTrackingOptions with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationSetTrackingOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteConfigurationSetWithContext Uses

func (c *SES) DeleteConfigurationSetWithContext(ctx aws.Context, input *DeleteConfigurationSetInput, opts ...request.Option) (*DeleteConfigurationSetOutput, error)

DeleteConfigurationSetWithContext is the same as DeleteConfigurationSet with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteCustomVerificationEmailTemplate Uses

func (c *SES) DeleteCustomVerificationEmailTemplate(input *DeleteCustomVerificationEmailTemplateInput) (*DeleteCustomVerificationEmailTemplateOutput, error)

DeleteCustomVerificationEmailTemplate API operation for Amazon Simple Email Service.

Deletes an existing custom verification email template.

For more information about custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteCustomVerificationEmailTemplate for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate

func (*SES) DeleteCustomVerificationEmailTemplateRequest Uses

func (c *SES) DeleteCustomVerificationEmailTemplateRequest(input *DeleteCustomVerificationEmailTemplateInput) (req *request.Request, output *DeleteCustomVerificationEmailTemplateOutput)

DeleteCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomVerificationEmailTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCustomVerificationEmailTemplate for more information on using the DeleteCustomVerificationEmailTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method.
req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate

func (*SES) DeleteCustomVerificationEmailTemplateWithContext Uses

func (c *SES) DeleteCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *DeleteCustomVerificationEmailTemplateInput, opts ...request.Option) (*DeleteCustomVerificationEmailTemplateOutput, error)

DeleteCustomVerificationEmailTemplateWithContext is the same as DeleteCustomVerificationEmailTemplate with the addition of the ability to pass a context and additional request options.

See DeleteCustomVerificationEmailTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteIdentity Uses

func (c *SES) DeleteIdentity(input *DeleteIdentityInput) (*DeleteIdentityOutput, error)

DeleteIdentity API operation for Amazon Simple Email Service.

Deletes the specified identity (an email address or a domain) from the list of verified identities.

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteIdentity for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity

DeleteIdentity

The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:

Code:

svc := ses.New(session.New())
input := &ses.DeleteIdentityInput{
    Identity: aws.String("user@example.com"),
}

result, err := svc.DeleteIdentity(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) DeleteIdentityPolicy Uses

func (c *SES) DeleteIdentityPolicy(input *DeleteIdentityPolicyInput) (*DeleteIdentityPolicyOutput, error)

DeleteIdentityPolicy API operation for Amazon Simple Email Service.

Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteIdentityPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy

DeleteIdentityPolicy

The following example deletes a sending authorization policy for an identity:

Code:

svc := ses.New(session.New())
input := &ses.DeleteIdentityPolicyInput{
    Identity:   aws.String("user@example.com"),
    PolicyName: aws.String("MyPolicy"),
}

result, err := svc.DeleteIdentityPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) DeleteIdentityPolicyRequest Uses

func (c *SES) DeleteIdentityPolicyRequest(input *DeleteIdentityPolicyInput) (req *request.Request, output *DeleteIdentityPolicyOutput)

DeleteIdentityPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteIdentityPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIdentityPolicy for more information on using the DeleteIdentityPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIdentityPolicyRequest method.
req, resp := client.DeleteIdentityPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy

func (*SES) DeleteIdentityPolicyWithContext Uses

func (c *SES) DeleteIdentityPolicyWithContext(ctx aws.Context, input *DeleteIdentityPolicyInput, opts ...request.Option) (*DeleteIdentityPolicyOutput, error)

DeleteIdentityPolicyWithContext is the same as DeleteIdentityPolicy with the addition of the ability to pass a context and additional request options.

See DeleteIdentityPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteIdentityRequest Uses

func (c *SES) DeleteIdentityRequest(input *DeleteIdentityInput) (req *request.Request, output *DeleteIdentityOutput)

DeleteIdentityRequest generates a "aws/request.Request" representing the client's request for the DeleteIdentity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteIdentity for more information on using the DeleteIdentity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteIdentityRequest method.
req, resp := client.DeleteIdentityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity

func (*SES) DeleteIdentityWithContext Uses

func (c *SES) DeleteIdentityWithContext(ctx aws.Context, input *DeleteIdentityInput, opts ...request.Option) (*DeleteIdentityOutput, error)

DeleteIdentityWithContext is the same as DeleteIdentity with the addition of the ability to pass a context and additional request options.

See DeleteIdentity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteReceiptFilter Uses

func (c *SES) DeleteReceiptFilter(input *DeleteReceiptFilterInput) (*DeleteReceiptFilterOutput, error)

DeleteReceiptFilter API operation for Amazon Simple Email Service.

Deletes the specified IP address filter.

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

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteReceiptFilter for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter

DeleteReceiptFilter

The following example deletes an IP address filter:

Code:

svc := ses.New(session.New())
input := &ses.DeleteReceiptFilterInput{
    FilterName: aws.String("MyFilter"),
}

result, err := svc.DeleteReceiptFilter(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*SES) DeleteReceiptFilterRequest Uses

func (c *SES) DeleteReceiptFilterRequest(input *DeleteReceiptFilterInput) (req *request.Request, output *DeleteReceiptFilterOutput)

DeleteReceiptFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteReceiptFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteReceiptFilter for more information on using the DeleteReceiptFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteReceiptFilterRequest method.
req, resp := client.DeleteReceiptFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter

func (*SES) DeleteReceiptFilterWithContext Uses

func (c *SES) DeleteReceiptFilterWithContext(ctx aws.Context, input *DeleteReceiptFilterInput, opts ...request.Option) (*DeleteReceiptFilterOutput, error)

DeleteReceiptFilterWithContext is the same as DeleteReceiptFilter with the addition of the ability to pass a context and additional request options.

See DeleteReceiptFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SES) DeleteReceiptRule Uses

func (c *SES) DeleteReceiptRule(input *DeleteReceiptRuleInput) (*DeleteReceiptRuleOutput, error)

DeleteReceiptRule API operation for Amazon Simple Email Service.

Deletes the specified receipt rule.

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

You can execute this operation no more than once per second.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Email Service's API operation DeleteReceiptRule for usage and error information.

Returned Error Codes:

* ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
Indicates that the provided receipt rule set does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule

DeleteReceiptRule

The following example deletes a receipt rule:

Code:

svc := ses.New(session.New())
input := &ses.DeleteReceiptRuleInput{
    RuleName:    aws.String("MyRule"),
    RuleSetName: aws.String("MyRuleSet"),
}

result, err := svc.DeleteReceiptRule(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case ses.ErrCodeRuleSetDoesNotExistException:
            fmt.Println(ses.ErrCodeRuleSetDoesNotExistException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an erro