aws-sdk-pinpointemail 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ef5fe23dfb1261d373d845723c7445033b78e6d
4
- data.tar.gz: f2c85d539d4ebfb88c04b582774a3b24b676b101
3
+ metadata.gz: 449f89f325912d877092be16c9ff9eed327ed522
4
+ data.tar.gz: dcdbd607f56f1ce58abceea562b7d865eb920b35
5
5
  SHA512:
6
- metadata.gz: 43871f8f42d038659cbeb3771bdbb4844ffe0a900e208fdec1418ba8655b3c69dbda04c6c7d9ffcd9497fc07b07a09b28bc2e8a3aa646b4e8092f06adbdba983
7
- data.tar.gz: 1d49d48a525a7b29a57dc1115bcfcaf23c0814b6dd6c44120f772108ba2c7f10c4e86d7edc94f24888b00f0baac9f1577a3208137b207f239f21aba9cb1d6fc4
6
+ metadata.gz: 49f9e5c14633c44dc650fca01eccef318799ee9ec89c055cc6aebb52ba28731f6a8adc3da6b5925df72d19c5de6f8dfa1ea76bb2b9111749df61e3e8f2dd28a7
7
+ data.tar.gz: 66a05e88d4af9142a0061172d8c3e8c9be51450f392841e054186c000b75a0a409ee06e05cb7b882f8925b36e66a321d861a11b41b6a3deee067a6fbcd599641
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pinpointemail/customizations'
42
42
  # @service
43
43
  module Aws::PinpointEmail
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -477,6 +477,10 @@ module Aws::PinpointEmail
477
477
  # raw: {
478
478
  # data: "data", # required
479
479
  # },
480
+ # template: {
481
+ # template_arn: "TemplateArn",
482
+ # template_data: "TemplateData",
483
+ # },
480
484
  # },
481
485
  # tags: [
482
486
  # {
@@ -1544,9 +1548,11 @@ module Aws::PinpointEmail
1544
1548
  # dedicated IP pool.
1545
1549
  #
1546
1550
  # @option params [String] :tls_policy
1547
- # Whether Amazon Pinpoint should require that incoming email is
1548
- # delivered over a connection encrypted with Transport Layer Security
1549
- # (TLS).
1551
+ # Specifies whether messages that use the configuration set are required
1552
+ # to use Transport Layer Security (TLS). If the value is `Require`,
1553
+ # messages are only delivered if a TLS connection can be established. If
1554
+ # the value is `Optional`, messages can be delivered in plain text if a
1555
+ # TLS connection can't be established.
1550
1556
  #
1551
1557
  # @option params [String] :sending_pool_name
1552
1558
  # The name of the dedicated IP pool that you want to associate with the
@@ -1985,6 +1991,10 @@ module Aws::PinpointEmail
1985
1991
  # raw: {
1986
1992
  # data: "data", # required
1987
1993
  # },
1994
+ # template: {
1995
+ # template_arn: "TemplateArn",
1996
+ # template_data: "TemplateData",
1997
+ # },
1988
1998
  # },
1989
1999
  # email_tags: [
1990
2000
  # {
@@ -2160,7 +2170,7 @@ module Aws::PinpointEmail
2160
2170
  params: params,
2161
2171
  config: config)
2162
2172
  context[:gem_name] = 'aws-sdk-pinpointemail'
2163
- context[:gem_version] = '1.14.0'
2173
+ context[:gem_version] = '1.15.0'
2164
2174
  Seahorse::Client::Request.new(handlers, context)
2165
2175
  end
2166
2176
 
@@ -209,6 +209,9 @@ module Aws::PinpointEmail
209
209
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
210
210
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
211
211
  TagValue = Shapes::StringShape.new(name: 'TagValue')
212
+ Template = Shapes::StructureShape.new(name: 'Template')
213
+ TemplateArn = Shapes::StringShape.new(name: 'TemplateArn')
214
+ TemplateData = Shapes::StringShape.new(name: 'TemplateData')
212
215
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
213
216
  TlsPolicy = Shapes::StringShape.new(name: 'TlsPolicy')
214
217
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
@@ -395,6 +398,7 @@ module Aws::PinpointEmail
395
398
 
396
399
  EmailContent.add_member(:simple, Shapes::ShapeRef.new(shape: Message, location_name: "Simple"))
397
400
  EmailContent.add_member(:raw, Shapes::ShapeRef.new(shape: RawMessage, location_name: "Raw"))
401
+ EmailContent.add_member(:template, Shapes::ShapeRef.new(shape: Template, location_name: "Template"))
398
402
  EmailContent.struct_class = Types::EmailContent
399
403
 
400
404
  Esps.member = Shapes::ShapeRef.new(shape: Esp)
@@ -734,6 +738,10 @@ module Aws::PinpointEmail
734
738
 
735
739
  TagResourceResponse.struct_class = Types::TagResourceResponse
736
740
 
741
+ Template.add_member(:template_arn, Shapes::ShapeRef.new(shape: TemplateArn, location_name: "TemplateArn"))
742
+ Template.add_member(:template_data, Shapes::ShapeRef.new(shape: TemplateData, location_name: "TemplateData"))
743
+ Template.struct_class = Types::Template
744
+
737
745
  TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, required: true, location_name: "CustomRedirectDomain"))
738
746
  TrackingOptions.struct_class = Types::TrackingOptions
739
747
 
@@ -399,6 +399,10 @@ module Aws::PinpointEmail
399
399
  # raw: {
400
400
  # data: "data", # required
401
401
  # },
402
+ # template: {
403
+ # template_arn: "TemplateArn",
404
+ # template_data: "TemplateData",
405
+ # },
402
406
  # },
403
407
  # tags: [
404
408
  # {
@@ -778,11 +782,11 @@ module Aws::PinpointEmail
778
782
  # }
779
783
  #
780
784
  # @!attribute [rw] tls_policy
781
- # Specifies whether Amazon Pinpoint should require that incoming email
782
- # is delivered over a connection that’s encrypted by using Transport
783
- # Layer Security (TLS). If this value is set to `Require`, Amazon
784
- # Pinpoint will bounce email messages that cannot be delivered over
785
- # TLS. The default value is `Optional`.
785
+ # Specifies whether messages that use the configuration set are
786
+ # required to use Transport Layer Security (TLS). If the value is
787
+ # `Require`, messages are only delivered if a TLS connection can be
788
+ # established. If the value is `Optional`, messages can be delivered
789
+ # in plain text if a TLS connection can't be established.
786
790
  # @return [String]
787
791
  #
788
792
  # @!attribute [rw] sending_pool_name
@@ -1104,6 +1108,10 @@ module Aws::PinpointEmail
1104
1108
  # raw: {
1105
1109
  # data: "data", # required
1106
1110
  # },
1111
+ # template: {
1112
+ # template_arn: "TemplateArn",
1113
+ # template_data: "TemplateData",
1114
+ # },
1107
1115
  # }
1108
1116
  #
1109
1117
  # @!attribute [rw] simple
@@ -1140,11 +1148,16 @@ module Aws::PinpointEmail
1140
1148
  # [1]: https://tools.ietf.org/html/rfc5321
1141
1149
  # @return [Types::RawMessage]
1142
1150
  #
1151
+ # @!attribute [rw] template
1152
+ # The template to use for the email message.
1153
+ # @return [Types::Template]
1154
+ #
1143
1155
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/EmailContent AWS API Documentation
1144
1156
  #
1145
1157
  class EmailContent < Struct.new(
1146
1158
  :simple,
1147
- :raw)
1159
+ :raw,
1160
+ :template)
1148
1161
  include Aws::Structure
1149
1162
  end
1150
1163
 
@@ -2685,9 +2698,11 @@ module Aws::PinpointEmail
2685
2698
  # @return [String]
2686
2699
  #
2687
2700
  # @!attribute [rw] tls_policy
2688
- # Whether Amazon Pinpoint should require that incoming email is
2689
- # delivered over a connection encrypted with Transport Layer Security
2690
- # (TLS).
2701
+ # Specifies whether messages that use the configuration set are
2702
+ # required to use Transport Layer Security (TLS). If the value is
2703
+ # `Require`, messages are only delivered if a TLS connection can be
2704
+ # established. If the value is `Optional`, messages can be delivered
2705
+ # in plain text if a TLS connection can't be established.
2691
2706
  # @return [String]
2692
2707
  #
2693
2708
  # @!attribute [rw] sending_pool_name
@@ -3207,6 +3222,10 @@ module Aws::PinpointEmail
3207
3222
  # raw: {
3208
3223
  # data: "data", # required
3209
3224
  # },
3225
+ # template: {
3226
+ # template_arn: "TemplateArn",
3227
+ # template_data: "TemplateData",
3228
+ # },
3210
3229
  # },
3211
3230
  # email_tags: [
3212
3231
  # {
@@ -3466,6 +3485,33 @@ module Aws::PinpointEmail
3466
3485
  #
3467
3486
  class TagResourceResponse < Aws::EmptyStructure; end
3468
3487
 
3488
+ # @note When making an API call, you may pass Template
3489
+ # data as a hash:
3490
+ #
3491
+ # {
3492
+ # template_arn: "TemplateArn",
3493
+ # template_data: "TemplateData",
3494
+ # }
3495
+ #
3496
+ # @!attribute [rw] template_arn
3497
+ # The Amazon Resource Name (ARN) of the template.
3498
+ # @return [String]
3499
+ #
3500
+ # @!attribute [rw] template_data
3501
+ # An object that defines the values to use for message variables in
3502
+ # the template. This object is a set of key-value pairs. Each key
3503
+ # defines a message variable in the template. The corresponding value
3504
+ # defines the value to use for that variable.
3505
+ # @return [String]
3506
+ #
3507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Template AWS API Documentation
3508
+ #
3509
+ class Template < Struct.new(
3510
+ :template_arn,
3511
+ :template_data)
3512
+ include Aws::Structure
3513
+ end
3514
+
3469
3515
  # An object that defines the tracking options for a configuration set.
3470
3516
  # When you use Amazon Pinpoint to send an email, it contains an
3471
3517
  # invisible image that's used to track when recipients open your email.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpointemail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core