sesv2

package
v1.55.5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 33

Documentation

Overview

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

Amazon SES (http://aws.amazon.com/ses) is an Amazon Web Services 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 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.

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

Examples

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 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 (
	// BounceTypeUndetermined is a BounceType enum value
	BounceTypeUndetermined = "UNDETERMINED"

	// BounceTypeTransient is a BounceType enum value
	BounceTypeTransient = "TRANSIENT"

	// BounceTypePermanent is a BounceType enum value
	BounceTypePermanent = "PERMANENT"
)
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 (
	// ContactListImportActionDelete is a ContactListImportAction enum value
	ContactListImportActionDelete = "DELETE"

	// ContactListImportActionPut is a ContactListImportAction enum value
	ContactListImportActionPut = "PUT"
)
View Source
const (
	// DataFormatCsv is a DataFormat enum value
	DataFormatCsv = "CSV"

	// DataFormatJson is a DataFormat enum value
	DataFormatJson = "JSON"
)

The data format of a file, can be one of the following:

  • CSV – A comma-separated values file.

  • JSON – A JSON file.

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 (
	// DeliveryEventTypeSend is a DeliveryEventType enum value
	DeliveryEventTypeSend = "SEND"

	// DeliveryEventTypeDelivery is a DeliveryEventType enum value
	DeliveryEventTypeDelivery = "DELIVERY"

	// DeliveryEventTypeTransientBounce is a DeliveryEventType enum value
	DeliveryEventTypeTransientBounce = "TRANSIENT_BOUNCE"

	// DeliveryEventTypePermanentBounce is a DeliveryEventType enum value
	DeliveryEventTypePermanentBounce = "PERMANENT_BOUNCE"

	// DeliveryEventTypeUndeterminedBounce is a DeliveryEventType enum value
	DeliveryEventTypeUndeterminedBounce = "UNDETERMINED_BOUNCE"

	// DeliveryEventTypeComplaint is a DeliveryEventType enum value
	DeliveryEventTypeComplaint = "COMPLAINT"
)

The type of delivery events:

  • SEND - The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.)

  • DELIVERY - SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator and emails addressed to more than one recipient.

  • TRANSIENT_BOUNCE - Feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient.

  • PERMANENT_BOUNCE - Feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient.

  • UNDETERMINED_BOUNCE - SES was unable to determine the bounce reason.

  • COMPLAINT - Complaint received for the email. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient.

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. 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. To use your own email headers, choose emailHeader. 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 (
	// DkimSigningKeyLengthRsa1024Bit is a DkimSigningKeyLength enum value
	DkimSigningKeyLengthRsa1024Bit = "RSA_1024_BIT"

	// DkimSigningKeyLengthRsa2048Bit is a DkimSigningKeyLength enum value
	DkimSigningKeyLengthRsa2048Bit = "RSA_2048_BIT"
)
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 (
	// EngagementEventTypeOpen is a EngagementEventType enum value
	EngagementEventTypeOpen = "OPEN"

	// EngagementEventTypeClick is a EngagementEventType enum value
	EngagementEventTypeClick = "CLICK"
)

The type of delivery events:

  • OPEN - Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient.

  • CLICK - Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.

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"

	// EventTypeSubscription is a EventType enum value
	EventTypeSubscription = "SUBSCRIPTION"
)

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

View Source
const (
	// ExportSourceTypeMetricsData is a ExportSourceType enum value
	ExportSourceTypeMetricsData = "METRICS_DATA"

	// ExportSourceTypeMessageInsights is a ExportSourceType enum value
	ExportSourceTypeMessageInsights = "MESSAGE_INSIGHTS"
)

The type of data source of an export, can be one of the following:

  • METRICS_DATA - The metrics export.

  • MESSAGE_INSIGHTS - The Message Insights export.

View Source
const (
	// FeatureStatusEnabled is a FeatureStatus enum value
	FeatureStatusEnabled = "ENABLED"

	// FeatureStatusDisabled is a FeatureStatus enum value
	FeatureStatusDisabled = "DISABLED"
)
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"
)
View Source
const (
	// ImportDestinationTypeSuppressionList is a ImportDestinationType enum value
	ImportDestinationTypeSuppressionList = "SUPPRESSION_LIST"

	// ImportDestinationTypeContactList is a ImportDestinationType enum value
	ImportDestinationTypeContactList = "CONTACT_LIST"
)

The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

View Source
const (
	// JobStatusCreated is a JobStatus enum value
	JobStatusCreated = "CREATED"

	// JobStatusProcessing is a JobStatus enum value
	JobStatusProcessing = "PROCESSING"

	// JobStatusCompleted is a JobStatus enum value
	JobStatusCompleted = "COMPLETED"

	// JobStatusFailed is a JobStatus enum value
	JobStatusFailed = "FAILED"

	// JobStatusCancelled is a JobStatus enum value
	JobStatusCancelled = "CANCELLED"
)

The status of a job.

  • CREATED – Job has just been created.

  • PROCESSING – Job is processing.

  • ERROR – An error occurred during processing.

  • COMPLETED – Job has completed processing successfully.

View Source
const (
	// ListRecommendationsFilterKeyType is a ListRecommendationsFilterKey enum value
	ListRecommendationsFilterKeyType = "TYPE"

	// ListRecommendationsFilterKeyImpact is a ListRecommendationsFilterKey enum value
	ListRecommendationsFilterKeyImpact = "IMPACT"

	// ListRecommendationsFilterKeyStatus is a ListRecommendationsFilterKey enum value
	ListRecommendationsFilterKeyStatus = "STATUS"

	// ListRecommendationsFilterKeyResourceArn is a ListRecommendationsFilterKey enum value
	ListRecommendationsFilterKeyResourceArn = "RESOURCE_ARN"
)

The ListRecommendations filter type. This can be one of the following:

  • TYPE – The recommendation type, with values like DKIM, SPF, DMARC or BIMI.

  • IMPACT – The recommendation impact, with values like HIGH or LOW.

  • STATUS – The recommendation status, with values like OPEN or FIXED.

  • RESOURCE_ARN – The resource affected by the recommendation, with values like arn:aws:ses:us-east-1:123456789012:identity/example.com.

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 (
	// MetricSend is a Metric enum value
	MetricSend = "SEND"

	// MetricComplaint is a Metric enum value
	MetricComplaint = "COMPLAINT"

	// MetricPermanentBounce is a Metric enum value
	MetricPermanentBounce = "PERMANENT_BOUNCE"

	// MetricTransientBounce is a Metric enum value
	MetricTransientBounce = "TRANSIENT_BOUNCE"

	// MetricOpen is a Metric enum value
	MetricOpen = "OPEN"

	// MetricClick is a Metric enum value
	MetricClick = "CLICK"

	// MetricDelivery is a Metric enum value
	MetricDelivery = "DELIVERY"

	// MetricDeliveryOpen is a Metric enum value
	MetricDeliveryOpen = "DELIVERY_OPEN"

	// MetricDeliveryClick is a Metric enum value
	MetricDeliveryClick = "DELIVERY_CLICK"

	// MetricDeliveryComplaint is a Metric enum value
	MetricDeliveryComplaint = "DELIVERY_COMPLAINT"
)

The metric to export, can be one of the following:

  • SEND - Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient.

  • COMPLAINT - Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient

  • PERMANENT_BOUNCE - Permanent bounces - i.e., feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient.

  • TRANSIENT_BOUNCE - Transient bounces - i.e., feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient.

  • OPEN - Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient.

  • CLICK - Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.

  • DELIVERY - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient.

  • DELIVERY_OPEN - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers.

  • DELIVERY_CLICK - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers.

  • DELIVERY_COMPLAINT - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement.

View Source
const (
	// MetricAggregationRate is a MetricAggregation enum value
	MetricAggregationRate = "RATE"

	// MetricAggregationVolume is a MetricAggregation enum value
	MetricAggregationVolume = "VOLUME"
)

The aggregation to apply to a metric, can be one of the following:

  • VOLUME - The volume of events for this metric.

  • RATE - The rate for this metric relative to the SEND metric volume.

View Source
const (
	// MetricDimensionNameEmailIdentity is a MetricDimensionName enum value
	MetricDimensionNameEmailIdentity = "EMAIL_IDENTITY"

	// MetricDimensionNameConfigurationSet is a MetricDimensionName enum value
	MetricDimensionNameConfigurationSet = "CONFIGURATION_SET"

	// MetricDimensionNameIsp is a MetricDimensionName enum value
	MetricDimensionNameIsp = "ISP"
)

The BatchGetMetricDataQuery dimension name. This can be one of the following:

  • EMAIL_IDENTITY – The email identity used when sending messages.

  • CONFIGURATION_SET – The configuration set used when sending messages (if one was used).

  • ISP – The recipient ISP (e.g. Gmail, Yahoo, etc.).

View Source
const (
	// QueryErrorCodeInternalFailure is a QueryErrorCode enum value
	QueryErrorCodeInternalFailure = "INTERNAL_FAILURE"

	// QueryErrorCodeAccessDenied is a QueryErrorCode enum value
	QueryErrorCodeAccessDenied = "ACCESS_DENIED"
)
View Source
const (
	// RecommendationImpactLow is a RecommendationImpact enum value
	RecommendationImpactLow = "LOW"

	// RecommendationImpactHigh is a RecommendationImpact enum value
	RecommendationImpactHigh = "HIGH"
)
View Source
const (
	// RecommendationStatusOpen is a RecommendationStatus enum value
	RecommendationStatusOpen = "OPEN"

	// RecommendationStatusFixed is a RecommendationStatus enum value
	RecommendationStatusFixed = "FIXED"
)
View Source
const (
	// RecommendationTypeDkim is a RecommendationType enum value
	RecommendationTypeDkim = "DKIM"

	// RecommendationTypeDmarc is a RecommendationType enum value
	RecommendationTypeDmarc = "DMARC"

	// RecommendationTypeSpf is a RecommendationType enum value
	RecommendationTypeSpf = "SPF"

	// RecommendationTypeBimi is a RecommendationType enum value
	RecommendationTypeBimi = "BIMI"
)
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 (
	// ScalingModeStandard is a ScalingMode enum value
	ScalingModeStandard = "STANDARD"

	// ScalingModeManaged is a ScalingMode enum value
	ScalingModeManaged = "MANAGED"
)
View Source
const (
	// SubscriptionStatusOptIn is a SubscriptionStatus enum value
	SubscriptionStatusOptIn = "OPT_IN"

	// SubscriptionStatusOptOut is a SubscriptionStatus enum value
	SubscriptionStatusOptOut = "OPT_OUT"
)
View Source
const (
	// SuppressionListImportActionDelete is a SuppressionListImportAction enum value
	SuppressionListImportActionDelete = "DELETE"

	// SuppressionListImportActionPut is a SuppressionListImportAction enum value
	SuppressionListImportActionPut = "PUT"
)

The type of action to perform on the address. The following are possible values:

  • PUT: add the addresses to the suppression list.

  • DELETE: remove the address from the suppression list.

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 (
	// VerificationErrorServiceError is a VerificationError enum value
	VerificationErrorServiceError = "SERVICE_ERROR"

	// VerificationErrorDnsServerError is a VerificationError enum value
	VerificationErrorDnsServerError = "DNS_SERVER_ERROR"

	// VerificationErrorHostNotFound is a VerificationError enum value
	VerificationErrorHostNotFound = "HOST_NOT_FOUND"

	// VerificationErrorTypeNotFound is a VerificationError enum value
	VerificationErrorTypeNotFound = "TYPE_NOT_FOUND"

	// VerificationErrorInvalidValue is a VerificationError enum value
	VerificationErrorInvalidValue = "INVALID_VALUE"
)
View Source
const (
	// VerificationStatusPending is a VerificationStatus enum value
	VerificationStatusPending = "PENDING"

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

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

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

	// VerificationStatusNotStarted is a VerificationStatus enum value
	VerificationStatusNotStarted = "NOT_STARTED"
)
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"

	// ErrCodeInternalServiceErrorException for service response error code
	// "InternalServiceErrorException".
	//
	// The request couldn't be processed because an error occurred with the Amazon
	// SES API v2.
	ErrCodeInternalServiceErrorException = "InternalServiceErrorException"

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

View Source
const (
	// MetricNamespaceVdm is a MetricNamespace enum value
	MetricNamespaceVdm = "VDM"
)

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 BounceType_Values added in v1.44.334

func BounceType_Values() []string

BounceType_Values returns all elements of the BounceType 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 ContactListImportAction_Values added in v1.35.18

func ContactListImportAction_Values() []string

ContactListImportAction_Values returns all elements of the ContactListImportAction enum

func DataFormat_Values added in v1.34.7

func DataFormat_Values() []string

DataFormat_Values returns all elements of the DataFormat 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 DeliveryEventType_Values added in v1.44.334

func DeliveryEventType_Values() []string

DeliveryEventType_Values returns all elements of the DeliveryEventType 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 DkimSigningKeyLength_Values added in v1.40.52

func DkimSigningKeyLength_Values() []string

DkimSigningKeyLength_Values returns all elements of the DkimSigningKeyLength enum

func DkimStatus_Values added in v1.34.3

func DkimStatus_Values() []string

DkimStatus_Values returns all elements of the DkimStatus enum

func EngagementEventType_Values added in v1.44.334

func EngagementEventType_Values() []string

EngagementEventType_Values returns all elements of the EngagementEventType enum

func EventType_Values added in v1.34.3

func EventType_Values() []string

EventType_Values returns all elements of the EventType enum

func ExportSourceType_Values added in v1.44.334

func ExportSourceType_Values() []string

ExportSourceType_Values returns all elements of the ExportSourceType enum

func FeatureStatus_Values added in v1.44.127

func FeatureStatus_Values() []string

FeatureStatus_Values returns all elements of the FeatureStatus enum

func IdentityType_Values added in v1.34.3

func IdentityType_Values() []string

IdentityType_Values returns all elements of the IdentityType enum

func ImportDestinationType_Values added in v1.34.7

func ImportDestinationType_Values() []string

ImportDestinationType_Values returns all elements of the ImportDestinationType enum

func JobStatus_Values added in v1.34.7

func JobStatus_Values() []string

JobStatus_Values returns all elements of the JobStatus enum

func ListRecommendationsFilterKey_Values added in v1.44.127

func ListRecommendationsFilterKey_Values() []string

ListRecommendationsFilterKey_Values returns all elements of the ListRecommendationsFilterKey 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 MetricAggregation_Values added in v1.44.334

func MetricAggregation_Values() []string

MetricAggregation_Values returns all elements of the MetricAggregation enum

func MetricDimensionName_Values added in v1.44.127

func MetricDimensionName_Values() []string

MetricDimensionName_Values returns all elements of the MetricDimensionName enum

func MetricNamespace_Values added in v1.44.127

func MetricNamespace_Values() []string

MetricNamespace_Values returns all elements of the MetricNamespace enum

func Metric_Values added in v1.44.127

func Metric_Values() []string

Metric_Values returns all elements of the Metric enum

func QueryErrorCode_Values added in v1.44.127

func QueryErrorCode_Values() []string

QueryErrorCode_Values returns all elements of the QueryErrorCode enum

func RecommendationImpact_Values added in v1.44.127

func RecommendationImpact_Values() []string

RecommendationImpact_Values returns all elements of the RecommendationImpact enum

func RecommendationStatus_Values added in v1.44.127

func RecommendationStatus_Values() []string

RecommendationStatus_Values returns all elements of the RecommendationStatus enum

func RecommendationType_Values added in v1.44.127

func RecommendationType_Values() []string

RecommendationType_Values returns all elements of the RecommendationType enum

func ReviewStatus_Values added in v1.34.3

func ReviewStatus_Values() []string

ReviewStatus_Values returns all elements of the ReviewStatus enum

func ScalingMode_Values added in v1.44.118

func ScalingMode_Values() []string

ScalingMode_Values returns all elements of the ScalingMode enum

func SubscriptionStatus_Values added in v1.35.18

func SubscriptionStatus_Values() []string

SubscriptionStatus_Values returns all elements of the SubscriptionStatus enum

func SuppressionListImportAction_Values added in v1.34.7

func SuppressionListImportAction_Values() []string

SuppressionListImportAction_Values returns all elements of the SuppressionListImportAction 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 VerificationError_Values added in v1.45.26

func VerificationError_Values() []string

VerificationError_Values returns all elements of the VerificationError enum

func VerificationStatus_Values added in v1.44.118

func VerificationStatus_Values() []string

VerificationStatus_Values returns all elements of the VerificationStatus 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 is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountDetails's
	// String and GoString methods.
	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 is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountDetails's
	// String and GoString methods.
	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 is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountDetails's
	// String and GoString methods.
	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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetMetricDataInput added in v1.44.127

type BatchGetMetricDataInput struct {

	// A list of queries for metrics to be retrieved.
	//
	// Queries is a required field
	Queries []*BatchGetMetricDataQuery `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to retrieve a batch of metric data.

func (BatchGetMetricDataInput) GoString added in v1.44.127

func (s BatchGetMetricDataInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMetricDataInput) SetQueries added in v1.44.127

SetQueries sets the Queries field's value.

func (BatchGetMetricDataInput) String added in v1.44.127

func (s BatchGetMetricDataInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMetricDataInput) Validate added in v1.44.127

func (s *BatchGetMetricDataInput) Validate() error

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

type BatchGetMetricDataOutput added in v1.44.127

type BatchGetMetricDataOutput struct {

	// A list of MetricDataError encountered while processing your metric data batch
	// request.
	Errors []*MetricDataError `type:"list"`

	// A list of successfully retrieved MetricDataResult.
	Results []*MetricDataResult `type:"list"`
	// contains filtered or unexported fields
}

Represents the result of processing your metric data batch request

func (BatchGetMetricDataOutput) GoString added in v1.44.127

func (s BatchGetMetricDataOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMetricDataOutput) SetErrors added in v1.44.127

SetErrors sets the Errors field's value.

func (*BatchGetMetricDataOutput) SetResults added in v1.44.127

SetResults sets the Results field's value.

func (BatchGetMetricDataOutput) String added in v1.44.127

func (s BatchGetMetricDataOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetMetricDataQuery added in v1.44.127

type BatchGetMetricDataQuery struct {

	// An object that contains mapping between MetricDimensionName and MetricDimensionValue
	// to filter metrics by.
	Dimensions map[string]*string `min:"1" type:"map"`

	// Represents the end date for the query interval.
	//
	// EndDate is a required field
	EndDate *time.Time `type:"timestamp" required:"true"`

	// The query identifier.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// The queried metric. This can be one of the following:
	//
	//    * SEND – Emails sent eligible for tracking in the VDM dashboard. This
	//    excludes emails sent to the mailbox simulator and emails addressed to
	//    more than one recipient.
	//
	//    * COMPLAINT – Complaints received for your account. This excludes complaints
	//    from the mailbox simulator, those originating from your account-level
	//    suppression list (if enabled), and those for emails addressed to more
	//    than one recipient
	//
	//    * PERMANENT_BOUNCE – Permanent bounces - i.e. feedback received for
	//    emails sent to non-existent mailboxes. Excludes bounces from the mailbox
	//    simulator, those originating from your account-level suppression list
	//    (if enabled), and those for emails addressed to more than one recipient.
	//
	//    * TRANSIENT_BOUNCE – Transient bounces - i.e. feedback received for
	//    delivery failures excluding issues with non-existent mailboxes. Excludes
	//    bounces from the mailbox simulator, and those for emails addressed to
	//    more than one recipient.
	//
	//    * OPEN – Unique open events for emails including open trackers. Excludes
	//    opens for emails addressed to more than one recipient.
	//
	//    * CLICK – Unique click events for emails including wrapped links. Excludes
	//    clicks for emails addressed to more than one recipient.
	//
	//    * DELIVERY – Successful deliveries for email sending attempts. Excludes
	//    deliveries to the mailbox simulator and for emails addressed to more than
	//    one recipient.
	//
	//    * DELIVERY_OPEN – Successful deliveries for email sending attempts.
	//    Excludes deliveries to the mailbox simulator, for emails addressed to
	//    more than one recipient, and emails without open trackers.
	//
	//    * DELIVERY_CLICK – Successful deliveries for email sending attempts.
	//    Excludes deliveries to the mailbox simulator, for emails addressed to
	//    more than one recipient, and emails without click trackers.
	//
	//    * DELIVERY_COMPLAINT – Successful deliveries for email sending attempts.
	//    Excludes deliveries to the mailbox simulator, for emails addressed to
	//    more than one recipient, and emails addressed to recipients hosted by
	//    ISPs with which Amazon SES does not have a feedback loop agreement.
	//
	// Metric is a required field
	Metric *string `type:"string" required:"true" enum:"Metric"`

	// The query namespace - e.g. VDM
	//
	// Namespace is a required field
	Namespace *string `type:"string" required:"true" enum:"MetricNamespace"`

	// Represents the start date for the query interval.
	//
	// StartDate is a required field
	StartDate *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Represents a single metric data query to include in a batch.

func (BatchGetMetricDataQuery) GoString added in v1.44.127

func (s BatchGetMetricDataQuery) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMetricDataQuery) SetDimensions added in v1.44.127

SetDimensions sets the Dimensions field's value.

func (*BatchGetMetricDataQuery) SetEndDate added in v1.44.127

SetEndDate sets the EndDate field's value.

func (*BatchGetMetricDataQuery) SetId added in v1.44.127

SetId sets the Id field's value.

func (*BatchGetMetricDataQuery) SetMetric added in v1.44.127

SetMetric sets the Metric field's value.

func (*BatchGetMetricDataQuery) SetNamespace added in v1.44.127

SetNamespace sets the Namespace field's value.

func (*BatchGetMetricDataQuery) SetStartDate added in v1.44.127

SetStartDate sets the StartDate field's value.

func (BatchGetMetricDataQuery) String added in v1.44.127

func (s BatchGetMetricDataQuery) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMetricDataQuery) Validate added in v1.44.127

func (s *BatchGetMetricDataQuery) Validate() error

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

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Body) Validate

func (s *Body) Validate() error

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

type Bounce added in v1.44.334

type Bounce struct {

	// The subtype of the bounce, as determined by SES.
	BounceSubType *string `type:"string"`

	// The type of the bounce, as determined by SES. Can be one of UNDETERMINED,
	// TRANSIENT, or PERMANENT
	BounceType *string `type:"string" enum:"BounceType"`

	// The status code issued by the reporting Message Transfer Authority (MTA).
	// This field only appears if a delivery status notification (DSN) was attached
	// to the bounce and the Diagnostic-Code was provided in the DSN.
	DiagnosticCode *string `type:"string"`
	// contains filtered or unexported fields
}

Information about a Bounce event.

func (Bounce) GoString added in v1.44.334

func (s Bounce) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Bounce) SetBounceSubType added in v1.44.334

func (s *Bounce) SetBounceSubType(v string) *Bounce

SetBounceSubType sets the BounceSubType field's value.

func (*Bounce) SetBounceType added in v1.44.334

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

SetBounceType sets the BounceType field's value.

func (*Bounce) SetDiagnosticCode added in v1.44.334

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

SetDiagnosticCode sets the DiagnosticCode field's value.

func (Bounce) String added in v1.44.334

func (s Bounce) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The list of message headers associated with the BulkEmailEntry data type.
	//
	//    * Headers Not Present in BulkEmailEntry: If a header is specified in Template
	//    (https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_Template.html)
	//    but not in BulkEmailEntry, the header from Template will be added to the
	//    outgoing email.
	//
	//    * Headers Present in BulkEmailEntry: If a header is specified in BulkEmailEntry,
	//    it takes precedence over any header of the same name specified in Template
	//    (https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_Template.html):
	//    If the header is also defined within Template, the value from BulkEmailEntry
	//    will replace the header's value in the email. If the header is not defined
	//    within Template, it will simply be added to the email as specified in
	//    BulkEmailEntry.
	ReplacementHeaders []*MessageHeader `type:"list"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetReplacementHeaders added in v1.52.2

func (s *BulkEmailEntry) SetReplacementHeaders(v []*MessageHeader) *BulkEmailEntry

SetReplacementHeaders sets the ReplacementHeaders 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelExportJobInput added in v1.44.334

type CancelExportJobInput struct {

	// The export job ID.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to cancel an export job using the export job ID.

func (CancelExportJobInput) GoString added in v1.44.334

func (s CancelExportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelExportJobInput) SetJobId added in v1.44.334

SetJobId sets the JobId field's value.

func (CancelExportJobInput) String added in v1.44.334

func (s CancelExportJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelExportJobInput) Validate added in v1.44.334

func (s *CancelExportJobInput) Validate() error

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

type CancelExportJobOutput added in v1.44.334

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

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

func (CancelExportJobOutput) GoString added in v1.44.334

func (s CancelExportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CancelExportJobOutput) String added in v1.44.334

func (s CancelExportJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchDestination) SetDimensionConfigurations

SetDimensionConfigurations sets the DimensionConfigurations field's value.

func (CloudWatchDestination) String

func (s CloudWatchDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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:
	//
	//    * Can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores
	//    (_), or dashes (-), at signs (@), and periods (.).
	//
	//    * 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. 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. To use your own email headers, choose emailHeader.
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchDimensionConfiguration) Validate

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

type Complaint added in v1.44.334

type Complaint struct {

	// The value of the Feedback-Type field from the feedback report received from
	// the ISP.
	ComplaintFeedbackType *string `type:"string"`

	// Can either be null or OnAccountSuppressionList. If the value is OnAccountSuppressionList,
	// SES accepted the message, but didn't attempt to send it because it was on
	// the account-level suppression list.
	ComplaintSubType *string `type:"string"`
	// contains filtered or unexported fields
}

Information about a Complaint event.

func (Complaint) GoString added in v1.44.334

func (s Complaint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Complaint) SetComplaintFeedbackType added in v1.44.334

func (s *Complaint) SetComplaintFeedbackType(v string) *Complaint

SetComplaintFeedbackType sets the ComplaintFeedbackType field's value.

func (*Complaint) SetComplaintSubType added in v1.44.334

func (s *Complaint) SetComplaintSubType(v string) *Complaint

SetComplaintSubType sets the ComplaintSubType field's value.

func (Complaint) String added in v1.44.334

func (s Complaint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Contact added in v1.35.18

type Contact struct {

	// The contact's email address.
	EmailAddress *string `type:"string"`

	// A timestamp noting the last time the contact's information was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The default topic preferences applied to the contact.
	TopicDefaultPreferences []*TopicPreference `type:"list"`

	// The contact's preference for being opted-in to or opted-out of a topic.
	TopicPreferences []*TopicPreference `type:"list"`

	// A boolean value status noting if the contact is unsubscribed from all contact
	// list topics.
	UnsubscribeAll *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A contact is the end-user who is receiving the email.

func (Contact) GoString added in v1.35.18

func (s Contact) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Contact) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (*Contact) SetLastUpdatedTimestamp added in v1.35.18

func (s *Contact) SetLastUpdatedTimestamp(v time.Time) *Contact

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*Contact) SetTopicDefaultPreferences added in v1.35.18

func (s *Contact) SetTopicDefaultPreferences(v []*TopicPreference) *Contact

SetTopicDefaultPreferences sets the TopicDefaultPreferences field's value.

func (*Contact) SetTopicPreferences added in v1.35.18

func (s *Contact) SetTopicPreferences(v []*TopicPreference) *Contact

SetTopicPreferences sets the TopicPreferences field's value.

func (*Contact) SetUnsubscribeAll added in v1.35.18

func (s *Contact) SetUnsubscribeAll(v bool) *Contact

SetUnsubscribeAll sets the UnsubscribeAll field's value.

func (Contact) String added in v1.35.18

func (s Contact) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ContactList added in v1.35.18

type ContactList struct {

	// The name of the contact list.
	ContactListName *string `type:"string"`

	// A timestamp noting the last time the contact list was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

A list that contains contacts that have subscribed to a particular topic or topics.

func (ContactList) GoString added in v1.35.18

func (s ContactList) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContactList) SetContactListName added in v1.35.18

func (s *ContactList) SetContactListName(v string) *ContactList

SetContactListName sets the ContactListName field's value.

func (*ContactList) SetLastUpdatedTimestamp added in v1.35.18

func (s *ContactList) SetLastUpdatedTimestamp(v time.Time) *ContactList

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (ContactList) String added in v1.35.18

func (s ContactList) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ContactListDestination added in v1.35.18

type ContactListDestination struct {

	// >The type of action to perform on the addresses. The following are the possible
	// values:
	//
	//    * PUT: add the addresses to the contact list. If the record already exists,
	//    it will override it with the new value.
	//
	//    * DELETE: remove the addresses from the contact list.
	//
	// ContactListImportAction is a required field
	ContactListImportAction *string `type:"string" required:"true" enum:"ContactListImportAction"`

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that contains details about the action of a contact list.

func (ContactListDestination) GoString added in v1.35.18

func (s ContactListDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContactListDestination) SetContactListImportAction added in v1.35.18

func (s *ContactListDestination) SetContactListImportAction(v string) *ContactListDestination

SetContactListImportAction sets the ContactListImportAction field's value.

func (*ContactListDestination) SetContactListName added in v1.35.18

func (s *ContactListDestination) SetContactListName(v string) *ContactListDestination

SetContactListName sets the ContactListName field's value.

func (ContactListDestination) String added in v1.35.18

func (s ContactListDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ContactListDestination) Validate added in v1.35.18

func (s *ContactListDestination) Validate() error

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

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateConfigurationSetEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateConfigurationSetInput

type CreateConfigurationSetInput struct {

	// The name of the configuration set. The name can contain up to 64 alphanumeric
	// characters, including letters, numbers, hyphens (-) and underscores (_) only.
	//
	// 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) 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"`

	// An object that defines the VDM options for emails that you send using the
	// configuration set.
	VdmOptions *VdmOptions `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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetVdmOptions added in v1.44.127

SetVdmOptions sets the VdmOptions field's value.

func (CreateConfigurationSetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateConfigurationSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateContactInput added in v1.35.18

type CreateContactInput struct {

	// The attribute data attached to a contact.
	AttributesData *string `type:"string"`

	// The name of the contact list to which the contact should be added.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

	// The contact's email address.
	//
	// EmailAddress is a required field
	EmailAddress *string `type:"string" required:"true"`

	// The contact's preferences for being opted-in to or opted-out of topics.
	TopicPreferences []*TopicPreference `type:"list"`

	// A boolean value status noting if the contact is unsubscribed from all contact
	// list topics.
	UnsubscribeAll *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (CreateContactInput) GoString added in v1.35.18

func (s CreateContactInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateContactInput) SetAttributesData added in v1.35.18

func (s *CreateContactInput) SetAttributesData(v string) *CreateContactInput

SetAttributesData sets the AttributesData field's value.

func (*CreateContactInput) SetContactListName added in v1.35.18

func (s *CreateContactInput) SetContactListName(v string) *CreateContactInput

SetContactListName sets the ContactListName field's value.

func (*CreateContactInput) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (*CreateContactInput) SetTopicPreferences added in v1.35.18

func (s *CreateContactInput) SetTopicPreferences(v []*TopicPreference) *CreateContactInput

SetTopicPreferences sets the TopicPreferences field's value.

func (*CreateContactInput) SetUnsubscribeAll added in v1.35.18

func (s *CreateContactInput) SetUnsubscribeAll(v bool) *CreateContactInput

SetUnsubscribeAll sets the UnsubscribeAll field's value.

func (CreateContactInput) String added in v1.35.18

func (s CreateContactInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateContactInput) Validate added in v1.35.18

func (s *CreateContactInput) Validate() error

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

type CreateContactListInput added in v1.35.18

type CreateContactListInput struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `type:"string" required:"true"`

	// A description of what the contact list is about.
	Description *string `type:"string"`

	// The tags associated with a contact list.
	Tags []*Tag `type:"list"`

	// An interest group, theme, or label within a list. A contact list can have
	// multiple topics.
	Topics []*Topic `type:"list"`
	// contains filtered or unexported fields
}

func (CreateContactListInput) GoString added in v1.35.18

func (s CreateContactListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateContactListInput) SetContactListName added in v1.35.18

func (s *CreateContactListInput) SetContactListName(v string) *CreateContactListInput

SetContactListName sets the ContactListName field's value.

func (*CreateContactListInput) SetDescription added in v1.35.18

SetDescription sets the Description field's value.

func (*CreateContactListInput) SetTags added in v1.35.18

SetTags sets the Tags field's value.

func (*CreateContactListInput) SetTopics added in v1.35.18

SetTopics sets the Topics field's value.

func (CreateContactListInput) String added in v1.35.18

func (s CreateContactListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateContactListInput) Validate added in v1.35.18

func (s *CreateContactListInput) Validate() error

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

type CreateContactListOutput added in v1.35.18

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

func (CreateContactListOutput) GoString added in v1.35.18

func (s CreateContactListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateContactListOutput) String added in v1.35.18

func (s CreateContactListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateContactOutput added in v1.35.18

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

func (CreateContactOutput) GoString added in v1.35.18

func (s CreateContactOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateContactOutput) String added in v1.35.18

func (s CreateContactOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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/dg/creating-identities.html#send-email-verify-address-custom-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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateDedicatedIpPoolInput

type CreateDedicatedIpPoolInput struct {

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

	// The type of scaling mode.
	ScalingMode *string `type:"string" enum:"ScalingMode"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDedicatedIpPoolInput) SetPoolName

SetPoolName sets the PoolName field's value.

func (*CreateDedicatedIpPoolInput) SetScalingMode added in v1.44.118

SetScalingMode sets the ScalingMode field's value.

func (*CreateDedicatedIpPoolInput) SetTags

SetTags sets the Tags field's value.

func (CreateDedicatedIpPoolInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateDedicatedIpPoolOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateEmailIdentityInput

type CreateEmailIdentityInput struct {

	// The configuration set to use by default when sending from this identity.
	// Note that any configuration set defined in the email sending request takes
	// precedence.
	ConfigurationSetName *string `type:"string"`

	// If your request includes this object, Amazon SES configures the identity
	// to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or,
	// configures the key length to be used for 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 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) 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEmailIdentityInput) SetConfigurationSetName added in v1.36.33

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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. Note: the MANAGED_DOMAIN identity type is not supported.
	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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateEmailIdentityPolicyInput added in v1.33.16

type CreateEmailIdentityPolicyInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateEmailTemplateOutput) String added in v1.33.16

func (s CreateEmailTemplateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateExportJobInput added in v1.44.334

type CreateExportJobInput struct {

	// The data source for the export job.
	//
	// ExportDataSource is a required field
	ExportDataSource *ExportDataSource `type:"structure" required:"true"`

	// The destination for the export job.
	//
	// ExportDestination is a required field
	ExportDestination *ExportDestination `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to create an export job from a data source to a data destination.

func (CreateExportJobInput) GoString added in v1.44.334

func (s CreateExportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExportJobInput) SetExportDataSource added in v1.44.334

func (s *CreateExportJobInput) SetExportDataSource(v *ExportDataSource) *CreateExportJobInput

SetExportDataSource sets the ExportDataSource field's value.

func (*CreateExportJobInput) SetExportDestination added in v1.44.334

func (s *CreateExportJobInput) SetExportDestination(v *ExportDestination) *CreateExportJobInput

SetExportDestination sets the ExportDestination field's value.

func (CreateExportJobInput) String added in v1.44.334

func (s CreateExportJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExportJobInput) Validate added in v1.44.334

func (s *CreateExportJobInput) Validate() error

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

type CreateExportJobOutput added in v1.44.334

type CreateExportJobOutput struct {

	// A string that represents the export job ID.
	JobId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (CreateExportJobOutput) GoString added in v1.44.334

func (s CreateExportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateExportJobOutput) SetJobId added in v1.44.334

SetJobId sets the JobId field's value.

func (CreateExportJobOutput) String added in v1.44.334

func (s CreateExportJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateImportJobInput added in v1.34.7

type CreateImportJobInput struct {

	// The data source for the import job.
	//
	// ImportDataSource is a required field
	ImportDataSource *ImportDataSource `type:"structure" required:"true"`

	// The destination for the import job.
	//
	// ImportDestination is a required field
	ImportDestination *ImportDestination `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to create an import job from a data source for a data destination.

func (CreateImportJobInput) GoString added in v1.34.7

func (s CreateImportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImportJobInput) SetImportDataSource added in v1.34.7

func (s *CreateImportJobInput) SetImportDataSource(v *ImportDataSource) *CreateImportJobInput

SetImportDataSource sets the ImportDataSource field's value.

func (*CreateImportJobInput) SetImportDestination added in v1.34.7

func (s *CreateImportJobInput) SetImportDestination(v *ImportDestination) *CreateImportJobInput

SetImportDestination sets the ImportDestination field's value.

func (CreateImportJobInput) String added in v1.34.7

func (s CreateImportJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImportJobInput) Validate added in v1.34.7

func (s *CreateImportJobInput) Validate() error

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

type CreateImportJobOutput added in v1.34.7

type CreateImportJobOutput struct {

	// A string that represents the import job ID.
	JobId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (CreateImportJobOutput) GoString added in v1.34.7

func (s CreateImportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateImportJobOutput) SetJobId added in v1.34.7

SetJobId sets the JobId field's value.

func (CreateImportJobOutput) String added in v1.34.7

func (s CreateImportJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DashboardAttributes added in v1.44.127

type DashboardAttributes struct {

	// Specifies the status of your VDM engagement metrics collection. Can be one
	// of the following:
	//
	//    * ENABLED – Amazon SES enables engagement metrics for your account.
	//
	//    * DISABLED – Amazon SES disables engagement metrics for your account.
	EngagementMetrics *string `type:"string" enum:"FeatureStatus"`
	// contains filtered or unexported fields
}

An object containing additional settings for your VDM configuration as applicable to the Dashboard.

func (DashboardAttributes) GoString added in v1.44.127

func (s DashboardAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DashboardAttributes) SetEngagementMetrics added in v1.44.127

func (s *DashboardAttributes) SetEngagementMetrics(v string) *DashboardAttributes

SetEngagementMetrics sets the EngagementMetrics field's value.

func (DashboardAttributes) String added in v1.44.127

func (s DashboardAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DashboardOptions added in v1.44.127

type DashboardOptions struct {

	// Specifies the status of your VDM engagement metrics collection. Can be one
	// of the following:
	//
	//    * ENABLED – Amazon SES enables engagement metrics for the configuration
	//    set.
	//
	//    * DISABLED – Amazon SES disables engagement metrics for the configuration
	//    set.
	EngagementMetrics *string `type:"string" enum:"FeatureStatus"`
	// contains filtered or unexported fields
}

An object containing additional settings for your VDM configuration as applicable to the Dashboard.

func (DashboardOptions) GoString added in v1.44.127

func (s DashboardOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DashboardOptions) SetEngagementMetrics added in v1.44.127

func (s *DashboardOptions) SetEngagementMetrics(v string) *DashboardOptions

SetEngagementMetrics sets the EngagementMetrics field's value.

func (DashboardOptions) String added in v1.44.127

func (s DashboardOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DedicatedIpPool added in v1.44.118

type DedicatedIpPool struct {

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

	// The type of the dedicated IP pool.
	//
	//    * STANDARD – A dedicated IP pool where you can control which IPs are
	//    part of the pool.
	//
	//    * MANAGED – A dedicated IP pool where the reputation and number of IPs
	//    are automatically managed by Amazon SES.
	//
	// ScalingMode is a required field
	ScalingMode *string `type:"string" required:"true" enum:"ScalingMode"`
	// contains filtered or unexported fields
}

Contains information about a dedicated IP pool.

func (DedicatedIpPool) GoString added in v1.44.118

func (s DedicatedIpPool) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DedicatedIpPool) SetPoolName added in v1.44.118

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

SetPoolName sets the PoolName field's value.

func (*DedicatedIpPool) SetScalingMode added in v1.44.118

func (s *DedicatedIpPool) SetScalingMode(v string) *DedicatedIpPool

SetScalingMode sets the ScalingMode field's value.

func (DedicatedIpPool) String added in v1.44.118

func (s DedicatedIpPool) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteConfigurationSetEventDestinationInput

type DeleteConfigurationSetEventDestinationInput struct {

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

	// The name of the event destination 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteConfigurationSetEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteConfigurationSetInput

type DeleteConfigurationSetInput struct {

	// The name of the configuration set.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteConfigurationSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteContactInput added in v1.35.18

type DeleteContactInput struct {

	// The name of the contact list from which the contact should be removed.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

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

func (DeleteContactInput) GoString added in v1.35.18

func (s DeleteContactInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteContactInput) SetContactListName added in v1.35.18

func (s *DeleteContactInput) SetContactListName(v string) *DeleteContactInput

SetContactListName sets the ContactListName field's value.

func (*DeleteContactInput) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (DeleteContactInput) String added in v1.35.18

func (s DeleteContactInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteContactInput) Validate added in v1.35.18

func (s *DeleteContactInput) Validate() error

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

type DeleteContactListInput added in v1.35.18

type DeleteContactListInput struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteContactListInput) GoString added in v1.35.18

func (s DeleteContactListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteContactListInput) SetContactListName added in v1.35.18

func (s *DeleteContactListInput) SetContactListName(v string) *DeleteContactListInput

SetContactListName sets the ContactListName field's value.

func (DeleteContactListInput) String added in v1.35.18

func (s DeleteContactListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteContactListInput) Validate added in v1.35.18

func (s *DeleteContactListInput) Validate() error

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

type DeleteContactListOutput added in v1.35.18

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

func (DeleteContactListOutput) GoString added in v1.35.18

func (s DeleteContactListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteContactListOutput) String added in v1.35.18

func (s DeleteContactListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteContactOutput added in v1.35.18

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

func (DeleteContactOutput) GoString added in v1.35.18

func (s DeleteContactOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteContactOutput) String added in v1.35.18

func (s DeleteContactOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDedicatedIpPoolInput) SetPoolName

SetPoolName sets the PoolName field's value.

func (DeleteDedicatedIpPoolInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDedicatedIpPoolOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEmailIdentityInput

type DeleteEmailIdentityInput struct {

	// The identity (that is, the email address or domain) 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEmailIdentityInput) SetEmailIdentity

SetEmailIdentity sets the EmailIdentity field's value.

func (DeleteEmailIdentityInput) String

func (s DeleteEmailIdentityInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteEmailIdentityOutput) String

func (s DeleteEmailIdentityOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEmailIdentityPolicyInput added in v1.33.16

type DeleteEmailIdentityPolicyInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteEmailTemplateOutput) String added in v1.33.16

func (s DeleteEmailTemplateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSuppressedDestinationOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeliverabilityTestReport

type DeliverabilityTestReport struct {

	// The date and time when the predictive inbox placement test was created.
	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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeliveryOptions

type DeliveryOptions struct {

	// The name of the dedicated IP pool 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

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

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DkimAttributes

type DkimAttributes struct {

	// [Easy DKIM] The key length of the DKIM key pair in use.
	CurrentSigningKeyLength *string `type:"string" enum:"DkimSigningKeyLength"`

	// [Easy DKIM] The last time a key pair was generated for this identity.
	LastKeyGenerationTimestamp *time.Time `type:"timestamp"`

	// [Easy DKIM] The key length of the future DKIM key pair to be generated. This
	// can be changed at most once per day.
	NextSigningKeyLength *string `type:"string" enum:"DkimSigningKeyLength"`

	// A string that indicates how DKIM was configured for the identity. These are
	// the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DkimAttributes) SetCurrentSigningKeyLength added in v1.40.52

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

SetCurrentSigningKeyLength sets the CurrentSigningKeyLength field's value.

func (*DkimAttributes) SetLastKeyGenerationTimestamp added in v1.40.52

func (s *DkimAttributes) SetLastKeyGenerationTimestamp(v time.Time) *DkimAttributes

SetLastKeyGenerationTimestamp sets the LastKeyGenerationTimestamp field's value.

func (*DkimAttributes) SetNextSigningKeyLength added in v1.40.52

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

SetNextSigningKeyLength sets the NextSigningKeyLength field's value.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DkimSigningAttributes added in v1.26.2

type DkimSigningAttributes struct {

	// [Bring Your Own DKIM] A private key that's used to generate a DKIM signature.
	//
	// The private key must use 1024 or 2048-bit RSA encryption, and must be encoded
	// using base64 encoding.
	//
	// DomainSigningPrivateKey is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DkimSigningAttributes's
	// String and GoString methods.
	DomainSigningPrivateKey *string `min:"1" type:"string" sensitive:"true"`

	// [Bring Your Own DKIM] A string that's used to identify a public key in the
	// DNS configuration for a domain.
	DomainSigningSelector *string `min:"1" type:"string"`

	// [Easy DKIM] The key length of the future DKIM key pair to be generated. This
	// can be changed at most once per day.
	NextSigningKeyLength *string `type:"string" enum:"DkimSigningKeyLength"`
	// contains filtered or unexported fields
}

An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy DKIM

func (DkimSigningAttributes) GoString added in v1.26.2

func (s DkimSigningAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetNextSigningKeyLength added in v1.40.52

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

SetNextSigningKeyLength sets the NextSigningKeyLength field's value.

func (DkimSigningAttributes) String added in v1.26.2

func (s DkimSigningAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainDeliverabilityTrackingOption

type DomainDeliverabilityTrackingOption struct {

	// A verified domain that’s associated with your Amazon Web Services 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 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 raw data of the message needs to base64-encoded if you are accessing
	//    Amazon SES directly through the HTTPS interface. If you are accessing
	//    Amazon SES using an Amazon Web Services SDK, the SDK takes care of the
	//    base 64-encoding for you.
	//
	//    * 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EmailContent) Validate

func (s *EmailContent) Validate() error

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

type EmailInsights added in v1.44.334

type EmailInsights struct {

	// The recipient of the email.
	//
	// Destination is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by EmailInsights's
	// String and GoString methods.
	Destination *string `min:"1" type:"string" sensitive:"true"`

	// A list of events associated with the sent email.
	Events []*InsightsEvent `type:"list"`

	// The recipient's ISP (e.g., Gmail, Yahoo, etc.).
	Isp *string `type:"string"`
	// contains filtered or unexported fields
}

An email's insights contain metadata and delivery information about a specific email.

func (EmailInsights) GoString added in v1.44.334

func (s EmailInsights) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EmailInsights) SetDestination added in v1.44.334

func (s *EmailInsights) SetDestination(v string) *EmailInsights

SetDestination sets the Destination field's value.

func (*EmailInsights) SetEvents added in v1.44.334

func (s *EmailInsights) SetEvents(v []*InsightsEvent) *EmailInsights

SetEvents sets the Events field's value.

func (*EmailInsights) SetIsp added in v1.44.334

func (s *EmailInsights) SetIsp(v string) *EmailInsights

SetIsp sets the Isp field's value.

func (EmailInsights) String added in v1.44.334

func (s EmailInsights) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EventBridgeDestination added in v1.54.0

type EventBridgeDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email
	// events to. Only the default bus is supported.
	//
	// EventBusArn is a required field
	EventBusArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.

func (EventBridgeDestination) GoString added in v1.54.0

func (s EventBridgeDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventBridgeDestination) SetEventBusArn added in v1.54.0

SetEventBusArn sets the EventBusArn field's value.

func (EventBridgeDestination) String added in v1.54.0

func (s EventBridgeDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventBridgeDestination) Validate added in v1.54.0

func (s *EventBridgeDestination) Validate() error

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

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 EventBridge destination for email events.
	// You can use Amazon EventBridge to send notifications when certain email events
	// occur.
	EventBridgeDestination *EventBridgeDestination `type:"structure"`

	// 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.
	//
	//    * SEND - The send request was successful and SES will attempt to deliver
	//    the message to the recipient’s mail server. (If account-level or global
	//    suppression is being used, SES will still count it as a send, but delivery
	//    is suppressed.)
	//
	//    * REJECT - SES accepted the email, but determined that it contained a
	//    virus and didn’t attempt to deliver it to the recipient’s mail server.
	//
	//    * BOUNCE - (Hard bounce) The recipient's mail server permanently rejected
	//    the email. (Soft bounces are only included when SES fails to deliver the
	//    email after retrying for a period of time.)
	//
	//    * COMPLAINT - The email was successfully delivered to the recipient’s
	//    mail server, but the recipient marked it as spam.
	//
	//    * DELIVERY - SES successfully delivered the email to the recipient's mail
	//    server.
	//
	//    * OPEN - The recipient received the message and opened it in their email
	//    client.
	//
	//    * CLICK - The recipient clicked one or more links in the email.
	//
	//    * RENDERING_FAILURE - The email wasn't sent because of a template rendering
	//    issue. This event type can occur when template data is missing, or when
	//    there is a mismatch between template parameters and data. (This event
	//    type only occurs when you send email using the SendTemplatedEmail (https://docs.aws.amazon.com/ses/latest/APIReference/API_SendTemplatedEmail.html)
	//    or SendBulkTemplatedEmail (https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBulkTemplatedEmail.html)
	//    API operations.)
	//
	//    * DELIVERY_DELAY - The email couldn't be delivered to the recipient’s
	//    mail server because a temporary issue occurred. Delivery delays can occur,
	//    for example, when the recipient's inbox is full, or when the receiving
	//    email server experiences a transient issue.
	//
	//    * SUBSCRIPTION - The email was successfully delivered, but the recipient
	//    updated their subscription preferences by clicking on an unsubscribe link
	//    as part of your subscription management (https://docs.aws.amazon.com/ses/latest/dg/sending-email-subscription-management.html).
	//
	// MatchingEventTypes is a required field
	MatchingEventTypes []*string `type:"list" required:"true" enum:"EventType"`

	// 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 notifications 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetEventBridgeDestination added in v1.54.0

func (s *EventDestination) SetEventBridgeDestination(v *EventBridgeDestination) *EventDestination

SetEventBridgeDestination sets the EventBridgeDestination 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 EventBridge destination for email events.
	// You can use Amazon EventBridge to send notifications when certain email events
	// occur.
	EventBridgeDestination *EventBridgeDestination `type:"structure"`

	// 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" enum:"EventType"`

	// 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 notifications 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventDestinationDefinition) SetCloudWatchDestination

SetCloudWatchDestination sets the CloudWatchDestination field's value.

func (*EventDestinationDefinition) SetEnabled

SetEnabled sets the Enabled field's value.

func (*EventDestinationDefinition) SetEventBridgeDestination added in v1.54.0

SetEventBridgeDestination sets the EventBridgeDestination 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventDestinationDefinition) Validate

func (s *EventDestinationDefinition) Validate() error

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

type EventDetails added in v1.44.334

type EventDetails struct {

	// Information about a Bounce event.
	Bounce *Bounce `type:"structure"`

	// Information about a Complaint event.
	Complaint *Complaint `type:"structure"`
	// contains filtered or unexported fields
}

Contains a Bounce object if the event type is BOUNCE. Contains a Complaint object if the event type is COMPLAINT.

func (EventDetails) GoString added in v1.44.334

func (s EventDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventDetails) SetBounce added in v1.44.334

func (s *EventDetails) SetBounce(v *Bounce) *EventDetails

SetBounce sets the Bounce field's value.

func (*EventDetails) SetComplaint added in v1.44.334

func (s *EventDetails) SetComplaint(v *Complaint) *EventDetails

SetComplaint sets the Complaint field's value.

func (EventDetails) String added in v1.44.334

func (s EventDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExportDataSource added in v1.44.334

type ExportDataSource struct {

	// An object that contains filters applied when performing the Message Insights
	// export.
	MessageInsightsDataSource *MessageInsightsDataSource `type:"structure"`

	// An object that contains details about the data source for the metrics export.
	MetricsDataSource *MetricsDataSource `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains details about the data source of the export job. It can only contain one of MetricsDataSource or MessageInsightsDataSource object.

func (ExportDataSource) GoString added in v1.44.334

func (s ExportDataSource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportDataSource) SetMessageInsightsDataSource added in v1.44.334

func (s *ExportDataSource) SetMessageInsightsDataSource(v *MessageInsightsDataSource) *ExportDataSource

SetMessageInsightsDataSource sets the MessageInsightsDataSource field's value.

func (*ExportDataSource) SetMetricsDataSource added in v1.44.334

func (s *ExportDataSource) SetMetricsDataSource(v *MetricsDataSource) *ExportDataSource

SetMetricsDataSource sets the MetricsDataSource field's value.

func (ExportDataSource) String added in v1.44.334

func (s ExportDataSource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportDataSource) Validate added in v1.44.334

func (s *ExportDataSource) Validate() error

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

type ExportDestination added in v1.44.334

type ExportDestination struct {

	// The data format of the final export job file, can be one of the following:
	//
	//    * CSV - A comma-separated values file.
	//
	//    * JSON - A Json file.
	//
	// DataFormat is a required field
	DataFormat *string `type:"string" required:"true" enum:"DataFormat"`

	// An Amazon S3 pre-signed URL that points to the generated export file.
	S3Url *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains details about the destination of the export job.

func (ExportDestination) GoString added in v1.44.334

func (s ExportDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportDestination) SetDataFormat added in v1.44.334

func (s *ExportDestination) SetDataFormat(v string) *ExportDestination

SetDataFormat sets the DataFormat field's value.

func (*ExportDestination) SetS3Url added in v1.44.334

func (s *ExportDestination) SetS3Url(v string) *ExportDestination

SetS3Url sets the S3Url field's value.

func (ExportDestination) String added in v1.44.334

func (s ExportDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportDestination) Validate added in v1.44.334

func (s *ExportDestination) Validate() error

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

type ExportJobSummary added in v1.44.334

type ExportJobSummary struct {

	// The timestamp of when the export job was completed.
	CompletedTimestamp *time.Time `type:"timestamp"`

	// The timestamp of when the export job was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The source type of the export job.
	ExportSourceType *string `type:"string" enum:"ExportSourceType"`

	// The export job ID.
	JobId *string `min:"1" type:"string"`

	// The status of the export job.
	JobStatus *string `type:"string" enum:"JobStatus"`
	// contains filtered or unexported fields
}

A summary of the export job.

func (ExportJobSummary) GoString added in v1.44.334

func (s ExportJobSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportJobSummary) SetCompletedTimestamp added in v1.44.334

func (s *ExportJobSummary) SetCompletedTimestamp(v time.Time) *ExportJobSummary

SetCompletedTimestamp sets the CompletedTimestamp field's value.

func (*ExportJobSummary) SetCreatedTimestamp added in v1.44.334

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ExportJobSummary) SetExportSourceType added in v1.44.334

func (s *ExportJobSummary) SetExportSourceType(v string) *ExportJobSummary

SetExportSourceType sets the ExportSourceType field's value.

func (*ExportJobSummary) SetJobId added in v1.44.334

func (s *ExportJobSummary) SetJobId(v string) *ExportJobSummary

SetJobId sets the JobId field's value.

func (*ExportJobSummary) SetJobStatus added in v1.44.334

func (s *ExportJobSummary) SetJobStatus(v string) *ExportJobSummary

SetJobStatus sets the JobStatus field's value.

func (ExportJobSummary) String added in v1.44.334

func (s ExportJobSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExportMetric added in v1.44.334

type ExportMetric struct {

	// The aggregation to apply to a metric, can be one of the following:
	//
	//    * VOLUME - The volume of events for this metric.
	//
	//    * RATE - The rate for this metric relative to the SEND metric volume.
	Aggregation *string `type:"string" enum:"MetricAggregation"`

	// The metric to export, can be one of the following:
	//
	//    * SEND - Emails sent eligible for tracking in the VDM dashboard. This
	//    excludes emails sent to the mailbox simulator and emails addressed to
	//    more than one recipient.
	//
	//    * COMPLAINT - Complaints received for your account. This excludes complaints
	//    from the mailbox simulator, those originating from your account-level
	//    suppression list (if enabled), and those for emails addressed to more
	//    than one recipient
	//
	//    * PERMANENT_BOUNCE - Permanent bounces - i.e., feedback received for emails
	//    sent to non-existent mailboxes. Excludes bounces from the mailbox simulator,
	//    those originating from your account-level suppression list (if enabled),
	//    and those for emails addressed to more than one recipient.
	//
	//    * TRANSIENT_BOUNCE - Transient bounces - i.e., feedback received for delivery
	//    failures excluding issues with non-existent mailboxes. Excludes bounces
	//    from the mailbox simulator, and those for emails addressed to more than
	//    one recipient.
	//
	//    * OPEN - Unique open events for emails including open trackers. Excludes
	//    opens for emails addressed to more than one recipient.
	//
	//    * CLICK - Unique click events for emails including wrapped links. Excludes
	//    clicks for emails addressed to more than one recipient.
	//
	//    * DELIVERY - Successful deliveries for email sending attempts. Excludes
	//    deliveries to the mailbox simulator and for emails addressed to more than
	//    one recipient.
	//
	//    * DELIVERY_OPEN - Successful deliveries for email sending attempts. Excludes
	//    deliveries to the mailbox simulator, for emails addressed to more than
	//    one recipient, and emails without open trackers.
	//
	//    * DELIVERY_CLICK - Successful deliveries for email sending attempts. Excludes
	//    deliveries to the mailbox simulator, for emails addressed to more than
	//    one recipient, and emails without click trackers.
	//
	//    * DELIVERY_COMPLAINT - Successful deliveries for email sending attempts.
	//    Excludes deliveries to the mailbox simulator, for emails addressed to
	//    more than one recipient, and emails addressed to recipients hosted by
	//    ISPs with which Amazon SES does not have a feedback loop agreement.
	Name *string `type:"string" enum:"Metric"`
	// contains filtered or unexported fields
}

An object that contains a mapping between a Metric and MetricAggregation.

func (ExportMetric) GoString added in v1.44.334

func (s ExportMetric) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportMetric) SetAggregation added in v1.44.334

func (s *ExportMetric) SetAggregation(v string) *ExportMetric

SetAggregation sets the Aggregation field's value.

func (*ExportMetric) SetName added in v1.44.334

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

SetName sets the Name field's value.

func (ExportMetric) String added in v1.44.334

func (s ExportMetric) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExportStatistics added in v1.44.334

type ExportStatistics struct {

	// The number of records that were exported to the final export file.
	//
	// This value might not be available for all export source types
	ExportedRecordsCount *int64 `type:"integer"`

	// The number of records that were processed to generate the final export file.
	ProcessedRecordsCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Statistics about the execution of an export job.

func (ExportStatistics) GoString added in v1.44.334

func (s ExportStatistics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportStatistics) SetExportedRecordsCount added in v1.44.334

func (s *ExportStatistics) SetExportedRecordsCount(v int64) *ExportStatistics

SetExportedRecordsCount sets the ExportedRecordsCount field's value.

func (*ExportStatistics) SetProcessedRecordsCount added in v1.44.334

func (s *ExportStatistics) SetProcessedRecordsCount(v int64) *ExportStatistics

SetProcessedRecordsCount sets the ProcessedRecordsCount field's value.

func (ExportStatistics) String added in v1.44.334

func (s ExportStatistics) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FailureInfo added in v1.34.7

type FailureInfo struct {

	// A message about why the job failed.
	ErrorMessage *string `type:"string"`

	// An Amazon S3 pre-signed URL that contains all the failed records and related
	// information.
	FailedRecordsS3Url *string `type:"string"`
	// contains filtered or unexported fields
}

An object that contains the failure details about a job.

func (FailureInfo) GoString added in v1.34.7

func (s FailureInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FailureInfo) SetErrorMessage added in v1.34.7

func (s *FailureInfo) SetErrorMessage(v string) *FailureInfo

SetErrorMessage sets the ErrorMessage field's value.

func (*FailureInfo) SetFailedRecordsS3Url added in v1.34.7

func (s *FailureInfo) SetFailedRecordsS3Url(v string) *FailureInfo

SetFailedRecordsS3Url sets the FailedRecordsS3Url field's value.

func (FailureInfo) String added in v1.34.7

func (s FailureInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetAccountInput) String

func (s GetAccountInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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
	// Amazon Web Services 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.
	//
	// 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 Amazon Web Services Region.
	SendQuota *SendQuota `type:"structure"`

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

	// An object that contains information about the email address suppression preferences
	// for your account in the current Amazon Web Services Region.
	SuppressionAttributes *SuppressionAttributes `type:"structure"`

	// The VDM attributes that apply to your Amazon SES account.
	VdmAttributes *VdmAttributes `type:"structure"`
	// contains filtered or unexported fields
}

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

func (GetAccountOutput) GoString

func (s GetAccountOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetVdmAttributes added in v1.44.127

func (s *GetAccountOutput) SetVdmAttributes(v *VdmAttributes) *GetAccountOutput

SetVdmAttributes sets the VdmAttributes field's value.

func (GetAccountOutput) String

func (s GetAccountOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBlacklistReportsOutput) SetBlacklistReport

SetBlacklistReport sets the BlacklistReport field's value.

func (GetBlacklistReportsOutput) String

func (s GetBlacklistReportsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetConfigurationSetEventDestinationsInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (GetConfigurationSetEventDestinationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetConfigurationSetEventDestinationsOutput) SetEventDestinations

SetEventDestinations sets the EventDestinations field's value.

func (GetConfigurationSetEventDestinationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetConfigurationSetInput

type GetConfigurationSetInput struct {

	// The name of the configuration set.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// An object that contains information about the VDM preferences for your configuration
	// set.
	VdmOptions *VdmOptions `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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetVdmOptions added in v1.44.127

SetVdmOptions sets the VdmOptions field's value.

func (GetConfigurationSetOutput) String

func (s GetConfigurationSetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetContactInput added in v1.35.18

type GetContactInput struct {

	// The name of the contact list to which the contact belongs.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

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

func (GetContactInput) GoString added in v1.35.18

func (s GetContactInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactInput) SetContactListName added in v1.35.18

func (s *GetContactInput) SetContactListName(v string) *GetContactInput

SetContactListName sets the ContactListName field's value.

func (*GetContactInput) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (GetContactInput) String added in v1.35.18

func (s GetContactInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactInput) Validate added in v1.35.18

func (s *GetContactInput) Validate() error

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

type GetContactListInput added in v1.35.18

type GetContactListInput struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetContactListInput) GoString added in v1.35.18

func (s GetContactListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactListInput) SetContactListName added in v1.35.18

func (s *GetContactListInput) SetContactListName(v string) *GetContactListInput

SetContactListName sets the ContactListName field's value.

func (GetContactListInput) String added in v1.35.18

func (s GetContactListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactListInput) Validate added in v1.35.18

func (s *GetContactListInput) Validate() error

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

type GetContactListOutput added in v1.35.18

type GetContactListOutput struct {

	// The name of the contact list.
	ContactListName *string `type:"string"`

	// A timestamp noting when the contact list was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// A description of what the contact list is about.
	Description *string `type:"string"`

	// A timestamp noting the last time the contact list was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The tags associated with a contact list.
	Tags []*Tag `type:"list"`

	// An interest group, theme, or label within a list. A contact list can have
	// multiple topics.
	Topics []*Topic `type:"list"`
	// contains filtered or unexported fields
}

func (GetContactListOutput) GoString added in v1.35.18

func (s GetContactListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactListOutput) SetContactListName added in v1.35.18

func (s *GetContactListOutput) SetContactListName(v string) *GetContactListOutput

SetContactListName sets the ContactListName field's value.

func (*GetContactListOutput) SetCreatedTimestamp added in v1.35.18

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*GetContactListOutput) SetDescription added in v1.35.18

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

SetDescription sets the Description field's value.

func (*GetContactListOutput) SetLastUpdatedTimestamp added in v1.35.18

func (s *GetContactListOutput) SetLastUpdatedTimestamp(v time.Time) *GetContactListOutput

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*GetContactListOutput) SetTags added in v1.35.18

func (s *GetContactListOutput) SetTags(v []*Tag) *GetContactListOutput

SetTags sets the Tags field's value.

func (*GetContactListOutput) SetTopics added in v1.35.18

func (s *GetContactListOutput) SetTopics(v []*Topic) *GetContactListOutput

SetTopics sets the Topics field's value.

func (GetContactListOutput) String added in v1.35.18

func (s GetContactListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetContactOutput added in v1.35.18

type GetContactOutput struct {

	// The attribute data attached to a contact.
	AttributesData *string `type:"string"`

	// The name of the contact list to which the contact belongs.
	ContactListName *string `type:"string"`

	// A timestamp noting when the contact was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The contact's email address.
	EmailAddress *string `type:"string"`

	// A timestamp noting the last time the contact's information was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The default topic preferences applied to the contact.
	TopicDefaultPreferences []*TopicPreference `type:"list"`

	// The contact's preference for being opted-in to or opted-out of a topic.>
	TopicPreferences []*TopicPreference `type:"list"`

	// A boolean value status noting if the contact is unsubscribed from all contact
	// list topics.
	UnsubscribeAll *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (GetContactOutput) GoString added in v1.35.18

func (s GetContactOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetContactOutput) SetAttributesData added in v1.35.18

func (s *GetContactOutput) SetAttributesData(v string) *GetContactOutput

SetAttributesData sets the AttributesData field's value.

func (*GetContactOutput) SetContactListName added in v1.35.18

func (s *GetContactOutput) SetContactListName(v string) *GetContactOutput

SetContactListName sets the ContactListName field's value.

func (*GetContactOutput) SetCreatedTimestamp added in v1.35.18

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*GetContactOutput) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (*GetContactOutput) SetLastUpdatedTimestamp added in v1.35.18

func (s *GetContactOutput) SetLastUpdatedTimestamp(v time.Time) *GetContactOutput

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*GetContactOutput) SetTopicDefaultPreferences added in v1.35.18

func (s *GetContactOutput) SetTopicDefaultPreferences(v []*TopicPreference) *GetContactOutput

SetTopicDefaultPreferences sets the TopicDefaultPreferences field's value.

func (*GetContactOutput) SetTopicPreferences added in v1.35.18

func (s *GetContactOutput) SetTopicPreferences(v []*TopicPreference) *GetContactOutput

SetTopicPreferences sets the TopicPreferences field's value.

func (*GetContactOutput) SetUnsubscribeAll added in v1.35.18

func (s *GetContactOutput) SetUnsubscribeAll(v bool) *GetContactOutput

SetUnsubscribeAll sets the UnsubscribeAll field's value.

func (GetContactOutput) String added in v1.35.18

func (s GetContactOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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
	// Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDedicatedIpInput) SetIp

SetIp sets the Ip field's value.

func (GetDedicatedIpInput) String

func (s GetDedicatedIpInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDedicatedIpPoolInput added in v1.44.118

type GetDedicatedIpPoolInput struct {

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

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

func (GetDedicatedIpPoolInput) GoString added in v1.44.118

func (s GetDedicatedIpPoolInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDedicatedIpPoolInput) SetPoolName added in v1.44.118

SetPoolName sets the PoolName field's value.

func (GetDedicatedIpPoolInput) String added in v1.44.118

func (s GetDedicatedIpPoolInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDedicatedIpPoolInput) Validate added in v1.44.118

func (s *GetDedicatedIpPoolInput) Validate() error

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

type GetDedicatedIpPoolOutput added in v1.44.118

type GetDedicatedIpPoolOutput struct {

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

The following element is returned by the service.

func (GetDedicatedIpPoolOutput) GoString added in v1.44.118

func (s GetDedicatedIpPoolOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDedicatedIpPoolOutput) SetDedicatedIpPool added in v1.44.118

SetDedicatedIpPool sets the DedicatedIpPool field's value.

func (GetDedicatedIpPoolOutput) String added in v1.44.118

func (s GetDedicatedIpPoolOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDedicatedIpsOutput

type GetDedicatedIpsOutput struct {

	// A list of dedicated IP addresses that are associated with your Amazon Web
	// Services 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 Amazon Web Services account.

func (GetDedicatedIpsOutput) GoString

func (s GetDedicatedIpsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDeliverabilityDashboardOptionsInput

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

Retrieve information about the status of the Deliverability dashboard for your Amazon Web Services 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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetDeliverabilityDashboardOptionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDeliverabilityTestReportInput) SetReportId

SetReportId sets the ReportId field's value.

func (GetDeliverabilityTestReportInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDomainDeliverabilityCampaignInput) SetCampaignId

SetCampaignId sets the CampaignId field's value.

func (GetDomainDeliverabilityCampaignInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDomainDeliverabilityCampaignOutput) SetDomainDeliverabilityCampaign

SetDomainDeliverabilityCampaign sets the DomainDeliverabilityCampaign field's value.

func (GetDomainDeliverabilityCampaignOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEmailIdentityInput

type GetEmailIdentityInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The configuration set used by default when sending from this identity.
	ConfigurationSetName *string `type:"string"`

	// 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. Note: the MANAGED_DOMAIN identity type is not supported.
	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"`

	// An object that contains additional information about the verification status
	// for the identity.
	VerificationInfo *VerificationInfo `type:"structure"`

	// The verification status of the identity. The status can be one of the following:
	//
	//    * PENDING – The verification process was initiated, but Amazon SES hasn't
	//    yet been able to verify the identity.
	//
	//    * SUCCESS – The verification process completed successfully.
	//
	//    * FAILED – The verification process failed.
	//
	//    * TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from
	//    determining the verification status of the identity.
	//
	//    * NOT_STARTED – The verification process hasn't been initiated for the
	//    identity.
	VerificationStatus *string `type:"string" enum:"VerificationStatus"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetEmailIdentityOutput) SetConfigurationSetName added in v1.36.33

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

SetConfigurationSetName sets the ConfigurationSetName field's value.

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) SetVerificationInfo added in v1.45.26

SetVerificationInfo sets the VerificationInfo field's value.

func (*GetEmailIdentityOutput) SetVerificationStatus added in v1.44.118

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

SetVerificationStatus sets the VerificationStatus 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEmailIdentityPoliciesInput added in v1.33.16

type GetEmailIdentityPoliciesInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetEmailTemplateInput added in v1.33.16

type GetEmailTemplateInput struct {

	// The name of the template.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetExportJobInput added in v1.44.334

type GetExportJobInput struct {

	// The export job ID.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request to retrieve information about an export job using the export job ID.

func (GetExportJobInput) GoString added in v1.44.334

func (s GetExportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportJobInput) SetJobId added in v1.44.334

func (s *GetExportJobInput) SetJobId(v string) *GetExportJobInput

SetJobId sets the JobId field's value.

func (GetExportJobInput) String added in v1.44.334

func (s GetExportJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportJobInput) Validate added in v1.44.334

func (s *GetExportJobInput) Validate() error

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

type GetExportJobOutput added in v1.44.334

type GetExportJobOutput struct {

	// The timestamp of when the export job was completed.
	CompletedTimestamp *time.Time `type:"timestamp"`

	// The timestamp of when the export job was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The data source of the export job.
	ExportDataSource *ExportDataSource `type:"structure"`

	// The destination of the export job.
	ExportDestination *ExportDestination `type:"structure"`

	// The type of source of the export job.
	ExportSourceType *string `type:"string" enum:"ExportSourceType"`

	// The failure details about an export job.
	FailureInfo *FailureInfo `type:"structure"`

	// The export job ID.
	JobId *string `min:"1" type:"string"`

	// The status of the export job.
	JobStatus *string `type:"string" enum:"JobStatus"`

	// The statistics about the export job.
	Statistics *ExportStatistics `type:"structure"`
	// contains filtered or unexported fields
}

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

func (GetExportJobOutput) GoString added in v1.44.334

func (s GetExportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetExportJobOutput) SetCompletedTimestamp added in v1.44.334

func (s *GetExportJobOutput) SetCompletedTimestamp(v time.Time) *GetExportJobOutput

SetCompletedTimestamp sets the CompletedTimestamp field's value.

func (*GetExportJobOutput) SetCreatedTimestamp added in v1.44.334

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*GetExportJobOutput) SetExportDataSource added in v1.44.334

func (s *GetExportJobOutput) SetExportDataSource(v *ExportDataSource) *GetExportJobOutput

SetExportDataSource sets the ExportDataSource field's value.

func (*GetExportJobOutput) SetExportDestination added in v1.44.334

func (s *GetExportJobOutput) SetExportDestination(v *ExportDestination) *GetExportJobOutput

SetExportDestination sets the ExportDestination field's value.

func (*GetExportJobOutput) SetExportSourceType added in v1.44.334

func (s *GetExportJobOutput) SetExportSourceType(v string) *GetExportJobOutput

SetExportSourceType sets the ExportSourceType field's value.

func (*GetExportJobOutput) SetFailureInfo added in v1.44.334

func (s *GetExportJobOutput) SetFailureInfo(v *FailureInfo) *GetExportJobOutput

SetFailureInfo sets the FailureInfo field's value.

func (*GetExportJobOutput) SetJobId added in v1.44.334

SetJobId sets the JobId field's value.

func (*GetExportJobOutput) SetJobStatus added in v1.44.334

func (s *GetExportJobOutput) SetJobStatus(v string) *GetExportJobOutput

SetJobStatus sets the JobStatus field's value.

func (*GetExportJobOutput) SetStatistics added in v1.44.334

SetStatistics sets the Statistics field's value.

func (GetExportJobOutput) String added in v1.44.334

func (s GetExportJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetImportJobInput added in v1.34.7

type GetImportJobInput struct {

	// The ID of the import job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents a request for information about an import job using the import job ID.

func (GetImportJobInput) GoString added in v1.34.7

func (s GetImportJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportJobInput) SetJobId added in v1.34.7

func (s *GetImportJobInput) SetJobId(v string) *GetImportJobInput

SetJobId sets the JobId field's value.

func (GetImportJobInput) String added in v1.34.7

func (s GetImportJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportJobInput) Validate added in v1.34.7

func (s *GetImportJobInput) Validate() error

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

type GetImportJobOutput added in v1.34.7

type GetImportJobOutput struct {

	// The time stamp of when the import job was completed.
	CompletedTimestamp *time.Time `type:"timestamp"`

	// The time stamp of when the import job was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The number of records that failed processing because of invalid input or
	// other reasons.
	FailedRecordsCount *int64 `type:"integer"`

	// The failure details about an import job.
	FailureInfo *FailureInfo `type:"structure"`

	// The data source of the import job.
	ImportDataSource *ImportDataSource `type:"structure"`

	// The destination of the import job.
	ImportDestination *ImportDestination `type:"structure"`

	// A string that represents the import job ID.
	JobId *string `min:"1" type:"string"`

	// The status of the import job.
	JobStatus *string `type:"string" enum:"JobStatus"`

	// The current number of records processed.
	ProcessedRecordsCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

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

func (GetImportJobOutput) GoString added in v1.34.7

func (s GetImportJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetImportJobOutput) SetCompletedTimestamp added in v1.34.7

func (s *GetImportJobOutput) SetCompletedTimestamp(v time.Time) *GetImportJobOutput

SetCompletedTimestamp sets the CompletedTimestamp field's value.

func (*GetImportJobOutput) SetCreatedTimestamp added in v1.34.7

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*GetImportJobOutput) SetFailedRecordsCount added in v1.34.7

func (s *GetImportJobOutput) SetFailedRecordsCount(v int64) *GetImportJobOutput

SetFailedRecordsCount sets the FailedRecordsCount field's value.

func (*GetImportJobOutput) SetFailureInfo added in v1.34.7

func (s *GetImportJobOutput) SetFailureInfo(v *FailureInfo) *GetImportJobOutput

SetFailureInfo sets the FailureInfo field's value.

func (*GetImportJobOutput) SetImportDataSource added in v1.34.7

func (s *GetImportJobOutput) SetImportDataSource(v *ImportDataSource) *GetImportJobOutput

SetImportDataSource sets the ImportDataSource field's value.

func (*GetImportJobOutput) SetImportDestination added in v1.34.7

func (s *GetImportJobOutput) SetImportDestination(v *ImportDestination) *GetImportJobOutput

SetImportDestination sets the ImportDestination field's value.

func (*GetImportJobOutput) SetJobId added in v1.34.7

SetJobId sets the JobId field's value.

func (*GetImportJobOutput) SetJobStatus added in v1.34.7

func (s *GetImportJobOutput) SetJobStatus(v string) *GetImportJobOutput

SetJobStatus sets the JobStatus field's value.

func (*GetImportJobOutput) SetProcessedRecordsCount added in v1.34.7

func (s *GetImportJobOutput) SetProcessedRecordsCount(v int64) *GetImportJobOutput

SetProcessedRecordsCount sets the ProcessedRecordsCount field's value.

func (GetImportJobOutput) String added in v1.34.7

func (s GetImportJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMessageInsightsInput added in v1.44.334

type GetMessageInsightsInput struct {

	// A MessageId is a unique identifier for a message, and is returned when sending
	// emails through Amazon SES.
	//
	// MessageId is a required field
	MessageId *string `location:"uri" locationName:"MessageId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to return information about a message.

func (GetMessageInsightsInput) GoString added in v1.44.334

func (s GetMessageInsightsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMessageInsightsInput) SetMessageId added in v1.44.334

SetMessageId sets the MessageId field's value.

func (GetMessageInsightsInput) String added in v1.44.334

func (s GetMessageInsightsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMessageInsightsInput) Validate added in v1.44.334

func (s *GetMessageInsightsInput) Validate() error

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

type GetMessageInsightsOutput added in v1.44.334

type GetMessageInsightsOutput struct {

	// A list of tags, in the form of name/value pairs, that were applied to the
	// email you sent, along with Amazon SES Auto-Tags (https://docs.aws.amazon.com/ses/latest/dg/monitor-using-event-publishing.html).
	EmailTags []*MessageTag `type:"list"`

	// The from address used to send the message.
	//
	// FromEmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetMessageInsightsOutput's
	// String and GoString methods.
	FromEmailAddress *string `min:"1" type:"string" sensitive:"true"`

	// A set of insights associated with the message.
	Insights []*EmailInsights `type:"list"`

	// A unique identifier for the message.
	MessageId *string `type:"string"`

	// The subject line of the message.
	//
	// Subject is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetMessageInsightsOutput's
	// String and GoString methods.
	Subject *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

Information about a message.

func (GetMessageInsightsOutput) GoString added in v1.44.334

func (s GetMessageInsightsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMessageInsightsOutput) SetEmailTags added in v1.44.334

SetEmailTags sets the EmailTags field's value.

func (*GetMessageInsightsOutput) SetFromEmailAddress added in v1.44.334

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

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*GetMessageInsightsOutput) SetInsights added in v1.44.334

SetInsights sets the Insights field's value.

func (*GetMessageInsightsOutput) SetMessageId added in v1.44.334

SetMessageId sets the MessageId field's value.

func (*GetMessageInsightsOutput) SetSubject added in v1.44.334

SetSubject sets the Subject field's value.

func (GetMessageInsightsOutput) String added in v1.44.334

func (s GetMessageInsightsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GuardianAttributes added in v1.44.127

type GuardianAttributes struct {

	// Specifies the status of your VDM optimized shared delivery. Can be one of
	// the following:
	//
	//    * ENABLED – Amazon SES enables optimized shared delivery for your account.
	//
	//    * DISABLED – Amazon SES disables optimized shared delivery for your
	//    account.
	OptimizedSharedDelivery *string `type:"string" enum:"FeatureStatus"`
	// contains filtered or unexported fields
}

An object containing additional settings for your VDM configuration as applicable to the Guardian.

func (GuardianAttributes) GoString added in v1.44.127

func (s GuardianAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GuardianAttributes) SetOptimizedSharedDelivery added in v1.44.127

func (s *GuardianAttributes) SetOptimizedSharedDelivery(v string) *GuardianAttributes

SetOptimizedSharedDelivery sets the OptimizedSharedDelivery field's value.

func (GuardianAttributes) String added in v1.44.127

func (s GuardianAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GuardianOptions added in v1.44.127

type GuardianOptions struct {

	// Specifies the status of your VDM optimized shared delivery. Can be one of
	// the following:
	//
	//    * ENABLED – Amazon SES enables optimized shared delivery for the configuration
	//    set.
	//
	//    * DISABLED – Amazon SES disables optimized shared delivery for the configuration
	//    set.
	OptimizedSharedDelivery *string `type:"string" enum:"FeatureStatus"`
	// contains filtered or unexported fields
}

An object containing additional settings for your VDM configuration as applicable to the Guardian.

func (GuardianOptions) GoString added in v1.44.127

func (s GuardianOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GuardianOptions) SetOptimizedSharedDelivery added in v1.44.127

func (s *GuardianOptions) SetOptimizedSharedDelivery(v string) *GuardianOptions

SetOptimizedSharedDelivery sets the OptimizedSharedDelivery field's value.

func (GuardianOptions) String added in v1.44.127

func (s GuardianOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IdentityInfo

type IdentityInfo struct {

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

	// The email identity type. Note: the MANAGED_DOMAIN type is not supported for
	// email identity types.
	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"`

	// The verification status of the identity. The status can be one of the following:
	//
	//    * PENDING – The verification process was initiated, but Amazon SES hasn't
	//    yet been able to verify the identity.
	//
	//    * SUCCESS – The verification process completed successfully.
	//
	//    * FAILED – The verification process failed.
	//
	//    * TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from
	//    determining the verification status of the identity.
	//
	//    * NOT_STARTED – The verification process hasn't been initiated for the
	//    identity.
	VerificationStatus *string `type:"string" enum:"VerificationStatus"`
	// contains filtered or unexported fields
}

Information about an email identity.

func (IdentityInfo) GoString

func (s IdentityInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetVerificationStatus added in v1.44.118

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

SetVerificationStatus sets the VerificationStatus field's value.

func (IdentityInfo) String

func (s IdentityInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImportDataSource added in v1.34.7

type ImportDataSource struct {

	// The data format of the import job's data source.
	//
	// DataFormat is a required field
	DataFormat *string `type:"string" required:"true" enum:"DataFormat"`

	// An Amazon S3 URL in the format s3://<bucket_name>/<object>.
	//
	// S3Url is a required field
	S3Url *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that contains details about the data source of the import job.

func (ImportDataSource) GoString added in v1.34.7

func (s ImportDataSource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportDataSource) SetDataFormat added in v1.34.7

func (s *ImportDataSource) SetDataFormat(v string) *ImportDataSource

SetDataFormat sets the DataFormat field's value.

func (*ImportDataSource) SetS3Url added in v1.34.7

func (s *ImportDataSource) SetS3Url(v string) *ImportDataSource

SetS3Url sets the S3Url field's value.

func (ImportDataSource) String added in v1.34.7

func (s ImportDataSource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportDataSource) Validate added in v1.34.7

func (s *ImportDataSource) Validate() error

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

type ImportDestination added in v1.34.7

type ImportDestination struct {

	// An object that contains the action of the import job towards a contact list.
	ContactListDestination *ContactListDestination `type:"structure"`

	// An object that contains the action of the import job towards suppression
	// list.
	SuppressionListDestination *SuppressionListDestination `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains details about the resource destination the import job is going to target.

func (ImportDestination) GoString added in v1.34.7

func (s ImportDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportDestination) SetContactListDestination added in v1.35.18

func (s *ImportDestination) SetContactListDestination(v *ContactListDestination) *ImportDestination

SetContactListDestination sets the ContactListDestination field's value.

func (*ImportDestination) SetSuppressionListDestination added in v1.34.7

func (s *ImportDestination) SetSuppressionListDestination(v *SuppressionListDestination) *ImportDestination

SetSuppressionListDestination sets the SuppressionListDestination field's value.

func (ImportDestination) String added in v1.34.7

func (s ImportDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportDestination) Validate added in v1.34.7

func (s *ImportDestination) Validate() error

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

type ImportJobSummary added in v1.34.7

type ImportJobSummary struct {

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

	// The number of records that failed processing because of invalid input or
	// other reasons.
	FailedRecordsCount *int64 `type:"integer"`

	// An object that contains details about the resource destination the import
	// job is going to target.
	ImportDestination *ImportDestination `type:"structure"`

	// A string that represents a job ID.
	JobId *string `min:"1" type:"string"`

	// The status of a job.
	//
	//    * CREATED – Job has just been created.
	//
	//    * PROCESSING – Job is processing.
	//
	//    * ERROR – An error occurred during processing.
	//
	//    * COMPLETED – Job has completed processing successfully.
	JobStatus *string `type:"string" enum:"JobStatus"`

	// The current number of records processed.
	ProcessedRecordsCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A summary of the import job.

func (ImportJobSummary) GoString added in v1.34.7

func (s ImportJobSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportJobSummary) SetCreatedTimestamp added in v1.34.7

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ImportJobSummary) SetFailedRecordsCount added in v1.44.118

func (s *ImportJobSummary) SetFailedRecordsCount(v int64) *ImportJobSummary

SetFailedRecordsCount sets the FailedRecordsCount field's value.

func (*ImportJobSummary) SetImportDestination added in v1.34.7

func (s *ImportJobSummary) SetImportDestination(v *ImportDestination) *ImportJobSummary

SetImportDestination sets the ImportDestination field's value.

func (*ImportJobSummary) SetJobId added in v1.34.7

func (s *ImportJobSummary) SetJobId(v string) *ImportJobSummary

SetJobId sets the JobId field's value.

func (*ImportJobSummary) SetJobStatus added in v1.34.7

func (s *ImportJobSummary) SetJobStatus(v string) *ImportJobSummary

SetJobStatus sets the JobStatus field's value.

func (*ImportJobSummary) SetProcessedRecordsCount added in v1.44.118

func (s *ImportJobSummary) SetProcessedRecordsCount(v int64) *ImportJobSummary

SetProcessedRecordsCount sets the ProcessedRecordsCount field's value.

func (ImportJobSummary) String added in v1.34.7

func (s ImportJobSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InsightsEvent added in v1.44.334

type InsightsEvent struct {

	// Details about bounce or complaint events.
	Details *EventDetails `type:"structure"`

	// The timestamp of the event.
	Timestamp *time.Time `type:"timestamp"`

	// The type of event:
	//
	//    * SEND - The send request was successful and SES will attempt to deliver
	//    the message to the recipient’s mail server. (If account-level or global
	//    suppression is being used, SES will still count it as a send, but delivery
	//    is suppressed.)
	//
	//    * DELIVERY - SES successfully delivered the email to the recipient's mail
	//    server. Excludes deliveries to the mailbox simulator, and those from emails
	//    addressed to more than one recipient.
	//
	//    * BOUNCE - Feedback received for delivery failures. Additional details
	//    about the bounce are provided in the Details object. Excludes bounces
	//    from the mailbox simulator, and those from emails addressed to more than
	//    one recipient.
	//
	//    * COMPLAINT - Complaint received for the email. Additional details about
	//    the complaint are provided in the Details object. This excludes complaints
	//    from the mailbox simulator, those originating from your account-level
	//    suppression list (if enabled), and those from emails addressed to more
	//    than one recipient.
	//
	//    * OPEN - Open event for emails including open trackers. Excludes opens
	//    for emails addressed to more than one recipient.
	//
	//    * CLICK - Click event for emails including wrapped links. Excludes clicks
	//    for emails addressed to more than one recipient.
	Type *string `type:"string" enum:"EventType"`
	// contains filtered or unexported fields
}

An object containing details about a specific event.

func (InsightsEvent) GoString added in v1.44.334

func (s InsightsEvent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InsightsEvent) SetDetails added in v1.44.334

func (s *InsightsEvent) SetDetails(v *EventDetails) *InsightsEvent

SetDetails sets the Details field's value.

func (*InsightsEvent) SetTimestamp added in v1.44.334

func (s *InsightsEvent) SetTimestamp(v time.Time) *InsightsEvent

SetTimestamp sets the Timestamp field's value.

func (*InsightsEvent) SetType added in v1.44.334

func (s *InsightsEvent) SetType(v string) *InsightsEvent

SetType sets the Type field's value.

func (InsightsEvent) String added in v1.44.334

func (s InsightsEvent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServiceErrorException added in v1.44.127

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

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

The request couldn't be processed because an error occurred with the Amazon SES API v2.

func (*InternalServiceErrorException) Code added in v1.44.127

Code returns the exception type name.

func (*InternalServiceErrorException) Error added in v1.44.127

func (InternalServiceErrorException) GoString added in v1.44.127

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServiceErrorException) Message added in v1.44.127

Message returns the exception's message.

func (*InternalServiceErrorException) OrigErr added in v1.44.127

func (s *InternalServiceErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServiceErrorException) RequestID added in v1.44.127

func (s *InternalServiceErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServiceErrorException) StatusCode added in v1.44.127

func (s *InternalServiceErrorException) StatusCode() int

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

func (InternalServiceErrorException) String added in v1.44.127

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services Region.

func (ListConfigurationSetsInput) GoString

func (s ListConfigurationSetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListConfigurationSetsOutput

type ListConfigurationSetsOutput struct {

	// An array that contains all of the configuration sets in your Amazon SES account
	// in the current Amazon Web Services 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 Amazon Web Services Region.

func (ListConfigurationSetsOutput) GoString

func (s ListConfigurationSetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListContactListsInput added in v1.35.18

type ListContactListsInput struct {

	// A string token indicating that there might be additional contact lists available
	// to be listed. Use the token provided in the Response to use in the subsequent
	// call to ListContactLists with the same parameters to retrieve the next page
	// of contact lists.
	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// Maximum number of contact lists to return at once. Use this parameter to
	// paginate results. If additional contact lists exist beyond the specified
	// limit, the NextToken element is sent in the response. Use the NextToken value
	// in subsequent requests to retrieve additional lists.
	PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"`
	// contains filtered or unexported fields
}

func (ListContactListsInput) GoString added in v1.35.18

func (s ListContactListsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactListsInput) SetNextToken added in v1.35.18

SetNextToken sets the NextToken field's value.

func (*ListContactListsInput) SetPageSize added in v1.35.18

SetPageSize sets the PageSize field's value.

func (ListContactListsInput) String added in v1.35.18

func (s ListContactListsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListContactListsOutput added in v1.35.18

type ListContactListsOutput struct {

	// The available contact lists.
	ContactLists []*ContactList `type:"list"`

	// A string token indicating that there might be additional contact lists available
	// to be listed. Copy this token to a subsequent call to ListContactLists with
	// the same parameters to retrieve the next page of contact lists.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListContactListsOutput) GoString added in v1.35.18

func (s ListContactListsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactListsOutput) SetContactLists added in v1.35.18

func (s *ListContactListsOutput) SetContactLists(v []*ContactList) *ListContactListsOutput

SetContactLists sets the ContactLists field's value.

func (*ListContactListsOutput) SetNextToken added in v1.35.18

SetNextToken sets the NextToken field's value.

func (ListContactListsOutput) String added in v1.35.18

func (s ListContactListsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListContactsFilter added in v1.35.18

type ListContactsFilter struct {

	// The status by which you are filtering: OPT_IN or OPT_OUT.
	FilteredStatus *string `type:"string" enum:"SubscriptionStatus"`

	// Used for filtering by a specific topic preference.
	TopicFilter *TopicFilter `type:"structure"`
	// contains filtered or unexported fields
}

A filter that can be applied to a list of contacts.

func (ListContactsFilter) GoString added in v1.35.18

func (s ListContactsFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactsFilter) SetFilteredStatus added in v1.35.18

func (s *ListContactsFilter) SetFilteredStatus(v string) *ListContactsFilter

SetFilteredStatus sets the FilteredStatus field's value.

func (*ListContactsFilter) SetTopicFilter added in v1.35.18

func (s *ListContactsFilter) SetTopicFilter(v *TopicFilter) *ListContactsFilter

SetTopicFilter sets the TopicFilter field's value.

func (ListContactsFilter) String added in v1.35.18

func (s ListContactsFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListContactsInput added in v1.35.18

type ListContactsInput struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

	// A filter that can be applied to a list of contacts.
	Filter *ListContactsFilter `type:"structure"`

	// A string token indicating that there might be additional contacts available
	// to be listed. Use the token provided in the Response to use in the subsequent
	// call to ListContacts with the same parameters to retrieve the next page of
	// contacts.
	NextToken *string `type:"string"`

	// The number of contacts that may be returned at once, which is dependent on
	// if there are more or less contacts than the value of the PageSize. Use this
	// parameter to paginate results. If additional contacts exist beyond the specified
	// limit, the NextToken element is sent in the response. Use the NextToken value
	// in subsequent requests to retrieve additional contacts.
	PageSize *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (ListContactsInput) GoString added in v1.35.18

func (s ListContactsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactsInput) SetContactListName added in v1.35.18

func (s *ListContactsInput) SetContactListName(v string) *ListContactsInput

SetContactListName sets the ContactListName field's value.

func (*ListContactsInput) SetFilter added in v1.35.18

SetFilter sets the Filter field's value.

func (*ListContactsInput) SetNextToken added in v1.35.18

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

SetNextToken sets the NextToken field's value.

func (*ListContactsInput) SetPageSize added in v1.35.18

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

SetPageSize sets the PageSize field's value.

func (ListContactsInput) String added in v1.35.18

func (s ListContactsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactsInput) Validate added in v1.35.18

func (s *ListContactsInput) Validate() error

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

type ListContactsOutput added in v1.35.18

type ListContactsOutput struct {

	// The contacts present in a specific contact list.
	Contacts []*Contact `type:"list"`

	// A string token indicating that there might be additional contacts available
	// to be listed. Copy this token to a subsequent call to ListContacts with the
	// same parameters to retrieve the next page of contacts.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListContactsOutput) GoString added in v1.35.18

func (s ListContactsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListContactsOutput) SetContacts added in v1.35.18

func (s *ListContactsOutput) SetContacts(v []*Contact) *ListContactsOutput

SetContacts sets the Contacts field's value.

func (*ListContactsOutput) SetNextToken added in v1.35.18

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

SetNextToken sets the NextToken field's value.

func (ListContactsOutput) String added in v1.35.18

func (s ListContactsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDedicatedIpPoolsOutput

type ListDedicatedIpPoolsOutput struct {

	// A list of all of the dedicated IP pools that are associated with your Amazon
	// Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDomainDeliverabilityCampaignsInput

type ListDomainDeliverabilityCampaignsInput struct {

	// The last day 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 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListEmailIdentitiesOutput

type ListEmailIdentitiesOutput struct {

	// An array that includes all of the email identities associated with your Amazon
	// Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 100.
	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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListExportJobsInput added in v1.44.334

type ListExportJobsInput struct {

	// A value used to list export jobs that have a certain ExportSourceType.
	ExportSourceType *string `type:"string" enum:"ExportSourceType"`

	// A value used to list export jobs that have a certain JobStatus.
	JobStatus *string `type:"string" enum:"JobStatus"`

	// The pagination token returned from a previous call to ListExportJobs to indicate
	// the position in the list of export jobs.
	NextToken *string `type:"string"`

	// Maximum number of export jobs to return at once. Use this parameter to paginate
	// results. If additional export jobs exist beyond the specified limit, the
	// NextToken element is sent in the response. Use the NextToken value in subsequent
	// calls to ListExportJobs to retrieve additional export jobs.
	PageSize *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents a request to list all export jobs with filters.

func (ListExportJobsInput) GoString added in v1.44.334

func (s ListExportJobsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListExportJobsInput) SetExportSourceType added in v1.44.334

func (s *ListExportJobsInput) SetExportSourceType(v string) *ListExportJobsInput

SetExportSourceType sets the ExportSourceType field's value.

func (*ListExportJobsInput) SetJobStatus added in v1.44.334

func (s *ListExportJobsInput) SetJobStatus(v string) *ListExportJobsInput

SetJobStatus sets the JobStatus field's value.

func (*ListExportJobsInput) SetNextToken added in v1.44.334

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

SetNextToken sets the NextToken field's value.

func (*ListExportJobsInput) SetPageSize added in v1.44.334

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

SetPageSize sets the PageSize field's value.

func (ListExportJobsInput) String added in v1.44.334

func (s ListExportJobsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListExportJobsOutput added in v1.44.334

type ListExportJobsOutput struct {

	// A list of the export job summaries.
	ExportJobs []*ExportJobSummary `type:"list"`

	// A string token indicating that there might be additional export jobs available
	// to be listed. Use this token to a subsequent call to ListExportJobs with
	// the same parameters to retrieve the next page of export jobs.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (ListExportJobsOutput) GoString added in v1.44.334

func (s ListExportJobsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListExportJobsOutput) SetExportJobs added in v1.44.334

SetExportJobs sets the ExportJobs field's value.

func (*ListExportJobsOutput) SetNextToken added in v1.44.334

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

SetNextToken sets the NextToken field's value.

func (ListExportJobsOutput) String added in v1.44.334

func (s ListExportJobsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListImportJobsInput added in v1.34.7

type ListImportJobsInput struct {

	// The destination of the import job, which can be used to list import jobs
	// that have a certain ImportDestinationType.
	ImportDestinationType *string `type:"string" enum:"ImportDestinationType"`

	// A string token indicating that there might be additional import jobs available
	// to be listed. Copy this token to a subsequent call to ListImportJobs with
	// the same parameters to retrieve the next page of import jobs.
	NextToken *string `type:"string"`

	// Maximum number of import jobs to return at once. Use this parameter to paginate
	// results. If additional import jobs exist beyond the specified limit, the
	// NextToken element is sent in the response. Use the NextToken value in subsequent
	// requests to retrieve additional addresses.
	PageSize *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.

func (ListImportJobsInput) GoString added in v1.34.7

func (s ListImportJobsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListImportJobsInput) SetImportDestinationType added in v1.34.7

func (s *ListImportJobsInput) SetImportDestinationType(v string) *ListImportJobsInput

SetImportDestinationType sets the ImportDestinationType field's value.

func (*ListImportJobsInput) SetNextToken added in v1.34.7

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

SetNextToken sets the NextToken field's value.

func (*ListImportJobsInput) SetPageSize added in v1.34.7

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

SetPageSize sets the PageSize field's value.

func (ListImportJobsInput) String added in v1.34.7

func (s ListImportJobsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListImportJobsOutput added in v1.34.7

type ListImportJobsOutput struct {

	// A list of the import job summaries.
	ImportJobs []*ImportJobSummary `type:"list"`

	// A string token indicating that there might be additional import jobs available
	// to be listed. Copy this token to a subsequent call to ListImportJobs with
	// the same parameters to retrieve the next page of import jobs.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (ListImportJobsOutput) GoString added in v1.34.7

func (s ListImportJobsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListImportJobsOutput) SetImportJobs added in v1.34.7

SetImportJobs sets the ImportJobs field's value.

func (*ListImportJobsOutput) SetNextToken added in v1.34.7

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

SetNextToken sets the NextToken field's value.

func (ListImportJobsOutput) String added in v1.34.7

func (s ListImportJobsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListManagementOptions added in v1.35.18

type ListManagementOptions struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `type:"string" required:"true"`

	// The name of the topic.
	TopicName *string `type:"string"`
	// contains filtered or unexported fields
}

An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.

func (ListManagementOptions) GoString added in v1.35.18

func (s ListManagementOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListManagementOptions) SetContactListName added in v1.35.18

func (s *ListManagementOptions) SetContactListName(v string) *ListManagementOptions

SetContactListName sets the ContactListName field's value.

func (*ListManagementOptions) SetTopicName added in v1.35.18

SetTopicName sets the TopicName field's value.

func (ListManagementOptions) String added in v1.35.18

func (s ListManagementOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListManagementOptions) Validate added in v1.35.18

func (s *ListManagementOptions) Validate() error

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

type ListRecommendationsInput added in v1.44.127

type ListRecommendationsInput struct {

	// Filters applied when retrieving recommendations. Can eiter be an individual
	// filter, or combinations of STATUS and IMPACT or STATUS and TYPE
	Filter map[string]*string `min:"1" type:"map"`

	// A token returned from a previous call to ListRecommendations to indicate
	// the position in the list of recommendations.
	NextToken *string `type:"string"`

	// The number of results to show in a single call to ListRecommendations. 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 100.
	PageSize *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Represents a request to list the existing recommendations for your account.

func (ListRecommendationsInput) GoString added in v1.44.127

func (s ListRecommendationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRecommendationsInput) SetFilter added in v1.44.127

SetFilter sets the Filter field's value.

func (*ListRecommendationsInput) SetNextToken added in v1.44.127

SetNextToken sets the NextToken field's value.

func (*ListRecommendationsInput) SetPageSize added in v1.44.127

SetPageSize sets the PageSize field's value.

func (ListRecommendationsInput) String added in v1.44.127

func (s ListRecommendationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRecommendationsInput) Validate added in v1.44.127

func (s *ListRecommendationsInput) Validate() error

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

type ListRecommendationsOutput added in v1.44.127

type ListRecommendationsOutput struct {

	// A string token indicating that there might be additional recommendations
	// available to be listed. Use the token provided in the ListRecommendationsResponse
	// to use in the subsequent call to ListRecommendations with the same parameters
	// to retrieve the next page of recommendations.
	NextToken *string `type:"string"`

	// The recommendations applicable to your account.
	Recommendations []*Recommendation `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to your request to retrieve the list of recommendations for your account.

func (ListRecommendationsOutput) GoString added in v1.44.127

func (s ListRecommendationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRecommendationsOutput) SetNextToken added in v1.44.127

SetNextToken sets the NextToken field's value.

func (*ListRecommendationsOutput) SetRecommendations added in v1.44.127

SetRecommendations sets the Recommendations field's value.

func (ListRecommendationsOutput) String added in v1.44.127

func (s ListRecommendationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.
	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" enum:"SuppressionListReason"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MailFromAttributes

type MailFromAttributes struct {

	// The action to take if the required MX record can't be found when you send
	// an email. When you set this value to USE_DEFAULT_VALUE, the mail is sent
	// using amazonses.com as the MAIL FROM domain. When you set this value to REJECT_MESSAGE,
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 list of message headers that will be added to the email message.
	Headers []*MessageHeader `type:"list"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Message) SetBody

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

SetBody sets the Body field's value.

func (*Message) SetHeaders added in v1.50.32

func (s *Message) SetHeaders(v []*MessageHeader) *Message

SetHeaders sets the Headers 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Message) Validate

func (s *Message) Validate() error

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

type MessageHeader added in v1.50.32

type MessageHeader struct {

	// The name of the message header. The message header name has to meet the following
	// criteria:
	//
	//    * Can contain any printable ASCII character (33 - 126) except for colon
	//    (:).
	//
	//    * Can contain no more than 126 characters.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The value of the message header. The message header value has to meet the
	// following criteria:
	//
	//    * Can contain any printable ASCII character.
	//
	//    * Can contain no more than 870 characters.
	//
	// Value is a required field
	Value *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the name and value of a message header that you add to an email.

func (MessageHeader) GoString added in v1.50.32

func (s MessageHeader) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageHeader) SetName added in v1.50.32

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

SetName sets the Name field's value.

func (*MessageHeader) SetValue added in v1.50.32

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

SetValue sets the Value field's value.

func (MessageHeader) String added in v1.50.32

func (s MessageHeader) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageHeader) Validate added in v1.50.32

func (s *MessageHeader) Validate() error

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

type MessageInsightsDataSource added in v1.44.334

type MessageInsightsDataSource struct {

	// Represents the end date for the export interval as a timestamp. The end date
	// is inclusive.
	//
	// EndDate is a required field
	EndDate *time.Time `type:"timestamp" required:"true"`

	// Filters for results to be excluded from the export file.
	Exclude *MessageInsightsFilters `type:"structure"`

	// Filters for results to be included in the export file.
	Include *MessageInsightsFilters `type:"structure"`

	// The maximum number of results.
	MaxResults *int64 `min:"1" type:"integer"`

	// Represents the start date for the export interval as a timestamp. The start
	// date is inclusive.
	//
	// StartDate is a required field
	StartDate *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

An object that contains filters applied when performing the Message Insights export.

func (MessageInsightsDataSource) GoString added in v1.44.334

func (s MessageInsightsDataSource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageInsightsDataSource) SetEndDate added in v1.44.334

SetEndDate sets the EndDate field's value.

func (*MessageInsightsDataSource) SetExclude added in v1.44.334

SetExclude sets the Exclude field's value.

func (*MessageInsightsDataSource) SetInclude added in v1.44.334

SetInclude sets the Include field's value.

func (*MessageInsightsDataSource) SetMaxResults added in v1.44.334

SetMaxResults sets the MaxResults field's value.

func (*MessageInsightsDataSource) SetStartDate added in v1.44.334

SetStartDate sets the StartDate field's value.

func (MessageInsightsDataSource) String added in v1.44.334

func (s MessageInsightsDataSource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageInsightsDataSource) Validate added in v1.44.334

func (s *MessageInsightsDataSource) Validate() error

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

type MessageInsightsFilters added in v1.44.334

type MessageInsightsFilters struct {

	// The recipient's email address.
	Destination []*string `type:"list" sensitive:"true"`

	// The from address used to send the message.
	FromEmailAddress []*string `type:"list" sensitive:"true"`

	// The recipient's ISP (e.g., Gmail, Yahoo, etc.).
	Isp []*string `type:"list"`

	// The last delivery-related event for the email, where the ordering is as follows:
	// SEND < BOUNCE < DELIVERY < COMPLAINT.
	LastDeliveryEvent []*string `type:"list" enum:"DeliveryEventType"`

	// The last engagement-related event for the email, where the ordering is as
	// follows: OPEN < CLICK.
	//
	// Engagement events are only available if Engagement tracking (https://docs.aws.amazon.com/ses/latest/dg/vdm-settings.html)
	// is enabled.
	LastEngagementEvent []*string `type:"list" enum:"EngagementEventType"`

	// The subject line of the message.
	Subject []*string `type:"list" sensitive:"true"`
	// contains filtered or unexported fields
}

An object containing Message Insights filters.

If you specify multiple filters, the filters are joined by AND.

If you specify multiple values for a filter, the values are joined by OR. Filter values are case-sensitive.

FromEmailAddress, Destination, and Subject filters support partial match. A partial match is performed by using the * wildcard character placed at the beginning (suffix match), the end (prefix match) or both ends of the string (contains match). In order to match the literal characters * or \, they must be escaped using the \ character. If no wildcard character is present, an exact match is performed.

func (MessageInsightsFilters) GoString added in v1.44.334

func (s MessageInsightsFilters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageInsightsFilters) SetDestination added in v1.44.334

func (s *MessageInsightsFilters) SetDestination(v []*string) *MessageInsightsFilters

SetDestination sets the Destination field's value.

func (*MessageInsightsFilters) SetFromEmailAddress added in v1.44.334

func (s *MessageInsightsFilters) SetFromEmailAddress(v []*string) *MessageInsightsFilters

SetFromEmailAddress sets the FromEmailAddress field's value.

func (*MessageInsightsFilters) SetIsp added in v1.44.334

SetIsp sets the Isp field's value.

func (*MessageInsightsFilters) SetLastDeliveryEvent added in v1.44.334

func (s *MessageInsightsFilters) SetLastDeliveryEvent(v []*string) *MessageInsightsFilters

SetLastDeliveryEvent sets the LastDeliveryEvent field's value.

func (*MessageInsightsFilters) SetLastEngagementEvent added in v1.44.334

func (s *MessageInsightsFilters) SetLastEngagementEvent(v []*string) *MessageInsightsFilters

SetLastEngagementEvent sets the LastEngagementEvent field's value.

func (*MessageInsightsFilters) SetSubject added in v1.44.334

SetSubject sets the Subject field's value.

func (MessageInsightsFilters) String added in v1.44.334

func (s MessageInsightsFilters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageTag) Validate

func (s *MessageTag) Validate() error

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

type MetricDataError added in v1.44.127

type MetricDataError struct {

	// The query error code. Can be one of:
	//
	//    * INTERNAL_FAILURE – Amazon SES has failed to process one of the queries.
	//
	//    * ACCESS_DENIED – You have insufficient access to retrieve metrics based
	//    on the given query.
	Code *string `type:"string" enum:"QueryErrorCode"`

	// The query identifier.
	Id *string `min:"1" type:"string"`

	// The error message associated with the current query error.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

An error corresponding to the unsuccessful processing of a single metric data query.

func (MetricDataError) GoString added in v1.44.127

func (s MetricDataError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDataError) SetCode added in v1.44.127

func (s *MetricDataError) SetCode(v string) *MetricDataError

SetCode sets the Code field's value.

func (*MetricDataError) SetId added in v1.44.127

func (s *MetricDataError) SetId(v string) *MetricDataError

SetId sets the Id field's value.

func (*MetricDataError) SetMessage added in v1.44.127

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

SetMessage sets the Message field's value.

func (MetricDataError) String added in v1.44.127

func (s MetricDataError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricDataResult added in v1.44.127

type MetricDataResult struct {

	// The query identifier.
	Id *string `min:"1" type:"string"`

	// A list of timestamps for the metric data results.
	Timestamps []*time.Time `type:"list"`

	// A list of values (cumulative / sum) for the metric data results.
	Values []*int64 `type:"list"`
	// contains filtered or unexported fields
}

The result of a single metric data query.

func (MetricDataResult) GoString added in v1.44.127

func (s MetricDataResult) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDataResult) SetId added in v1.44.127

SetId sets the Id field's value.

func (*MetricDataResult) SetTimestamps added in v1.44.127

func (s *MetricDataResult) SetTimestamps(v []*time.Time) *MetricDataResult

SetTimestamps sets the Timestamps field's value.

func (*MetricDataResult) SetValues added in v1.44.127

func (s *MetricDataResult) SetValues(v []*int64) *MetricDataResult

SetValues sets the Values field's value.

func (MetricDataResult) String added in v1.44.127

func (s MetricDataResult) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MetricsDataSource added in v1.44.334

type MetricsDataSource struct {

	// An object that contains a mapping between a MetricDimensionName and MetricDimensionValue
	// to filter metrics by. Must contain a least 1 dimension but no more than 3
	// unique ones.
	//
	// Dimensions is a required field
	Dimensions map[string][]*string `min:"1" type:"map" required:"true"`

	// Represents the end date for the export interval as a timestamp.
	//
	// EndDate is a required field
	EndDate *time.Time `type:"timestamp" required:"true"`

	// A list of ExportMetric objects to export.
	//
	// Metrics is a required field
	Metrics []*ExportMetric `min:"1" type:"list" required:"true"`

	// The metrics namespace - e.g., VDM.
	//
	// Namespace is a required field
	Namespace *string `type:"string" required:"true" enum:"MetricNamespace"`

	// Represents the start date for the export interval as a timestamp.
	//
	// StartDate is a required field
	StartDate *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

An object that contains details about the data source for the metrics export.

func (MetricsDataSource) GoString added in v1.44.334

func (s MetricsDataSource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricsDataSource) SetDimensions added in v1.44.334

func (s *MetricsDataSource) SetDimensions(v map[string][]*string) *MetricsDataSource

SetDimensions sets the Dimensions field's value.

func (*MetricsDataSource) SetEndDate added in v1.44.334

func (s *MetricsDataSource) SetEndDate(v time.Time) *MetricsDataSource

SetEndDate sets the EndDate field's value.

func (*MetricsDataSource) SetMetrics added in v1.44.334

func (s *MetricsDataSource) SetMetrics(v []*ExportMetric) *MetricsDataSource

SetMetrics sets the Metrics field's value.

func (*MetricsDataSource) SetNamespace added in v1.44.334

func (s *MetricsDataSource) SetNamespace(v string) *MetricsDataSource

SetNamespace sets the Namespace field's value.

func (*MetricsDataSource) SetStartDate added in v1.44.334

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

SetStartDate sets the StartDate field's value.

func (MetricsDataSource) String added in v1.44.334

func (s MetricsDataSource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricsDataSource) Validate added in v1.44.334

func (s *MetricsDataSource) 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PinpointDestination

type PinpointDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon Pinpoint project 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web
	// Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountDedicatedIpWarmupAttributesInput) SetAutoWarmupEnabled

SetAutoWarmupEnabled sets the AutoWarmupEnabled field's value.

func (PutAccountDedicatedIpWarmupAttributesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountDedicatedIpWarmupAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PutAccountDetailsInput's
	// String and GoString methods.
	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 Amazon Web Services 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.
	//
	// 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 sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PutAccountDetailsInput's
	// String and GoString methods.
	//
	// 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 sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PutAccountDetailsInput's
	// String and GoString methods.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountDetailsOutput) String added in v1.33.16

func (s PutAccountDetailsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountSendingAttributesInput) SetSendingEnabled

SetSendingEnabled sets the SendingEnabled field's value.

func (PutAccountSendingAttributesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountSendingAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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" enum:"SuppressionListReason"`
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountSuppressionAttributesOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccountVdmAttributesInput added in v1.44.127

type PutAccountVdmAttributesInput struct {

	// The VDM attributes that you wish to apply to your Amazon SES account.
	//
	// VdmAttributes is a required field
	VdmAttributes *VdmAttributes `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A request to submit new account VDM attributes.

func (PutAccountVdmAttributesInput) GoString added in v1.44.127

func (s PutAccountVdmAttributesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountVdmAttributesInput) SetVdmAttributes added in v1.44.127

SetVdmAttributes sets the VdmAttributes field's value.

func (PutAccountVdmAttributesInput) String added in v1.44.127

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountVdmAttributesInput) Validate added in v1.44.127

func (s *PutAccountVdmAttributesInput) Validate() error

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

type PutAccountVdmAttributesOutput added in v1.44.127

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

func (PutAccountVdmAttributesOutput) GoString added in v1.44.127

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountVdmAttributesOutput) String added in v1.44.127

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetDeliveryOptionsInput

type PutConfigurationSetDeliveryOptionsInput struct {

	// The name of the configuration set 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 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetDeliveryOptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetReputationOptionsInput

type PutConfigurationSetReputationOptionsInput struct {

	// The name of the configuration set.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetReputationOptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetSendingOptionsInput

type PutConfigurationSetSendingOptionsInput struct {

	// The name of the configuration set 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetSendingOptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetSuppressionOptionsInput added in v1.25.42

type PutConfigurationSetSuppressionOptionsInput struct {

	// The name of the configuration set 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" enum:"SuppressionListReason"`
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetSuppressionOptionsOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetTrackingOptionsInput

type PutConfigurationSetTrackingOptionsInput struct {

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

	// The domain 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetTrackingOptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutConfigurationSetVdmOptionsInput added in v1.44.127

type PutConfigurationSetVdmOptionsInput struct {

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

	// The VDM options to apply to the configuration set.
	VdmOptions *VdmOptions `type:"structure"`
	// contains filtered or unexported fields
}

A request to add specific VDM settings to a configuration set.

func (PutConfigurationSetVdmOptionsInput) GoString added in v1.44.127

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutConfigurationSetVdmOptionsInput) SetConfigurationSetName added in v1.44.127

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutConfigurationSetVdmOptionsInput) SetVdmOptions added in v1.44.127

SetVdmOptions sets the VdmOptions field's value.

func (PutConfigurationSetVdmOptionsInput) String added in v1.44.127

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutConfigurationSetVdmOptionsInput) Validate added in v1.44.127

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

type PutConfigurationSetVdmOptionsOutput added in v1.44.127

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

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

func (PutConfigurationSetVdmOptionsOutput) GoString added in v1.44.127

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutConfigurationSetVdmOptionsOutput) String added in v1.44.127

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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
	// Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutDedicatedIpInPoolOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutDedicatedIpPoolScalingAttributesInput added in v1.44.266

type PutDedicatedIpPoolScalingAttributesInput struct {

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

	// The scaling mode to apply to the dedicated IP pool.
	//
	// Changing the scaling mode from MANAGED to STANDARD is not supported.
	//
	// ScalingMode is a required field
	ScalingMode *string `type:"string" required:"true" enum:"ScalingMode"`
	// contains filtered or unexported fields
}

A request to convert a dedicated IP pool to a different scaling mode.

func (PutDedicatedIpPoolScalingAttributesInput) GoString added in v1.44.266

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutDedicatedIpPoolScalingAttributesInput) SetPoolName added in v1.44.266

SetPoolName sets the PoolName field's value.

func (*PutDedicatedIpPoolScalingAttributesInput) SetScalingMode added in v1.44.266

SetScalingMode sets the ScalingMode field's value.

func (PutDedicatedIpPoolScalingAttributesInput) String added in v1.44.266

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutDedicatedIpPoolScalingAttributesInput) Validate added in v1.44.266

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

type PutDedicatedIpPoolScalingAttributesOutput added in v1.44.266

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

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

func (PutDedicatedIpPoolScalingAttributesOutput) GoString added in v1.44.266

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutDedicatedIpPoolScalingAttributesOutput) String added in v1.44.266

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutDedicatedIpWarmupAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutDeliverabilityDashboardOptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutEmailIdentityConfigurationSetAttributesInput added in v1.36.33

type PutEmailIdentityConfigurationSetAttributesInput struct {

	// The configuration set to associate with an email identity.
	ConfigurationSetName *string `type:"string"`

	// The email address or domain to associate with a configuration set.
	//
	// 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 associate a configuration set with an email identity.

func (PutEmailIdentityConfigurationSetAttributesInput) GoString added in v1.36.33

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutEmailIdentityConfigurationSetAttributesInput) SetConfigurationSetName added in v1.36.33

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*PutEmailIdentityConfigurationSetAttributesInput) SetEmailIdentity added in v1.36.33

SetEmailIdentity sets the EmailIdentity field's value.

func (PutEmailIdentityConfigurationSetAttributesInput) String added in v1.36.33

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutEmailIdentityConfigurationSetAttributesInput) Validate added in v1.36.33

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

type PutEmailIdentityConfigurationSetAttributesOutput added in v1.36.33

type PutEmailIdentityConfigurationSetAttributesOutput 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 (PutEmailIdentityConfigurationSetAttributesOutput) GoString added in v1.36.33

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutEmailIdentityConfigurationSetAttributesOutput) String added in v1.36.33

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutEmailIdentityDkimAttributesInput

type PutEmailIdentityDkimAttributesInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutEmailIdentityDkimAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutEmailIdentityDkimSigningAttributesInput added in v1.26.2

type PutEmailIdentityDkimSigningAttributesInput struct {

	// The email identity.
	//
	// 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 for Bring Your Own DKIM
	// (BYODKIM) for the identity, or, configures the key length to be used for
	// Easy DKIM (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
	SigningAttributes *DkimSigningAttributes `type:"structure"`

	// The method to use to configure DKIM for the identity. There are the following
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutEmailIdentityFeedbackAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutEmailIdentityMailFromAttributesInput

type PutEmailIdentityMailFromAttributesInput struct {

	// The action 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.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutEmailIdentityMailFromAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutSuppressedDestinationOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 raw data of the message needs to base64-encoded if you are accessing
	//    Amazon SES directly through the HTTPS interface. If you are accessing
	//    Amazon SES using an Amazon Web Services SDK, the SDK takes care of the
	//    base 64-encoding for you.
	//
	//    * 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RawMessage) Validate

func (s *RawMessage) Validate() error

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

type Recommendation added in v1.44.127

type Recommendation struct {

	// The first time this issue was encountered and the recommendation was generated.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The recommendation description / disambiguator - e.g. DKIM1 and DKIM2 are
	// different recommendations about your DKIM setup.
	Description *string `type:"string"`

	// The recommendation impact, with values like HIGH or LOW.
	Impact *string `type:"string" enum:"RecommendationImpact"`

	// The last time the recommendation was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The resource affected by the recommendation, with values like arn:aws:ses:us-east-1:123456789012:identity/example.com.
	ResourceArn *string `type:"string"`

	// The recommendation status, with values like OPEN or FIXED.
	Status *string `type:"string" enum:"RecommendationStatus"`

	// The recommendation type, with values like DKIM, SPF, DMARC or BIMI.
	Type *string `type:"string" enum:"RecommendationType"`
	// contains filtered or unexported fields
}

A recommendation generated for your account.

func (Recommendation) GoString added in v1.44.127

func (s Recommendation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Recommendation) SetCreatedTimestamp added in v1.44.127

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

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*Recommendation) SetDescription added in v1.44.127

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

SetDescription sets the Description field's value.

func (*Recommendation) SetImpact added in v1.44.127

func (s *Recommendation) SetImpact(v string) *Recommendation

SetImpact sets the Impact field's value.

func (*Recommendation) SetLastUpdatedTimestamp added in v1.44.127

func (s *Recommendation) SetLastUpdatedTimestamp(v time.Time) *Recommendation

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*Recommendation) SetResourceArn added in v1.44.127

func (s *Recommendation) SetResourceArn(v string) *Recommendation

SetResourceArn sets the ResourceArn field's value.

func (*Recommendation) SetStatus added in v1.44.127

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

SetStatus sets the Status field's value.

func (*Recommendation) SetType added in v1.44.127

func (s *Recommendation) SetType(v string) *Recommendation

SetType sets the Type field's value.

func (Recommendation) String added in v1.44.127

func (s Recommendation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services Region.

func (ReputationOptions) GoString

func (s ReputationOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) BatchGetMetricData added in v1.44.127

func (c *SESV2) BatchGetMetricData(input *BatchGetMetricDataInput) (*BatchGetMetricDataOutput, error)

BatchGetMetricData API operation for Amazon Simple Email Service.

Retrieves batches of metric data collected based on your sending activity.

You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).

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

Returned Error Types:

  • BadRequestException The input you provided is invalid.

  • InternalServiceErrorException The request couldn't be processed because an error occurred with the Amazon SES API v2.

  • 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/BatchGetMetricData

func (*SESV2) BatchGetMetricDataRequest added in v1.44.127

func (c *SESV2) BatchGetMetricDataRequest(input *BatchGetMetricDataInput) (req *request.Request, output *BatchGetMetricDataOutput)

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

func (*SESV2) BatchGetMetricDataWithContext added in v1.44.127

func (c *SESV2) BatchGetMetricDataWithContext(ctx aws.Context, input *BatchGetMetricDataInput, opts ...request.Option) (*BatchGetMetricDataOutput, error)

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

See BatchGetMetricData 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) CancelExportJob added in v1.44.334

func (c *SESV2) CancelExportJob(input *CancelExportJobInput) (*CancelExportJobOutput, error)

CancelExportJob API operation for Amazon Simple Email Service.

Cancels an export job.

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

Example (Shared00)

Cancel export job Cancels the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.CancelExportJobInput{
		JobId: aws.String("ef28cf62-9d8e-4b60-9283-b09816c99a99"),
	}

	result, err := svc.CancelExportJob(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case sesv2.ErrCodeNotFoundException:
				fmt.Println(sesv2.ErrCodeNotFoundException, aerr.Error())
			case sesv2.ErrCodeBadRequestException:
				fmt.Println(sesv2.ErrCodeBadRequestException, aerr.Error())
			case sesv2.ErrCodeTooManyRequestsException:
				fmt.Println(sesv2.ErrCodeTooManyRequestsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*SESV2) CancelExportJobRequest added in v1.44.334

func (c *SESV2) CancelExportJobRequest(input *CancelExportJobInput) (req *request.Request, output *CancelExportJobOutput)

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

func (*SESV2) CancelExportJobWithContext added in v1.44.334

func (c *SESV2) CancelExportJobWithContext(ctx aws.Context, input *CancelExportJobInput, opts ...request.Option) (*CancelExportJobOutput, error)

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

See CancelExportJob 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) 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 EventBridge and associate a rule to send the event to the specified target.

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) CreateContact added in v1.35.18

func (c *SESV2) CreateContact(input *CreateContactInput) (*CreateContactOutput, error)

CreateContact API operation for Amazon Simple Email Service.

Creates a contact, which is an end-user who is receiving the email, and adds them to a contact 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 CreateContact 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.

  • AlreadyExistsException The resource specified in your request already exists.

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

func (*SESV2) CreateContactList added in v1.35.18

func (c *SESV2) CreateContactList(input *CreateContactListInput) (*CreateContactListOutput, error)

CreateContactList API operation for Amazon Simple Email Service.

Creates a contact 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 CreateContactList 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.

  • AlreadyExistsException The resource specified in your request already exists.

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

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

func (*SESV2) CreateContactListRequest added in v1.35.18

func (c *SESV2) CreateContactListRequest(input *CreateContactListInput) (req *request.Request, output *CreateContactListOutput)

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

func (*SESV2) CreateContactListWithContext added in v1.35.18

func (c *SESV2) CreateContactListWithContext(ctx aws.Context, input *CreateContactListInput, opts ...request.Option) (*CreateContactListOutput, error)

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

See CreateContactList 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) CreateContactRequest added in v1.35.18

func (c *SESV2) CreateContactRequest(input *CreateContactInput) (req *request.Request, output *CreateContactOutput)

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

func (*SESV2) CreateContactWithContext added in v1.35.18

func (c *SESV2) CreateContactWithContext(ctx aws.Context, input *CreateContactInput, opts ...request.Option) (*CreateContactOutput, error)

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

See CreateContact 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/dg/creating-identities.html#send-email-verify-address-custom) 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 Amazon Web Services 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 to use for DKIM authentication) and a private key.

When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.

Additionally, you can associate an existing configuration set with the email identity that you're verifying.

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.

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

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) CreateExportJob added in v1.44.334

func (c *SESV2) CreateExportJob(input *CreateExportJobInput) (*CreateExportJobOutput, error)

CreateExportJob API operation for Amazon Simple Email Service.

Creates an export job for a data source and destination.

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

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

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

Example (Shared00)

Create Metrics export job Creates a new export job for Metrics data

package main

import (
	"fmt"
	"time"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func parseTime(layout, value string) *time.Time {
	t, err := time.Parse(layout, value)
	if err != nil {
		panic(err)
	}
	return &t
}

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.CreateExportJobInput{
		ExportDataSource: &sesv2.ExportDataSource{
			MetricsDataSource: &sesv2.MetricsDataSource{
				Dimensions: map[string][]*string{
					"ISP": {
						aws.String("*"),
					},
				},
				EndDate: parseTime("2006-01-02T15:04:05.999999999Z", "2023-07-02T00:00:00"),
				Metrics: []*sesv2.ExportMetric{
					{
						Aggregation: aws.String("VOLUME"),
						Name:        aws.String("SEND"),
					},
					{
						Aggregation: aws.String("VOLUME"),
						Name:        aws.String("COMPLAINT"),
					},
					{
						Aggregation: aws.String("RATE"),
						Name:        aws.String("COMPLAINT"),
					},
				},
				Namespace: aws.String("VDM"),
				StartDate: parseTime("2006-01-02T15:04:05.999999999Z", "2023-07-01T00:00:00"),
			},
		},
		ExportDestination: &sesv2.ExportDestination{
			DataFormat: aws.String("CSV"),
		},
	}

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

	fmt.Println(result)
}
Output:

Example (Shared01)

Create Message Insights export job Creates a new export job for Message Insights data

package main

import (
	"fmt"
	"time"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func parseTime(layout, value string) *time.Time {
	t, err := time.Parse(layout, value)
	if err != nil {
		panic(err)
	}
	return &t
}

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.CreateExportJobInput{
		ExportDataSource: &sesv2.ExportDataSource{
			MessageInsightsDataSource: &sesv2.MessageInsightsDataSource{
				EndDate: parseTime("2006-01-02T15:04:05.999999999Z", "2023-07-02T00:00:00"),
				Exclude: &sesv2.MessageInsightsFilters{
					FromEmailAddress: []*string{
						aws.String("hello@example.com"),
					},
				},
				Include: &sesv2.MessageInsightsFilters{
					Subject: []*string{
						aws.String("Hello"),
					},
				},
				StartDate: parseTime("2006-01-02T15:04:05.999999999Z", "2023-07-01T00:00:00"),
			},
		},
		ExportDestination: &sesv2.ExportDestination{
			DataFormat: aws.String("CSV"),
		},
	}

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

	fmt.Println(result)
}
Output:

func (*SESV2) CreateExportJobRequest added in v1.44.334

func (c *SESV2) CreateExportJobRequest(input *CreateExportJobInput) (req *request.Request, output *CreateExportJobOutput)

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

func (*SESV2) CreateExportJobWithContext added in v1.44.334

func (c *SESV2) CreateExportJobWithContext(ctx aws.Context, input *CreateExportJobInput, opts ...request.Option) (*CreateExportJobOutput, error)

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

See CreateExportJob 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) CreateImportJob added in v1.34.7

func (c *SESV2) CreateImportJob(input *CreateImportJobInput) (*CreateImportJobOutput, error)

CreateImportJob API operation for Amazon Simple Email Service.

Creates an import job for a data 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 CreateImportJob for usage and error information.

Returned Error Types:

  • BadRequestException The input you provided is invalid.

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

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

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

func (*SESV2) CreateImportJobRequest added in v1.34.7

func (c *SESV2) CreateImportJobRequest(input *CreateImportJobInput) (req *request.Request, output *CreateImportJobOutput)

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

func (*SESV2) CreateImportJobWithContext added in v1.34.7

func (c *SESV2) CreateImportJobWithContext(ctx aws.Context, input *CreateImportJobInput, opts ...request.Option) (*CreateImportJobOutput, error)

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

See CreateImportJob 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 EventBridge and associate a rule to send the event to the specified target.

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) DeleteContact added in v1.35.18

func (c *SESV2) DeleteContact(input *DeleteContactInput) (*DeleteContactOutput, error)

DeleteContact API operation for Amazon Simple Email Service.

Removes a contact from a contact 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 DeleteContact 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/DeleteContact

func (*SESV2) DeleteContactList added in v1.35.18

func (c *SESV2) DeleteContactList(input *DeleteContactListInput) (*DeleteContactListOutput, error)

DeleteContactList API operation for Amazon Simple Email Service.

Deletes a contact list and all of the contacts on that 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 DeleteContactList 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.

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

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

func (*SESV2) DeleteContactListRequest added in v1.35.18

func (c *SESV2) DeleteContactListRequest(input *DeleteContactListInput) (req *request.Request, output *DeleteContactListOutput)

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

func (*SESV2) DeleteContactListWithContext added in v1.35.18

func (c *SESV2) DeleteContactListWithContext(ctx aws.Context, input *DeleteContactListInput, opts ...request.Option) (*DeleteContactListOutput, error)

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

See DeleteContactList 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) DeleteContactRequest added in v1.35.18

func (c *SESV2) DeleteContactRequest(input *DeleteContactInput) (req *request.Request, output *DeleteContactOutput)

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

func (*SESV2) DeleteContactWithContext added in v1.35.18

func (c *SESV2) DeleteContactWithContext(ctx aws.Context, input *DeleteContactInput, opts ...request.Option) (*DeleteContactOutput, error)

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

See DeleteContact 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/ses/latest/dg/creating-identities.html#send-email-verify-address-custom) 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 Amazon Web Services 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 EventBridge and associate a rule to send the event to the specified target.

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) GetContact added in v1.35.18

func (c *SESV2) GetContact(input *GetContactInput) (*GetContactOutput, error)

GetContact API operation for Amazon Simple Email Service.

Returns a contact from a contact 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 GetContact 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/GetContact

func (*SESV2) GetContactList added in v1.35.18

func (c *SESV2) GetContactList(input *GetContactListInput) (*GetContactListOutput, error)

GetContactList API operation for Amazon Simple Email Service.

Returns contact list metadata. It does not return any information about the contacts present in the 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 GetContactList 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/GetContactList

func (*SESV2) GetContactListRequest added in v1.35.18

func (c *SESV2) GetContactListRequest(input *GetContactListInput) (req *request.Request, output *GetContactListOutput)

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

func (*SESV2) GetContactListWithContext added in v1.35.18

func (c *SESV2) GetContactListWithContext(ctx aws.Context, input *GetContactListInput, opts ...request.Option) (*GetContactListOutput, error)

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

See GetContactList 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) GetContactRequest added in v1.35.18

func (c *SESV2) GetContactRequest(input *GetContactInput) (req *request.Request, output *GetContactOutput)

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

func (*SESV2) GetContactWithContext added in v1.35.18

func (c *SESV2) GetContactWithContext(ctx aws.Context, input *GetContactInput, opts ...request.Option) (*GetContactOutput, error)

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

See GetContact 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/dg/creating-identities.html#send-email-verify-address-custom) 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) GetDedicatedIpPool added in v1.44.118

func (c *SESV2) GetDedicatedIpPool(input *GetDedicatedIpPoolInput) (*GetDedicatedIpPoolOutput, error)

GetDedicatedIpPool API operation for Amazon Simple Email Service.

Retrieve information about the dedicated 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 GetDedicatedIpPool 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/GetDedicatedIpPool

func (*SESV2) GetDedicatedIpPoolRequest added in v1.44.118

func (c *SESV2) GetDedicatedIpPoolRequest(input *GetDedicatedIpPoolInput) (req *request.Request, output *GetDedicatedIpPoolOutput)

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

func (*SESV2) GetDedicatedIpPoolWithContext added in v1.44.118

func (c *SESV2) GetDedicatedIpPoolWithContext(ctx aws.Context, input *GetDedicatedIpPoolInput, opts ...request.Option) (*GetDedicatedIpPoolOutput, error)

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

See GetDedicatedIpPool 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) 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 Amazon Web Services 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 Amazon Web Services 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) GetExportJob added in v1.44.334

func (c *SESV2) GetExportJob(input *GetExportJobInput) (*GetExportJobOutput, error)

GetExportJob API operation for Amazon Simple Email Service.

Provides information about an export job.

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

Example (Shared00)

Get export job Gets the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.GetExportJobInput{
		JobId: aws.String("ef28cf62-9d8e-4b60-9283-b09816c99a99"),
	}

	result, err := svc.GetExportJob(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case sesv2.ErrCodeBadRequestException:
				fmt.Println(sesv2.ErrCodeBadRequestException, aerr.Error())
			case sesv2.ErrCodeNotFoundException:
				fmt.Println(sesv2.ErrCodeNotFoundException, aerr.Error())
			case sesv2.ErrCodeTooManyRequestsException:
				fmt.Println(sesv2.ErrCodeTooManyRequestsException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*SESV2) GetExportJobRequest added in v1.44.334

func (c *SESV2) GetExportJobRequest(input *GetExportJobInput) (req *request.Request, output *GetExportJobOutput)

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

func (*SESV2) GetExportJobWithContext added in v1.44.334

func (c *SESV2) GetExportJobWithContext(ctx aws.Context, input *GetExportJobInput, opts ...request.Option) (*GetExportJobOutput, error)

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

See GetExportJob 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) GetImportJob added in v1.34.7

func (c *SESV2) GetImportJob(input *GetImportJobInput) (*GetImportJobOutput, error)

GetImportJob API operation for Amazon Simple Email Service.

Provides information about an import job.

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

func (*SESV2) GetImportJobRequest added in v1.34.7

func (c *SESV2) GetImportJobRequest(input *GetImportJobInput) (req *request.Request, output *GetImportJobOutput)

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

func (*SESV2) GetImportJobWithContext added in v1.34.7

func (c *SESV2) GetImportJobWithContext(ctx aws.Context, input *GetImportJobInput, opts ...request.Option) (*GetImportJobOutput, error)

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

See GetImportJob 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) GetMessageInsights added in v1.44.334

func (c *SESV2) GetMessageInsights(input *GetMessageInsightsInput) (*GetMessageInsightsOutput, error)

GetMessageInsights API operation for Amazon Simple Email Service.

Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.

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

Example (Shared00)

Get Message Insights Provides information about a specific message.

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.GetMessageInsightsInput{
		MessageId: aws.String("000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000"),
	}

	result, err := svc.GetMessageInsights(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case sesv2.ErrCodeNotFoundException:
				fmt.Println(sesv2.ErrCodeNotFoundException, aerr.Error())
			case sesv2.ErrCodeTooManyRequestsException:
				fmt.Println(sesv2.ErrCodeTooManyRequestsException, aerr.Error())
			case sesv2.ErrCodeBadRequestException:
				fmt.Println(sesv2.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*SESV2) GetMessageInsightsRequest added in v1.44.334

func (c *SESV2) GetMessageInsightsRequest(input *GetMessageInsightsInput) (req *request.Request, output *GetMessageInsightsOutput)

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

func (*SESV2) GetMessageInsightsWithContext added in v1.44.334

func (c *SESV2) GetMessageInsightsWithContext(ctx aws.Context, input *GetMessageInsightsInput, opts ...request.Option) (*GetMessageInsightsOutput, error)

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

See GetMessageInsights 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) ListContactLists added in v1.35.18

func (c *SESV2) ListContactLists(input *ListContactListsInput) (*ListContactListsOutput, error)

ListContactLists API operation for Amazon Simple Email Service.

Lists all of the contact lists available.

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

func (*SESV2) ListContactListsPages added in v1.35.18

func (c *SESV2) ListContactListsPages(input *ListContactListsInput, fn func(*ListContactListsOutput, bool) bool) error

ListContactListsPages iterates over the pages of a ListContactLists operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListContactLists 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 ListContactLists operation.
pageNum := 0
err := client.ListContactListsPages(params,
    func(page *sesv2.ListContactListsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListContactListsPagesWithContext added in v1.35.18

func (c *SESV2) ListContactListsPagesWithContext(ctx aws.Context, input *ListContactListsInput, fn func(*ListContactListsOutput, bool) bool, opts ...request.Option) error

ListContactListsPagesWithContext same as ListContactListsPages 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) ListContactListsRequest added in v1.35.18

func (c *SESV2) ListContactListsRequest(input *ListContactListsInput) (req *request.Request, output *ListContactListsOutput)

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

func (*SESV2) ListContactListsWithContext added in v1.35.18

func (c *SESV2) ListContactListsWithContext(ctx aws.Context, input *ListContactListsInput, opts ...request.Option) (*ListContactListsOutput, error)

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

See ListContactLists 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) ListContacts added in v1.35.18

func (c *SESV2) ListContacts(input *ListContactsInput) (*ListContactsOutput, error)

ListContacts API operation for Amazon Simple Email Service.

Lists the contacts present in a specific contact 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 ListContacts 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/ListContacts

func (*SESV2) ListContactsPages added in v1.35.18

func (c *SESV2) ListContactsPages(input *ListContactsInput, fn func(*ListContactsOutput, bool) bool) error

ListContactsPages iterates over the pages of a ListContacts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListContacts 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 ListContacts operation.
pageNum := 0
err := client.ListContactsPages(params,
    func(page *sesv2.ListContactsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListContactsPagesWithContext added in v1.35.18

func (c *SESV2) ListContactsPagesWithContext(ctx aws.Context, input *ListContactsInput, fn func(*ListContactsOutput, bool) bool, opts ...request.Option) error

ListContactsPagesWithContext same as ListContactsPages 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) ListContactsRequest added in v1.35.18

func (c *SESV2) ListContactsRequest(input *ListContactsInput) (req *request.Request, output *ListContactsOutput)

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

func (*SESV2) ListContactsWithContext added in v1.35.18

func (c *SESV2) ListContactsWithContext(ctx aws.Context, input *ListContactsInput, opts ...request.Option) (*ListContactsOutput, error)

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

See ListContacts 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 Amazon Web Services Region.

For more information about custom verification email templates, see Using custom verification email templates (https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom) 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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) ListExportJobs added in v1.44.334

func (c *SESV2) ListExportJobs(input *ListExportJobsInput) (*ListExportJobsOutput, error)

ListExportJobs API operation for Amazon Simple Email Service.

Lists all of the export jobs.

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

Example (Shared00)

List export jobs Lists export jobs of type METRICS_DATA and status PROCESSING

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.ListExportJobsInput{
		ExportSourceType: aws.String("METRICS_DATA"),
		JobStatus:        aws.String("PROCESSING"),
		PageSize:         aws.Int64(25),
	}

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

	fmt.Println(result)
}
Output:

func (*SESV2) ListExportJobsPages added in v1.44.334

func (c *SESV2) ListExportJobsPages(input *ListExportJobsInput, fn func(*ListExportJobsOutput, bool) bool) error

ListExportJobsPages iterates over the pages of a ListExportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListExportJobs 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 ListExportJobs operation.
pageNum := 0
err := client.ListExportJobsPages(params,
    func(page *sesv2.ListExportJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListExportJobsPagesWithContext added in v1.44.334

func (c *SESV2) ListExportJobsPagesWithContext(ctx aws.Context, input *ListExportJobsInput, fn func(*ListExportJobsOutput, bool) bool, opts ...request.Option) error

ListExportJobsPagesWithContext same as ListExportJobsPages 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) ListExportJobsRequest added in v1.44.334

func (c *SESV2) ListExportJobsRequest(input *ListExportJobsInput) (req *request.Request, output *ListExportJobsOutput)

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

func (*SESV2) ListExportJobsWithContext added in v1.44.334

func (c *SESV2) ListExportJobsWithContext(ctx aws.Context, input *ListExportJobsInput, opts ...request.Option) (*ListExportJobsOutput, error)

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

See ListExportJobs 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) ListImportJobs added in v1.34.7

func (c *SESV2) ListImportJobs(input *ListImportJobsInput) (*ListImportJobsOutput, error)

ListImportJobs API operation for Amazon Simple Email Service.

Lists all of the import jobs.

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

func (*SESV2) ListImportJobsPages added in v1.34.7

func (c *SESV2) ListImportJobsPages(input *ListImportJobsInput, fn func(*ListImportJobsOutput, bool) bool) error

ListImportJobsPages iterates over the pages of a ListImportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImportJobs 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 ListImportJobs operation.
pageNum := 0
err := client.ListImportJobsPages(params,
    func(page *sesv2.ListImportJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListImportJobsPagesWithContext added in v1.34.7

func (c *SESV2) ListImportJobsPagesWithContext(ctx aws.Context, input *ListImportJobsInput, fn func(*ListImportJobsOutput, bool) bool, opts ...request.Option) error

ListImportJobsPagesWithContext same as ListImportJobsPages 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) ListImportJobsRequest added in v1.34.7

func (c *SESV2) ListImportJobsRequest(input *ListImportJobsInput) (req *request.Request, output *ListImportJobsOutput)

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

func (*SESV2) ListImportJobsWithContext added in v1.34.7

func (c *SESV2) ListImportJobsWithContext(ctx aws.Context, input *ListImportJobsInput, opts ...request.Option) (*ListImportJobsOutput, error)

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

See ListImportJobs 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) ListRecommendations added in v1.44.127

func (c *SESV2) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)

ListRecommendations API operation for Amazon Simple Email Service.

Lists the recommendations present in your Amazon SES account in the current Amazon Web Services 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 ListRecommendations 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/ListRecommendations

func (*SESV2) ListRecommendationsPages added in v1.44.127

func (c *SESV2) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error

ListRecommendationsPages iterates over the pages of a ListRecommendations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRecommendations 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 ListRecommendations operation.
pageNum := 0
err := client.ListRecommendationsPages(params,
    func(page *sesv2.ListRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SESV2) ListRecommendationsPagesWithContext added in v1.44.127

func (c *SESV2) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool, opts ...request.Option) error

ListRecommendationsPagesWithContext same as ListRecommendationsPages 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) ListRecommendationsRequest added in v1.44.127

func (c *SESV2) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)

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

func (*SESV2) ListRecommendationsWithContext added in v1.44.127

func (c *SESV2) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)

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

See ListRecommendations 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) PutAccountVdmAttributes added in v1.44.127

func (c *SESV2) PutAccountVdmAttributes(input *PutAccountVdmAttributesInput) (*PutAccountVdmAttributesOutput, error)

PutAccountVdmAttributes API operation for Amazon Simple Email Service.

Update your Amazon SES account VDM attributes.

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

func (*SESV2) PutAccountVdmAttributesRequest added in v1.44.127

func (c *SESV2) PutAccountVdmAttributesRequest(input *PutAccountVdmAttributesInput) (req *request.Request, output *PutAccountVdmAttributesOutput)

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

func (*SESV2) PutAccountVdmAttributesWithContext added in v1.44.127

func (c *SESV2) PutAccountVdmAttributesWithContext(ctx aws.Context, input *PutAccountVdmAttributesInput, opts ...request.Option) (*PutAccountVdmAttributesOutput, error)

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

See PutAccountVdmAttributes 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 Amazon Web Services 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 Amazon Web Services 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) PutConfigurationSetVdmOptions added in v1.44.127

func (c *SESV2) PutConfigurationSetVdmOptions(input *PutConfigurationSetVdmOptionsInput) (*PutConfigurationSetVdmOptionsOutput, error)

PutConfigurationSetVdmOptions API operation for Amazon Simple Email Service.

Specify VDM preferences for email that you send using the configuration set.

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

func (*SESV2) PutConfigurationSetVdmOptionsRequest added in v1.44.127

func (c *SESV2) PutConfigurationSetVdmOptionsRequest(input *PutConfigurationSetVdmOptionsInput) (req *request.Request, output *PutConfigurationSetVdmOptionsOutput)

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

func (*SESV2) PutConfigurationSetVdmOptionsWithContext added in v1.44.127

func (c *SESV2) PutConfigurationSetVdmOptionsWithContext(ctx aws.Context, input *PutConfigurationSetVdmOptionsInput, opts ...request.Option) (*PutConfigurationSetVdmOptionsOutput, error)

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

See PutConfigurationSetVdmOptions 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 Amazon Web Services 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) PutDedicatedIpPoolScalingAttributes added in v1.44.266

func (c *SESV2) PutDedicatedIpPoolScalingAttributes(input *PutDedicatedIpPoolScalingAttributesInput) (*PutDedicatedIpPoolScalingAttributesOutput, error)

PutDedicatedIpPoolScalingAttributes API operation for Amazon Simple Email Service.

Used to convert a dedicated IP pool to a different scaling mode.

MANAGED pools cannot be converted to STANDARD scaling mode.

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

Returned Error Types:

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

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

  • 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/PutDedicatedIpPoolScalingAttributes

Example (Shared00)

Used to convert a dedicated IP pool to a different scaling mode. This example converts a dedicated IP pool from STANDARD to MANAGED.

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/sesv2"
)

func main() {
	svc := sesv2.New(session.New())
	input := &sesv2.PutDedicatedIpPoolScalingAttributesInput{
		PoolName:    aws.String("sample-ses-pool"),
		ScalingMode: aws.String("MANAGED"),
	}

	result, err := svc.PutDedicatedIpPoolScalingAttributes(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case sesv2.ErrCodeNotFoundException:
				fmt.Println(sesv2.ErrCodeNotFoundException, aerr.Error())
			case sesv2.ErrCodeConcurrentModificationException:
				fmt.Println(sesv2.ErrCodeConcurrentModificationException, aerr.Error())
			case sesv2.ErrCodeTooManyRequestsException:
				fmt.Println(sesv2.ErrCodeTooManyRequestsException, aerr.Error())
			case sesv2.ErrCodeBadRequestException:
				fmt.Println(sesv2.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*SESV2) PutDedicatedIpPoolScalingAttributesRequest added in v1.44.266

func (c *SESV2) PutDedicatedIpPoolScalingAttributesRequest(input *PutDedicatedIpPoolScalingAttributesInput) (req *request.Request, output *PutDedicatedIpPoolScalingAttributesOutput)

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

func (*SESV2) PutDedicatedIpPoolScalingAttributesWithContext added in v1.44.266

func (c *SESV2) PutDedicatedIpPoolScalingAttributesWithContext(ctx aws.Context, input *PutDedicatedIpPoolScalingAttributesInput, opts ...request.Option) (*PutDedicatedIpPoolScalingAttributesOutput, error)

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

See PutDedicatedIpPoolScalingAttributes 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 Amazon Web Services 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) PutEmailIdentityConfigurationSetAttributes added in v1.36.33

func (c *SESV2) PutEmailIdentityConfigurationSetAttributes(input *PutEmailIdentityConfigurationSetAttributesInput) (*PutEmailIdentityConfigurationSetAttributesOutput, error)

PutEmailIdentityConfigurationSetAttributes API operation for Amazon Simple Email Service.

Used to associate a configuration set with 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 PutEmailIdentityConfigurationSetAttributes 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/PutEmailIdentityConfigurationSetAttributes

func (*SESV2) PutEmailIdentityConfigurationSetAttributesRequest added in v1.36.33

func (c *SESV2) PutEmailIdentityConfigurationSetAttributesRequest(input *PutEmailIdentityConfigurationSetAttributesInput) (req *request.Request, output *PutEmailIdentityConfigurationSetAttributesOutput)

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

func (*SESV2) PutEmailIdentityConfigurationSetAttributesWithContext added in v1.36.33

func (c *SESV2) PutEmailIdentityConfigurationSetAttributesWithContext(ctx aws.Context, input *PutEmailIdentityConfigurationSetAttributesInput, opts ...request.Option) (*PutEmailIdentityConfigurationSetAttributesOutput, error)

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

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

  • Update the key length that should be used for Easy DKIM.

  • 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 Amazon Web Services 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/dg/creating-identities.html#send-email-verify-address-custom) 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 the following 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 EventBridge and associate a rule to send the event to the specified target.

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) UpdateContact added in v1.35.18

func (c *SESV2) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error)

UpdateContact API operation for Amazon Simple Email Service.

Updates a contact's preferences for a list.

You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed.

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

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

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

func (*SESV2) UpdateContactList added in v1.35.18

func (c *SESV2) UpdateContactList(input *UpdateContactListInput) (*UpdateContactListOutput, error)

UpdateContactList API operation for Amazon Simple Email Service.

Updates contact list metadata. This operation does a complete replacement.

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

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

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

func (*SESV2) UpdateContactListRequest added in v1.35.18

func (c *SESV2) UpdateContactListRequest(input *UpdateContactListInput) (req *request.Request, output *UpdateContactListOutput)

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

func (*SESV2) UpdateContactListWithContext added in v1.35.18

func (c *SESV2) UpdateContactListWithContext(ctx aws.Context, input *UpdateContactListInput, opts ...request.Option) (*UpdateContactListOutput, error)

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

See UpdateContactList 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) UpdateContactRequest added in v1.35.18

func (c *SESV2) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput)

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

func (*SESV2) UpdateContactWithContext added in v1.35.18

func (c *SESV2) UpdateContactWithContext(ctx aws.Context, input *UpdateContactInput, opts ...request.Option) (*UpdateContactOutput, error)

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

See UpdateContact 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/dg/creating-identities.html#send-email-verify-address-custom) 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 SOARecord added in v1.45.26

type SOARecord struct {

	// Administrative contact email from the SOA record.
	AdminEmail *string `type:"string"`

	// Primary name server specified in the SOA record.
	PrimaryNameServer *string `type:"string"`

	// Serial number from the SOA record.
	SerialNumber *int64 `type:"long"`
	// contains filtered or unexported fields
}

An object that contains information about the start of authority (SOA) record associated with the identity.

func (SOARecord) GoString added in v1.45.26

func (s SOARecord) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SOARecord) SetAdminEmail added in v1.45.26

func (s *SOARecord) SetAdminEmail(v string) *SOARecord

SetAdminEmail sets the AdminEmail field's value.

func (*SOARecord) SetPrimaryNameServer added in v1.45.26

func (s *SOARecord) SetPrimaryNameServer(v string) *SOARecord

SetPrimaryNameServer sets the PrimaryNameServer field's value.

func (*SOARecord) SetSerialNumber added in v1.45.26

func (s *SOARecord) SetSerialNumber(v int64) *SOARecord

SetSerialNumber sets the SerialNumber field's value.

func (SOARecord) String added in v1.45.26

func (s SOARecord) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// One object per intended recipient. Check each response object and retry any
	// messages with a failure status.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendEmailInput

type SendEmailInput struct {

	// The name of the configuration set 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 Templated 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 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"`

	// An object used to specify a list or topic to which an email belongs, which
	// will be used when a contact chooses to unsubscribe.
	ListManagementOptions *ListManagementOptions `type:"structure"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetListManagementOptions added in v1.35.18

func (s *SendEmailInput) SetListManagementOptions(v *ListManagementOptions) *SendEmailInput

SetListManagementOptions sets the ListManagementOptions 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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. For
	// example, this can happen when the message that you're trying to send has
	// an attachment that contains a virus, or when you send a templated email that
	// contains invalid personalization content.
	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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendQuota

type SendQuota struct {

	// The maximum number of emails that you can send in the current Amazon Web
	// Services Region over a 24-hour period. A value of -1 signifies an unlimited
	// quota. (This value is also referred to as your sending quota.)
	Max24HourSend *float64 `type:"double"`

	// The maximum number of emails that you can send per second in the current
	// Amazon Web Services 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 Amazon
	// Web Services 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 Amazon Web Services Region.

func (SendQuota) GoString

func (s SendQuota) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services Region.

func (SendingOptions) GoString

func (s SendingOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SnsDestination

type SnsDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon SNS topic 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 notifications when certain email events occur.

func (SnsDestination) GoString

func (s SnsDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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" enum:"SuppressionListReason"`
	// contains filtered or unexported fields
}

An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.

func (SuppressionAttributes) GoString added in v1.25.42

func (s SuppressionAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SuppressionListDestination added in v1.34.7

type SuppressionListDestination struct {

	// The type of action to perform on the address. The following are possible
	// values:
	//
	//    * PUT: add the addresses to the suppression list. If the record already
	//    exists, it will override it with the new value.
	//
	//    * DELETE: remove the addresses from the suppression list.
	//
	// SuppressionListImportAction is a required field
	SuppressionListImportAction *string `type:"string" required:"true" enum:"SuppressionListImportAction"`
	// contains filtered or unexported fields
}

An object that contains details about the action of suppression list.

func (SuppressionListDestination) GoString added in v1.34.7

func (s SuppressionListDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SuppressionListDestination) SetSuppressionListImportAction added in v1.34.7

func (s *SuppressionListDestination) SetSuppressionListImportAction(v string) *SuppressionListDestination

SetSuppressionListImportAction sets the SuppressionListImportAction field's value.

func (SuppressionListDestination) String added in v1.34.7

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SuppressionListDestination) Validate added in v1.34.7

func (s *SuppressionListDestination) Validate() error

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

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" enum:"SuppressionListReason"`
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Amazon Web Services; 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 Amazon Web Services account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified Amazon Web Services Region for your Amazon Web Services account.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Template

type Template struct {

	// The list of message headers that will be added to the email message.
	Headers []*MessageHeader `type:"list"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Template) SetHeaders added in v1.50.32

func (s *Template) SetHeaders(v []*MessageHeader) *Template

SetHeaders sets the Headers field's value.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Topic added in v1.35.18

type Topic struct {

	// The default subscription status to be applied to a contact if the contact
	// has not noted their preference for subscribing to a topic.
	//
	// DefaultSubscriptionStatus is a required field
	DefaultSubscriptionStatus *string `type:"string" required:"true" enum:"SubscriptionStatus"`

	// A description of what the topic is about, which the contact will see.
	Description *string `type:"string"`

	// The name of the topic the contact will see.
	//
	// DisplayName is a required field
	DisplayName *string `type:"string" required:"true"`

	// The name of the topic.
	//
	// TopicName is a required field
	TopicName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An interest group, theme, or label within a list. Lists can have multiple topics.

func (Topic) GoString added in v1.35.18

func (s Topic) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Topic) SetDefaultSubscriptionStatus added in v1.35.18

func (s *Topic) SetDefaultSubscriptionStatus(v string) *Topic

SetDefaultSubscriptionStatus sets the DefaultSubscriptionStatus field's value.

func (*Topic) SetDescription added in v1.35.18

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

SetDescription sets the Description field's value.

func (*Topic) SetDisplayName added in v1.35.18

func (s *Topic) SetDisplayName(v string) *Topic

SetDisplayName sets the DisplayName field's value.

func (*Topic) SetTopicName added in v1.35.18

func (s *Topic) SetTopicName(v string) *Topic

SetTopicName sets the TopicName field's value.

func (Topic) String added in v1.35.18

func (s Topic) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Topic) Validate added in v1.35.18

func (s *Topic) Validate() error

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

type TopicFilter added in v1.35.18

type TopicFilter struct {

	// The name of a topic on which you wish to apply the filter.
	TopicName *string `type:"string"`

	// Notes that the default subscription status should be applied to a contact
	// because the contact has not noted their preference for subscribing to a topic.
	UseDefaultIfPreferenceUnavailable *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Used for filtering by a specific topic preference.

func (TopicFilter) GoString added in v1.35.18

func (s TopicFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TopicFilter) SetTopicName added in v1.35.18

func (s *TopicFilter) SetTopicName(v string) *TopicFilter

SetTopicName sets the TopicName field's value.

func (*TopicFilter) SetUseDefaultIfPreferenceUnavailable added in v1.35.18

func (s *TopicFilter) SetUseDefaultIfPreferenceUnavailable(v bool) *TopicFilter

SetUseDefaultIfPreferenceUnavailable sets the UseDefaultIfPreferenceUnavailable field's value.

func (TopicFilter) String added in v1.35.18

func (s TopicFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TopicPreference added in v1.35.18

type TopicPreference struct {

	// The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
	//
	// SubscriptionStatus is a required field
	SubscriptionStatus *string `type:"string" required:"true" enum:"SubscriptionStatus"`

	// The name of the topic.
	//
	// TopicName is a required field
	TopicName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The contact's preference for being opted-in to or opted-out of a topic.

func (TopicPreference) GoString added in v1.35.18

func (s TopicPreference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TopicPreference) SetSubscriptionStatus added in v1.35.18

func (s *TopicPreference) SetSubscriptionStatus(v string) *TopicPreference

SetSubscriptionStatus sets the SubscriptionStatus field's value.

func (*TopicPreference) SetTopicName added in v1.35.18

func (s *TopicPreference) SetTopicName(v string) *TopicPreference

SetTopicName sets the TopicName field's value.

func (TopicPreference) String added in v1.35.18

func (s TopicPreference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TopicPreference) Validate added in v1.35.18

func (s *TopicPreference) Validate() error

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

type TrackingOptions

type TrackingOptions struct {

	// The domain 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 Amazon Web Services. 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateConfigurationSetEventDestinationInput

type UpdateConfigurationSetEventDestinationInput struct {

	// The name of the configuration set that contains the event destination 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.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateConfigurationSetEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateContactInput added in v1.35.18

type UpdateContactInput struct {

	// The attribute data attached to a contact.
	AttributesData *string `type:"string"`

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

	// The contact's email address.
	//
	// EmailAddress is a required field
	EmailAddress *string `location:"uri" locationName:"EmailAddress" type:"string" required:"true"`

	// The contact's preference for being opted-in to or opted-out of a topic.
	TopicPreferences []*TopicPreference `type:"list"`

	// A boolean value status noting if the contact is unsubscribed from all contact
	// list topics.
	UnsubscribeAll *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateContactInput) GoString added in v1.35.18

func (s UpdateContactInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateContactInput) SetAttributesData added in v1.35.18

func (s *UpdateContactInput) SetAttributesData(v string) *UpdateContactInput

SetAttributesData sets the AttributesData field's value.

func (*UpdateContactInput) SetContactListName added in v1.35.18

func (s *UpdateContactInput) SetContactListName(v string) *UpdateContactInput

SetContactListName sets the ContactListName field's value.

func (*UpdateContactInput) SetEmailAddress added in v1.35.18

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

SetEmailAddress sets the EmailAddress field's value.

func (*UpdateContactInput) SetTopicPreferences added in v1.35.18

func (s *UpdateContactInput) SetTopicPreferences(v []*TopicPreference) *UpdateContactInput

SetTopicPreferences sets the TopicPreferences field's value.

func (*UpdateContactInput) SetUnsubscribeAll added in v1.35.18

func (s *UpdateContactInput) SetUnsubscribeAll(v bool) *UpdateContactInput

SetUnsubscribeAll sets the UnsubscribeAll field's value.

func (UpdateContactInput) String added in v1.35.18

func (s UpdateContactInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateContactInput) Validate added in v1.35.18

func (s *UpdateContactInput) Validate() error

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

type UpdateContactListInput added in v1.35.18

type UpdateContactListInput struct {

	// The name of the contact list.
	//
	// ContactListName is a required field
	ContactListName *string `location:"uri" locationName:"ContactListName" type:"string" required:"true"`

	// A description of what the contact list is about.
	Description *string `type:"string"`

	// An interest group, theme, or label within a list. A contact list can have
	// multiple topics.
	Topics []*Topic `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateContactListInput) GoString added in v1.35.18

func (s UpdateContactListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateContactListInput) SetContactListName added in v1.35.18

func (s *UpdateContactListInput) SetContactListName(v string) *UpdateContactListInput

SetContactListName sets the ContactListName field's value.

func (*UpdateContactListInput) SetDescription added in v1.35.18

SetDescription sets the Description field's value.

func (*UpdateContactListInput) SetTopics added in v1.35.18

SetTopics sets the Topics field's value.

func (UpdateContactListInput) String added in v1.35.18

func (s UpdateContactListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateContactListInput) Validate added in v1.35.18

func (s *UpdateContactListInput) Validate() error

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

type UpdateContactListOutput added in v1.35.18

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

func (UpdateContactListOutput) GoString added in v1.35.18

func (s UpdateContactListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateContactListOutput) String added in v1.35.18

func (s UpdateContactListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateContactOutput added in v1.35.18

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

func (UpdateContactOutput) GoString added in v1.35.18

func (s UpdateContactOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateContactOutput) String added in v1.35.18

func (s UpdateContactOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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/dg/creating-identities.html#send-email-verify-address-custom-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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateCustomVerificationEmailTemplateOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateEmailIdentityPolicyInput added in v1.33.16

type UpdateEmailIdentityPolicyInput struct {

	// The email identity.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateEmailIdentityPolicyOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateEmailTemplateOutput) String added in v1.33.16

func (s UpdateEmailTemplateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VdmAttributes added in v1.44.127

type VdmAttributes struct {

	// Specifies additional settings for your VDM configuration as applicable to
	// the Dashboard.
	DashboardAttributes *DashboardAttributes `type:"structure"`

	// Specifies additional settings for your VDM configuration as applicable to
	// the Guardian.
	GuardianAttributes *GuardianAttributes `type:"structure"`

	// Specifies the status of your VDM configuration. Can be one of the following:
	//
	//    * ENABLED – Amazon SES enables VDM for your account.
	//
	//    * DISABLED – Amazon SES disables VDM for your account.
	//
	// VdmEnabled is a required field
	VdmEnabled *string `type:"string" required:"true" enum:"FeatureStatus"`
	// contains filtered or unexported fields
}

The VDM attributes that apply to your Amazon SES account.

func (VdmAttributes) GoString added in v1.44.127

func (s VdmAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VdmAttributes) SetDashboardAttributes added in v1.44.127

func (s *VdmAttributes) SetDashboardAttributes(v *DashboardAttributes) *VdmAttributes

SetDashboardAttributes sets the DashboardAttributes field's value.

func (*VdmAttributes) SetGuardianAttributes added in v1.44.127

func (s *VdmAttributes) SetGuardianAttributes(v *GuardianAttributes) *VdmAttributes

SetGuardianAttributes sets the GuardianAttributes field's value.

func (*VdmAttributes) SetVdmEnabled added in v1.44.127

func (s *VdmAttributes) SetVdmEnabled(v string) *VdmAttributes

SetVdmEnabled sets the VdmEnabled field's value.

func (VdmAttributes) String added in v1.44.127

func (s VdmAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VdmAttributes) Validate added in v1.44.127

func (s *VdmAttributes) Validate() error

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

type VdmOptions added in v1.44.127

type VdmOptions struct {

	// Specifies additional settings for your VDM configuration as applicable to
	// the Dashboard.
	DashboardOptions *DashboardOptions `type:"structure"`

	// Specifies additional settings for your VDM configuration as applicable to
	// the Guardian.
	GuardianOptions *GuardianOptions `type:"structure"`
	// contains filtered or unexported fields
}

An object that defines the VDM settings that apply to emails that you send using the configuration set.

func (VdmOptions) GoString added in v1.44.127

func (s VdmOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VdmOptions) SetDashboardOptions added in v1.44.127

func (s *VdmOptions) SetDashboardOptions(v *DashboardOptions) *VdmOptions

SetDashboardOptions sets the DashboardOptions field's value.

func (*VdmOptions) SetGuardianOptions added in v1.44.127

func (s *VdmOptions) SetGuardianOptions(v *GuardianOptions) *VdmOptions

SetGuardianOptions sets the GuardianOptions field's value.

func (VdmOptions) String added in v1.44.127

func (s VdmOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VerificationInfo added in v1.45.26

type VerificationInfo struct {

	// Provides the reason for the failure describing why Amazon SES was not able
	// to successfully verify the identity. Below are the possible values:
	//
	//    * INVALID_VALUE – Amazon SES was able to find the record, but the value
	//    contained within the record was invalid. Ensure you have published the
	//    correct values for the record.
	//
	//    * TYPE_NOT_FOUND – The queried hostname exists but does not have the
	//    requested type of DNS record. Ensure that you have published the correct
	//    type of DNS record.
	//
	//    * HOST_NOT_FOUND – The queried hostname does not exist or was not reachable
	//    at the time of the request. Ensure that you have published the required
	//    DNS record(s).
	//
	//    * SERVICE_ERROR – A temporary issue is preventing Amazon SES from determining
	//    the verification status of the domain.
	//
	//    * DNS_SERVER_ERROR – The DNS server encountered an issue and was unable
	//    to complete the request.
	ErrorType *string `type:"string" enum:"VerificationError"`

	// The last time a verification attempt was made for this identity.
	LastCheckedTimestamp *time.Time `type:"timestamp"`

	// The last time a successful verification was made for this identity.
	LastSuccessTimestamp *time.Time `type:"timestamp"`

	// An object that contains information about the start of authority (SOA) record
	// associated with the identity.
	SOARecord *SOARecord `type:"structure"`
	// contains filtered or unexported fields
}

An object that contains additional information about the verification status for the identity.

func (VerificationInfo) GoString added in v1.45.26

func (s VerificationInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerificationInfo) SetErrorType added in v1.45.26

func (s *VerificationInfo) SetErrorType(v string) *VerificationInfo

SetErrorType sets the ErrorType field's value.

func (*VerificationInfo) SetLastCheckedTimestamp added in v1.45.26

func (s *VerificationInfo) SetLastCheckedTimestamp(v time.Time) *VerificationInfo

SetLastCheckedTimestamp sets the LastCheckedTimestamp field's value.

func (*VerificationInfo) SetLastSuccessTimestamp added in v1.45.26

func (s *VerificationInfo) SetLastSuccessTimestamp(v time.Time) *VerificationInfo

SetLastSuccessTimestamp sets the LastSuccessTimestamp field's value.

func (*VerificationInfo) SetSOARecord added in v1.45.26

func (s *VerificationInfo) SetSOARecord(v *SOARecord) *VerificationInfo

SetSOARecord sets the SOARecord field's value.

func (VerificationInfo) String added in v1.45.26

func (s VerificationInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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