aws-sdk-pinpointemail 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a5bcd2f3d157e37b07117fceab975ffaa833907
4
- data.tar.gz: 674fffb35fc5dadbe2ba3998037a2146526acf16
3
+ metadata.gz: 7676e3ad0b7613b998900c8efd8fe932522c725a
4
+ data.tar.gz: 5fdf64fd665f500099a84f9d70c5c83fdf016966
5
5
  SHA512:
6
- metadata.gz: '00816dc19fc64ce1117c70f3935246a764c325448c9c5fefff9e063240907fb4e3beb44a25bd410855b457dfc281f5f038bcc9ff0e9657827ad43bb27dedee1b'
7
- data.tar.gz: e51c4671ac11dd6a0fb25c9af2d1d7c755a523a407967d19032dd31137e57862afb503a749c2a17ea18977193bb7c5592a4969ade73e748350c9c178674f4dcb
6
+ metadata.gz: d4d6407fcbc4028582ad47289e4139c270c13ba87410f5abefbf6d3204892a25d0e3351ac80947ed66b4f3afb5d146d03b704c6a72ad2440f4966814c816d452
7
+ data.tar.gz: f464805774017c97921c388c001445abcb7b743d0d03b3f8c506068401a84f14c8ffbfa6e5b38db1f59b11f6576f6fccc78ff7c125f2524718b451ef5c04193f
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pinpointemail/customizations'
42
42
  # @service
43
43
  module Aws::PinpointEmail
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -351,6 +351,75 @@ module Aws::PinpointEmail
351
351
  req.send_request(options)
352
352
  end
353
353
 
354
+ # Create a new predictive inbox placement test. Predictive inbox
355
+ # placement tests can help you predict how your messages will be handled
356
+ # by various email providers around the world. When you perform a
357
+ # predictive inbox placement test, you provide a sample message that
358
+ # contains the content that you plan to send to your customers. Amazon
359
+ # Pinpoint then sends that message to special email addresses spread
360
+ # across several major email providers. After about 24 hours, the test
361
+ # is complete, and you can use the `GetDeliverabilityTestReport`
362
+ # operation to view the results of the test.
363
+ #
364
+ # @option params [String] :report_name
365
+ # A unique name that helps you to identify the predictive inbox
366
+ # placement test when you retrieve the results.
367
+ #
368
+ # @option params [required, String] :from_email_address
369
+ # The email address that the predictive inbox placement test email was
370
+ # sent from.
371
+ #
372
+ # @option params [required, Types::EmailContent] :content
373
+ # The HTML body of the message that you sent when you performed the
374
+ # predictive inbox placement test.
375
+ #
376
+ # @return [Types::CreateDeliverabilityTestReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
377
+ #
378
+ # * {Types::CreateDeliverabilityTestReportResponse#report_id #report_id} => String
379
+ # * {Types::CreateDeliverabilityTestReportResponse#deliverability_test_status #deliverability_test_status} => String
380
+ #
381
+ # @example Request syntax with placeholder values
382
+ #
383
+ # resp = client.create_deliverability_test_report({
384
+ # report_name: "ReportName",
385
+ # from_email_address: "EmailAddress", # required
386
+ # content: { # required
387
+ # simple: {
388
+ # subject: { # required
389
+ # data: "MessageData", # required
390
+ # charset: "Charset",
391
+ # },
392
+ # body: { # required
393
+ # text: {
394
+ # data: "MessageData", # required
395
+ # charset: "Charset",
396
+ # },
397
+ # html: {
398
+ # data: "MessageData", # required
399
+ # charset: "Charset",
400
+ # },
401
+ # },
402
+ # },
403
+ # raw: {
404
+ # data: "data", # required
405
+ # },
406
+ # },
407
+ # })
408
+ #
409
+ # @example Response structure
410
+ #
411
+ # resp.report_id #=> String
412
+ # resp.deliverability_test_status #=> String, one of "IN_PROGRESS", "COMPLETED"
413
+ #
414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReport AWS API Documentation
415
+ #
416
+ # @overload create_deliverability_test_report(params = {})
417
+ # @param [Hash] params ({})
418
+ def create_deliverability_test_report(params = {}, options = {})
419
+ req = build_request(:create_deliverability_test_report, params)
420
+ req.send_request(options)
421
+ end
422
+
354
423
  # Verifies an email identity for use with Amazon Pinpoint. In Amazon
355
424
  # Pinpoint, an identity is an email address or domain that you use when
356
425
  # you send email. Before you can use an identity to send email with
@@ -542,6 +611,41 @@ module Aws::PinpointEmail
542
611
  req.send_request(options)
543
612
  end
544
613
 
614
+ # Retrieve a list of the blacklists that your dedicated IP addresses
615
+ # appear on.
616
+ #
617
+ # @option params [required, Array<String>] :blacklist_item_names
618
+ # A list of IP addresses that you want to retrieve blacklist information
619
+ # about. You can only specify the dedicated IP addresses that you use to
620
+ # send email using Amazon Pinpoint or Amazon SES.
621
+ #
622
+ # @return [Types::GetBlacklistReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
623
+ #
624
+ # * {Types::GetBlacklistReportsResponse#blacklist_report #blacklist_report} => Hash&lt;String,Array&lt;Types::BlacklistEntry&gt;&gt;
625
+ #
626
+ # @example Request syntax with placeholder values
627
+ #
628
+ # resp = client.get_blacklist_reports({
629
+ # blacklist_item_names: ["BlacklistItemName"], # required
630
+ # })
631
+ #
632
+ # @example Response structure
633
+ #
634
+ # resp.blacklist_report #=> Hash
635
+ # resp.blacklist_report["BlacklistItemName"] #=> Array
636
+ # resp.blacklist_report["BlacklistItemName"][0].rbl_name #=> String
637
+ # resp.blacklist_report["BlacklistItemName"][0].listing_time #=> Time
638
+ # resp.blacklist_report["BlacklistItemName"][0].description #=> String
639
+ #
640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReports AWS API Documentation
641
+ #
642
+ # @overload get_blacklist_reports(params = {})
643
+ # @param [Hash] params ({})
644
+ def get_blacklist_reports(params = {}, options = {})
645
+ req = build_request(:get_blacklist_reports, params)
646
+ req.send_request(options)
647
+ end
648
+
545
649
  # Get information about an existing configuration set, including the
546
650
  # dedicated IP pool that it's associated with, whether or not it's
547
651
  # enabled for sending email, and more.
@@ -719,6 +823,147 @@ module Aws::PinpointEmail
719
823
  req.send_request(options)
720
824
  end
721
825
 
826
+ # Show the status of the Deliverability dashboard. When the
827
+ # Deliverability dashboard is enabled, you gain access to reputation
828
+ # metrics for the domains that you use to send email using Amazon
829
+ # Pinpoint. You also gain the ability to perform predictive inbox
830
+ # placement tests.
831
+ #
832
+ # When you use the Deliverability dashboard, you pay a monthly charge of
833
+ # USD$1,250.00, in addition to any other fees that you accrue by using
834
+ # Amazon Pinpoint. If you enable the Deliverability dashboard after the
835
+ # first day of a calendar month, AWS prorates the monthly charge based
836
+ # on how many days have elapsed in the current calendar month.
837
+ #
838
+ # @return [Types::GetDeliverabilityDashboardOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
839
+ #
840
+ # * {Types::GetDeliverabilityDashboardOptionsResponse#dashboard_enabled #dashboard_enabled} => Boolean
841
+ #
842
+ # @example Response structure
843
+ #
844
+ # resp.dashboard_enabled #=> Boolean
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptions AWS API Documentation
847
+ #
848
+ # @overload get_deliverability_dashboard_options(params = {})
849
+ # @param [Hash] params ({})
850
+ def get_deliverability_dashboard_options(params = {}, options = {})
851
+ req = build_request(:get_deliverability_dashboard_options, params)
852
+ req.send_request(options)
853
+ end
854
+
855
+ # Retrieve the results of a predictive inbox placement test.
856
+ #
857
+ # @option params [required, String] :report_id
858
+ # A unique string that identifies the predictive inbox placement test.
859
+ #
860
+ # @return [Types::GetDeliverabilityTestReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
861
+ #
862
+ # * {Types::GetDeliverabilityTestReportResponse#deliverability_test_report #deliverability_test_report} => Types::DeliverabilityTestReport
863
+ # * {Types::GetDeliverabilityTestReportResponse#overall_placement #overall_placement} => Types::PlacementStatistics
864
+ # * {Types::GetDeliverabilityTestReportResponse#isp_placements #isp_placements} => Array&lt;Types::IspPlacement&gt;
865
+ # * {Types::GetDeliverabilityTestReportResponse#message #message} => String
866
+ #
867
+ # @example Request syntax with placeholder values
868
+ #
869
+ # resp = client.get_deliverability_test_report({
870
+ # report_id: "ReportId", # required
871
+ # })
872
+ #
873
+ # @example Response structure
874
+ #
875
+ # resp.deliverability_test_report.report_id #=> String
876
+ # resp.deliverability_test_report.report_name #=> String
877
+ # resp.deliverability_test_report.subject #=> String
878
+ # resp.deliverability_test_report.from_email_address #=> String
879
+ # resp.deliverability_test_report.create_date #=> Time
880
+ # resp.deliverability_test_report.deliverability_test_status #=> String, one of "IN_PROGRESS", "COMPLETED"
881
+ # resp.overall_placement.inbox_percentage #=> Float
882
+ # resp.overall_placement.spam_percentage #=> Float
883
+ # resp.overall_placement.missing_percentage #=> Float
884
+ # resp.overall_placement.spf_percentage #=> Float
885
+ # resp.overall_placement.dkim_percentage #=> Float
886
+ # resp.isp_placements #=> Array
887
+ # resp.isp_placements[0].isp_name #=> String
888
+ # resp.isp_placements[0].placement_statistics.inbox_percentage #=> Float
889
+ # resp.isp_placements[0].placement_statistics.spam_percentage #=> Float
890
+ # resp.isp_placements[0].placement_statistics.missing_percentage #=> Float
891
+ # resp.isp_placements[0].placement_statistics.spf_percentage #=> Float
892
+ # resp.isp_placements[0].placement_statistics.dkim_percentage #=> Float
893
+ # resp.message #=> String
894
+ #
895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReport AWS API Documentation
896
+ #
897
+ # @overload get_deliverability_test_report(params = {})
898
+ # @param [Hash] params ({})
899
+ def get_deliverability_test_report(params = {}, options = {})
900
+ req = build_request(:get_deliverability_test_report, params)
901
+ req.send_request(options)
902
+ end
903
+
904
+ # Retrieve inbox placement and engagement rates for the domains that you
905
+ # use to send email.
906
+ #
907
+ # @option params [required, String] :domain
908
+ # The domain that you want to obtain deliverability metrics for.
909
+ #
910
+ # @option params [required, Time,DateTime,Date,Integer,String] :start_date
911
+ # The first day (in Unix time) that you want to obtain domain
912
+ # deliverability metrics for.
913
+ #
914
+ # @option params [required, Time,DateTime,Date,Integer,String] :end_date
915
+ # The last day (in Unix time) that you want to obtain domain
916
+ # deliverability metrics for. The `EndDate` that you specify has to be
917
+ # less than or equal to 30 days after the `StartDate`.
918
+ #
919
+ # @return [Types::GetDomainStatisticsReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
920
+ #
921
+ # * {Types::GetDomainStatisticsReportResponse#overall_volume #overall_volume} => Types::OverallVolume
922
+ # * {Types::GetDomainStatisticsReportResponse#daily_volumes #daily_volumes} => Array&lt;Types::DailyVolume&gt;
923
+ #
924
+ # @example Request syntax with placeholder values
925
+ #
926
+ # resp = client.get_domain_statistics_report({
927
+ # domain: "Identity", # required
928
+ # start_date: Time.now, # required
929
+ # end_date: Time.now, # required
930
+ # })
931
+ #
932
+ # @example Response structure
933
+ #
934
+ # resp.overall_volume.volume_statistics.inbox_raw_count #=> Integer
935
+ # resp.overall_volume.volume_statistics.spam_raw_count #=> Integer
936
+ # resp.overall_volume.volume_statistics.projected_inbox #=> Integer
937
+ # resp.overall_volume.volume_statistics.projected_spam #=> Integer
938
+ # resp.overall_volume.read_rate_percent #=> Float
939
+ # resp.overall_volume.domain_isp_placements #=> Array
940
+ # resp.overall_volume.domain_isp_placements[0].isp_name #=> String
941
+ # resp.overall_volume.domain_isp_placements[0].inbox_raw_count #=> Integer
942
+ # resp.overall_volume.domain_isp_placements[0].spam_raw_count #=> Integer
943
+ # resp.overall_volume.domain_isp_placements[0].inbox_percentage #=> Float
944
+ # resp.overall_volume.domain_isp_placements[0].spam_percentage #=> Float
945
+ # resp.daily_volumes #=> Array
946
+ # resp.daily_volumes[0].start_date #=> Time
947
+ # resp.daily_volumes[0].volume_statistics.inbox_raw_count #=> Integer
948
+ # resp.daily_volumes[0].volume_statistics.spam_raw_count #=> Integer
949
+ # resp.daily_volumes[0].volume_statistics.projected_inbox #=> Integer
950
+ # resp.daily_volumes[0].volume_statistics.projected_spam #=> Integer
951
+ # resp.daily_volumes[0].domain_isp_placements #=> Array
952
+ # resp.daily_volumes[0].domain_isp_placements[0].isp_name #=> String
953
+ # resp.daily_volumes[0].domain_isp_placements[0].inbox_raw_count #=> Integer
954
+ # resp.daily_volumes[0].domain_isp_placements[0].spam_raw_count #=> Integer
955
+ # resp.daily_volumes[0].domain_isp_placements[0].inbox_percentage #=> Float
956
+ # resp.daily_volumes[0].domain_isp_placements[0].spam_percentage #=> Float
957
+ #
958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReport AWS API Documentation
959
+ #
960
+ # @overload get_domain_statistics_report(params = {})
961
+ # @param [Hash] params ({})
962
+ def get_domain_statistics_report(params = {}, options = {})
963
+ req = build_request(:get_domain_statistics_report, params)
964
+ req.send_request(options)
965
+ end
966
+
722
967
  # Provides information about a specific identity associated with your
723
968
  # Amazon Pinpoint account, including the identity's verification
724
969
  # status, its DKIM authentication status, and its custom Mail-From
@@ -849,6 +1094,58 @@ module Aws::PinpointEmail
849
1094
  req.send_request(options)
850
1095
  end
851
1096
 
1097
+ # Show a list of the predictive inbox placement tests that you've
1098
+ # performed, regardless of their statuses. For predictive inbox
1099
+ # placement tests that are complete, you can use the
1100
+ # `GetDeliverabilityTestReport` operation to view the results.
1101
+ #
1102
+ # @option params [String] :next_token
1103
+ # A token returned from a previous call to
1104
+ # `ListDeliverabilityTestReports` to indicate the position in the list
1105
+ # of predictive inbox placement tests.
1106
+ #
1107
+ # @option params [Integer] :page_size
1108
+ # The number of results to show in a single call to
1109
+ # `ListDeliverabilityTestReports`. If the number of results is larger
1110
+ # than the number you specified in this parameter, then the response
1111
+ # includes a `NextToken` element, which you can use to obtain additional
1112
+ # results.
1113
+ #
1114
+ # The value you specify has to be at least 0, and can be no more than
1115
+ # 1000.
1116
+ #
1117
+ # @return [Types::ListDeliverabilityTestReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1118
+ #
1119
+ # * {Types::ListDeliverabilityTestReportsResponse#deliverability_test_reports #deliverability_test_reports} => Array&lt;Types::DeliverabilityTestReport&gt;
1120
+ # * {Types::ListDeliverabilityTestReportsResponse#next_token #next_token} => String
1121
+ #
1122
+ # @example Request syntax with placeholder values
1123
+ #
1124
+ # resp = client.list_deliverability_test_reports({
1125
+ # next_token: "NextToken",
1126
+ # page_size: 1,
1127
+ # })
1128
+ #
1129
+ # @example Response structure
1130
+ #
1131
+ # resp.deliverability_test_reports #=> Array
1132
+ # resp.deliverability_test_reports[0].report_id #=> String
1133
+ # resp.deliverability_test_reports[0].report_name #=> String
1134
+ # resp.deliverability_test_reports[0].subject #=> String
1135
+ # resp.deliverability_test_reports[0].from_email_address #=> String
1136
+ # resp.deliverability_test_reports[0].create_date #=> Time
1137
+ # resp.deliverability_test_reports[0].deliverability_test_status #=> String, one of "IN_PROGRESS", "COMPLETED"
1138
+ # resp.next_token #=> String
1139
+ #
1140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReports AWS API Documentation
1141
+ #
1142
+ # @overload list_deliverability_test_reports(params = {})
1143
+ # @param [Hash] params ({})
1144
+ def list_deliverability_test_reports(params = {}, options = {})
1145
+ req = build_request(:list_deliverability_test_reports, params)
1146
+ req.send_request(options)
1147
+ end
1148
+
852
1149
  # Returns a list of all of the email identities that are associated with
853
1150
  # your Amazon Pinpoint account. An identity can be either an email
854
1151
  # address or a domain. This operation returns identities that are
@@ -1131,6 +1428,38 @@ module Aws::PinpointEmail
1131
1428
  req.send_request(options)
1132
1429
  end
1133
1430
 
1431
+ # Enable or disable the Deliverability dashboard. When you enable the
1432
+ # Deliverability dashboard, you gain access to reputation metrics for
1433
+ # the domains that you use to send email using Amazon Pinpoint. You also
1434
+ # gain the ability to perform predictive inbox placement tests.
1435
+ #
1436
+ # When you use the Deliverability dashboard, you pay a monthly charge of
1437
+ # USD$1,250.00, in addition to any other fees that you accrue by using
1438
+ # Amazon Pinpoint. If you enable the Deliverability dashboard after the
1439
+ # first day of a calendar month, we prorate the monthly charge based on
1440
+ # how many days have elapsed in the current calendar month.
1441
+ #
1442
+ # @option params [required, Boolean] :dashboard_enabled
1443
+ # Indicates whether the Deliverability dashboard is enabled. If the
1444
+ # value is `true`, then the dashboard is enabled.
1445
+ #
1446
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1447
+ #
1448
+ # @example Request syntax with placeholder values
1449
+ #
1450
+ # resp = client.put_deliverability_dashboard_option({
1451
+ # dashboard_enabled: false, # required
1452
+ # })
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOption AWS API Documentation
1455
+ #
1456
+ # @overload put_deliverability_dashboard_option(params = {})
1457
+ # @param [Hash] params ({})
1458
+ def put_deliverability_dashboard_option(params = {}, options = {})
1459
+ req = build_request(:put_deliverability_dashboard_option, params)
1460
+ req.send_request(options)
1461
+ end
1462
+
1134
1463
  # Used to enable or disable DKIM authentication for an email identity.
1135
1464
  #
1136
1465
  # @option params [required, String] :email_identity
@@ -1440,7 +1769,7 @@ module Aws::PinpointEmail
1440
1769
  params: params,
1441
1770
  config: config)
1442
1771
  context[:gem_name] = 'aws-sdk-pinpointemail'
1443
- context[:gem_version] = '1.1.0'
1772
+ context[:gem_version] = '1.2.0'
1444
1773
  Seahorse::Client::Request.new(handlers, context)
1445
1774
  end
1446
1775
 
@@ -16,6 +16,12 @@ module Aws::PinpointEmail
16
16
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
17
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
18
18
  BehaviorOnMxFailure = Shapes::StringShape.new(name: 'BehaviorOnMxFailure')
19
+ BlacklistEntries = Shapes::ListShape.new(name: 'BlacklistEntries')
20
+ BlacklistEntry = Shapes::StructureShape.new(name: 'BlacklistEntry')
21
+ BlacklistItemName = Shapes::StringShape.new(name: 'BlacklistItemName')
22
+ BlacklistItemNames = Shapes::ListShape.new(name: 'BlacklistItemNames')
23
+ BlacklistReport = Shapes::MapShape.new(name: 'BlacklistReport')
24
+ BlacklistingDescription = Shapes::StringShape.new(name: 'BlacklistingDescription')
19
25
  Body = Shapes::StructureShape.new(name: 'Body')
20
26
  Charset = Shapes::StringShape.new(name: 'Charset')
21
27
  CloudWatchDestination = Shapes::StructureShape.new(name: 'CloudWatchDestination')
@@ -30,9 +36,13 @@ module Aws::PinpointEmail
30
36
  CreateConfigurationSetResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetResponse')
31
37
  CreateDedicatedIpPoolRequest = Shapes::StructureShape.new(name: 'CreateDedicatedIpPoolRequest')
32
38
  CreateDedicatedIpPoolResponse = Shapes::StructureShape.new(name: 'CreateDedicatedIpPoolResponse')
39
+ CreateDeliverabilityTestReportRequest = Shapes::StructureShape.new(name: 'CreateDeliverabilityTestReportRequest')
40
+ CreateDeliverabilityTestReportResponse = Shapes::StructureShape.new(name: 'CreateDeliverabilityTestReportResponse')
33
41
  CreateEmailIdentityRequest = Shapes::StructureShape.new(name: 'CreateEmailIdentityRequest')
34
42
  CreateEmailIdentityResponse = Shapes::StructureShape.new(name: 'CreateEmailIdentityResponse')
35
43
  CustomRedirectDomain = Shapes::StringShape.new(name: 'CustomRedirectDomain')
44
+ DailyVolume = Shapes::StructureShape.new(name: 'DailyVolume')
45
+ DailyVolumes = Shapes::ListShape.new(name: 'DailyVolumes')
36
46
  DedicatedIp = Shapes::StructureShape.new(name: 'DedicatedIp')
37
47
  DedicatedIpList = Shapes::ListShape.new(name: 'DedicatedIpList')
38
48
  DefaultDimensionValue = Shapes::StringShape.new(name: 'DefaultDimensionValue')
@@ -44,6 +54,10 @@ module Aws::PinpointEmail
44
54
  DeleteDedicatedIpPoolResponse = Shapes::StructureShape.new(name: 'DeleteDedicatedIpPoolResponse')
45
55
  DeleteEmailIdentityRequest = Shapes::StructureShape.new(name: 'DeleteEmailIdentityRequest')
46
56
  DeleteEmailIdentityResponse = Shapes::StructureShape.new(name: 'DeleteEmailIdentityResponse')
57
+ DeliverabilityTestReport = Shapes::StructureShape.new(name: 'DeliverabilityTestReport')
58
+ DeliverabilityTestReports = Shapes::ListShape.new(name: 'DeliverabilityTestReports')
59
+ DeliverabilityTestStatus = Shapes::StringShape.new(name: 'DeliverabilityTestStatus')
60
+ DeliverabilityTestSubject = Shapes::StringShape.new(name: 'DeliverabilityTestSubject')
47
61
  DeliveryOptions = Shapes::StructureShape.new(name: 'DeliveryOptions')
48
62
  Destination = Shapes::StructureShape.new(name: 'Destination')
49
63
  DimensionName = Shapes::StringShape.new(name: 'DimensionName')
@@ -52,6 +66,8 @@ module Aws::PinpointEmail
52
66
  DkimStatus = Shapes::StringShape.new(name: 'DkimStatus')
53
67
  DnsToken = Shapes::StringShape.new(name: 'DnsToken')
54
68
  DnsTokenList = Shapes::ListShape.new(name: 'DnsTokenList')
69
+ DomainIspPlacement = Shapes::StructureShape.new(name: 'DomainIspPlacement')
70
+ DomainIspPlacements = Shapes::ListShape.new(name: 'DomainIspPlacements')
55
71
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
56
72
  EmailAddressList = Shapes::ListShape.new(name: 'EmailAddressList')
57
73
  EmailContent = Shapes::StructureShape.new(name: 'EmailContent')
@@ -65,6 +81,8 @@ module Aws::PinpointEmail
65
81
  GeneralEnforcementStatus = Shapes::StringShape.new(name: 'GeneralEnforcementStatus')
66
82
  GetAccountRequest = Shapes::StructureShape.new(name: 'GetAccountRequest')
67
83
  GetAccountResponse = Shapes::StructureShape.new(name: 'GetAccountResponse')
84
+ GetBlacklistReportsRequest = Shapes::StructureShape.new(name: 'GetBlacklistReportsRequest')
85
+ GetBlacklistReportsResponse = Shapes::StructureShape.new(name: 'GetBlacklistReportsResponse')
68
86
  GetConfigurationSetEventDestinationsRequest = Shapes::StructureShape.new(name: 'GetConfigurationSetEventDestinationsRequest')
69
87
  GetConfigurationSetEventDestinationsResponse = Shapes::StructureShape.new(name: 'GetConfigurationSetEventDestinationsResponse')
70
88
  GetConfigurationSetRequest = Shapes::StructureShape.new(name: 'GetConfigurationSetRequest')
@@ -73,6 +91,12 @@ module Aws::PinpointEmail
73
91
  GetDedicatedIpResponse = Shapes::StructureShape.new(name: 'GetDedicatedIpResponse')
74
92
  GetDedicatedIpsRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpsRequest')
75
93
  GetDedicatedIpsResponse = Shapes::StructureShape.new(name: 'GetDedicatedIpsResponse')
94
+ GetDeliverabilityDashboardOptionsRequest = Shapes::StructureShape.new(name: 'GetDeliverabilityDashboardOptionsRequest')
95
+ GetDeliverabilityDashboardOptionsResponse = Shapes::StructureShape.new(name: 'GetDeliverabilityDashboardOptionsResponse')
96
+ GetDeliverabilityTestReportRequest = Shapes::StructureShape.new(name: 'GetDeliverabilityTestReportRequest')
97
+ GetDeliverabilityTestReportResponse = Shapes::StructureShape.new(name: 'GetDeliverabilityTestReportResponse')
98
+ GetDomainStatisticsReportRequest = Shapes::StructureShape.new(name: 'GetDomainStatisticsReportRequest')
99
+ GetDomainStatisticsReportResponse = Shapes::StructureShape.new(name: 'GetDomainStatisticsReportResponse')
76
100
  GetEmailIdentityRequest = Shapes::StructureShape.new(name: 'GetEmailIdentityRequest')
77
101
  GetEmailIdentityResponse = Shapes::StructureShape.new(name: 'GetEmailIdentityResponse')
78
102
  Identity = Shapes::StringShape.new(name: 'Identity')
@@ -80,6 +104,9 @@ module Aws::PinpointEmail
80
104
  IdentityInfoList = Shapes::ListShape.new(name: 'IdentityInfoList')
81
105
  IdentityType = Shapes::StringShape.new(name: 'IdentityType')
82
106
  Ip = Shapes::StringShape.new(name: 'Ip')
107
+ IspName = Shapes::StringShape.new(name: 'IspName')
108
+ IspPlacement = Shapes::StructureShape.new(name: 'IspPlacement')
109
+ IspPlacements = Shapes::ListShape.new(name: 'IspPlacements')
83
110
  KinesisFirehoseDestination = Shapes::StructureShape.new(name: 'KinesisFirehoseDestination')
84
111
  LastFreshStart = Shapes::TimestampShape.new(name: 'LastFreshStart')
85
112
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -87,6 +114,8 @@ module Aws::PinpointEmail
87
114
  ListConfigurationSetsResponse = Shapes::StructureShape.new(name: 'ListConfigurationSetsResponse')
88
115
  ListDedicatedIpPoolsRequest = Shapes::StructureShape.new(name: 'ListDedicatedIpPoolsRequest')
89
116
  ListDedicatedIpPoolsResponse = Shapes::StructureShape.new(name: 'ListDedicatedIpPoolsResponse')
117
+ ListDeliverabilityTestReportsRequest = Shapes::StructureShape.new(name: 'ListDeliverabilityTestReportsRequest')
118
+ ListDeliverabilityTestReportsResponse = Shapes::StructureShape.new(name: 'ListDeliverabilityTestReportsResponse')
90
119
  ListEmailIdentitiesRequest = Shapes::StructureShape.new(name: 'ListEmailIdentitiesRequest')
91
120
  ListEmailIdentitiesResponse = Shapes::StructureShape.new(name: 'ListEmailIdentitiesResponse')
92
121
  ListOfDedicatedIpPools = Shapes::ListShape.new(name: 'ListOfDedicatedIpPools')
@@ -98,6 +127,7 @@ module Aws::PinpointEmail
98
127
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
99
128
  MaxSendRate = Shapes::FloatShape.new(name: 'MaxSendRate')
100
129
  Message = Shapes::StructureShape.new(name: 'Message')
130
+ MessageContent = Shapes::StringShape.new(name: 'MessageContent')
101
131
  MessageData = Shapes::StringShape.new(name: 'MessageData')
102
132
  MessageRejected = Shapes::StructureShape.new(name: 'MessageRejected')
103
133
  MessageTag = Shapes::StructureShape.new(name: 'MessageTag')
@@ -107,8 +137,11 @@ module Aws::PinpointEmail
107
137
  NextToken = Shapes::StringShape.new(name: 'NextToken')
108
138
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
109
139
  OutboundMessageId = Shapes::StringShape.new(name: 'OutboundMessageId')
140
+ OverallVolume = Shapes::StructureShape.new(name: 'OverallVolume')
141
+ Percentage = Shapes::FloatShape.new(name: 'Percentage')
110
142
  Percentage100Wrapper = Shapes::IntegerShape.new(name: 'Percentage100Wrapper')
111
143
  PinpointDestination = Shapes::StructureShape.new(name: 'PinpointDestination')
144
+ PlacementStatistics = Shapes::StructureShape.new(name: 'PlacementStatistics')
112
145
  PoolName = Shapes::StringShape.new(name: 'PoolName')
113
146
  PutAccountDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesRequest')
114
147
  PutAccountDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesResponse')
@@ -126,6 +159,8 @@ module Aws::PinpointEmail
126
159
  PutDedicatedIpInPoolResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolResponse')
127
160
  PutDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesRequest')
128
161
  PutDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesResponse')
162
+ PutDeliverabilityDashboardOptionRequest = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionRequest')
163
+ PutDeliverabilityDashboardOptionResponse = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionResponse')
129
164
  PutEmailIdentityDkimAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityDkimAttributesRequest')
130
165
  PutEmailIdentityDkimAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityDkimAttributesResponse')
131
166
  PutEmailIdentityFeedbackAttributesRequest = Shapes::StructureShape.new(name: 'PutEmailIdentityFeedbackAttributesRequest')
@@ -134,6 +169,9 @@ module Aws::PinpointEmail
134
169
  PutEmailIdentityMailFromAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityMailFromAttributesResponse')
135
170
  RawMessage = Shapes::StructureShape.new(name: 'RawMessage')
136
171
  RawMessageData = Shapes::BlobShape.new(name: 'RawMessageData')
172
+ RblName = Shapes::StringShape.new(name: 'RblName')
173
+ ReportId = Shapes::StringShape.new(name: 'ReportId')
174
+ ReportName = Shapes::StringShape.new(name: 'ReportName')
137
175
  ReputationOptions = Shapes::StructureShape.new(name: 'ReputationOptions')
138
176
  SendEmailRequest = Shapes::StructureShape.new(name: 'SendEmailRequest')
139
177
  SendEmailResponse = Shapes::StructureShape.new(name: 'SendEmailResponse')
@@ -143,12 +181,27 @@ module Aws::PinpointEmail
143
181
  SendingPoolName = Shapes::StringShape.new(name: 'SendingPoolName')
144
182
  SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
145
183
  SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
184
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
146
185
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
147
186
  TrackingOptions = Shapes::StructureShape.new(name: 'TrackingOptions')
148
187
  UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
149
188
  UpdateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationResponse')
189
+ Volume = Shapes::IntegerShape.new(name: 'Volume')
190
+ VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
150
191
  WarmupStatus = Shapes::StringShape.new(name: 'WarmupStatus')
151
192
 
193
+ BlacklistEntries.member = Shapes::ShapeRef.new(shape: BlacklistEntry)
194
+
195
+ BlacklistEntry.add_member(:rbl_name, Shapes::ShapeRef.new(shape: RblName, location_name: "RblName"))
196
+ BlacklistEntry.add_member(:listing_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ListingTime"))
197
+ BlacklistEntry.add_member(:description, Shapes::ShapeRef.new(shape: BlacklistingDescription, location_name: "Description"))
198
+ BlacklistEntry.struct_class = Types::BlacklistEntry
199
+
200
+ BlacklistItemNames.member = Shapes::ShapeRef.new(shape: BlacklistItemName)
201
+
202
+ BlacklistReport.key = Shapes::ShapeRef.new(shape: BlacklistItemName)
203
+ BlacklistReport.value = Shapes::ShapeRef.new(shape: BlacklistEntries)
204
+
152
205
  Body.add_member(:text, Shapes::ShapeRef.new(shape: Content, location_name: "Text"))
153
206
  Body.add_member(:html, Shapes::ShapeRef.new(shape: Content, location_name: "Html"))
154
207
  Body.struct_class = Types::Body
@@ -190,6 +243,15 @@ module Aws::PinpointEmail
190
243
 
191
244
  CreateDedicatedIpPoolResponse.struct_class = Types::CreateDedicatedIpPoolResponse
192
245
 
246
+ CreateDeliverabilityTestReportRequest.add_member(:report_name, Shapes::ShapeRef.new(shape: ReportName, location_name: "ReportName"))
247
+ CreateDeliverabilityTestReportRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
248
+ CreateDeliverabilityTestReportRequest.add_member(:content, Shapes::ShapeRef.new(shape: EmailContent, required: true, location_name: "Content"))
249
+ CreateDeliverabilityTestReportRequest.struct_class = Types::CreateDeliverabilityTestReportRequest
250
+
251
+ CreateDeliverabilityTestReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "ReportId"))
252
+ CreateDeliverabilityTestReportResponse.add_member(:deliverability_test_status, Shapes::ShapeRef.new(shape: DeliverabilityTestStatus, required: true, location_name: "DeliverabilityTestStatus"))
253
+ CreateDeliverabilityTestReportResponse.struct_class = Types::CreateDeliverabilityTestReportResponse
254
+
193
255
  CreateEmailIdentityRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "EmailIdentity"))
194
256
  CreateEmailIdentityRequest.struct_class = Types::CreateEmailIdentityRequest
195
257
 
@@ -198,6 +260,13 @@ module Aws::PinpointEmail
198
260
  CreateEmailIdentityResponse.add_member(:dkim_attributes, Shapes::ShapeRef.new(shape: DkimAttributes, location_name: "DkimAttributes"))
199
261
  CreateEmailIdentityResponse.struct_class = Types::CreateEmailIdentityResponse
200
262
 
263
+ DailyVolume.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
264
+ DailyVolume.add_member(:volume_statistics, Shapes::ShapeRef.new(shape: VolumeStatistics, location_name: "VolumeStatistics"))
265
+ DailyVolume.add_member(:domain_isp_placements, Shapes::ShapeRef.new(shape: DomainIspPlacements, location_name: "DomainIspPlacements"))
266
+ DailyVolume.struct_class = Types::DailyVolume
267
+
268
+ DailyVolumes.member = Shapes::ShapeRef.new(shape: DailyVolume)
269
+
201
270
  DedicatedIp.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, required: true, location_name: "Ip"))
202
271
  DedicatedIp.add_member(:warmup_status, Shapes::ShapeRef.new(shape: WarmupStatus, required: true, location_name: "WarmupStatus"))
203
272
  DedicatedIp.add_member(:warmup_percentage, Shapes::ShapeRef.new(shape: Percentage100Wrapper, required: true, location_name: "WarmupPercentage"))
@@ -227,6 +296,16 @@ module Aws::PinpointEmail
227
296
 
228
297
  DeleteEmailIdentityResponse.struct_class = Types::DeleteEmailIdentityResponse
229
298
 
299
+ DeliverabilityTestReport.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "ReportId"))
300
+ DeliverabilityTestReport.add_member(:report_name, Shapes::ShapeRef.new(shape: ReportName, location_name: "ReportName"))
301
+ DeliverabilityTestReport.add_member(:subject, Shapes::ShapeRef.new(shape: DeliverabilityTestSubject, location_name: "Subject"))
302
+ DeliverabilityTestReport.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromEmailAddress"))
303
+ DeliverabilityTestReport.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
304
+ DeliverabilityTestReport.add_member(:deliverability_test_status, Shapes::ShapeRef.new(shape: DeliverabilityTestStatus, location_name: "DeliverabilityTestStatus"))
305
+ DeliverabilityTestReport.struct_class = Types::DeliverabilityTestReport
306
+
307
+ DeliverabilityTestReports.member = Shapes::ShapeRef.new(shape: DeliverabilityTestReport)
308
+
230
309
  DeliveryOptions.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: PoolName, location_name: "SendingPoolName"))
231
310
  DeliveryOptions.struct_class = Types::DeliveryOptions
232
311
 
@@ -242,6 +321,15 @@ module Aws::PinpointEmail
242
321
 
243
322
  DnsTokenList.member = Shapes::ShapeRef.new(shape: DnsToken)
244
323
 
324
+ DomainIspPlacement.add_member(:isp_name, Shapes::ShapeRef.new(shape: IspName, location_name: "IspName"))
325
+ DomainIspPlacement.add_member(:inbox_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "InboxRawCount"))
326
+ DomainIspPlacement.add_member(:spam_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "SpamRawCount"))
327
+ DomainIspPlacement.add_member(:inbox_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "InboxPercentage"))
328
+ DomainIspPlacement.add_member(:spam_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "SpamPercentage"))
329
+ DomainIspPlacement.struct_class = Types::DomainIspPlacement
330
+
331
+ DomainIspPlacements.member = Shapes::ShapeRef.new(shape: DomainIspPlacement)
332
+
245
333
  EmailAddressList.member = Shapes::ShapeRef.new(shape: EmailAddress)
246
334
 
247
335
  EmailContent.add_member(:simple, Shapes::ShapeRef.new(shape: Message, location_name: "Simple"))
@@ -278,6 +366,12 @@ module Aws::PinpointEmail
278
366
  GetAccountResponse.add_member(:production_access_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "ProductionAccessEnabled"))
279
367
  GetAccountResponse.struct_class = Types::GetAccountResponse
280
368
 
369
+ GetBlacklistReportsRequest.add_member(:blacklist_item_names, Shapes::ShapeRef.new(shape: BlacklistItemNames, required: true, location_name: "BlacklistItemNames"))
370
+ GetBlacklistReportsRequest.struct_class = Types::GetBlacklistReportsRequest
371
+
372
+ GetBlacklistReportsResponse.add_member(:blacklist_report, Shapes::ShapeRef.new(shape: BlacklistReport, required: true, location_name: "BlacklistReport"))
373
+ GetBlacklistReportsResponse.struct_class = Types::GetBlacklistReportsResponse
374
+
281
375
  GetConfigurationSetEventDestinationsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
282
376
  GetConfigurationSetEventDestinationsRequest.struct_class = Types::GetConfigurationSetEventDestinationsRequest
283
377
 
@@ -309,6 +403,29 @@ module Aws::PinpointEmail
309
403
  GetDedicatedIpsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
310
404
  GetDedicatedIpsResponse.struct_class = Types::GetDedicatedIpsResponse
311
405
 
406
+ GetDeliverabilityDashboardOptionsRequest.struct_class = Types::GetDeliverabilityDashboardOptionsRequest
407
+
408
+ GetDeliverabilityDashboardOptionsResponse.add_member(:dashboard_enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "DashboardEnabled"))
409
+ GetDeliverabilityDashboardOptionsResponse.struct_class = Types::GetDeliverabilityDashboardOptionsResponse
410
+
411
+ GetDeliverabilityTestReportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location: "uri", location_name: "ReportId"))
412
+ GetDeliverabilityTestReportRequest.struct_class = Types::GetDeliverabilityTestReportRequest
413
+
414
+ GetDeliverabilityTestReportResponse.add_member(:deliverability_test_report, Shapes::ShapeRef.new(shape: DeliverabilityTestReport, required: true, location_name: "DeliverabilityTestReport"))
415
+ GetDeliverabilityTestReportResponse.add_member(:overall_placement, Shapes::ShapeRef.new(shape: PlacementStatistics, required: true, location_name: "OverallPlacement"))
416
+ GetDeliverabilityTestReportResponse.add_member(:isp_placements, Shapes::ShapeRef.new(shape: IspPlacements, required: true, location_name: "IspPlacements"))
417
+ GetDeliverabilityTestReportResponse.add_member(:message, Shapes::ShapeRef.new(shape: MessageContent, location_name: "Message"))
418
+ GetDeliverabilityTestReportResponse.struct_class = Types::GetDeliverabilityTestReportResponse
419
+
420
+ GetDomainStatisticsReportRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "Domain"))
421
+ GetDomainStatisticsReportRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartDate"))
422
+ GetDomainStatisticsReportRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndDate"))
423
+ GetDomainStatisticsReportRequest.struct_class = Types::GetDomainStatisticsReportRequest
424
+
425
+ GetDomainStatisticsReportResponse.add_member(:overall_volume, Shapes::ShapeRef.new(shape: OverallVolume, required: true, location_name: "OverallVolume"))
426
+ GetDomainStatisticsReportResponse.add_member(:daily_volumes, Shapes::ShapeRef.new(shape: DailyVolumes, required: true, location_name: "DailyVolumes"))
427
+ GetDomainStatisticsReportResponse.struct_class = Types::GetDomainStatisticsReportResponse
428
+
312
429
  GetEmailIdentityRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "EmailIdentity"))
313
430
  GetEmailIdentityRequest.struct_class = Types::GetEmailIdentityRequest
314
431
 
@@ -326,6 +443,12 @@ module Aws::PinpointEmail
326
443
 
327
444
  IdentityInfoList.member = Shapes::ShapeRef.new(shape: IdentityInfo)
328
445
 
446
+ IspPlacement.add_member(:isp_name, Shapes::ShapeRef.new(shape: IspName, location_name: "IspName"))
447
+ IspPlacement.add_member(:placement_statistics, Shapes::ShapeRef.new(shape: PlacementStatistics, location_name: "PlacementStatistics"))
448
+ IspPlacement.struct_class = Types::IspPlacement
449
+
450
+ IspPlacements.member = Shapes::ShapeRef.new(shape: IspPlacement)
451
+
329
452
  KinesisFirehoseDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "IamRoleArn"))
330
453
  KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "DeliveryStreamArn"))
331
454
  KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
@@ -346,6 +469,14 @@ module Aws::PinpointEmail
346
469
  ListDedicatedIpPoolsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
347
470
  ListDedicatedIpPoolsResponse.struct_class = Types::ListDedicatedIpPoolsResponse
348
471
 
472
+ ListDeliverabilityTestReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
473
+ ListDeliverabilityTestReportsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
474
+ ListDeliverabilityTestReportsRequest.struct_class = Types::ListDeliverabilityTestReportsRequest
475
+
476
+ ListDeliverabilityTestReportsResponse.add_member(:deliverability_test_reports, Shapes::ShapeRef.new(shape: DeliverabilityTestReports, required: true, location_name: "DeliverabilityTestReports"))
477
+ ListDeliverabilityTestReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
478
+ ListDeliverabilityTestReportsResponse.struct_class = Types::ListDeliverabilityTestReportsResponse
479
+
349
480
  ListEmailIdentitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
350
481
  ListEmailIdentitiesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
351
482
  ListEmailIdentitiesRequest.struct_class = Types::ListEmailIdentitiesRequest
@@ -371,9 +502,21 @@ module Aws::PinpointEmail
371
502
 
372
503
  MessageTagList.member = Shapes::ShapeRef.new(shape: MessageTag)
373
504
 
505
+ OverallVolume.add_member(:volume_statistics, Shapes::ShapeRef.new(shape: VolumeStatistics, location_name: "VolumeStatistics"))
506
+ OverallVolume.add_member(:read_rate_percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "ReadRatePercent"))
507
+ OverallVolume.add_member(:domain_isp_placements, Shapes::ShapeRef.new(shape: DomainIspPlacements, location_name: "DomainIspPlacements"))
508
+ OverallVolume.struct_class = Types::OverallVolume
509
+
374
510
  PinpointDestination.add_member(:application_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ApplicationArn"))
375
511
  PinpointDestination.struct_class = Types::PinpointDestination
376
512
 
513
+ PlacementStatistics.add_member(:inbox_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "InboxPercentage"))
514
+ PlacementStatistics.add_member(:spam_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "SpamPercentage"))
515
+ PlacementStatistics.add_member(:missing_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "MissingPercentage"))
516
+ PlacementStatistics.add_member(:spf_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "SpfPercentage"))
517
+ PlacementStatistics.add_member(:dkim_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "DkimPercentage"))
518
+ PlacementStatistics.struct_class = Types::PlacementStatistics
519
+
377
520
  PutAccountDedicatedIpWarmupAttributesRequest.add_member(:auto_warmup_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "AutoWarmupEnabled"))
378
521
  PutAccountDedicatedIpWarmupAttributesRequest.struct_class = Types::PutAccountDedicatedIpWarmupAttributesRequest
379
522
 
@@ -420,6 +563,11 @@ module Aws::PinpointEmail
420
563
 
421
564
  PutDedicatedIpWarmupAttributesResponse.struct_class = Types::PutDedicatedIpWarmupAttributesResponse
422
565
 
566
+ PutDeliverabilityDashboardOptionRequest.add_member(:dashboard_enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "DashboardEnabled"))
567
+ PutDeliverabilityDashboardOptionRequest.struct_class = Types::PutDeliverabilityDashboardOptionRequest
568
+
569
+ PutDeliverabilityDashboardOptionResponse.struct_class = Types::PutDeliverabilityDashboardOptionResponse
570
+
423
571
  PutEmailIdentityDkimAttributesRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "EmailIdentity"))
424
572
  PutEmailIdentityDkimAttributesRequest.add_member(:signing_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SigningEnabled"))
425
573
  PutEmailIdentityDkimAttributesRequest.struct_class = Types::PutEmailIdentityDkimAttributesRequest
@@ -479,6 +627,12 @@ module Aws::PinpointEmail
479
627
 
480
628
  UpdateConfigurationSetEventDestinationResponse.struct_class = Types::UpdateConfigurationSetEventDestinationResponse
481
629
 
630
+ VolumeStatistics.add_member(:inbox_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "InboxRawCount"))
631
+ VolumeStatistics.add_member(:spam_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "SpamRawCount"))
632
+ VolumeStatistics.add_member(:projected_inbox, Shapes::ShapeRef.new(shape: Volume, location_name: "ProjectedInbox"))
633
+ VolumeStatistics.add_member(:projected_spam, Shapes::ShapeRef.new(shape: Volume, location_name: "ProjectedSpam"))
634
+ VolumeStatistics.struct_class = Types::VolumeStatistics
635
+
482
636
 
483
637
  # @api private
484
638
  API = Seahorse::Model::Api.new.tap do |api|
@@ -537,6 +691,22 @@ module Aws::PinpointEmail
537
691
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
538
692
  end)
539
693
 
694
+ api.add_operation(:create_deliverability_test_report, Seahorse::Model::Operation.new.tap do |o|
695
+ o.name = "CreateDeliverabilityTestReport"
696
+ o.http_method = "POST"
697
+ o.http_request_uri = "/v1/email/deliverability-dashboard/test"
698
+ o.input = Shapes::ShapeRef.new(shape: CreateDeliverabilityTestReportRequest)
699
+ o.output = Shapes::ShapeRef.new(shape: CreateDeliverabilityTestReportResponse)
700
+ o.errors << Shapes::ShapeRef.new(shape: AccountSuspendedException)
701
+ o.errors << Shapes::ShapeRef.new(shape: SendingPausedException)
702
+ o.errors << Shapes::ShapeRef.new(shape: MessageRejected)
703
+ o.errors << Shapes::ShapeRef.new(shape: MailFromDomainNotVerifiedException)
704
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
705
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
706
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
707
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
708
+ end)
709
+
540
710
  api.add_operation(:create_email_identity, Seahorse::Model::Operation.new.tap do |o|
541
711
  o.name = "CreateEmailIdentity"
542
712
  o.http_method = "POST"
@@ -602,6 +772,17 @@ module Aws::PinpointEmail
602
772
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
603
773
  end)
604
774
 
775
+ api.add_operation(:get_blacklist_reports, Seahorse::Model::Operation.new.tap do |o|
776
+ o.name = "GetBlacklistReports"
777
+ o.http_method = "GET"
778
+ o.http_request_uri = "/v1/email/deliverability-dashboard/blacklist-report"
779
+ o.input = Shapes::ShapeRef.new(shape: GetBlacklistReportsRequest)
780
+ o.output = Shapes::ShapeRef.new(shape: GetBlacklistReportsResponse)
781
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
782
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
783
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
784
+ end)
785
+
605
786
  api.add_operation(:get_configuration_set, Seahorse::Model::Operation.new.tap do |o|
606
787
  o.name = "GetConfigurationSet"
607
788
  o.http_method = "GET"
@@ -652,6 +833,39 @@ module Aws::PinpointEmail
652
833
  )
653
834
  end)
654
835
 
836
+ api.add_operation(:get_deliverability_dashboard_options, Seahorse::Model::Operation.new.tap do |o|
837
+ o.name = "GetDeliverabilityDashboardOptions"
838
+ o.http_method = "GET"
839
+ o.http_request_uri = "/v1/email/deliverability-dashboard"
840
+ o.input = Shapes::ShapeRef.new(shape: GetDeliverabilityDashboardOptionsRequest)
841
+ o.output = Shapes::ShapeRef.new(shape: GetDeliverabilityDashboardOptionsResponse)
842
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
843
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
844
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
845
+ end)
846
+
847
+ api.add_operation(:get_deliverability_test_report, Seahorse::Model::Operation.new.tap do |o|
848
+ o.name = "GetDeliverabilityTestReport"
849
+ o.http_method = "GET"
850
+ o.http_request_uri = "/v1/email/deliverability-dashboard/test-reports/{ReportId}"
851
+ o.input = Shapes::ShapeRef.new(shape: GetDeliverabilityTestReportRequest)
852
+ o.output = Shapes::ShapeRef.new(shape: GetDeliverabilityTestReportResponse)
853
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
854
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
855
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
856
+ end)
857
+
858
+ api.add_operation(:get_domain_statistics_report, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "GetDomainStatisticsReport"
860
+ o.http_method = "GET"
861
+ o.http_request_uri = "/v1/email/deliverability-dashboard/statistics-report/{Domain}"
862
+ o.input = Shapes::ShapeRef.new(shape: GetDomainStatisticsReportRequest)
863
+ o.output = Shapes::ShapeRef.new(shape: GetDomainStatisticsReportResponse)
864
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
865
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
866
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
867
+ end)
868
+
655
869
  api.add_operation(:get_email_identity, Seahorse::Model::Operation.new.tap do |o|
656
870
  o.name = "GetEmailIdentity"
657
871
  o.http_method = "GET"
@@ -695,6 +909,23 @@ module Aws::PinpointEmail
695
909
  )
696
910
  end)
697
911
 
912
+ api.add_operation(:list_deliverability_test_reports, Seahorse::Model::Operation.new.tap do |o|
913
+ o.name = "ListDeliverabilityTestReports"
914
+ o.http_method = "GET"
915
+ o.http_request_uri = "/v1/email/deliverability-dashboard/test-reports"
916
+ o.input = Shapes::ShapeRef.new(shape: ListDeliverabilityTestReportsRequest)
917
+ o.output = Shapes::ShapeRef.new(shape: ListDeliverabilityTestReportsResponse)
918
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
919
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
920
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
921
+ o[:pager] = Aws::Pager.new(
922
+ limit_key: "page_size",
923
+ tokens: {
924
+ "next_token" => "next_token"
925
+ }
926
+ )
927
+ end)
928
+
698
929
  api.add_operation(:list_email_identities, Seahorse::Model::Operation.new.tap do |o|
699
930
  o.name = "ListEmailIdentities"
700
931
  o.http_method = "GET"
@@ -797,6 +1028,19 @@ module Aws::PinpointEmail
797
1028
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
798
1029
  end)
799
1030
 
1031
+ api.add_operation(:put_deliverability_dashboard_option, Seahorse::Model::Operation.new.tap do |o|
1032
+ o.name = "PutDeliverabilityDashboardOption"
1033
+ o.http_method = "PUT"
1034
+ o.http_request_uri = "/v1/email/deliverability-dashboard"
1035
+ o.input = Shapes::ShapeRef.new(shape: PutDeliverabilityDashboardOptionRequest)
1036
+ o.output = Shapes::ShapeRef.new(shape: PutDeliverabilityDashboardOptionResponse)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1042
+ end)
1043
+
800
1044
  api.add_operation(:put_email_identity_dkim_attributes, Seahorse::Model::Operation.new.tap do |o|
801
1045
  o.name = "PutEmailIdentityDkimAttributes"
802
1046
  o.http_method = "PUT"