aws-sdk-pinpoint 1.88.0 → 1.89.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
  SHA256:
3
- metadata.gz: fd20303603451ebab1b6e3a973c59c604d7f3b572c53747d9afc28027401c313
4
- data.tar.gz: bf4fdc48a3507aa9bf94be15a588a465bacf3da092ed84046029a460ae2a13a4
3
+ metadata.gz: b7ec17333bd179eb330ef0b2f2790f87f45b8a7b847d516332e47584a582e568
4
+ data.tar.gz: 56cd538303b340493c42b2a9e03ef9c8da9d8d81e013a609c57c0493cd3d9c4c
5
5
  SHA512:
6
- metadata.gz: 6f75067ee2089a57f083babc1202201e3c49a57f4c3ff1afd2e31d27cc226de86c2ad5d4a2b0309460ffba0ca1e986c28487a5a491f270009fccda163915ebfe
7
- data.tar.gz: e92aa3bb9dd511889fd317f261e43f4461ac8396fcad449b514937270c2bd7b2db1a88f07c4dd46d402ec3144f007c2bc92ac0f70b8e43f2fc9ff17871534696
6
+ metadata.gz: 919ca48b070485ecea81112f596dfd6c52169a621c7338d2732005a251dc98733fa51f3ac751d53fb33c237f94b418552546d85b42ec7715035f6062889f451e
7
+ data.tar.gz: 3508f72504b6d7b1fc983b51a7fc16832e3d74b47f9b8268650f170ee92fa49eb140ac8aec3d2d835bc494060bee5d511275ffd73dfa2b2ba0250639d5233770
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-05-09)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages.
8
+
4
9
  1.88.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.0
@@ -537,6 +537,12 @@ module Aws::Pinpoint
537
537
  # email_message: {
538
538
  # body: "__string",
539
539
  # from_address: "__string",
540
+ # headers: [
541
+ # {
542
+ # name: "__string",
543
+ # value: "__string",
544
+ # },
545
+ # ],
540
546
  # html_body: "__string",
541
547
  # title: "__string",
542
548
  # },
@@ -771,6 +777,12 @@ module Aws::Pinpoint
771
777
  # email_message: {
772
778
  # body: "__string",
773
779
  # from_address: "__string",
780
+ # headers: [
781
+ # {
782
+ # name: "__string",
783
+ # value: "__string",
784
+ # },
785
+ # ],
774
786
  # html_body: "__string",
775
787
  # title: "__string",
776
788
  # },
@@ -988,6 +1000,9 @@ module Aws::Pinpoint
988
1000
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
989
1001
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
990
1002
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
1003
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
1004
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
1005
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
991
1006
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
992
1007
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
993
1008
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -1148,6 +1163,9 @@ module Aws::Pinpoint
1148
1163
  # resp.campaign_response.message_configuration.default_message.url #=> String
1149
1164
  # resp.campaign_response.message_configuration.email_message.body #=> String
1150
1165
  # resp.campaign_response.message_configuration.email_message.from_address #=> String
1166
+ # resp.campaign_response.message_configuration.email_message.headers #=> Array
1167
+ # resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
1168
+ # resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
1151
1169
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
1152
1170
  # resp.campaign_response.message_configuration.email_message.title #=> String
1153
1171
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -1274,6 +1292,12 @@ module Aws::Pinpoint
1274
1292
  # html_part: "__string",
1275
1293
  # recommender_id: "__string",
1276
1294
  # subject: "__string",
1295
+ # headers: [
1296
+ # {
1297
+ # name: "__string",
1298
+ # value: "__string",
1299
+ # },
1300
+ # ],
1277
1301
  # tags: {
1278
1302
  # "__string" => "__string",
1279
1303
  # },
@@ -3043,6 +3067,9 @@ module Aws::Pinpoint
3043
3067
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
3044
3068
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
3045
3069
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
3070
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
3071
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
3072
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
3046
3073
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
3047
3074
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
3048
3075
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -3203,6 +3230,9 @@ module Aws::Pinpoint
3203
3230
  # resp.campaign_response.message_configuration.default_message.url #=> String
3204
3231
  # resp.campaign_response.message_configuration.email_message.body #=> String
3205
3232
  # resp.campaign_response.message_configuration.email_message.from_address #=> String
3233
+ # resp.campaign_response.message_configuration.email_message.headers #=> Array
3234
+ # resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
3235
+ # resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
3206
3236
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
3207
3237
  # resp.campaign_response.message_configuration.email_message.title #=> String
3208
3238
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -4684,6 +4714,9 @@ module Aws::Pinpoint
4684
4714
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
4685
4715
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
4686
4716
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
4717
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
4718
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
4719
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
4687
4720
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
4688
4721
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
4689
4722
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -4844,6 +4877,9 @@ module Aws::Pinpoint
4844
4877
  # resp.campaign_response.message_configuration.default_message.url #=> String
4845
4878
  # resp.campaign_response.message_configuration.email_message.body #=> String
4846
4879
  # resp.campaign_response.message_configuration.email_message.from_address #=> String
4880
+ # resp.campaign_response.message_configuration.email_message.headers #=> Array
4881
+ # resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
4882
+ # resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
4847
4883
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
4848
4884
  # resp.campaign_response.message_configuration.email_message.title #=> String
4849
4885
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5140,6 +5176,9 @@ module Aws::Pinpoint
5140
5176
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
5141
5177
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
5142
5178
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
5179
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
5180
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
5181
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
5143
5182
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
5144
5183
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
5145
5184
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5300,6 +5339,9 @@ module Aws::Pinpoint
5300
5339
  # resp.campaign_response.message_configuration.default_message.url #=> String
5301
5340
  # resp.campaign_response.message_configuration.email_message.body #=> String
5302
5341
  # resp.campaign_response.message_configuration.email_message.from_address #=> String
5342
+ # resp.campaign_response.message_configuration.email_message.headers #=> Array
5343
+ # resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
5344
+ # resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
5303
5345
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
5304
5346
  # resp.campaign_response.message_configuration.email_message.title #=> String
5305
5347
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5488,6 +5530,9 @@ module Aws::Pinpoint
5488
5530
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
5489
5531
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
5490
5532
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.from_address #=> String
5533
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers #=> Array
5534
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
5535
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
5491
5536
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
5492
5537
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
5493
5538
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5648,6 +5693,9 @@ module Aws::Pinpoint
5648
5693
  # resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
5649
5694
  # resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
5650
5695
  # resp.campaigns_response.item[0].message_configuration.email_message.from_address #=> String
5696
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers #=> Array
5697
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers[0].name #=> String
5698
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers[0].value #=> String
5651
5699
  # resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
5652
5700
  # resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
5653
5701
  # resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5835,6 +5883,9 @@ module Aws::Pinpoint
5835
5883
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
5836
5884
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
5837
5885
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.from_address #=> String
5886
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers #=> Array
5887
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
5888
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
5838
5889
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
5839
5890
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
5840
5891
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5995,6 +6046,9 @@ module Aws::Pinpoint
5995
6046
  # resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
5996
6047
  # resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
5997
6048
  # resp.campaigns_response.item[0].message_configuration.email_message.from_address #=> String
6049
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers #=> Array
6050
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers[0].name #=> String
6051
+ # resp.campaigns_response.item[0].message_configuration.email_message.headers[0].value #=> String
5998
6052
  # resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
5999
6053
  # resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
6000
6054
  # resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -6208,6 +6262,9 @@ module Aws::Pinpoint
6208
6262
  # resp.email_template_response.last_modified_date #=> String
6209
6263
  # resp.email_template_response.recommender_id #=> String
6210
6264
  # resp.email_template_response.subject #=> String
6265
+ # resp.email_template_response.headers #=> Array
6266
+ # resp.email_template_response.headers[0].name #=> String
6267
+ # resp.email_template_response.headers[0].value #=> String
6211
6268
  # resp.email_template_response.tags #=> Hash
6212
6269
  # resp.email_template_response.tags["__string"] #=> String
6213
6270
  # resp.email_template_response.template_description #=> String
@@ -9163,6 +9220,12 @@ module Aws::Pinpoint
9163
9220
  # charset: "__string",
9164
9221
  # data: "__string",
9165
9222
  # },
9223
+ # headers: [
9224
+ # {
9225
+ # name: "__string",
9226
+ # value: "__string",
9227
+ # },
9228
+ # ],
9166
9229
  # },
9167
9230
  # substitutions: {
9168
9231
  # "__string" => ["__string"],
@@ -9452,6 +9515,12 @@ module Aws::Pinpoint
9452
9515
  # charset: "__string",
9453
9516
  # data: "__string",
9454
9517
  # },
9518
+ # headers: [
9519
+ # {
9520
+ # name: "__string",
9521
+ # value: "__string",
9522
+ # },
9523
+ # ],
9455
9524
  # },
9456
9525
  # substitutions: {
9457
9526
  # "__string" => ["__string"],
@@ -10087,6 +10156,12 @@ module Aws::Pinpoint
10087
10156
  # email_message: {
10088
10157
  # body: "__string",
10089
10158
  # from_address: "__string",
10159
+ # headers: [
10160
+ # {
10161
+ # name: "__string",
10162
+ # value: "__string",
10163
+ # },
10164
+ # ],
10090
10165
  # html_body: "__string",
10091
10166
  # title: "__string",
10092
10167
  # },
@@ -10321,6 +10396,12 @@ module Aws::Pinpoint
10321
10396
  # email_message: {
10322
10397
  # body: "__string",
10323
10398
  # from_address: "__string",
10399
+ # headers: [
10400
+ # {
10401
+ # name: "__string",
10402
+ # value: "__string",
10403
+ # },
10404
+ # ],
10324
10405
  # html_body: "__string",
10325
10406
  # title: "__string",
10326
10407
  # },
@@ -10538,6 +10619,9 @@ module Aws::Pinpoint
10538
10619
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
10539
10620
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
10540
10621
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
10622
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
10623
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
10624
+ # resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
10541
10625
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
10542
10626
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
10543
10627
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -10698,6 +10782,9 @@ module Aws::Pinpoint
10698
10782
  # resp.campaign_response.message_configuration.default_message.url #=> String
10699
10783
  # resp.campaign_response.message_configuration.email_message.body #=> String
10700
10784
  # resp.campaign_response.message_configuration.email_message.from_address #=> String
10785
+ # resp.campaign_response.message_configuration.email_message.headers #=> Array
10786
+ # resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
10787
+ # resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
10701
10788
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
10702
10789
  # resp.campaign_response.message_configuration.email_message.title #=> String
10703
10790
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -10884,6 +10971,12 @@ module Aws::Pinpoint
10884
10971
  # html_part: "__string",
10885
10972
  # recommender_id: "__string",
10886
10973
  # subject: "__string",
10974
+ # headers: [
10975
+ # {
10976
+ # name: "__string",
10977
+ # value: "__string",
10978
+ # },
10979
+ # ],
10887
10980
  # tags: {
10888
10981
  # "__string" => "__string",
10889
10982
  # },
@@ -12882,7 +12975,7 @@ module Aws::Pinpoint
12882
12975
  params: params,
12883
12976
  config: config)
12884
12977
  context[:gem_name] = 'aws-sdk-pinpoint'
12885
- context[:gem_version] = '1.88.0'
12978
+ context[:gem_version] = '1.89.0'
12886
12979
  Seahorse::Client::Request.new(handlers, context)
12887
12980
  end
12888
12981
 
@@ -343,6 +343,7 @@ module Aws::Pinpoint
343
343
  ListOfInAppMessageContent = Shapes::ListShape.new(name: 'ListOfInAppMessageContent')
344
344
  ListOfJourneyResponse = Shapes::ListShape.new(name: 'ListOfJourneyResponse')
345
345
  ListOfJourneyRunResponse = Shapes::ListShape.new(name: 'ListOfJourneyRunResponse')
346
+ ListOfMessageHeader = Shapes::ListShape.new(name: 'ListOfMessageHeader')
346
347
  ListOfMultiConditionalBranch = Shapes::ListShape.new(name: 'ListOfMultiConditionalBranch')
347
348
  ListOfOpenHoursRules = Shapes::ListShape.new(name: 'ListOfOpenHoursRules')
348
349
  ListOfRandomSplitEntry = Shapes::ListShape.new(name: 'ListOfRandomSplitEntry')
@@ -389,6 +390,7 @@ module Aws::Pinpoint
389
390
  Message = Shapes::StructureShape.new(name: 'Message')
390
391
  MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
391
392
  MessageConfiguration = Shapes::StructureShape.new(name: 'MessageConfiguration')
393
+ MessageHeader = Shapes::StructureShape.new(name: 'MessageHeader')
392
394
  MessageRequest = Shapes::StructureShape.new(name: 'MessageRequest')
393
395
  MessageResponse = Shapes::StructureShape.new(name: 'MessageResponse')
394
396
  MessageResult = Shapes::StructureShape.new(name: 'MessageResult')
@@ -864,6 +866,7 @@ module Aws::Pinpoint
864
866
 
865
867
  CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
866
868
  CampaignEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
869
+ CampaignEmailMessage.add_member(:headers, Shapes::ShapeRef.new(shape: ListOfMessageHeader, location_name: "Headers"))
867
870
  CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
868
871
  CampaignEmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
869
872
  CampaignEmailMessage.struct_class = Types::CampaignEmailMessage
@@ -1415,6 +1418,7 @@ module Aws::Pinpoint
1415
1418
  EmailTemplateRequest.add_member(:html_part, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlPart"))
1416
1419
  EmailTemplateRequest.add_member(:recommender_id, Shapes::ShapeRef.new(shape: __string, location_name: "RecommenderId"))
1417
1420
  EmailTemplateRequest.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
1421
+ EmailTemplateRequest.add_member(:headers, Shapes::ShapeRef.new(shape: ListOfMessageHeader, location_name: "Headers"))
1418
1422
  EmailTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
1419
1423
  EmailTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
1420
1424
  EmailTemplateRequest.add_member(:text_part, Shapes::ShapeRef.new(shape: __string, location_name: "TextPart"))
@@ -1427,6 +1431,7 @@ module Aws::Pinpoint
1427
1431
  EmailTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
1428
1432
  EmailTemplateResponse.add_member(:recommender_id, Shapes::ShapeRef.new(shape: __string, location_name: "RecommenderId"))
1429
1433
  EmailTemplateResponse.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
1434
+ EmailTemplateResponse.add_member(:headers, Shapes::ShapeRef.new(shape: ListOfMessageHeader, location_name: "Headers"))
1430
1435
  EmailTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
1431
1436
  EmailTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
1432
1437
  EmailTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
@@ -2400,6 +2405,8 @@ module Aws::Pinpoint
2400
2405
 
2401
2406
  ListOfJourneyRunResponse.member = Shapes::ShapeRef.new(shape: JourneyRunResponse)
2402
2407
 
2408
+ ListOfMessageHeader.member = Shapes::ShapeRef.new(shape: MessageHeader)
2409
+
2403
2410
  ListOfMultiConditionalBranch.member = Shapes::ShapeRef.new(shape: MultiConditionalBranch)
2404
2411
 
2405
2412
  ListOfOpenHoursRules.member = Shapes::ShapeRef.new(shape: OpenHoursRule)
@@ -2553,6 +2560,10 @@ module Aws::Pinpoint
2553
2560
  MessageConfiguration.add_member(:in_app_message, Shapes::ShapeRef.new(shape: CampaignInAppMessage, location_name: "InAppMessage"))
2554
2561
  MessageConfiguration.struct_class = Types::MessageConfiguration
2555
2562
 
2563
+ MessageHeader.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
2564
+ MessageHeader.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
2565
+ MessageHeader.struct_class = Types::MessageHeader
2566
+
2556
2567
  MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses"))
2557
2568
  MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
2558
2569
  MessageRequest.add_member(:endpoints, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Endpoints"))
@@ -2975,6 +2986,7 @@ module Aws::Pinpoint
2975
2986
  SimpleEmail.add_member(:html_part, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "HtmlPart"))
2976
2987
  SimpleEmail.add_member(:subject, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "Subject"))
2977
2988
  SimpleEmail.add_member(:text_part, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "TextPart"))
2989
+ SimpleEmail.add_member(:headers, Shapes::ShapeRef.new(shape: ListOfMessageHeader, location_name: "Headers"))
2978
2990
  SimpleEmail.struct_class = Types::SimpleEmail
2979
2991
 
2980
2992
  SimpleEmailPart.add_member(:charset, Shapes::ShapeRef.new(shape: __string, location_name: "Charset"))
@@ -2049,6 +2049,15 @@ module Aws::Pinpoint
2049
2049
  # application.
2050
2050
  # @return [String]
2051
2051
  #
2052
+ # @!attribute [rw] headers
2053
+ # The list of [MessageHeaders][1] for the email. You can have up to 15
2054
+ # MessageHeaders for each email.
2055
+ #
2056
+ #
2057
+ #
2058
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader
2059
+ # @return [Array<Types::MessageHeader>]
2060
+ #
2052
2061
  # @!attribute [rw] html_body
2053
2062
  # The body of the email, in HTML format, for recipients whose email
2054
2063
  # clients render HTML content.
@@ -2063,6 +2072,7 @@ module Aws::Pinpoint
2063
2072
  class CampaignEmailMessage < Struct.new(
2064
2073
  :body,
2065
2074
  :from_address,
2075
+ :headers,
2066
2076
  :html_body,
2067
2077
  :title)
2068
2078
  SENSITIVE = []
@@ -4397,6 +4407,15 @@ module Aws::Pinpoint
4397
4407
  # on the message template.
4398
4408
  # @return [String]
4399
4409
  #
4410
+ # @!attribute [rw] headers
4411
+ # The list of [MessageHeaders][1] for the email. You can have up to 15
4412
+ # Headers.
4413
+ #
4414
+ #
4415
+ #
4416
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader
4417
+ # @return [Array<Types::MessageHeader>]
4418
+ #
4400
4419
  # @!attribute [rw] tags
4401
4420
  # <note markdown="1">As of **22-05-2023** tags has been deprecated for update operations.
4402
4421
  # After this date any value in tags is not processed and an error code
@@ -4438,6 +4457,7 @@ module Aws::Pinpoint
4438
4457
  :html_part,
4439
4458
  :recommender_id,
4440
4459
  :subject,
4460
+ :headers,
4441
4461
  :tags,
4442
4462
  :template_description,
4443
4463
  :text_part)
@@ -4485,6 +4505,9 @@ module Aws::Pinpoint
4485
4505
  # based on the message template.
4486
4506
  # @return [String]
4487
4507
  #
4508
+ # @!attribute [rw] headers
4509
+ # @return [Array<Types::MessageHeader>]
4510
+ #
4488
4511
  # @!attribute [rw] tags
4489
4512
  # A string-to-string map of key-value pairs that identifies the tags
4490
4513
  # that are associated with the message template. Each tag consists of
@@ -4525,6 +4548,7 @@ module Aws::Pinpoint
4525
4548
  :last_modified_date,
4526
4549
  :recommender_id,
4527
4550
  :subject,
4551
+ :headers,
4528
4552
  :tags,
4529
4553
  :template_description,
4530
4554
  :template_name,
@@ -11718,12 +11742,42 @@ module Aws::Pinpoint
11718
11742
  # such as mobile devices.
11719
11743
  # @return [Types::SimpleEmailPart]
11720
11744
  #
11745
+ # @!attribute [rw] headers
11746
+ # List of Headers for the email.
11747
+ # @return [Array<Types::MessageHeader>]
11748
+ #
11721
11749
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SimpleEmail AWS API Documentation
11722
11750
  #
11723
11751
  class SimpleEmail < Struct.new(
11724
11752
  :html_part,
11725
11753
  :subject,
11726
- :text_part)
11754
+ :text_part,
11755
+ :headers)
11756
+ SENSITIVE = []
11757
+ include Aws::Structure
11758
+ end
11759
+
11760
+ # Contains the name and value pair of an email header to add to your
11761
+ # email. You can have up to 15 MessageHeaders. A header can contain
11762
+ # information such as the sender, receiver, route, or timestamp.
11763
+ #
11764
+ # @!attribute [rw] name
11765
+ # The name of the message header. The header name can contain up to
11766
+ # 126 characters.
11767
+ # @return [String]
11768
+ #
11769
+ # @!attribute [rw] value
11770
+ # The value of the message header. The header value can contain up to
11771
+ # 870 characters, including the length of any rendered attributes. For
11772
+ # example if you add the \\\{CreationDate\\} attribute, it renders as
11773
+ # YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
11774
+ # @return [String]
11775
+ #
11776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageHeader AWS API Documentation
11777
+ #
11778
+ class MessageHeader < Struct.new(
11779
+ :name,
11780
+ :value)
11727
11781
  SENSITIVE = []
11728
11782
  include Aws::Structure
11729
11783
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pinpoint/customizations'
52
52
  # @!group service
53
53
  module Aws::Pinpoint
54
54
 
55
- GEM_VERSION = '1.88.0'
55
+ GEM_VERSION = '1.89.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -162,6 +162,12 @@ module Aws
162
162
  email_message: {
163
163
  body: ::String?,
164
164
  from_address: ::String?,
165
+ headers: Array[
166
+ {
167
+ name: ::String?,
168
+ value: ::String?
169
+ },
170
+ ]?,
165
171
  html_body: ::String?,
166
172
  title: ::String?
167
173
  }?,
@@ -390,6 +396,12 @@ module Aws
390
396
  email_message: {
391
397
  body: ::String?,
392
398
  from_address: ::String?,
399
+ headers: Array[
400
+ {
401
+ name: ::String?,
402
+ value: ::String?
403
+ },
404
+ ]?,
393
405
  html_body: ::String?,
394
406
  title: ::String?
395
407
  }?,
@@ -553,6 +565,12 @@ module Aws
553
565
  html_part: ::String?,
554
566
  recommender_id: ::String?,
555
567
  subject: ::String?,
568
+ headers: Array[
569
+ {
570
+ name: ::String?,
571
+ value: ::String?
572
+ },
573
+ ]?,
556
574
  tags: Hash[::String, ::String]?,
557
575
  template_description: ::String?,
558
576
  text_part: ::String?
@@ -2406,7 +2424,13 @@ module Aws
2406
2424
  text_part: {
2407
2425
  charset: ::String?,
2408
2426
  data: ::String?
2409
- }?
2427
+ }?,
2428
+ headers: Array[
2429
+ {
2430
+ name: ::String?,
2431
+ value: ::String?
2432
+ },
2433
+ ]?
2410
2434
  }?,
2411
2435
  substitutions: Hash[::String, Array[::String]]?
2412
2436
  }?,
@@ -2596,7 +2620,13 @@ module Aws
2596
2620
  text_part: {
2597
2621
  charset: ::String?,
2598
2622
  data: ::String?
2599
- }?
2623
+ }?,
2624
+ headers: Array[
2625
+ {
2626
+ name: ::String?,
2627
+ value: ::String?
2628
+ },
2629
+ ]?
2600
2630
  }?,
2601
2631
  substitutions: Hash[::String, Array[::String]]?
2602
2632
  }?,
@@ -2914,6 +2944,12 @@ module Aws
2914
2944
  email_message: {
2915
2945
  body: ::String?,
2916
2946
  from_address: ::String?,
2947
+ headers: Array[
2948
+ {
2949
+ name: ::String?,
2950
+ value: ::String?
2951
+ },
2952
+ ]?,
2917
2953
  html_body: ::String?,
2918
2954
  title: ::String?
2919
2955
  }?,
@@ -3142,6 +3178,12 @@ module Aws
3142
3178
  email_message: {
3143
3179
  body: ::String?,
3144
3180
  from_address: ::String?,
3181
+ headers: Array[
3182
+ {
3183
+ name: ::String?,
3184
+ value: ::String?
3185
+ },
3186
+ ]?,
3145
3187
  html_body: ::String?,
3146
3188
  title: ::String?
3147
3189
  }?,
@@ -3324,6 +3366,12 @@ module Aws
3324
3366
  html_part: ::String?,
3325
3367
  recommender_id: ::String?,
3326
3368
  subject: ::String?,
3369
+ headers: Array[
3370
+ {
3371
+ name: ::String?,
3372
+ value: ::String?
3373
+ },
3374
+ ]?,
3327
3375
  tags: Hash[::String, ::String]?,
3328
3376
  template_description: ::String?,
3329
3377
  text_part: ::String?
data/sig/types.rbs CHANGED
@@ -381,6 +381,7 @@ module Aws::Pinpoint
381
381
  class CampaignEmailMessage
382
382
  attr_accessor body: ::String
383
383
  attr_accessor from_address: ::String
384
+ attr_accessor headers: ::Array[Types::MessageHeader]
384
385
  attr_accessor html_body: ::String
385
386
  attr_accessor title: ::String
386
387
  SENSITIVE: []
@@ -1024,6 +1025,7 @@ module Aws::Pinpoint
1024
1025
  attr_accessor html_part: ::String
1025
1026
  attr_accessor recommender_id: ::String
1026
1027
  attr_accessor subject: ::String
1028
+ attr_accessor headers: ::Array[Types::MessageHeader]
1027
1029
  attr_accessor tags: ::Hash[::String, ::String]
1028
1030
  attr_accessor template_description: ::String
1029
1031
  attr_accessor text_part: ::String
@@ -1038,6 +1040,7 @@ module Aws::Pinpoint
1038
1040
  attr_accessor last_modified_date: ::String
1039
1041
  attr_accessor recommender_id: ::String
1040
1042
  attr_accessor subject: ::String
1043
+ attr_accessor headers: ::Array[Types::MessageHeader]
1041
1044
  attr_accessor tags: ::Hash[::String, ::String]
1042
1045
  attr_accessor template_description: ::String
1043
1046
  attr_accessor template_name: ::String
@@ -2805,6 +2808,13 @@ module Aws::Pinpoint
2805
2808
  attr_accessor html_part: Types::SimpleEmailPart
2806
2809
  attr_accessor subject: Types::SimpleEmailPart
2807
2810
  attr_accessor text_part: Types::SimpleEmailPart
2811
+ attr_accessor headers: ::Array[Types::MessageHeader]
2812
+ SENSITIVE: []
2813
+ end
2814
+
2815
+ class MessageHeader
2816
+ attr_accessor name: ::String
2817
+ attr_accessor value: ::String
2808
2818
  SENSITIVE: []
2809
2819
  end
2810
2820
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core