sesv2

package
v1.34.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 31

Documentation

Overview

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

Welcome to the Amazon SES API v2 Reference. This guide provides information about the Amazon SES API v2, including supported operations, data types, parameters, and schemas.

Amazon SES (https://aws.amazon.com/pinpoint) is an AWS service that you can use to send email messages to your customers.

If you're new to Amazon SES API v2, you might find it helpful to also review the Amazon Simple Email Service Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/). The Amazon SES Developer Guide provides information and code samples that demonstrate how to use Amazon SES API v2 features programmatically.

The Amazon SES API v2 is available in several AWS Regions and it provides an endpoint for each of these Regions. For a list of all the Regions and endpoints where the API is currently available, see AWS Service Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region) in the Amazon Web Services General Reference. To learn more about AWS Regions, see Managing AWS Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) in the Amazon Web Services General Reference.

In each Region, AWS maintains multiple Availability Zones. These Availability Zones are physically isolated from each other, but are united by private, low-latency, high-throughput, and highly redundant network connections. These Availability Zones enable us to provide very high levels of availability and redundancy, while also minimizing latency. To learn more about the number of Availability Zones that are available in each Region, see AWS Global Infrastructure (http://aws.amazon.com/about-aws/global-infrastructure/).

See https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27 for more information on this service.

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

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 SESV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/sesv2/#New

Index

Constants

View Source
const (
	// BehaviorOnMxFailureUseDefaultValue is a BehaviorOnMxFailure enum value
	BehaviorOnMxFailureUseDefaultValue = "USE_DEFAULT_VALUE"

	// BehaviorOnMxFailureRejectMessage is a BehaviorOnMxFailure enum value
	BehaviorOnMxFailureRejectMessage = "REJECT_MESSAGE"
)

The action that you want to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

View Source
const (
	// BulkEmailStatusSuccess is a BulkEmailStatus enum value
	BulkEmailStatusSuccess = "SUCCESS"

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

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

	// BulkEmailStatusConfigurationSetNotFound is a BulkEmailStatus enum value
	BulkEmailStatusConfigurationSetNotFound = "CONFIGURATION_SET_NOT_FOUND"

	// BulkEmailStatusTemplateNotFound is a BulkEmailStatus enum value
	BulkEmailStatusTemplateNotFound = "TEMPLATE_NOT_FOUND"

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

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

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

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

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

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

	// BulkEmailStatusInvalidParameter is a BulkEmailStatus enum value
	BulkEmailStatusInvalidParameter = "INVALID_PARAMETER"

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

	// BulkEmailStatusFailed is a BulkEmailStatus enum value
	BulkEmailStatusFailed = "FAILED"
)
View Source
const (
	// ContactLanguageEn is a ContactLanguage enum value
	ContactLanguageEn = "EN"

	// ContactLanguageJa is a ContactLanguage enum value
	ContactLanguageJa = "JA"
)
View Source
const (
	// DeliverabilityDashboardAccountStatusActive is a DeliverabilityDashboardAccountStatus enum value
	DeliverabilityDashboardAccountStatusActive = "ACTIVE"

	// DeliverabilityDashboardAccountStatusPendingExpiration is a DeliverabilityDashboardAccountStatus enum value
	DeliverabilityDashboardAccountStatusPendingExpiration = "PENDING_EXPIRATION"

	// DeliverabilityDashboardAccountStatusDisabled is a DeliverabilityDashboardAccountStatus enum value
	DeliverabilityDashboardAccountStatusDisabled = "DISABLED"
)

The current status of your Deliverability dashboard subscription. If this value is PENDING_EXPIRATION, your subscription is scheduled to expire at the end of the current calendar month.

View Source
const (
	// DeliverabilityTestStatusInProgress is a DeliverabilityTestStatus enum value
	DeliverabilityTestStatusInProgress = "IN_PROGRESS"

	// DeliverabilityTestStatusCompleted is a DeliverabilityTestStatus enum value
	DeliverabilityTestStatusCompleted = "COMPLETED"
)

The status of a predictive inbox placement test. If the status is IN_PROGRESS, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is COMPLETE, then the test is finished, and you can use the GetDeliverabilityTestReport operation to view the results of the test.

View Source
const (
	// DimensionValueSourceMessageTag is a DimensionValueSource enum value
	DimensionValueSourceMessageTag = "MESSAGE_TAG"

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

	// DimensionValueSourceLinkTag is a DimensionValueSource enum value
	DimensionValueSourceLinkTag = "LINK_TAG"
)

The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. If you want to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. If you want to use your own email headers, choose emailHeader. If you want to use link tags, choose linkTags.

View Source
const (
	// DkimSigningAttributesOriginAwsSes is a DkimSigningAttributesOrigin enum value
	DkimSigningAttributesOriginAwsSes = "AWS_SES"

	// DkimSigningAttributesOriginExternal is a DkimSigningAttributesOrigin enum value
	DkimSigningAttributesOriginExternal = "EXTERNAL"
)
View Source
const (
	// DkimStatusPending is a DkimStatus enum value
	DkimStatusPending = "PENDING"

	// DkimStatusSuccess is a DkimStatus enum value
	DkimStatusSuccess = "SUCCESS"

	// DkimStatusFailed is a DkimStatus enum value
	DkimStatusFailed = "FAILED"

	// DkimStatusTemporaryFailure is a DkimStatus enum value
	DkimStatusTemporaryFailure = "TEMPORARY_FAILURE"

	// DkimStatusNotStarted is a DkimStatus enum value
	DkimStatusNotStarted = "NOT_STARTED"
)

The DKIM authentication status of the identity. The status can be one of the following:

  • PENDING – The verification process was initiated, but Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain.

  • SUCCESS – The verification process completed successfully.

  • FAILED – The verification process failed. This typically occurs when Amazon SES fails to find the DKIM records in the DNS configuration of the domain.

  • TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from determining the DKIM authentication status of the domain.

  • NOT_STARTED – The DKIM verification process hasn't been initiated for the domain.

View Source
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 = "RENDERING_FAILURE"

	// EventTypeDeliveryDelay is a EventType enum value
	EventTypeDeliveryDelay = "DELIVERY_DELAY"
)

An email sending event type. For example, email sends, opens, and bounces are all email events.

View Source
const (
	// IdentityTypeEmailAddress is a IdentityType enum value
	IdentityTypeEmailAddress = "EMAIL_ADDRESS"

	// IdentityTypeDomain is a IdentityType enum value
	IdentityTypeDomain = "DOMAIN"

	// IdentityTypeManagedDomain is a IdentityType enum value
	IdentityTypeManagedDomain = "MANAGED_DOMAIN"
)

The email identity type. The identity type can be one of the following:

  • EMAIL_ADDRESS – The identity is an email address.

  • DOMAIN – The identity is a domain.

View Source
const (
	// MailFromDomainStatusPending is a MailFromDomainStatus enum value
	MailFromDomainStatusPending = "PENDING"

	// MailFromDomainStatusSuccess is a MailFromDomainStatus enum value
	MailFromDomainStatusSuccess = "SUCCESS"

	// MailFromDomainStatusFailed is a MailFromDomainStatus enum value
	MailFromDomainStatusFailed = "FAILED"

	// MailFromDomainStatusTemporaryFailure is a MailFromDomainStatus enum value
	MailFromDomainStatusTemporaryFailure = "TEMPORARY_FAILURE"
)

The status of the MAIL FROM domain. This status can have the following values:

  • PENDING – Amazon SES hasn't started searching for the MX record yet.

  • SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.

  • FAILED – Amazon SES can't find the required MX record, or the record no longer exists.

  • TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.

View Source
const (
	// MailTypeMarketing is a MailType enum value
	MailTypeMarketing = "MARKETING"

	// MailTypeTransactional is a MailType enum value
	MailTypeTransactional = "TRANSACTIONAL"
)
View Source
const (
	// ReviewStatusPending is a ReviewStatus enum value
	ReviewStatusPending = "PENDING"

	// ReviewStatusFailed is a ReviewStatus enum value
	ReviewStatusFailed = "FAILED"

	// ReviewStatusGranted is a ReviewStatus enum value
	ReviewStatusGranted = "GRANTED"

	// ReviewStatusDenied is a ReviewStatus enum value
	ReviewStatusDenied = "DENIED"
)
View Source
const (
	// SuppressionListReasonBounce is a SuppressionListReason enum value
	SuppressionListReasonBounce = "BOUNCE"

	// SuppressionListReasonComplaint is a SuppressionListReason enum value
	SuppressionListReasonComplaint = "COMPLAINT"
)

The reason that the address was added to the suppression list for your account. The value can be one of the following:

  • COMPLAINT – Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a complaint.

  • BOUNCE – Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a hard bounce.

View Source
const (
	// TlsPolicyRequire is a TlsPolicy enum value
	TlsPolicyRequire = "REQUIRE"

	// TlsPolicyOptional is a TlsPolicy enum value
	TlsPolicyOptional = "OPTIONAL"
)

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.

View Source
const (
	// WarmupStatusInProgress is a WarmupStatus enum value
	WarmupStatusInProgress = "IN_PROGRESS"

	// WarmupStatusDone is a WarmupStatus enum value
	WarmupStatusDone = "DONE"
)

The warmup status of a dedicated IP.

View Source
const (

	// ErrCodeAccountSuspendedException for service response error code
	// "AccountSuspendedException".
	//
	// The message can't be sent because the account's ability to send email has
	// been permanently restricted.
	ErrCodeAccountSuspendedException = "AccountSuspendedException"

	// ErrCodeAlreadyExistsException for service response error code
	// "AlreadyExistsException".
	//
	// The resource specified in your request already exists.
	ErrCodeAlreadyExistsException = "AlreadyExistsException"

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The input you provided is invalid.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// The resource is being modified by another operation or thread.
	ErrCodeConcurrentModificationException = "ConcurrentModificationException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// If there is already an ongoing account details update under review.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The specified request includes an invalid or expired token.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// There are too many instances of the specified resource type.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeMailFromDomainNotVerifiedException for service response error code
	// "MailFromDomainNotVerifiedException".
	//
	// The message can't be sent because the sending domain isn't verified.
	ErrCodeMailFromDomainNotVerifiedException = "MailFromDomainNotVerifiedException"

	// ErrCodeMessageRejected for service response error code
	// "MessageRejected".
	//
	// The message can't be sent because it contains invalid content.
	ErrCodeMessageRejected = "MessageRejected"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The resource you attempted to access doesn't exist.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeSendingPausedException for service response error code
	// "SendingPausedException".
	//
	// The message can't be sent because the account's ability to send email is
	// currently paused.
	ErrCodeSendingPausedException = "SendingPausedException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// Too many requests have been made to the operation.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
View Source
const (
	ServiceName = "SESv2" // Name of service.
	EndpointsID = "email" // ID to lookup a service endpoint with.
	ServiceID   = "SESv2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func BehaviorOnMxFailure_Values added in v1.34.3

func BehaviorOnMxFailure_Values() []string

BehaviorOnMxFailure_Values returns all elements of the BehaviorOnMxFailure enum

func BulkEmailStatus_Values added in v1.34.3

func BulkEmailStatus_Values() []string

BulkEmailStatus_Values returns all elements of the BulkEmailStatus enum

func ContactLanguage_Values added in v1.34.3

func ContactLanguage_Values() []string

ContactLanguage_Values returns all elements of the ContactLanguage enum

func DeliverabilityDashboardAccountStatus_Values added in v1.34.3

func DeliverabilityDashboardAccountStatus_Values() []string

DeliverabilityDashboardAccountStatus_Values returns all elements of the DeliverabilityDashboardAccountStatus enum

func DeliverabilityTestStatus_Values added in v1.34.3

func DeliverabilityTestStatus_Values() []string

DeliverabilityTestStatus_Values returns all elements of the DeliverabilityTestStatus enum

func DimensionValueSource_Values added in v1.34.3

func DimensionValueSource_Values() []string

DimensionValueSource_Values returns all elements of the DimensionValueSource enum

func DkimSigningAttributesOrigin_Values added in v1.34.3

func DkimSigningAttributesOrigin_Values() []string

DkimSigningAttributesOrigin_Values returns all elements of the DkimSigningAttributesOrigin enum

func DkimStatus_Values added in v1.34.3

func DkimStatus_Values() []string

DkimStatus_Values returns all elements of the DkimStatus enum

func EventType_Values added in v1.34.3

func EventType_Values() []string

EventType_Values returns all elements of the EventType enum

func IdentityType_Values added in v1.34.3

func IdentityType_Values() []string

IdentityType_Values returns all elements of the IdentityType enum

func MailFromDomainStatus_Values added in v1.34.3

func MailFromDomainStatus_Values() []string

MailFromDomainStatus_Values returns all elements of the MailFromDomainStatus enum

func MailType_Values added in v1.34.3

func MailType_Values() []string

MailType_Values returns all elements of the MailType enum

func ReviewStatus_Values added in v1.34.3

func ReviewStatus_Values() []string

ReviewStatus_Values returns all elements of the ReviewStatus enum

func SuppressionListReason_Values added in v1.34.3

func SuppressionListReason_Values() []string

SuppressionListReason_Values returns all elements of the SuppressionListReason enum

func TlsPolicy_Values added in v1.34.3

func TlsPolicy_Values() []string

TlsPolicy_Values returns all elements of the TlsPolicy enum

func WarmupStatus_Values added in v1.34.3

func WarmupStatus_Values() []string

WarmupStatus_Values returns all elements of the WarmupStatus enum

Types

type AccountDetails added in v1.33.16

type AccountDetails struct {

	// Additional email addresses where updates are sent about your account review
	// process.
	AdditionalContactEmailAddresses []*string `min:"1" type:"list" sensitive:"true"`

	// The language you would prefer for the case. The contact language can be one
	// of ENGLISH or JAPANESE.
	ContactLanguage *string `type:"string" enum:"ContactLanguage"`

	// The type of email your account is sending. The mail type can be one of the
	// following:
	//
	//    * MARKETING – Most of your sending traffic is to keep your customers
	//    informed of your latest offering.
	//
	//    * TRANSACTIONAL – Most of your sending traffic is to communicate during
	//    a transaction with a customer.
	MailType *string `type:"string" enum:"MailType"`

	// Information about the review of the latest details you submitted.
	ReviewDetails *ReviewDetails `type:"structure"`

	// A description of the types of email that you plan to send.
	UseCaseDescription *string `min:"1" type:"string" sensitive:"true"`

	// The URL of your website. This information helps us better understand the
	// type of content that you plan to send.
	WebsiteURL *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

An object that contains information about your account details.

func (AccountDetails) GoString added in v1.33.16

func (s AccountDetails) GoString() string

GoString returns the string representation

func (*AccountDetails) SetAdditionalContactEmailAddresses added in v1.33.16

func (s *AccountDetails) SetAdditionalContactEmailAddresses(v []*string) *AccountDetails

SetAdditionalContactEmailAddresses sets the AdditionalContactEmailAddresses field's value.

func (*AccountDetails) SetContactLanguage added in v1.33.16

func (s *AccountDetails) SetContactLanguage(v string) *AccountDetails

SetContactLanguage sets the ContactLanguage field's value.

func (*AccountDetails) SetMailType added in v1.33.16

func (s *AccountDetails) SetMailType(v string) *AccountDetails

SetMailType sets the MailType field's value.

func (*AccountDetails) SetReviewDetails added in v1.33.16

func (s *AccountDetails) SetReviewDetails(v *ReviewDetails) *AccountDetails

SetReviewDetails sets the ReviewDetails field's value.

func (*AccountDetails) SetUseCaseDescription added in v1.33.16

func (s *AccountDetails) SetUseCaseDescription(v string) *AccountDetails

SetUseCaseDescription sets the UseCaseDescription field's value.

func (*AccountDetails) SetWebsiteURL added in v1.33.16

func (s *AccountDetails) SetWebsiteURL(v string) *AccountDetails

SetWebsiteURL sets the WebsiteURL field's value.

func (AccountDetails) String added in v1.33.16

func (s AccountDetails) String() string

String returns the string representation

type AccountSuspendedException added in v1.28.0

type AccountSuspendedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The message can't be sent because the account's ability to send email has been permanently restricted.

func (*AccountSuspendedException) Code added in v1.28.0

Code returns the exception type name.

func (*AccountSuspendedException) Error added in v1.28.0

func (s *AccountSuspendedException) Error() string

func (AccountSuspendedException) GoString added in v1.28.0

func (s AccountSuspendedException) GoString() string

GoString returns the string representation

func (*AccountSuspendedException) Message added in v1.28.0

func (s *AccountSuspendedException) Message() string

Message returns the exception's message.

func (*AccountSuspendedException) OrigErr added in v1.28.0

func (s *AccountSuspendedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountSuspendedException) RequestID added in v1.28.0

func (s *AccountSuspendedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountSuspendedException) StatusCode added in v1.28.0

func (s *AccountSuspendedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountSuspendedException) String added in v1.28.0

func (s AccountSuspendedException) String() string

String returns the string representation

type AlreadyExistsException added in v1.28.0

type AlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource specified in your request already exists.

func (*AlreadyExistsException) Code added in v1.28.0

func (s *AlreadyExistsException) Code() string

Code returns the exception type name.

func (*AlreadyExistsException) Error added in v1.28.0

func (s *AlreadyExistsException) Error() string

func (AlreadyExistsException) GoString added in v1.28.0

func (s AlreadyExistsException) GoString() string

GoString returns the string representation

func (*AlreadyExistsException) Message added in v1.28.0

func (s *AlreadyExistsException) Message() string

Message returns the exception's message.

func (*AlreadyExistsException) OrigErr added in v1.28.0

func (s *AlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AlreadyExistsException) RequestID added in v1.28.0

func (s *AlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AlreadyExistsException) StatusCode added in v1.28.0

func (s *AlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AlreadyExistsException) String added in v1.28.0

func (s AlreadyExistsException) String() string

String returns the string representation

type BadRequestException added in v1.28.0

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The input you provided is invalid.

func (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String added in v1.28.0

func (s BadRequestException) String() string

String returns the string representation

type BlacklistEntry

type BlacklistEntry struct {

	// Additional information about the blacklisting event, as provided by the blacklist
	// maintainer.
	Description *string `type:"string"`

	// The time when the blacklisting event occurred, shown in Unix time format.
	ListingTime *time.Time `type:"timestamp"`

	// The name of the blacklist that the IP address appears on.
	RblName *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains information about a blacklisting event that impacts one of the dedicated IP addresses that is associated with your account.

func (BlacklistEntry) GoString

func (s BlacklistEntry) GoString() string

GoString returns the string representation

func (*BlacklistEntry) SetDescription

func (s *BlacklistEntry) SetDescription(v string) *BlacklistEntry

SetDescription sets the Description field's value.

func (*BlacklistEntry) SetListingTime

func (s *BlacklistEntry) SetListingTime(v time.Time) *BlacklistEntry

SetListingTime sets the ListingTime field's value.

func (*BlacklistEntry) SetRblName

func (s *BlacklistEntry) SetRblName(v string) *BlacklistEntry

SetRblName sets the RblName field's value.

func (BlacklistEntry) String

func (s BlacklistEntry) String() string

String returns the string representation

type Body

type Body struct {

	// An object that represents the version of the message that is displayed in
	// email clients that support HTML. HTML messages can include formatted text,
	// hyperlinks, images, and more.
	Html *Content `type:"structure"`

	// An object that represents the version of the message that is displayed in
	// email clients that don't support HTML, or clients where the recipient has
	// disabled HTML rendering.
	Text *Content `type:"structure"`
	// contains filtered or unexported fields
}

Represents the body of the email message.

func (Body) GoString

func (s Body) GoString() string

GoString returns the string representation

func (*Body) SetHtml

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

SetHtml sets the Html field's value.

func (*Body) SetText

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

SetText sets the Text field's value.

func (Body) String

func (s Body) String() string

String returns the string representation

func (*Body) Validate

func (s *Body) Validate() error

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

type BulkEmailContent added in v1.33.16

type BulkEmailContent struct {

	// The template to use for the bulk email message.
	Template *Template `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains the body of the message. You can specify a template message.

func (BulkEmailContent) GoString added in v1.33.16

func (s BulkEmailContent) GoString() string

GoString returns the string representation

func (*BulkEmailContent) SetTemplate added in v1.33.16

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

SetTemplate sets the Template field's value.

func (BulkEmailContent) String added in v1.33.16

func (s BulkEmailContent) String() string

String returns the string representation

func (*BulkEmailContent) Validate added in v1.33.16

func (s *BulkEmailContent) Validate() error

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

type BulkEmailEntry added in v1.33.16

type BulkEmailEntry 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"`

	// The ReplacementEmailContent associated with a BulkEmailEntry.
	ReplacementEmailContent *ReplacementEmailContent `type:"structure"`

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

func (BulkEmailEntry) GoString added in v1.33.16

func (s BulkEmailEntry) GoString() string

GoString returns the string representation

func (*BulkEmailEntry) SetDestination added in v1.33.16

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

SetDestination sets the Destination field's value.

func (*BulkEmailEntry) SetReplacementEmailContent added in v1.33.16

func (s *BulkEmailEntry) SetReplacementEmailContent(v *ReplacementEmailContent) *BulkEmailEntry

SetReplacementEmailContent sets the ReplacementEmailContent field's value.

func (*BulkEmailEntry) SetReplacementTags added in v1.33.16

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

SetReplacementTags sets the ReplacementTags field's value.

func (BulkEmailEntry) String added in v1.33.16

func (s BulkEmailEntry) String() string

String returns the string representation

func (*BulkEmailEntry) Validate added in v1.33.16

func (s *BulkEmailEntry) Validate() error

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

type BulkEmailEntryResult added in v1.33.16

type BulkEmailEntryResult 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.
	//
	//    * MESSAGE_REJECTED: The message was rejected because it contained a virus.
	//
	//    * MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain
	//    was not verified.
	//
	//    * CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified
	//    does not exist.
	//
	//    * TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist.
	//
	//    * ACCOUNT_SUSPENDED: Your account has been shut down because of issues
	//    related to your email sending practices.
	//
	//    * ACCOUNT_THROTTLED: The number of emails you can send has been reduced
	//    because your account has exceeded its allocated sending limit.
	//
	//    * ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum
	//    number of emails you can send from your account in a 24-hour period.
	//
	//    * INVALID_SENDING_POOL_NAME: The configuration set you specified refers
	//    to an IP pool that does not exist.
	//
	//    * ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was
	//    disabled using the UpdateAccountSendingEnabled (https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateAccountSendingEnabled.html)
	//    operation.
	//
	//    * CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration
	//    set was disabled using the UpdateConfigurationSetSendingEnabled (https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetSendingEnabled.html)
	//    operation.
	//
	//    * INVALID_PARAMETER_VALUE: One or more of the parameters you specified
	//    when calling this operation was invalid. See the error message for additional
	//    information.
	//
	//    * TRANSIENT_FAILURE: 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
}

The result of the SendBulkEmail operation of each specified BulkEmailEntry.

func (BulkEmailEntryResult) GoString added in v1.33.16

func (s BulkEmailEntryResult) GoString() string

GoString returns the string representation

func (*BulkEmailEntryResult) SetError added in v1.33.16

SetError sets the Error field's value.

func (*BulkEmailEntryResult) SetMessageId added in v1.33.16

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

SetMessageId sets the MessageId field's value.

func (*BulkEmailEntryResult) SetStatus added in v1.33.16

SetStatus sets the Status field's value.

func (BulkEmailEntryResult) String added in v1.33.16

func (s BulkEmailEntryResult) String() string

String returns the string representation

type CloudWatchDestination

type CloudWatchDestination struct {

	// An array of objects that define the dimensions to use when you send email
	// events to Amazon CloudWatch.
	//
	// DimensionConfigurations is a required field
	DimensionConfigurations []*CloudWatchDimensionConfiguration `type:"list" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

func (CloudWatchDestination) GoString

func (s CloudWatchDestination) GoString() string

GoString returns the string representation

func (*CloudWatchDestination) SetDimensionConfigurations

SetDimensionConfigurations sets the DimensionConfigurations field's value.

func (CloudWatchDestination) String

func (s CloudWatchDestination) String() string

String returns the string representation

func (*CloudWatchDestination) Validate

func (s *CloudWatchDestination) Validate() error

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

type CloudWatchDimensionConfiguration

type CloudWatchDimensionConfiguration struct {

	// The default value of the dimension that is published to Amazon CloudWatch
	// if you don't provide the value of the dimension when you send an email. This
	// value has to meet the following criteria:
	//
	//    * It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores
	//    (_), or dashes (-).
	//
	//    * It can contain no more 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 has to meet the following criteria:
	//
	//    * It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores
	//    (_), or dashes (-).
	//
	//    * It can contain no more than 256 characters.
	//
	// DimensionName is a required field
	DimensionName *string `type:"string" required:"true"`

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

An object that defines the dimension configuration to use when you send email events to Amazon CloudWatch.

func (CloudWatchDimensionConfiguration) GoString

GoString returns the string representation

func (*CloudWatchDimensionConfiguration) SetDefaultDimensionValue

SetDefaultDimensionValue sets the DefaultDimensionValue field's value.

func (*CloudWatchDimensionConfiguration) SetDimensionName

SetDimensionName sets the DimensionName field's value.

func (*CloudWatchDimensionConfiguration) SetDimensionValueSource

SetDimensionValueSource sets the DimensionValueSource field's value.

func (CloudWatchDimensionConfiguration) String

String returns the string representation

func (*CloudWatchDimensionConfiguration) Validate

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

type ConcurrentModificationException added in v1.28.0

type ConcurrentModificationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource is being modified by another operation or thread.

func (*ConcurrentModificationException) Code added in v1.28.0

Code returns the exception type name.

func (*ConcurrentModificationException) Error added in v1.28.0

func (ConcurrentModificationException) GoString added in v1.28.0

GoString returns the string representation

func (*ConcurrentModificationException) Message added in v1.28.0

Message returns the exception's message.

func (*ConcurrentModificationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentModificationException) RequestID added in v1.28.0

func (s *ConcurrentModificationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConcurrentModificationException) StatusCode added in v1.28.0

func (s *ConcurrentModificationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentModificationException) String added in v1.28.0

String returns the string representation

type ConflictException added in v1.33.16

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

If there is already an ongoing account details update under review.

func (*ConflictException) Code added in v1.33.16

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.33.16

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.33.16

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.33.16

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.33.16

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.33.16

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.33.16

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.33.16

func (s ConflictException) String() string

String returns the string representation

type Content

type Content struct {

	// The character set for the content. Because of the constraints of the SMTP
	// protocol, Amazon SES uses 7-bit ASCII by default. If the text includes characters
	// outside of the ASCII range, you have to specify a character set. For example,
	// you could specify UTF-8, ISO-8859-1, or Shift_JIS.
	Charset *string `type:"string"`

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

An object that represents the content of the email, and optionally a character set specification.

func (Content) GoString

func (s Content) GoString() string

GoString returns the string representation

func (*Content) SetCharset

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

SetCharset sets the Charset field's value.

func (*Content) SetData

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

SetData sets the Data field's value.

func (Content) String

func (s Content) String() string

String returns the string representation

func (*Content) Validate

func (s *Content) Validate() error

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

type CreateConfigurationSetEventDestinationInput

type CreateConfigurationSetEventDestinationInput struct {

	// The name of the configuration set that you want to add an event destination
	// to.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// An object that defines the event destination.
	//
	// EventDestination is a required field
	EventDestination *EventDestinationDefinition `type:"structure" required:"true"`

	// A name that identifies the event destination within the configuration set.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to add an event destination to a configuration set.

func (CreateConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (*CreateConfigurationSetEventDestinationInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetEventDestinationInput) SetEventDestination

SetEventDestination sets the EventDestination field's value.

func (*CreateConfigurationSetEventDestinationInput) SetEventDestinationName

SetEventDestinationName sets the EventDestinationName field's value.

func (CreateConfigurationSetEventDestinationInput) String

String returns the string representation

func (*CreateConfigurationSetEventDestinationInput) Validate

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

type CreateConfigurationSetEventDestinationOutput

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

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

func (CreateConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (CreateConfigurationSetEventDestinationOutput) String

String returns the string representation

type CreateConfigurationSetInput

type CreateConfigurationSetInput struct {

	// The name of the configuration set.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `type:"string" required:"true"`

	// An object that defines the dedicated IP pool that is used to send emails
	// that you send using the configuration set.
	DeliveryOptions *DeliveryOptions `type:"structure"`

	// An object that defines whether or not Amazon SES collects reputation metrics
	// for the emails that you send that use the configuration set.
	ReputationOptions *ReputationOptions `type:"structure"`

	// An object that defines whether or not Amazon SES can send email that you
	// send using the configuration set.
	SendingOptions *SendingOptions `type:"structure"`

	// An object that contains information about the suppression list preferences
	// for your account.
	SuppressionOptions *SuppressionOptions `type:"structure"`

	// An array of objects that define the tags (keys and values) that you want
	// to associate with the configuration set.
	Tags []*Tag `type:"list"`

	// An object that defines the open and click tracking options for emails that
	// you send using the configuration set.
	TrackingOptions *TrackingOptions `type:"structure"`
	// contains filtered or unexported fields
}

A request to create a configuration set.

func (CreateConfigurationSetInput) GoString

func (s CreateConfigurationSetInput) GoString() string

GoString returns the string representation

func (*CreateConfigurationSetInput) SetConfigurationSetName

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetInput) SetDeliveryOptions

SetDeliveryOptions sets the DeliveryOptions field's value.

func (*CreateConfigurationSetInput) SetReputationOptions

SetReputationOptions sets the ReputationOptions field's value.

func (*CreateConfigurationSetInput) SetSendingOptions

SetSendingOptions sets the SendingOptions field's value.

func (*CreateConfigurationSetInput) SetSuppressionOptions added in v1.25.42

SetSuppressionOptions sets the SuppressionOptions field's value.

func (*CreateConfigurationSetInput) SetTags

SetTags sets the Tags field's value.

func (*CreateConfigurationSetInput) SetTrackingOptions

SetTrackingOptions sets the TrackingOptions field's value.

func (CreateConfigurationSetInput) String

String returns the string representation

func (*CreateConfigurationSetInput) Validate

func (s *CreateConfigurationSetInput) Validate() error

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

type CreateConfigurationSetOutput

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

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

func (CreateConfigurationSetOutput) GoString

func (s CreateConfigurationSetOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetOutput) String

String returns the string representation

type CreateCustomVerificationEmailTemplateInput added in v1.33.16

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/send-email-verify-address-custom.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 `min:"1" 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 added in v1.33.16

GoString returns the string representation

func (*CreateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL added in v1.33.16

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetFromEmailAddress added in v1.33.16

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL added in v1.33.16

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (*CreateCustomVerificationEmailTemplateInput) SetTemplateSubject added in v1.33.16

SetTemplateSubject sets the TemplateSubject field's value.

func (CreateCustomVerificationEmailTemplateInput) String added in v1.33.16

String returns the string representation

func (*CreateCustomVerificationEmailTemplateInput) Validate added in v1.33.16

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

type CreateCustomVerificationEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (CreateCustomVerificationEmailTemplateOutput) GoString added in v1.33.16

GoString returns the string representation

func (CreateCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation

type CreateDedicatedIpPoolInput

type CreateDedicatedIpPoolInput struct {

	// The name of the dedicated IP pool.
	//
	// PoolName is a required field
	PoolName *string `type:"string" required:"true"`

	// An object that defines the tags (keys and values) that you want to associate
	// with the pool.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

A request to create a new dedicated IP pool.

func (CreateDedicatedIpPoolInput) GoString

func (s CreateDedicatedIpPoolInput) GoString() string

GoString returns the string representation

func (*CreateDedicatedIpPoolInput) SetPoolName

SetPoolName sets the PoolName field's value.

func (*CreateDedicatedIpPoolInput) SetTags

SetTags sets the Tags field's value.

func (CreateDedicatedIpPoolInput) String

String returns the string representation

func (*CreateDedicatedIpPoolInput) Validate

func (s *CreateDedicatedIpPoolInput) Validate() error

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

type CreateDedicatedIpPoolOutput

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

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

func (CreateDedicatedIpPoolOutput) GoString

func (s CreateDedicatedIpPoolOutput) GoString() string

GoString returns the string representation

func (CreateDedicatedIpPoolOutput) String

String returns the string representation

type CreateDeliverabilityTestReportInput

type CreateDeliverabilityTestReportInput struct {

	// The HTML body of the message that you sent when you performed the predictive
	// inbox placement test.
	//
	// Content is a required field
	Content *EmailContent `type:"structure" required:"true"`

	// The email address that the predictive inbox placement test email was sent
	// from.
	//
	// FromEmailAddress is a required field
	FromEmailAddress *string `type:"string" required:"true"`

	// A unique name that helps you to identify the predictive inbox placement test
	// when you retrieve the results.
	ReportName *string `type:"string"`

	// An array of objects that define the tags (keys and values) that you want
	// to associate with the predictive inbox placement test.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. We send that message to special email addresses spread across several major email providers around the world. The test takes about 24 hours to complete. When the test is complete, you can use the GetDeliverabilityTestReport operation to view the results of the test.

func (CreateDeliverabilityTestReportInput) GoString

GoString returns the string representation

func (*CreateDeliverabilityTestReportInput) SetContent

SetContent sets the Content field's value.

func (*CreateDeliverabilityTestReportInput) SetFromEmailAddress

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*CreateDeliverabilityTestReportInput) SetReportName

SetReportName sets the ReportName field's value.

func (*CreateDeliverabilityTestReportInput) SetTags

SetTags sets the Tags field's value.

func (CreateDeliverabilityTestReportInput) String

String returns the string representation

func (*CreateDeliverabilityTestReportInput) Validate

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

type CreateDeliverabilityTestReportOutput

type CreateDeliverabilityTestReportOutput struct {

	// The status of the predictive inbox placement test. If the status is IN_PROGRESS,
	// then the predictive inbox placement test is currently running. Predictive
	// inbox placement tests are usually complete within 24 hours of creating the
	// test. If the status is COMPLETE, then the test is finished, and you can use
	// the GetDeliverabilityTestReport to view the results of the test.
	//
	// DeliverabilityTestStatus is a required field
	DeliverabilityTestStatus *string `type:"string" required:"true" enum:"DeliverabilityTestStatus"`

	// A unique string that identifies the predictive inbox placement test.
	//
	// ReportId is a required field
	ReportId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the predictive inbox placement test that you created.

func (CreateDeliverabilityTestReportOutput) GoString

GoString returns the string representation

func (*CreateDeliverabilityTestReportOutput) SetDeliverabilityTestStatus

SetDeliverabilityTestStatus sets the DeliverabilityTestStatus field's value.

func (*CreateDeliverabilityTestReportOutput) SetReportId

SetReportId sets the ReportId field's value.

func (CreateDeliverabilityTestReportOutput) String

String returns the string representation

type CreateEmailIdentityInput

type CreateEmailIdentityInput struct {

	// If your request includes this object, Amazon SES configures the identity
	// to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, as
	// opposed to the default method, Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
	//
	// You can only specify this object if the email identity is a domain, as opposed
	// to an address.
	DkimSigningAttributes *DkimSigningAttributes `type:"structure"`

	// The email address or domain that you want to verify.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `min:"1" type:"string" required:"true"`

	// An array of objects that define the tags (keys and values) that you want
	// to associate with the email identity.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

A request to begin the verification process for an email identity (an email address or domain).

func (CreateEmailIdentityInput) GoString

func (s CreateEmailIdentityInput) GoString() string

GoString returns the string representation

func (*CreateEmailIdentityInput) SetDkimSigningAttributes added in v1.26.2

SetDkimSigningAttributes sets the DkimSigningAttributes field's value.

func (*CreateEmailIdentityInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (*CreateEmailIdentityInput) SetTags

SetTags sets the Tags field's value.

func (CreateEmailIdentityInput) String

func (s CreateEmailIdentityInput) String() string

String returns the string representation

func (*CreateEmailIdentityInput) Validate

func (s *CreateEmailIdentityInput) Validate() error

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

type CreateEmailIdentityOutput

type CreateEmailIdentityOutput struct {

	// An object that contains information about the DKIM attributes for the identity.
	DkimAttributes *DkimAttributes `type:"structure"`

	// The email identity type.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// Specifies whether or not the identity is verified. You can only send email
	// from verified email addresses or domains. For more information about verifying
	// identities, see the Amazon Pinpoint User Guide (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html).
	VerifiedForSendingStatus *bool `type:"boolean"`
	// contains filtered or unexported fields
}

If the email identity is a domain, this object contains information about the DKIM verification status for the domain.

If the email identity is an email address, this object is empty.

func (CreateEmailIdentityOutput) GoString

func (s CreateEmailIdentityOutput) GoString() string

GoString returns the string representation

func (*CreateEmailIdentityOutput) SetDkimAttributes

SetDkimAttributes sets the DkimAttributes field's value.

func (*CreateEmailIdentityOutput) SetIdentityType

SetIdentityType sets the IdentityType field's value.

func (*CreateEmailIdentityOutput) SetVerifiedForSendingStatus

func (s *CreateEmailIdentityOutput) SetVerifiedForSendingStatus(v bool) *CreateEmailIdentityOutput

SetVerifiedForSendingStatus sets the VerifiedForSendingStatus field's value.

func (CreateEmailIdentityOutput) String

func (s CreateEmailIdentityOutput) String() string

String returns the string representation

type CreateEmailIdentityPolicyInput added in v1.33.16

type CreateEmailIdentityPolicyInput struct {

	// The email identity for which you want to create a policy.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" 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 `location:"uri" locationName:"PolicyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to create 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-identity-owner-tasks-management.html).

func (CreateEmailIdentityPolicyInput) GoString added in v1.33.16

GoString returns the string representation

func (*CreateEmailIdentityPolicyInput) SetEmailIdentity added in v1.33.16

SetEmailIdentity sets the EmailIdentity field's value.

func (*CreateEmailIdentityPolicyInput) SetPolicy added in v1.33.16

SetPolicy sets the Policy field's value.

func (*CreateEmailIdentityPolicyInput) SetPolicyName added in v1.33.16

SetPolicyName sets the PolicyName field's value.

func (CreateEmailIdentityPolicyInput) String added in v1.33.16

String returns the string representation

func (*CreateEmailIdentityPolicyInput) Validate added in v1.33.16

func (s *CreateEmailIdentityPolicyInput) Validate() error

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

type CreateEmailIdentityPolicyOutput added in v1.33.16

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

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

func (CreateEmailIdentityPolicyOutput) GoString added in v1.33.16

GoString returns the string representation

func (CreateEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation

type CreateEmailTemplateInput added in v1.33.16

type CreateEmailTemplateInput struct {

	// The content of the email template, composed of a subject line, an HTML part,
	// and a text-only part.
	//
	// TemplateContent is a required field
	TemplateContent *EmailTemplateContent `type:"structure" required:"true"`

	// The name of the template you want to create.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" 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 (CreateEmailTemplateInput) GoString added in v1.33.16

func (s CreateEmailTemplateInput) GoString() string

GoString returns the string representation

func (*CreateEmailTemplateInput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*CreateEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (CreateEmailTemplateInput) String added in v1.33.16

func (s CreateEmailTemplateInput) String() string

String returns the string representation

func (*CreateEmailTemplateInput) Validate added in v1.33.16

func (s *CreateEmailTemplateInput) Validate() error

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

type CreateEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (CreateEmailTemplateOutput) GoString added in v1.33.16

func (s CreateEmailTemplateOutput) GoString() string

GoString returns the string representation

func (CreateEmailTemplateOutput) String added in v1.33.16

func (s CreateEmailTemplateOutput) String() string

String returns the string representation

type CustomVerificationEmailTemplateMetadata added in v1.33.16

type CustomVerificationEmailTemplateMetadata 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 `min:"1" 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 (CustomVerificationEmailTemplateMetadata) GoString added in v1.33.16

GoString returns the string representation

func (*CustomVerificationEmailTemplateMetadata) SetFailureRedirectionURL added in v1.33.16

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*CustomVerificationEmailTemplateMetadata) SetFromEmailAddress added in v1.33.16

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*CustomVerificationEmailTemplateMetadata) SetSuccessRedirectionURL added in v1.33.16

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*CustomVerificationEmailTemplateMetadata) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (*CustomVerificationEmailTemplateMetadata) SetTemplateSubject added in v1.33.16

SetTemplateSubject sets the TemplateSubject field's value.

func (CustomVerificationEmailTemplateMetadata) String added in v1.33.16

String returns the string representation

type DailyVolume

type DailyVolume struct {

	// An object that contains inbox placement metrics for a specified day in the
	// analysis period, broken out by the recipient's email provider.
	DomainIspPlacements []*DomainIspPlacement `type:"list"`

	// The date that the DailyVolume metrics apply to, in Unix time.
	StartDate *time.Time `type:"timestamp"`

	// An object that contains inbox placement metrics for a specific day in the
	// analysis period.
	VolumeStatistics *VolumeStatistics `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains information about the volume of email sent on each day of the analysis period.

func (DailyVolume) GoString

func (s DailyVolume) GoString() string

GoString returns the string representation

func (*DailyVolume) SetDomainIspPlacements

func (s *DailyVolume) SetDomainIspPlacements(v []*DomainIspPlacement) *DailyVolume

SetDomainIspPlacements sets the DomainIspPlacements field's value.

func (*DailyVolume) SetStartDate

func (s *DailyVolume) SetStartDate(v time.Time) *DailyVolume

SetStartDate sets the StartDate field's value.

func (*DailyVolume) SetVolumeStatistics

func (s *DailyVolume) SetVolumeStatistics(v *VolumeStatistics) *DailyVolume

SetVolumeStatistics sets the VolumeStatistics field's value.

func (DailyVolume) String

func (s DailyVolume) String() string

String returns the string representation

type DedicatedIp

type DedicatedIp struct {

	// An IPv4 address.
	//
	// Ip is a required field
	Ip *string `type:"string" required:"true"`

	// The name of the dedicated IP pool that the IP address is associated with.
	PoolName *string `type:"string"`

	// Indicates how complete the dedicated IP warm-up process is. When this value
	// equals 1, the address has completed the warm-up process and is ready for
	// use.
	//
	// WarmupPercentage is a required field
	WarmupPercentage *int64 `type:"integer" required:"true"`

	// The warm-up status of a dedicated IP address. The status can have one of
	// the following values:
	//
	//    * IN_PROGRESS – The IP address isn't ready to use because the dedicated
	//    IP warm-up process is ongoing.
	//
	//    * DONE – The dedicated IP warm-up process is complete, and the IP address
	//    is ready to use.
	//
	// WarmupStatus is a required field
	WarmupStatus *string `type:"string" required:"true" enum:"WarmupStatus"`
	// contains filtered or unexported fields
}

Contains information about a dedicated IP address that is associated with your Amazon SES account.

To learn more about requesting dedicated IP addresses, see Requesting and Relinquishing Dedicated IP Addresses (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/dedicated-ip-case.html) in the Amazon SES Developer Guide.

func (DedicatedIp) GoString

func (s DedicatedIp) GoString() string

GoString returns the string representation

func (*DedicatedIp) SetIp

func (s *DedicatedIp) SetIp(v string) *DedicatedIp

SetIp sets the Ip field's value.

func (*DedicatedIp) SetPoolName

func (s *DedicatedIp) SetPoolName(v string) *DedicatedIp

SetPoolName sets the PoolName field's value.

func (*DedicatedIp) SetWarmupPercentage

func (s *DedicatedIp) SetWarmupPercentage(v int64) *DedicatedIp

SetWarmupPercentage sets the WarmupPercentage field's value.

func (*DedicatedIp) SetWarmupStatus

func (s *DedicatedIp) SetWarmupStatus(v string) *DedicatedIp

SetWarmupStatus sets the WarmupStatus field's value.

func (DedicatedIp) String

func (s DedicatedIp) String() string

String returns the string representation

type DeleteConfigurationSetEventDestinationInput

type DeleteConfigurationSetEventDestinationInput struct {

	// The name of the configuration set that contains the event destination that
	// you want to delete.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

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

A request to delete an event destination from a configuration set.

func (DeleteConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (*DeleteConfigurationSetEventDestinationInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteConfigurationSetEventDestinationInput) SetEventDestinationName

SetEventDestinationName sets the EventDestinationName field's value.

func (DeleteConfigurationSetEventDestinationInput) String

String returns the string representation

func (*DeleteConfigurationSetEventDestinationInput) Validate

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

type DeleteConfigurationSetEventDestinationOutput

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

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

func (DeleteConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (DeleteConfigurationSetEventDestinationOutput) String

String returns the string representation

type DeleteConfigurationSetInput

type DeleteConfigurationSetInput struct {

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

A request to delete a configuration set.

func (DeleteConfigurationSetInput) GoString

func (s DeleteConfigurationSetInput) GoString() string

GoString returns the string representation

func (*DeleteConfigurationSetInput) SetConfigurationSetName

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteConfigurationSetInput) String

String returns the string representation

func (*DeleteConfigurationSetInput) Validate

func (s *DeleteConfigurationSetInput) Validate() error

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

type DeleteConfigurationSetOutput

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

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

func (DeleteConfigurationSetOutput) GoString

func (s DeleteConfigurationSetOutput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetOutput) String

String returns the string representation

type DeleteCustomVerificationEmailTemplateInput added in v1.33.16

type DeleteCustomVerificationEmailTemplateInput struct {

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

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

func (DeleteCustomVerificationEmailTemplateInput) GoString added in v1.33.16

GoString returns the string representation

func (*DeleteCustomVerificationEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (DeleteCustomVerificationEmailTemplateInput) String added in v1.33.16

String returns the string representation

func (*DeleteCustomVerificationEmailTemplateInput) Validate added in v1.33.16

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

type DeleteCustomVerificationEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (DeleteCustomVerificationEmailTemplateOutput) GoString added in v1.33.16

GoString returns the string representation

func (DeleteCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation

type DeleteDedicatedIpPoolInput

type DeleteDedicatedIpPoolInput struct {

	// The name of the dedicated IP pool that you want to delete.
	//
	// PoolName is a required field
	PoolName *string `location:"uri" locationName:"PoolName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to delete a dedicated IP pool.

func (DeleteDedicatedIpPoolInput) GoString

func (s DeleteDedicatedIpPoolInput) GoString() string

GoString returns the string representation

func (*DeleteDedicatedIpPoolInput) SetPoolName

SetPoolName sets the PoolName field's value.

func (DeleteDedicatedIpPoolInput) String

String returns the string representation

func (*DeleteDedicatedIpPoolInput) Validate

func (s *DeleteDedicatedIpPoolInput) Validate() error

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

type DeleteDedicatedIpPoolOutput

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

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

func (DeleteDedicatedIpPoolOutput) GoString

func (s DeleteDedicatedIpPoolOutput) GoString() string

GoString returns the string representation

func (DeleteDedicatedIpPoolOutput) String

String returns the string representation

type DeleteEmailIdentityInput

type DeleteEmailIdentityInput struct {

	// The identity (that is, the email address or domain) that you want to delete.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to delete an existing email identity. When you delete an identity, you lose the ability to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again.

func (DeleteEmailIdentityInput) GoString

func (s DeleteEmailIdentityInput) GoString() string

GoString returns the string representation

func (*DeleteEmailIdentityInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (DeleteEmailIdentityInput) String

func (s DeleteEmailIdentityInput) String() string

String returns the string representation

func (*DeleteEmailIdentityInput) Validate

func (s *DeleteEmailIdentityInput) Validate() error

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

type DeleteEmailIdentityOutput

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

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

func (DeleteEmailIdentityOutput) GoString

func (s DeleteEmailIdentityOutput) GoString() string

GoString returns the string representation

func (DeleteEmailIdentityOutput) String

func (s DeleteEmailIdentityOutput) String() string

String returns the string representation

type DeleteEmailIdentityPolicyInput added in v1.33.16

type DeleteEmailIdentityPolicyInput struct {

	// The email identity for which you want to delete a policy.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" 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 `location:"uri" locationName:"PolicyName" 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-identity-owner-tasks-management.html).

func (DeleteEmailIdentityPolicyInput) GoString added in v1.33.16

GoString returns the string representation

func (*DeleteEmailIdentityPolicyInput) SetEmailIdentity added in v1.33.16

SetEmailIdentity sets the EmailIdentity field's value.

func (*DeleteEmailIdentityPolicyInput) SetPolicyName added in v1.33.16

SetPolicyName sets the PolicyName field's value.

func (DeleteEmailIdentityPolicyInput) String added in v1.33.16

String returns the string representation

func (*DeleteEmailIdentityPolicyInput) Validate added in v1.33.16

func (s *DeleteEmailIdentityPolicyInput) Validate() error

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

type DeleteEmailIdentityPolicyOutput added in v1.33.16

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

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

func (DeleteEmailIdentityPolicyOutput) GoString added in v1.33.16

GoString returns the string representation

func (DeleteEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation

type DeleteEmailTemplateInput added in v1.33.16

type DeleteEmailTemplateInput struct {

	// The name of the template to be deleted.
	//
	// TemplateName is a required field
	TemplateName *string `location:"uri" locationName:"TemplateName" min:"1" 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 (DeleteEmailTemplateInput) GoString added in v1.33.16

func (s DeleteEmailTemplateInput) GoString() string

GoString returns the string representation

func (*DeleteEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (DeleteEmailTemplateInput) String added in v1.33.16

func (s DeleteEmailTemplateInput) String() string

String returns the string representation

func (*DeleteEmailTemplateInput) Validate added in v1.33.16

func (s *DeleteEmailTemplateInput) Validate() error

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

type DeleteEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (DeleteEmailTemplateOutput) GoString added in v1.33.16

func (s DeleteEmailTemplateOutput) GoString() string

GoString returns the string representation

func (DeleteEmailTemplateOutput) String added in v1.33.16

func (s DeleteEmailTemplateOutput) String() string

String returns the string representation

type DeleteSuppressedDestinationInput added in v1.25.42

type DeleteSuppressedDestinationInput struct {

	// The suppressed email destination to remove from the account suppression list.
	//
	// EmailAddress is a required field
	EmailAddress *string `location:"uri" locationName:"EmailAddress" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to remove an email address from the suppression list for your account.

func (DeleteSuppressedDestinationInput) GoString added in v1.25.42

GoString returns the string representation

func (*DeleteSuppressedDestinationInput) SetEmailAddress added in v1.25.42

SetEmailAddress sets the EmailAddress field's value.

func (DeleteSuppressedDestinationInput) String added in v1.25.42

String returns the string representation

func (*DeleteSuppressedDestinationInput) Validate added in v1.25.42

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

type DeleteSuppressedDestinationOutput added in v1.25.42

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

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

func (DeleteSuppressedDestinationOutput) GoString added in v1.25.42

GoString returns the string representation

func (DeleteSuppressedDestinationOutput) String added in v1.25.42

String returns the string representation

type DeliverabilityTestReport

type DeliverabilityTestReport struct {

	// The date and time when the predictive inbox placement test was created, in
	// Unix time format.
	CreateDate *time.Time `type:"timestamp"`

	// The status of the predictive inbox placement test. If the status is IN_PROGRESS,
	// then the predictive inbox placement test is currently running. Predictive
	// inbox placement tests are usually complete within 24 hours of creating the
	// test. If the status is COMPLETE, then the test is finished, and you can use
	// the GetDeliverabilityTestReport to view the results of the test.
	DeliverabilityTestStatus *string `type:"string" enum:"DeliverabilityTestStatus"`

	// The sender address that you specified for the predictive inbox placement
	// test.
	FromEmailAddress *string `type:"string"`

	// A unique string that identifies the predictive inbox placement test.
	ReportId *string `type:"string"`

	// A name that helps you identify a predictive inbox placement test report.
	ReportName *string `type:"string"`

	// The subject line for an email that you submitted in a predictive inbox placement
	// test.
	Subject *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains metadata related to a predictive inbox placement test.

func (DeliverabilityTestReport) GoString

func (s DeliverabilityTestReport) GoString() string

GoString returns the string representation

func (*DeliverabilityTestReport) SetCreateDate

SetCreateDate sets the CreateDate field's value.

func (*DeliverabilityTestReport) SetDeliverabilityTestStatus

func (s *DeliverabilityTestReport) SetDeliverabilityTestStatus(v string) *DeliverabilityTestReport

SetDeliverabilityTestStatus sets the DeliverabilityTestStatus field's value.

func (*DeliverabilityTestReport) SetFromEmailAddress

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

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*DeliverabilityTestReport) SetReportId

SetReportId sets the ReportId field's value.

func (*DeliverabilityTestReport) SetReportName

SetReportName sets the ReportName field's value.

func (*DeliverabilityTestReport) SetSubject

SetSubject sets the Subject field's value.

func (DeliverabilityTestReport) String

func (s DeliverabilityTestReport) String() string

String returns the string representation

type DeliveryOptions

type DeliveryOptions struct {

	// The name of the dedicated IP pool that you want to associate with the configuration
	// set.
	SendingPoolName *string `type:"string"`

	// 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
}

Used to associate a configuration set with a dedicated IP pool.

func (DeliveryOptions) GoString

func (s DeliveryOptions) GoString() string

GoString returns the string representation

func (*DeliveryOptions) SetSendingPoolName

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

SetSendingPoolName sets the SendingPoolName field's value.

func (*DeliveryOptions) SetTlsPolicy

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

SetTlsPolicy sets the TlsPolicy field's value.

func (DeliveryOptions) String

func (s DeliveryOptions) String() string

String returns the string representation

type Destination

type Destination struct {

	// An array that contains the email addresses of the "BCC" (blind carbon copy)
	// recipients for the email.
	BccAddresses []*string `type:"list"`

	// An array that contains the email addresses of the "CC" (carbon copy) recipients
	// for the email.
	CcAddresses []*string `type:"list"`

	// An array that contains the email addresses of the "To" recipients for the
	// email.
	ToAddresses []*string `type:"list"`
	// contains filtered or unexported fields
}

An object that describes the recipients for an email.

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation

func (*Destination) SetBccAddresses

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

SetBccAddresses sets the BccAddresses field's value.

func (*Destination) SetCcAddresses

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

SetCcAddresses sets the CcAddresses field's value.

func (*Destination) SetToAddresses

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

SetToAddresses sets the ToAddresses field's value.

func (Destination) String

func (s Destination) String() string

String returns the string representation

type DkimAttributes

type DkimAttributes struct {

	// A string that indicates how DKIM was configured for the identity. There are
	// two possible values:
	//
	//    * AWS_SES – Indicates that DKIM was configured for the identity by using
	//    Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
	//
	//    * EXTERNAL – Indicates that DKIM was configured for the identity by
	//    using Bring Your Own DKIM (BYODKIM).
	SigningAttributesOrigin *string `type:"string" enum:"DkimSigningAttributesOrigin"`

	// If the value is true, then the messages that you send from the identity are
	// signed using DKIM. If the value is false, then the messages that you send
	// from the identity aren't DKIM-signed.
	SigningEnabled *bool `type:"boolean"`

	// Describes whether or not Amazon SES has successfully located the DKIM records
	// in the DNS records for the domain. The status can be one of the following:
	//
	//    * PENDING – The verification process was initiated, but Amazon SES hasn't
	//    yet detected the DKIM records in the DNS configuration for the domain.
	//
	//    * SUCCESS – The verification process completed successfully.
	//
	//    * FAILED – The verification process failed. This typically occurs when
	//    Amazon SES fails to find the DKIM records in the DNS configuration of
	//    the domain.
	//
	//    * TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from
	//    determining the DKIM authentication status of the domain.
	//
	//    * NOT_STARTED – The DKIM verification process hasn't been initiated
	//    for the domain.
	Status *string `type:"string" enum:"DkimStatus"`

	// If you used Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html)
	// to configure DKIM authentication for the domain, then this object contains
	// a set of unique strings that you use to create a set of CNAME records that
	// you add to the DNS configuration for your domain. When Amazon SES detects
	// these records in the DNS configuration for your domain, the DKIM authentication
	// process is complete.
	//
	// If you configured DKIM authentication for the domain by providing your own
	// public-private key pair, then this object contains the selector for the public
	// key.
	//
	// Regardless of the DKIM authentication method you use, Amazon SES searches
	// for the appropriate records in the DNS configuration of the domain for up
	// to 72 hours.
	Tokens []*string `type:"list"`
	// contains filtered or unexported fields
}

An object that contains information about the DKIM authentication status for an email identity.

Amazon SES determines the authentication status by searching for specific records in the DNS configuration for the domain. If you used Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) to set up DKIM authentication, Amazon SES tries to find three unique CNAME records in the DNS configuration for your domain. If you provided a public key to perform DKIM authentication, Amazon SES tries to find a TXT record that uses the selector that you specified. The value of the TXT record must be a public key that's paired with the private key that you specified in the process of creating the identity

func (DkimAttributes) GoString

func (s DkimAttributes) GoString() string

GoString returns the string representation

func (*DkimAttributes) SetSigningAttributesOrigin added in v1.26.2

func (s *DkimAttributes) SetSigningAttributesOrigin(v string) *DkimAttributes

SetSigningAttributesOrigin sets the SigningAttributesOrigin field's value.

func (*DkimAttributes) SetSigningEnabled

func (s *DkimAttributes) SetSigningEnabled(v bool) *DkimAttributes

SetSigningEnabled sets the SigningEnabled field's value.

func (*DkimAttributes) SetStatus

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

SetStatus sets the Status field's value.

func (*DkimAttributes) SetTokens

func (s *DkimAttributes) SetTokens(v []*string) *DkimAttributes

SetTokens sets the Tokens field's value.

func (DkimAttributes) String

func (s DkimAttributes) String() string

String returns the string representation

type DkimSigningAttributes added in v1.26.2

type DkimSigningAttributes struct {

	// A private key that's used to generate a DKIM signature.
	//
	// The private key must use 1024-bit RSA encryption, and must be encoded using
	// base64 encoding.
	//
	// DomainSigningPrivateKey is a required field
	DomainSigningPrivateKey *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// A string that's used to identify a public key in the DNS configuration for
	// a domain.
	//
	// DomainSigningSelector is a required field
	DomainSigningSelector *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that contains information about the tokens used for setting up Bring Your Own DKIM (BYODKIM).

func (DkimSigningAttributes) GoString added in v1.26.2

func (s DkimSigningAttributes) GoString() string

GoString returns the string representation

func (*DkimSigningAttributes) SetDomainSigningPrivateKey added in v1.26.2

func (s *DkimSigningAttributes) SetDomainSigningPrivateKey(v string) *DkimSigningAttributes

SetDomainSigningPrivateKey sets the DomainSigningPrivateKey field's value.

func (*DkimSigningAttributes) SetDomainSigningSelector added in v1.26.2

func (s *DkimSigningAttributes) SetDomainSigningSelector(v string) *DkimSigningAttributes

SetDomainSigningSelector sets the DomainSigningSelector field's value.

func (DkimSigningAttributes) String added in v1.26.2

func (s DkimSigningAttributes) String() string

String returns the string representation

func (*DkimSigningAttributes) Validate added in v1.26.2

func (s *DkimSigningAttributes) Validate() error

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

type DomainDeliverabilityCampaign

type DomainDeliverabilityCampaign struct {

	// The unique identifier for the campaign. The Deliverability dashboard automatically
	// generates and assigns this identifier to a campaign.
	CampaignId *string `type:"string"`

	// The percentage of email messages that were deleted by recipients, without
	// being opened first. Due to technical limitations, this value only includes
	// recipients who opened the message by using an email client that supports
	// images.
	DeleteRate *float64 `type:"double"`

	// The major email providers who handled the email message.
	Esps []*string `type:"list"`

	// The first time, in Unix time format, when the email message was delivered
	// to any recipient's inbox. This value can help you determine how long it took
	// for a campaign to deliver an email message.
	FirstSeenDateTime *time.Time `type:"timestamp"`

	// The verified email address that the email message was sent from.
	FromAddress *string `min:"1" type:"string"`

	// The URL of an image that contains a snapshot of the email message that was
	// sent.
	ImageUrl *string `type:"string"`

	// The number of email messages that were delivered to recipients’ inboxes.
	InboxCount *int64 `type:"long"`

	// The last time, in Unix time format, when the email message was delivered
	// to any recipient's inbox. This value can help you determine how long it took
	// for a campaign to deliver an email message.
	LastSeenDateTime *time.Time `type:"timestamp"`

	// The projected number of recipients that the email message was sent to.
	ProjectedVolume *int64 `type:"long"`

	// The percentage of email messages that were opened and then deleted by recipients.
	// Due to technical limitations, this value only includes recipients who opened
	// the message by using an email client that supports images.
	ReadDeleteRate *float64 `type:"double"`

	// The percentage of email messages that were opened by recipients. Due to technical
	// limitations, this value only includes recipients who opened the message by
	// using an email client that supports images.
	ReadRate *float64 `type:"double"`

	// The IP addresses that were used to send the email message.
	SendingIps []*string `type:"list"`

	// The number of email messages that were delivered to recipients' spam or junk
	// mail folders.
	SpamCount *int64 `type:"long"`

	// The subject line, or title, of the email message.
	Subject *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation).

func (DomainDeliverabilityCampaign) GoString

func (s DomainDeliverabilityCampaign) GoString() string

GoString returns the string representation

func (*DomainDeliverabilityCampaign) SetCampaignId

SetCampaignId sets the CampaignId field's value.

func (*DomainDeliverabilityCampaign) SetDeleteRate

SetDeleteRate sets the DeleteRate field's value.

func (*DomainDeliverabilityCampaign) SetEsps

SetEsps sets the Esps field's value.

func (*DomainDeliverabilityCampaign) SetFirstSeenDateTime

SetFirstSeenDateTime sets the FirstSeenDateTime field's value.

func (*DomainDeliverabilityCampaign) SetFromAddress

SetFromAddress sets the FromAddress field's value.

func (*DomainDeliverabilityCampaign) SetImageUrl

SetImageUrl sets the ImageUrl field's value.

func (*DomainDeliverabilityCampaign) SetInboxCount

SetInboxCount sets the InboxCount field's value.

func (*DomainDeliverabilityCampaign) SetLastSeenDateTime

SetLastSeenDateTime sets the LastSeenDateTime field's value.

func (*DomainDeliverabilityCampaign) SetProjectedVolume

SetProjectedVolume sets the ProjectedVolume field's value.

func (*DomainDeliverabilityCampaign) SetReadDeleteRate

SetReadDeleteRate sets the ReadDeleteRate field's value.

func (*DomainDeliverabilityCampaign) SetReadRate

SetReadRate sets the ReadRate field's value.

func (*DomainDeliverabilityCampaign) SetSendingIps

SetSendingIps sets the SendingIps field's value.

func (*DomainDeliverabilityCampaign) SetSpamCount

SetSpamCount sets the SpamCount field's value.

func (*DomainDeliverabilityCampaign) SetSubject

SetSubject sets the Subject field's value.

func (DomainDeliverabilityCampaign) String

String returns the string representation

type DomainDeliverabilityTrackingOption

type DomainDeliverabilityTrackingOption struct {

	// A verified domain that’s associated with your AWS account and currently
	// has an active Deliverability dashboard subscription.
	Domain *string `type:"string"`

	// An object that contains information about the inbox placement data settings
	// for the domain.
	InboxPlacementTrackingOption *InboxPlacementTrackingOption `type:"structure"`

	// The date, in Unix time format, when you enabled the Deliverability dashboard
	// for the domain.
	SubscriptionStartDate *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

An object that contains information about the Deliverability dashboard subscription for a verified domain that you use to send email and currently has an active Deliverability dashboard subscription. If a Deliverability dashboard subscription is active for a domain, you gain access to reputation, inbox placement, and other metrics for the domain.

func (DomainDeliverabilityTrackingOption) GoString

GoString returns the string representation

func (*DomainDeliverabilityTrackingOption) SetDomain

SetDomain sets the Domain field's value.

func (*DomainDeliverabilityTrackingOption) SetInboxPlacementTrackingOption

SetInboxPlacementTrackingOption sets the InboxPlacementTrackingOption field's value.

func (*DomainDeliverabilityTrackingOption) SetSubscriptionStartDate

SetSubscriptionStartDate sets the SubscriptionStartDate field's value.

func (DomainDeliverabilityTrackingOption) String

String returns the string representation

type DomainIspPlacement

type DomainIspPlacement struct {

	// The percentage of messages that were sent from the selected domain to the
	// specified email provider that arrived in recipients' inboxes.
	InboxPercentage *float64 `type:"double"`

	// The total number of messages that were sent from the selected domain to the
	// specified email provider that arrived in recipients' inboxes.
	InboxRawCount *int64 `type:"long"`

	// The name of the email provider that the inbox placement data applies to.
	IspName *string `type:"string"`

	// The percentage of messages that were sent from the selected domain to the
	// specified email provider that arrived in recipients' spam or junk mail folders.
	SpamPercentage *float64 `type:"double"`

	// The total number of messages that were sent from the selected domain to the
	// specified email provider that arrived in recipients' spam or junk mail folders.
	SpamRawCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

An object that contains inbox placement data for email sent from one of your email domains to a specific email provider.

func (DomainIspPlacement) GoString

func (s DomainIspPlacement) GoString() string

GoString returns the string representation

func (*DomainIspPlacement) SetInboxPercentage

func (s *DomainIspPlacement) SetInboxPercentage(v float64) *DomainIspPlacement

SetInboxPercentage sets the InboxPercentage field's value.

func (*DomainIspPlacement) SetInboxRawCount

func (s *DomainIspPlacement) SetInboxRawCount(v int64) *DomainIspPlacement

SetInboxRawCount sets the InboxRawCount field's value.

func (*DomainIspPlacement) SetIspName

func (s *DomainIspPlacement) SetIspName(v string) *DomainIspPlacement

SetIspName sets the IspName field's value.

func (*DomainIspPlacement) SetSpamPercentage

func (s *DomainIspPlacement) SetSpamPercentage(v float64) *DomainIspPlacement

SetSpamPercentage sets the SpamPercentage field's value.

func (*DomainIspPlacement) SetSpamRawCount

func (s *DomainIspPlacement) SetSpamRawCount(v int64) *DomainIspPlacement

SetSpamRawCount sets the SpamRawCount field's value.

func (DomainIspPlacement) String

func (s DomainIspPlacement) String() string

String returns the string representation

type EmailContent

type EmailContent struct {

	// The raw email message. The message has to meet the following criteria:
	//
	//    * The message has to contain a header and a body, separated by one blank
	//    line.
	//
	//    * All of the required header fields must be present in the message.
	//
	//    * Each part of a multipart MIME message must be formatted properly.
	//
	//    * If you include attachments, they must be in a file format that the Amazon
	//    SES API v2 supports.
	//
	//    * The entire message must be Base64 encoded.
	//
	//    * If any of the MIME parts in your message contain content that is outside
	//    of the 7-bit ASCII character range, you should encode that content to
	//    ensure that recipients' email clients render the message properly.
	//
	//    * The length of any single line of text in the message can't exceed 1,000
	//    characters. This restriction is defined in RFC 5321 (https://tools.ietf.org/html/rfc5321).
	Raw *RawMessage `type:"structure"`

	// The simple email message. The message consists of a subject and a message
	// body.
	Simple *Message `type:"structure"`

	// The template to use for the email message.
	Template *Template `type:"structure"`
	// contains filtered or unexported fields
}

An object that defines the entire content of the email, including the message headers and the body content. You can create a simple email message, in which you specify the subject and the text and HTML versions of the message body. You can also create raw messages, in which you specify a complete MIME-formatted message. Raw messages can include attachments and custom headers.

func (EmailContent) GoString

func (s EmailContent) GoString() string

GoString returns the string representation

func (*EmailContent) SetRaw

func (s *EmailContent) SetRaw(v *RawMessage) *EmailContent

SetRaw sets the Raw field's value.

func (*EmailContent) SetSimple

func (s *EmailContent) SetSimple(v *Message) *EmailContent

SetSimple sets the Simple field's value.

func (*EmailContent) SetTemplate

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

SetTemplate sets the Template field's value.

func (EmailContent) String

func (s EmailContent) String() string

String returns the string representation

func (*EmailContent) Validate

func (s *EmailContent) Validate() error

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

type EmailTemplateContent added in v1.33.16

type EmailTemplateContent struct {

	// The HTML body of the email.
	Html *string `type:"string"`

	// The subject line of the email.
	Subject *string `type:"string"`

	// The email body that will be visible to recipients whose email clients do
	// not display HTML.
	Text *string `type:"string"`
	// contains filtered or unexported fields
}

The content of the email, composed of a subject line, an HTML part, and a text-only part.

func (EmailTemplateContent) GoString added in v1.33.16

func (s EmailTemplateContent) GoString() string

GoString returns the string representation

func (*EmailTemplateContent) SetHtml added in v1.33.16

SetHtml sets the Html field's value.

func (*EmailTemplateContent) SetSubject added in v1.33.16

SetSubject sets the Subject field's value.

func (*EmailTemplateContent) SetText added in v1.33.16

SetText sets the Text field's value.

func (EmailTemplateContent) String added in v1.33.16

func (s EmailTemplateContent) String() string

String returns the string representation

type EmailTemplateMetadata added in v1.33.16

type EmailTemplateMetadata struct {

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

	// The name of the template.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains information about an email template.

func (EmailTemplateMetadata) GoString added in v1.33.16

func (s EmailTemplateMetadata) GoString() string

GoString returns the string representation

func (*EmailTemplateMetadata) SetCreatedTimestamp added in v1.33.16

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*EmailTemplateMetadata) SetTemplateName added in v1.33.16

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

SetTemplateName sets the TemplateName field's value.

func (EmailTemplateMetadata) String added in v1.33.16

func (s EmailTemplateMetadata) String() string

String returns the string representation

type EventDestination

type EventDestination struct {

	// An object that defines an Amazon CloudWatch destination for email events.
	// You can use Amazon CloudWatch to monitor and gain insights on your email
	// sending metrics.
	CloudWatchDestination *CloudWatchDestination `type:"structure"`

	// If true, the event destination is enabled. When the event destination is
	// enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.
	//
	// If false, the event destination is disabled. When the event destination is
	// disabled, events aren't sent to the specified destinations.
	Enabled *bool `type:"boolean"`

	// An object that defines an Amazon Kinesis Data Firehose destination for email
	// events. You can use Amazon Kinesis Data Firehose to stream data to other
	// services, such as Amazon S3 and Amazon Redshift.
	KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

	// The types of events that Amazon SES sends to the specified event destinations.
	//
	// MatchingEventTypes is a required field
	MatchingEventTypes []*string `type:"list" required:"true"`

	// A name that identifies the event destination.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// An object that defines an Amazon Pinpoint project destination for email events.
	// You can send email event data to a Amazon Pinpoint project to view metrics
	// using the Transactional Messaging dashboards that are built in to Amazon
	// Pinpoint. For more information, see Transactional Messaging Charts (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
	// in the Amazon Pinpoint User Guide.
	PinpointDestination *PinpointDestination `type:"structure"`

	// An object that defines an Amazon SNS destination for email events. You can
	// use Amazon SNS to send notification when certain email events occur.
	SnsDestination *SnsDestination `type:"structure"`
	// contains filtered or unexported fields
}

In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

func (EventDestination) GoString

func (s EventDestination) GoString() string

GoString returns the string representation

func (*EventDestination) SetCloudWatchDestination

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

SetCloudWatchDestination sets the CloudWatchDestination field's value.

func (*EventDestination) SetEnabled

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

SetEnabled sets the Enabled field's value.

func (*EventDestination) SetKinesisFirehoseDestination

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

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*EventDestination) SetMatchingEventTypes

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

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*EventDestination) SetName

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

SetName sets the Name field's value.

func (*EventDestination) SetPinpointDestination

func (s *EventDestination) SetPinpointDestination(v *PinpointDestination) *EventDestination

SetPinpointDestination sets the PinpointDestination field's value.

func (*EventDestination) SetSnsDestination

func (s *EventDestination) SetSnsDestination(v *SnsDestination) *EventDestination

SetSnsDestination sets the SnsDestination field's value.

func (EventDestination) String

func (s EventDestination) String() string

String returns the string representation

type EventDestinationDefinition

type EventDestinationDefinition struct {

	// An object that defines an Amazon CloudWatch destination for email events.
	// You can use Amazon CloudWatch to monitor and gain insights on your email
	// sending metrics.
	CloudWatchDestination *CloudWatchDestination `type:"structure"`

	// If true, the event destination is enabled. When the event destination is
	// enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.
	//
	// If false, the event destination is disabled. When the event destination is
	// disabled, events aren't sent to the specified destinations.
	Enabled *bool `type:"boolean"`

	// An object that defines an Amazon Kinesis Data Firehose destination for email
	// events. You can use Amazon Kinesis Data Firehose to stream data to other
	// services, such as Amazon S3 and Amazon Redshift.
	KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

	// An array that specifies which events the Amazon SES API v2 should send to
	// the destinations in this EventDestinationDefinition.
	MatchingEventTypes []*string `type:"list"`

	// An object that defines an Amazon Pinpoint project destination for email events.
	// You can send email event data to a Amazon Pinpoint project to view metrics
	// using the Transactional Messaging dashboards that are built in to Amazon
	// Pinpoint. For more information, see Transactional Messaging Charts (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
	// in the Amazon Pinpoint User Guide.
	PinpointDestination *PinpointDestination `type:"structure"`

	// An object that defines an Amazon SNS destination for email events. You can
	// use Amazon SNS to send notification when certain email events occur.
	SnsDestination *SnsDestination `type:"structure"`
	// contains filtered or unexported fields
}

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

func (EventDestinationDefinition) GoString

func (s EventDestinationDefinition) GoString() string

GoString returns the string representation

func (*EventDestinationDefinition) SetCloudWatchDestination

SetCloudWatchDestination sets the CloudWatchDestination field's value.

func (*EventDestinationDefinition) SetEnabled

SetEnabled sets the Enabled field's value.

func (*EventDestinationDefinition) SetKinesisFirehoseDestination

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*EventDestinationDefinition) SetMatchingEventTypes

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

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*EventDestinationDefinition) SetPinpointDestination

SetPinpointDestination sets the PinpointDestination field's value.

func (*EventDestinationDefinition) SetSnsDestination

SetSnsDestination sets the SnsDestination field's value.

func (EventDestinationDefinition) String

String returns the string representation

func (*EventDestinationDefinition) Validate

func (s *EventDestinationDefinition) Validate() error

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

type GetAccountInput

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

A request to obtain information about the email-sending capabilities of your Amazon SES account.

func (GetAccountInput) GoString

func (s GetAccountInput) GoString() string

GoString returns the string representation

func (GetAccountInput) String

func (s GetAccountInput) String() string

String returns the string representation

type GetAccountOutput

type GetAccountOutput struct {

	// Indicates whether or not the automatic warm-up feature is enabled for dedicated
	// IP addresses that are associated with your account.
	DedicatedIpAutoWarmupEnabled *bool `type:"boolean"`

	// An object that defines your account details.
	Details *AccountDetails `type:"structure"`

	// The reputation status of your Amazon SES account. The status can be one of
	// the following:
	//
	//    * HEALTHY – There are no reputation-related issues that currently impact
	//    your account.
	//
	//    * PROBATION – We've identified potential issues with your Amazon SES
	//    account. We're placing your account under review while you work on correcting
	//    these issues.
	//
	//    * SHUTDOWN – Your account's ability to send email is currently paused
	//    because of an issue with the email sent from your account. When you correct
	//    the issue, you can contact us and request that your account's ability
	//    to send email is resumed.
	EnforcementStatus *string `type:"string"`

	// Indicates whether or not your account has production access in the current
	// AWS Region.
	//
	// If the value is false, then your account is in the sandbox. When your account
	// is in the sandbox, you can only send email to verified identities. Additionally,
	// the maximum number of emails you can send in a 24-hour period (your sending
	// quota) is 200, and the maximum number of emails you can send per second (your
	// maximum sending rate) is 1.
	//
	// If the value is true, then your account has production access. When your
	// account has production access, you can send email to any address. The sending
	// quota and maximum sending rate for your account vary based on your specific
	// use case.
	ProductionAccessEnabled *bool `type:"boolean"`

	// An object that contains information about the per-day and per-second sending
	// limits for your Amazon SES account in the current AWS Region.
	SendQuota *SendQuota `type:"structure"`

	// Indicates whether or not email sending is enabled for your Amazon SES account
	// in the current AWS Region.
	SendingEnabled *bool `type:"boolean"`

	// An object that contains information about the email address suppression preferences
	// for your account in the current AWS Region.
	SuppressionAttributes *SuppressionAttributes `type:"structure"`
	// contains filtered or unexported fields
}

A list of details about the email-sending capabilities of your Amazon SES account in the current AWS Region.

func (GetAccountOutput) GoString

func (s GetAccountOutput) GoString() string

GoString returns the string representation

func (*GetAccountOutput) SetDedicatedIpAutoWarmupEnabled

func (s *GetAccountOutput) SetDedicatedIpAutoWarmupEnabled(v bool) *GetAccountOutput

SetDedicatedIpAutoWarmupEnabled sets the DedicatedIpAutoWarmupEnabled field's value.

func (*GetAccountOutput) SetDetails added in v1.33.16

SetDetails sets the Details field's value.

func (*GetAccountOutput) SetEnforcementStatus

func (s *GetAccountOutput) SetEnforcementStatus(v string) *GetAccountOutput

SetEnforcementStatus sets the EnforcementStatus field's value.

func (*GetAccountOutput) SetProductionAccessEnabled

func (s *GetAccountOutput) SetProductionAccessEnabled(v bool) *GetAccountOutput

SetProductionAccessEnabled sets the ProductionAccessEnabled field's value.

func (*GetAccountOutput) SetSendQuota

func (s *GetAccountOutput) SetSendQuota(v *SendQuota) *GetAccountOutput

SetSendQuota sets the SendQuota field's value.

func (*GetAccountOutput) SetSendingEnabled

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

SetSendingEnabled sets the SendingEnabled field's value.

func (*GetAccountOutput) SetSuppressionAttributes added in v1.25.42

func (s *GetAccountOutput) SetSuppressionAttributes(v *SuppressionAttributes) *GetAccountOutput

SetSuppressionAttributes sets the SuppressionAttributes field's value.

func (GetAccountOutput) String

func (s GetAccountOutput) String() string

String returns the string representation

type GetBlacklistReportsInput

type GetBlacklistReportsInput struct {

	// A list of IP addresses that you want to retrieve blacklist information about.
	// You can only specify the dedicated IP addresses that you use to send email
	// using Amazon SES or Amazon Pinpoint.
	//
	// BlacklistItemNames is a required field
	BlacklistItemNames []*string `location:"querystring" locationName:"BlacklistItemNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

A request to retrieve a list of the blacklists that your dedicated IP addresses appear on.

func (GetBlacklistReportsInput) GoString

func (s GetBlacklistReportsInput) GoString() string

GoString returns the string representation

func (*GetBlacklistReportsInput) SetBlacklistItemNames

func (s *GetBlacklistReportsInput) SetBlacklistItemNames(v []*string) *GetBlacklistReportsInput

SetBlacklistItemNames sets the BlacklistItemNames field's value.

func (GetBlacklistReportsInput) String

func (s GetBlacklistReportsInput) String() string

String returns the string representation

func (*GetBlacklistReportsInput) Validate

func (s *GetBlacklistReportsInput) Validate() error

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

type GetBlacklistReportsOutput

type GetBlacklistReportsOutput struct {

	// An object that contains information about a blacklist that one of your dedicated
	// IP addresses appears on.
	//
	// BlacklistReport is a required field
	BlacklistReport map[string][]*BlacklistEntry `type:"map" required:"true"`
	// contains filtered or unexported fields
}

An object that contains information about blacklist events.

func (GetBlacklistReportsOutput) GoString

func (s GetBlacklistReportsOutput) GoString() string

GoString returns the string representation

func (*GetBlacklistReportsOutput) SetBlacklistReport

SetBlacklistReport sets the BlacklistReport field's value.

func (GetBlacklistReportsOutput) String

func (s GetBlacklistReportsOutput) String() string

String returns the string representation

type GetConfigurationSetEventDestinationsInput

type GetConfigurationSetEventDestinationsInput struct {

	// The name of the configuration set that contains the event destination.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to obtain information about the event destinations for a configuration set.

func (GetConfigurationSetEventDestinationsInput) GoString

GoString returns the string representation

func (*GetConfigurationSetEventDestinationsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (GetConfigurationSetEventDestinationsInput) String

String returns the string representation

func (*GetConfigurationSetEventDestinationsInput) Validate

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

type GetConfigurationSetEventDestinationsOutput

type GetConfigurationSetEventDestinationsOutput struct {

	// An array that includes all of the events destinations that have been configured
	// for the configuration set.
	EventDestinations []*EventDestination `type:"list"`
	// contains filtered or unexported fields
}

Information about an event destination for a configuration set.

func (GetConfigurationSetEventDestinationsOutput) GoString

GoString returns the string representation

func (*GetConfigurationSetEventDestinationsOutput) SetEventDestinations

SetEventDestinations sets the EventDestinations field's value.

func (GetConfigurationSetEventDestinationsOutput) String

String returns the string representation

type GetConfigurationSetInput

type GetConfigurationSetInput struct {

	// The name of the configuration set that you want to obtain more information
	// about.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to obtain information about a configuration set.

func (GetConfigurationSetInput) GoString

func (s GetConfigurationSetInput) GoString() string

GoString returns the string representation

func (*GetConfigurationSetInput) SetConfigurationSetName

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (GetConfigurationSetInput) String

func (s GetConfigurationSetInput) String() string

String returns the string representation

func (*GetConfigurationSetInput) Validate

func (s *GetConfigurationSetInput) Validate() error

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

type GetConfigurationSetOutput

type GetConfigurationSetOutput struct {

	// The name of the configuration set.
	ConfigurationSetName *string `type:"string"`

	// An object that defines the dedicated IP pool that is used to send emails
	// that you send using the configuration set.
	DeliveryOptions *DeliveryOptions `type:"structure"`

	// An object that defines whether or not Amazon SES collects reputation metrics
	// for the emails that you send that use the configuration set.
	ReputationOptions *ReputationOptions `type:"structure"`

	// An object that defines whether or not Amazon SES can send email that you
	// send using the configuration set.
	SendingOptions *SendingOptions `type:"structure"`

	// An object that contains information about the suppression list preferences
	// for your account.
	SuppressionOptions *SuppressionOptions `type:"structure"`

	// An array of objects that define the tags (keys and values) that are associated
	// with the configuration set.
	Tags []*Tag `type:"list"`

	// An object that defines the open and click tracking options for emails that
	// you send using the configuration set.
	TrackingOptions *TrackingOptions `type:"structure"`
	// contains filtered or unexported fields
}

Information about a configuration set.

func (GetConfigurationSetOutput) GoString

func (s GetConfigurationSetOutput) GoString() string

GoString returns the string representation

func (*GetConfigurationSetOutput) SetConfigurationSetName

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*GetConfigurationSetOutput) SetDeliveryOptions

SetDeliveryOptions sets the DeliveryOptions field's value.

func (*GetConfigurationSetOutput) SetReputationOptions

SetReputationOptions sets the ReputationOptions field's value.

func (*GetConfigurationSetOutput) SetSendingOptions

SetSendingOptions sets the SendingOptions field's value.

func (*GetConfigurationSetOutput) SetSuppressionOptions added in v1.25.42

SetSuppressionOptions sets the SuppressionOptions field's value.

func (*GetConfigurationSetOutput) SetTags

SetTags sets the Tags field's value.

func (*GetConfigurationSetOutput) SetTrackingOptions

SetTrackingOptions sets the TrackingOptions field's value.

func (GetConfigurationSetOutput) String

func (s GetConfigurationSetOutput) String() string

String returns the string representation

type GetCustomVerificationEmailTemplateInput added in v1.33.16

type GetCustomVerificationEmailTemplateInput struct {

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

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

func (GetCustomVerificationEmailTemplateInput) GoString added in v1.33.16

GoString returns the string representation

func (*GetCustomVerificationEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (GetCustomVerificationEmailTemplateInput) String added in v1.33.16

String returns the string representation

func (*GetCustomVerificationEmailTemplateInput) Validate added in v1.33.16

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

type GetCustomVerificationEmailTemplateOutput added in v1.33.16

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 `min:"1" type:"string"`

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

The following elements are returned by the service.

func (GetCustomVerificationEmailTemplateOutput) GoString added in v1.33.16

GoString returns the string representation

func (*GetCustomVerificationEmailTemplateOutput) SetFailureRedirectionURL added in v1.33.16

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetFromEmailAddress added in v1.33.16

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetSuccessRedirectionURL added in v1.33.16

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (*GetCustomVerificationEmailTemplateOutput) SetTemplateSubject added in v1.33.16

SetTemplateSubject sets the TemplateSubject field's value.

func (GetCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation

type GetDedicatedIpInput

type GetDedicatedIpInput struct {

	// The IP address that you want to obtain more information about. The value
	// you specify has to be a dedicated IP address that's assocaited with your
	// AWS account.
	//
	// Ip is a required field
	Ip *string `location:"uri" locationName:"IP" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to obtain more information about a dedicated IP address.

func (GetDedicatedIpInput) GoString

func (s GetDedicatedIpInput) GoString() string

GoString returns the string representation

func (*GetDedicatedIpInput) SetIp

SetIp sets the Ip field's value.

func (GetDedicatedIpInput) String

func (s GetDedicatedIpInput) String() string

String returns the string representation

func (*GetDedicatedIpInput) Validate

func (s *GetDedicatedIpInput) Validate() error

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

type GetDedicatedIpOutput

type GetDedicatedIpOutput struct {

	// An object that contains information about a dedicated IP address.
	DedicatedIp *DedicatedIp `type:"structure"`
	// contains filtered or unexported fields
}

Information about a dedicated IP address.

func (GetDedicatedIpOutput) GoString

func (s GetDedicatedIpOutput) GoString() string

GoString returns the string representation

func (*GetDedicatedIpOutput) SetDedicatedIp

func (s *GetDedicatedIpOutput) SetDedicatedIp(v *DedicatedIp) *GetDedicatedIpOutput

SetDedicatedIp sets the DedicatedIp field's value.

func (GetDedicatedIpOutput) String

func (s GetDedicatedIpOutput) String() string

String returns the string representation

type GetDedicatedIpsInput

type GetDedicatedIpsInput struct {

	// A token returned from a previous call to GetDedicatedIps to indicate the
	// position of the dedicated IP pool in the list of IP pools.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to GetDedicatedIpsRequest.
	// If the number of results is larger than the number you specified in this
	// parameter, then the response includes a NextToken element, which you can
	// use to obtain additional results.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`

	// The name of the IP pool that the dedicated IP address is associated with.
	PoolName *string `location:"querystring" locationName:"PoolName" type:"string"`
	// contains filtered or unexported fields
}

A request to obtain more information about dedicated IP pools.

func (GetDedicatedIpsInput) GoString

func (s GetDedicatedIpsInput) GoString() string

GoString returns the string representation

func (*GetDedicatedIpsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetDedicatedIpsInput) SetPageSize

func (s *GetDedicatedIpsInput) SetPageSize(v int64) *GetDedicatedIpsInput

SetPageSize sets the PageSize field's value.

func (*GetDedicatedIpsInput) SetPoolName

SetPoolName sets the PoolName field's value.

func (GetDedicatedIpsInput) String

func (s GetDedicatedIpsInput) String() string

String returns the string representation

type GetDedicatedIpsOutput

type GetDedicatedIpsOutput struct {

	// A list of dedicated IP addresses that are associated with your AWS account.
	DedicatedIps []*DedicatedIp `type:"list"`

	// A token that indicates that there are additional dedicated IP addresses to
	// list. To view additional addresses, issue another request to GetDedicatedIps,
	// passing this token in the NextToken parameter.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Information about the dedicated IP addresses that are associated with your AWS account.

func (GetDedicatedIpsOutput) GoString

func (s GetDedicatedIpsOutput) GoString() string

GoString returns the string representation

func (*GetDedicatedIpsOutput) SetDedicatedIps

func (s *GetDedicatedIpsOutput) SetDedicatedIps(v []*DedicatedIp) *GetDedicatedIpsOutput

SetDedicatedIps sets the DedicatedIps field's value.

func (*GetDedicatedIpsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetDedicatedIpsOutput) String

func (s GetDedicatedIpsOutput) String() string

String returns the string representation

type GetDeliverabilityDashboardOptionsInput

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

Retrieve information about the status of the Deliverability dashboard for your AWS account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for your domains. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing (http://aws.amazon.com/pinpoint/pricing/).

func (GetDeliverabilityDashboardOptionsInput) GoString

GoString returns the string representation

func (GetDeliverabilityDashboardOptionsInput) String

String returns the string representation

type GetDeliverabilityDashboardOptionsOutput

type GetDeliverabilityDashboardOptionsOutput struct {

	// The current status of your Deliverability dashboard subscription. If this
	// value is PENDING_EXPIRATION, your subscription is scheduled to expire at
	// the end of the current calendar month.
	AccountStatus *string `type:"string" enum:"DeliverabilityDashboardAccountStatus"`

	// An array of objects, one for each verified domain that you use to send email
	// and currently has an active Deliverability dashboard subscription that isn’t
	// scheduled to expire at the end of the current calendar month.
	ActiveSubscribedDomains []*DomainDeliverabilityTrackingOption `type:"list"`

	// Specifies whether the Deliverability dashboard is enabled. If this value
	// is true, the dashboard is enabled.
	//
	// DashboardEnabled is a required field
	DashboardEnabled *bool `type:"boolean" required:"true"`

	// An array of objects, one for each verified domain that you use to send email
	// and currently has an active Deliverability dashboard subscription that's
	// scheduled to expire at the end of the current calendar month.
	PendingExpirationSubscribedDomains []*DomainDeliverabilityTrackingOption `type:"list"`

	// The date, in Unix time format, when your current subscription to the Deliverability
	// dashboard is scheduled to expire, if your subscription is scheduled to expire
	// at the end of the current calendar month. This value is null if you have
	// an active subscription that isn’t due to expire at the end of the month.
	SubscriptionExpiryDate *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

An object that shows the status of the Deliverability dashboard.

func (GetDeliverabilityDashboardOptionsOutput) GoString

GoString returns the string representation

func (*GetDeliverabilityDashboardOptionsOutput) SetAccountStatus

SetAccountStatus sets the AccountStatus field's value.

func (*GetDeliverabilityDashboardOptionsOutput) SetActiveSubscribedDomains

SetActiveSubscribedDomains sets the ActiveSubscribedDomains field's value.

func (*GetDeliverabilityDashboardOptionsOutput) SetDashboardEnabled

SetDashboardEnabled sets the DashboardEnabled field's value.

func (*GetDeliverabilityDashboardOptionsOutput) SetPendingExpirationSubscribedDomains

SetPendingExpirationSubscribedDomains sets the PendingExpirationSubscribedDomains field's value.

func (*GetDeliverabilityDashboardOptionsOutput) SetSubscriptionExpiryDate

SetSubscriptionExpiryDate sets the SubscriptionExpiryDate field's value.

func (GetDeliverabilityDashboardOptionsOutput) String

String returns the string representation

type GetDeliverabilityTestReportInput

type GetDeliverabilityTestReportInput struct {

	// A unique string that identifies the predictive inbox placement test.
	//
	// ReportId is a required field
	ReportId *string `location:"uri" locationName:"ReportId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to retrieve the results of a predictive inbox placement test.

func (GetDeliverabilityTestReportInput) GoString

GoString returns the string representation

func (*GetDeliverabilityTestReportInput) SetReportId

SetReportId sets the ReportId field's value.

func (GetDeliverabilityTestReportInput) String

String returns the string representation

func (*GetDeliverabilityTestReportInput) Validate

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

type GetDeliverabilityTestReportOutput

type GetDeliverabilityTestReportOutput struct {

	// An object that contains the results of the predictive inbox placement test.
	//
	// DeliverabilityTestReport is a required field
	DeliverabilityTestReport *DeliverabilityTestReport `type:"structure" required:"true"`

	// An object that describes how the test email was handled by several email
	// providers, including Gmail, Hotmail, Yahoo, AOL, and others.
	//
	// IspPlacements is a required field
	IspPlacements []*IspPlacement `type:"list" required:"true"`

	// An object that contains the message that you sent when you performed this
	// predictive inbox placement test.
	Message *string `type:"string"`

	// An object that specifies how many test messages that were sent during the
	// predictive inbox placement test were delivered to recipients' inboxes, how
	// many were sent to recipients' spam folders, and how many weren't delivered.
	//
	// OverallPlacement is a required field
	OverallPlacement *PlacementStatistics `type:"structure" required:"true"`

	// An array of objects that define the tags (keys and values) that are associated
	// with the predictive inbox placement test.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

The results of the predictive inbox placement test.

func (GetDeliverabilityTestReportOutput) GoString

GoString returns the string representation

func (*GetDeliverabilityTestReportOutput) SetDeliverabilityTestReport

SetDeliverabilityTestReport sets the DeliverabilityTestReport field's value.

func (*GetDeliverabilityTestReportOutput) SetIspPlacements

SetIspPlacements sets the IspPlacements field's value.

func (*GetDeliverabilityTestReportOutput) SetMessage

SetMessage sets the Message field's value.

func (*GetDeliverabilityTestReportOutput) SetOverallPlacement

SetOverallPlacement sets the OverallPlacement field's value.

func (*GetDeliverabilityTestReportOutput) SetTags

SetTags sets the Tags field's value.

func (GetDeliverabilityTestReportOutput) String

String returns the string representation

type GetDomainDeliverabilityCampaignInput

type GetDomainDeliverabilityCampaignInput struct {

	// The unique identifier for the campaign. The Deliverability dashboard automatically
	// generates and assigns this identifier to a campaign.
	//
	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"CampaignId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption operation).

func (GetDomainDeliverabilityCampaignInput) GoString

GoString returns the string representation

func (*GetDomainDeliverabilityCampaignInput) SetCampaignId

SetCampaignId sets the CampaignId field's value.

func (GetDomainDeliverabilityCampaignInput) String

String returns the string representation

func (*GetDomainDeliverabilityCampaignInput) Validate

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

type GetDomainDeliverabilityCampaignOutput

type GetDomainDeliverabilityCampaignOutput struct {

	// An object that contains the deliverability data for the campaign.
	//
	// DomainDeliverabilityCampaign is a required field
	DomainDeliverabilityCampaign *DomainDeliverabilityCampaign `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object that contains all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.

func (GetDomainDeliverabilityCampaignOutput) GoString

GoString returns the string representation

func (*GetDomainDeliverabilityCampaignOutput) SetDomainDeliverabilityCampaign

SetDomainDeliverabilityCampaign sets the DomainDeliverabilityCampaign field's value.

func (GetDomainDeliverabilityCampaignOutput) String

String returns the string representation

type GetDomainStatisticsReportInput

type GetDomainStatisticsReportInput struct {

	// The domain that you want to obtain deliverability metrics for.
	//
	// Domain is a required field
	Domain *string `location:"uri" locationName:"Domain" min:"1" type:"string" required:"true"`

	// The last day (in Unix time) that you want to obtain domain deliverability
	// metrics for. The EndDate that you specify has to be less than or equal to
	// 30 days after the StartDate.
	//
	// EndDate is a required field
	EndDate *time.Time `location:"querystring" locationName:"EndDate" type:"timestamp" required:"true"`

	// The first day (in Unix time) that you want to obtain domain deliverability
	// metrics for.
	//
	// StartDate is a required field
	StartDate *time.Time `location:"querystring" locationName:"StartDate" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

A request to obtain deliverability metrics for a domain.

func (GetDomainStatisticsReportInput) GoString

GoString returns the string representation

func (*GetDomainStatisticsReportInput) SetDomain

SetDomain sets the Domain field's value.

func (*GetDomainStatisticsReportInput) SetEndDate

SetEndDate sets the EndDate field's value.

func (*GetDomainStatisticsReportInput) SetStartDate

SetStartDate sets the StartDate field's value.

func (GetDomainStatisticsReportInput) String

String returns the string representation

func (*GetDomainStatisticsReportInput) Validate

func (s *GetDomainStatisticsReportInput) Validate() error

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

type GetDomainStatisticsReportOutput

type GetDomainStatisticsReportOutput struct {

	// An object that contains deliverability metrics for the domain that you specified.
	// This object contains data for each day, starting on the StartDate and ending
	// on the EndDate.
	//
	// DailyVolumes is a required field
	DailyVolumes []*DailyVolume `type:"list" required:"true"`

	// An object that contains deliverability metrics for the domain that you specified.
	// The data in this object is a summary of all of the data that was collected
	// from the StartDate to the EndDate.
	//
	// OverallVolume is a required field
	OverallVolume *OverallVolume `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An object that includes statistics that are related to the domain that you specified.

func (GetDomainStatisticsReportOutput) GoString

GoString returns the string representation

func (*GetDomainStatisticsReportOutput) SetDailyVolumes

SetDailyVolumes sets the DailyVolumes field's value.

func (*GetDomainStatisticsReportOutput) SetOverallVolume

SetOverallVolume sets the OverallVolume field's value.

func (GetDomainStatisticsReportOutput) String

String returns the string representation

type GetEmailIdentityInput

type GetEmailIdentityInput struct {

	// The email identity that you want to retrieve details for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to return details about an email identity.

func (GetEmailIdentityInput) GoString

func (s GetEmailIdentityInput) GoString() string

GoString returns the string representation

func (*GetEmailIdentityInput) SetEmailIdentity

func (s *GetEmailIdentityInput) SetEmailIdentity(v string) *GetEmailIdentityInput

SetEmailIdentity sets the EmailIdentity field's value.

func (GetEmailIdentityInput) String

func (s GetEmailIdentityInput) String() string

String returns the string representation

func (*GetEmailIdentityInput) Validate

func (s *GetEmailIdentityInput) Validate() error

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

type GetEmailIdentityOutput

type GetEmailIdentityOutput struct {

	// An object that contains information about the DKIM attributes for the identity.
	DkimAttributes *DkimAttributes `type:"structure"`

	// The feedback forwarding configuration for the identity.
	//
	// If the value is true, you receive email notifications when bounce or complaint
	// events occur. These notifications are sent to the address that you specified
	// in the Return-Path header of the original email.
	//
	// You're required to have a method of tracking bounces and complaints. If you
	// haven't set up another mechanism for receiving bounce or complaint notifications
	// (for example, by setting up an event destination), you receive an email notification
	// when these events occur (even if this setting is disabled).
	FeedbackForwardingStatus *bool `type:"boolean"`

	// The email identity type.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// An object that contains information about the Mail-From attributes for the
	// email identity.
	MailFromAttributes *MailFromAttributes `type:"structure"`

	// A map of policy names to policies.
	Policies map[string]*string `type:"map"`

	// An array of objects that define the tags (keys and values) that are associated
	// with the email identity.
	Tags []*Tag `type:"list"`

	// Specifies whether or not the identity is verified. You can only send email
	// from verified email addresses or domains. For more information about verifying
	// identities, see the Amazon Pinpoint User Guide (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html).
	VerifiedForSendingStatus *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Details about an email identity.

func (GetEmailIdentityOutput) GoString

func (s GetEmailIdentityOutput) GoString() string

GoString returns the string representation

func (*GetEmailIdentityOutput) SetDkimAttributes

SetDkimAttributes sets the DkimAttributes field's value.

func (*GetEmailIdentityOutput) SetFeedbackForwardingStatus

func (s *GetEmailIdentityOutput) SetFeedbackForwardingStatus(v bool) *GetEmailIdentityOutput

SetFeedbackForwardingStatus sets the FeedbackForwardingStatus field's value.

func (*GetEmailIdentityOutput) SetIdentityType

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

SetIdentityType sets the IdentityType field's value.

func (*GetEmailIdentityOutput) SetMailFromAttributes

SetMailFromAttributes sets the MailFromAttributes field's value.

func (*GetEmailIdentityOutput) SetPolicies added in v1.33.16

SetPolicies sets the Policies field's value.

func (*GetEmailIdentityOutput) SetTags

SetTags sets the Tags field's value.

func (*GetEmailIdentityOutput) SetVerifiedForSendingStatus

func (s *GetEmailIdentityOutput) SetVerifiedForSendingStatus(v bool) *GetEmailIdentityOutput

SetVerifiedForSendingStatus sets the VerifiedForSendingStatus field's value.

func (GetEmailIdentityOutput) String

func (s GetEmailIdentityOutput) String() string

String returns the string representation

type GetEmailIdentityPoliciesInput added in v1.33.16

type GetEmailIdentityPoliciesInput struct {

	// The email identity that you want to retrieve policies for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to return the policies of an email identity.

func (GetEmailIdentityPoliciesInput) GoString added in v1.33.16

GoString returns the string representation

func (*GetEmailIdentityPoliciesInput) SetEmailIdentity added in v1.33.16

SetEmailIdentity sets the EmailIdentity field's value.

func (GetEmailIdentityPoliciesInput) String added in v1.33.16

String returns the string representation

func (*GetEmailIdentityPoliciesInput) Validate added in v1.33.16

func (s *GetEmailIdentityPoliciesInput) Validate() error

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

type GetEmailIdentityPoliciesOutput added in v1.33.16

type GetEmailIdentityPoliciesOutput struct {

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

Identity policies associated with email identity.

func (GetEmailIdentityPoliciesOutput) GoString added in v1.33.16

GoString returns the string representation

func (*GetEmailIdentityPoliciesOutput) SetPolicies added in v1.33.16

SetPolicies sets the Policies field's value.

func (GetEmailIdentityPoliciesOutput) String added in v1.33.16

String returns the string representation

type GetEmailTemplateInput added in v1.33.16

type GetEmailTemplateInput struct {

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

Represents a request to display the template object (which includes the subject line, HTML part and text part) for the template you specify.

func (GetEmailTemplateInput) GoString added in v1.33.16

func (s GetEmailTemplateInput) GoString() string

GoString returns the string representation

func (*GetEmailTemplateInput) SetTemplateName added in v1.33.16

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

SetTemplateName sets the TemplateName field's value.

func (GetEmailTemplateInput) String added in v1.33.16

func (s GetEmailTemplateInput) String() string

String returns the string representation

func (*GetEmailTemplateInput) Validate added in v1.33.16

func (s *GetEmailTemplateInput) Validate() error

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

type GetEmailTemplateOutput added in v1.33.16

type GetEmailTemplateOutput struct {

	// The content of the email template, composed of a subject line, an HTML part,
	// and a text-only part.
	//
	// TemplateContent is a required field
	TemplateContent *EmailTemplateContent `type:"structure" required:"true"`

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

The following element is returned by the service.

func (GetEmailTemplateOutput) GoString added in v1.33.16

func (s GetEmailTemplateOutput) GoString() string

GoString returns the string representation

func (*GetEmailTemplateOutput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*GetEmailTemplateOutput) SetTemplateName added in v1.33.16

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

SetTemplateName sets the TemplateName field's value.

func (GetEmailTemplateOutput) String added in v1.33.16

func (s GetEmailTemplateOutput) String() string

String returns the string representation

type GetSuppressedDestinationInput added in v1.25.42

type GetSuppressedDestinationInput struct {

	// The email address that's on the account suppression list.
	//
	// EmailAddress is a required field
	EmailAddress *string `location:"uri" locationName:"EmailAddress" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to retrieve information about an email address that's on the suppression list for your account.

func (GetSuppressedDestinationInput) GoString added in v1.25.42

GoString returns the string representation

func (*GetSuppressedDestinationInput) SetEmailAddress added in v1.25.42

SetEmailAddress sets the EmailAddress field's value.

func (GetSuppressedDestinationInput) String added in v1.25.42

String returns the string representation

func (*GetSuppressedDestinationInput) Validate added in v1.25.42

func (s *GetSuppressedDestinationInput) Validate() error

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

type GetSuppressedDestinationOutput added in v1.25.42

type GetSuppressedDestinationOutput struct {

	// An object containing information about the suppressed email address.
	//
	// SuppressedDestination is a required field
	SuppressedDestination *SuppressedDestination `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Information about the suppressed email address.

func (GetSuppressedDestinationOutput) GoString added in v1.25.42

GoString returns the string representation

func (*GetSuppressedDestinationOutput) SetSuppressedDestination added in v1.25.42

SetSuppressedDestination sets the SuppressedDestination field's value.

func (GetSuppressedDestinationOutput) String added in v1.25.42

String returns the string representation

type IdentityInfo

type IdentityInfo struct {

	// The address or domain of the identity.
	IdentityName *string `min:"1" type:"string"`

	// The email identity type. The identity type can be one of the following:
	//
	//    * EMAIL_ADDRESS – The identity is an email address.
	//
	//    * DOMAIN – The identity is a domain.
	//
	//    * MANAGED_DOMAIN – The identity is a domain that is managed by AWS.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// Indicates whether or not you can send email from the identity.
	//
	// An identity is an email address or domain that you send email from. Before
	// you can send email from an identity, you have to demostrate that you own
	// the identity, and that you authorize Amazon SES to send email from that identity.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Information about an email identity.

func (IdentityInfo) GoString

func (s IdentityInfo) GoString() string

GoString returns the string representation

func (*IdentityInfo) SetIdentityName

func (s *IdentityInfo) SetIdentityName(v string) *IdentityInfo

SetIdentityName sets the IdentityName field's value.

func (*IdentityInfo) SetIdentityType

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

SetIdentityType sets the IdentityType field's value.

func (*IdentityInfo) SetSendingEnabled

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

SetSendingEnabled sets the SendingEnabled field's value.

func (IdentityInfo) String

func (s IdentityInfo) String() string

String returns the string representation

type InboxPlacementTrackingOption

type InboxPlacementTrackingOption struct {

	// Specifies whether inbox placement data is being tracked for the domain.
	Global *bool `type:"boolean"`

	// An array of strings, one for each major email provider that the inbox placement
	// data applies to.
	TrackedIsps []*string `type:"list"`
	// contains filtered or unexported fields
}

An object that contains information about the inbox placement data settings for a verified domain that’s associated with your AWS account. This data is available only if you enabled the Deliverability dashboard for the domain.

func (InboxPlacementTrackingOption) GoString

func (s InboxPlacementTrackingOption) GoString() string

GoString returns the string representation

func (*InboxPlacementTrackingOption) SetGlobal

SetGlobal sets the Global field's value.

func (*InboxPlacementTrackingOption) SetTrackedIsps

SetTrackedIsps sets the TrackedIsps field's value.

func (InboxPlacementTrackingOption) String

String returns the string representation

type InvalidNextTokenException added in v1.28.0

type InvalidNextTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified request includes an invalid or expired token.

func (*InvalidNextTokenException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidNextTokenException) Error added in v1.28.0

func (s *InvalidNextTokenException) Error() string

func (InvalidNextTokenException) GoString added in v1.28.0

func (s InvalidNextTokenException) GoString() string

GoString returns the string representation

func (*InvalidNextTokenException) Message added in v1.28.0

func (s *InvalidNextTokenException) Message() string

Message returns the exception's message.

func (*InvalidNextTokenException) OrigErr added in v1.28.0

func (s *InvalidNextTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidNextTokenException) RequestID added in v1.28.0

func (s *InvalidNextTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidNextTokenException) StatusCode added in v1.28.0

func (s *InvalidNextTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidNextTokenException) String added in v1.28.0

func (s InvalidNextTokenException) String() string

String returns the string representation

type IspPlacement

type IspPlacement struct {

	// The name of the email provider that the inbox placement data applies to.
	IspName *string `type:"string"`

	// An object that contains inbox placement metrics for a specific email provider.
	PlacementStatistics *PlacementStatistics `type:"structure"`
	// contains filtered or unexported fields
}

An object that describes how email sent during the predictive inbox placement test was handled by a certain email provider.

func (IspPlacement) GoString

func (s IspPlacement) GoString() string

GoString returns the string representation

func (*IspPlacement) SetIspName

func (s *IspPlacement) SetIspName(v string) *IspPlacement

SetIspName sets the IspName field's value.

func (*IspPlacement) SetPlacementStatistics

func (s *IspPlacement) SetPlacementStatistics(v *PlacementStatistics) *IspPlacement

SetPlacementStatistics sets the PlacementStatistics field's value.

func (IspPlacement) String

func (s IspPlacement) String() string

String returns the string representation

type KinesisFirehoseDestination

type KinesisFirehoseDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream
	// that the Amazon SES API v2 sends email events to.
	//
	// DeliveryStreamArn is a required field
	DeliveryStreamArn *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2
	// uses to send email events to the Amazon Kinesis Data Firehose stream.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

func (KinesisFirehoseDestination) GoString

func (s KinesisFirehoseDestination) GoString() string

GoString returns the string representation

func (*KinesisFirehoseDestination) SetDeliveryStreamArn

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

SetDeliveryStreamArn sets the DeliveryStreamArn field's value.

func (*KinesisFirehoseDestination) SetIamRoleArn

SetIamRoleArn sets the IamRoleArn field's value.

func (KinesisFirehoseDestination) String

String returns the string representation

func (*KinesisFirehoseDestination) Validate

func (s *KinesisFirehoseDestination) Validate() error

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

type LimitExceededException added in v1.28.0

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

There are too many instances of the specified resource type.

func (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String added in v1.28.0

func (s LimitExceededException) String() string

String returns the string representation

type ListConfigurationSetsInput

type ListConfigurationSetsInput struct {

	// A token returned from a previous call to ListConfigurationSets to indicate
	// the position in the list of configuration sets.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListConfigurationSets.
	// If the number of results is larger than the number you specified in this
	// parameter, then the response includes a NextToken element, which you can
	// use to obtain additional results.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

A request to obtain a list of configuration sets for your Amazon SES account in the current AWS Region.

func (ListConfigurationSetsInput) GoString

func (s ListConfigurationSetsInput) GoString() string

GoString returns the string representation

func (*ListConfigurationSetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListConfigurationSetsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (ListConfigurationSetsInput) String

String returns the string representation

type ListConfigurationSetsOutput

type ListConfigurationSetsOutput struct {

	// An array that contains all of the configuration sets in your Amazon SES account
	// in the current AWS Region.
	ConfigurationSets []*string `type:"list"`

	// A token that indicates that there are additional configuration sets to list.
	// To view additional configuration sets, issue another request to ListConfigurationSets,
	// and pass this token in the NextToken parameter.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

A list of configuration sets in your Amazon SES account in the current AWS Region.

func (ListConfigurationSetsOutput) GoString

func (s ListConfigurationSetsOutput) GoString() string

GoString returns the string representation

func (*ListConfigurationSetsOutput) SetConfigurationSets

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

SetConfigurationSets sets the ConfigurationSets field's value.

func (*ListConfigurationSetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListConfigurationSetsOutput) String

String returns the string representation

type ListCustomVerificationEmailTemplatesInput added in v1.33.16

type ListCustomVerificationEmailTemplatesInput struct {

	// A token returned from a previous call to ListCustomVerificationEmailTemplates
	// to indicate the position in the list of custom verification email templates.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListCustomVerificationEmailTemplates.
	// If the number of results is larger than the number you specified in this
	// parameter, then the response includes a NextToken element, which you can
	// use to obtain additional results.
	//
	// The value you specify has to be at least 1, and can be no more than 50.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

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

func (ListCustomVerificationEmailTemplatesInput) GoString added in v1.33.16

GoString returns the string representation

func (*ListCustomVerificationEmailTemplatesInput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*ListCustomVerificationEmailTemplatesInput) SetPageSize added in v1.33.16

SetPageSize sets the PageSize field's value.

func (ListCustomVerificationEmailTemplatesInput) String added in v1.33.16

String returns the string representation

type ListCustomVerificationEmailTemplatesOutput added in v1.33.16

type ListCustomVerificationEmailTemplatesOutput struct {

	// A list of the custom verification email templates that exist in your account.
	CustomVerificationEmailTemplates []*CustomVerificationEmailTemplateMetadata `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 ListCustomVerificationEmailTemplates
	// to retrieve the next 50 custom verification email templates.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

The following elements are returned by the service.

func (ListCustomVerificationEmailTemplatesOutput) GoString added in v1.33.16

GoString returns the string representation

func (*ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates added in v1.33.16

SetCustomVerificationEmailTemplates sets the CustomVerificationEmailTemplates field's value.

func (*ListCustomVerificationEmailTemplatesOutput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (ListCustomVerificationEmailTemplatesOutput) String added in v1.33.16

String returns the string representation

type ListDedicatedIpPoolsInput

type ListDedicatedIpPoolsInput struct {

	// A token returned from a previous call to ListDedicatedIpPools to indicate
	// the position in the list of dedicated IP pools.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListDedicatedIpPools. If
	// the number of results is larger than the number you specified in this parameter,
	// then the response includes a NextToken element, which you can use to obtain
	// additional results.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

A request to obtain a list of dedicated IP pools.

func (ListDedicatedIpPoolsInput) GoString

func (s ListDedicatedIpPoolsInput) GoString() string

GoString returns the string representation

func (*ListDedicatedIpPoolsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDedicatedIpPoolsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (ListDedicatedIpPoolsInput) String

func (s ListDedicatedIpPoolsInput) String() string

String returns the string representation

type ListDedicatedIpPoolsOutput

type ListDedicatedIpPoolsOutput struct {

	// A list of all of the dedicated IP pools that are associated with your AWS
	// account in the current Region.
	DedicatedIpPools []*string `type:"list"`

	// A token that indicates that there are additional IP pools to list. To view
	// additional IP pools, issue another request to ListDedicatedIpPools, passing
	// this token in the NextToken parameter.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

A list of dedicated IP pools.

func (ListDedicatedIpPoolsOutput) GoString

func (s ListDedicatedIpPoolsOutput) GoString() string

GoString returns the string representation

func (*ListDedicatedIpPoolsOutput) SetDedicatedIpPools

func (s *ListDedicatedIpPoolsOutput) SetDedicatedIpPools(v []*string) *ListDedicatedIpPoolsOutput

SetDedicatedIpPools sets the DedicatedIpPools field's value.

func (*ListDedicatedIpPoolsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDedicatedIpPoolsOutput) String

String returns the string representation

type ListDeliverabilityTestReportsInput

type ListDeliverabilityTestReportsInput struct {

	// A token returned from a previous call to ListDeliverabilityTestReports to
	// indicate the position in the list of predictive inbox placement tests.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListDeliverabilityTestReports.
	// If the number of results is larger than the number you specified in this
	// parameter, then the response includes a NextToken element, which you can
	// use to obtain additional results.
	//
	// The value you specify has to be at least 0, and can be no more than 1000.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

A request to list all of the predictive inbox placement tests that you've performed.

func (ListDeliverabilityTestReportsInput) GoString

GoString returns the string representation

func (*ListDeliverabilityTestReportsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDeliverabilityTestReportsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (ListDeliverabilityTestReportsInput) String

String returns the string representation

type ListDeliverabilityTestReportsOutput

type ListDeliverabilityTestReportsOutput struct {

	// An object that contains a lists of predictive inbox placement tests that
	// you've performed.
	//
	// DeliverabilityTestReports is a required field
	DeliverabilityTestReports []*DeliverabilityTestReport `type:"list" required:"true"`

	// A token that indicates that there are additional predictive inbox placement
	// tests to list. To view additional predictive inbox placement tests, issue
	// another request to ListDeliverabilityTestReports, and pass this token in
	// the NextToken parameter.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

A list of the predictive inbox placement test reports that are available for your account, regardless of whether or not those tests are complete.

func (ListDeliverabilityTestReportsOutput) GoString

GoString returns the string representation

func (*ListDeliverabilityTestReportsOutput) SetDeliverabilityTestReports

SetDeliverabilityTestReports sets the DeliverabilityTestReports field's value.

func (*ListDeliverabilityTestReportsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDeliverabilityTestReportsOutput) String

String returns the string representation

type ListDomainDeliverabilityCampaignsInput

type ListDomainDeliverabilityCampaignsInput struct {

	// The last day, in Unix time format, that you want to obtain deliverability
	// data for. This value has to be less than or equal to 30 days after the value
	// of the StartDate parameter.
	//
	// EndDate is a required field
	EndDate *time.Time `location:"querystring" locationName:"EndDate" type:"timestamp" required:"true"`

	// A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
	// operation. This token indicates the position of a campaign in the list of
	// campaigns.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The maximum number of results to include in response to a single call to
	// the ListDomainDeliverabilityCampaigns operation. If the number of results
	// is larger than the number that you specify in this parameter, the response
	// includes a NextToken element, which you can use to obtain additional results.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`

	// The first day, in Unix time format, that you want to obtain deliverability
	// data for.
	//
	// StartDate is a required field
	StartDate *time.Time `location:"querystring" locationName:"StartDate" type:"timestamp" required:"true"`

	// The domain to obtain deliverability data for.
	//
	// SubscribedDomain is a required field
	SubscribedDomain *string `location:"uri" locationName:"SubscribedDomain" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard.

func (ListDomainDeliverabilityCampaignsInput) GoString

GoString returns the string representation

func (*ListDomainDeliverabilityCampaignsInput) SetEndDate

SetEndDate sets the EndDate field's value.

func (*ListDomainDeliverabilityCampaignsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDomainDeliverabilityCampaignsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListDomainDeliverabilityCampaignsInput) SetStartDate

SetStartDate sets the StartDate field's value.

func (*ListDomainDeliverabilityCampaignsInput) SetSubscribedDomain

SetSubscribedDomain sets the SubscribedDomain field's value.

func (ListDomainDeliverabilityCampaignsInput) String

String returns the string representation

func (*ListDomainDeliverabilityCampaignsInput) Validate

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

type ListDomainDeliverabilityCampaignsOutput

type ListDomainDeliverabilityCampaignsOutput struct {

	// An array of responses, one for each campaign that used the domain to send
	// email during the specified time range.
	//
	// DomainDeliverabilityCampaigns is a required field
	DomainDeliverabilityCampaigns []*DomainDeliverabilityCampaign `type:"list" required:"true"`

	// A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns
	// operation. This token indicates the position of the campaign in the list
	// of campaigns.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

An array of objects that provide deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.

func (ListDomainDeliverabilityCampaignsOutput) GoString

GoString returns the string representation

func (*ListDomainDeliverabilityCampaignsOutput) SetDomainDeliverabilityCampaigns

SetDomainDeliverabilityCampaigns sets the DomainDeliverabilityCampaigns field's value.

func (*ListDomainDeliverabilityCampaignsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDomainDeliverabilityCampaignsOutput) String

String returns the string representation

type ListEmailIdentitiesInput

type ListEmailIdentitiesInput struct {

	// A token returned from a previous call to ListEmailIdentities to indicate
	// the position in the list of identities.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListEmailIdentities. If
	// the number of results is larger than the number you specified in this parameter,
	// then the response includes a NextToken element, which you can use to obtain
	// additional results.
	//
	// The value you specify has to be at least 0, and can be no more than 1000.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

A request to list all of the email identities associated with your AWS account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.

func (ListEmailIdentitiesInput) GoString

func (s ListEmailIdentitiesInput) GoString() string

GoString returns the string representation

func (*ListEmailIdentitiesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListEmailIdentitiesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (ListEmailIdentitiesInput) String

func (s ListEmailIdentitiesInput) String() string

String returns the string representation

type ListEmailIdentitiesOutput

type ListEmailIdentitiesOutput struct {

	// An array that includes all of the email identities associated with your AWS
	// account.
	EmailIdentities []*IdentityInfo `type:"list"`

	// A token that indicates that there are additional configuration sets to list.
	// To view additional configuration sets, issue another request to ListEmailIdentities,
	// and pass this token in the NextToken parameter.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

A list of all of the identities that you've attempted to verify, regardless of whether or not those identities were successfully verified.

func (ListEmailIdentitiesOutput) GoString

func (s ListEmailIdentitiesOutput) GoString() string

GoString returns the string representation

func (*ListEmailIdentitiesOutput) SetEmailIdentities

SetEmailIdentities sets the EmailIdentities field's value.

func (*ListEmailIdentitiesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEmailIdentitiesOutput) String

func (s ListEmailIdentitiesOutput) String() string

String returns the string representation

type ListEmailTemplatesInput added in v1.33.16

type ListEmailTemplatesInput struct {

	// A token returned from a previous call to ListEmailTemplates to indicate the
	// position in the list of email templates.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListEmailTemplates. If
	// the number of results is larger than the number you specified in this parameter,
	// then the response includes a NextToken element, which you can use to obtain
	// additional results.
	//
	// The value you specify has to be at least 1, and can be no more than 10.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

Represents a request to list the email templates present in your Amazon SES account in the current AWS Region. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html).

func (ListEmailTemplatesInput) GoString added in v1.33.16

func (s ListEmailTemplatesInput) GoString() string

GoString returns the string representation

func (*ListEmailTemplatesInput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*ListEmailTemplatesInput) SetPageSize added in v1.33.16

SetPageSize sets the PageSize field's value.

func (ListEmailTemplatesInput) String added in v1.33.16

func (s ListEmailTemplatesInput) String() string

String returns the string representation

type ListEmailTemplatesOutput added in v1.33.16

type ListEmailTemplatesOutput struct {

	// A token indicating that there are additional email templates available to
	// be listed. Pass this token to a subsequent ListEmailTemplates call to retrieve
	// the next 10 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 []*EmailTemplateMetadata `type:"list"`
	// contains filtered or unexported fields
}

The following elements are returned by the service.

func (ListEmailTemplatesOutput) GoString added in v1.33.16

func (s ListEmailTemplatesOutput) GoString() string

GoString returns the string representation

func (*ListEmailTemplatesOutput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*ListEmailTemplatesOutput) SetTemplatesMetadata added in v1.33.16

SetTemplatesMetadata sets the TemplatesMetadata field's value.

func (ListEmailTemplatesOutput) String added in v1.33.16

func (s ListEmailTemplatesOutput) String() string

String returns the string representation

type ListSuppressedDestinationsInput added in v1.25.42

type ListSuppressedDestinationsInput struct {

	// Used to filter the list of suppressed email destinations so that it only
	// includes addresses that were added to the list before a specific date. The
	// date that you specify should be in Unix time format.
	EndDate *time.Time `location:"querystring" locationName:"EndDate" type:"timestamp"`

	// A token returned from a previous call to ListSuppressedDestinations to indicate
	// the position in the list of suppressed email addresses.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// The number of results to show in a single call to ListSuppressedDestinations.
	// If the number of results is larger than the number you specified in this
	// parameter, then the response includes a NextToken element, which you can
	// use to obtain additional results.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`

	// The factors that caused the email address to be added to .
	Reasons []*string `location:"querystring" locationName:"Reason" type:"list"`

	// Used to filter the list of suppressed email destinations so that it only
	// includes addresses that were added to the list after a specific date. The
	// date that you specify should be in Unix time format.
	StartDate *time.Time `location:"querystring" locationName:"StartDate" type:"timestamp"`
	// contains filtered or unexported fields
}

A request to obtain a list of email destinations that are on the suppression list for your account.

func (ListSuppressedDestinationsInput) GoString added in v1.25.42

GoString returns the string representation

func (*ListSuppressedDestinationsInput) SetEndDate added in v1.25.42

SetEndDate sets the EndDate field's value.

func (*ListSuppressedDestinationsInput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListSuppressedDestinationsInput) SetPageSize added in v1.25.42

SetPageSize sets the PageSize field's value.

func (*ListSuppressedDestinationsInput) SetReasons added in v1.25.42

SetReasons sets the Reasons field's value.

func (*ListSuppressedDestinationsInput) SetStartDate added in v1.25.42

SetStartDate sets the StartDate field's value.

func (ListSuppressedDestinationsInput) String added in v1.25.42

String returns the string representation

type ListSuppressedDestinationsOutput added in v1.25.42

type ListSuppressedDestinationsOutput struct {

	// A token that indicates that there are additional email addresses on the suppression
	// list for your account. To view additional suppressed addresses, issue another
	// request to ListSuppressedDestinations, and pass this token in the NextToken
	// parameter.
	NextToken *string `type:"string"`

	// A list of summaries, each containing a summary for a suppressed email destination.
	SuppressedDestinationSummaries []*SuppressedDestinationSummary `type:"list"`
	// contains filtered or unexported fields
}

A list of suppressed email addresses.

func (ListSuppressedDestinationsOutput) GoString added in v1.25.42

GoString returns the string representation

func (*ListSuppressedDestinationsOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListSuppressedDestinationsOutput) SetSuppressedDestinationSummaries added in v1.25.42

SetSuppressedDestinationSummaries sets the SuppressedDestinationSummaries field's value.

func (ListSuppressedDestinationsOutput) String added in v1.25.42

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to retrieve
	// tag information for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// An array that lists all the tags that are associated with the resource. Each
	// tag consists of a required tag key (Key) and an associated tag value (Value)
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type MailFromAttributes

type MailFromAttributes struct {

	// The action that you want to take if the required MX record can't be found
	// when you send an email. When you set this value to UseDefaultValue, the mail
	// is sent using amazonses.com as the MAIL FROM domain. When you set this value
	// to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified
	// error, and doesn't attempt to deliver the email.
	//
	// These behaviors are taken when the custom MAIL FROM domain configuration
	// is in the Pending, Failed, and TemporaryFailure states.
	//
	// BehaviorOnMxFailure is a required field
	BehaviorOnMxFailure *string `type:"string" required:"true" enum:"BehaviorOnMxFailure"`

	// The name of a domain that an email identity uses as a custom MAIL FROM domain.
	//
	// MailFromDomain is a required field
	MailFromDomain *string `type:"string" required:"true"`

	// The status of the MAIL FROM domain. This status can have the following values:
	//
	//    * PENDING – Amazon SES hasn't started searching for the MX record yet.
	//
	//    * SUCCESS – Amazon SES detected the required MX record for the MAIL
	//    FROM domain.
	//
	//    * FAILED – Amazon SES can't find the required MX record, or the record
	//    no longer exists.
	//
	//    * TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon
	//    SES from determining the status of the MAIL FROM domain.
	//
	// MailFromDomainStatus is a required field
	MailFromDomainStatus *string `type:"string" required:"true" enum:"MailFromDomainStatus"`
	// contains filtered or unexported fields
}

A list of attributes that are associated with a MAIL FROM domain.

func (MailFromAttributes) GoString

func (s MailFromAttributes) GoString() string

GoString returns the string representation

func (*MailFromAttributes) SetBehaviorOnMxFailure

func (s *MailFromAttributes) SetBehaviorOnMxFailure(v string) *MailFromAttributes

SetBehaviorOnMxFailure sets the BehaviorOnMxFailure field's value.

func (*MailFromAttributes) SetMailFromDomain

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

SetMailFromDomain sets the MailFromDomain field's value.

func (*MailFromAttributes) SetMailFromDomainStatus

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

SetMailFromDomainStatus sets the MailFromDomainStatus field's value.

func (MailFromAttributes) String

func (s MailFromAttributes) String() string

String returns the string representation

type MailFromDomainNotVerifiedException added in v1.28.0

type MailFromDomainNotVerifiedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The message can't be sent because the sending domain isn't verified.

func (*MailFromDomainNotVerifiedException) Code added in v1.28.0

Code returns the exception type name.

func (*MailFromDomainNotVerifiedException) Error added in v1.28.0

func (MailFromDomainNotVerifiedException) GoString added in v1.28.0

GoString returns the string representation

func (*MailFromDomainNotVerifiedException) Message added in v1.28.0

Message returns the exception's message.

func (*MailFromDomainNotVerifiedException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MailFromDomainNotVerifiedException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*MailFromDomainNotVerifiedException) StatusCode added in v1.28.0

func (s *MailFromDomainNotVerifiedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MailFromDomainNotVerifiedException) String added in v1.28.0

String returns the string representation

type Message

type Message struct {

	// The body of the message. You can specify an HTML version of the message,
	// a text-only version of the message, or both.
	//
	// Body is a required field
	Body *Body `type:"structure" required:"true"`

	// The subject line of the email. The subject line can only contain 7-bit ASCII
	// characters. However, you can specify non-ASCII characters in the subject
	// line by using encoded-word syntax, as described in RFC 2047 (https://tools.ietf.org/html/rfc2047).
	//
	// Subject is a required field
	Subject *Content `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents the email message that you're sending. The Message object consists of a subject line and a message body.

func (Message) GoString

func (s Message) GoString() string

GoString returns the string representation

func (*Message) SetBody

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

SetBody sets the Body field's value.

func (*Message) SetSubject

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

SetSubject sets the Subject field's value.

func (Message) String

func (s Message) String() string

String returns the string representation

func (*Message) Validate

func (s *Message) Validate() error

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

type MessageRejected added in v1.28.0

type MessageRejected struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The message can't be sent because it contains invalid content.

func (*MessageRejected) Code added in v1.28.0

func (s *MessageRejected) Code() string

Code returns the exception type name.

func (*MessageRejected) Error added in v1.28.0

func (s *MessageRejected) Error() string

func (MessageRejected) GoString added in v1.28.0

func (s MessageRejected) GoString() string

GoString returns the string representation

func (*MessageRejected) Message added in v1.28.0

func (s *MessageRejected) Message() string

Message returns the exception's message.

func (*MessageRejected) OrigErr added in v1.28.0

func (s *MessageRejected) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MessageRejected) RequestID added in v1.28.0

func (s *MessageRejected) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MessageRejected) StatusCode added in v1.28.0

func (s *MessageRejected) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MessageRejected) String added in v1.28.0

func (s MessageRejected) String() string

String returns the string representation

type MessageTag

type MessageTag struct {

	// The name of the message tag. The message tag name has to meet the following
	// criteria:
	//
	//    * It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores
	//    (_), or dashes (-).
	//
	//    * It can contain no more than 256 characters.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The value of the message tag. The message tag value has to meet the following
	// criteria:
	//
	//    * It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores
	//    (_), or dashes (-).
	//
	//    * It can contain no more 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 apply to an email. You can use message tags when you publish email sending events.

func (MessageTag) GoString

func (s MessageTag) GoString() string

GoString returns the string representation

func (*MessageTag) SetName

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

SetName sets the Name field's value.

func (*MessageTag) SetValue

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

SetValue sets the Value field's value.

func (MessageTag) String

func (s MessageTag) String() string

String returns the string representation

func (*MessageTag) Validate

func (s *MessageTag) Validate() error

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

type NotFoundException added in v1.28.0

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource you attempted to access doesn't exist.

func (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String added in v1.28.0

func (s NotFoundException) String() string

String returns the string representation

type OverallVolume

type OverallVolume struct {

	// An object that contains inbox and junk mail placement metrics for individual
	// email providers.
	DomainIspPlacements []*DomainIspPlacement `type:"list"`

	// The percentage of emails that were sent from the domain that were read by
	// their recipients.
	ReadRatePercent *float64 `type:"double"`

	// An object that contains information about the numbers of messages that arrived
	// in recipients' inboxes and junk mail folders.
	VolumeStatistics *VolumeStatistics `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains information about email that was sent from the selected domain.

func (OverallVolume) GoString

func (s OverallVolume) GoString() string

GoString returns the string representation

func (*OverallVolume) SetDomainIspPlacements

func (s *OverallVolume) SetDomainIspPlacements(v []*DomainIspPlacement) *OverallVolume

SetDomainIspPlacements sets the DomainIspPlacements field's value.

func (*OverallVolume) SetReadRatePercent

func (s *OverallVolume) SetReadRatePercent(v float64) *OverallVolume

SetReadRatePercent sets the ReadRatePercent field's value.

func (*OverallVolume) SetVolumeStatistics

func (s *OverallVolume) SetVolumeStatistics(v *VolumeStatistics) *OverallVolume

SetVolumeStatistics sets the VolumeStatistics field's value.

func (OverallVolume) String

func (s OverallVolume) String() string

String returns the string representation

type PinpointDestination

type PinpointDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want
	// to send email events to.
	ApplicationArn *string `type:"string"`
	// contains filtered or unexported fields
}

An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html) in the Amazon Pinpoint User Guide.

func (PinpointDestination) GoString

func (s PinpointDestination) GoString() string

GoString returns the string representation

func (*PinpointDestination) SetApplicationArn

func (s *PinpointDestination) SetApplicationArn(v string) *PinpointDestination

SetApplicationArn sets the ApplicationArn field's value.

func (PinpointDestination) String

func (s PinpointDestination) String() string

String returns the string representation

type PlacementStatistics

type PlacementStatistics struct {

	// The percentage of emails that were authenticated by using DomainKeys Identified
	// Mail (DKIM) during the predictive inbox placement test.
	DkimPercentage *float64 `type:"double"`

	// The percentage of emails that arrived in recipients' inboxes during the predictive
	// inbox placement test.
	InboxPercentage *float64 `type:"double"`

	// The percentage of emails that didn't arrive in recipients' inboxes at all
	// during the predictive inbox placement test.
	MissingPercentage *float64 `type:"double"`

	// The percentage of emails that arrived in recipients' spam or junk mail folders
	// during the predictive inbox placement test.
	SpamPercentage *float64 `type:"double"`

	// The percentage of emails that were authenticated by using Sender Policy Framework
	// (SPF) during the predictive inbox placement test.
	SpfPercentage *float64 `type:"double"`
	// contains filtered or unexported fields
}

An object that contains inbox placement data for an email provider.

func (PlacementStatistics) GoString

func (s PlacementStatistics) GoString() string

GoString returns the string representation

func (*PlacementStatistics) SetDkimPercentage

func (s *PlacementStatistics) SetDkimPercentage(v float64) *PlacementStatistics

SetDkimPercentage sets the DkimPercentage field's value.

func (*PlacementStatistics) SetInboxPercentage

func (s *PlacementStatistics) SetInboxPercentage(v float64) *PlacementStatistics

SetInboxPercentage sets the InboxPercentage field's value.

func (*PlacementStatistics) SetMissingPercentage

func (s *PlacementStatistics) SetMissingPercentage(v float64) *PlacementStatistics

SetMissingPercentage sets the MissingPercentage field's value.

func (*PlacementStatistics) SetSpamPercentage

func (s *PlacementStatistics) SetSpamPercentage(v float64) *PlacementStatistics

SetSpamPercentage sets the SpamPercentage field's value.

func (*PlacementStatistics) SetSpfPercentage

func (s *PlacementStatistics) SetSpfPercentage(v float64) *PlacementStatistics

SetSpfPercentage sets the SpfPercentage field's value.

func (PlacementStatistics) String

func (s PlacementStatistics) String() string

String returns the string representation

type PutAccountDedicatedIpWarmupAttributesInput

type PutAccountDedicatedIpWarmupAttributesInput struct {

	// Enables or disables the automatic warm-up feature for dedicated IP addresses
	// that are associated with your Amazon SES account in the current AWS Region.
	// Set to true to enable the automatic warm-up feature, or set to false to disable
	// it.
	AutoWarmupEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A request to enable or disable the automatic IP address warm-up feature.

func (PutAccountDedicatedIpWarmupAttributesInput) GoString

GoString returns the string representation

func (*PutAccountDedicatedIpWarmupAttributesInput) SetAutoWarmupEnabled

SetAutoWarmupEnabled sets the AutoWarmupEnabled field's value.

func (PutAccountDedicatedIpWarmupAttributesInput) String

String returns the string representation

type PutAccountDedicatedIpWarmupAttributesOutput

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

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

func (PutAccountDedicatedIpWarmupAttributesOutput) GoString

GoString returns the string representation

func (PutAccountDedicatedIpWarmupAttributesOutput) String

String returns the string representation

type PutAccountDetailsInput added in v1.33.16

type PutAccountDetailsInput struct {

	// Additional email addresses that you would like to be notified regarding Amazon
	// SES matters.
	AdditionalContactEmailAddresses []*string `min:"1" type:"list" sensitive:"true"`

	// The language you would prefer to be contacted with.
	ContactLanguage *string `type:"string" enum:"ContactLanguage"`

	// The type of email your account will send.
	//
	// MailType is a required field
	MailType *string `type:"string" required:"true" enum:"MailType"`

	// Indicates whether or not your account should have production access in the
	// current AWS Region.
	//
	// If the value is false, then your account is in the sandbox. When your account
	// is in the sandbox, you can only send email to verified identities. Additionally,
	// the maximum number of emails you can send in a 24-hour period (your sending
	// quota) is 200, and the maximum number of emails you can send per second (your
	// maximum sending rate) is 1.
	//
	// If the value is true, then your account has production access. When your
	// account has production access, you can send email to any address. The sending
	// quota and maximum sending rate for your account vary based on your specific
	// use case.
	ProductionAccessEnabled *bool `type:"boolean"`

	// A description of the types of email that you plan to send.
	//
	// UseCaseDescription is a required field
	UseCaseDescription *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The URL of your website. This information helps us better understand the
	// type of content that you plan to send.
	//
	// WebsiteURL is a required field
	WebsiteURL *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

A request to submit new account details.

func (PutAccountDetailsInput) GoString added in v1.33.16

func (s PutAccountDetailsInput) GoString() string

GoString returns the string representation

func (*PutAccountDetailsInput) SetAdditionalContactEmailAddresses added in v1.33.16

func (s *PutAccountDetailsInput) SetAdditionalContactEmailAddresses(v []*string) *PutAccountDetailsInput

SetAdditionalContactEmailAddresses sets the AdditionalContactEmailAddresses field's value.

func (*PutAccountDetailsInput) SetContactLanguage added in v1.33.16

func (s *PutAccountDetailsInput) SetContactLanguage(v string) *PutAccountDetailsInput

SetContactLanguage sets the ContactLanguage field's value.

func (*PutAccountDetailsInput) SetMailType added in v1.33.16

SetMailType sets the MailType field's value.

func (*PutAccountDetailsInput) SetProductionAccessEnabled added in v1.33.16

func (s *PutAccountDetailsInput) SetProductionAccessEnabled(v bool) *PutAccountDetailsInput

SetProductionAccessEnabled sets the ProductionAccessEnabled field's value.

func (*PutAccountDetailsInput) SetUseCaseDescription added in v1.33.16

func (s *PutAccountDetailsInput) SetUseCaseDescription(v string) *PutAccountDetailsInput

SetUseCaseDescription sets the UseCaseDescription field's value.

func (*PutAccountDetailsInput) SetWebsiteURL added in v1.33.16

SetWebsiteURL sets the WebsiteURL field's value.

func (PutAccountDetailsInput) String added in v1.33.16

func (s PutAccountDetailsInput) String() string

String returns the string representation

func (*PutAccountDetailsInput) Validate added in v1.33.16

func (s *PutAccountDetailsInput) Validate() error

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

type PutAccountDetailsOutput added in v1.33.16

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

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

func (PutAccountDetailsOutput) GoString added in v1.33.16

func (s PutAccountDetailsOutput) GoString() string

GoString returns the string representation

func (PutAccountDetailsOutput) String added in v1.33.16

func (s PutAccountDetailsOutput) String() string

String returns the string representation

type PutAccountSendingAttributesInput

type PutAccountSendingAttributesInput struct {

	// Enables or disables your account's ability to send email. Set to true to
	// enable email sending, or set to false to disable email sending.
	//
	// If AWS paused your account's ability to send email, you can't use this operation
	// to resume your account's ability to send email.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A request to change the ability of your account to send email.

func (PutAccountSendingAttributesInput) GoString

GoString returns the string representation

func (*PutAccountSendingAttributesInput) SetSendingEnabled

SetSendingEnabled sets the SendingEnabled field's value.

func (PutAccountSendingAttributesInput) String

String returns the string representation

type PutAccountSendingAttributesOutput

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

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

func (PutAccountSendingAttributesOutput) GoString

GoString returns the string representation

func (PutAccountSendingAttributesOutput) String

String returns the string representation

type PutAccountSuppressionAttributesInput added in v1.25.42

type PutAccountSuppressionAttributesInput struct {

	// A list that contains the reasons that email addresses will be automatically
	// added to the suppression list for your account. This list can contain any
	// or all of the following:
	//
	//    * COMPLAINT – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a complaint.
	//
	//    * BOUNCE – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a hard
	//    bounce.
	SuppressedReasons []*string `type:"list"`
	// contains filtered or unexported fields
}

A request to change your account's suppression preferences.

func (PutAccountSuppressionAttributesInput) GoString added in v1.25.42

GoString returns the string representation

func (*PutAccountSuppressionAttributesInput) SetSuppressedReasons added in v1.25.42

SetSuppressedReasons sets the SuppressedReasons field's value.

func (PutAccountSuppressionAttributesInput) String added in v1.25.42

String returns the string representation

type PutAccountSuppressionAttributesOutput added in v1.25.42

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

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

func (PutAccountSuppressionAttributesOutput) GoString added in v1.25.42

GoString returns the string representation

func (PutAccountSuppressionAttributesOutput) String added in v1.25.42

String returns the string representation

type PutConfigurationSetDeliveryOptionsInput

type PutConfigurationSetDeliveryOptionsInput struct {

	// The name of the configuration set that you want to associate with a dedicated
	// IP pool.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// The name of the dedicated IP pool that you want to associate with the configuration
	// set.
	SendingPoolName *string `type:"string"`

	// 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
}

A request to associate a configuration set with a dedicated IP pool.

func (PutConfigurationSetDeliveryOptionsInput) GoString

GoString returns the string representation

func (*PutConfigurationSetDeliveryOptionsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetDeliveryOptionsInput) SetSendingPoolName

SetSendingPoolName sets the SendingPoolName field's value.

func (*PutConfigurationSetDeliveryOptionsInput) SetTlsPolicy

SetTlsPolicy sets the TlsPolicy field's value.

func (PutConfigurationSetDeliveryOptionsInput) String

String returns the string representation

func (*PutConfigurationSetDeliveryOptionsInput) Validate

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

type PutConfigurationSetDeliveryOptionsOutput

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

GoString returns the string representation

func (PutConfigurationSetDeliveryOptionsOutput) String

String returns the string representation

type PutConfigurationSetReputationOptionsInput

type PutConfigurationSetReputationOptionsInput struct {

	// The name of the configuration set that you want to enable or disable reputation
	// metric tracking for.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// If true, tracking of reputation metrics is enabled for the configuration
	// set. If false, tracking of reputation metrics is disabled for the configuration
	// set.
	ReputationMetricsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A request to enable or disable tracking of reputation metrics for a configuration set.

func (PutConfigurationSetReputationOptionsInput) GoString

GoString returns the string representation

func (*PutConfigurationSetReputationOptionsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetReputationOptionsInput) SetReputationMetricsEnabled

SetReputationMetricsEnabled sets the ReputationMetricsEnabled field's value.

func (PutConfigurationSetReputationOptionsInput) String

String returns the string representation

func (*PutConfigurationSetReputationOptionsInput) Validate

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

type PutConfigurationSetReputationOptionsOutput

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

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

func (PutConfigurationSetReputationOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetReputationOptionsOutput) String

String returns the string representation

type PutConfigurationSetSendingOptionsInput

type PutConfigurationSetSendingOptionsInput struct {

	// The name of the configuration set that you want to enable or disable email
	// sending for.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// If true, email sending is enabled for the configuration set. If false, email
	// sending is disabled for the configuration set.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set.

func (PutConfigurationSetSendingOptionsInput) GoString

GoString returns the string representation

func (*PutConfigurationSetSendingOptionsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetSendingOptionsInput) SetSendingEnabled

SetSendingEnabled sets the SendingEnabled field's value.

func (PutConfigurationSetSendingOptionsInput) String

String returns the string representation

func (*PutConfigurationSetSendingOptionsInput) Validate

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

type PutConfigurationSetSendingOptionsOutput

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

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

func (PutConfigurationSetSendingOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetSendingOptionsOutput) String

String returns the string representation

type PutConfigurationSetSuppressionOptionsInput added in v1.25.42

type PutConfigurationSetSuppressionOptionsInput struct {

	// The name of the configuration set that you want to change the suppression
	// list preferences for.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// A list that contains the reasons that email addresses are automatically added
	// to the suppression list for your account. This list can contain any or all
	// of the following:
	//
	//    * COMPLAINT – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a complaint.
	//
	//    * BOUNCE – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a hard
	//    bounce.
	SuppressedReasons []*string `type:"list"`
	// contains filtered or unexported fields
}

A request to change the account suppression list preferences for a specific configuration set.

func (PutConfigurationSetSuppressionOptionsInput) GoString added in v1.25.42

GoString returns the string representation

func (*PutConfigurationSetSuppressionOptionsInput) SetConfigurationSetName added in v1.25.42

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetSuppressionOptionsInput) SetSuppressedReasons added in v1.25.42

SetSuppressedReasons sets the SuppressedReasons field's value.

func (PutConfigurationSetSuppressionOptionsInput) String added in v1.25.42

String returns the string representation

func (*PutConfigurationSetSuppressionOptionsInput) Validate added in v1.25.42

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

type PutConfigurationSetSuppressionOptionsOutput added in v1.25.42

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

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

func (PutConfigurationSetSuppressionOptionsOutput) GoString added in v1.25.42

GoString returns the string representation

func (PutConfigurationSetSuppressionOptionsOutput) String added in v1.25.42

String returns the string representation

type PutConfigurationSetTrackingOptionsInput

type PutConfigurationSetTrackingOptionsInput struct {

	// The name of the configuration set that you want to add a custom tracking
	// domain to.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// The domain that you want to use to track open and click events.
	CustomRedirectDomain *string `type:"string"`
	// contains filtered or unexported fields
}

A request to add a custom domain for tracking open and click events to a configuration set.

func (PutConfigurationSetTrackingOptionsInput) GoString

GoString returns the string representation

func (*PutConfigurationSetTrackingOptionsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetTrackingOptionsInput) SetCustomRedirectDomain

SetCustomRedirectDomain sets the CustomRedirectDomain field's value.

func (PutConfigurationSetTrackingOptionsInput) String

String returns the string representation

func (*PutConfigurationSetTrackingOptionsInput) Validate

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

type PutConfigurationSetTrackingOptionsOutput

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

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

func (PutConfigurationSetTrackingOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetTrackingOptionsOutput) String

String returns the string representation

type PutDedicatedIpInPoolInput

type PutDedicatedIpInPoolInput struct {

	// The name of the IP pool that you want to add the dedicated IP address to.
	// You have to specify an IP pool that already exists.
	//
	// DestinationPoolName is a required field
	DestinationPoolName *string `type:"string" required:"true"`

	// The IP address that you want to move to the dedicated IP pool. The value
	// you specify has to be a dedicated IP address that's associated with your
	// AWS account.
	//
	// Ip is a required field
	Ip *string `location:"uri" locationName:"IP" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to move a dedicated IP address to a dedicated IP pool.

func (PutDedicatedIpInPoolInput) GoString

func (s PutDedicatedIpInPoolInput) GoString() string

GoString returns the string representation

func (*PutDedicatedIpInPoolInput) SetDestinationPoolName

func (s *PutDedicatedIpInPoolInput) SetDestinationPoolName(v string) *PutDedicatedIpInPoolInput

SetDestinationPoolName sets the DestinationPoolName field's value.

func (*PutDedicatedIpInPoolInput) SetIp

SetIp sets the Ip field's value.

func (PutDedicatedIpInPoolInput) String

func (s PutDedicatedIpInPoolInput) String() string

String returns the string representation

func (*PutDedicatedIpInPoolInput) Validate

func (s *PutDedicatedIpInPoolInput) Validate() error

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

type PutDedicatedIpInPoolOutput

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

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

func (PutDedicatedIpInPoolOutput) GoString

func (s PutDedicatedIpInPoolOutput) GoString() string

GoString returns the string representation

func (PutDedicatedIpInPoolOutput) String

String returns the string representation

type PutDedicatedIpWarmupAttributesInput

type PutDedicatedIpWarmupAttributesInput struct {

	// The dedicated IP address that you want to update the warm-up attributes for.
	//
	// Ip is a required field
	Ip *string `location:"uri" locationName:"IP" type:"string" required:"true"`

	// The warm-up percentage that you want to associate with the dedicated IP address.
	//
	// WarmupPercentage is a required field
	WarmupPercentage *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A request to change the warm-up attributes for a dedicated IP address. This operation is useful when you want to resume the warm-up process for an existing IP address.

func (PutDedicatedIpWarmupAttributesInput) GoString

GoString returns the string representation

func (*PutDedicatedIpWarmupAttributesInput) SetIp

SetIp sets the Ip field's value.

func (*PutDedicatedIpWarmupAttributesInput) SetWarmupPercentage

SetWarmupPercentage sets the WarmupPercentage field's value.

func (PutDedicatedIpWarmupAttributesInput) String

String returns the string representation

func (*PutDedicatedIpWarmupAttributesInput) Validate

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

type PutDedicatedIpWarmupAttributesOutput

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

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

func (PutDedicatedIpWarmupAttributesOutput) GoString

GoString returns the string representation

func (PutDedicatedIpWarmupAttributesOutput) String

String returns the string representation

type PutDeliverabilityDashboardOptionInput

type PutDeliverabilityDashboardOptionInput struct {

	// Specifies whether to enable the Deliverability dashboard. To enable the dashboard,
	// set this value to true.
	//
	// DashboardEnabled is a required field
	DashboardEnabled *bool `type:"boolean" required:"true"`

	// An array of objects, one for each verified domain that you use to send email
	// and enabled the Deliverability dashboard for.
	SubscribedDomains []*DomainDeliverabilityTrackingOption `type:"list"`
	// contains filtered or unexported fields
}

Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing (http://aws.amazon.com/pinpoint/pricing/).

func (PutDeliverabilityDashboardOptionInput) GoString

GoString returns the string representation

func (*PutDeliverabilityDashboardOptionInput) SetDashboardEnabled

SetDashboardEnabled sets the DashboardEnabled field's value.

func (*PutDeliverabilityDashboardOptionInput) SetSubscribedDomains

SetSubscribedDomains sets the SubscribedDomains field's value.

func (PutDeliverabilityDashboardOptionInput) String

String returns the string representation

func (*PutDeliverabilityDashboardOptionInput) Validate

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

type PutDeliverabilityDashboardOptionOutput

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

A response that indicates whether the Deliverability dashboard is enabled.

func (PutDeliverabilityDashboardOptionOutput) GoString

GoString returns the string representation

func (PutDeliverabilityDashboardOptionOutput) String

String returns the string representation

type PutEmailIdentityDkimAttributesInput

type PutEmailIdentityDkimAttributesInput struct {

	// The email identity that you want to change the DKIM settings for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`

	// Sets the DKIM signing configuration for the identity.
	//
	// When you set this value true, then the messages that are sent from the identity
	// are signed using DKIM. If you set this value to false, your messages are
	// sent without DKIM signing.
	SigningEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A request to enable or disable DKIM signing of email that you send from an email identity.

func (PutEmailIdentityDkimAttributesInput) GoString

GoString returns the string representation

func (*PutEmailIdentityDkimAttributesInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (*PutEmailIdentityDkimAttributesInput) SetSigningEnabled

SetSigningEnabled sets the SigningEnabled field's value.

func (PutEmailIdentityDkimAttributesInput) String

String returns the string representation

func (*PutEmailIdentityDkimAttributesInput) Validate

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

type PutEmailIdentityDkimAttributesOutput

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

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

func (PutEmailIdentityDkimAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityDkimAttributesOutput) String

String returns the string representation

type PutEmailIdentityDkimSigningAttributesInput added in v1.26.2

type PutEmailIdentityDkimSigningAttributesInput struct {

	// The email identity that you want to configure DKIM for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`

	// An object that contains information about the private key and selector that
	// you want to use to configure DKIM for the identity. This object is only required
	// if you want to configure Bring Your Own DKIM (BYODKIM) for the identity.
	SigningAttributes *DkimSigningAttributes `type:"structure"`

	// The method that you want to use to configure DKIM for the identity. There
	// are two possible values:
	//
	//    * AWS_SES – Configure DKIM for the identity by using Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
	//
	//    * EXTERNAL – Configure DKIM for the identity by using Bring Your Own
	//    DKIM (BYODKIM).
	//
	// SigningAttributesOrigin is a required field
	SigningAttributesOrigin *string `type:"string" required:"true" enum:"DkimSigningAttributesOrigin"`
	// contains filtered or unexported fields
}

A request to change the DKIM attributes for an email identity.

func (PutEmailIdentityDkimSigningAttributesInput) GoString added in v1.26.2

GoString returns the string representation

func (*PutEmailIdentityDkimSigningAttributesInput) SetEmailIdentity added in v1.26.2

SetEmailIdentity sets the EmailIdentity field's value.

func (*PutEmailIdentityDkimSigningAttributesInput) SetSigningAttributes added in v1.26.2

SetSigningAttributes sets the SigningAttributes field's value.

func (*PutEmailIdentityDkimSigningAttributesInput) SetSigningAttributesOrigin added in v1.26.2

SetSigningAttributesOrigin sets the SigningAttributesOrigin field's value.

func (PutEmailIdentityDkimSigningAttributesInput) String added in v1.26.2

String returns the string representation

func (*PutEmailIdentityDkimSigningAttributesInput) Validate added in v1.26.2

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

type PutEmailIdentityDkimSigningAttributesOutput added in v1.26.2

type PutEmailIdentityDkimSigningAttributesOutput struct {

	// The DKIM authentication status of the identity. Amazon SES determines the
	// authentication status by searching for specific records in the DNS configuration
	// for your domain. If you used Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html)
	// to set up DKIM authentication, Amazon SES tries to find three unique CNAME
	// records in the DNS configuration for your domain.
	//
	// If you provided a public key to perform DKIM authentication, Amazon SES tries
	// to find a TXT record that uses the selector that you specified. The value
	// of the TXT record must be a public key that's paired with the private key
	// that you specified in the process of creating the identity.
	//
	// The status can be one of the following:
	//
	//    * PENDING – The verification process was initiated, but Amazon SES hasn't
	//    yet detected the DKIM records in the DNS configuration for the domain.
	//
	//    * SUCCESS – The verification process completed successfully.
	//
	//    * FAILED – The verification process failed. This typically occurs when
	//    Amazon SES fails to find the DKIM records in the DNS configuration of
	//    the domain.
	//
	//    * TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from
	//    determining the DKIM authentication status of the domain.
	//
	//    * NOT_STARTED – The DKIM verification process hasn't been initiated
	//    for the domain.
	DkimStatus *string `type:"string" enum:"DkimStatus"`

	// If you used Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html)
	// to configure DKIM authentication for the domain, then this object contains
	// a set of unique strings that you use to create a set of CNAME records that
	// you add to the DNS configuration for your domain. When Amazon SES detects
	// these records in the DNS configuration for your domain, the DKIM authentication
	// process is complete.
	//
	// If you configured DKIM authentication for the domain by providing your own
	// public-private key pair, then this object contains the selector that's associated
	// with your public key.
	//
	// Regardless of the DKIM authentication method you use, Amazon SES searches
	// for the appropriate records in the DNS configuration of the domain for up
	// to 72 hours.
	DkimTokens []*string `type:"list"`
	// contains filtered or unexported fields
}

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

func (PutEmailIdentityDkimSigningAttributesOutput) GoString added in v1.26.2

GoString returns the string representation

func (*PutEmailIdentityDkimSigningAttributesOutput) SetDkimStatus added in v1.26.2

SetDkimStatus sets the DkimStatus field's value.

func (*PutEmailIdentityDkimSigningAttributesOutput) SetDkimTokens added in v1.26.2

SetDkimTokens sets the DkimTokens field's value.

func (PutEmailIdentityDkimSigningAttributesOutput) String added in v1.26.2

String returns the string representation

type PutEmailIdentityFeedbackAttributesInput

type PutEmailIdentityFeedbackAttributesInput struct {

	// Sets the feedback forwarding configuration for the identity.
	//
	// If the value is true, you receive email notifications when bounce or complaint
	// events occur. These notifications are sent to the address that you specified
	// in the Return-Path header of the original email.
	//
	// You're required to have a method of tracking bounces and complaints. If you
	// haven't set up another mechanism for receiving bounce or complaint notifications
	// (for example, by setting up an event destination), you receive an email notification
	// when these events occur (even if this setting is disabled).
	EmailForwardingEnabled *bool `type:"boolean"`

	// The email identity that you want to configure bounce and complaint feedback
	// forwarding for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to set the attributes that control how bounce and complaint events are processed.

func (PutEmailIdentityFeedbackAttributesInput) GoString

GoString returns the string representation

func (*PutEmailIdentityFeedbackAttributesInput) SetEmailForwardingEnabled

SetEmailForwardingEnabled sets the EmailForwardingEnabled field's value.

func (*PutEmailIdentityFeedbackAttributesInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (PutEmailIdentityFeedbackAttributesInput) String

String returns the string representation

func (*PutEmailIdentityFeedbackAttributesInput) Validate

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

type PutEmailIdentityFeedbackAttributesOutput

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

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

func (PutEmailIdentityFeedbackAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityFeedbackAttributesOutput) String

String returns the string representation

type PutEmailIdentityMailFromAttributesInput

type PutEmailIdentityMailFromAttributesInput struct {

	// The action that you want to take if the required MX record isn't found when
	// you send an email. When you set this value to UseDefaultValue, the mail is
	// sent using amazonses.com as the MAIL FROM domain. When you set this value
	// to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified
	// error, and doesn't attempt to deliver the email.
	//
	// These behaviors are taken when the custom MAIL FROM domain configuration
	// is in the Pending, Failed, and TemporaryFailure states.
	BehaviorOnMxFailure *string `type:"string" enum:"BehaviorOnMxFailure"`

	// The verified email identity that you want to set up the custom MAIL FROM
	// domain for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" type:"string" required:"true"`

	// The custom MAIL FROM domain that you want the verified identity to use. The
	// MAIL FROM domain must meet the following criteria:
	//
	//    * It has to be a subdomain of the verified identity.
	//
	//    * It can't be used to receive email.
	//
	//    * It can't be used in a "From" address if the MAIL FROM domain is a destination
	//    for feedback forwarding emails.
	MailFromDomain *string `type:"string"`
	// contains filtered or unexported fields
}

A request to configure the custom MAIL FROM domain for a verified identity.

func (PutEmailIdentityMailFromAttributesInput) GoString

GoString returns the string representation

func (*PutEmailIdentityMailFromAttributesInput) SetBehaviorOnMxFailure

SetBehaviorOnMxFailure sets the BehaviorOnMxFailure field's value.

func (*PutEmailIdentityMailFromAttributesInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (*PutEmailIdentityMailFromAttributesInput) SetMailFromDomain

SetMailFromDomain sets the MailFromDomain field's value.

func (PutEmailIdentityMailFromAttributesInput) String

String returns the string representation

func (*PutEmailIdentityMailFromAttributesInput) Validate

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

type PutEmailIdentityMailFromAttributesOutput

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

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

func (PutEmailIdentityMailFromAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityMailFromAttributesOutput) String

String returns the string representation

type PutSuppressedDestinationInput added in v1.25.42

type PutSuppressedDestinationInput struct {

	// The email address that should be added to the suppression list for your account.
	//
	// EmailAddress is a required field
	EmailAddress *string `type:"string" required:"true"`

	// The factors that should cause the email address to be added to the suppression
	// list for your account.
	//
	// Reason is a required field
	Reason *string `type:"string" required:"true" enum:"SuppressionListReason"`
	// contains filtered or unexported fields
}

A request to add an email destination to the suppression list for your account.

func (PutSuppressedDestinationInput) GoString added in v1.25.42

GoString returns the string representation

func (*PutSuppressedDestinationInput) SetEmailAddress added in v1.25.42

SetEmailAddress sets the EmailAddress field's value.

func (*PutSuppressedDestinationInput) SetReason added in v1.25.42

SetReason sets the Reason field's value.

func (PutSuppressedDestinationInput) String added in v1.25.42

String returns the string representation

func (*PutSuppressedDestinationInput) Validate added in v1.25.42

func (s *PutSuppressedDestinationInput) Validate() error

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

type PutSuppressedDestinationOutput added in v1.25.42

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

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

func (PutSuppressedDestinationOutput) GoString added in v1.25.42

GoString returns the string representation

func (PutSuppressedDestinationOutput) String added in v1.25.42

String returns the string representation

type RawMessage

type RawMessage struct {

	// The raw email message. The message has to meet the following criteria:
	//
	//    * The message has to contain a header and a body, separated by one blank
	//    line.
	//
	//    * All of the required header fields must be present in the message.
	//
	//    * Each part of a multipart MIME message must be formatted properly.
	//
	//    * Attachments must be in a file format that the Amazon SES supports.
	//
	//    * The entire message must be Base64 encoded.
	//
	//    * If any of the MIME parts in your message contain content that is outside
	//    of the 7-bit ASCII character range, you should encode that content to
	//    ensure that recipients' email clients render the message properly.
	//
	//    * The length of any single line of text in the message can't exceed 1,000
	//    characters. This restriction is defined in RFC 5321 (https://tools.ietf.org/html/rfc5321).
	//
	// 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 content of an email message.

func (RawMessage) GoString

func (s RawMessage) GoString() string

GoString returns the string representation

func (*RawMessage) SetData

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

SetData sets the Data field's value.

func (RawMessage) String

func (s RawMessage) String() string

String returns the string representation

func (*RawMessage) Validate

func (s *RawMessage) Validate() error

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

type ReplacementEmailContent added in v1.33.16

type ReplacementEmailContent struct {

	// The ReplacementTemplate associated with ReplacementEmailContent.
	ReplacementTemplate *ReplacementTemplate `type:"structure"`
	// contains filtered or unexported fields
}

The ReplaceEmailContent object to be used for a specific BulkEmailEntry. The ReplacementTemplate can be specified within this object.

func (ReplacementEmailContent) GoString added in v1.33.16

func (s ReplacementEmailContent) GoString() string

GoString returns the string representation

func (*ReplacementEmailContent) SetReplacementTemplate added in v1.33.16

SetReplacementTemplate sets the ReplacementTemplate field's value.

func (ReplacementEmailContent) String added in v1.33.16

func (s ReplacementEmailContent) String() string

String returns the string representation

type ReplacementTemplate added in v1.33.16

type ReplacementTemplate struct {

	// 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 object which contains ReplacementTemplateData to be used for a specific BulkEmailEntry.

func (ReplacementTemplate) GoString added in v1.33.16

func (s ReplacementTemplate) GoString() string

GoString returns the string representation

func (*ReplacementTemplate) SetReplacementTemplateData added in v1.33.16

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

SetReplacementTemplateData sets the ReplacementTemplateData field's value.

func (ReplacementTemplate) String added in v1.33.16

func (s ReplacementTemplate) String() string

String returns the string representation

type ReputationOptions

type ReputationOptions struct {

	// The date and time (in Unix time) when the reputation metrics were last given
	// a fresh start. When your account is given a fresh start, your reputation
	// metrics are calculated starting from the date of the fresh start.
	LastFreshStart *time.Time `type:"timestamp"`

	// If true, tracking of reputation metrics is enabled for the configuration
	// set. If false, tracking of reputation metrics is disabled for the configuration
	// set.
	ReputationMetricsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.

func (ReputationOptions) GoString

func (s ReputationOptions) GoString() string

GoString returns the string representation

func (*ReputationOptions) SetLastFreshStart

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

SetLastFreshStart sets the LastFreshStart field's value.

func (*ReputationOptions) SetReputationMetricsEnabled

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

SetReputationMetricsEnabled sets the ReputationMetricsEnabled field's value.

func (ReputationOptions) String

func (s ReputationOptions) String() string

String returns the string representation

type ReviewDetails added in v1.33.16

type ReviewDetails struct {

	// The associated support center case ID (if any).
	CaseId *string `type:"string"`

	// The status of the latest review of your account. The status can be one of
	// the following:
	//
	//    * PENDING – We have received your appeal and are in the process of reviewing
	//    it.
	//
	//    * GRANTED – Your appeal has been reviewed and your production access
	//    has been granted.
	//
	//    * DENIED – Your appeal has been reviewed and your production access
	//    has been denied.
	//
	//    * FAILED – An internal error occurred and we didn't receive your appeal.
	//    You can submit your appeal again.
	Status *string `type:"string" enum:"ReviewStatus"`
	// contains filtered or unexported fields
}

An object that contains information about your account details review.

func (ReviewDetails) GoString added in v1.33.16

func (s ReviewDetails) GoString() string

GoString returns the string representation

func (*ReviewDetails) SetCaseId added in v1.33.16

func (s *ReviewDetails) SetCaseId(v string) *ReviewDetails

SetCaseId sets the CaseId field's value.

func (*ReviewDetails) SetStatus added in v1.33.16

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

SetStatus sets the Status field's value.

func (ReviewDetails) String added in v1.33.16

func (s ReviewDetails) String() string

String returns the string representation

type SESV2

type SESV2 struct {
	*client.Client
}

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

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

func New

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

New creates a new instance of the SESV2 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:

mySession := session.Must(session.NewSession())

// Create a SESV2 client from just a session.
svc := sesv2.New(mySession)

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

func (*SESV2) CreateConfigurationSet

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

CreateConfigurationSet API operation for Amazon Simple Email Service.

Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

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 Types:

  • AlreadyExistsException The resource specified in your request already exists.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSet

func (*SESV2) CreateConfigurationSetEventDestination

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

CreateConfigurationSetEventDestination API operation for Amazon Simple Email Service.

Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

A single configuration set can include more than one event destination.

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 Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • AlreadyExistsException The resource specified in your request already exists.

  • LimitExceededException There are too many instances of the specified resource type.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSetEventDestination

func (*SESV2) CreateConfigurationSetEventDestinationRequest

func (c *SESV2) 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/sesv2-2019-09-27/CreateConfigurationSetEventDestination

func (*SESV2) CreateConfigurationSetEventDestinationWithContext

func (c *SESV2) 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 (*SESV2) CreateConfigurationSetRequest

func (c *SESV2) 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/sesv2-2019-09-27/CreateConfigurationSet

func (*SESV2) CreateConfigurationSetWithContext

func (c *SESV2) 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 (*SESV2) CreateCustomVerificationEmailTemplate added in v1.33.16

func (c *SESV2) 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/send-email-verify-address-custom.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 Types:

  • BadRequestException The input you provided is invalid.

  • AlreadyExistsException The resource specified in your request already exists.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateCustomVerificationEmailTemplate

func (*SESV2) CreateCustomVerificationEmailTemplateRequest added in v1.33.16

func (c *SESV2) 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/sesv2-2019-09-27/CreateCustomVerificationEmailTemplate

func (*SESV2) CreateCustomVerificationEmailTemplateWithContext added in v1.33.16

func (c *SESV2) 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 (*SESV2) CreateDedicatedIpPool

func (c *SESV2) CreateDedicatedIpPool(input *CreateDedicatedIpPoolInput) (*CreateDedicatedIpPoolOutput, error)

CreateDedicatedIpPool API operation for Amazon Simple Email Service.

Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your AWS account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.

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 CreateDedicatedIpPool for usage and error information.

Returned Error Types:

  • AlreadyExistsException The resource specified in your request already exists.

  • LimitExceededException There are too many instances of the specified resource type.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPool

func (*SESV2) CreateDedicatedIpPoolRequest

func (c *SESV2) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoolInput) (req *request.Request, output *CreateDedicatedIpPoolOutput)

CreateDedicatedIpPoolRequest generates a "aws/request.Request" representing the client's request for the CreateDedicatedIpPool 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 CreateDedicatedIpPool for more information on using the CreateDedicatedIpPool 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 CreateDedicatedIpPoolRequest method.
req, resp := client.CreateDedicatedIpPoolRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPool

func (*SESV2) CreateDedicatedIpPoolWithContext

func (c *SESV2) CreateDedicatedIpPoolWithContext(ctx aws.Context, input *CreateDedicatedIpPoolInput, opts ...request.Option) (*CreateDedicatedIpPoolOutput, error)

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

See CreateDedicatedIpPool 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 (*SESV2) CreateDeliverabilityTestReport

func (c *SESV2) CreateDeliverabilityTestReport(input *CreateDeliverabilityTestReportInput) (*CreateDeliverabilityTestReportOutput, error)

CreateDeliverabilityTestReport API operation for Amazon Simple Email Service.

Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport operation to view the results of the test.

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 CreateDeliverabilityTestReport for usage and error information.

Returned Error Types:

  • AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.

  • SendingPausedException The message can't be sent because the account's ability to send email is currently paused.

  • MessageRejected The message can't be sent because it contains invalid content.

  • MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDeliverabilityTestReport

func (*SESV2) CreateDeliverabilityTestReportRequest

func (c *SESV2) CreateDeliverabilityTestReportRequest(input *CreateDeliverabilityTestReportInput) (req *request.Request, output *CreateDeliverabilityTestReportOutput)

CreateDeliverabilityTestReportRequest generates a "aws/request.Request" representing the client's request for the CreateDeliverabilityTestReport 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 CreateDeliverabilityTestReport for more information on using the CreateDeliverabilityTestReport 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 CreateDeliverabilityTestReportRequest method.
req, resp := client.CreateDeliverabilityTestReportRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDeliverabilityTestReport

func (*SESV2) CreateDeliverabilityTestReportWithContext

func (c *SESV2) CreateDeliverabilityTestReportWithContext(ctx aws.Context, input *CreateDeliverabilityTestReportInput, opts ...request.Option) (*CreateDeliverabilityTestReportOutput, error)

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

See CreateDeliverabilityTestReport 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 (*SESV2) CreateEmailIdentity

func (c *SESV2) CreateEmailIdentity(input *CreateEmailIdentityInput) (*CreateEmailIdentityOutput, error)

CreateEmailIdentity API operation for Amazon Simple Email Service.

Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity.

When you verify an email address, Amazon SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email.

When you verify a domain without specifying the DkimSigningAttributes object, this operation provides a set of DKIM tokens. You can convert these tokens into CNAME records, which you then add to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).

Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your call to the CreateEmailIdentity operation has to include the DkimSigningAttributes object. When you specify this object, you provide a selector (a component of the DNS record name that identifies the public key that you want to use for DKIM authentication) and a private key.

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 CreateEmailIdentity for usage and error information.

Returned Error Types:

  • AlreadyExistsException The resource specified in your request already exists.

  • LimitExceededException There are too many instances of the specified resource type.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentity

func (*SESV2) CreateEmailIdentityPolicy added in v1.33.16

func (c *SESV2) CreateEmailIdentityPolicy(input *CreateEmailIdentityPolicyInput) (*CreateEmailIdentityPolicyOutput, error)

CreateEmailIdentityPolicy API operation for Amazon Simple Email Service.

Creates the specified sending authorization policy for the given identity (an email address or a domain).

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 CreateEmailIdentityPolicy for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • AlreadyExistsException The resource specified in your request already exists.

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicy

func (*SESV2) CreateEmailIdentityPolicyRequest added in v1.33.16

func (c *SESV2) CreateEmailIdentityPolicyRequest(input *CreateEmailIdentityPolicyInput) (req *request.Request, output *CreateEmailIdentityPolicyOutput)

CreateEmailIdentityPolicyRequest generates a "aws/request.Request" representing the client's request for the CreateEmailIdentityPolicy 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 CreateEmailIdentityPolicy for more information on using the CreateEmailIdentityPolicy 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 CreateEmailIdentityPolicyRequest method.
req, resp := client.CreateEmailIdentityPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicy

func (*SESV2) CreateEmailIdentityPolicyWithContext added in v1.33.16

func (c *SESV2) CreateEmailIdentityPolicyWithContext(ctx aws.Context, input *CreateEmailIdentityPolicyInput, opts ...request.Option) (*CreateEmailIdentityPolicyOutput, error)

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

See CreateEmailIdentityPolicy 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 (*SESV2) CreateEmailIdentityRequest

func (c *SESV2) CreateEmailIdentityRequest(input *CreateEmailIdentityInput) (req *request.Request, output *CreateEmailIdentityOutput)

CreateEmailIdentityRequest generates a "aws/request.Request" representing the client's request for the CreateEmailIdentity 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 CreateEmailIdentity for more information on using the CreateEmailIdentity 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 CreateEmailIdentityRequest method.
req, resp := client.CreateEmailIdentityRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentity

func (*SESV2) CreateEmailIdentityWithContext

func (c *SESV2) CreateEmailIdentityWithContext(ctx aws.Context, input *CreateEmailIdentityInput, opts ...request.Option) (*CreateEmailIdentityOutput, error)

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

See CreateEmailIdentity 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 (*SESV2) CreateEmailTemplate added in v1.33.16

func (c *SESV2) CreateEmailTemplate(input *CreateEmailTemplateInput) (*CreateEmailTemplateOutput, error)

CreateEmailTemplate 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 CreateEmailTemplate for usage and error information.

Returned Error Types:

  • AlreadyExistsException The resource specified in your request already exists.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • LimitExceededException There are too many instances of the specified resource type.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplate

func (*SESV2) CreateEmailTemplateRequest added in v1.33.16

func (c *SESV2) CreateEmailTemplateRequest(input *CreateEmailTemplateInput) (req *request.Request, output *CreateEmailTemplateOutput)

CreateEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateEmailTemplate 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 CreateEmailTemplate for more information on using the CreateEmailTemplate 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 CreateEmailTemplateRequest method.
req, resp := client.CreateEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplate

func (*SESV2) CreateEmailTemplateWithContext added in v1.33.16

func (c *SESV2) CreateEmailTemplateWithContext(ctx aws.Context, input *CreateEmailTemplateInput, opts ...request.Option) (*CreateEmailTemplateOutput, error)

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

See CreateEmailTemplate 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 (*SESV2) DeleteConfigurationSet

func (c *SESV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error)

DeleteConfigurationSet API operation for Amazon Simple Email Service.

Delete an existing configuration set.

Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

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 Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSet

func (*SESV2) DeleteConfigurationSetEventDestination

func (c *SESV2) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error)

DeleteConfigurationSetEventDestination API operation for Amazon Simple Email Service.

Delete an event destination.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

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 Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSetEventDestination

func (*SESV2) DeleteConfigurationSetEventDestinationRequest

func (c *SESV2) 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/sesv2-2019-09-27/DeleteConfigurationSetEventDestination

func (*SESV2) DeleteConfigurationSetEventDestinationWithContext

func (c *SESV2) 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 (*SESV2) DeleteConfigurationSetRequest

func (c *SESV2) 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/sesv2-2019-09-27/DeleteConfigurationSet

func (*SESV2) DeleteConfigurationSetWithContext

func (c *SESV2) 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 (*SESV2) DeleteCustomVerificationEmailTemplate added in v1.33.16

func (c *SESV2) 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/es/latest/DeveloperGuide/send-email-verify-address-custom.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.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplate

func (*SESV2) DeleteCustomVerificationEmailTemplateRequest added in v1.33.16

func (c *SESV2) 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/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplate

func (*SESV2) DeleteCustomVerificationEmailTemplateWithContext added in v1.33.16

func (c *SESV2) 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 (*SESV2) DeleteDedicatedIpPool

func (c *SESV2) DeleteDedicatedIpPool(input *DeleteDedicatedIpPoolInput) (*DeleteDedicatedIpPoolOutput, error)

DeleteDedicatedIpPool API operation for Amazon Simple Email Service.

Delete a dedicated IP pool.

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 DeleteDedicatedIpPool for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteDedicatedIpPool

func (*SESV2) DeleteDedicatedIpPoolRequest

func (c *SESV2) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoolInput) (req *request.Request, output *DeleteDedicatedIpPoolOutput)

DeleteDedicatedIpPoolRequest generates a "aws/request.Request" representing the client's request for the DeleteDedicatedIpPool 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 DeleteDedicatedIpPool for more information on using the DeleteDedicatedIpPool 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 DeleteDedicatedIpPoolRequest method.
req, resp := client.DeleteDedicatedIpPoolRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteDedicatedIpPool

func (*SESV2) DeleteDedicatedIpPoolWithContext

func (c *SESV2) DeleteDedicatedIpPoolWithContext(ctx aws.Context, input *DeleteDedicatedIpPoolInput, opts ...request.Option) (*DeleteDedicatedIpPoolOutput, error)

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

See DeleteDedicatedIpPool 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 (*SESV2) DeleteEmailIdentity

func (c *SESV2) DeleteEmailIdentity(input *DeleteEmailIdentityInput) (*DeleteEmailIdentityOutput, error)

DeleteEmailIdentity API operation for Amazon Simple Email Service.

Deletes an email identity. An identity can be either an email address or a domain name.

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 DeleteEmailIdentity for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentity

func (*SESV2) DeleteEmailIdentityPolicy added in v1.33.16

func (c *SESV2) DeleteEmailIdentityPolicy(input *DeleteEmailIdentityPolicyInput) (*DeleteEmailIdentityPolicyOutput, error)

DeleteEmailIdentityPolicy 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 DeleteEmailIdentityPolicy for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicy

func (*SESV2) DeleteEmailIdentityPolicyRequest added in v1.33.16

func (c *SESV2) DeleteEmailIdentityPolicyRequest(input *DeleteEmailIdentityPolicyInput) (req *request.Request, output *DeleteEmailIdentityPolicyOutput)

DeleteEmailIdentityPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteEmailIdentityPolicy 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 DeleteEmailIdentityPolicy for more information on using the DeleteEmailIdentityPolicy 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 DeleteEmailIdentityPolicyRequest method.
req, resp := client.DeleteEmailIdentityPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicy

func (*SESV2) DeleteEmailIdentityPolicyWithContext added in v1.33.16

func (c *SESV2) DeleteEmailIdentityPolicyWithContext(ctx aws.Context, input *DeleteEmailIdentityPolicyInput, opts ...request.Option) (*DeleteEmailIdentityPolicyOutput, error)

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

See DeleteEmailIdentityPolicy 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 (*SESV2) DeleteEmailIdentityRequest

func (c *SESV2) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInput) (req *request.Request, output *DeleteEmailIdentityOutput)

DeleteEmailIdentityRequest generates a "aws/request.Request" representing the client's request for the DeleteEmailIdentity 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 DeleteEmailIdentity for more information on using the DeleteEmailIdentity 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 DeleteEmailIdentityRequest method.
req, resp := client.DeleteEmailIdentityRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentity

func (*SESV2) DeleteEmailIdentityWithContext

func (c *SESV2) DeleteEmailIdentityWithContext(ctx aws.Context, input *DeleteEmailIdentityInput, opts ...request.Option) (*DeleteEmailIdentityOutput, error)

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

See DeleteEmailIdentity 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 (*SESV2) DeleteEmailTemplate added in v1.33.16

func (c *SESV2) DeleteEmailTemplate(input *DeleteEmailTemplateInput) (*DeleteEmailTemplateOutput, error)

DeleteEmailTemplate API operation for Amazon Simple Email Service.

Deletes an email template.

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 DeleteEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplate

func (*SESV2) DeleteEmailTemplateRequest added in v1.33.16

func (c *SESV2) DeleteEmailTemplateRequest(input *DeleteEmailTemplateInput) (req *request.Request, output *DeleteEmailTemplateOutput)

DeleteEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the DeleteEmailTemplate 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 DeleteEmailTemplate for more information on using the DeleteEmailTemplate 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 DeleteEmailTemplateRequest method.
req, resp := client.DeleteEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplate

func (*SESV2) DeleteEmailTemplateWithContext added in v1.33.16

func (c *SESV2) DeleteEmailTemplateWithContext(ctx aws.Context, input *DeleteEmailTemplateInput, opts ...request.Option) (*DeleteEmailTemplateOutput, error)

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

See DeleteEmailTemplate 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 (*SESV2) DeleteSuppressedDestination added in v1.25.42

func (c *SESV2) DeleteSuppressedDestination(input *DeleteSuppressedDestinationInput) (*DeleteSuppressedDestinationOutput, error)

DeleteSuppressedDestination API operation for Amazon Simple Email Service.

Removes an email address from the suppression list for your account.

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 DeleteSuppressedDestination for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination

func (*SESV2) DeleteSuppressedDestinationRequest added in v1.25.42

func (c *SESV2) DeleteSuppressedDestinationRequest(input *DeleteSuppressedDestinationInput) (req *request.Request, output *DeleteSuppressedDestinationOutput)

DeleteSuppressedDestinationRequest generates a "aws/request.Request" representing the client's request for the DeleteSuppressedDestination 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 DeleteSuppressedDestination for more information on using the DeleteSuppressedDestination 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 DeleteSuppressedDestinationRequest method.
req, resp := client.DeleteSuppressedDestinationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination

func (*SESV2) DeleteSuppressedDestinationWithContext added in v1.25.42

func (c *SESV2) DeleteSuppressedDestinationWithContext(ctx aws.Context, input *DeleteSuppressedDestinationInput, opts ...request.Option) (*DeleteSuppressedDestinationOutput, error)

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

See DeleteSuppressedDestination 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 (*SESV2) GetAccount

func (c *SESV2) GetAccount(input *GetAccountInput) (*GetAccountOutput, error)

GetAccount API operation for Amazon Simple Email Service.

Obtain information about the email-sending status and capabilities of your Amazon SES account in the current AWS Region.

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 GetAccount for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount

func (*SESV2) GetAccountRequest

func (c *SESV2) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput)

GetAccountRequest generates a "aws/request.Request" representing the client's request for the GetAccount 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 GetAccount for more information on using the GetAccount 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 GetAccountRequest method.
req, resp := client.GetAccountRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount

func (*SESV2) GetAccountWithContext

func (c *SESV2) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*GetAccountOutput, error)

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

See GetAccount 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 (*SESV2) GetBlacklistReports

func (c *SESV2) GetBlacklistReports(input *GetBlacklistReportsInput) (*GetBlacklistReportsOutput, error)

GetBlacklistReports API operation for Amazon Simple Email Service.

Retrieve a list of the blacklists that your dedicated IP addresses appear on.

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 GetBlacklistReports for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetBlacklistReports

func (*SESV2) GetBlacklistReportsRequest

func (c *SESV2) GetBlacklistReportsRequest(input *GetBlacklistReportsInput) (req *request.Request, output *GetBlacklistReportsOutput)

GetBlacklistReportsRequest generates a "aws/request.Request" representing the client's request for the GetBlacklistReports 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 GetBlacklistReports for more information on using the GetBlacklistReports 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 GetBlacklistReportsRequest method.
req, resp := client.GetBlacklistReportsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetBlacklistReports

func (*SESV2) GetBlacklistReportsWithContext

func (c *SESV2) GetBlacklistReportsWithContext(ctx aws.Context, input *GetBlacklistReportsInput, opts ...request.Option) (*GetBlacklistReportsOutput, error)

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

See GetBlacklistReports 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 (*SESV2) GetConfigurationSet

func (c *SESV2) GetConfigurationSet(input *GetConfigurationSetInput) (*GetConfigurationSetOutput, error)

GetConfigurationSet API operation for Amazon Simple Email Service.

Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.

Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

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 GetConfigurationSet for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet

func (*SESV2) GetConfigurationSetEventDestinations

func (c *SESV2) GetConfigurationSetEventDestinations(input *GetConfigurationSetEventDestinationsInput) (*GetConfigurationSetEventDestinationsOutput, error)

GetConfigurationSetEventDestinations API operation for Amazon Simple Email Service.

Retrieve a list of event destinations that are associated with a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

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 GetConfigurationSetEventDestinations for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations

func (*SESV2) GetConfigurationSetEventDestinationsRequest

func (c *SESV2) GetConfigurationSetEventDestinationsRequest(input *GetConfigurationSetEventDestinationsInput) (req *request.Request, output *GetConfigurationSetEventDestinationsOutput)

GetConfigurationSetEventDestinationsRequest generates a "aws/request.Request" representing the client's request for the GetConfigurationSetEventDestinations 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 GetConfigurationSetEventDestinations for more information on using the GetConfigurationSetEventDestinations 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 GetConfigurationSetEventDestinationsRequest method.
req, resp := client.GetConfigurationSetEventDestinationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations

func (*SESV2) GetConfigurationSetEventDestinationsWithContext

func (c *SESV2) GetConfigurationSetEventDestinationsWithContext(ctx aws.Context, input *GetConfigurationSetEventDestinationsInput, opts ...request.Option) (*GetConfigurationSetEventDestinationsOutput, error)

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

See GetConfigurationSetEventDestinations 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 (*SESV2) GetConfigurationSetRequest

func (c *SESV2) GetConfigurationSetRequest(input *GetConfigurationSetInput) (req *request.Request, output *GetConfigurationSetOutput)

GetConfigurationSetRequest generates a "aws/request.Request" representing the client's request for the GetConfigurationSet 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 GetConfigurationSet for more information on using the GetConfigurationSet 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 GetConfigurationSetRequest method.
req, resp := client.GetConfigurationSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet

func (*SESV2) GetConfigurationSetWithContext

func (c *SESV2) GetConfigurationSetWithContext(ctx aws.Context, input *GetConfigurationSetInput, opts ...request.Option) (*GetConfigurationSetOutput, error)

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

See GetConfigurationSet 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 (*SESV2) GetCustomVerificationEmailTemplate added in v1.33.16

func (c *SESV2) GetCustomVerificationEmailTemplate(input *GetCustomVerificationEmailTemplateInput) (*GetCustomVerificationEmailTemplateOutput, error)

GetCustomVerificationEmailTemplate API operation for Amazon Simple Email Service.

Returns the custom email verification template for the template name you specify.

For more information about custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.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 GetCustomVerificationEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplate

func (*SESV2) GetCustomVerificationEmailTemplateRequest added in v1.33.16

func (c *SESV2) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerificationEmailTemplateInput) (req *request.Request, output *GetCustomVerificationEmailTemplateOutput)

GetCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the GetCustomVerificationEmailTemplate 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 GetCustomVerificationEmailTemplate for more information on using the GetCustomVerificationEmailTemplate 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 GetCustomVerificationEmailTemplateRequest method.
req, resp := client.GetCustomVerificationEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplate

func (*SESV2) GetCustomVerificationEmailTemplateWithContext added in v1.33.16

func (c *SESV2) GetCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *GetCustomVerificationEmailTemplateInput, opts ...request.Option) (*GetCustomVerificationEmailTemplateOutput, error)

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

See GetCustomVerificationEmailTemplate 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 (*SESV2) GetDedicatedIp

func (c *SESV2) GetDedicatedIp(input *GetDedicatedIpInput) (*GetDedicatedIpOutput, error)

GetDedicatedIp API operation for Amazon Simple Email Service.

Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.

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 GetDedicatedIp for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIp

func (*SESV2) GetDedicatedIpRequest

func (c *SESV2) GetDedicatedIpRequest(input *GetDedicatedIpInput) (req *request.Request, output *GetDedicatedIpOutput)

GetDedicatedIpRequest generates a "aws/request.Request" representing the client's request for the GetDedicatedIp 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 GetDedicatedIp for more information on using the GetDedicatedIp 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 GetDedicatedIpRequest method.
req, resp := client.GetDedicatedIpRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIp

func (*SESV2) GetDedicatedIpWithContext

func (c *SESV2) GetDedicatedIpWithContext(ctx aws.Context, input *GetDedicatedIpInput, opts ...request.Option) (*GetDedicatedIpOutput, error)

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

See GetDedicatedIp 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 (*SESV2) GetDedicatedIps

func (c *SESV2) GetDedicatedIps(input *GetDedicatedIpsInput) (*GetDedicatedIpsOutput, error)

GetDedicatedIps API operation for Amazon Simple Email Service.

List the dedicated IP addresses that are associated with your AWS account.

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 GetDedicatedIps for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIps

func (*SESV2) GetDedicatedIpsPages

func (c *SESV2) GetDedicatedIpsPages(input *GetDedicatedIpsInput, fn func(*GetDedicatedIpsOutput, bool) bool) error

GetDedicatedIpsPages iterates over the pages of a GetDedicatedIps operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDedicatedIps method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDedicatedIps operation.
pageNum := 0
err := client.GetDedicatedIpsPages(params,
    func(page *sesv2.GetDedicatedIpsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) GetDedicatedIpsPagesWithContext

func (c *SESV2) GetDedicatedIpsPagesWithContext(ctx aws.Context, input *GetDedicatedIpsInput, fn func(*GetDedicatedIpsOutput, bool) bool, opts ...request.Option) error

GetDedicatedIpsPagesWithContext same as GetDedicatedIpsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) GetDedicatedIpsRequest

func (c *SESV2) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) (req *request.Request, output *GetDedicatedIpsOutput)

GetDedicatedIpsRequest generates a "aws/request.Request" representing the client's request for the GetDedicatedIps 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 GetDedicatedIps for more information on using the GetDedicatedIps 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 GetDedicatedIpsRequest method.
req, resp := client.GetDedicatedIpsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIps

func (*SESV2) GetDedicatedIpsWithContext

func (c *SESV2) GetDedicatedIpsWithContext(ctx aws.Context, input *GetDedicatedIpsInput, opts ...request.Option) (*GetDedicatedIpsOutput, error)

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

See GetDedicatedIps 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 (*SESV2) GetDeliverabilityDashboardOptions

func (c *SESV2) GetDeliverabilityDashboardOptions(input *GetDeliverabilityDashboardOptionsInput) (*GetDeliverabilityDashboardOptionsOutput, error)

GetDeliverabilityDashboardOptions API operation for Amazon Simple Email Service.

Retrieve information about the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing (http://aws.amazon.com/ses/pricing/).

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 GetDeliverabilityDashboardOptions for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityDashboardOptions

func (*SESV2) GetDeliverabilityDashboardOptionsRequest

func (c *SESV2) GetDeliverabilityDashboardOptionsRequest(input *GetDeliverabilityDashboardOptionsInput) (req *request.Request, output *GetDeliverabilityDashboardOptionsOutput)

GetDeliverabilityDashboardOptionsRequest generates a "aws/request.Request" representing the client's request for the GetDeliverabilityDashboardOptions 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 GetDeliverabilityDashboardOptions for more information on using the GetDeliverabilityDashboardOptions 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 GetDeliverabilityDashboardOptionsRequest method.
req, resp := client.GetDeliverabilityDashboardOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityDashboardOptions

func (*SESV2) GetDeliverabilityDashboardOptionsWithContext

func (c *SESV2) GetDeliverabilityDashboardOptionsWithContext(ctx aws.Context, input *GetDeliverabilityDashboardOptionsInput, opts ...request.Option) (*GetDeliverabilityDashboardOptionsOutput, error)

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

See GetDeliverabilityDashboardOptions 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 (*SESV2) GetDeliverabilityTestReport

func (c *SESV2) GetDeliverabilityTestReport(input *GetDeliverabilityTestReportInput) (*GetDeliverabilityTestReportOutput, error)

GetDeliverabilityTestReport API operation for Amazon Simple Email Service.

Retrieve the results of a predictive inbox placement test.

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 GetDeliverabilityTestReport for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityTestReport

func (*SESV2) GetDeliverabilityTestReportRequest

func (c *SESV2) GetDeliverabilityTestReportRequest(input *GetDeliverabilityTestReportInput) (req *request.Request, output *GetDeliverabilityTestReportOutput)

GetDeliverabilityTestReportRequest generates a "aws/request.Request" representing the client's request for the GetDeliverabilityTestReport 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 GetDeliverabilityTestReport for more information on using the GetDeliverabilityTestReport 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 GetDeliverabilityTestReportRequest method.
req, resp := client.GetDeliverabilityTestReportRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityTestReport

func (*SESV2) GetDeliverabilityTestReportWithContext

func (c *SESV2) GetDeliverabilityTestReportWithContext(ctx aws.Context, input *GetDeliverabilityTestReportInput, opts ...request.Option) (*GetDeliverabilityTestReportOutput, error)

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

See GetDeliverabilityTestReport 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 (*SESV2) GetDomainDeliverabilityCampaign

func (c *SESV2) GetDomainDeliverabilityCampaign(input *GetDomainDeliverabilityCampaignInput) (*GetDomainDeliverabilityCampaignOutput, error)

GetDomainDeliverabilityCampaign API operation for Amazon Simple Email Service.

Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.

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 GetDomainDeliverabilityCampaign for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • NotFoundException The resource you attempted to access doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainDeliverabilityCampaign

func (*SESV2) GetDomainDeliverabilityCampaignRequest

func (c *SESV2) GetDomainDeliverabilityCampaignRequest(input *GetDomainDeliverabilityCampaignInput) (req *request.Request, output *GetDomainDeliverabilityCampaignOutput)

GetDomainDeliverabilityCampaignRequest generates a "aws/request.Request" representing the client's request for the GetDomainDeliverabilityCampaign 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 GetDomainDeliverabilityCampaign for more information on using the GetDomainDeliverabilityCampaign 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 GetDomainDeliverabilityCampaignRequest method.
req, resp := client.GetDomainDeliverabilityCampaignRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainDeliverabilityCampaign

func (*SESV2) GetDomainDeliverabilityCampaignWithContext

func (c *SESV2) GetDomainDeliverabilityCampaignWithContext(ctx aws.Context, input *GetDomainDeliverabilityCampaignInput, opts ...request.Option) (*GetDomainDeliverabilityCampaignOutput, error)

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

See GetDomainDeliverabilityCampaign 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 (*SESV2) GetDomainStatisticsReport

func (c *SESV2) GetDomainStatisticsReport(input *GetDomainStatisticsReportInput) (*GetDomainStatisticsReportOutput, error)

GetDomainStatisticsReport API operation for Amazon Simple Email Service.

Retrieve inbox placement and engagement rates for the domains that you use to send email.

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 GetDomainStatisticsReport for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainStatisticsReport

func (*SESV2) GetDomainStatisticsReportRequest

func (c *SESV2) GetDomainStatisticsReportRequest(input *GetDomainStatisticsReportInput) (req *request.Request, output *GetDomainStatisticsReportOutput)

GetDomainStatisticsReportRequest generates a "aws/request.Request" representing the client's request for the GetDomainStatisticsReport 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 GetDomainStatisticsReport for more information on using the GetDomainStatisticsReport 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 GetDomainStatisticsReportRequest method.
req, resp := client.GetDomainStatisticsReportRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainStatisticsReport

func (*SESV2) GetDomainStatisticsReportWithContext

func (c *SESV2) GetDomainStatisticsReportWithContext(ctx aws.Context, input *GetDomainStatisticsReportInput, opts ...request.Option) (*GetDomainStatisticsReportOutput, error)

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

See GetDomainStatisticsReport 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 (*SESV2) GetEmailIdentity

func (c *SESV2) GetEmailIdentity(input *GetEmailIdentityInput) (*GetEmailIdentityOutput, error)

GetEmailIdentity API operation for Amazon Simple Email Service.

Provides information about a specific identity, including the identity's verification status, sending authorization policies, its DKIM authentication status, and its custom Mail-From settings.

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 GetEmailIdentity for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity

func (*SESV2) GetEmailIdentityPolicies added in v1.33.16

func (c *SESV2) GetEmailIdentityPolicies(input *GetEmailIdentityPoliciesInput) (*GetEmailIdentityPoliciesOutput, error)

GetEmailIdentityPolicies API operation for Amazon Simple Email Service.

Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.

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 GetEmailIdentityPolicies for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPolicies

func (*SESV2) GetEmailIdentityPoliciesRequest added in v1.33.16

func (c *SESV2) GetEmailIdentityPoliciesRequest(input *GetEmailIdentityPoliciesInput) (req *request.Request, output *GetEmailIdentityPoliciesOutput)

GetEmailIdentityPoliciesRequest generates a "aws/request.Request" representing the client's request for the GetEmailIdentityPolicies 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 GetEmailIdentityPolicies for more information on using the GetEmailIdentityPolicies 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 GetEmailIdentityPoliciesRequest method.
req, resp := client.GetEmailIdentityPoliciesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPolicies

func (*SESV2) GetEmailIdentityPoliciesWithContext added in v1.33.16

func (c *SESV2) GetEmailIdentityPoliciesWithContext(ctx aws.Context, input *GetEmailIdentityPoliciesInput, opts ...request.Option) (*GetEmailIdentityPoliciesOutput, error)

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

See GetEmailIdentityPolicies 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 (*SESV2) GetEmailIdentityRequest

func (c *SESV2) GetEmailIdentityRequest(input *GetEmailIdentityInput) (req *request.Request, output *GetEmailIdentityOutput)

GetEmailIdentityRequest generates a "aws/request.Request" representing the client's request for the GetEmailIdentity 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 GetEmailIdentity for more information on using the GetEmailIdentity 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 GetEmailIdentityRequest method.
req, resp := client.GetEmailIdentityRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity

func (*SESV2) GetEmailIdentityWithContext

func (c *SESV2) GetEmailIdentityWithContext(ctx aws.Context, input *GetEmailIdentityInput, opts ...request.Option) (*GetEmailIdentityOutput, error)

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

See GetEmailIdentity 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 (*SESV2) GetEmailTemplate added in v1.33.16

func (c *SESV2) GetEmailTemplate(input *GetEmailTemplateInput) (*GetEmailTemplateOutput, error)

GetEmailTemplate API operation for Amazon Simple Email Service.

Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.

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 GetEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplate

func (*SESV2) GetEmailTemplateRequest added in v1.33.16

func (c *SESV2) GetEmailTemplateRequest(input *GetEmailTemplateInput) (req *request.Request, output *GetEmailTemplateOutput)

GetEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the GetEmailTemplate 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 GetEmailTemplate for more information on using the GetEmailTemplate 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 GetEmailTemplateRequest method.
req, resp := client.GetEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplate

func (*SESV2) GetEmailTemplateWithContext added in v1.33.16

func (c *SESV2) GetEmailTemplateWithContext(ctx aws.Context, input *GetEmailTemplateInput, opts ...request.Option) (*GetEmailTemplateOutput, error)

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

See GetEmailTemplate 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 (*SESV2) GetSuppressedDestination added in v1.25.42

func (c *SESV2) GetSuppressedDestination(input *GetSuppressedDestinationInput) (*GetSuppressedDestinationOutput, error)

GetSuppressedDestination API operation for Amazon Simple Email Service.

Retrieves information about a specific email address that's on the suppression list for your account.

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 GetSuppressedDestination for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination

func (*SESV2) GetSuppressedDestinationRequest added in v1.25.42

func (c *SESV2) GetSuppressedDestinationRequest(input *GetSuppressedDestinationInput) (req *request.Request, output *GetSuppressedDestinationOutput)

GetSuppressedDestinationRequest generates a "aws/request.Request" representing the client's request for the GetSuppressedDestination 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 GetSuppressedDestination for more information on using the GetSuppressedDestination 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 GetSuppressedDestinationRequest method.
req, resp := client.GetSuppressedDestinationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination

func (*SESV2) GetSuppressedDestinationWithContext added in v1.25.42

func (c *SESV2) GetSuppressedDestinationWithContext(ctx aws.Context, input *GetSuppressedDestinationInput, opts ...request.Option) (*GetSuppressedDestinationOutput, error)

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

See GetSuppressedDestination 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 (*SESV2) ListConfigurationSets

func (c *SESV2) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error)

ListConfigurationSets API operation for Amazon Simple Email Service.

List all of the configuration sets associated with your account in the current region.

Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

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 ListConfigurationSets for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListConfigurationSets

func (*SESV2) ListConfigurationSetsPages

func (c *SESV2) ListConfigurationSetsPages(input *ListConfigurationSetsInput, fn func(*ListConfigurationSetsOutput, bool) bool) error

ListConfigurationSetsPages iterates over the pages of a ListConfigurationSets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListConfigurationSets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListConfigurationSets operation.
pageNum := 0
err := client.ListConfigurationSetsPages(params,
    func(page *sesv2.ListConfigurationSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListConfigurationSetsPagesWithContext

func (c *SESV2) ListConfigurationSetsPagesWithContext(ctx aws.Context, input *ListConfigurationSetsInput, fn func(*ListConfigurationSetsOutput, bool) bool, opts ...request.Option) error

ListConfigurationSetsPagesWithContext same as ListConfigurationSetsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListConfigurationSetsRequest

func (c *SESV2) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput)

ListConfigurationSetsRequest generates a "aws/request.Request" representing the client's request for the ListConfigurationSets 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 ListConfigurationSets for more information on using the ListConfigurationSets 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 ListConfigurationSetsRequest method.
req, resp := client.ListConfigurationSetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListConfigurationSets

func (*SESV2) ListConfigurationSetsWithContext

func (c *SESV2) ListConfigurationSetsWithContext(ctx aws.Context, input *ListConfigurationSetsInput, opts ...request.Option) (*ListConfigurationSetsOutput, error)

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

See ListConfigurationSets 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 (*SESV2) ListCustomVerificationEmailTemplates added in v1.33.16

func (c *SESV2) ListCustomVerificationEmailTemplates(input *ListCustomVerificationEmailTemplatesInput) (*ListCustomVerificationEmailTemplatesOutput, error)

ListCustomVerificationEmailTemplates API operation for Amazon Simple Email Service.

Lists the existing custom verification email templates for your account in the current AWS Region.

For more information about custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.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 ListCustomVerificationEmailTemplates for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplates

func (*SESV2) ListCustomVerificationEmailTemplatesPages added in v1.33.16

func (c *SESV2) ListCustomVerificationEmailTemplatesPages(input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool) error

ListCustomVerificationEmailTemplatesPages iterates over the pages of a ListCustomVerificationEmailTemplates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomVerificationEmailTemplates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation.
pageNum := 0
err := client.ListCustomVerificationEmailTemplatesPages(params,
    func(page *sesv2.ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListCustomVerificationEmailTemplatesPagesWithContext added in v1.33.16

func (c *SESV2) ListCustomVerificationEmailTemplatesPagesWithContext(ctx aws.Context, input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool, opts ...request.Option) error

ListCustomVerificationEmailTemplatesPagesWithContext same as ListCustomVerificationEmailTemplatesPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListCustomVerificationEmailTemplatesRequest added in v1.33.16

func (c *SESV2) ListCustomVerificationEmailTemplatesRequest(input *ListCustomVerificationEmailTemplatesInput) (req *request.Request, output *ListCustomVerificationEmailTemplatesOutput)

ListCustomVerificationEmailTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListCustomVerificationEmailTemplates 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 ListCustomVerificationEmailTemplates for more information on using the ListCustomVerificationEmailTemplates 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 ListCustomVerificationEmailTemplatesRequest method.
req, resp := client.ListCustomVerificationEmailTemplatesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplates

func (*SESV2) ListCustomVerificationEmailTemplatesWithContext added in v1.33.16

func (c *SESV2) ListCustomVerificationEmailTemplatesWithContext(ctx aws.Context, input *ListCustomVerificationEmailTemplatesInput, opts ...request.Option) (*ListCustomVerificationEmailTemplatesOutput, error)

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

See ListCustomVerificationEmailTemplates 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 (*SESV2) ListDedicatedIpPools

func (c *SESV2) ListDedicatedIpPools(input *ListDedicatedIpPoolsInput) (*ListDedicatedIpPoolsOutput, error)

ListDedicatedIpPools API operation for Amazon Simple Email Service.

List all of the dedicated IP pools that exist in your AWS account in the current Region.

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 ListDedicatedIpPools for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDedicatedIpPools

func (*SESV2) ListDedicatedIpPoolsPages

func (c *SESV2) ListDedicatedIpPoolsPages(input *ListDedicatedIpPoolsInput, fn func(*ListDedicatedIpPoolsOutput, bool) bool) error

ListDedicatedIpPoolsPages iterates over the pages of a ListDedicatedIpPools operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDedicatedIpPools method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDedicatedIpPools operation.
pageNum := 0
err := client.ListDedicatedIpPoolsPages(params,
    func(page *sesv2.ListDedicatedIpPoolsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListDedicatedIpPoolsPagesWithContext

func (c *SESV2) ListDedicatedIpPoolsPagesWithContext(ctx aws.Context, input *ListDedicatedIpPoolsInput, fn func(*ListDedicatedIpPoolsOutput, bool) bool, opts ...request.Option) error

ListDedicatedIpPoolsPagesWithContext same as ListDedicatedIpPoolsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListDedicatedIpPoolsRequest

func (c *SESV2) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsInput) (req *request.Request, output *ListDedicatedIpPoolsOutput)

ListDedicatedIpPoolsRequest generates a "aws/request.Request" representing the client's request for the ListDedicatedIpPools 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 ListDedicatedIpPools for more information on using the ListDedicatedIpPools 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 ListDedicatedIpPoolsRequest method.
req, resp := client.ListDedicatedIpPoolsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDedicatedIpPools

func (*SESV2) ListDedicatedIpPoolsWithContext

func (c *SESV2) ListDedicatedIpPoolsWithContext(ctx aws.Context, input *ListDedicatedIpPoolsInput, opts ...request.Option) (*ListDedicatedIpPoolsOutput, error)

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

See ListDedicatedIpPools 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 (*SESV2) ListDeliverabilityTestReports

func (c *SESV2) ListDeliverabilityTestReports(input *ListDeliverabilityTestReportsInput) (*ListDeliverabilityTestReportsOutput, error)

ListDeliverabilityTestReports API operation for Amazon Simple Email Service.

Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the GetDeliverabilityTestReport operation to view the results.

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 ListDeliverabilityTestReports for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDeliverabilityTestReports

func (*SESV2) ListDeliverabilityTestReportsPages

func (c *SESV2) ListDeliverabilityTestReportsPages(input *ListDeliverabilityTestReportsInput, fn func(*ListDeliverabilityTestReportsOutput, bool) bool) error

ListDeliverabilityTestReportsPages iterates over the pages of a ListDeliverabilityTestReports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDeliverabilityTestReports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation.
pageNum := 0
err := client.ListDeliverabilityTestReportsPages(params,
    func(page *sesv2.ListDeliverabilityTestReportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListDeliverabilityTestReportsPagesWithContext

func (c *SESV2) ListDeliverabilityTestReportsPagesWithContext(ctx aws.Context, input *ListDeliverabilityTestReportsInput, fn func(*ListDeliverabilityTestReportsOutput, bool) bool, opts ...request.Option) error

ListDeliverabilityTestReportsPagesWithContext same as ListDeliverabilityTestReportsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListDeliverabilityTestReportsRequest

func (c *SESV2) ListDeliverabilityTestReportsRequest(input *ListDeliverabilityTestReportsInput) (req *request.Request, output *ListDeliverabilityTestReportsOutput)

ListDeliverabilityTestReportsRequest generates a "aws/request.Request" representing the client's request for the ListDeliverabilityTestReports 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 ListDeliverabilityTestReports for more information on using the ListDeliverabilityTestReports 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 ListDeliverabilityTestReportsRequest method.
req, resp := client.ListDeliverabilityTestReportsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDeliverabilityTestReports

func (*SESV2) ListDeliverabilityTestReportsWithContext

func (c *SESV2) ListDeliverabilityTestReportsWithContext(ctx aws.Context, input *ListDeliverabilityTestReportsInput, opts ...request.Option) (*ListDeliverabilityTestReportsOutput, error)

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

See ListDeliverabilityTestReports 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 (*SESV2) ListDomainDeliverabilityCampaigns

func (c *SESV2) ListDomainDeliverabilityCampaigns(input *ListDomainDeliverabilityCampaignsInput) (*ListDomainDeliverabilityCampaignsOutput, error)

ListDomainDeliverabilityCampaigns API operation for Amazon Simple Email Service.

Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.

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 ListDomainDeliverabilityCampaigns for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • NotFoundException The resource you attempted to access doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDomainDeliverabilityCampaigns

func (*SESV2) ListDomainDeliverabilityCampaignsPages

func (c *SESV2) ListDomainDeliverabilityCampaignsPages(input *ListDomainDeliverabilityCampaignsInput, fn func(*ListDomainDeliverabilityCampaignsOutput, bool) bool) error

ListDomainDeliverabilityCampaignsPages iterates over the pages of a ListDomainDeliverabilityCampaigns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDomainDeliverabilityCampaigns method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDomainDeliverabilityCampaigns operation.
pageNum := 0
err := client.ListDomainDeliverabilityCampaignsPages(params,
    func(page *sesv2.ListDomainDeliverabilityCampaignsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListDomainDeliverabilityCampaignsPagesWithContext

func (c *SESV2) ListDomainDeliverabilityCampaignsPagesWithContext(ctx aws.Context, input *ListDomainDeliverabilityCampaignsInput, fn func(*ListDomainDeliverabilityCampaignsOutput, bool) bool, opts ...request.Option) error

ListDomainDeliverabilityCampaignsPagesWithContext same as ListDomainDeliverabilityCampaignsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListDomainDeliverabilityCampaignsRequest

func (c *SESV2) ListDomainDeliverabilityCampaignsRequest(input *ListDomainDeliverabilityCampaignsInput) (req *request.Request, output *ListDomainDeliverabilityCampaignsOutput)

ListDomainDeliverabilityCampaignsRequest generates a "aws/request.Request" representing the client's request for the ListDomainDeliverabilityCampaigns 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 ListDomainDeliverabilityCampaigns for more information on using the ListDomainDeliverabilityCampaigns 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 ListDomainDeliverabilityCampaignsRequest method.
req, resp := client.ListDomainDeliverabilityCampaignsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDomainDeliverabilityCampaigns

func (*SESV2) ListDomainDeliverabilityCampaignsWithContext

func (c *SESV2) ListDomainDeliverabilityCampaignsWithContext(ctx aws.Context, input *ListDomainDeliverabilityCampaignsInput, opts ...request.Option) (*ListDomainDeliverabilityCampaignsOutput, error)

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

See ListDomainDeliverabilityCampaigns 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 (*SESV2) ListEmailIdentities

func (c *SESV2) ListEmailIdentities(input *ListEmailIdentitiesInput) (*ListEmailIdentitiesOutput, error)

ListEmailIdentities API operation for Amazon Simple Email Service.

Returns a list of all of the email identities that are associated with your AWS account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.

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 ListEmailIdentities for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentities

func (*SESV2) ListEmailIdentitiesPages

func (c *SESV2) ListEmailIdentitiesPages(input *ListEmailIdentitiesInput, fn func(*ListEmailIdentitiesOutput, bool) bool) error

ListEmailIdentitiesPages iterates over the pages of a ListEmailIdentities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEmailIdentities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListEmailIdentities operation.
pageNum := 0
err := client.ListEmailIdentitiesPages(params,
    func(page *sesv2.ListEmailIdentitiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListEmailIdentitiesPagesWithContext

func (c *SESV2) ListEmailIdentitiesPagesWithContext(ctx aws.Context, input *ListEmailIdentitiesInput, fn func(*ListEmailIdentitiesOutput, bool) bool, opts ...request.Option) error

ListEmailIdentitiesPagesWithContext same as ListEmailIdentitiesPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListEmailIdentitiesRequest

func (c *SESV2) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInput) (req *request.Request, output *ListEmailIdentitiesOutput)

ListEmailIdentitiesRequest generates a "aws/request.Request" representing the client's request for the ListEmailIdentities 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 ListEmailIdentities for more information on using the ListEmailIdentities 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 ListEmailIdentitiesRequest method.
req, resp := client.ListEmailIdentitiesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentities

func (*SESV2) ListEmailIdentitiesWithContext

func (c *SESV2) ListEmailIdentitiesWithContext(ctx aws.Context, input *ListEmailIdentitiesInput, opts ...request.Option) (*ListEmailIdentitiesOutput, error)

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

See ListEmailIdentities 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 (*SESV2) ListEmailTemplates added in v1.33.16

func (c *SESV2) ListEmailTemplates(input *ListEmailTemplatesInput) (*ListEmailTemplatesOutput, error)

ListEmailTemplates API operation for Amazon Simple Email Service.

Lists the email templates present in your Amazon SES account in the current AWS Region.

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 ListEmailTemplates for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplates

func (*SESV2) ListEmailTemplatesPages added in v1.33.16

func (c *SESV2) ListEmailTemplatesPages(input *ListEmailTemplatesInput, fn func(*ListEmailTemplatesOutput, bool) bool) error

ListEmailTemplatesPages iterates over the pages of a ListEmailTemplates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEmailTemplates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListEmailTemplates operation.
pageNum := 0
err := client.ListEmailTemplatesPages(params,
    func(page *sesv2.ListEmailTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListEmailTemplatesPagesWithContext added in v1.33.16

func (c *SESV2) ListEmailTemplatesPagesWithContext(ctx aws.Context, input *ListEmailTemplatesInput, fn func(*ListEmailTemplatesOutput, bool) bool, opts ...request.Option) error

ListEmailTemplatesPagesWithContext same as ListEmailTemplatesPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListEmailTemplatesRequest added in v1.33.16

func (c *SESV2) ListEmailTemplatesRequest(input *ListEmailTemplatesInput) (req *request.Request, output *ListEmailTemplatesOutput)

ListEmailTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListEmailTemplates 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 ListEmailTemplates for more information on using the ListEmailTemplates 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 ListEmailTemplatesRequest method.
req, resp := client.ListEmailTemplatesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplates

func (*SESV2) ListEmailTemplatesWithContext added in v1.33.16

func (c *SESV2) ListEmailTemplatesWithContext(ctx aws.Context, input *ListEmailTemplatesInput, opts ...request.Option) (*ListEmailTemplatesOutput, error)

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

See ListEmailTemplates 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 (*SESV2) ListSuppressedDestinations added in v1.25.42

func (c *SESV2) ListSuppressedDestinations(input *ListSuppressedDestinationsInput) (*ListSuppressedDestinationsOutput, error)

ListSuppressedDestinations API operation for Amazon Simple Email Service.

Retrieves a list of email addresses that are on the suppression list for your account.

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 ListSuppressedDestinations for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • TooManyRequestsException Too many requests have been made to the operation.

  • InvalidNextTokenException The specified request includes an invalid or expired token.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinations

func (*SESV2) ListSuppressedDestinationsPages added in v1.25.42

func (c *SESV2) ListSuppressedDestinationsPages(input *ListSuppressedDestinationsInput, fn func(*ListSuppressedDestinationsOutput, bool) bool) error

ListSuppressedDestinationsPages iterates over the pages of a ListSuppressedDestinations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSuppressedDestinations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSuppressedDestinations operation.
pageNum := 0
err := client.ListSuppressedDestinationsPages(params,
    func(page *sesv2.ListSuppressedDestinationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListSuppressedDestinationsPagesWithContext added in v1.25.42

func (c *SESV2) ListSuppressedDestinationsPagesWithContext(ctx aws.Context, input *ListSuppressedDestinationsInput, fn func(*ListSuppressedDestinationsOutput, bool) bool, opts ...request.Option) error

ListSuppressedDestinationsPagesWithContext same as ListSuppressedDestinationsPages except it takes a Context and allows setting request options on the pages.

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 (*SESV2) ListSuppressedDestinationsRequest added in v1.25.42

func (c *SESV2) ListSuppressedDestinationsRequest(input *ListSuppressedDestinationsInput) (req *request.Request, output *ListSuppressedDestinationsOutput)

ListSuppressedDestinationsRequest generates a "aws/request.Request" representing the client's request for the ListSuppressedDestinations 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 ListSuppressedDestinations for more information on using the ListSuppressedDestinations 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 ListSuppressedDestinationsRequest method.
req, resp := client.ListSuppressedDestinationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinations

func (*SESV2) ListSuppressedDestinationsWithContext added in v1.25.42

func (c *SESV2) ListSuppressedDestinationsWithContext(ctx aws.Context, input *ListSuppressedDestinationsInput, opts ...request.Option) (*ListSuppressedDestinationsOutput, error)

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

See ListSuppressedDestinations 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 (*SESV2) ListTagsForResource

func (c *SESV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Simple Email Service.

Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

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 ListTagsForResource for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTagsForResource

func (*SESV2) ListTagsForResourceRequest

func (c *SESV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTagsForResource

func (*SESV2) ListTagsForResourceWithContext

func (c *SESV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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 (*SESV2) PutAccountDedicatedIpWarmupAttributes

func (c *SESV2) PutAccountDedicatedIpWarmupAttributes(input *PutAccountDedicatedIpWarmupAttributesInput) (*PutAccountDedicatedIpWarmupAttributesOutput, error)

PutAccountDedicatedIpWarmupAttributes API operation for Amazon Simple Email Service.

Enable or disable the automatic warm-up feature for dedicated IP addresses.

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 PutAccountDedicatedIpWarmupAttributes for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDedicatedIpWarmupAttributes

func (*SESV2) PutAccountDedicatedIpWarmupAttributesRequest

func (c *SESV2) PutAccountDedicatedIpWarmupAttributesRequest(input *PutAccountDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutAccountDedicatedIpWarmupAttributesOutput)

PutAccountDedicatedIpWarmupAttributesRequest generates a "aws/request.Request" representing the client's request for the PutAccountDedicatedIpWarmupAttributes 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 PutAccountDedicatedIpWarmupAttributes for more information on using the PutAccountDedicatedIpWarmupAttributes 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 PutAccountDedicatedIpWarmupAttributesRequest method.
req, resp := client.PutAccountDedicatedIpWarmupAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDedicatedIpWarmupAttributes

func (*SESV2) PutAccountDedicatedIpWarmupAttributesWithContext

func (c *SESV2) PutAccountDedicatedIpWarmupAttributesWithContext(ctx aws.Context, input *PutAccountDedicatedIpWarmupAttributesInput, opts ...request.Option) (*PutAccountDedicatedIpWarmupAttributesOutput, error)

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

See PutAccountDedicatedIpWarmupAttributes 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 (*SESV2) PutAccountDetails added in v1.33.16

func (c *SESV2) PutAccountDetails(input *PutAccountDetailsInput) (*PutAccountDetailsOutput, error)

PutAccountDetails API operation for Amazon Simple Email Service.

Update your Amazon SES account details.

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 PutAccountDetails for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

  • ConflictException If there is already an ongoing account details update under review.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetails

func (*SESV2) PutAccountDetailsRequest added in v1.33.16

func (c *SESV2) PutAccountDetailsRequest(input *PutAccountDetailsInput) (req *request.Request, output *PutAccountDetailsOutput)

PutAccountDetailsRequest generates a "aws/request.Request" representing the client's request for the PutAccountDetails 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 PutAccountDetails for more information on using the PutAccountDetails 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 PutAccountDetailsRequest method.
req, resp := client.PutAccountDetailsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetails

func (*SESV2) PutAccountDetailsWithContext added in v1.33.16

func (c *SESV2) PutAccountDetailsWithContext(ctx aws.Context, input *PutAccountDetailsInput, opts ...request.Option) (*PutAccountDetailsOutput, error)

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

See PutAccountDetails 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 (*SESV2) PutAccountSendingAttributes

func (c *SESV2) PutAccountSendingAttributes(input *PutAccountSendingAttributesInput) (*PutAccountSendingAttributesOutput, error)

PutAccountSendingAttributes API operation for Amazon Simple Email Service.

Enable or disable the ability of your account to send email.

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 PutAccountSendingAttributes for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSendingAttributes

func (*SESV2) PutAccountSendingAttributesRequest

func (c *SESV2) PutAccountSendingAttributesRequest(input *PutAccountSendingAttributesInput) (req *request.Request, output *PutAccountSendingAttributesOutput)

PutAccountSendingAttributesRequest generates a "aws/request.Request" representing the client's request for the PutAccountSendingAttributes 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 PutAccountSendingAttributes for more information on using the PutAccountSendingAttributes 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 PutAccountSendingAttributesRequest method.
req, resp := client.PutAccountSendingAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSendingAttributes

func (*SESV2) PutAccountSendingAttributesWithContext

func (c *SESV2) PutAccountSendingAttributesWithContext(ctx aws.Context, input *PutAccountSendingAttributesInput, opts ...request.Option) (*PutAccountSendingAttributesOutput, error)

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

See PutAccountSendingAttributes 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 (*SESV2) PutAccountSuppressionAttributes added in v1.25.42

func (c *SESV2) PutAccountSuppressionAttributes(input *PutAccountSuppressionAttributesInput) (*PutAccountSuppressionAttributesOutput, error)

PutAccountSuppressionAttributes API operation for Amazon Simple Email Service.

Change the settings for the account-level suppression list.

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 PutAccountSuppressionAttributes for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes

func (*SESV2) PutAccountSuppressionAttributesRequest added in v1.25.42

func (c *SESV2) PutAccountSuppressionAttributesRequest(input *PutAccountSuppressionAttributesInput) (req *request.Request, output *PutAccountSuppressionAttributesOutput)

PutAccountSuppressionAttributesRequest generates a "aws/request.Request" representing the client's request for the PutAccountSuppressionAttributes 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 PutAccountSuppressionAttributes for more information on using the PutAccountSuppressionAttributes 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 PutAccountSuppressionAttributesRequest method.
req, resp := client.PutAccountSuppressionAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes

func (*SESV2) PutAccountSuppressionAttributesWithContext added in v1.25.42

func (c *SESV2) PutAccountSuppressionAttributesWithContext(ctx aws.Context, input *PutAccountSuppressionAttributesInput, opts ...request.Option) (*PutAccountSuppressionAttributesOutput, error)

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

See PutAccountSuppressionAttributes 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 (*SESV2) PutConfigurationSetDeliveryOptions

func (c *SESV2) PutConfigurationSetDeliveryOptions(input *PutConfigurationSetDeliveryOptionsInput) (*PutConfigurationSetDeliveryOptionsOutput, error)

PutConfigurationSetDeliveryOptions API operation for Amazon Simple Email Service.

Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.

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 PutConfigurationSetDeliveryOptions for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions

func (*SESV2) PutConfigurationSetDeliveryOptionsRequest

func (c *SESV2) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationSetDeliveryOptionsInput) (req *request.Request, output *PutConfigurationSetDeliveryOptionsOutput)

PutConfigurationSetDeliveryOptionsRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationSetDeliveryOptions 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 PutConfigurationSetDeliveryOptions for more information on using the PutConfigurationSetDeliveryOptions 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 PutConfigurationSetDeliveryOptionsRequest method.
req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions

func (*SESV2) PutConfigurationSetDeliveryOptionsWithContext

func (c *SESV2) PutConfigurationSetDeliveryOptionsWithContext(ctx aws.Context, input *PutConfigurationSetDeliveryOptionsInput, opts ...request.Option) (*PutConfigurationSetDeliveryOptionsOutput, error)

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

See PutConfigurationSetDeliveryOptions 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 (*SESV2) PutConfigurationSetReputationOptions

func (c *SESV2) PutConfigurationSetReputationOptions(input *PutConfigurationSetReputationOptionsInput) (*PutConfigurationSetReputationOptionsOutput, error)

PutConfigurationSetReputationOptions API operation for Amazon Simple Email Service.

Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.

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 PutConfigurationSetReputationOptions for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetReputationOptions

func (*SESV2) PutConfigurationSetReputationOptionsRequest

func (c *SESV2) PutConfigurationSetReputationOptionsRequest(input *PutConfigurationSetReputationOptionsInput) (req *request.Request, output *PutConfigurationSetReputationOptionsOutput)

PutConfigurationSetReputationOptionsRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationSetReputationOptions 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 PutConfigurationSetReputationOptions for more information on using the PutConfigurationSetReputationOptions 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 PutConfigurationSetReputationOptionsRequest method.
req, resp := client.PutConfigurationSetReputationOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetReputationOptions

func (*SESV2) PutConfigurationSetReputationOptionsWithContext

func (c *SESV2) PutConfigurationSetReputationOptionsWithContext(ctx aws.Context, input *PutConfigurationSetReputationOptionsInput, opts ...request.Option) (*PutConfigurationSetReputationOptionsOutput, error)

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

See PutConfigurationSetReputationOptions 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 (*SESV2) PutConfigurationSetSendingOptions

func (c *SESV2) PutConfigurationSetSendingOptions(input *PutConfigurationSetSendingOptionsInput) (*PutConfigurationSetSendingOptionsOutput, error)

PutConfigurationSetSendingOptions API operation for Amazon Simple Email Service.

Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.

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 PutConfigurationSetSendingOptions for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSendingOptions

func (*SESV2) PutConfigurationSetSendingOptionsRequest

func (c *SESV2) PutConfigurationSetSendingOptionsRequest(input *PutConfigurationSetSendingOptionsInput) (req *request.Request, output *PutConfigurationSetSendingOptionsOutput)

PutConfigurationSetSendingOptionsRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationSetSendingOptions 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 PutConfigurationSetSendingOptions for more information on using the PutConfigurationSetSendingOptions 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 PutConfigurationSetSendingOptionsRequest method.
req, resp := client.PutConfigurationSetSendingOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSendingOptions

func (*SESV2) PutConfigurationSetSendingOptionsWithContext

func (c *SESV2) PutConfigurationSetSendingOptionsWithContext(ctx aws.Context, input *PutConfigurationSetSendingOptionsInput, opts ...request.Option) (*PutConfigurationSetSendingOptionsOutput, error)

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

See PutConfigurationSetSendingOptions 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 (*SESV2) PutConfigurationSetSuppressionOptions added in v1.25.42

func (c *SESV2) PutConfigurationSetSuppressionOptions(input *PutConfigurationSetSuppressionOptionsInput) (*PutConfigurationSetSuppressionOptionsOutput, error)

PutConfigurationSetSuppressionOptions API operation for Amazon Simple Email Service.

Specify the account suppression list preferences for a configuration set.

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 PutConfigurationSetSuppressionOptions for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions

func (*SESV2) PutConfigurationSetSuppressionOptionsRequest added in v1.25.42

func (c *SESV2) PutConfigurationSetSuppressionOptionsRequest(input *PutConfigurationSetSuppressionOptionsInput) (req *request.Request, output *PutConfigurationSetSuppressionOptionsOutput)

PutConfigurationSetSuppressionOptionsRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationSetSuppressionOptions 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 PutConfigurationSetSuppressionOptions for more information on using the PutConfigurationSetSuppressionOptions 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 PutConfigurationSetSuppressionOptionsRequest method.
req, resp := client.PutConfigurationSetSuppressionOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions

func (*SESV2) PutConfigurationSetSuppressionOptionsWithContext added in v1.25.42

func (c *SESV2) PutConfigurationSetSuppressionOptionsWithContext(ctx aws.Context, input *PutConfigurationSetSuppressionOptionsInput, opts ...request.Option) (*PutConfigurationSetSuppressionOptionsOutput, error)

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

See PutConfigurationSetSuppressionOptions 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 (*SESV2) PutConfigurationSetTrackingOptions

func (c *SESV2) PutConfigurationSetTrackingOptions(input *PutConfigurationSetTrackingOptionsInput) (*PutConfigurationSetTrackingOptionsOutput, error)

PutConfigurationSetTrackingOptions API operation for Amazon Simple Email Service.

Specify a custom domain to use for open and click tracking elements in email that you send.

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 PutConfigurationSetTrackingOptions for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptions

func (*SESV2) PutConfigurationSetTrackingOptionsRequest

func (c *SESV2) PutConfigurationSetTrackingOptionsRequest(input *PutConfigurationSetTrackingOptionsInput) (req *request.Request, output *PutConfigurationSetTrackingOptionsOutput)

PutConfigurationSetTrackingOptionsRequest generates a "aws/request.Request" representing the client's request for the PutConfigurationSetTrackingOptions 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 PutConfigurationSetTrackingOptions for more information on using the PutConfigurationSetTrackingOptions 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 PutConfigurationSetTrackingOptionsRequest method.
req, resp := client.PutConfigurationSetTrackingOptionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptions

func (*SESV2) PutConfigurationSetTrackingOptionsWithContext

func (c *SESV2) PutConfigurationSetTrackingOptionsWithContext(ctx aws.Context, input *PutConfigurationSetTrackingOptionsInput, opts ...request.Option) (*PutConfigurationSetTrackingOptionsOutput, error)

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

See PutConfigurationSetTrackingOptions 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 (*SESV2) PutDedicatedIpInPool

func (c *SESV2) PutDedicatedIpInPool(input *PutDedicatedIpInPoolInput) (*PutDedicatedIpInPoolOutput, error)

PutDedicatedIpInPool API operation for Amazon Simple Email Service.

Move a dedicated IP address to an existing dedicated IP pool.

The dedicated IP address that you specify must already exist, and must be associated with your AWS account.

The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

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 PutDedicatedIpInPool for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpInPool

func (*SESV2) PutDedicatedIpInPoolRequest

func (c *SESV2) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolInput) (req *request.Request, output *PutDedicatedIpInPoolOutput)

PutDedicatedIpInPoolRequest generates a "aws/request.Request" representing the client's request for the PutDedicatedIpInPool 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 PutDedicatedIpInPool for more information on using the PutDedicatedIpInPool 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 PutDedicatedIpInPoolRequest method.
req, resp := client.PutDedicatedIpInPoolRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpInPool

func (*SESV2) PutDedicatedIpInPoolWithContext

func (c *SESV2) PutDedicatedIpInPoolWithContext(ctx aws.Context, input *PutDedicatedIpInPoolInput, opts ...request.Option) (*PutDedicatedIpInPoolOutput, error)

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

See PutDedicatedIpInPool 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 (*SESV2) PutDedicatedIpWarmupAttributes

func (c *SESV2) PutDedicatedIpWarmupAttributes(input *PutDedicatedIpWarmupAttributesInput) (*PutDedicatedIpWarmupAttributesOutput, error)

PutDedicatedIpWarmupAttributes API operation for Amazon Simple Email Service.

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 PutDedicatedIpWarmupAttributes for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpWarmupAttributes

func (*SESV2) PutDedicatedIpWarmupAttributesRequest

func (c *SESV2) PutDedicatedIpWarmupAttributesRequest(input *PutDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutDedicatedIpWarmupAttributesOutput)

PutDedicatedIpWarmupAttributesRequest generates a "aws/request.Request" representing the client's request for the PutDedicatedIpWarmupAttributes 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 PutDedicatedIpWarmupAttributes for more information on using the PutDedicatedIpWarmupAttributes 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 PutDedicatedIpWarmupAttributesRequest method.
req, resp := client.PutDedicatedIpWarmupAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpWarmupAttributes

func (*SESV2) PutDedicatedIpWarmupAttributesWithContext

func (c *SESV2) PutDedicatedIpWarmupAttributesWithContext(ctx aws.Context, input *PutDedicatedIpWarmupAttributesInput, opts ...request.Option) (*PutDedicatedIpWarmupAttributesOutput, error)

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

See PutDedicatedIpWarmupAttributes 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 (*SESV2) PutDeliverabilityDashboardOption

func (c *SESV2) PutDeliverabilityDashboardOption(input *PutDeliverabilityDashboardOptionInput) (*PutDeliverabilityDashboardOptionOutput, error)

PutDeliverabilityDashboardOption API operation for Amazon Simple Email Service.

Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing (http://aws.amazon.com/ses/pricing/).

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 PutDeliverabilityDashboardOption for usage and error information.

Returned Error Types:

  • AlreadyExistsException The resource specified in your request already exists.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDeliverabilityDashboardOption

func (*SESV2) PutDeliverabilityDashboardOptionRequest

func (c *SESV2) PutDeliverabilityDashboardOptionRequest(input *PutDeliverabilityDashboardOptionInput) (req *request.Request, output *PutDeliverabilityDashboardOptionOutput)

PutDeliverabilityDashboardOptionRequest generates a "aws/request.Request" representing the client's request for the PutDeliverabilityDashboardOption 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 PutDeliverabilityDashboardOption for more information on using the PutDeliverabilityDashboardOption 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 PutDeliverabilityDashboardOptionRequest method.
req, resp := client.PutDeliverabilityDashboardOptionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDeliverabilityDashboardOption

func (*SESV2) PutDeliverabilityDashboardOptionWithContext

func (c *SESV2) PutDeliverabilityDashboardOptionWithContext(ctx aws.Context, input *PutDeliverabilityDashboardOptionInput, opts ...request.Option) (*PutDeliverabilityDashboardOptionOutput, error)

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

See PutDeliverabilityDashboardOption 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 (*SESV2) PutEmailIdentityDkimAttributes

func (c *SESV2) PutEmailIdentityDkimAttributes(input *PutEmailIdentityDkimAttributesInput) (*PutEmailIdentityDkimAttributesOutput, error)

PutEmailIdentityDkimAttributes API operation for Amazon Simple Email Service.

Used to enable or disable DKIM authentication for an email identity.

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 PutEmailIdentityDkimAttributes for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimAttributes

func (*SESV2) PutEmailIdentityDkimAttributesRequest

func (c *SESV2) PutEmailIdentityDkimAttributesRequest(input *PutEmailIdentityDkimAttributesInput) (req *request.Request, output *PutEmailIdentityDkimAttributesOutput)

PutEmailIdentityDkimAttributesRequest generates a "aws/request.Request" representing the client's request for the PutEmailIdentityDkimAttributes 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 PutEmailIdentityDkimAttributes for more information on using the PutEmailIdentityDkimAttributes 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 PutEmailIdentityDkimAttributesRequest method.
req, resp := client.PutEmailIdentityDkimAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimAttributes

func (*SESV2) PutEmailIdentityDkimAttributesWithContext

func (c *SESV2) PutEmailIdentityDkimAttributesWithContext(ctx aws.Context, input *PutEmailIdentityDkimAttributesInput, opts ...request.Option) (*PutEmailIdentityDkimAttributesOutput, error)

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

See PutEmailIdentityDkimAttributes 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 (*SESV2) PutEmailIdentityDkimSigningAttributes added in v1.26.2

func (c *SESV2) PutEmailIdentityDkimSigningAttributes(input *PutEmailIdentityDkimSigningAttributesInput) (*PutEmailIdentityDkimSigningAttributesOutput, error)

PutEmailIdentityDkimSigningAttributes API operation for Amazon Simple Email Service.

Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following:

  • Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM).

  • Change from using no DKIM authentication to using Easy DKIM.

  • Change from using no DKIM authentication to using BYODKIM.

  • Change from using Easy DKIM to using BYODKIM.

  • Change from using BYODKIM to using Easy DKIM.

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 PutEmailIdentityDkimSigningAttributes for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimSigningAttributes

func (*SESV2) PutEmailIdentityDkimSigningAttributesRequest added in v1.26.2

func (c *SESV2) PutEmailIdentityDkimSigningAttributesRequest(input *PutEmailIdentityDkimSigningAttributesInput) (req *request.Request, output *PutEmailIdentityDkimSigningAttributesOutput)

PutEmailIdentityDkimSigningAttributesRequest generates a "aws/request.Request" representing the client's request for the PutEmailIdentityDkimSigningAttributes 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 PutEmailIdentityDkimSigningAttributes for more information on using the PutEmailIdentityDkimSigningAttributes 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 PutEmailIdentityDkimSigningAttributesRequest method.
req, resp := client.PutEmailIdentityDkimSigningAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimSigningAttributes

func (*SESV2) PutEmailIdentityDkimSigningAttributesWithContext added in v1.26.2

func (c *SESV2) PutEmailIdentityDkimSigningAttributesWithContext(ctx aws.Context, input *PutEmailIdentityDkimSigningAttributesInput, opts ...request.Option) (*PutEmailIdentityDkimSigningAttributesOutput, error)

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

See PutEmailIdentityDkimSigningAttributes 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 (*SESV2) PutEmailIdentityFeedbackAttributes

func (c *SESV2) PutEmailIdentityFeedbackAttributes(input *PutEmailIdentityFeedbackAttributesInput) (*PutEmailIdentityFeedbackAttributesOutput, error)

PutEmailIdentityFeedbackAttributes API operation for Amazon Simple Email Service.

Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.

If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

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 PutEmailIdentityFeedbackAttributes for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityFeedbackAttributes

func (*SESV2) PutEmailIdentityFeedbackAttributesRequest

func (c *SESV2) PutEmailIdentityFeedbackAttributesRequest(input *PutEmailIdentityFeedbackAttributesInput) (req *request.Request, output *PutEmailIdentityFeedbackAttributesOutput)

PutEmailIdentityFeedbackAttributesRequest generates a "aws/request.Request" representing the client's request for the PutEmailIdentityFeedbackAttributes 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 PutEmailIdentityFeedbackAttributes for more information on using the PutEmailIdentityFeedbackAttributes 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 PutEmailIdentityFeedbackAttributesRequest method.
req, resp := client.PutEmailIdentityFeedbackAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityFeedbackAttributes

func (*SESV2) PutEmailIdentityFeedbackAttributesWithContext

func (c *SESV2) PutEmailIdentityFeedbackAttributesWithContext(ctx aws.Context, input *PutEmailIdentityFeedbackAttributesInput, opts ...request.Option) (*PutEmailIdentityFeedbackAttributesOutput, error)

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

See PutEmailIdentityFeedbackAttributes 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 (*SESV2) PutEmailIdentityMailFromAttributes

func (c *SESV2) PutEmailIdentityMailFromAttributes(input *PutEmailIdentityMailFromAttributesInput) (*PutEmailIdentityMailFromAttributesOutput, error)

PutEmailIdentityMailFromAttributes API operation for Amazon Simple Email Service.

Used to enable or disable the custom Mail-From domain configuration for an email identity.

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 PutEmailIdentityMailFromAttributes for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityMailFromAttributes

func (*SESV2) PutEmailIdentityMailFromAttributesRequest

func (c *SESV2) PutEmailIdentityMailFromAttributesRequest(input *PutEmailIdentityMailFromAttributesInput) (req *request.Request, output *PutEmailIdentityMailFromAttributesOutput)

PutEmailIdentityMailFromAttributesRequest generates a "aws/request.Request" representing the client's request for the PutEmailIdentityMailFromAttributes 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 PutEmailIdentityMailFromAttributes for more information on using the PutEmailIdentityMailFromAttributes 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 PutEmailIdentityMailFromAttributesRequest method.
req, resp := client.PutEmailIdentityMailFromAttributesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityMailFromAttributes

func (*SESV2) PutEmailIdentityMailFromAttributesWithContext

func (c *SESV2) PutEmailIdentityMailFromAttributesWithContext(ctx aws.Context, input *PutEmailIdentityMailFromAttributesInput, opts ...request.Option) (*PutEmailIdentityMailFromAttributesOutput, error)

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

See PutEmailIdentityMailFromAttributes 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 (*SESV2) PutSuppressedDestination added in v1.25.42

func (c *SESV2) PutSuppressedDestination(input *PutSuppressedDestinationInput) (*PutSuppressedDestinationOutput, error)

PutSuppressedDestination API operation for Amazon Simple Email Service.

Adds an email address to the suppression list for your account.

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 PutSuppressedDestination for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination

func (*SESV2) PutSuppressedDestinationRequest added in v1.25.42

func (c *SESV2) PutSuppressedDestinationRequest(input *PutSuppressedDestinationInput) (req *request.Request, output *PutSuppressedDestinationOutput)

PutSuppressedDestinationRequest generates a "aws/request.Request" representing the client's request for the PutSuppressedDestination 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 PutSuppressedDestination for more information on using the PutSuppressedDestination 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 PutSuppressedDestinationRequest method.
req, resp := client.PutSuppressedDestinationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination

func (*SESV2) PutSuppressedDestinationWithContext added in v1.25.42

func (c *SESV2) PutSuppressedDestinationWithContext(ctx aws.Context, input *PutSuppressedDestinationInput, opts ...request.Option) (*PutSuppressedDestinationOutput, error)

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

See PutSuppressedDestination 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 (*SESV2) SendBulkEmail added in v1.33.16

func (c *SESV2) SendBulkEmail(input *SendBulkEmailInput) (*SendBulkEmailOutput, error)

SendBulkEmail API operation for Amazon Simple Email Service.

Composes an email message to multiple destinations.

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 SendBulkEmail for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.

  • SendingPausedException The message can't be sent because the account's ability to send email is currently paused.

  • MessageRejected The message can't be sent because it contains invalid content.

  • MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmail

func (*SESV2) SendBulkEmailRequest added in v1.33.16

func (c *SESV2) SendBulkEmailRequest(input *SendBulkEmailInput) (req *request.Request, output *SendBulkEmailOutput)

SendBulkEmailRequest generates a "aws/request.Request" representing the client's request for the SendBulkEmail 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 SendBulkEmail for more information on using the SendBulkEmail 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 SendBulkEmailRequest method.
req, resp := client.SendBulkEmailRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmail

func (*SESV2) SendBulkEmailWithContext added in v1.33.16

func (c *SESV2) SendBulkEmailWithContext(ctx aws.Context, input *SendBulkEmailInput, opts ...request.Option) (*SendBulkEmailOutput, error)

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

See SendBulkEmail 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 (*SESV2) SendCustomVerificationEmail added in v1.33.16

func (c *SESV2) SendCustomVerificationEmail(input *SendCustomVerificationEmailInput) (*SendCustomVerificationEmailOutput, error)

SendCustomVerificationEmail API operation for Amazon Simple Email Service.

Adds an email address to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.

To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.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 SendCustomVerificationEmail for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • MessageRejected The message can't be sent because it contains invalid content.

  • SendingPausedException The message can't be sent because the account's ability to send email is currently paused.

  • MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmail

func (*SESV2) SendCustomVerificationEmailRequest added in v1.33.16

func (c *SESV2) SendCustomVerificationEmailRequest(input *SendCustomVerificationEmailInput) (req *request.Request, output *SendCustomVerificationEmailOutput)

SendCustomVerificationEmailRequest generates a "aws/request.Request" representing the client's request for the SendCustomVerificationEmail 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 SendCustomVerificationEmail for more information on using the SendCustomVerificationEmail 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 SendCustomVerificationEmailRequest method.
req, resp := client.SendCustomVerificationEmailRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmail

func (*SESV2) SendCustomVerificationEmailWithContext added in v1.33.16

func (c *SESV2) SendCustomVerificationEmailWithContext(ctx aws.Context, input *SendCustomVerificationEmailInput, opts ...request.Option) (*SendCustomVerificationEmailOutput, error)

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

See SendCustomVerificationEmail 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 (*SESV2) SendEmail

func (c *SESV2) SendEmail(input *SendEmailInput) (*SendEmailOutput, error)

SendEmail API operation for Amazon Simple Email Service.

Sends an email message. You can use the Amazon SES API v2 to send two types of messages:

  • Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and Amazon SES assembles the message for you.

  • Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.

  • Templated – A message that contains personalization tags. When you send this type of email, Amazon SES API v2 automatically replaces the tags with values that you specify.

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 SendEmail for usage and error information.

Returned Error Types:

  • TooManyRequestsException Too many requests have been made to the operation.

  • LimitExceededException There are too many instances of the specified resource type.

  • AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.

  • SendingPausedException The message can't be sent because the account's ability to send email is currently paused.

  • MessageRejected The message can't be sent because it contains invalid content.

  • MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendEmail

func (*SESV2) SendEmailRequest

func (c *SESV2) SendEmailRequest(input *SendEmailInput) (req *request.Request, output *SendEmailOutput)

SendEmailRequest generates a "aws/request.Request" representing the client's request for the SendEmail 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 SendEmail for more information on using the SendEmail 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 SendEmailRequest method.
req, resp := client.SendEmailRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendEmail

func (*SESV2) SendEmailWithContext

func (c *SESV2) SendEmailWithContext(ctx aws.Context, input *SendEmailInput, opts ...request.Option) (*SendEmailOutput, error)

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

See SendEmail 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 (*SESV2) TagResource

func (c *SESV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Simple Email Service.

Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

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 TagResource for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TagResource

func (*SESV2) TagResourceRequest

func (c *SESV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TagResource

func (*SESV2) TagResourceWithContext

func (c *SESV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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 (*SESV2) TestRenderEmailTemplate added in v1.33.16

func (c *SESV2) TestRenderEmailTemplate(input *TestRenderEmailTemplateInput) (*TestRenderEmailTemplateOutput, error)

TestRenderEmailTemplate API operation for Amazon Simple Email Service.

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

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 TestRenderEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplate

func (*SESV2) TestRenderEmailTemplateRequest added in v1.33.16

func (c *SESV2) TestRenderEmailTemplateRequest(input *TestRenderEmailTemplateInput) (req *request.Request, output *TestRenderEmailTemplateOutput)

TestRenderEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the TestRenderEmailTemplate 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 TestRenderEmailTemplate for more information on using the TestRenderEmailTemplate 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 TestRenderEmailTemplateRequest method.
req, resp := client.TestRenderEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplate

func (*SESV2) TestRenderEmailTemplateWithContext added in v1.33.16

func (c *SESV2) TestRenderEmailTemplateWithContext(ctx aws.Context, input *TestRenderEmailTemplateInput, opts ...request.Option) (*TestRenderEmailTemplateOutput, error)

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

See TestRenderEmailTemplate 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 (*SESV2) UntagResource

func (c *SESV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Simple Email Service.

Remove one or more tags (keys and values) from a specified resource.

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 UntagResource for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • ConcurrentModificationException The resource is being modified by another operation or thread.

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UntagResource

func (*SESV2) UntagResourceRequest

func (c *SESV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UntagResource

func (*SESV2) UntagResourceWithContext

func (c *SESV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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 (*SESV2) UpdateConfigurationSetEventDestination

func (c *SESV2) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error)

UpdateConfigurationSetEventDestination API operation for Amazon Simple Email Service.

Update the configuration of an event destination for a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

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 UpdateConfigurationSetEventDestination for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetEventDestination

func (*SESV2) UpdateConfigurationSetEventDestinationRequest

func (c *SESV2) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput)

UpdateConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the client's request for the UpdateConfigurationSetEventDestination 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 UpdateConfigurationSetEventDestination for more information on using the UpdateConfigurationSetEventDestination 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 UpdateConfigurationSetEventDestinationRequest method.
req, resp := client.UpdateConfigurationSetEventDestinationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetEventDestination

func (*SESV2) UpdateConfigurationSetEventDestinationWithContext

func (c *SESV2) UpdateConfigurationSetEventDestinationWithContext(ctx aws.Context, input *UpdateConfigurationSetEventDestinationInput, opts ...request.Option) (*UpdateConfigurationSetEventDestinationOutput, error)

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

See UpdateConfigurationSetEventDestination 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 (*SESV2) UpdateCustomVerificationEmailTemplate added in v1.33.16

func (c *SESV2) UpdateCustomVerificationEmailTemplate(input *UpdateCustomVerificationEmailTemplateInput) (*UpdateCustomVerificationEmailTemplateOutput, error)

UpdateCustomVerificationEmailTemplate API operation for Amazon Simple Email Service.

Updates 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/send-email-verify-address-custom.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 UpdateCustomVerificationEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • BadRequestException The input you provided is invalid.

  • TooManyRequestsException Too many requests have been made to the operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplate

func (*SESV2) UpdateCustomVerificationEmailTemplateRequest added in v1.33.16

func (c *SESV2) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustomVerificationEmailTemplateInput) (req *request.Request, output *UpdateCustomVerificationEmailTemplateOutput)

UpdateCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the UpdateCustomVerificationEmailTemplate 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 UpdateCustomVerificationEmailTemplate for more information on using the UpdateCustomVerificationEmailTemplate 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 UpdateCustomVerificationEmailTemplateRequest method.
req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplate

func (*SESV2) UpdateCustomVerificationEmailTemplateWithContext added in v1.33.16

func (c *SESV2) UpdateCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *UpdateCustomVerificationEmailTemplateInput, opts ...request.Option) (*UpdateCustomVerificationEmailTemplateOutput, error)

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

See UpdateCustomVerificationEmailTemplate 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 (*SESV2) UpdateEmailIdentityPolicy added in v1.33.16

func (c *SESV2) UpdateEmailIdentityPolicy(input *UpdateEmailIdentityPolicyInput) (*UpdateEmailIdentityPolicyOutput, error)

UpdateEmailIdentityPolicy API operation for Amazon Simple Email Service.

Updates 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 UpdateEmailIdentityPolicy for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicy

func (*SESV2) UpdateEmailIdentityPolicyRequest added in v1.33.16

func (c *SESV2) UpdateEmailIdentityPolicyRequest(input *UpdateEmailIdentityPolicyInput) (req *request.Request, output *UpdateEmailIdentityPolicyOutput)

UpdateEmailIdentityPolicyRequest generates a "aws/request.Request" representing the client's request for the UpdateEmailIdentityPolicy 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 UpdateEmailIdentityPolicy for more information on using the UpdateEmailIdentityPolicy 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 UpdateEmailIdentityPolicyRequest method.
req, resp := client.UpdateEmailIdentityPolicyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicy

func (*SESV2) UpdateEmailIdentityPolicyWithContext added in v1.33.16

func (c *SESV2) UpdateEmailIdentityPolicyWithContext(ctx aws.Context, input *UpdateEmailIdentityPolicyInput, opts ...request.Option) (*UpdateEmailIdentityPolicyOutput, error)

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

See UpdateEmailIdentityPolicy 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 (*SESV2) UpdateEmailTemplate added in v1.33.16

func (c *SESV2) UpdateEmailTemplate(input *UpdateEmailTemplateInput) (*UpdateEmailTemplateOutput, error)

UpdateEmailTemplate API operation for Amazon Simple Email Service.

Updates 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 UpdateEmailTemplate for usage and error information.

Returned Error Types:

  • NotFoundException The resource you attempted to access doesn't exist.

  • TooManyRequestsException Too many requests have been made to the operation.

  • BadRequestException The input you provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplate

func (*SESV2) UpdateEmailTemplateRequest added in v1.33.16

func (c *SESV2) UpdateEmailTemplateRequest(input *UpdateEmailTemplateInput) (req *request.Request, output *UpdateEmailTemplateOutput)

UpdateEmailTemplateRequest generates a "aws/request.Request" representing the client's request for the UpdateEmailTemplate 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 UpdateEmailTemplate for more information on using the UpdateEmailTemplate 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 UpdateEmailTemplateRequest method.
req, resp := client.UpdateEmailTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplate

func (*SESV2) UpdateEmailTemplateWithContext added in v1.33.16

func (c *SESV2) UpdateEmailTemplateWithContext(ctx aws.Context, input *UpdateEmailTemplateInput, opts ...request.Option) (*UpdateEmailTemplateOutput, error)

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

See UpdateEmailTemplate 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.

type SendBulkEmailInput added in v1.33.16

type SendBulkEmailInput struct {

	// The list of bulk email entry objects.
	//
	// BulkEmailEntries is a required field
	BulkEmailEntries []*BulkEmailEntry `type:"list" required:"true"`

	// The name of the configuration set that you want to use when sending the email.
	ConfigurationSetName *string `type:"string"`

	// An object that contains the body of the message. You can specify a template
	// message.
	//
	// DefaultContent is a required field
	DefaultContent *BulkEmailContent `type:"structure" required:"true"`

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

	// The address that you want bounce and complaint notifications to be sent to.
	FeedbackForwardingEmailAddress *string `type:"string"`

	// 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 use the email address specified in the FeedbackForwardingEmailAddress
	// parameter.
	//
	// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
	// attaches a policy to it that authorizes you to use feedback@example.com,
	// then you would specify the FeedbackForwardingEmailAddressIdentityArn to be
	// arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
	// to be feedback@example.com.
	//
	// For more information about sending authorization, see the Amazon SES Developer
	// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
	FeedbackForwardingEmailAddressIdentityArn *string `type:"string"`

	// The email address that you want to use as the "From" address for the email.
	// The address that you specify has to be verified.
	FromEmailAddress *string `type:"string"`

	// 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 use the email address specified in the FromEmailAddress parameter.
	//
	// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
	// attaches a policy to it that authorizes you to use sender@example.com, then
	// you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com,
	// and the FromEmailAddress to be sender@example.com.
	//
	// For more information about sending authorization, see the Amazon SES Developer
	// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
	FromEmailAddressIdentityArn *string `type:"string"`

	// The "Reply-to" email addresses for the message. When the recipient replies
	// to the message, each Reply-to address receives the reply.
	ReplyToAddresses []*string `type:"list"`
	// contains filtered or unexported fields
}

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

func (SendBulkEmailInput) GoString added in v1.33.16

func (s SendBulkEmailInput) GoString() string

GoString returns the string representation

func (*SendBulkEmailInput) SetBulkEmailEntries added in v1.33.16

func (s *SendBulkEmailInput) SetBulkEmailEntries(v []*BulkEmailEntry) *SendBulkEmailInput

SetBulkEmailEntries sets the BulkEmailEntries field's value.

func (*SendBulkEmailInput) SetConfigurationSetName added in v1.33.16

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendBulkEmailInput) SetDefaultContent added in v1.33.16

func (s *SendBulkEmailInput) SetDefaultContent(v *BulkEmailContent) *SendBulkEmailInput

SetDefaultContent sets the DefaultContent field's value.

func (*SendBulkEmailInput) SetDefaultEmailTags added in v1.33.16

func (s *SendBulkEmailInput) SetDefaultEmailTags(v []*MessageTag) *SendBulkEmailInput

SetDefaultEmailTags sets the DefaultEmailTags field's value.

func (*SendBulkEmailInput) SetFeedbackForwardingEmailAddress added in v1.33.16

func (s *SendBulkEmailInput) SetFeedbackForwardingEmailAddress(v string) *SendBulkEmailInput

SetFeedbackForwardingEmailAddress sets the FeedbackForwardingEmailAddress field's value.

func (*SendBulkEmailInput) SetFeedbackForwardingEmailAddressIdentityArn added in v1.33.16

func (s *SendBulkEmailInput) SetFeedbackForwardingEmailAddressIdentityArn(v string) *SendBulkEmailInput

SetFeedbackForwardingEmailAddressIdentityArn sets the FeedbackForwardingEmailAddressIdentityArn field's value.

func (*SendBulkEmailInput) SetFromEmailAddress added in v1.33.16

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

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*SendBulkEmailInput) SetFromEmailAddressIdentityArn added in v1.33.16

func (s *SendBulkEmailInput) SetFromEmailAddressIdentityArn(v string) *SendBulkEmailInput

SetFromEmailAddressIdentityArn sets the FromEmailAddressIdentityArn field's value.

func (*SendBulkEmailInput) SetReplyToAddresses added in v1.33.16

func (s *SendBulkEmailInput) SetReplyToAddresses(v []*string) *SendBulkEmailInput

SetReplyToAddresses sets the ReplyToAddresses field's value.

func (SendBulkEmailInput) String added in v1.33.16

func (s SendBulkEmailInput) String() string

String returns the string representation

func (*SendBulkEmailInput) Validate added in v1.33.16

func (s *SendBulkEmailInput) Validate() error

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

type SendBulkEmailOutput added in v1.33.16

type SendBulkEmailOutput struct {

	// A list of BulkMailEntry objects.
	//
	// BulkEmailEntryResults is a required field
	BulkEmailEntryResults []*BulkEmailEntryResult `type:"list" required:"true"`
	// contains filtered or unexported fields
}

The following data is returned in JSON format by the service.

func (SendBulkEmailOutput) GoString added in v1.33.16

func (s SendBulkEmailOutput) GoString() string

GoString returns the string representation

func (*SendBulkEmailOutput) SetBulkEmailEntryResults added in v1.33.16

func (s *SendBulkEmailOutput) SetBulkEmailEntryResults(v []*BulkEmailEntryResult) *SendBulkEmailOutput

SetBulkEmailEntryResults sets the BulkEmailEntryResults field's value.

func (SendBulkEmailOutput) String added in v1.33.16

func (s SendBulkEmailOutput) String() string

String returns the string representation

type SendCustomVerificationEmailInput added in v1.33.16

type SendCustomVerificationEmailInput struct {

	// Name of a configuration set to use when sending the verification email.
	ConfigurationSetName *string `type:"string"`

	// The email address to verify.
	//
	// EmailAddress is a required field
	EmailAddress *string `type:"string" required:"true"`

	// The name of the custom verification email template to use when sending the
	// verification email.
	//
	// TemplateName is a required field
	TemplateName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to send a custom verification email to a specified recipient.

func (SendCustomVerificationEmailInput) GoString added in v1.33.16

GoString returns the string representation

func (*SendCustomVerificationEmailInput) SetConfigurationSetName added in v1.33.16

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendCustomVerificationEmailInput) SetEmailAddress added in v1.33.16

SetEmailAddress sets the EmailAddress field's value.

func (*SendCustomVerificationEmailInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (SendCustomVerificationEmailInput) String added in v1.33.16

String returns the string representation

func (*SendCustomVerificationEmailInput) Validate added in v1.33.16

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

type SendCustomVerificationEmailOutput added in v1.33.16

type SendCustomVerificationEmailOutput struct {

	// The unique message identifier returned from the SendCustomVerificationEmail
	// operation.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

The following element is returned by the service.

func (SendCustomVerificationEmailOutput) GoString added in v1.33.16

GoString returns the string representation

func (*SendCustomVerificationEmailOutput) SetMessageId added in v1.33.16

SetMessageId sets the MessageId field's value.

func (SendCustomVerificationEmailOutput) String added in v1.33.16

String returns the string representation

type SendEmailInput

type SendEmailInput struct {

	// The name of the configuration set that you want to use when sending the email.
	ConfigurationSetName *string `type:"string"`

	// An object that contains the body of the message. You can send either a Simple
	// message Raw message or a template Message.
	//
	// Content is a required field
	Content *EmailContent `type:"structure" required:"true"`

	// An object that contains the recipients of the email message.
	Destination *Destination `type:"structure"`

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

	// The address that you want bounce and complaint notifications to be sent to.
	FeedbackForwardingEmailAddress *string `type:"string"`

	// 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 use the email address specified in the FeedbackForwardingEmailAddress
	// parameter.
	//
	// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
	// attaches a policy to it that authorizes you to use feedback@example.com,
	// then you would specify the FeedbackForwardingEmailAddressIdentityArn to be
	// arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
	// to be feedback@example.com.
	//
	// For more information about sending authorization, see the Amazon SES Developer
	// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
	FeedbackForwardingEmailAddressIdentityArn *string `type:"string"`

	// The email address that you want to use as the "From" address for the email.
	// The address that you specify has to be verified.
	FromEmailAddress *string `type:"string"`

	// 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 use the email address specified in the FromEmailAddress parameter.
	//
	// For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
	// attaches a policy to it that authorizes you to use sender@example.com, then
	// you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com,
	// and the FromEmailAddress to be sender@example.com.
	//
	// For more information about sending authorization, see the Amazon SES Developer
	// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
	//
	// For Raw emails, the FromEmailAddressIdentityArn value overrides the X-SES-SOURCE-ARN
	// and X-SES-FROM-ARN headers specified in raw email message content.
	FromEmailAddressIdentityArn *string `type:"string"`

	// The "Reply-to" email addresses for the message. When the recipient replies
	// to the message, each Reply-to address receives the reply.
	ReplyToAddresses []*string `type:"list"`
	// contains filtered or unexported fields
}

Represents a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-formatted.html).

func (SendEmailInput) GoString

func (s SendEmailInput) GoString() string

GoString returns the string representation

func (*SendEmailInput) SetConfigurationSetName

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendEmailInput) SetContent

func (s *SendEmailInput) SetContent(v *EmailContent) *SendEmailInput

SetContent sets the Content field's value.

func (*SendEmailInput) SetDestination

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

SetDestination sets the Destination field's value.

func (*SendEmailInput) SetEmailTags

func (s *SendEmailInput) SetEmailTags(v []*MessageTag) *SendEmailInput

SetEmailTags sets the EmailTags field's value.

func (*SendEmailInput) SetFeedbackForwardingEmailAddress

func (s *SendEmailInput) SetFeedbackForwardingEmailAddress(v string) *SendEmailInput

SetFeedbackForwardingEmailAddress sets the FeedbackForwardingEmailAddress field's value.

func (*SendEmailInput) SetFeedbackForwardingEmailAddressIdentityArn added in v1.33.16

func (s *SendEmailInput) SetFeedbackForwardingEmailAddressIdentityArn(v string) *SendEmailInput

SetFeedbackForwardingEmailAddressIdentityArn sets the FeedbackForwardingEmailAddressIdentityArn field's value.

func (*SendEmailInput) SetFromEmailAddress

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

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*SendEmailInput) SetFromEmailAddressIdentityArn added in v1.33.16

func (s *SendEmailInput) SetFromEmailAddressIdentityArn(v string) *SendEmailInput

SetFromEmailAddressIdentityArn sets the FromEmailAddressIdentityArn field's value.

func (*SendEmailInput) SetReplyToAddresses

func (s *SendEmailInput) SetReplyToAddresses(v []*string) *SendEmailInput

SetReplyToAddresses sets the ReplyToAddresses field's value.

func (SendEmailInput) String

func (s SendEmailInput) String() string

String returns the string representation

func (*SendEmailInput) Validate

func (s *SendEmailInput) Validate() error

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

type SendEmailOutput

type SendEmailOutput struct {

	// A unique identifier for the message that is generated when the message is
	// accepted.
	//
	// It's possible for Amazon SES to accept a message without sending it. This
	// can happen when the message that you're trying to send has an attachment
	// contains a virus, or when you send a templated email that contains invalid
	// personalization content, for example.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

A unique message ID that you receive when an email is accepted for sending.

func (SendEmailOutput) GoString

func (s SendEmailOutput) GoString() string

GoString returns the string representation

func (*SendEmailOutput) SetMessageId

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

SetMessageId sets the MessageId field's value.

func (SendEmailOutput) String

func (s SendEmailOutput) String() string

String returns the string representation

type SendQuota

type SendQuota struct {

	// The maximum number of emails that you can send in the current AWS Region
	// over a 24-hour period. This value is also called your sending quota.
	Max24HourSend *float64 `type:"double"`

	// The maximum number of emails that you can send per second in the current
	// AWS Region. This value is also called your maximum sending rate or your maximum
	// TPS (transactions per second) rate.
	MaxSendRate *float64 `type:"double"`

	// The number of emails sent from your Amazon SES account in the current AWS
	// Region over the past 24 hours.
	SentLast24Hours *float64 `type:"double"`
	// contains filtered or unexported fields
}

An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current AWS Region.

func (SendQuota) GoString

func (s SendQuota) GoString() string

GoString returns the string representation

func (*SendQuota) SetMax24HourSend

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

SetMax24HourSend sets the Max24HourSend field's value.

func (*SendQuota) SetMaxSendRate

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

SetMaxSendRate sets the MaxSendRate field's value.

func (*SendQuota) SetSentLast24Hours

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

SetSentLast24Hours sets the SentLast24Hours field's value.

func (SendQuota) String

func (s SendQuota) String() string

String returns the string representation

type SendingOptions

type SendingOptions struct {

	// If true, email sending is enabled for the configuration set. If false, email
	// sending is disabled for the configuration set.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.

func (SendingOptions) GoString

func (s SendingOptions) GoString() string

GoString returns the string representation

func (*SendingOptions) SetSendingEnabled

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

SetSendingEnabled sets the SendingEnabled field's value.

func (SendingOptions) String

func (s SendingOptions) String() string

String returns the string representation

type SendingPausedException added in v1.28.0

type SendingPausedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The message can't be sent because the account's ability to send email is currently paused.

func (*SendingPausedException) Code added in v1.28.0

func (s *SendingPausedException) Code() string

Code returns the exception type name.

func (*SendingPausedException) Error added in v1.28.0

func (s *SendingPausedException) Error() string

func (SendingPausedException) GoString added in v1.28.0

func (s SendingPausedException) GoString() string

GoString returns the string representation

func (*SendingPausedException) Message added in v1.28.0

func (s *SendingPausedException) Message() string

Message returns the exception's message.

func (*SendingPausedException) OrigErr added in v1.28.0

func (s *SendingPausedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*SendingPausedException) RequestID added in v1.28.0

func (s *SendingPausedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*SendingPausedException) StatusCode added in v1.28.0

func (s *SendingPausedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (SendingPausedException) String added in v1.28.0

func (s SendingPausedException) String() string

String returns the string representation

type SnsDestination

type SnsDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
	// email events to. For more information about Amazon SNS topics, see the Amazon
	// SNS Developer Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
	//
	// TopicArn is a required field
	TopicArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

func (SnsDestination) GoString

func (s SnsDestination) GoString() string

GoString returns the string representation

func (*SnsDestination) SetTopicArn

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

SetTopicArn sets the TopicArn field's value.

func (SnsDestination) String

func (s SnsDestination) String() string

String returns the string representation

func (*SnsDestination) Validate

func (s *SnsDestination) Validate() error

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

type SuppressedDestination added in v1.25.42

type SuppressedDestination struct {

	// An optional value that can contain additional information about the reasons
	// that the address was added to the suppression list for your account.
	Attributes *SuppressedDestinationAttributes `type:"structure"`

	// The email address that is on the suppression list for your account.
	//
	// EmailAddress is a required field
	EmailAddress *string `type:"string" required:"true"`

	// The date and time when the suppressed destination was last updated, shown
	// in Unix time format.
	//
	// LastUpdateTime is a required field
	LastUpdateTime *time.Time `type:"timestamp" required:"true"`

	// The reason that the address was added to the suppression list for your account.
	//
	// Reason is a required field
	Reason *string `type:"string" required:"true" enum:"SuppressionListReason"`
	// contains filtered or unexported fields
}

An object that contains information about an email address that is on the suppression list for your account.

func (SuppressedDestination) GoString added in v1.25.42

func (s SuppressedDestination) GoString() string

GoString returns the string representation

func (*SuppressedDestination) SetAttributes added in v1.25.42

SetAttributes sets the Attributes field's value.

func (*SuppressedDestination) SetEmailAddress added in v1.25.42

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

SetEmailAddress sets the EmailAddress field's value.

func (*SuppressedDestination) SetLastUpdateTime added in v1.25.42

func (s *SuppressedDestination) SetLastUpdateTime(v time.Time) *SuppressedDestination

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*SuppressedDestination) SetReason added in v1.25.42

SetReason sets the Reason field's value.

func (SuppressedDestination) String added in v1.25.42

func (s SuppressedDestination) String() string

String returns the string representation

type SuppressedDestinationAttributes added in v1.25.42

type SuppressedDestinationAttributes struct {

	// A unique identifier that's generated when an email address is added to the
	// suppression list for your account.
	FeedbackId *string `type:"string"`

	// The unique identifier of the email message that caused the email address
	// to be added to the suppression list for your account.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains additional attributes that are related an email address that is on the suppression list for your account.

func (SuppressedDestinationAttributes) GoString added in v1.25.42

GoString returns the string representation

func (*SuppressedDestinationAttributes) SetFeedbackId added in v1.25.42

SetFeedbackId sets the FeedbackId field's value.

func (*SuppressedDestinationAttributes) SetMessageId added in v1.25.42

SetMessageId sets the MessageId field's value.

func (SuppressedDestinationAttributes) String added in v1.25.42

String returns the string representation

type SuppressedDestinationSummary added in v1.25.42

type SuppressedDestinationSummary struct {

	// The email address that's on the suppression list for your account.
	//
	// EmailAddress is a required field
	EmailAddress *string `type:"string" required:"true"`

	// The date and time when the suppressed destination was last updated, shown
	// in Unix time format.
	//
	// LastUpdateTime is a required field
	LastUpdateTime *time.Time `type:"timestamp" required:"true"`

	// The reason that the address was added to the suppression list for your account.
	//
	// Reason is a required field
	Reason *string `type:"string" required:"true" enum:"SuppressionListReason"`
	// contains filtered or unexported fields
}

A summary that describes the suppressed email address.

func (SuppressedDestinationSummary) GoString added in v1.25.42

func (s SuppressedDestinationSummary) GoString() string

GoString returns the string representation

func (*SuppressedDestinationSummary) SetEmailAddress added in v1.25.42

SetEmailAddress sets the EmailAddress field's value.

func (*SuppressedDestinationSummary) SetLastUpdateTime added in v1.25.42

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*SuppressedDestinationSummary) SetReason added in v1.25.42

SetReason sets the Reason field's value.

func (SuppressedDestinationSummary) String added in v1.25.42

String returns the string representation

type SuppressionAttributes added in v1.25.42

type SuppressionAttributes struct {

	// A list that contains the reasons that email addresses will be automatically
	// added to the suppression list for your account. This list can contain any
	// or all of the following:
	//
	//    * COMPLAINT – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a complaint.
	//
	//    * BOUNCE – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a hard
	//    bounce.
	SuppressedReasons []*string `type:"list"`
	// contains filtered or unexported fields
}

An object that contains information about the email address suppression preferences for your account in the current AWS Region.

func (SuppressionAttributes) GoString added in v1.25.42

func (s SuppressionAttributes) GoString() string

GoString returns the string representation

func (*SuppressionAttributes) SetSuppressedReasons added in v1.25.42

func (s *SuppressionAttributes) SetSuppressedReasons(v []*string) *SuppressionAttributes

SetSuppressedReasons sets the SuppressedReasons field's value.

func (SuppressionAttributes) String added in v1.25.42

func (s SuppressionAttributes) String() string

String returns the string representation

type SuppressionOptions added in v1.25.42

type SuppressionOptions struct {

	// A list that contains the reasons that email addresses are automatically added
	// to the suppression list for your account. This list can contain any or all
	// of the following:
	//
	//    * COMPLAINT – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a complaint.
	//
	//    * BOUNCE – Amazon SES adds an email address to the suppression list
	//    for your account when a message sent to that address results in a hard
	//    bounce.
	SuppressedReasons []*string `type:"list"`
	// contains filtered or unexported fields
}

An object that contains information about the suppression list preferences for your account.

func (SuppressionOptions) GoString added in v1.25.42

func (s SuppressionOptions) GoString() string

GoString returns the string representation

func (*SuppressionOptions) SetSuppressedReasons added in v1.25.42

func (s *SuppressionOptions) SetSuppressedReasons(v []*string) *SuppressionOptions

SetSuppressedReasons sets the SuppressedReasons field's value.

func (SuppressionOptions) String added in v1.25.42

func (s SuppressionOptions) String() string

String returns the string representation

type Tag

type Tag struct {

	// One part of a key-value pair that defines a tag. The maximum length of a
	// tag key is 128 characters. The minimum length is 1 character.
	//
	// Key is a required field
	Key *string `type:"string" required:"true"`

	// The optional part of a key-value pair that defines a tag. The maximum length
	// of a tag value is 256 characters. The minimum length is 0 characters. If
	// you don't want a resource to have a specific tag value, don't specify a value
	// for this parameter. If you don't specify a value, Amazon SES sets the value
	// to an empty string.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines the tags that are associated with a resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

  • Tag keys and values are case sensitive.

  • For each associated resource, each tag key must be unique and it can have only one value.

  • The aws: prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix. Tags that use this prefix don’t count against the limit of 50 tags per resource.

  • You can associate tags with public or shared resources, but the tags are available only for your AWS account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified AWS Region for your AWS account.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

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

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to add one or
	// more tags to.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// A list of the tags that you want to add to the resource. A tag consists of
	// a required tag key (Key) and an associated tag value (Value). The maximum
	// length of a tag key is 128 characters. The maximum length of a tag value
	// is 256 characters.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type Template

type Template struct {

	// The Amazon Resource Name (ARN) of the template.
	TemplateArn *string `type:"string"`

	// An object that defines the values to use for message variables in the template.
	// This object is a set of key-value pairs. Each key defines a message variable
	// in the template. The corresponding value defines the value to use for that
	// variable.
	TemplateData *string `type:"string"`

	// The name of the template. You will refer to this name when you send email
	// using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
	TemplateName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to define, save, and reuse in email messages that you send.

func (Template) GoString

func (s Template) GoString() string

GoString returns the string representation

func (*Template) SetTemplateArn

func (s *Template) SetTemplateArn(v string) *Template

SetTemplateArn sets the TemplateArn field's value.

func (*Template) SetTemplateData

func (s *Template) SetTemplateData(v string) *Template

SetTemplateData sets the TemplateData field's value.

func (*Template) SetTemplateName added in v1.33.16

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

SetTemplateName sets the TemplateName field's value.

func (Template) String

func (s Template) String() string

String returns the string representation

func (*Template) Validate added in v1.33.16

func (s *Template) Validate() error

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

type TestRenderEmailTemplateInput added in v1.33.16

type TestRenderEmailTemplateInput struct {

	// 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.
	//
	// TemplateData is a required field
	TemplateData *string `type:"string" required:"true"`

	// The name of the template that you want to render.
	//
	// TemplateName is a required field
	TemplateName *string `location:"uri" locationName:"TemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

>Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data.

func (TestRenderEmailTemplateInput) GoString added in v1.33.16

func (s TestRenderEmailTemplateInput) GoString() string

GoString returns the string representation

func (*TestRenderEmailTemplateInput) SetTemplateData added in v1.33.16

SetTemplateData sets the TemplateData field's value.

func (*TestRenderEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (TestRenderEmailTemplateInput) String added in v1.33.16

String returns the string representation

func (*TestRenderEmailTemplateInput) Validate added in v1.33.16

func (s *TestRenderEmailTemplateInput) Validate() error

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

type TestRenderEmailTemplateOutput added in v1.33.16

type TestRenderEmailTemplateOutput struct {

	// The complete MIME message rendered by applying the data in the TemplateData
	// parameter to the template specified in the TemplateName parameter.
	//
	// RenderedTemplate is a required field
	RenderedTemplate *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The following element is returned by the service.

func (TestRenderEmailTemplateOutput) GoString added in v1.33.16

GoString returns the string representation

func (*TestRenderEmailTemplateOutput) SetRenderedTemplate added in v1.33.16

SetRenderedTemplate sets the RenderedTemplate field's value.

func (TestRenderEmailTemplateOutput) String added in v1.33.16

String returns the string representation

type TooManyRequestsException added in v1.28.0

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Too many requests have been made to the operation.

func (*TooManyRequestsException) Code added in v1.28.0

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error added in v1.28.0

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString added in v1.28.0

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message added in v1.28.0

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr added in v1.28.0

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID added in v1.28.0

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode added in v1.28.0

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String added in v1.28.0

func (s TooManyRequestsException) String() string

String returns the string representation

type TrackingOptions

type TrackingOptions struct {

	// The domain that you want to use for tracking open and click events.
	//
	// CustomRedirectDomain is a required field
	CustomRedirectDomain *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines the tracking options for a configuration set. When you use the Amazon SES API v2 to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them.

These images and links include references to a domain operated by AWS. You can optionally configure the Amazon SES to use a domain that you operate for these images and links.

func (TrackingOptions) GoString

func (s TrackingOptions) GoString() string

GoString returns the string representation

func (*TrackingOptions) SetCustomRedirectDomain

func (s *TrackingOptions) SetCustomRedirectDomain(v string) *TrackingOptions

SetCustomRedirectDomain sets the CustomRedirectDomain field's value.

func (TrackingOptions) String

func (s TrackingOptions) String() string

String returns the string representation

func (*TrackingOptions) Validate

func (s *TrackingOptions) Validate() error

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

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that you want to remove one
	// or more tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags (tag keys) that you want to remove from the resource. When you specify
	// a tag key, the action removes both that key and its associated tag value.
	//
	// To remove more than one tag from the resource, append the TagKeys parameter
	// and argument for each additional tag to remove, separated by an ampersand.
	// For example: /v2/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"TagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateConfigurationSetEventDestinationInput

type UpdateConfigurationSetEventDestinationInput struct {

	// The name of the configuration set that contains the event destination that
	// you want to modify.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `location:"uri" locationName:"ConfigurationSetName" type:"string" required:"true"`

	// An object that defines the event destination.
	//
	// EventDestination is a required field
	EventDestination *EventDestinationDefinition `type:"structure" required:"true"`

	// The name of the event destination that you want to modify.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `location:"uri" locationName:"EventDestinationName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to change the settings for an event destination for a configuration set.

func (UpdateConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (*UpdateConfigurationSetEventDestinationInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*UpdateConfigurationSetEventDestinationInput) SetEventDestination

SetEventDestination sets the EventDestination field's value.

func (*UpdateConfigurationSetEventDestinationInput) SetEventDestinationName

SetEventDestinationName sets the EventDestinationName field's value.

func (UpdateConfigurationSetEventDestinationInput) String

String returns the string representation

func (*UpdateConfigurationSetEventDestinationInput) Validate

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

type UpdateConfigurationSetEventDestinationOutput

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

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

func (UpdateConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (UpdateConfigurationSetEventDestinationOutput) String

String returns the string representation

type UpdateCustomVerificationEmailTemplateInput added in v1.33.16

type UpdateCustomVerificationEmailTemplateInput 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/send-email-verify-address-custom.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 that you want to update.
	//
	// TemplateName is a required field
	TemplateName *string `location:"uri" locationName:"TemplateName" min:"1" 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 update an existing custom verification email template.

func (UpdateCustomVerificationEmailTemplateInput) GoString added in v1.33.16

GoString returns the string representation

func (*UpdateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL added in v1.33.16

SetFailureRedirectionURL sets the FailureRedirectionURL field's value.

func (*UpdateCustomVerificationEmailTemplateInput) SetFromEmailAddress added in v1.33.16

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*UpdateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL added in v1.33.16

SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value.

func (*UpdateCustomVerificationEmailTemplateInput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*UpdateCustomVerificationEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (*UpdateCustomVerificationEmailTemplateInput) SetTemplateSubject added in v1.33.16

SetTemplateSubject sets the TemplateSubject field's value.

func (UpdateCustomVerificationEmailTemplateInput) String added in v1.33.16

String returns the string representation

func (*UpdateCustomVerificationEmailTemplateInput) Validate added in v1.33.16

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

type UpdateCustomVerificationEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (UpdateCustomVerificationEmailTemplateOutput) GoString added in v1.33.16

GoString returns the string representation

func (UpdateCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation

type UpdateEmailIdentityPolicyInput added in v1.33.16

type UpdateEmailIdentityPolicyInput struct {

	// The email identity for which you want to update policy.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" min:"1" 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 `location:"uri" locationName:"PolicyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to 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-identity-owner-tasks-management.html).

func (UpdateEmailIdentityPolicyInput) GoString added in v1.33.16

GoString returns the string representation

func (*UpdateEmailIdentityPolicyInput) SetEmailIdentity added in v1.33.16

SetEmailIdentity sets the EmailIdentity field's value.

func (*UpdateEmailIdentityPolicyInput) SetPolicy added in v1.33.16

SetPolicy sets the Policy field's value.

func (*UpdateEmailIdentityPolicyInput) SetPolicyName added in v1.33.16

SetPolicyName sets the PolicyName field's value.

func (UpdateEmailIdentityPolicyInput) String added in v1.33.16

String returns the string representation

func (*UpdateEmailIdentityPolicyInput) Validate added in v1.33.16

func (s *UpdateEmailIdentityPolicyInput) Validate() error

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

type UpdateEmailIdentityPolicyOutput added in v1.33.16

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

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

func (UpdateEmailIdentityPolicyOutput) GoString added in v1.33.16

GoString returns the string representation

func (UpdateEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation

type UpdateEmailTemplateInput added in v1.33.16

type UpdateEmailTemplateInput struct {

	// The content of the email template, composed of a subject line, an HTML part,
	// and a text-only part.
	//
	// TemplateContent is a required field
	TemplateContent *EmailTemplateContent `type:"structure" required:"true"`

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

Represents a request to update 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 (UpdateEmailTemplateInput) GoString added in v1.33.16

func (s UpdateEmailTemplateInput) GoString() string

GoString returns the string representation

func (*UpdateEmailTemplateInput) SetTemplateContent added in v1.33.16

SetTemplateContent sets the TemplateContent field's value.

func (*UpdateEmailTemplateInput) SetTemplateName added in v1.33.16

SetTemplateName sets the TemplateName field's value.

func (UpdateEmailTemplateInput) String added in v1.33.16

func (s UpdateEmailTemplateInput) String() string

String returns the string representation

func (*UpdateEmailTemplateInput) Validate added in v1.33.16

func (s *UpdateEmailTemplateInput) Validate() error

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

type UpdateEmailTemplateOutput added in v1.33.16

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

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

func (UpdateEmailTemplateOutput) GoString added in v1.33.16

func (s UpdateEmailTemplateOutput) GoString() string

GoString returns the string representation

func (UpdateEmailTemplateOutput) String added in v1.33.16

func (s UpdateEmailTemplateOutput) String() string

String returns the string representation

type VolumeStatistics

type VolumeStatistics struct {

	// The total number of emails that arrived in recipients' inboxes.
	InboxRawCount *int64 `type:"long"`

	// An estimate of the percentage of emails sent from the current domain that
	// will arrive in recipients' inboxes.
	ProjectedInbox *int64 `type:"long"`

	// An estimate of the percentage of emails sent from the current domain that
	// will arrive in recipients' spam or junk mail folders.
	ProjectedSpam *int64 `type:"long"`

	// The total number of emails that arrived in recipients' spam or junk mail
	// folders.
	SpamRawCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

An object that contains information about the amount of email that was delivered to recipients.

func (VolumeStatistics) GoString

func (s VolumeStatistics) GoString() string

GoString returns the string representation

func (*VolumeStatistics) SetInboxRawCount

func (s *VolumeStatistics) SetInboxRawCount(v int64) *VolumeStatistics

SetInboxRawCount sets the InboxRawCount field's value.

func (*VolumeStatistics) SetProjectedInbox

func (s *VolumeStatistics) SetProjectedInbox(v int64) *VolumeStatistics

SetProjectedInbox sets the ProjectedInbox field's value.

func (*VolumeStatistics) SetProjectedSpam

func (s *VolumeStatistics) SetProjectedSpam(v int64) *VolumeStatistics

SetProjectedSpam sets the ProjectedSpam field's value.

func (*VolumeStatistics) SetSpamRawCount

func (s *VolumeStatistics) SetSpamRawCount(v int64) *VolumeStatistics

SetSpamRawCount sets the SpamRawCount field's value.

func (VolumeStatistics) String

func (s VolumeStatistics) String() string

String returns the string representation

Directories

Path Synopsis
Package sesv2iface provides an interface to enable mocking the Amazon Simple Email Service service client for testing your code.
Package sesv2iface provides an interface to enable mocking the Amazon Simple Email Service service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL