1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5import (
6	"time"
7)
8
9// An object that contains information about a blacklisting event that impacts one
10// of the dedicated IP addresses that is associated with your account.
11type BlacklistEntry struct {
12
13	// Additional information about the blacklisting event, as provided by the
14	// blacklist maintainer.
15	Description *string
16
17	// The time when the blacklisting event occurred, shown in Unix time format.
18	ListingTime *time.Time
19
20	// The name of the blacklist that the IP address appears on.
21	RblName *string
22}
23
24// Represents the body of the email message.
25type Body struct {
26
27	// An object that represents the version of the message that is displayed in email
28	// clients that support HTML. HTML messages can include formatted text, hyperlinks,
29	// images, and more.
30	Html *Content
31
32	// An object that represents the version of the message that is displayed in email
33	// clients that don't support HTML, or clients where the recipient has disabled
34	// HTML rendering.
35	Text *Content
36}
37
38// An object that defines an Amazon CloudWatch destination for email events. You
39// can use Amazon CloudWatch to monitor and gain insights on your email sending
40// metrics.
41type CloudWatchDestination struct {
42
43	// An array of objects that define the dimensions to use when you send email events
44	// to Amazon CloudWatch.
45	//
46	// This member is required.
47	DimensionConfigurations []CloudWatchDimensionConfiguration
48}
49
50// An object that defines the dimension configuration to use when you send Amazon
51// Pinpoint email events to Amazon CloudWatch.
52type CloudWatchDimensionConfiguration struct {
53
54	// The default value of the dimension that is published to Amazon CloudWatch if you
55	// don't provide the value of the dimension when you send an email. This value has
56	// to meet the following criteria:
57	//
58	// * It can only contain ASCII letters (a-z, A-Z),
59	// numbers (0-9), underscores (_), or dashes (-).
60	//
61	// * It can contain no more than
62	// 256 characters.
63	//
64	// This member is required.
65	DefaultDimensionValue *string
66
67	// The name of an Amazon CloudWatch dimension associated with an email sending
68	// metric. The name has to meet the following criteria:
69	//
70	// * It can only contain
71	// ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
72	//
73	// * It
74	// can contain no more than 256 characters.
75	//
76	// This member is required.
77	DimensionName *string
78
79	// The location where Amazon Pinpoint finds the value of a dimension to publish to
80	// Amazon CloudWatch. If you want Amazon Pinpoint to use the message tags that you
81	// specify using an X-SES-MESSAGE-TAGS header or a parameter to the
82	// SendEmail/SendRawEmail API, choose messageTag. If you want Amazon Pinpoint to
83	// use your own email headers, choose emailHeader. If you want Amazon Pinpoint to
84	// use link tags, choose linkTags.
85	//
86	// This member is required.
87	DimensionValueSource DimensionValueSource
88}
89
90// An object that represents the content of the email, and optionally a character
91// set specification.
92type Content struct {
93
94	// The content of the message itself.
95	//
96	// This member is required.
97	Data *string
98
99	// The character set for the content. Because of the constraints of the SMTP
100	// protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes
101	// characters outside of the ASCII range, you have to specify a character set. For
102	// example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.
103	Charset *string
104}
105
106// An object that contains information about the volume of email sent on each day
107// of the analysis period.
108type DailyVolume struct {
109
110	// An object that contains inbox placement metrics for a specified day in the
111	// analysis period, broken out by the recipient's email provider.
112	DomainIspPlacements []DomainIspPlacement
113
114	// The date that the DailyVolume metrics apply to, in Unix time.
115	StartDate *time.Time
116
117	// An object that contains inbox placement metrics for a specific day in the
118	// analysis period.
119	VolumeStatistics *VolumeStatistics
120}
121
122// Contains information about a dedicated IP address that is associated with your
123// Amazon Pinpoint account.
124type DedicatedIp struct {
125
126	// An IP address that is reserved for use by your Amazon Pinpoint account.
127	//
128	// This member is required.
129	Ip *string
130
131	// Indicates how complete the dedicated IP warm-up process is. When this value
132	// equals 1, the address has completed the warm-up process and is ready for use.
133	//
134	// This member is required.
135	WarmupPercentage *int32
136
137	// The warm-up status of a dedicated IP address. The status can have one of the
138	// following values:
139	//
140	// * IN_PROGRESS – The IP address isn't ready to use because the
141	// dedicated IP warm-up process is ongoing.
142	//
143	// * DONE – The dedicated IP warm-up
144	// process is complete, and the IP address is ready to use.
145	//
146	// This member is required.
147	WarmupStatus WarmupStatus
148
149	// The name of the dedicated IP pool that the IP address is associated with.
150	PoolName *string
151}
152
153// An object that contains metadata related to a predictive inbox placement test.
154type DeliverabilityTestReport struct {
155
156	// The date and time when the predictive inbox placement test was created, in Unix
157	// time format.
158	CreateDate *time.Time
159
160	// The status of the predictive inbox placement test. If the status is IN_PROGRESS,
161	// then the predictive inbox placement test is currently running. Predictive inbox
162	// placement tests are usually complete within 24 hours of creating the test. If
163	// the status is COMPLETE, then the test is finished, and you can use the
164	// GetDeliverabilityTestReport to view the results of the test.
165	DeliverabilityTestStatus DeliverabilityTestStatus
166
167	// The sender address that you specified for the predictive inbox placement test.
168	FromEmailAddress *string
169
170	// A unique string that identifies the predictive inbox placement test.
171	ReportId *string
172
173	// A name that helps you identify a predictive inbox placement test report.
174	ReportName *string
175
176	// The subject line for an email that you submitted in a predictive inbox placement
177	// test.
178	Subject *string
179}
180
181// Used to associate a configuration set with a dedicated IP pool.
182type DeliveryOptions struct {
183
184	// The name of the dedicated IP pool that you want to associate with the
185	// configuration set.
186	SendingPoolName *string
187
188	// Specifies whether messages that use the configuration set are required to use
189	// Transport Layer Security (TLS). If the value is Require, messages are only
190	// delivered if a TLS connection can be established. If the value is Optional,
191	// messages can be delivered in plain text if a TLS connection can't be
192	// established.
193	TlsPolicy TlsPolicy
194}
195
196// An object that describes the recipients for an email.
197type Destination struct {
198
199	// An array that contains the email addresses of the "BCC" (blind carbon copy)
200	// recipients for the email.
201	BccAddresses []string
202
203	// An array that contains the email addresses of the "CC" (carbon copy) recipients
204	// for the email.
205	CcAddresses []string
206
207	// An array that contains the email addresses of the "To" recipients for the email.
208	ToAddresses []string
209}
210
211// An object that contains information about the DKIM configuration for an email
212// identity.
213type DkimAttributes struct {
214
215	// If the value is true, then the messages that Amazon Pinpoint sends from the
216	// identity are DKIM-signed. If the value is false, then the messages that Amazon
217	// Pinpoint sends from the identity aren't DKIM-signed.
218	SigningEnabled bool
219
220	// Describes whether or not Amazon Pinpoint has successfully located the DKIM
221	// records in the DNS records for the domain. The status can be one of the
222	// following:
223	//
224	// * PENDING – Amazon Pinpoint hasn't yet located the DKIM records in
225	// the DNS configuration for the domain, but will continue to attempt to locate
226	// them.
227	//
228	// * SUCCESS – Amazon Pinpoint located the DKIM records in the DNS
229	// configuration for the domain and determined that they're correct. Amazon
230	// Pinpoint can now send DKIM-signed email from the identity.
231	//
232	// * FAILED – Amazon
233	// Pinpoint was unable to locate the DKIM records in the DNS settings for the
234	// domain, and won't continue to search for them.
235	//
236	// * TEMPORARY_FAILURE – A
237	// temporary issue occurred, which prevented Amazon Pinpoint from determining the
238	// DKIM status for the domain.
239	//
240	// * NOT_STARTED – Amazon Pinpoint hasn't yet started
241	// searching for the DKIM records in the DKIM records for the domain.
242	Status DkimStatus
243
244	// A set of unique strings that you use to create a set of CNAME records that you
245	// add to the DNS configuration for your domain. When Amazon Pinpoint detects these
246	// records in the DNS configuration for your domain, the DKIM authentication
247	// process is complete. Amazon Pinpoint usually detects these records within about
248	// 72 hours of adding them to the DNS configuration for your domain.
249	Tokens []string
250}
251
252// An object that contains the deliverability data for a specific campaign. This
253// data is available for a campaign only if the campaign sent email by using a
254// domain that the Deliverability dashboard is enabled for
255// (PutDeliverabilityDashboardOption operation).
256type DomainDeliverabilityCampaign struct {
257
258	// The unique identifier for the campaign. Amazon Pinpoint automatically generates
259	// and assigns this identifier to a campaign. This value is not the same as the
260	// campaign identifier that Amazon Pinpoint assigns to campaigns that you create
261	// and manage by using the Amazon Pinpoint API or the Amazon Pinpoint console.
262	CampaignId *string
263
264	// The percentage of email messages that were deleted by recipients, without being
265	// opened first. Due to technical limitations, this value only includes recipients
266	// who opened the message by using an email client that supports images.
267	DeleteRate *float64
268
269	// The major email providers who handled the email message.
270	Esps []string
271
272	// The first time, in Unix time format, when the email message was delivered to any
273	// recipient's inbox. This value can help you determine how long it took for a
274	// campaign to deliver an email message.
275	FirstSeenDateTime *time.Time
276
277	// The verified email address that the email message was sent from.
278	FromAddress *string
279
280	// The URL of an image that contains a snapshot of the email message that was sent.
281	ImageUrl *string
282
283	// The number of email messages that were delivered to recipients’ inboxes.
284	InboxCount *int64
285
286	// The last time, in Unix time format, when the email message was delivered to any
287	// recipient's inbox. This value can help you determine how long it took for a
288	// campaign to deliver an email message.
289	LastSeenDateTime *time.Time
290
291	// The projected number of recipients that the email message was sent to.
292	ProjectedVolume *int64
293
294	// The percentage of email messages that were opened and then deleted by
295	// recipients. Due to technical limitations, this value only includes recipients
296	// who opened the message by using an email client that supports images.
297	ReadDeleteRate *float64
298
299	// The percentage of email messages that were opened by recipients. Due to
300	// technical limitations, this value only includes recipients who opened the
301	// message by using an email client that supports images.
302	ReadRate *float64
303
304	// The IP addresses that were used to send the email message.
305	SendingIps []string
306
307	// The number of email messages that were delivered to recipients' spam or junk
308	// mail folders.
309	SpamCount *int64
310
311	// The subject line, or title, of the email message.
312	Subject *string
313}
314
315// An object that contains information about the Deliverability dashboard
316// subscription for a verified domain that you use to send email and currently has
317// an active Deliverability dashboard subscription. If a Deliverability dashboard
318// subscription is active for a domain, you gain access to reputation, inbox
319// placement, and other metrics for the domain.
320type DomainDeliverabilityTrackingOption struct {
321
322	// A verified domain that’s associated with your AWS account and currently has an
323	// active Deliverability dashboard subscription.
324	Domain *string
325
326	// An object that contains information about the inbox placement data settings for
327	// the domain.
328	InboxPlacementTrackingOption *InboxPlacementTrackingOption
329
330	// The date, in Unix time format, when you enabled the Deliverability dashboard for
331	// the domain.
332	SubscriptionStartDate *time.Time
333}
334
335// An object that contains inbox placement data for email sent from one of your
336// email domains to a specific email provider.
337type DomainIspPlacement struct {
338
339	// The percentage of messages that were sent from the selected domain to the
340	// specified email provider that arrived in recipients' inboxes.
341	InboxPercentage *float64
342
343	// The total number of messages that were sent from the selected domain to the
344	// specified email provider that arrived in recipients' inboxes.
345	InboxRawCount *int64
346
347	// The name of the email provider that the inbox placement data applies to.
348	IspName *string
349
350	// The percentage of messages that were sent from the selected domain to the
351	// specified email provider that arrived in recipients' spam or junk mail folders.
352	SpamPercentage *float64
353
354	// The total number of messages that were sent from the selected domain to the
355	// specified email provider that arrived in recipients' spam or junk mail folders.
356	SpamRawCount *int64
357}
358
359// An object that defines the entire content of the email, including the message
360// headers and the body content. You can create a simple email message, in which
361// you specify the subject and the text and HTML versions of the message body. You
362// can also create raw messages, in which you specify a complete MIME-formatted
363// message. Raw messages can include attachments and custom headers.
364type EmailContent struct {
365
366	// The raw email message. The message has to meet the following criteria:
367	//
368	// * The
369	// message has to contain a header and a body, separated by one blank line.
370	//
371	// * All
372	// of the required header fields must be present in the message.
373	//
374	// * Each part of a
375	// multipart MIME message must be formatted properly.
376	//
377	// * If you include
378	// attachments, they must be in a file format that Amazon Pinpoint supports.
379	//
380	// * The
381	// entire message must be Base64 encoded.
382	//
383	// * If any of the MIME parts in your
384	// message contain content that is outside of the 7-bit ASCII character range, you
385	// should encode that content to ensure that recipients' email clients render the
386	// message properly.
387	//
388	// * The length of any single line of text in the message can't
389	// exceed 1,000 characters. This restriction is defined in RFC 5321
390	// (https://tools.ietf.org/html/rfc5321).
391	Raw *RawMessage
392
393	// The simple email message. The message consists of a subject and a message body.
394	Simple *Message
395
396	// The template to use for the email message.
397	Template *Template
398}
399
400// In Amazon Pinpoint, events include message sends, deliveries, opens, clicks,
401// bounces, and complaints. Event destinations are places that you can send
402// information about these events to. For example, you can send event data to
403// Amazon SNS to receive notifications when you receive bounces or complaints, or
404// you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for
405// long-term storage.
406type EventDestination struct {
407
408	// The types of events that Amazon Pinpoint sends to the specified event
409	// destinations.
410	//
411	// This member is required.
412	MatchingEventTypes []EventType
413
414	// A name that identifies the event destination.
415	//
416	// This member is required.
417	Name *string
418
419	// An object that defines an Amazon CloudWatch destination for email events. You
420	// can use Amazon CloudWatch to monitor and gain insights on your email sending
421	// metrics.
422	CloudWatchDestination *CloudWatchDestination
423
424	// If true, the event destination is enabled. When the event destination is
425	// enabled, the specified event types are sent to the destinations in this
426	// EventDestinationDefinition. If false, the event destination is disabled. When
427	// the event destination is disabled, events aren't sent to the specified
428	// destinations.
429	Enabled bool
430
431	// An object that defines an Amazon Kinesis Data Firehose destination for email
432	// events. You can use Amazon Kinesis Data Firehose to stream data to other
433	// services, such as Amazon S3 and Amazon Redshift.
434	KinesisFirehoseDestination *KinesisFirehoseDestination
435
436	// An object that defines a Amazon Pinpoint destination for email events. You can
437	// use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You
438	// can use these attributes to create segments for your campaigns.
439	PinpointDestination *PinpointDestination
440
441	// An object that defines an Amazon SNS destination for email events. You can use
442	// Amazon SNS to send notification when certain email events occur.
443	SnsDestination *SnsDestination
444}
445
446// An object that defines the event destination. Specifically, it defines which
447// services receive events from emails sent using the configuration set that the
448// event destination is associated with. Also defines the types of events that are
449// sent to the event destination.
450type EventDestinationDefinition struct {
451
452	// An object that defines an Amazon CloudWatch destination for email events. You
453	// can use Amazon CloudWatch to monitor and gain insights on your email sending
454	// metrics.
455	CloudWatchDestination *CloudWatchDestination
456
457	// If true, the event destination is enabled. When the event destination is
458	// enabled, the specified event types are sent to the destinations in this
459	// EventDestinationDefinition. If false, the event destination is disabled. When
460	// the event destination is disabled, events aren't sent to the specified
461	// destinations.
462	Enabled bool
463
464	// An object that defines an Amazon Kinesis Data Firehose destination for email
465	// events. You can use Amazon Kinesis Data Firehose to stream data to other
466	// services, such as Amazon S3 and Amazon Redshift.
467	KinesisFirehoseDestination *KinesisFirehoseDestination
468
469	// An array that specifies which events Amazon Pinpoint should send to the
470	// destinations in this EventDestinationDefinition.
471	MatchingEventTypes []EventType
472
473	// An object that defines a Amazon Pinpoint destination for email events. You can
474	// use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You
475	// can use these attributes to create segments for your campaigns.
476	PinpointDestination *PinpointDestination
477
478	// An object that defines an Amazon SNS destination for email events. You can use
479	// Amazon SNS to send notification when certain email events occur.
480	SnsDestination *SnsDestination
481}
482
483// Information about an email identity.
484type IdentityInfo struct {
485
486	// The address or domain of the identity.
487	IdentityName *string
488
489	// The email identity type. The identity type can be one of the following:
490	//
491	// *
492	// EMAIL_ADDRESS – The identity is an email address.
493	//
494	// * DOMAIN – The identity is a
495	// domain.
496	//
497	// * MANAGED_DOMAIN – The identity is a domain that is managed by AWS.
498	IdentityType IdentityType
499
500	// Indicates whether or not you can send email from the identity. In Amazon
501	// Pinpoint, an identity is an email address or domain that you send email from.
502	// Before you can send email from an identity, you have to demostrate that you own
503	// the identity, and that you authorize Amazon Pinpoint to send email from that
504	// identity.
505	SendingEnabled bool
506}
507
508// An object that contains information about the inbox placement data settings for
509// a verified domain that’s associated with your AWS account. This data is
510// available only if you enabled the Deliverability dashboard for the domain
511// (PutDeliverabilityDashboardOption operation).
512type InboxPlacementTrackingOption struct {
513
514	// Specifies whether inbox placement data is being tracked for the domain.
515	Global bool
516
517	// An array of strings, one for each major email provider that the inbox placement
518	// data applies to.
519	TrackedIsps []string
520}
521
522// An object that describes how email sent during the predictive inbox placement
523// test was handled by a certain email provider.
524type IspPlacement struct {
525
526	// The name of the email provider that the inbox placement data applies to.
527	IspName *string
528
529	// An object that contains inbox placement metrics for a specific email provider.
530	PlacementStatistics *PlacementStatistics
531}
532
533// An object that defines an Amazon Kinesis Data Firehose destination for email
534// events. You can use Amazon Kinesis Data Firehose to stream data to other
535// services, such as Amazon S3 and Amazon Redshift.
536type KinesisFirehoseDestination struct {
537
538	// The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that
539	// Amazon Pinpoint sends email events to.
540	//
541	// This member is required.
542	DeliveryStreamArn *string
543
544	// The Amazon Resource Name (ARN) of the IAM role that Amazon Pinpoint uses when
545	// sending email events to the Amazon Kinesis Data Firehose stream.
546	//
547	// This member is required.
548	IamRoleArn *string
549}
550
551// A list of attributes that are associated with a MAIL FROM domain.
552type MailFromAttributes struct {
553
554	// The action that Amazon Pinpoint to takes if it can't read the required MX record
555	// for a custom MAIL FROM domain. When you set this value to UseDefaultValue,
556	// Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this
557	// value to RejectMessage, Amazon Pinpoint returns a MailFromDomainNotVerified
558	// error, and doesn't attempt to deliver the email. These behaviors are taken when
559	// the custom MAIL FROM domain configuration is in the Pending, Failed, and
560	// TemporaryFailure states.
561	//
562	// This member is required.
563	BehaviorOnMxFailure BehaviorOnMxFailure
564
565	// The name of a domain that an email identity uses as a custom MAIL FROM domain.
566	//
567	// This member is required.
568	MailFromDomain *string
569
570	// The status of the MAIL FROM domain. This status can have the following
571	// values:
572	//
573	// * PENDING – Amazon Pinpoint hasn't started searching for the MX record
574	// yet.
575	//
576	// * SUCCESS – Amazon Pinpoint detected the required MX record for the MAIL
577	// FROM domain.
578	//
579	// * FAILED – Amazon Pinpoint can't find the required MX record, or
580	// the record no longer exists.
581	//
582	// * TEMPORARY_FAILURE – A temporary issue occurred,
583	// which prevented Amazon Pinpoint from determining the status of the MAIL FROM
584	// domain.
585	//
586	// This member is required.
587	MailFromDomainStatus MailFromDomainStatus
588}
589
590// Represents the email message that you're sending. The Message object consists of
591// a subject line and a message body.
592type Message struct {
593
594	// The body of the message. You can specify an HTML version of the message, a
595	// text-only version of the message, or both.
596	//
597	// This member is required.
598	Body *Body
599
600	// The subject line of the email. The subject line can only contain 7-bit ASCII
601	// characters. However, you can specify non-ASCII characters in the subject line by
602	// using encoded-word syntax, as described in RFC 2047
603	// (https://tools.ietf.org/html/rfc2047).
604	//
605	// This member is required.
606	Subject *Content
607}
608
609// Contains the name and value of a tag that you apply to an email. You can use
610// message tags when you publish email sending events.
611type MessageTag struct {
612
613	// The name of the message tag. The message tag name has to meet the following
614	// criteria:
615	//
616	// * It can only contain ASCII letters (a–z, A–Z), numbers (0–9),
617	// underscores (_), or dashes (-).
618	//
619	// * It can contain no more than 256 characters.
620	//
621	// This member is required.
622	Name *string
623
624	// The value of the message tag. The message tag value has to meet the following
625	// criteria:
626	//
627	// * It can only contain ASCII letters (a–z, A–Z), numbers (0–9),
628	// underscores (_), or dashes (-).
629	//
630	// * It can contain no more than 256 characters.
631	//
632	// This member is required.
633	Value *string
634}
635
636// An object that contains information about email that was sent from the selected
637// domain.
638type OverallVolume struct {
639
640	// An object that contains inbox and junk mail placement metrics for individual
641	// email providers.
642	DomainIspPlacements []DomainIspPlacement
643
644	// The percentage of emails that were sent from the domain that were read by their
645	// recipients.
646	ReadRatePercent *float64
647
648	// An object that contains information about the numbers of messages that arrived
649	// in recipients' inboxes and junk mail folders.
650	VolumeStatistics *VolumeStatistics
651}
652
653// An object that defines a Amazon Pinpoint destination for email events. You can
654// use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You
655// can use these attributes to create segments for your campaigns.
656type PinpointDestination struct {
657
658	// The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want to
659	// send email events to.
660	ApplicationArn *string
661}
662
663// An object that contains inbox placement data for an email provider.
664type PlacementStatistics struct {
665
666	// The percentage of emails that were authenticated by using DomainKeys Identified
667	// Mail (DKIM) during the predictive inbox placement test.
668	DkimPercentage *float64
669
670	// The percentage of emails that arrived in recipients' inboxes during the
671	// predictive inbox placement test.
672	InboxPercentage *float64
673
674	// The percentage of emails that didn't arrive in recipients' inboxes at all during
675	// the predictive inbox placement test.
676	MissingPercentage *float64
677
678	// The percentage of emails that arrived in recipients' spam or junk mail folders
679	// during the predictive inbox placement test.
680	SpamPercentage *float64
681
682	// The percentage of emails that were authenticated by using Sender Policy
683	// Framework (SPF) during the predictive inbox placement test.
684	SpfPercentage *float64
685}
686
687// The raw email message.
688type RawMessage struct {
689
690	// The raw email message. The message has to meet the following criteria:
691	//
692	// * The
693	// message has to contain a header and a body, separated by one blank line.
694	//
695	// * All
696	// of the required header fields must be present in the message.
697	//
698	// * Each part of a
699	// multipart MIME message must be formatted properly.
700	//
701	// * Attachments must be in a
702	// file format that Amazon Pinpoint supports.
703	//
704	// * The entire message must be Base64
705	// encoded.
706	//
707	// * If any of the MIME parts in your message contain content that is
708	// outside of the 7-bit ASCII character range, you should encode that content to
709	// ensure that recipients' email clients render the message properly.
710	//
711	// * The length
712	// of any single line of text in the message can't exceed 1,000 characters. This
713	// restriction is defined in RFC 5321 (https://tools.ietf.org/html/rfc5321).
714	//
715	// This member is required.
716	Data []byte
717}
718
719// Enable or disable collection of reputation metrics for emails that you send
720// using this configuration set in the current AWS Region.
721type ReputationOptions struct {
722
723	// The date and time (in Unix time) when the reputation metrics were last given a
724	// fresh start. When your account is given a fresh start, your reputation metrics
725	// are calculated starting from the date of the fresh start.
726	LastFreshStart *time.Time
727
728	// If true, tracking of reputation metrics is enabled for the configuration set. If
729	// false, tracking of reputation metrics is disabled for the configuration set.
730	ReputationMetricsEnabled bool
731}
732
733// Used to enable or disable email sending for messages that use this configuration
734// set in the current AWS Region.
735type SendingOptions struct {
736
737	// If true, email sending is enabled for the configuration set. If false, email
738	// sending is disabled for the configuration set.
739	SendingEnabled bool
740}
741
742// An object that contains information about the per-day and per-second sending
743// limits for your Amazon Pinpoint account in the current AWS Region.
744type SendQuota struct {
745
746	// The maximum number of emails that you can send in the current AWS Region over a
747	// 24-hour period. This value is also called your sending quota.
748	Max24HourSend float64
749
750	// The maximum number of emails that you can send per second in the current AWS
751	// Region. This value is also called your maximum sending rate or your maximum TPS
752	// (transactions per second) rate.
753	MaxSendRate float64
754
755	// The number of emails sent from your Amazon Pinpoint account in the current AWS
756	// Region over the past 24 hours.
757	SentLast24Hours float64
758}
759
760// An object that defines an Amazon SNS destination for email events. You can use
761// Amazon SNS to send notification when certain email events occur.
762type SnsDestination struct {
763
764	// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
765	// email events to. For more information about Amazon SNS topics, see the Amazon
766	// SNS Developer Guide
767	// (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
768	//
769	// This member is required.
770	TopicArn *string
771}
772
773// An object that defines the tags that are associated with a resource. A tag is a
774// label that you optionally define and associate with a resource in Amazon
775// Pinpoint. Tags can help you categorize and manage resources in different ways,
776// such as by purpose, owner, environment, or other criteria. A resource can have
777// as many as 50 tags. Each tag consists of a required tag key and an associated
778// tag value, both of which you define. A tag key is a general label that acts as a
779// category for a more specific tag value. A tag value acts as a descriptor within
780// a tag key. A tag key can contain as many as 128 characters. A tag value can
781// contain as many as 256 characters. The characters can be Unicode letters,
782// digits, white space, or one of the following symbols: _ . : / = + -. The
783// following additional restrictions apply to tags:
784//
785// * Tag keys and values are case
786// sensitive.
787//
788// * For each associated resource, each tag key must be unique and it
789// can have only one value.
790//
791// * The aws: prefix is reserved for use by AWS; you
792// can’t use it in any tag keys or values that you define. In addition, you can't
793// edit or remove tag keys or values that use this prefix. Tags that use this
794// prefix don’t count against the limit of 50 tags per resource.
795//
796// * You can
797// associate tags with public or shared resources, but the tags are available only
798// for your AWS account, not any other accounts that share the resource. In
799// addition, the tags are available only for resources that are located in the
800// specified AWS Region for your AWS account.
801type Tag struct {
802
803	// One part of a key-value pair that defines a tag. The maximum length of a tag key
804	// is 128 characters. The minimum length is 1 character.
805	//
806	// This member is required.
807	Key *string
808
809	// The optional part of a key-value pair that defines a tag. The maximum length of
810	// a tag value is 256 characters. The minimum length is 0 characters. If you don’t
811	// want a resource to have a specific tag value, don’t specify a value for this
812	// parameter. Amazon Pinpoint will set the value to an empty string.
813	//
814	// This member is required.
815	Value *string
816}
817
818type Template struct {
819
820	// The Amazon Resource Name (ARN) of the template.
821	TemplateArn *string
822
823	// An object that defines the values to use for message variables in the template.
824	// This object is a set of key-value pairs. Each key defines a message variable in
825	// the template. The corresponding value defines the value to use for that
826	// variable.
827	TemplateData *string
828}
829
830// An object that defines the tracking options for a configuration set. When you
831// use Amazon Pinpoint to send an email, it contains an invisible image that's used
832// to track when recipients open your email. If your email contains links, those
833// links are changed slightly in order to track when recipients click them. These
834// images and links include references to a domain operated by AWS. You can
835// optionally configure Amazon Pinpoint to use a domain that you operate for these
836// images and links.
837type TrackingOptions struct {
838
839	// The domain that you want to use for tracking open and click events.
840	//
841	// This member is required.
842	CustomRedirectDomain *string
843}
844
845// An object that contains information about the amount of email that was delivered
846// to recipients.
847type VolumeStatistics struct {
848
849	// The total number of emails that arrived in recipients' inboxes.
850	InboxRawCount *int64
851
852	// An estimate of the percentage of emails sent from the current domain that will
853	// arrive in recipients' inboxes.
854	ProjectedInbox *int64
855
856	// An estimate of the percentage of emails sent from the current domain that will
857	// arrive in recipients' spam or junk mail folders.
858	ProjectedSpam *int64
859
860	// The total number of emails that arrived in recipients' spam or junk mail
861	// folders.
862	SpamRawCount *int64
863}
864