aws-sdk-pinpoint 1.87.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: 6ca258722155cf49ffcec9335fe6ee56440f20a472dbb45d9ee48d63db4056c1
4
- data.tar.gz: 40b529fe90361205183cec94f3f4a7df55be0cf1659d8231a13987b6f4f88c3c
3
+ metadata.gz: b7ec17333bd179eb330ef0b2f2790f87f45b8a7b847d516332e47584a582e568
4
+ data.tar.gz: 56cd538303b340493c42b2a9e03ef9c8da9d8d81e013a609c57c0493cd3d9c4c
5
5
  SHA512:
6
- metadata.gz: fa3f49043d3d31a10248a25432fe6f5d8365b24a5d485d794dcbb38e0c4f9c79b882484f92be54314dfe092a44553df4f34c3ac1704ac54a6049eb381e01a02b
7
- data.tar.gz: 38f1f0aab7d170a5d6d5637f823407e2aa60eb20675ae372ab9d6d23b0b17e2fb15aa9bd801939aba043bc15341e56c2db86e449b48f676aa44aab9869036b36
6
+ metadata.gz: 919ca48b070485ecea81112f596dfd6c52169a621c7338d2732005a251dc98733fa51f3ac751d53fb33c237f94b418552546d85b42ec7715035f6062889f451e
7
+ data.tar.gz: 3508f72504b6d7b1fc983b51a7fc16832e3d74b47f9b8268650f170ee92fa49eb140ac8aec3d2d835bc494060bee5d511275ffd73dfa2b2ba0250639d5233770
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.88.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.87.0 (2024-04-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.89.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::Pinpoint
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::Pinpoint
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::Pinpoint
337
346
  # @option options [Aws::Pinpoint::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Pinpoint::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
365
- #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
368
399
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
372
402
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
378
405
  #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -513,6 +537,12 @@ module Aws::Pinpoint
513
537
  # email_message: {
514
538
  # body: "__string",
515
539
  # from_address: "__string",
540
+ # headers: [
541
+ # {
542
+ # name: "__string",
543
+ # value: "__string",
544
+ # },
545
+ # ],
516
546
  # html_body: "__string",
517
547
  # title: "__string",
518
548
  # },
@@ -747,6 +777,12 @@ module Aws::Pinpoint
747
777
  # email_message: {
748
778
  # body: "__string",
749
779
  # from_address: "__string",
780
+ # headers: [
781
+ # {
782
+ # name: "__string",
783
+ # value: "__string",
784
+ # },
785
+ # ],
750
786
  # html_body: "__string",
751
787
  # title: "__string",
752
788
  # },
@@ -964,6 +1000,9 @@ module Aws::Pinpoint
964
1000
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
965
1001
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
966
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
967
1006
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
968
1007
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
969
1008
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -1124,6 +1163,9 @@ module Aws::Pinpoint
1124
1163
  # resp.campaign_response.message_configuration.default_message.url #=> String
1125
1164
  # resp.campaign_response.message_configuration.email_message.body #=> String
1126
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
1127
1169
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
1128
1170
  # resp.campaign_response.message_configuration.email_message.title #=> String
1129
1171
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -1250,6 +1292,12 @@ module Aws::Pinpoint
1250
1292
  # html_part: "__string",
1251
1293
  # recommender_id: "__string",
1252
1294
  # subject: "__string",
1295
+ # headers: [
1296
+ # {
1297
+ # name: "__string",
1298
+ # value: "__string",
1299
+ # },
1300
+ # ],
1253
1301
  # tags: {
1254
1302
  # "__string" => "__string",
1255
1303
  # },
@@ -3019,6 +3067,9 @@ module Aws::Pinpoint
3019
3067
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
3020
3068
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
3021
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
3022
3073
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
3023
3074
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
3024
3075
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -3179,6 +3230,9 @@ module Aws::Pinpoint
3179
3230
  # resp.campaign_response.message_configuration.default_message.url #=> String
3180
3231
  # resp.campaign_response.message_configuration.email_message.body #=> String
3181
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
3182
3236
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
3183
3237
  # resp.campaign_response.message_configuration.email_message.title #=> String
3184
3238
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -4660,6 +4714,9 @@ module Aws::Pinpoint
4660
4714
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
4661
4715
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
4662
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
4663
4720
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
4664
4721
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
4665
4722
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -4820,6 +4877,9 @@ module Aws::Pinpoint
4820
4877
  # resp.campaign_response.message_configuration.default_message.url #=> String
4821
4878
  # resp.campaign_response.message_configuration.email_message.body #=> String
4822
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
4823
4883
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
4824
4884
  # resp.campaign_response.message_configuration.email_message.title #=> String
4825
4885
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5116,6 +5176,9 @@ module Aws::Pinpoint
5116
5176
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
5117
5177
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
5118
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
5119
5182
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
5120
5183
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
5121
5184
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5276,6 +5339,9 @@ module Aws::Pinpoint
5276
5339
  # resp.campaign_response.message_configuration.default_message.url #=> String
5277
5340
  # resp.campaign_response.message_configuration.email_message.body #=> String
5278
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
5279
5345
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
5280
5346
  # resp.campaign_response.message_configuration.email_message.title #=> String
5281
5347
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5464,6 +5530,9 @@ module Aws::Pinpoint
5464
5530
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
5465
5531
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
5466
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
5467
5536
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
5468
5537
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
5469
5538
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5624,6 +5693,9 @@ module Aws::Pinpoint
5624
5693
  # resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
5625
5694
  # resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
5626
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
5627
5699
  # resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
5628
5700
  # resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
5629
5701
  # resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5811,6 +5883,9 @@ module Aws::Pinpoint
5811
5883
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
5812
5884
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
5813
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
5814
5889
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
5815
5890
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
5816
5891
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -5971,6 +6046,9 @@ module Aws::Pinpoint
5971
6046
  # resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
5972
6047
  # resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
5973
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
5974
6052
  # resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
5975
6053
  # resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
5976
6054
  # resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -6184,6 +6262,9 @@ module Aws::Pinpoint
6184
6262
  # resp.email_template_response.last_modified_date #=> String
6185
6263
  # resp.email_template_response.recommender_id #=> String
6186
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
6187
6268
  # resp.email_template_response.tags #=> Hash
6188
6269
  # resp.email_template_response.tags["__string"] #=> String
6189
6270
  # resp.email_template_response.template_description #=> String
@@ -9139,6 +9220,12 @@ module Aws::Pinpoint
9139
9220
  # charset: "__string",
9140
9221
  # data: "__string",
9141
9222
  # },
9223
+ # headers: [
9224
+ # {
9225
+ # name: "__string",
9226
+ # value: "__string",
9227
+ # },
9228
+ # ],
9142
9229
  # },
9143
9230
  # substitutions: {
9144
9231
  # "__string" => ["__string"],
@@ -9428,6 +9515,12 @@ module Aws::Pinpoint
9428
9515
  # charset: "__string",
9429
9516
  # data: "__string",
9430
9517
  # },
9518
+ # headers: [
9519
+ # {
9520
+ # name: "__string",
9521
+ # value: "__string",
9522
+ # },
9523
+ # ],
9431
9524
  # },
9432
9525
  # substitutions: {
9433
9526
  # "__string" => ["__string"],
@@ -10063,6 +10156,12 @@ module Aws::Pinpoint
10063
10156
  # email_message: {
10064
10157
  # body: "__string",
10065
10158
  # from_address: "__string",
10159
+ # headers: [
10160
+ # {
10161
+ # name: "__string",
10162
+ # value: "__string",
10163
+ # },
10164
+ # ],
10066
10165
  # html_body: "__string",
10067
10166
  # title: "__string",
10068
10167
  # },
@@ -10297,6 +10396,12 @@ module Aws::Pinpoint
10297
10396
  # email_message: {
10298
10397
  # body: "__string",
10299
10398
  # from_address: "__string",
10399
+ # headers: [
10400
+ # {
10401
+ # name: "__string",
10402
+ # value: "__string",
10403
+ # },
10404
+ # ],
10300
10405
  # html_body: "__string",
10301
10406
  # title: "__string",
10302
10407
  # },
@@ -10514,6 +10619,9 @@ module Aws::Pinpoint
10514
10619
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
10515
10620
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
10516
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
10517
10625
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
10518
10626
  # resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
10519
10627
  # resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -10674,6 +10782,9 @@ module Aws::Pinpoint
10674
10782
  # resp.campaign_response.message_configuration.default_message.url #=> String
10675
10783
  # resp.campaign_response.message_configuration.email_message.body #=> String
10676
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
10677
10788
  # resp.campaign_response.message_configuration.email_message.html_body #=> String
10678
10789
  # resp.campaign_response.message_configuration.email_message.title #=> String
10679
10790
  # resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
@@ -10860,6 +10971,12 @@ module Aws::Pinpoint
10860
10971
  # html_part: "__string",
10861
10972
  # recommender_id: "__string",
10862
10973
  # subject: "__string",
10974
+ # headers: [
10975
+ # {
10976
+ # name: "__string",
10977
+ # value: "__string",
10978
+ # },
10979
+ # ],
10863
10980
  # tags: {
10864
10981
  # "__string" => "__string",
10865
10982
  # },
@@ -12858,7 +12975,7 @@ module Aws::Pinpoint
12858
12975
  params: params,
12859
12976
  config: config)
12860
12977
  context[:gem_name] = 'aws-sdk-pinpoint'
12861
- context[:gem_version] = '1.87.0'
12978
+ context[:gem_version] = '1.89.0'
12862
12979
  Seahorse::Client::Request.new(handlers, context)
12863
12980
  end
12864
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.87.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.87.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-09 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement