pinpointemail

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Overview

Package pinpointemail provides the client and types for making API requests to Amazon Pinpoint Email Service.

This document contains reference information for the Amazon Pinpoint (https://aws.amazon.com/pinpoint) Email API, version 1.0. This document is best used in conjunction with the Amazon Pinpoint Developer Guide (https://docs.aws.amazon.com/pinpoint/latest/developerguide/welcome.html).

The Amazon Pinpoint Email API is available in the US East (N. Virginia), US West (Oregon), EU (Frankfurt), and EU (Ireland) Regions at the following endpoints:

  • US East (N. Virginia): email.us-east-1.amazonaws.com

  • US West (Oregon): email.us-west-2.amazonaws.com

  • EU (Frankfurt): email.eu-central-1.amazonaws.com

  • EU (Ireland): email.eu-west-1.amazonaws.com

See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26 for more information on this service.

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

Using the Client

To Amazon Pinpoint 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 Pinpoint Email Service client PinpointEmail for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointemail/#New

Index

Constants

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"

	// 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 = "email"     // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BehaviorOnMxFailure

type BehaviorOnMxFailure string

The action that you want Amazon Pinpoint to take if it can't read the required MX record for a custom MAIL FROM domain. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint 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.

const (
	BehaviorOnMxFailureUseDefaultValue BehaviorOnMxFailure = "USE_DEFAULT_VALUE"
	BehaviorOnMxFailureRejectMessage   BehaviorOnMxFailure = "REJECT_MESSAGE"
)

Enum values for BehaviorOnMxFailure

func (BehaviorOnMxFailure) MarshalValue

func (enum BehaviorOnMxFailure) MarshalValue() (string, error)

func (BehaviorOnMxFailure) MarshalValueBuf

func (enum BehaviorOnMxFailure) MarshalValueBuf(b []byte) ([]byte, error)

type BlacklistEntry added in v0.7.0

type BlacklistEntry struct {

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

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

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/BlacklistEntry

func (BlacklistEntry) GoString added in v0.7.0

func (s BlacklistEntry) GoString() string

GoString returns the string representation

func (BlacklistEntry) MarshalFields added in v0.7.0

func (s BlacklistEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BlacklistEntry) String added in v0.7.0

func (s BlacklistEntry) String() string

String returns the string representation

type Body

type Body struct {

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

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

Represents the body of the email message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Body

func (Body) GoString

func (s Body) GoString() string

GoString returns the string representation

func (Body) MarshalFields

func (s Body) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Body) String

func (s Body) String() string

String returns the string representation

func (*Body) Validate

func (s *Body) Validate() error

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

type 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CloudWatchDestination

func (CloudWatchDestination) GoString

func (s CloudWatchDestination) GoString() string

GoString returns the string representation

func (CloudWatchDestination) MarshalFields

func (s CloudWatchDestination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CloudWatchDestination) String

func (s CloudWatchDestination) String() string

String returns the string representation

func (*CloudWatchDestination) Validate

func (s *CloudWatchDestination) Validate() error

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

type CloudWatchDimensionConfiguration

type CloudWatchDimensionConfiguration struct {

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

	// The name of an Amazon CloudWatch dimension associated with an email sending
	// metric. The name has to meet the following criteria:
	//
	//    * It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores
	//    (_), or dashes (-).
	//
	//    * It can contain no more than 256 characters.
	//
	// DimensionName is a required field
	DimensionName *string `type:"string" required:"true"`

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

An object that defines the dimension configuration to use when you send Amazon Pinpoint email events to Amazon CloudWatch. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CloudWatchDimensionConfiguration

func (CloudWatchDimensionConfiguration) GoString

GoString returns the string representation

func (CloudWatchDimensionConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CloudWatchDimensionConfiguration) String

String returns the string representation

func (*CloudWatchDimensionConfiguration) Validate

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

type Content

type Content struct {

	// The character set for the content. Because of the constraints of the SMTP
	// protocol, Amazon Pinpoint 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Content

func (Content) GoString

func (s Content) GoString() string

GoString returns the string representation

func (Content) MarshalFields

func (s Content) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Content) String

func (s Content) String() string

String returns the string representation

func (*Content) Validate

func (s *Content) Validate() error

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

type CreateConfigurationSetEventDestinationInput

type CreateConfigurationSetEventDestinationInput struct {

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

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

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

A request to add an event destination to a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestinationRequest

func (CreateConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (CreateConfigurationSetEventDestinationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationSetEventDestinationInput) String

String returns the string representation

func (*CreateConfigurationSetEventDestinationInput) Validate

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

type CreateConfigurationSetEventDestinationOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestinationResponse

func (CreateConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (CreateConfigurationSetEventDestinationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationSetEventDestinationOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (CreateConfigurationSetEventDestinationOutput) String

String returns the string representation

type CreateConfigurationSetEventDestinationRequest

CreateConfigurationSetEventDestinationRequest is a API request type for the CreateConfigurationSetEventDestination API operation.

func (CreateConfigurationSetEventDestinationRequest) Send

Send marshals and sends the CreateConfigurationSetEventDestination API request.

type CreateConfigurationSetInput

type CreateConfigurationSetInput 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 Pinpoint 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 Pinpoint can send email that
	// you send using the configuration set.
	SendingOptions *SendingOptions `type:"structure"`

	// An object that defines the tags (keys and values) that you want to associate
	// with the configuration set.
	Tags []Tag `type:"list"`

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

A request to create a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetRequest

func (CreateConfigurationSetInput) GoString

func (s CreateConfigurationSetInput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationSetInput) String

String returns the string representation

func (*CreateConfigurationSetInput) Validate

func (s *CreateConfigurationSetInput) Validate() error

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

type CreateConfigurationSetOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetResponse

func (CreateConfigurationSetOutput) GoString

func (s CreateConfigurationSetOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationSetOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationSetOutput) SDKResponseMetadata

func (s CreateConfigurationSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateConfigurationSetOutput) String

String returns the string representation

type CreateConfigurationSetRequest

type CreateConfigurationSetRequest struct {
	*aws.Request
	Input *CreateConfigurationSetInput
	Copy  func(*CreateConfigurationSetInput) CreateConfigurationSetRequest
}

CreateConfigurationSetRequest is a API request type for the CreateConfigurationSet API operation.

func (CreateConfigurationSetRequest) Send

Send marshals and sends the CreateConfigurationSet API request.

type CreateDedicatedIpPoolInput

type CreateDedicatedIpPoolInput struct {

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

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

A request to create a new dedicated IP pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDedicatedIpPoolRequest

func (CreateDedicatedIpPoolInput) GoString

func (s CreateDedicatedIpPoolInput) GoString() string

GoString returns the string representation

func (CreateDedicatedIpPoolInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDedicatedIpPoolInput) String

String returns the string representation

func (*CreateDedicatedIpPoolInput) Validate

func (s *CreateDedicatedIpPoolInput) Validate() error

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

type CreateDedicatedIpPoolOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDedicatedIpPoolResponse

func (CreateDedicatedIpPoolOutput) GoString

func (s CreateDedicatedIpPoolOutput) GoString() string

GoString returns the string representation

func (CreateDedicatedIpPoolOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDedicatedIpPoolOutput) SDKResponseMetadata

func (s CreateDedicatedIpPoolOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDedicatedIpPoolOutput) String

String returns the string representation

type CreateDedicatedIpPoolRequest

type CreateDedicatedIpPoolRequest struct {
	*aws.Request
	Input *CreateDedicatedIpPoolInput
	Copy  func(*CreateDedicatedIpPoolInput) CreateDedicatedIpPoolRequest
}

CreateDedicatedIpPoolRequest is a API request type for the CreateDedicatedIpPool API operation.

func (CreateDedicatedIpPoolRequest) Send

Send marshals and sends the CreateDedicatedIpPool API request.

type CreateDeliverabilityTestReportInput added in v0.7.0

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 object that defines 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. Amazon Pinpoint 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReportRequest

func (CreateDeliverabilityTestReportInput) GoString added in v0.7.0

GoString returns the string representation

func (CreateDeliverabilityTestReportInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeliverabilityTestReportInput) String added in v0.7.0

String returns the string representation

func (*CreateDeliverabilityTestReportInput) Validate added in v0.7.0

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

type CreateDeliverabilityTestReportOutput added in v0.7.0

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 DeliverabilityTestStatus `type:"string" required:"true" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReportResponse

func (CreateDeliverabilityTestReportOutput) GoString added in v0.7.0

GoString returns the string representation

func (CreateDeliverabilityTestReportOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeliverabilityTestReportOutput) SDKResponseMetadata added in v0.7.0

func (s CreateDeliverabilityTestReportOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDeliverabilityTestReportOutput) String added in v0.7.0

String returns the string representation

type CreateDeliverabilityTestReportRequest added in v0.7.0

type CreateDeliverabilityTestReportRequest struct {
	*aws.Request
	Input *CreateDeliverabilityTestReportInput
	Copy  func(*CreateDeliverabilityTestReportInput) CreateDeliverabilityTestReportRequest
}

CreateDeliverabilityTestReportRequest is a API request type for the CreateDeliverabilityTestReport API operation.

func (CreateDeliverabilityTestReportRequest) Send added in v0.7.0

Send marshals and sends the CreateDeliverabilityTestReport API request.

type CreateEmailIdentityInput

type CreateEmailIdentityInput struct {

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

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

A request to begin the verification process for an email identity (an email address or domain). Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateEmailIdentityRequest

func (CreateEmailIdentityInput) GoString

func (s CreateEmailIdentityInput) GoString() string

GoString returns the string representation

func (CreateEmailIdentityInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEmailIdentityInput) String

func (s CreateEmailIdentityInput) String() string

String returns the string representation

func (*CreateEmailIdentityInput) Validate

func (s *CreateEmailIdentityInput) Validate() error

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

type CreateEmailIdentityOutput

type CreateEmailIdentityOutput struct {

	// An object that contains information about the DKIM attributes for the identity.
	// This object includes the tokens that you use to create the CNAME records
	// that are required to complete the DKIM verification process.
	DkimAttributes *DkimAttributes `type:"structure"`

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

	// Specifies whether or not the identity is verified. In Amazon Pinpoint, 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 tokens that you can use to create a set of CNAME records. To sucessfully verify your domain, you have to add these records to the DNS configuration for your domain.

If the email identity is an email address, this object is empty. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateEmailIdentityResponse

func (CreateEmailIdentityOutput) GoString

func (s CreateEmailIdentityOutput) GoString() string

GoString returns the string representation

func (CreateEmailIdentityOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEmailIdentityOutput) SDKResponseMetadata

func (s CreateEmailIdentityOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateEmailIdentityOutput) String

func (s CreateEmailIdentityOutput) String() string

String returns the string representation

type CreateEmailIdentityRequest

type CreateEmailIdentityRequest struct {
	*aws.Request
	Input *CreateEmailIdentityInput
	Copy  func(*CreateEmailIdentityInput) CreateEmailIdentityRequest
}

CreateEmailIdentityRequest is a API request type for the CreateEmailIdentity API operation.

func (CreateEmailIdentityRequest) Send

Send marshals and sends the CreateEmailIdentity API request.

type DailyVolume added in v0.7.0

type DailyVolume struct {

	// An object that contains inbox placement metrics for a specifid 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DailyVolume

func (DailyVolume) GoString added in v0.7.0

func (s DailyVolume) GoString() string

GoString returns the string representation

func (DailyVolume) MarshalFields added in v0.7.0

func (s DailyVolume) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DailyVolume) String added in v0.7.0

func (s DailyVolume) String() string

String returns the string representation

type DedicatedIp

type DedicatedIp struct {

	// An IP address that is reserved for use by your Amazon Pinpoint account.
	//
	// 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 WarmupStatus `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Contains information about a dedicated IP address that is associated with your Amazon Pinpoint account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DedicatedIp

func (DedicatedIp) GoString

func (s DedicatedIp) GoString() string

GoString returns the string representation

func (DedicatedIp) MarshalFields

func (s DedicatedIp) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DedicatedIp) String

func (s DedicatedIp) String() string

String returns the string representation

type DeleteConfigurationSetEventDestinationInput

type DeleteConfigurationSetEventDestinationInput struct {

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

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

A request to delete an event destination from a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetEventDestinationRequest

func (DeleteConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (DeleteConfigurationSetEventDestinationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationSetEventDestinationInput) String

String returns the string representation

func (*DeleteConfigurationSetEventDestinationInput) Validate

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

type DeleteConfigurationSetEventDestinationOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetEventDestinationResponse

func (DeleteConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (DeleteConfigurationSetEventDestinationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationSetEventDestinationOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteConfigurationSetEventDestinationOutput) String

String returns the string representation

type DeleteConfigurationSetEventDestinationRequest

DeleteConfigurationSetEventDestinationRequest is a API request type for the DeleteConfigurationSetEventDestination API operation.

func (DeleteConfigurationSetEventDestinationRequest) Send

Send marshals and sends the DeleteConfigurationSetEventDestination API request.

type DeleteConfigurationSetInput

type DeleteConfigurationSetInput struct {

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

A request to delete a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetRequest

func (DeleteConfigurationSetInput) GoString

func (s DeleteConfigurationSetInput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationSetInput) String

String returns the string representation

func (*DeleteConfigurationSetInput) Validate

func (s *DeleteConfigurationSetInput) Validate() error

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

type DeleteConfigurationSetOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetResponse

func (DeleteConfigurationSetOutput) GoString

func (s DeleteConfigurationSetOutput) GoString() string

GoString returns the string representation

func (DeleteConfigurationSetOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationSetOutput) SDKResponseMetadata

func (s DeleteConfigurationSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteConfigurationSetOutput) String

String returns the string representation

type DeleteConfigurationSetRequest

type DeleteConfigurationSetRequest struct {
	*aws.Request
	Input *DeleteConfigurationSetInput
	Copy  func(*DeleteConfigurationSetInput) DeleteConfigurationSetRequest
}

DeleteConfigurationSetRequest is a API request type for the DeleteConfigurationSet API operation.

func (DeleteConfigurationSetRequest) Send

Send marshals and sends the DeleteConfigurationSet API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteDedicatedIpPoolRequest

func (DeleteDedicatedIpPoolInput) GoString

func (s DeleteDedicatedIpPoolInput) GoString() string

GoString returns the string representation

func (DeleteDedicatedIpPoolInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDedicatedIpPoolInput) String

String returns the string representation

func (*DeleteDedicatedIpPoolInput) Validate

func (s *DeleteDedicatedIpPoolInput) Validate() error

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

type DeleteDedicatedIpPoolOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteDedicatedIpPoolResponse

func (DeleteDedicatedIpPoolOutput) GoString

func (s DeleteDedicatedIpPoolOutput) GoString() string

GoString returns the string representation

func (DeleteDedicatedIpPoolOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDedicatedIpPoolOutput) SDKResponseMetadata

func (s DeleteDedicatedIpPoolOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDedicatedIpPoolOutput) String

String returns the string representation

type DeleteDedicatedIpPoolRequest

type DeleteDedicatedIpPoolRequest struct {
	*aws.Request
	Input *DeleteDedicatedIpPoolInput
	Copy  func(*DeleteDedicatedIpPoolInput) DeleteDedicatedIpPoolRequest
}

DeleteDedicatedIpPoolRequest is a API request type for the DeleteDedicatedIpPool API operation.

func (DeleteDedicatedIpPoolRequest) Send

Send marshals and sends the DeleteDedicatedIpPool API request.

type DeleteEmailIdentityInput

type DeleteEmailIdentityInput struct {

	// The identity (that is, the email address or domain) that you want to delete
	// from your Amazon Pinpoint account.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" 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 use Amazon Pinpoint to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentityRequest

func (DeleteEmailIdentityInput) GoString

func (s DeleteEmailIdentityInput) GoString() string

GoString returns the string representation

func (DeleteEmailIdentityInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEmailIdentityInput) String

func (s DeleteEmailIdentityInput) String() string

String returns the string representation

func (*DeleteEmailIdentityInput) Validate

func (s *DeleteEmailIdentityInput) Validate() error

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

type DeleteEmailIdentityOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentityResponse

func (DeleteEmailIdentityOutput) GoString

func (s DeleteEmailIdentityOutput) GoString() string

GoString returns the string representation

func (DeleteEmailIdentityOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEmailIdentityOutput) SDKResponseMetadata

func (s DeleteEmailIdentityOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEmailIdentityOutput) String

func (s DeleteEmailIdentityOutput) String() string

String returns the string representation

type DeleteEmailIdentityRequest

type DeleteEmailIdentityRequest struct {
	*aws.Request
	Input *DeleteEmailIdentityInput
	Copy  func(*DeleteEmailIdentityInput) DeleteEmailIdentityRequest
}

DeleteEmailIdentityRequest is a API request type for the DeleteEmailIdentity API operation.

func (DeleteEmailIdentityRequest) Send

Send marshals and sends the DeleteEmailIdentity API request.

type DeliverabilityTestReport added in v0.7.0

type DeliverabilityTestReport struct {

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

	// 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 DeliverabilityTestStatus `type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeliverabilityTestReport

func (DeliverabilityTestReport) GoString added in v0.7.0

func (s DeliverabilityTestReport) GoString() string

GoString returns the string representation

func (DeliverabilityTestReport) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeliverabilityTestReport) String added in v0.7.0

func (s DeliverabilityTestReport) String() string

String returns the string representation

type DeliverabilityTestStatus added in v0.7.0

type DeliverabilityTestStatus string

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.

const (
	DeliverabilityTestStatusInProgress DeliverabilityTestStatus = "IN_PROGRESS"
	DeliverabilityTestStatusCompleted  DeliverabilityTestStatus = "COMPLETED"
)

Enum values for DeliverabilityTestStatus

func (DeliverabilityTestStatus) MarshalValue added in v0.7.0

func (enum DeliverabilityTestStatus) MarshalValue() (string, error)

func (DeliverabilityTestStatus) MarshalValueBuf added in v0.7.0

func (enum DeliverabilityTestStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DeliveryOptions

type DeliveryOptions struct {

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

Used to associate a configuration set with a dedicated IP pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeliveryOptions

func (DeliveryOptions) GoString

func (s DeliveryOptions) GoString() string

GoString returns the string representation

func (DeliveryOptions) MarshalFields

func (s DeliveryOptions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeliveryOptions) String

func (s DeliveryOptions) String() string

String returns the string representation

type Destination

type Destination struct {

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

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

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

An object that describes the recipients for an email. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Destination

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation

func (Destination) MarshalFields

func (s Destination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Destination) String

func (s Destination) String() string

String returns the string representation

type DimensionValueSource

type DimensionValueSource string

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

const (
	DimensionValueSourceMessageTag  DimensionValueSource = "MESSAGE_TAG"
	DimensionValueSourceEmailHeader DimensionValueSource = "EMAIL_HEADER"
	DimensionValueSourceLinkTag     DimensionValueSource = "LINK_TAG"
)

Enum values for DimensionValueSource

func (DimensionValueSource) MarshalValue

func (enum DimensionValueSource) MarshalValue() (string, error)

func (DimensionValueSource) MarshalValueBuf

func (enum DimensionValueSource) MarshalValueBuf(b []byte) ([]byte, error)

type DkimAttributes

type DkimAttributes struct {

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

	// Describes whether or not Amazon Pinpoint has successfully located the DKIM
	// records in the DNS records for the domain. The status can be one of the following:
	//
	//    * PENDING – Amazon Pinpoint hasn't yet located the DKIM records in the
	//    DNS configuration for the domain, but will continue to attempt to locate
	//    them.
	//
	//    * SUCCESS – Amazon Pinpoint located the DKIM records in the DNS configuration
	//    for the domain and determined that they're correct. Amazon Pinpoint can
	//    now send DKIM-signed email from the identity.
	//
	//    * FAILED – Amazon Pinpoint was unable to locate the DKIM records in the
	//    DNS settings for the domain, and won't continue to search for them.
	//
	//    * TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon
	//    Pinpoint from determining the DKIM status for the domain.
	//
	//    * NOT_STARTED – Amazon Pinpoint hasn't yet started searching for the DKIM
	//    records in the DKIM records for the domain.
	Status DkimStatus `type:"string" enum:"true"`

	// 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 Pinpoint detects
	// these records in the DNS configuration for your domain, the DKIM authentication
	// process is complete. Amazon Pinpoint usually detects these records within
	// about 72 hours of adding them to the DNS configuration for your domain.
	Tokens []string `type:"list"`
	// contains filtered or unexported fields
}

An object that contains information about the DKIM configuration for an email identity. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DkimAttributes

func (DkimAttributes) GoString

func (s DkimAttributes) GoString() string

GoString returns the string representation

func (DkimAttributes) MarshalFields

func (s DkimAttributes) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DkimAttributes) String

func (s DkimAttributes) String() string

String returns the string representation

type DkimStatus

type DkimStatus string

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

  • PENDING – The DKIM verification process was initiated, and Amazon Pinpoint is still waiting for the required CNAME records to appear in the DNS configuration for the domain.

  • SUCCESS – The DKIM authentication process completed successfully.

  • FAILED – The DKIM authentication process failed. This can happen when Amazon Pinpoint fails to find the required CNAME records in the DNS configuration of the domain.

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

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

const (
	DkimStatusPending          DkimStatus = "PENDING"
	DkimStatusSuccess          DkimStatus = "SUCCESS"
	DkimStatusFailed           DkimStatus = "FAILED"
	DkimStatusTemporaryFailure DkimStatus = "TEMPORARY_FAILURE"
	DkimStatusNotStarted       DkimStatus = "NOT_STARTED"
)

Enum values for DkimStatus

func (DkimStatus) MarshalValue

func (enum DkimStatus) MarshalValue() (string, error)

func (DkimStatus) MarshalValueBuf

func (enum DkimStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DomainIspPlacement added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DomainIspPlacement

func (DomainIspPlacement) GoString added in v0.7.0

func (s DomainIspPlacement) GoString() string

GoString returns the string representation

func (DomainIspPlacement) MarshalFields added in v0.7.0

func (s DomainIspPlacement) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DomainIspPlacement) String added in v0.7.0

func (s DomainIspPlacement) String() string

String returns the string representation

type EmailContent

type EmailContent struct {

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

	// The simple email message. The message consists of a subject and a message
	// body.
	Simple *Message `type:"structure"`
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/EmailContent

func (EmailContent) GoString

func (s EmailContent) GoString() string

GoString returns the string representation

func (EmailContent) MarshalFields

func (s EmailContent) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EmailContent) String

func (s EmailContent) String() string

String returns the string representation

func (*EmailContent) Validate

func (s *EmailContent) Validate() error

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

type EventDestination

type EventDestination struct {

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

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

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

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

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

	// An object that defines a Amazon Pinpoint destination for email events. You
	// can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects.
	// You can use these attributes to create segments for your campaigns.
	PinpointDestination *PinpointDestination `type:"structure"`

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

In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/EventDestination

func (EventDestination) GoString

func (s EventDestination) GoString() string

GoString returns the string representation

func (EventDestination) MarshalFields

func (s EventDestination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventDestination) String

func (s EventDestination) String() string

String returns the string representation

type EventDestinationDefinition

type EventDestinationDefinition struct {

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

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

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

	// An array that specifies which events Amazon Pinpoint should send to the destinations
	// in this EventDestinationDefinition.
	MatchingEventTypes []EventType `type:"list"`

	// An object that defines a Amazon Pinpoint destination for email events. You
	// can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects.
	// You can use these attributes to create segments for your campaigns.
	PinpointDestination *PinpointDestination `type:"structure"`

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

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/EventDestinationDefinition

func (EventDestinationDefinition) GoString

func (s EventDestinationDefinition) GoString() string

GoString returns the string representation

func (EventDestinationDefinition) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventDestinationDefinition) String

String returns the string representation

func (*EventDestinationDefinition) Validate

func (s *EventDestinationDefinition) Validate() error

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

type EventType

type EventType string

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

const (
	EventTypeSend             EventType = "SEND"
	EventTypeReject           EventType = "REJECT"
	EventTypeBounce           EventType = "BOUNCE"
	EventTypeComplaint        EventType = "COMPLAINT"
	EventTypeDelivery         EventType = "DELIVERY"
	EventTypeOpen             EventType = "OPEN"
	EventTypeClick            EventType = "CLICK"
	EventTypeRenderingFailure EventType = "RENDERING_FAILURE"
)

Enum values for EventType

func (EventType) MarshalValue

func (enum EventType) MarshalValue() (string, error)

func (EventType) MarshalValueBuf

func (enum EventType) MarshalValueBuf(b []byte) ([]byte, error)

type GetAccountInput

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

A request to obtain information about the email-sending capabilities of your Amazon Pinpoint account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetAccountRequest

func (GetAccountInput) GoString

func (s GetAccountInput) GoString() string

GoString returns the string representation

func (GetAccountInput) MarshalFields

func (s GetAccountInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAccountInput) String

func (s GetAccountInput) String() string

String returns the string representation

type GetAccountOutput

type GetAccountOutput struct {

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

	// The reputation status of your Amazon Pinpoint 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 some issues with your Amazon Pinpoint account.
	//    We're placing your account under review while you work on correcting these
	//    issues.
	//
	//    * SHUTDOWN – Your account's ability to send email is currently paused
	//    because of an issue with the email sent from your account. When you correct
	//    the issue, you can contact us and request that your account's ability
	//    to send email is resumed.
	EnforcementStatus *string `type:"string"`

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

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

	// Indicates whether or not email sending is enabled for your Amazon Pinpoint
	// account in the current AWS Region.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A list of details about the email-sending capabilities of your Amazon Pinpoint account in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetAccountResponse

func (GetAccountOutput) GoString

func (s GetAccountOutput) GoString() string

GoString returns the string representation

func (GetAccountOutput) MarshalFields

func (s GetAccountOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAccountOutput) SDKResponseMetadata

func (s GetAccountOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAccountOutput) String

func (s GetAccountOutput) String() string

String returns the string representation

type GetAccountRequest

type GetAccountRequest struct {
	*aws.Request
	Input *GetAccountInput
	Copy  func(*GetAccountInput) GetAccountRequest
}

GetAccountRequest is a API request type for the GetAccount API operation.

func (GetAccountRequest) Send

Send marshals and sends the GetAccount API request.

type GetBlacklistReportsInput added in v0.7.0

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 Pinpoint or Amazon SES.
	//
	// BlacklistItemNames is a required field
	BlacklistItemNames []string `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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReportsRequest

func (GetBlacklistReportsInput) GoString added in v0.7.0

func (s GetBlacklistReportsInput) GoString() string

GoString returns the string representation

func (GetBlacklistReportsInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBlacklistReportsInput) String added in v0.7.0

func (s GetBlacklistReportsInput) String() string

String returns the string representation

func (*GetBlacklistReportsInput) Validate added in v0.7.0

func (s *GetBlacklistReportsInput) Validate() error

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

type GetBlacklistReportsOutput added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReportsResponse

func (GetBlacklistReportsOutput) GoString added in v0.7.0

func (s GetBlacklistReportsOutput) GoString() string

GoString returns the string representation

func (GetBlacklistReportsOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBlacklistReportsOutput) SDKResponseMetadata added in v0.7.0

func (s GetBlacklistReportsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBlacklistReportsOutput) String added in v0.7.0

func (s GetBlacklistReportsOutput) String() string

String returns the string representation

type GetBlacklistReportsRequest added in v0.7.0

type GetBlacklistReportsRequest struct {
	*aws.Request
	Input *GetBlacklistReportsInput
	Copy  func(*GetBlacklistReportsInput) GetBlacklistReportsRequest
}

GetBlacklistReportsRequest is a API request type for the GetBlacklistReports API operation.

func (GetBlacklistReportsRequest) Send added in v0.7.0

Send marshals and sends the GetBlacklistReports API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetEventDestinationsRequest

func (GetConfigurationSetEventDestinationsInput) GoString

GoString returns the string representation

func (GetConfigurationSetEventDestinationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationSetEventDestinationsInput) String

String returns the string representation

func (*GetConfigurationSetEventDestinationsInput) Validate

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

type GetConfigurationSetEventDestinationsOutput

type GetConfigurationSetEventDestinationsOutput struct {

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

Information about an event destination for a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetEventDestinationsResponse

func (GetConfigurationSetEventDestinationsOutput) GoString

GoString returns the string representation

func (GetConfigurationSetEventDestinationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationSetEventDestinationsOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (GetConfigurationSetEventDestinationsOutput) String

String returns the string representation

type GetConfigurationSetEventDestinationsRequest

GetConfigurationSetEventDestinationsRequest is a API request type for the GetConfigurationSetEventDestinations API operation.

func (GetConfigurationSetEventDestinationsRequest) Send

Send marshals and sends the GetConfigurationSetEventDestinations API request.

type GetConfigurationSetInput

type GetConfigurationSetInput struct {

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

A request to obtain information about a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetRequest

func (GetConfigurationSetInput) GoString

func (s GetConfigurationSetInput) GoString() string

GoString returns the string representation

func (GetConfigurationSetInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationSetInput) String

func (s GetConfigurationSetInput) String() string

String returns the string representation

func (*GetConfigurationSetInput) Validate

func (s *GetConfigurationSetInput) Validate() error

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

type GetConfigurationSetOutput

type GetConfigurationSetOutput struct {

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

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

	// An object that defines whether or not Amazon Pinpoint 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 Pinpoint can send email that
	// you send using the configuration set.
	SendingOptions *SendingOptions `type:"structure"`

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

Information about a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetResponse

func (GetConfigurationSetOutput) GoString

func (s GetConfigurationSetOutput) GoString() string

GoString returns the string representation

func (GetConfigurationSetOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationSetOutput) SDKResponseMetadata

func (s GetConfigurationSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetConfigurationSetOutput) String

func (s GetConfigurationSetOutput) String() string

String returns the string representation

type GetConfigurationSetRequest

type GetConfigurationSetRequest struct {
	*aws.Request
	Input *GetConfigurationSetInput
	Copy  func(*GetConfigurationSetInput) GetConfigurationSetRequest
}

GetConfigurationSetRequest is a API request type for the GetConfigurationSet API operation.

func (GetConfigurationSetRequest) Send

Send marshals and sends the GetConfigurationSet API request.

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 Pinpoint 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIpRequest

func (GetDedicatedIpInput) GoString

func (s GetDedicatedIpInput) GoString() string

GoString returns the string representation

func (GetDedicatedIpInput) MarshalFields

func (s GetDedicatedIpInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDedicatedIpInput) String

func (s GetDedicatedIpInput) String() string

String returns the string representation

func (*GetDedicatedIpInput) Validate

func (s *GetDedicatedIpInput) Validate() error

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

type GetDedicatedIpOutput

type GetDedicatedIpOutput struct {

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

Information about a dedicated IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIpResponse

func (GetDedicatedIpOutput) GoString

func (s GetDedicatedIpOutput) GoString() string

GoString returns the string representation

func (GetDedicatedIpOutput) MarshalFields

func (s GetDedicatedIpOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDedicatedIpOutput) SDKResponseMetadata

func (s GetDedicatedIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDedicatedIpOutput) String

func (s GetDedicatedIpOutput) String() string

String returns the string representation

type GetDedicatedIpRequest

type GetDedicatedIpRequest struct {
	*aws.Request
	Input *GetDedicatedIpInput
	Copy  func(*GetDedicatedIpInput) GetDedicatedIpRequest
}

GetDedicatedIpRequest is a API request type for the GetDedicatedIp API operation.

func (GetDedicatedIpRequest) Send

Send marshals and sends the GetDedicatedIp API request.

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 `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 `type:"integer"`

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

A request to obtain more information about dedicated IP pools. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIpsRequest

func (GetDedicatedIpsInput) GoString

func (s GetDedicatedIpsInput) GoString() string

GoString returns the string representation

func (GetDedicatedIpsInput) MarshalFields

func (s GetDedicatedIpsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDedicatedIpsInput) String

func (s GetDedicatedIpsInput) String() string

String returns the string representation

type GetDedicatedIpsOutput

type GetDedicatedIpsOutput struct {

	// A list of dedicated IP addresses that are reserved for use by your Amazon
	// Pinpoint 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 Pinpoint account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIpsResponse

func (GetDedicatedIpsOutput) GoString

func (s GetDedicatedIpsOutput) GoString() string

GoString returns the string representation

func (GetDedicatedIpsOutput) MarshalFields

func (s GetDedicatedIpsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDedicatedIpsOutput) SDKResponseMetadata

func (s GetDedicatedIpsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDedicatedIpsOutput) String

func (s GetDedicatedIpsOutput) String() string

String returns the string representation

type GetDedicatedIpsPager

type GetDedicatedIpsPager struct {
	aws.Pager
}

GetDedicatedIpsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*GetDedicatedIpsPager) CurrentPage

func (p *GetDedicatedIpsPager) CurrentPage() *GetDedicatedIpsOutput

type GetDedicatedIpsRequest

type GetDedicatedIpsRequest struct {
	*aws.Request
	Input *GetDedicatedIpsInput
	Copy  func(*GetDedicatedIpsInput) GetDedicatedIpsRequest
}

GetDedicatedIpsRequest is a API request type for the GetDedicatedIps API operation.

func (*GetDedicatedIpsRequest) Paginate

Paginate pages iterates over the pages of a GetDedicatedIpsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a GetDedicatedIps operation.
		req := client.GetDedicatedIpsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (GetDedicatedIpsRequest) Send

Send marshals and sends the GetDedicatedIps API request.

type GetDeliverabilityDashboardOptionsInput added in v0.7.0

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

A request to retrieve the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, AWS prorates the monthly charge based on how many days have elapsed in the current calendar month. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptionsRequest

func (GetDeliverabilityDashboardOptionsInput) GoString added in v0.7.0

GoString returns the string representation

func (GetDeliverabilityDashboardOptionsInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeliverabilityDashboardOptionsInput) String added in v0.7.0

String returns the string representation

type GetDeliverabilityDashboardOptionsOutput added in v0.7.0

type GetDeliverabilityDashboardOptionsOutput struct {

	// Indicates whether the Deliverability dashboard is enabled. If the value is
	// true, then the dashboard is enabled.
	//
	// DashboardEnabled is a required field
	DashboardEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

An object that shows the status of the Deliverability dashboard for your Amazon Pinpoint account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptionsResponse

func (GetDeliverabilityDashboardOptionsOutput) GoString added in v0.7.0

GoString returns the string representation

func (GetDeliverabilityDashboardOptionsOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeliverabilityDashboardOptionsOutput) SDKResponseMetadata added in v0.7.0

func (s GetDeliverabilityDashboardOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDeliverabilityDashboardOptionsOutput) String added in v0.7.0

String returns the string representation

type GetDeliverabilityDashboardOptionsRequest added in v0.7.0

GetDeliverabilityDashboardOptionsRequest is a API request type for the GetDeliverabilityDashboardOptions API operation.

func (GetDeliverabilityDashboardOptionsRequest) Send added in v0.7.0

Send marshals and sends the GetDeliverabilityDashboardOptions API request.

type GetDeliverabilityTestReportInput added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReportRequest

func (GetDeliverabilityTestReportInput) GoString added in v0.7.0

GoString returns the string representation

func (GetDeliverabilityTestReportInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeliverabilityTestReportInput) String added in v0.7.0

String returns the string representation

func (*GetDeliverabilityTestReportInput) Validate added in v0.7.0

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

type GetDeliverabilityTestReportOutput added in v0.7.0

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"`
	// contains filtered or unexported fields
}

The results of the predictive inbox placement test. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReportResponse

func (GetDeliverabilityTestReportOutput) GoString added in v0.7.0

GoString returns the string representation

func (GetDeliverabilityTestReportOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeliverabilityTestReportOutput) SDKResponseMetadata added in v0.7.0

func (s GetDeliverabilityTestReportOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDeliverabilityTestReportOutput) String added in v0.7.0

String returns the string representation

type GetDeliverabilityTestReportRequest added in v0.7.0

type GetDeliverabilityTestReportRequest struct {
	*aws.Request
	Input *GetDeliverabilityTestReportInput
	Copy  func(*GetDeliverabilityTestReportInput) GetDeliverabilityTestReportRequest
}

GetDeliverabilityTestReportRequest is a API request type for the GetDeliverabilityTestReport API operation.

func (GetDeliverabilityTestReportRequest) Send added in v0.7.0

Send marshals and sends the GetDeliverabilityTestReport API request.

type GetDomainStatisticsReportInput added in v0.7.0

type GetDomainStatisticsReportInput struct {

	// The domain that you want to obtain deliverability metrics for.
	//
	// Domain is a required field
	Domain *string `location:"uri" locationName:"Domain" 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 `type:"timestamp" timestampFormat:"unix" 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 `type:"timestamp" timestampFormat:"unix" required:"true"`
	// contains filtered or unexported fields
}

A request to obtain deliverability metrics for a domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReportRequest

func (GetDomainStatisticsReportInput) GoString added in v0.7.0

GoString returns the string representation

func (GetDomainStatisticsReportInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainStatisticsReportInput) String added in v0.7.0

String returns the string representation

func (*GetDomainStatisticsReportInput) Validate added in v0.7.0

func (s *GetDomainStatisticsReportInput) Validate() error

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

type GetDomainStatisticsReportOutput added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReportResponse

func (GetDomainStatisticsReportOutput) GoString added in v0.7.0

GoString returns the string representation

func (GetDomainStatisticsReportOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainStatisticsReportOutput) SDKResponseMetadata added in v0.7.0

func (s GetDomainStatisticsReportOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainStatisticsReportOutput) String added in v0.7.0

String returns the string representation

type GetDomainStatisticsReportRequest added in v0.7.0

type GetDomainStatisticsReportRequest struct {
	*aws.Request
	Input *GetDomainStatisticsReportInput
	Copy  func(*GetDomainStatisticsReportInput) GetDomainStatisticsReportRequest
}

GetDomainStatisticsReportRequest is a API request type for the GetDomainStatisticsReport API operation.

func (GetDomainStatisticsReportRequest) Send added in v0.7.0

Send marshals and sends the GetDomainStatisticsReport API request.

type GetEmailIdentityInput

type GetEmailIdentityInput struct {

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

A request to return details about an email identity. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetEmailIdentityRequest

func (GetEmailIdentityInput) GoString

func (s GetEmailIdentityInput) GoString() string

GoString returns the string representation

func (GetEmailIdentityInput) MarshalFields

func (s GetEmailIdentityInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEmailIdentityInput) String

func (s GetEmailIdentityInput) String() string

String returns the string representation

func (*GetEmailIdentityInput) Validate

func (s *GetEmailIdentityInput) Validate() error

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

type GetEmailIdentityOutput

type GetEmailIdentityOutput struct {

	// An object that contains information about the DKIM attributes for the identity.
	// This object includes the tokens that you use to create the CNAME records
	// that are required to complete the DKIM verification process.
	DkimAttributes *DkimAttributes `type:"structure"`

	// The feedback forwarding configuration for the identity.
	//
	// If the value is true, Amazon Pinpoint sends you email notifications when
	// bounce or complaint events occur. Amazon Pinpoint sends this notification
	// to the address that you specified in the Return-Path header of the original
	// email.
	//
	// When you set this value to false, Amazon Pinpoint sends notifications through
	// other mechanisms, such as by notifying an Amazon SNS topic or another event
	// destination. 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, Amazon Pinpoint sends an email notification when these events
	// occur (even if this setting is disabled).
	FeedbackForwardingStatus *bool `type:"boolean"`

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

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

	// Specifies whether or not the identity is verified. In Amazon Pinpoint, 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetEmailIdentityResponse

func (GetEmailIdentityOutput) GoString

func (s GetEmailIdentityOutput) GoString() string

GoString returns the string representation

func (GetEmailIdentityOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEmailIdentityOutput) SDKResponseMetadata

func (s GetEmailIdentityOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetEmailIdentityOutput) String

func (s GetEmailIdentityOutput) String() string

String returns the string representation

type GetEmailIdentityRequest

type GetEmailIdentityRequest struct {
	*aws.Request
	Input *GetEmailIdentityInput
	Copy  func(*GetEmailIdentityInput) GetEmailIdentityRequest
}

GetEmailIdentityRequest is a API request type for the GetEmailIdentity API operation.

func (GetEmailIdentityRequest) Send

Send marshals and sends the GetEmailIdentity API request.

type IdentityInfo

type IdentityInfo struct {

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

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

	// Indicates whether or not you can send email from the identity.
	//
	// In Amazon Pinpoint, 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 Pinpoint to send
	// email from that identity.
	SendingEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Information about an email identity. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/IdentityInfo

func (IdentityInfo) GoString

func (s IdentityInfo) GoString() string

GoString returns the string representation

func (IdentityInfo) MarshalFields

func (s IdentityInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IdentityInfo) String

func (s IdentityInfo) String() string

String returns the string representation

type IdentityType

type IdentityType string

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

  • EMAIL_ADDRESS – The identity is an email address.

  • DOMAIN – The identity is a domain.

const (
	IdentityTypeEmailAddress  IdentityType = "EMAIL_ADDRESS"
	IdentityTypeDomain        IdentityType = "DOMAIN"
	IdentityTypeManagedDomain IdentityType = "MANAGED_DOMAIN"
)

Enum values for IdentityType

func (IdentityType) MarshalValue

func (enum IdentityType) MarshalValue() (string, error)

func (IdentityType) MarshalValueBuf

func (enum IdentityType) MarshalValueBuf(b []byte) ([]byte, error)

type IspPlacement added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/IspPlacement

func (IspPlacement) GoString added in v0.7.0

func (s IspPlacement) GoString() string

GoString returns the string representation

func (IspPlacement) MarshalFields added in v0.7.0

func (s IspPlacement) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IspPlacement) String added in v0.7.0

func (s IspPlacement) String() string

String returns the string representation

type KinesisFirehoseDestination

type KinesisFirehoseDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream
	// that Amazon Pinpoint 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 Amazon Pinpoint uses
	// when sending 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/KinesisFirehoseDestination

func (KinesisFirehoseDestination) GoString

func (s KinesisFirehoseDestination) GoString() string

GoString returns the string representation

func (KinesisFirehoseDestination) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KinesisFirehoseDestination) String

String returns the string representation

func (*KinesisFirehoseDestination) Validate

func (s *KinesisFirehoseDestination) Validate() error

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

type 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 `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 `type:"integer"`
	// contains filtered or unexported fields
}

A request to obtain a list of configuration sets for your Amazon Pinpoint account in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListConfigurationSetsRequest

func (ListConfigurationSetsInput) GoString

func (s ListConfigurationSetsInput) GoString() string

GoString returns the string representation

func (ListConfigurationSetsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationSetsInput) String

String returns the string representation

type ListConfigurationSetsOutput

type ListConfigurationSetsOutput struct {

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

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

A list of configuration sets in your Amazon Pinpoint account in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListConfigurationSetsResponse

func (ListConfigurationSetsOutput) GoString

func (s ListConfigurationSetsOutput) GoString() string

GoString returns the string representation

func (ListConfigurationSetsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationSetsOutput) SDKResponseMetadata

func (s ListConfigurationSetsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListConfigurationSetsOutput) String

String returns the string representation

type ListConfigurationSetsPager

type ListConfigurationSetsPager struct {
	aws.Pager
}

ListConfigurationSetsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListConfigurationSetsPager) CurrentPage

type ListConfigurationSetsRequest

type ListConfigurationSetsRequest struct {
	*aws.Request
	Input *ListConfigurationSetsInput
	Copy  func(*ListConfigurationSetsInput) ListConfigurationSetsRequest
}

ListConfigurationSetsRequest is a API request type for the ListConfigurationSets API operation.

func (*ListConfigurationSetsRequest) Paginate

Paginate pages iterates over the pages of a ListConfigurationSetsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListConfigurationSets operation.
		req := client.ListConfigurationSetsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListConfigurationSetsRequest) Send

Send marshals and sends the ListConfigurationSets API request.

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 `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 `type:"integer"`
	// contains filtered or unexported fields
}

A request to obtain a list of dedicated IP pools. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDedicatedIpPoolsRequest

func (ListDedicatedIpPoolsInput) GoString

func (s ListDedicatedIpPoolsInput) GoString() string

GoString returns the string representation

func (ListDedicatedIpPoolsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDedicatedIpPoolsInput) String

func (s ListDedicatedIpPoolsInput) String() string

String returns the string representation

type ListDedicatedIpPoolsOutput

type ListDedicatedIpPoolsOutput struct {

	// A list of all of the dedicated IP pools that are associated with your Amazon
	// Pinpoint account.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDedicatedIpPoolsResponse

func (ListDedicatedIpPoolsOutput) GoString

func (s ListDedicatedIpPoolsOutput) GoString() string

GoString returns the string representation

func (ListDedicatedIpPoolsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDedicatedIpPoolsOutput) SDKResponseMetadata

func (s ListDedicatedIpPoolsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListDedicatedIpPoolsOutput) String

String returns the string representation

type ListDedicatedIpPoolsPager

type ListDedicatedIpPoolsPager struct {
	aws.Pager
}

ListDedicatedIpPoolsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListDedicatedIpPoolsPager) CurrentPage

type ListDedicatedIpPoolsRequest

type ListDedicatedIpPoolsRequest struct {
	*aws.Request
	Input *ListDedicatedIpPoolsInput
	Copy  func(*ListDedicatedIpPoolsInput) ListDedicatedIpPoolsRequest
}

ListDedicatedIpPoolsRequest is a API request type for the ListDedicatedIpPools API operation.

func (*ListDedicatedIpPoolsRequest) Paginate

Paginate pages iterates over the pages of a ListDedicatedIpPoolsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListDedicatedIpPools operation.
		req := client.ListDedicatedIpPoolsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListDedicatedIpPoolsRequest) Send

Send marshals and sends the ListDedicatedIpPools API request.

type ListDeliverabilityTestReportsInput added in v0.7.0

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 `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 `type:"integer"`
	// contains filtered or unexported fields
}

A request to list all of the predictive inbox placement tests that you've performed. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReportsRequest

func (ListDeliverabilityTestReportsInput) GoString added in v0.7.0

GoString returns the string representation

func (ListDeliverabilityTestReportsInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeliverabilityTestReportsInput) String added in v0.7.0

String returns the string representation

type ListDeliverabilityTestReportsOutput added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReportsResponse

func (ListDeliverabilityTestReportsOutput) GoString added in v0.7.0

GoString returns the string representation

func (ListDeliverabilityTestReportsOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeliverabilityTestReportsOutput) SDKResponseMetadata added in v0.7.0

func (s ListDeliverabilityTestReportsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListDeliverabilityTestReportsOutput) String added in v0.7.0

String returns the string representation

type ListDeliverabilityTestReportsPager added in v0.7.0

type ListDeliverabilityTestReportsPager struct {
	aws.Pager
}

ListDeliverabilityTestReportsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListDeliverabilityTestReportsPager) CurrentPage added in v0.7.0

type ListDeliverabilityTestReportsRequest added in v0.7.0

type ListDeliverabilityTestReportsRequest struct {
	*aws.Request
	Input *ListDeliverabilityTestReportsInput
	Copy  func(*ListDeliverabilityTestReportsInput) ListDeliverabilityTestReportsRequest
}

ListDeliverabilityTestReportsRequest is a API request type for the ListDeliverabilityTestReports API operation.

func (*ListDeliverabilityTestReportsRequest) Paginate added in v0.7.0

Paginate pages iterates over the pages of a ListDeliverabilityTestReportsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation.
		req := client.ListDeliverabilityTestReportsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListDeliverabilityTestReportsRequest) Send added in v0.7.0

Send marshals and sends the ListDeliverabilityTestReports API request.

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 `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 `type:"integer"`
	// contains filtered or unexported fields
}

A request to list all of the email identities associated with your Amazon Pinpoint 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListEmailIdentitiesRequest

func (ListEmailIdentitiesInput) GoString

func (s ListEmailIdentitiesInput) GoString() string

GoString returns the string representation

func (ListEmailIdentitiesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEmailIdentitiesInput) String

func (s ListEmailIdentitiesInput) String() string

String returns the string representation

type ListEmailIdentitiesOutput

type ListEmailIdentitiesOutput struct {

	// An array that includes all of the identities associated with your Amazon
	// Pinpoint 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 for use with Amazon Pinpoint, regardless of whether or not those identities were successfully verified. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListEmailIdentitiesResponse

func (ListEmailIdentitiesOutput) GoString

func (s ListEmailIdentitiesOutput) GoString() string

GoString returns the string representation

func (ListEmailIdentitiesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEmailIdentitiesOutput) SDKResponseMetadata

func (s ListEmailIdentitiesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListEmailIdentitiesOutput) String

func (s ListEmailIdentitiesOutput) String() string

String returns the string representation

type ListEmailIdentitiesPager

type ListEmailIdentitiesPager struct {
	aws.Pager
}

ListEmailIdentitiesPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListEmailIdentitiesPager) CurrentPage

type ListEmailIdentitiesRequest

type ListEmailIdentitiesRequest struct {
	*aws.Request
	Input *ListEmailIdentitiesInput
	Copy  func(*ListEmailIdentitiesInput) ListEmailIdentitiesRequest
}

ListEmailIdentitiesRequest is a API request type for the ListEmailIdentities API operation.

func (*ListEmailIdentitiesRequest) Paginate

Paginate pages iterates over the pages of a ListEmailIdentitiesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListEmailIdentities operation.
		req := client.ListEmailIdentitiesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListEmailIdentitiesRequest) Send

Send marshals and sends the ListEmailIdentities API request.

type ListTagsForResourceInput added in v0.8.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListTagsForResourceRequest

func (ListTagsForResourceInput) GoString added in v0.8.0

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (ListTagsForResourceInput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String added in v0.8.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.8.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.8.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListTagsForResourceResponse

func (ListTagsForResourceOutput) GoString added in v0.8.0

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (ListTagsForResourceOutput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) SDKResponseMetadata added in v0.8.0

func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTagsForResourceOutput) String added in v0.8.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.8.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.8.0

Send marshals and sends the ListTagsForResource API request.

type MailFromAttributes

type MailFromAttributes struct {

	// The action that Amazon Pinpoint to takes if it can't read the required MX
	// record for a custom MAIL FROM domain. When you set this value to UseDefaultValue,
	// Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set
	// this value to RejectMessage, Amazon Pinpoint 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 BehaviorOnMxFailure `type:"string" required:"true" enum:"true"`

	// 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 Pinpoint hasn't started searching for the MX record
	//    yet.
	//
	//    * SUCCESS – Amazon Pinpoint detected the required MX record for the MAIL
	//    FROM domain.
	//
	//    * FAILED – Amazon Pinpoint can't find the required MX record, or the record
	//    no longer exists.
	//
	//    * TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon
	//    Pinpoint from determining the status of the MAIL FROM domain.
	//
	// MailFromDomainStatus is a required field
	MailFromDomainStatus MailFromDomainStatus `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

A list of attributes that are associated with a MAIL FROM domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/MailFromAttributes

func (MailFromAttributes) GoString

func (s MailFromAttributes) GoString() string

GoString returns the string representation

func (MailFromAttributes) MarshalFields

func (s MailFromAttributes) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MailFromAttributes) String

func (s MailFromAttributes) String() string

String returns the string representation

type MailFromDomainStatus

type MailFromDomainStatus string

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

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

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

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

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

const (
	MailFromDomainStatusPending          MailFromDomainStatus = "PENDING"
	MailFromDomainStatusSuccess          MailFromDomainStatus = "SUCCESS"
	MailFromDomainStatusFailed           MailFromDomainStatus = "FAILED"
	MailFromDomainStatusTemporaryFailure MailFromDomainStatus = "TEMPORARY_FAILURE"
)

Enum values for MailFromDomainStatus

func (MailFromDomainStatus) MarshalValue

func (enum MailFromDomainStatus) MarshalValue() (string, error)

func (MailFromDomainStatus) MarshalValueBuf

func (enum MailFromDomainStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Message

type Message struct {

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

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

Represents the email message that you're sending. The Message object consists of a subject line and a message body. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Message

func (Message) GoString

func (s Message) GoString() string

GoString returns the string representation

func (Message) MarshalFields

func (s Message) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Message) String

func (s Message) String() string

String returns the string representation

func (*Message) Validate

func (s *Message) Validate() error

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

type 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/MessageTag

func (MessageTag) GoString

func (s MessageTag) GoString() string

GoString returns the string representation

func (MessageTag) MarshalFields

func (s MessageTag) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageTag) String

func (s MessageTag) String() string

String returns the string representation

func (*MessageTag) Validate

func (s *MessageTag) Validate() error

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

type OverallVolume added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/OverallVolume

func (OverallVolume) GoString added in v0.7.0

func (s OverallVolume) GoString() string

GoString returns the string representation

func (OverallVolume) MarshalFields added in v0.7.0

func (s OverallVolume) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OverallVolume) String added in v0.7.0

func (s OverallVolume) String() string

String returns the string representation

type PinpointDestination

type PinpointDestination struct {

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

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PinpointDestination

func (PinpointDestination) GoString

func (s PinpointDestination) GoString() string

GoString returns the string representation

func (PinpointDestination) MarshalFields

func (s PinpointDestination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PinpointDestination) String

func (s PinpointDestination) String() string

String returns the string representation

type PinpointEmail

type PinpointEmail struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *PinpointEmail

New creates a new instance of the PinpointEmail client with a config.

Example:

// Create a PinpointEmail client from just a config.
svc := pinpointemail.New(myConfig)

func (*PinpointEmail) CreateConfigurationSetEventDestinationRequest

func (c *PinpointEmail) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) CreateConfigurationSetEventDestinationRequest

CreateConfigurationSetEventDestinationRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

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

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

// Example sending a request using the CreateConfigurationSetEventDestinationRequest method.
req := client.CreateConfigurationSetEventDestinationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestination

func (*PinpointEmail) CreateConfigurationSetRequest

func (c *PinpointEmail) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) CreateConfigurationSetRequest

CreateConfigurationSetRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Create a configuration set. Configuration sets are groups of rules that you can apply to the emails you send using Amazon Pinpoint. 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.

// Example sending a request using the CreateConfigurationSetRequest method.
req := client.CreateConfigurationSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSet

func (*PinpointEmail) CreateDedicatedIpPoolRequest

func (c *PinpointEmail) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoolInput) CreateDedicatedIpPoolRequest

CreateDedicatedIpPoolRequest returns a request value for making API operation for Amazon Pinpoint 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 Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.

// Example sending a request using the CreateDedicatedIpPoolRequest method.
req := client.CreateDedicatedIpPoolRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDedicatedIpPool

func (*PinpointEmail) CreateDeliverabilityTestReportRequest added in v0.7.0

func (c *PinpointEmail) CreateDeliverabilityTestReportRequest(input *CreateDeliverabilityTestReportInput) CreateDeliverabilityTestReportRequest

CreateDeliverabilityTestReportRequest returns a request value for making API operation for Amazon Pinpoint 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 Pinpoint 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.

// Example sending a request using the CreateDeliverabilityTestReportRequest method.
req := client.CreateDeliverabilityTestReportRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReport

func (*PinpointEmail) CreateEmailIdentityRequest

func (c *PinpointEmail) CreateEmailIdentityRequest(input *CreateEmailIdentityInput) CreateEmailIdentityRequest

CreateEmailIdentityRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Verifies an email identity for use with Amazon Pinpoint. In Amazon Pinpoint, an identity is an email address or domain that you use when you send email. Before you can use an identity to send email with Amazon Pinpoint, you first have to verify it. By verifying an address, you demonstrate that you're the owner of the address, and that you've given Amazon Pinpoint permission to send email from the address.

When you verify an email address, Amazon Pinpoint 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, 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 Pinpoint detects these records in the DNS configuration for your domain. It usually takes around 72 hours to complete the domain verification process.

// Example sending a request using the CreateEmailIdentityRequest method.
req := client.CreateEmailIdentityRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateEmailIdentity

func (*PinpointEmail) DeleteConfigurationSetEventDestinationRequest

func (c *PinpointEmail) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) DeleteConfigurationSetEventDestinationRequest

DeleteConfigurationSetEventDestinationRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Delete an event destination.

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

// Example sending a request using the DeleteConfigurationSetEventDestinationRequest method.
req := client.DeleteConfigurationSetEventDestinationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetEventDestination

func (*PinpointEmail) DeleteConfigurationSetRequest

func (c *PinpointEmail) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) DeleteConfigurationSetRequest

DeleteConfigurationSetRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Delete an existing configuration set.

In Amazon Pinpoint, 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.

// Example sending a request using the DeleteConfigurationSetRequest method.
req := client.DeleteConfigurationSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSet

func (*PinpointEmail) DeleteDedicatedIpPoolRequest

func (c *PinpointEmail) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoolInput) DeleteDedicatedIpPoolRequest

DeleteDedicatedIpPoolRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Delete a dedicated IP pool.

// Example sending a request using the DeleteDedicatedIpPoolRequest method.
req := client.DeleteDedicatedIpPoolRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteDedicatedIpPool

func (*PinpointEmail) DeleteEmailIdentityRequest

func (c *PinpointEmail) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInput) DeleteEmailIdentityRequest

DeleteEmailIdentityRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity can be either an email address or a domain name.

// Example sending a request using the DeleteEmailIdentityRequest method.
req := client.DeleteEmailIdentityRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentity

func (*PinpointEmail) GetAccountRequest

func (c *PinpointEmail) GetAccountRequest(input *GetAccountInput) GetAccountRequest

GetAccountRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.

// Example sending a request using the GetAccountRequest method.
req := client.GetAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetAccount

func (*PinpointEmail) GetBlacklistReportsRequest added in v0.7.0

func (c *PinpointEmail) GetBlacklistReportsRequest(input *GetBlacklistReportsInput) GetBlacklistReportsRequest

GetBlacklistReportsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Retrieve a list of the blacklists that your dedicated IP addresses appear on.

// Example sending a request using the GetBlacklistReportsRequest method.
req := client.GetBlacklistReportsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReports

func (*PinpointEmail) GetConfigurationSetEventDestinationsRequest

func (c *PinpointEmail) GetConfigurationSetEventDestinationsRequest(input *GetConfigurationSetEventDestinationsInput) GetConfigurationSetEventDestinationsRequest

GetConfigurationSetEventDestinationsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Retrieve a list of event destinations that are associated with a configuration set.

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

// Example sending a request using the GetConfigurationSetEventDestinationsRequest method.
req := client.GetConfigurationSetEventDestinationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetEventDestinations

func (*PinpointEmail) GetConfigurationSetRequest

func (c *PinpointEmail) GetConfigurationSetRequest(input *GetConfigurationSetInput) GetConfigurationSetRequest

GetConfigurationSetRequest returns a request value for making API operation for Amazon Pinpoint 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.

In Amazon Pinpoint, 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.

// Example sending a request using the GetConfigurationSetRequest method.
req := client.GetConfigurationSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSet

func (*PinpointEmail) GetDedicatedIpRequest

func (c *PinpointEmail) GetDedicatedIpRequest(input *GetDedicatedIpInput) GetDedicatedIpRequest

GetDedicatedIpRequest returns a request value for making API operation for Amazon Pinpoint 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.

// Example sending a request using the GetDedicatedIpRequest method.
req := client.GetDedicatedIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIp

func (*PinpointEmail) GetDedicatedIpsRequest

func (c *PinpointEmail) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) GetDedicatedIpsRequest

GetDedicatedIpsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

List the dedicated IP addresses that are associated with your Amazon Pinpoint account.

// Example sending a request using the GetDedicatedIpsRequest method.
req := client.GetDedicatedIpsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIps

func (*PinpointEmail) GetDeliverabilityDashboardOptionsRequest added in v0.7.0

func (c *PinpointEmail) GetDeliverabilityDashboardOptionsRequest(input *GetDeliverabilityDashboardOptionsInput) GetDeliverabilityDashboardOptionsRequest

GetDeliverabilityDashboardOptionsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Show the status of the Deliverability dashboard. When the Deliverability dashboard is enabled, you gain access to reputation metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, AWS prorates the monthly charge based on how many days have elapsed in the current calendar month.

// Example sending a request using the GetDeliverabilityDashboardOptionsRequest method.
req := client.GetDeliverabilityDashboardOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptions

func (*PinpointEmail) GetDeliverabilityTestReportRequest added in v0.7.0

func (c *PinpointEmail) GetDeliverabilityTestReportRequest(input *GetDeliverabilityTestReportInput) GetDeliverabilityTestReportRequest

GetDeliverabilityTestReportRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Retrieve the results of a predictive inbox placement test.

// Example sending a request using the GetDeliverabilityTestReportRequest method.
req := client.GetDeliverabilityTestReportRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReport

func (*PinpointEmail) GetDomainStatisticsReportRequest added in v0.7.0

func (c *PinpointEmail) GetDomainStatisticsReportRequest(input *GetDomainStatisticsReportInput) GetDomainStatisticsReportRequest

GetDomainStatisticsReportRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Retrieve inbox placement and engagement rates for the domains that you use to send email.

// Example sending a request using the GetDomainStatisticsReportRequest method.
req := client.GetDomainStatisticsReportRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReport

func (*PinpointEmail) GetEmailIdentityRequest

func (c *PinpointEmail) GetEmailIdentityRequest(input *GetEmailIdentityInput) GetEmailIdentityRequest

GetEmailIdentityRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Provides information about a specific identity associated with your Amazon Pinpoint account, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.

// Example sending a request using the GetEmailIdentityRequest method.
req := client.GetEmailIdentityRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetEmailIdentity

func (*PinpointEmail) ListConfigurationSetsRequest

func (c *PinpointEmail) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) ListConfigurationSetsRequest

ListConfigurationSetsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

List all of the configuration sets associated with your Amazon Pinpoint account in the current region.

In Amazon Pinpoint, 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.

// Example sending a request using the ListConfigurationSetsRequest method.
req := client.ListConfigurationSetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListConfigurationSets

func (*PinpointEmail) ListDedicatedIpPoolsRequest

func (c *PinpointEmail) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsInput) ListDedicatedIpPoolsRequest

ListDedicatedIpPoolsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

List all of the dedicated IP pools that exist in your Amazon Pinpoint account in the current AWS Region.

// Example sending a request using the ListDedicatedIpPoolsRequest method.
req := client.ListDedicatedIpPoolsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDedicatedIpPools

func (*PinpointEmail) ListDeliverabilityTestReportsRequest added in v0.7.0

func (c *PinpointEmail) ListDeliverabilityTestReportsRequest(input *ListDeliverabilityTestReportsInput) ListDeliverabilityTestReportsRequest

ListDeliverabilityTestReportsRequest returns a request value for making API operation for Amazon Pinpoint 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.

// Example sending a request using the ListDeliverabilityTestReportsRequest method.
req := client.ListDeliverabilityTestReportsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReports

func (*PinpointEmail) ListEmailIdentitiesRequest

func (c *PinpointEmail) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInput) ListEmailIdentitiesRequest

ListEmailIdentitiesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Returns a list of all of the email identities that are associated with your Amazon Pinpoint 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.

// Example sending a request using the ListEmailIdentitiesRequest method.
req := client.ListEmailIdentitiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListEmailIdentities

func (*PinpointEmail) ListTagsForResourceRequest added in v0.8.0

func (c *PinpointEmail) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Retrieve a list of the tags (keys and values) that are associated with a specific resource. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. 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.

// Example sending a request using the ListTagsForResourceRequest method.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListTagsForResource

func (*PinpointEmail) PutAccountDedicatedIpWarmupAttributesRequest

func (c *PinpointEmail) PutAccountDedicatedIpWarmupAttributesRequest(input *PutAccountDedicatedIpWarmupAttributesInput) PutAccountDedicatedIpWarmupAttributesRequest

PutAccountDedicatedIpWarmupAttributesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Enable or disable the automatic warm-up feature for dedicated IP addresses.

// Example sending a request using the PutAccountDedicatedIpWarmupAttributesRequest method.
req := client.PutAccountDedicatedIpWarmupAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountDedicatedIpWarmupAttributes

func (*PinpointEmail) PutAccountSendingAttributesRequest

func (c *PinpointEmail) PutAccountSendingAttributesRequest(input *PutAccountSendingAttributesInput) PutAccountSendingAttributesRequest

PutAccountSendingAttributesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Enable or disable the ability of your account to send email.

// Example sending a request using the PutAccountSendingAttributesRequest method.
req := client.PutAccountSendingAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountSendingAttributes

func (*PinpointEmail) PutConfigurationSetDeliveryOptionsRequest

func (c *PinpointEmail) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationSetDeliveryOptionsInput) PutConfigurationSetDeliveryOptionsRequest

PutConfigurationSetDeliveryOptionsRequest returns a request value for making API operation for Amazon Pinpoint 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.

// Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method.
req := client.PutConfigurationSetDeliveryOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetDeliveryOptions

func (*PinpointEmail) PutConfigurationSetReputationOptionsRequest

func (c *PinpointEmail) PutConfigurationSetReputationOptionsRequest(input *PutConfigurationSetReputationOptionsInput) PutConfigurationSetReputationOptionsRequest

PutConfigurationSetReputationOptionsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.

// Example sending a request using the PutConfigurationSetReputationOptionsRequest method.
req := client.PutConfigurationSetReputationOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetReputationOptions

func (*PinpointEmail) PutConfigurationSetSendingOptionsRequest

func (c *PinpointEmail) PutConfigurationSetSendingOptionsRequest(input *PutConfigurationSetSendingOptionsInput) PutConfigurationSetSendingOptionsRequest

PutConfigurationSetSendingOptionsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.

// Example sending a request using the PutConfigurationSetSendingOptionsRequest method.
req := client.PutConfigurationSetSendingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptions

func (*PinpointEmail) PutConfigurationSetTrackingOptionsRequest

func (c *PinpointEmail) PutConfigurationSetTrackingOptionsRequest(input *PutConfigurationSetTrackingOptionsInput) PutConfigurationSetTrackingOptionsRequest

PutConfigurationSetTrackingOptionsRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.

// Example sending a request using the PutConfigurationSetTrackingOptionsRequest method.
req := client.PutConfigurationSetTrackingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptions

func (*PinpointEmail) PutDedicatedIpInPoolRequest

func (c *PinpointEmail) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolInput) PutDedicatedIpInPoolRequest

PutDedicatedIpInPoolRequest returns a request value for making API operation for Amazon Pinpoint 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 Pinpoint account.

The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

// Example sending a request using the PutDedicatedIpInPoolRequest method.
req := client.PutDedicatedIpInPoolRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpInPool

func (*PinpointEmail) PutDedicatedIpWarmupAttributesRequest

func (c *PinpointEmail) PutDedicatedIpWarmupAttributesRequest(input *PutDedicatedIpWarmupAttributesInput) PutDedicatedIpWarmupAttributesRequest

PutDedicatedIpWarmupAttributesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

// Example sending a request using the PutDedicatedIpWarmupAttributesRequest method.
req := client.PutDedicatedIpWarmupAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpWarmupAttributes

func (*PinpointEmail) PutDeliverabilityDashboardOptionRequest added in v0.7.0

func (c *PinpointEmail) PutDeliverabilityDashboardOptionRequest(input *PutDeliverabilityDashboardOptionInput) PutDeliverabilityDashboardOptionRequest

PutDeliverabilityDashboardOptionRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

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

When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, we prorate the monthly charge based on how many days have elapsed in the current calendar month.

// Example sending a request using the PutDeliverabilityDashboardOptionRequest method.
req := client.PutDeliverabilityDashboardOptionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOption

func (*PinpointEmail) PutEmailIdentityDkimAttributesRequest

func (c *PinpointEmail) PutEmailIdentityDkimAttributesRequest(input *PutEmailIdentityDkimAttributesInput) PutEmailIdentityDkimAttributesRequest

PutEmailIdentityDkimAttributesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Used to enable or disable DKIM authentication for an email identity.

// Example sending a request using the PutEmailIdentityDkimAttributesRequest method.
req := client.PutEmailIdentityDkimAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributes

func (*PinpointEmail) PutEmailIdentityFeedbackAttributesRequest

func (c *PinpointEmail) PutEmailIdentityFeedbackAttributesRequest(input *PutEmailIdentityFeedbackAttributesInput) PutEmailIdentityFeedbackAttributesRequest

PutEmailIdentityFeedbackAttributesRequest returns a request value for making API operation for Amazon Pinpoint 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.

When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.

When you disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. 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, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).

// Example sending a request using the PutEmailIdentityFeedbackAttributesRequest method.
req := client.PutEmailIdentityFeedbackAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityFeedbackAttributes

func (*PinpointEmail) PutEmailIdentityMailFromAttributesRequest

func (c *PinpointEmail) PutEmailIdentityMailFromAttributesRequest(input *PutEmailIdentityMailFromAttributesInput) PutEmailIdentityMailFromAttributesRequest

PutEmailIdentityMailFromAttributesRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Used to enable or disable the custom Mail-From domain configuration for an email identity.

// Example sending a request using the PutEmailIdentityMailFromAttributesRequest method.
req := client.PutEmailIdentityMailFromAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityMailFromAttributes

func (*PinpointEmail) SendEmailRequest

func (c *PinpointEmail) SendEmailRequest(input *SendEmailInput) SendEmailRequest

SendEmailRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Sends an email message. You can use the Amazon Pinpoint Email API to send two types of messages:

  • Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and Amazon Pinpoint 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.

    // Example sending a request using the SendEmailRequest method. req := client.SendEmailRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendEmail

func (*PinpointEmail) TagResourceRequest added in v0.8.0

func (c *PinpointEmail) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Add one or more tags (keys and values) to one or more specified resources. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. 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.

// Example sending a request using the TagResourceRequest method.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TagResource

func (*PinpointEmail) UntagResourceRequest added in v0.8.0

func (c *PinpointEmail) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Remove one or more tags (keys and values) from a specified resource.

// Example sending a request using the UntagResourceRequest method.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UntagResource

func (*PinpointEmail) UpdateConfigurationSetEventDestinationRequest

func (c *PinpointEmail) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) UpdateConfigurationSetEventDestinationRequest

UpdateConfigurationSetEventDestinationRequest returns a request value for making API operation for Amazon Pinpoint Email Service.

Update the configuration of an event destination for a configuration set.

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

// Example sending a request using the UpdateConfigurationSetEventDestinationRequest method.
req := client.UpdateConfigurationSetEventDestinationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UpdateConfigurationSetEventDestination

type PlacementStatistics added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PlacementStatistics

func (PlacementStatistics) GoString added in v0.7.0

func (s PlacementStatistics) GoString() string

GoString returns the string representation

func (PlacementStatistics) MarshalFields added in v0.7.0

func (s PlacementStatistics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PlacementStatistics) String added in v0.7.0

func (s PlacementStatistics) String() string

String returns the string representation

type PutAccountDedicatedIpWarmupAttributesInput

type PutAccountDedicatedIpWarmupAttributesInput struct {

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

A request to enable or disable the automatic IP address warm-up feature. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountDedicatedIpWarmupAttributesRequest

func (PutAccountDedicatedIpWarmupAttributesInput) GoString

GoString returns the string representation

func (PutAccountDedicatedIpWarmupAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutAccountDedicatedIpWarmupAttributesInput) String

String returns the string representation

type PutAccountDedicatedIpWarmupAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountDedicatedIpWarmupAttributesResponse

func (PutAccountDedicatedIpWarmupAttributesOutput) GoString

GoString returns the string representation

func (PutAccountDedicatedIpWarmupAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutAccountDedicatedIpWarmupAttributesOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (PutAccountDedicatedIpWarmupAttributesOutput) String

String returns the string representation

type PutAccountDedicatedIpWarmupAttributesRequest

PutAccountDedicatedIpWarmupAttributesRequest is a API request type for the PutAccountDedicatedIpWarmupAttributes API operation.

func (PutAccountDedicatedIpWarmupAttributesRequest) Send

Send marshals and sends the PutAccountDedicatedIpWarmupAttributes API request.

type PutAccountSendingAttributesInput

type PutAccountSendingAttributesInput struct {

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

A request to change the ability of your account to send email. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountSendingAttributesRequest

func (PutAccountSendingAttributesInput) GoString

GoString returns the string representation

func (PutAccountSendingAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutAccountSendingAttributesInput) String

String returns the string representation

type PutAccountSendingAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountSendingAttributesResponse

func (PutAccountSendingAttributesOutput) GoString

GoString returns the string representation

func (PutAccountSendingAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutAccountSendingAttributesOutput) SDKResponseMetadata

func (s PutAccountSendingAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutAccountSendingAttributesOutput) String

String returns the string representation

type PutAccountSendingAttributesRequest

type PutAccountSendingAttributesRequest struct {
	*aws.Request
	Input *PutAccountSendingAttributesInput
	Copy  func(*PutAccountSendingAttributesInput) PutAccountSendingAttributesRequest
}

PutAccountSendingAttributesRequest is a API request type for the PutAccountSendingAttributes API operation.

func (PutAccountSendingAttributesRequest) Send

Send marshals and sends the PutAccountSendingAttributes API request.

type PutConfigurationSetDeliveryOptionsInput

type PutConfigurationSetDeliveryOptionsInput struct {

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

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

A request to associate a configuration set with a dedicated IP pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetDeliveryOptionsRequest

func (PutConfigurationSetDeliveryOptionsInput) GoString

GoString returns the string representation

func (PutConfigurationSetDeliveryOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetDeliveryOptionsInput) String

String returns the string representation

func (*PutConfigurationSetDeliveryOptionsInput) Validate

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

type PutConfigurationSetDeliveryOptionsOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetDeliveryOptionsResponse

func (PutConfigurationSetDeliveryOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetDeliveryOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetDeliveryOptionsOutput) SDKResponseMetadata

func (s PutConfigurationSetDeliveryOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutConfigurationSetDeliveryOptionsOutput) String

String returns the string representation

type PutConfigurationSetDeliveryOptionsRequest

PutConfigurationSetDeliveryOptionsRequest is a API request type for the PutConfigurationSetDeliveryOptions API operation.

func (PutConfigurationSetDeliveryOptionsRequest) Send

Send marshals and sends the PutConfigurationSetDeliveryOptions API request.

type PutConfigurationSetReputationOptionsInput

type PutConfigurationSetReputationOptionsInput struct {

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

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

A request to enable or disable tracking of reputation metrics for a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetReputationOptionsRequest

func (PutConfigurationSetReputationOptionsInput) GoString

GoString returns the string representation

func (PutConfigurationSetReputationOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetReputationOptionsInput) String

String returns the string representation

func (*PutConfigurationSetReputationOptionsInput) Validate

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

type PutConfigurationSetReputationOptionsOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetReputationOptionsResponse

func (PutConfigurationSetReputationOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetReputationOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetReputationOptionsOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (PutConfigurationSetReputationOptionsOutput) String

String returns the string representation

type PutConfigurationSetReputationOptionsRequest

PutConfigurationSetReputationOptionsRequest is a API request type for the PutConfigurationSetReputationOptions API operation.

func (PutConfigurationSetReputationOptionsRequest) Send

Send marshals and sends the PutConfigurationSetReputationOptions API request.

type PutConfigurationSetSendingOptionsInput

type PutConfigurationSetSendingOptionsInput struct {

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

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

A request to enable or disable the ability of Amazon Pinpoint to send emails that use a specific configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptionsRequest

func (PutConfigurationSetSendingOptionsInput) GoString

GoString returns the string representation

func (PutConfigurationSetSendingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetSendingOptionsInput) String

String returns the string representation

func (*PutConfigurationSetSendingOptionsInput) Validate

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

type PutConfigurationSetSendingOptionsOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptionsResponse

func (PutConfigurationSetSendingOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetSendingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetSendingOptionsOutput) SDKResponseMetadata

func (s PutConfigurationSetSendingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutConfigurationSetSendingOptionsOutput) String

String returns the string representation

type PutConfigurationSetSendingOptionsRequest

PutConfigurationSetSendingOptionsRequest is a API request type for the PutConfigurationSetSendingOptions API operation.

func (PutConfigurationSetSendingOptionsRequest) Send

Send marshals and sends the PutConfigurationSetSendingOptions API request.

type PutConfigurationSetTrackingOptionsInput

type PutConfigurationSetTrackingOptionsInput struct {

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

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

A request to add a custom domain for tracking open and click events to a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptionsRequest

func (PutConfigurationSetTrackingOptionsInput) GoString

GoString returns the string representation

func (PutConfigurationSetTrackingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetTrackingOptionsInput) String

String returns the string representation

func (*PutConfigurationSetTrackingOptionsInput) Validate

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

type PutConfigurationSetTrackingOptionsOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptionsResponse

func (PutConfigurationSetTrackingOptionsOutput) GoString

GoString returns the string representation

func (PutConfigurationSetTrackingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutConfigurationSetTrackingOptionsOutput) SDKResponseMetadata

func (s PutConfigurationSetTrackingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutConfigurationSetTrackingOptionsOutput) String

String returns the string representation

type PutConfigurationSetTrackingOptionsRequest

PutConfigurationSetTrackingOptionsRequest is a API request type for the PutConfigurationSetTrackingOptions API operation.

func (PutConfigurationSetTrackingOptionsRequest) Send

Send marshals and sends the PutConfigurationSetTrackingOptions API request.

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 Pinpoint 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpInPoolRequest

func (PutDedicatedIpInPoolInput) GoString

func (s PutDedicatedIpInPoolInput) GoString() string

GoString returns the string representation

func (PutDedicatedIpInPoolInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDedicatedIpInPoolInput) String

func (s PutDedicatedIpInPoolInput) String() string

String returns the string representation

func (*PutDedicatedIpInPoolInput) Validate

func (s *PutDedicatedIpInPoolInput) Validate() error

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

type PutDedicatedIpInPoolOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpInPoolResponse

func (PutDedicatedIpInPoolOutput) GoString

func (s PutDedicatedIpInPoolOutput) GoString() string

GoString returns the string representation

func (PutDedicatedIpInPoolOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDedicatedIpInPoolOutput) SDKResponseMetadata

func (s PutDedicatedIpInPoolOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutDedicatedIpInPoolOutput) String

String returns the string representation

type PutDedicatedIpInPoolRequest

type PutDedicatedIpInPoolRequest struct {
	*aws.Request
	Input *PutDedicatedIpInPoolInput
	Copy  func(*PutDedicatedIpInPoolInput) PutDedicatedIpInPoolRequest
}

PutDedicatedIpInPoolRequest is a API request type for the PutDedicatedIpInPool API operation.

func (PutDedicatedIpInPoolRequest) Send

Send marshals and sends the PutDedicatedIpInPool API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpWarmupAttributesRequest

func (PutDedicatedIpWarmupAttributesInput) GoString

GoString returns the string representation

func (PutDedicatedIpWarmupAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDedicatedIpWarmupAttributesInput) String

String returns the string representation

func (*PutDedicatedIpWarmupAttributesInput) Validate

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

type PutDedicatedIpWarmupAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpWarmupAttributesResponse

func (PutDedicatedIpWarmupAttributesOutput) GoString

GoString returns the string representation

func (PutDedicatedIpWarmupAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDedicatedIpWarmupAttributesOutput) SDKResponseMetadata

func (s PutDedicatedIpWarmupAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutDedicatedIpWarmupAttributesOutput) String

String returns the string representation

type PutDedicatedIpWarmupAttributesRequest

type PutDedicatedIpWarmupAttributesRequest struct {
	*aws.Request
	Input *PutDedicatedIpWarmupAttributesInput
	Copy  func(*PutDedicatedIpWarmupAttributesInput) PutDedicatedIpWarmupAttributesRequest
}

PutDedicatedIpWarmupAttributesRequest is a API request type for the PutDedicatedIpWarmupAttributes API operation.

func (PutDedicatedIpWarmupAttributesRequest) Send

Send marshals and sends the PutDedicatedIpWarmupAttributes API request.

type PutDeliverabilityDashboardOptionInput added in v0.7.0

type PutDeliverabilityDashboardOptionInput struct {

	// Indicates whether the Deliverability dashboard is enabled. If the value is
	// true, then the dashboard is enabled.
	//
	// DashboardEnabled is a required field
	DashboardEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

A request to enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests.

When you use the Deliverability dashboard, you pay a monthly charge of USD$1,250.00, in addition to any other fees that you accrue by using Amazon Pinpoint. If you enable the Deliverability dashboard after the first day of a calendar month, we prorate the monthly charge based on how many days have elapsed in the current calendar month. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOptionRequest

func (PutDeliverabilityDashboardOptionInput) GoString added in v0.7.0

GoString returns the string representation

func (PutDeliverabilityDashboardOptionInput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDeliverabilityDashboardOptionInput) String added in v0.7.0

String returns the string representation

func (*PutDeliverabilityDashboardOptionInput) Validate added in v0.7.0

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

type PutDeliverabilityDashboardOptionOutput added in v0.7.0

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

A response that indicates whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOptionResponse

func (PutDeliverabilityDashboardOptionOutput) GoString added in v0.7.0

GoString returns the string representation

func (PutDeliverabilityDashboardOptionOutput) MarshalFields added in v0.7.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutDeliverabilityDashboardOptionOutput) SDKResponseMetadata added in v0.7.0

func (s PutDeliverabilityDashboardOptionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutDeliverabilityDashboardOptionOutput) String added in v0.7.0

String returns the string representation

type PutDeliverabilityDashboardOptionRequest added in v0.7.0

type PutDeliverabilityDashboardOptionRequest struct {
	*aws.Request
	Input *PutDeliverabilityDashboardOptionInput
	Copy  func(*PutDeliverabilityDashboardOptionInput) PutDeliverabilityDashboardOptionRequest
}

PutDeliverabilityDashboardOptionRequest is a API request type for the PutDeliverabilityDashboardOption API operation.

func (PutDeliverabilityDashboardOptionRequest) Send added in v0.7.0

Send marshals and sends the PutDeliverabilityDashboardOption API request.

type PutEmailIdentityDkimAttributesInput

type PutEmailIdentityDkimAttributesInput struct {

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

	// Sets the DKIM signing configuration for the identity.
	//
	// When you set this value true, then the messages that Amazon Pinpoint sends
	// from the identity are DKIM-signed. When you set this value to false, then
	// the messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributesRequest

func (PutEmailIdentityDkimAttributesInput) GoString

GoString returns the string representation

func (PutEmailIdentityDkimAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityDkimAttributesInput) String

String returns the string representation

func (*PutEmailIdentityDkimAttributesInput) Validate

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

type PutEmailIdentityDkimAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributesResponse

func (PutEmailIdentityDkimAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityDkimAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityDkimAttributesOutput) SDKResponseMetadata

func (s PutEmailIdentityDkimAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutEmailIdentityDkimAttributesOutput) String

String returns the string representation

type PutEmailIdentityDkimAttributesRequest

type PutEmailIdentityDkimAttributesRequest struct {
	*aws.Request
	Input *PutEmailIdentityDkimAttributesInput
	Copy  func(*PutEmailIdentityDkimAttributesInput) PutEmailIdentityDkimAttributesRequest
}

PutEmailIdentityDkimAttributesRequest is a API request type for the PutEmailIdentityDkimAttributes API operation.

func (PutEmailIdentityDkimAttributesRequest) Send

Send marshals and sends the PutEmailIdentityDkimAttributes API request.

type PutEmailIdentityFeedbackAttributesInput

type PutEmailIdentityFeedbackAttributesInput struct {

	// Sets the feedback forwarding configuration for the identity.
	//
	// If the value is true, Amazon Pinpoint sends you email notifications when
	// bounce or complaint events occur. Amazon Pinpoint sends this notification
	// to the address that you specified in the Return-Path header of the original
	// email.
	//
	// When you set this value to false, Amazon Pinpoint sends notifications through
	// other mechanisms, such as by notifying an Amazon SNS topic or another event
	// destination. 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, Amazon Pinpoint sends an email notification when these events
	// occur (even if this setting is disabled).
	EmailForwardingEnabled *bool `type:"boolean"`

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

A request to set the attributes that control how bounce and complaint events are processed. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityFeedbackAttributesRequest

func (PutEmailIdentityFeedbackAttributesInput) GoString

GoString returns the string representation

func (PutEmailIdentityFeedbackAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityFeedbackAttributesInput) String

String returns the string representation

func (*PutEmailIdentityFeedbackAttributesInput) Validate

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

type PutEmailIdentityFeedbackAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityFeedbackAttributesResponse

func (PutEmailIdentityFeedbackAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityFeedbackAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityFeedbackAttributesOutput) SDKResponseMetadata

func (s PutEmailIdentityFeedbackAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutEmailIdentityFeedbackAttributesOutput) String

String returns the string representation

type PutEmailIdentityFeedbackAttributesRequest

PutEmailIdentityFeedbackAttributesRequest is a API request type for the PutEmailIdentityFeedbackAttributes API operation.

func (PutEmailIdentityFeedbackAttributesRequest) Send

Send marshals and sends the PutEmailIdentityFeedbackAttributes API request.

type PutEmailIdentityMailFromAttributesInput

type PutEmailIdentityMailFromAttributesInput struct {

	// The action that you want Amazon Pinpoint to take if it can't read the required
	// MX record when you send an email. When you set this value to UseDefaultValue,
	// Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set
	// this value to RejectMessage, Amazon Pinpoint 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 BehaviorOnMxFailure `type:"string" enum:"true"`

	// The verified email identity that you want to set up the custom MAIL FROM
	// domain for.
	//
	// EmailIdentity is a required field
	EmailIdentity *string `location:"uri" locationName:"EmailIdentity" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityMailFromAttributesRequest

func (PutEmailIdentityMailFromAttributesInput) GoString

GoString returns the string representation

func (PutEmailIdentityMailFromAttributesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityMailFromAttributesInput) String

String returns the string representation

func (*PutEmailIdentityMailFromAttributesInput) Validate

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

type PutEmailIdentityMailFromAttributesOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityMailFromAttributesResponse

func (PutEmailIdentityMailFromAttributesOutput) GoString

GoString returns the string representation

func (PutEmailIdentityMailFromAttributesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEmailIdentityMailFromAttributesOutput) SDKResponseMetadata

func (s PutEmailIdentityMailFromAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutEmailIdentityMailFromAttributesOutput) String

String returns the string representation

type PutEmailIdentityMailFromAttributesRequest

PutEmailIdentityMailFromAttributesRequest is a API request type for the PutEmailIdentityMailFromAttributes API operation.

func (PutEmailIdentityMailFromAttributesRequest) Send

Send marshals and sends the PutEmailIdentityMailFromAttributes API request.

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 Amazon Pinpoint supports.
	//
	//
	//    * The entire message must be Base64 encoded.
	//
	//    * If any of the MIME parts in your message contain content that is outside
	//    of the 7-bit ASCII character range, you should encode that content to
	//    ensure that recipients' email clients render the message properly.
	//
	//    * The length of any single line of text in the message can't exceed 1,000
	//    characters. This restriction is defined in RFC 5321 (https://tools.ietf.org/html/rfc5321).
	//
	// Data is automatically base64 encoded/decoded by the SDK.
	//
	// Data is a required field
	Data []byte `type:"blob" required:"true"`
	// contains filtered or unexported fields
}

The raw email message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/RawMessage

func (RawMessage) GoString

func (s RawMessage) GoString() string

GoString returns the string representation

func (RawMessage) MarshalFields

func (s RawMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RawMessage) String

func (s RawMessage) String() string

String returns the string representation

func (*RawMessage) Validate

func (s *RawMessage) Validate() error

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

type 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" timestampFormat:"unix"`

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

Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ReputationOptions

func (ReputationOptions) GoString

func (s ReputationOptions) GoString() string

GoString returns the string representation

func (ReputationOptions) MarshalFields

func (s ReputationOptions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ReputationOptions) String

func (s ReputationOptions) String() string

String returns the string representation

type SendEmailInput

type SendEmailInput struct {

	// The name of the configuration set that you want to use when sending the email.
	ConfigurationSetName *string `type:"string"`

	// An object that contains the body of the message. You can send either a Simple
	// message or a Raw message.
	//
	// Content is a required field
	Content *EmailContent `type:"structure" required:"true"`

	// An object that contains the recipients of the email message.
	//
	// Destination is a required field
	Destination *Destination `type:"structure" required:"true"`

	// A list of tags, in the form of name/value pairs, to apply to an email that
	// you send using 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 Amazon Pinpoint should send bounce and complaint notifications
	// to.
	FeedbackForwardingEmailAddress *string `type:"string"`

	// The email address that you want to use as the "From" address for the email.
	// The address that you specify has to be verified.
	FromEmailAddress *string `type:"string"`

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

A request to send an email message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendEmailRequest

func (SendEmailInput) GoString

func (s SendEmailInput) GoString() string

GoString returns the string representation

func (SendEmailInput) MarshalFields

func (s SendEmailInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendEmailInput) String

func (s SendEmailInput) String() string

String returns the string representation

func (*SendEmailInput) Validate

func (s *SendEmailInput) Validate() error

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

type SendEmailOutput

type SendEmailOutput struct {

	// A unique identifier for the message that is generated when Amazon Pinpoint
	// accepts the message.
	//
	// It is possible for Amazon Pinpoint to accept a message without sending it.
	// This can happen when the message you're trying to send has an attachment
	// doesn't pass a virus check, or when you send a templated email that contains
	// invalid personalization content, for example.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

A unique message ID that you receive when Amazon Pinpoint accepts an email for sending. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendEmailResponse

func (SendEmailOutput) GoString

func (s SendEmailOutput) GoString() string

GoString returns the string representation

func (SendEmailOutput) MarshalFields

func (s SendEmailOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendEmailOutput) SDKResponseMetadata

func (s SendEmailOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SendEmailOutput) String

func (s SendEmailOutput) String() string

String returns the string representation

type SendEmailRequest

type SendEmailRequest struct {
	*aws.Request
	Input *SendEmailInput
	Copy  func(*SendEmailInput) SendEmailRequest
}

SendEmailRequest is a API request type for the SendEmail API operation.

func (SendEmailRequest) Send

Send marshals and sends the SendEmail API request.

type SendQuota

type SendQuota struct {

	// The maximum number of emails that you can send in the current AWS Region
	// over a 24-hour period. This value is also called your sending quota.
	Max24HourSend *float64 `type:"double"`

	// The maximum number of emails that you can send per second in the current
	// AWS Region. This value is also called your maximum sending rate or your maximum
	// TPS (transactions per second) rate.
	MaxSendRate *float64 `type:"double"`

	// The number of emails sent from your Amazon Pinpoint account in the current
	// AWS Region over the past 24 hours.
	SentLast24Hours *float64 `type:"double"`
	// contains filtered or unexported fields
}

An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendQuota

func (SendQuota) GoString

func (s SendQuota) GoString() string

GoString returns the string representation

func (SendQuota) MarshalFields

func (s SendQuota) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendQuota) String

func (s SendQuota) String() string

String returns the string representation

type SendingOptions

type SendingOptions struct {

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

Used to enable or disable email sending for messages that use this configuration set in the current AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendingOptions

func (SendingOptions) GoString

func (s SendingOptions) GoString() string

GoString returns the string representation

func (SendingOptions) MarshalFields

func (s SendingOptions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendingOptions) String

func (s SendingOptions) String() string

String returns the string representation

type SnsDestination

type SnsDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
	// email events to. For more information about Amazon SNS topics, see the Amazon
	// SNS Developer Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
	//
	// TopicArn is a required field
	TopicArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SnsDestination

func (SnsDestination) GoString

func (s SnsDestination) GoString() string

GoString returns the string representation

func (SnsDestination) MarshalFields

func (s SnsDestination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SnsDestination) String

func (s SnsDestination) String() string

String returns the string representation

func (*SnsDestination) Validate

func (s *SnsDestination) Validate() error

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

type Tag added in v0.8.0

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. Amazon Pinpoint will set 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 in Amazon Pinpoint. 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. For example, if you have two versions of an Amazon Pinpoint project, one for internal testing and another for external use, you might assign a Stack tag key to both projects. The value of the Stack tag key might be Test for one project and Production for the other project.

A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

  • Tag keys and values are case sensitive.

  • For each associated resource, each tag key must be unique and it can have only one value.

  • The aws: prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix. Tags that use this prefix don’t count against the limit of 50 tags per resource.

  • You can associate tags with public or shared resources, but the tags are available only for your AWS account, not any other accounts that share the resource. In addition, the tags are available only for resources that are located in the specified AWS Region for your AWS account.

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Tag

func (Tag) GoString added in v0.8.0

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) MarshalFields added in v0.8.0

func (s Tag) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Tag) String added in v0.8.0

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate added in v0.8.0

func (s *Tag) Validate() error

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

type TagResourceInput added in v0.8.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TagResourceRequest

func (TagResourceInput) GoString added in v0.8.0

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (TagResourceInput) MarshalFields added in v0.8.0

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String added in v0.8.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.8.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.8.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TagResourceResponse

func (TagResourceOutput) GoString added in v0.8.0

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) MarshalFields added in v0.8.0

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) SDKResponseMetadata added in v0.8.0

func (s TagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (TagResourceOutput) String added in v0.8.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.8.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is a API request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.8.0

Send marshals and sends the TagResource API request.

type TrackingOptions

type TrackingOptions struct {

	// The domain that you want to use for tracking open and click events.
	//
	// CustomRedirectDomain is a required field
	CustomRedirectDomain *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines the tracking options for a configuration set. When you use Amazon Pinpoint to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them.

These images and links include references to a domain operated by AWS. You can optionally configure Amazon Pinpoint to use a domain that you operate for these images and links. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TrackingOptions

func (TrackingOptions) GoString

func (s TrackingOptions) GoString() string

GoString returns the string representation

func (TrackingOptions) MarshalFields

func (s TrackingOptions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TrackingOptions) String

func (s TrackingOptions) String() string

String returns the string representation

func (*TrackingOptions) Validate

func (s *TrackingOptions) Validate() error

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

type UntagResourceInput added in v0.8.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UntagResourceRequest

func (UntagResourceInput) GoString added in v0.8.0

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (UntagResourceInput) MarshalFields added in v0.8.0

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String added in v0.8.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.8.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.8.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UntagResourceResponse

func (UntagResourceOutput) GoString added in v0.8.0

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) MarshalFields added in v0.8.0

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) SDKResponseMetadata added in v0.8.0

func (s UntagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UntagResourceOutput) String added in v0.8.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.8.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is a API request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.8.0

Send marshals and sends the UntagResource API request.

type UpdateConfigurationSetEventDestinationInput

type UpdateConfigurationSetEventDestinationInput struct {

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

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

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

A request to change the settings for an event destination for a configuration set. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UpdateConfigurationSetEventDestinationRequest

func (UpdateConfigurationSetEventDestinationInput) GoString

GoString returns the string representation

func (UpdateConfigurationSetEventDestinationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationSetEventDestinationInput) String

String returns the string representation

func (*UpdateConfigurationSetEventDestinationInput) Validate

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

type UpdateConfigurationSetEventDestinationOutput

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

An HTTP 200 response if the request succeeds, or an error message if the request fails. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UpdateConfigurationSetEventDestinationResponse

func (UpdateConfigurationSetEventDestinationOutput) GoString

GoString returns the string representation

func (UpdateConfigurationSetEventDestinationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationSetEventDestinationOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateConfigurationSetEventDestinationOutput) String

String returns the string representation

type UpdateConfigurationSetEventDestinationRequest

UpdateConfigurationSetEventDestinationRequest is a API request type for the UpdateConfigurationSetEventDestination API operation.

func (UpdateConfigurationSetEventDestinationRequest) Send

Send marshals and sends the UpdateConfigurationSetEventDestination API request.

type VolumeStatistics added in v0.7.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/VolumeStatistics

func (VolumeStatistics) GoString added in v0.7.0

func (s VolumeStatistics) GoString() string

GoString returns the string representation

func (VolumeStatistics) MarshalFields added in v0.7.0

func (s VolumeStatistics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VolumeStatistics) String added in v0.7.0

func (s VolumeStatistics) String() string

String returns the string representation

type WarmupStatus

type WarmupStatus string

The warmup status of a dedicated IP.

const (
	WarmupStatusInProgress WarmupStatus = "IN_PROGRESS"
	WarmupStatusDone       WarmupStatus = "DONE"
)

Enum values for WarmupStatus

func (WarmupStatus) MarshalValue

func (enum WarmupStatus) MarshalValue() (string, error)

func (WarmupStatus) MarshalValueBuf

func (enum WarmupStatus) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package pinpointemailiface provides an interface to enable mocking the Amazon Pinpoint Email Service service client for testing your code.
Package pinpointemailiface provides an interface to enable mocking the Amazon Pinpoint 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