aws-sdk-pinpoint 1.88.0 → 1.90.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +97 -3
- data/lib/aws-sdk-pinpoint/client_api.rb +12 -0
- data/lib/aws-sdk-pinpoint/types.rb +55 -1
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/sig/client.rbs +50 -2
- data/sig/types.rbs +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29f5476e3b6915e9b7b84a12a3ece747f88998a04ca2ae84bb32472c046b9bb2
|
4
|
+
data.tar.gz: 4042109582a697a53b6ee03430143bd92b3741a15bcf71eb385973c230febd59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889ef23bf1c9331aa68b14b108a5f2735bf7c00584a47ab3579569e1cd1b317231a668dddaac961d860569711df0424587393ccc07fb7cfa55a39eb8e164c06e
|
7
|
+
data.tar.gz: 051b0f12e68a82f0c65a07d27d47914e3ba972f786d8ba9f8e8a80c0348bfe658da296d046ebb0383a2377f8fa840abf023752cae06adeb481b12d41991af2bf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.90.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.89.0 (2024-05-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages.
|
13
|
+
|
4
14
|
1.88.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.90.0
|
@@ -301,8 +301,9 @@ module Aws::Pinpoint
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -537,6 +538,12 @@ module Aws::Pinpoint
|
|
537
538
|
# email_message: {
|
538
539
|
# body: "__string",
|
539
540
|
# from_address: "__string",
|
541
|
+
# headers: [
|
542
|
+
# {
|
543
|
+
# name: "__string",
|
544
|
+
# value: "__string",
|
545
|
+
# },
|
546
|
+
# ],
|
540
547
|
# html_body: "__string",
|
541
548
|
# title: "__string",
|
542
549
|
# },
|
@@ -771,6 +778,12 @@ module Aws::Pinpoint
|
|
771
778
|
# email_message: {
|
772
779
|
# body: "__string",
|
773
780
|
# from_address: "__string",
|
781
|
+
# headers: [
|
782
|
+
# {
|
783
|
+
# name: "__string",
|
784
|
+
# value: "__string",
|
785
|
+
# },
|
786
|
+
# ],
|
774
787
|
# html_body: "__string",
|
775
788
|
# title: "__string",
|
776
789
|
# },
|
@@ -988,6 +1001,9 @@ module Aws::Pinpoint
|
|
988
1001
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
989
1002
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
990
1003
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
|
1004
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
|
1005
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
1006
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
991
1007
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
992
1008
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
993
1009
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -1148,6 +1164,9 @@ module Aws::Pinpoint
|
|
1148
1164
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
1149
1165
|
# resp.campaign_response.message_configuration.email_message.body #=> String
|
1150
1166
|
# resp.campaign_response.message_configuration.email_message.from_address #=> String
|
1167
|
+
# resp.campaign_response.message_configuration.email_message.headers #=> Array
|
1168
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
|
1169
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
|
1151
1170
|
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
1152
1171
|
# resp.campaign_response.message_configuration.email_message.title #=> String
|
1153
1172
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -1274,6 +1293,12 @@ module Aws::Pinpoint
|
|
1274
1293
|
# html_part: "__string",
|
1275
1294
|
# recommender_id: "__string",
|
1276
1295
|
# subject: "__string",
|
1296
|
+
# headers: [
|
1297
|
+
# {
|
1298
|
+
# name: "__string",
|
1299
|
+
# value: "__string",
|
1300
|
+
# },
|
1301
|
+
# ],
|
1277
1302
|
# tags: {
|
1278
1303
|
# "__string" => "__string",
|
1279
1304
|
# },
|
@@ -3043,6 +3068,9 @@ module Aws::Pinpoint
|
|
3043
3068
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
3044
3069
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
3045
3070
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
|
3071
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
|
3072
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
3073
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
3046
3074
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
3047
3075
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
3048
3076
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -3203,6 +3231,9 @@ module Aws::Pinpoint
|
|
3203
3231
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
3204
3232
|
# resp.campaign_response.message_configuration.email_message.body #=> String
|
3205
3233
|
# resp.campaign_response.message_configuration.email_message.from_address #=> String
|
3234
|
+
# resp.campaign_response.message_configuration.email_message.headers #=> Array
|
3235
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
|
3236
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
|
3206
3237
|
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
3207
3238
|
# resp.campaign_response.message_configuration.email_message.title #=> String
|
3208
3239
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -4684,6 +4715,9 @@ module Aws::Pinpoint
|
|
4684
4715
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
4685
4716
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
4686
4717
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
|
4718
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
|
4719
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
4720
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
4687
4721
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
4688
4722
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
4689
4723
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -4844,6 +4878,9 @@ module Aws::Pinpoint
|
|
4844
4878
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
4845
4879
|
# resp.campaign_response.message_configuration.email_message.body #=> String
|
4846
4880
|
# resp.campaign_response.message_configuration.email_message.from_address #=> String
|
4881
|
+
# resp.campaign_response.message_configuration.email_message.headers #=> Array
|
4882
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
|
4883
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
|
4847
4884
|
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
4848
4885
|
# resp.campaign_response.message_configuration.email_message.title #=> String
|
4849
4886
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5140,6 +5177,9 @@ module Aws::Pinpoint
|
|
5140
5177
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
5141
5178
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
5142
5179
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
|
5180
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
|
5181
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
5182
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
5143
5183
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
5144
5184
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
5145
5185
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5300,6 +5340,9 @@ module Aws::Pinpoint
|
|
5300
5340
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
5301
5341
|
# resp.campaign_response.message_configuration.email_message.body #=> String
|
5302
5342
|
# resp.campaign_response.message_configuration.email_message.from_address #=> String
|
5343
|
+
# resp.campaign_response.message_configuration.email_message.headers #=> Array
|
5344
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
|
5345
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
|
5303
5346
|
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
5304
5347
|
# resp.campaign_response.message_configuration.email_message.title #=> String
|
5305
5348
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5488,6 +5531,9 @@ module Aws::Pinpoint
|
|
5488
5531
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
|
5489
5532
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
|
5490
5533
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.from_address #=> String
|
5534
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers #=> Array
|
5535
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
5536
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
5491
5537
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
|
5492
5538
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
|
5493
5539
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5648,6 +5694,9 @@ module Aws::Pinpoint
|
|
5648
5694
|
# resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
|
5649
5695
|
# resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
|
5650
5696
|
# resp.campaigns_response.item[0].message_configuration.email_message.from_address #=> String
|
5697
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers #=> Array
|
5698
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers[0].name #=> String
|
5699
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers[0].value #=> String
|
5651
5700
|
# resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
|
5652
5701
|
# resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
|
5653
5702
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5835,6 +5884,9 @@ module Aws::Pinpoint
|
|
5835
5884
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
|
5836
5885
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
|
5837
5886
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.from_address #=> String
|
5887
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers #=> Array
|
5888
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
5889
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
5838
5890
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
|
5839
5891
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
|
5840
5892
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -5995,6 +6047,9 @@ module Aws::Pinpoint
|
|
5995
6047
|
# resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
|
5996
6048
|
# resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
|
5997
6049
|
# resp.campaigns_response.item[0].message_configuration.email_message.from_address #=> String
|
6050
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers #=> Array
|
6051
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers[0].name #=> String
|
6052
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.headers[0].value #=> String
|
5998
6053
|
# resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
|
5999
6054
|
# resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
|
6000
6055
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -6208,6 +6263,9 @@ module Aws::Pinpoint
|
|
6208
6263
|
# resp.email_template_response.last_modified_date #=> String
|
6209
6264
|
# resp.email_template_response.recommender_id #=> String
|
6210
6265
|
# resp.email_template_response.subject #=> String
|
6266
|
+
# resp.email_template_response.headers #=> Array
|
6267
|
+
# resp.email_template_response.headers[0].name #=> String
|
6268
|
+
# resp.email_template_response.headers[0].value #=> String
|
6211
6269
|
# resp.email_template_response.tags #=> Hash
|
6212
6270
|
# resp.email_template_response.tags["__string"] #=> String
|
6213
6271
|
# resp.email_template_response.template_description #=> String
|
@@ -9163,6 +9221,12 @@ module Aws::Pinpoint
|
|
9163
9221
|
# charset: "__string",
|
9164
9222
|
# data: "__string",
|
9165
9223
|
# },
|
9224
|
+
# headers: [
|
9225
|
+
# {
|
9226
|
+
# name: "__string",
|
9227
|
+
# value: "__string",
|
9228
|
+
# },
|
9229
|
+
# ],
|
9166
9230
|
# },
|
9167
9231
|
# substitutions: {
|
9168
9232
|
# "__string" => ["__string"],
|
@@ -9452,6 +9516,12 @@ module Aws::Pinpoint
|
|
9452
9516
|
# charset: "__string",
|
9453
9517
|
# data: "__string",
|
9454
9518
|
# },
|
9519
|
+
# headers: [
|
9520
|
+
# {
|
9521
|
+
# name: "__string",
|
9522
|
+
# value: "__string",
|
9523
|
+
# },
|
9524
|
+
# ],
|
9455
9525
|
# },
|
9456
9526
|
# substitutions: {
|
9457
9527
|
# "__string" => ["__string"],
|
@@ -10087,6 +10157,12 @@ module Aws::Pinpoint
|
|
10087
10157
|
# email_message: {
|
10088
10158
|
# body: "__string",
|
10089
10159
|
# from_address: "__string",
|
10160
|
+
# headers: [
|
10161
|
+
# {
|
10162
|
+
# name: "__string",
|
10163
|
+
# value: "__string",
|
10164
|
+
# },
|
10165
|
+
# ],
|
10090
10166
|
# html_body: "__string",
|
10091
10167
|
# title: "__string",
|
10092
10168
|
# },
|
@@ -10321,6 +10397,12 @@ module Aws::Pinpoint
|
|
10321
10397
|
# email_message: {
|
10322
10398
|
# body: "__string",
|
10323
10399
|
# from_address: "__string",
|
10400
|
+
# headers: [
|
10401
|
+
# {
|
10402
|
+
# name: "__string",
|
10403
|
+
# value: "__string",
|
10404
|
+
# },
|
10405
|
+
# ],
|
10324
10406
|
# html_body: "__string",
|
10325
10407
|
# title: "__string",
|
10326
10408
|
# },
|
@@ -10538,6 +10620,9 @@ module Aws::Pinpoint
|
|
10538
10620
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
10539
10621
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
10540
10622
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.from_address #=> String
|
10623
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers #=> Array
|
10624
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].name #=> String
|
10625
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.headers[0].value #=> String
|
10541
10626
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
10542
10627
|
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
10543
10628
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -10698,6 +10783,9 @@ module Aws::Pinpoint
|
|
10698
10783
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
10699
10784
|
# resp.campaign_response.message_configuration.email_message.body #=> String
|
10700
10785
|
# resp.campaign_response.message_configuration.email_message.from_address #=> String
|
10786
|
+
# resp.campaign_response.message_configuration.email_message.headers #=> Array
|
10787
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].name #=> String
|
10788
|
+
# resp.campaign_response.message_configuration.email_message.headers[0].value #=> String
|
10701
10789
|
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
10702
10790
|
# resp.campaign_response.message_configuration.email_message.title #=> String
|
10703
10791
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
@@ -10884,6 +10972,12 @@ module Aws::Pinpoint
|
|
10884
10972
|
# html_part: "__string",
|
10885
10973
|
# recommender_id: "__string",
|
10886
10974
|
# subject: "__string",
|
10975
|
+
# headers: [
|
10976
|
+
# {
|
10977
|
+
# name: "__string",
|
10978
|
+
# value: "__string",
|
10979
|
+
# },
|
10980
|
+
# ],
|
10887
10981
|
# tags: {
|
10888
10982
|
# "__string" => "__string",
|
10889
10983
|
# },
|
@@ -12882,7 +12976,7 @@ module Aws::Pinpoint
|
|
12882
12976
|
params: params,
|
12883
12977
|
config: config)
|
12884
12978
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
12885
|
-
context[:gem_version] = '1.
|
12979
|
+
context[:gem_version] = '1.90.0'
|
12886
12980
|
Seahorse::Client::Request.new(handlers, context)
|
12887
12981
|
end
|
12888
12982
|
|
@@ -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
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
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.
|
4
|
+
version: 1.90.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-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|