aws-sdk-pinpoint 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +221 -3
- data/lib/aws-sdk-pinpoint/client_api.rb +141 -0
- data/lib/aws-sdk-pinpoint/types.rb +565 -57
- metadata +2 -2
@@ -77,6 +77,8 @@ module Aws::Pinpoint
|
|
77
77
|
CreateSmsTemplateRequest = Shapes::StructureShape.new(name: 'CreateSmsTemplateRequest')
|
78
78
|
CreateSmsTemplateResponse = Shapes::StructureShape.new(name: 'CreateSmsTemplateResponse')
|
79
79
|
CreateTemplateMessageBody = Shapes::StructureShape.new(name: 'CreateTemplateMessageBody')
|
80
|
+
CreateVoiceTemplateRequest = Shapes::StructureShape.new(name: 'CreateVoiceTemplateRequest')
|
81
|
+
CreateVoiceTemplateResponse = Shapes::StructureShape.new(name: 'CreateVoiceTemplateResponse')
|
80
82
|
DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage')
|
81
83
|
DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage')
|
82
84
|
DefaultPushNotificationTemplate = Shapes::StructureShape.new(name: 'DefaultPushNotificationTemplate')
|
@@ -120,6 +122,8 @@ module Aws::Pinpoint
|
|
120
122
|
DeleteUserEndpointsResponse = Shapes::StructureShape.new(name: 'DeleteUserEndpointsResponse')
|
121
123
|
DeleteVoiceChannelRequest = Shapes::StructureShape.new(name: 'DeleteVoiceChannelRequest')
|
122
124
|
DeleteVoiceChannelResponse = Shapes::StructureShape.new(name: 'DeleteVoiceChannelResponse')
|
125
|
+
DeleteVoiceTemplateRequest = Shapes::StructureShape.new(name: 'DeleteVoiceTemplateRequest')
|
126
|
+
DeleteVoiceTemplateResponse = Shapes::StructureShape.new(name: 'DeleteVoiceTemplateResponse')
|
123
127
|
DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
|
124
128
|
DimensionType = Shapes::StringShape.new(name: 'DimensionType')
|
125
129
|
DirectMessageConfiguration = Shapes::StructureShape.new(name: 'DirectMessageConfiguration')
|
@@ -244,6 +248,8 @@ module Aws::Pinpoint
|
|
244
248
|
GetUserEndpointsResponse = Shapes::StructureShape.new(name: 'GetUserEndpointsResponse')
|
245
249
|
GetVoiceChannelRequest = Shapes::StructureShape.new(name: 'GetVoiceChannelRequest')
|
246
250
|
GetVoiceChannelResponse = Shapes::StructureShape.new(name: 'GetVoiceChannelResponse')
|
251
|
+
GetVoiceTemplateRequest = Shapes::StructureShape.new(name: 'GetVoiceTemplateRequest')
|
252
|
+
GetVoiceTemplateResponse = Shapes::StructureShape.new(name: 'GetVoiceTemplateResponse')
|
247
253
|
HoldoutActivity = Shapes::StructureShape.new(name: 'HoldoutActivity')
|
248
254
|
ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest')
|
249
255
|
ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource')
|
@@ -425,9 +431,13 @@ module Aws::Pinpoint
|
|
425
431
|
UpdateSmsTemplateResponse = Shapes::StructureShape.new(name: 'UpdateSmsTemplateResponse')
|
426
432
|
UpdateVoiceChannelRequest = Shapes::StructureShape.new(name: 'UpdateVoiceChannelRequest')
|
427
433
|
UpdateVoiceChannelResponse = Shapes::StructureShape.new(name: 'UpdateVoiceChannelResponse')
|
434
|
+
UpdateVoiceTemplateRequest = Shapes::StructureShape.new(name: 'UpdateVoiceTemplateRequest')
|
435
|
+
UpdateVoiceTemplateResponse = Shapes::StructureShape.new(name: 'UpdateVoiceTemplateResponse')
|
428
436
|
VoiceChannelRequest = Shapes::StructureShape.new(name: 'VoiceChannelRequest')
|
429
437
|
VoiceChannelResponse = Shapes::StructureShape.new(name: 'VoiceChannelResponse')
|
430
438
|
VoiceMessage = Shapes::StructureShape.new(name: 'VoiceMessage')
|
439
|
+
VoiceTemplateRequest = Shapes::StructureShape.new(name: 'VoiceTemplateRequest')
|
440
|
+
VoiceTemplateResponse = Shapes::StructureShape.new(name: 'VoiceTemplateResponse')
|
431
441
|
WaitActivity = Shapes::StructureShape.new(name: 'WaitActivity')
|
432
442
|
WaitTime = Shapes::StructureShape.new(name: 'WaitTime')
|
433
443
|
WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest')
|
@@ -527,6 +537,7 @@ module Aws::Pinpoint
|
|
527
537
|
APNSPushNotificationTemplate.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
528
538
|
APNSPushNotificationTemplate.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
529
539
|
APNSPushNotificationTemplate.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl"))
|
540
|
+
APNSPushNotificationTemplate.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
530
541
|
APNSPushNotificationTemplate.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
531
542
|
APNSPushNotificationTemplate.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
532
543
|
APNSPushNotificationTemplate.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
|
@@ -644,6 +655,7 @@ module Aws::Pinpoint
|
|
644
655
|
AndroidPushNotificationTemplate.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
645
656
|
AndroidPushNotificationTemplate.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl"))
|
646
657
|
AndroidPushNotificationTemplate.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl"))
|
658
|
+
AndroidPushNotificationTemplate.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent"))
|
647
659
|
AndroidPushNotificationTemplate.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl"))
|
648
660
|
AndroidPushNotificationTemplate.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound"))
|
649
661
|
AndroidPushNotificationTemplate.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
|
@@ -923,6 +935,17 @@ module Aws::Pinpoint
|
|
923
935
|
CreateTemplateMessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
924
936
|
CreateTemplateMessageBody.struct_class = Types::CreateTemplateMessageBody
|
925
937
|
|
938
|
+
CreateVoiceTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
939
|
+
CreateVoiceTemplateRequest.add_member(:voice_template_request, Shapes::ShapeRef.new(shape: VoiceTemplateRequest, required: true, location_name: "VoiceTemplateRequest"))
|
940
|
+
CreateVoiceTemplateRequest.struct_class = Types::CreateVoiceTemplateRequest
|
941
|
+
CreateVoiceTemplateRequest[:payload] = :voice_template_request
|
942
|
+
CreateVoiceTemplateRequest[:payload_member] = CreateVoiceTemplateRequest.member(:voice_template_request)
|
943
|
+
|
944
|
+
CreateVoiceTemplateResponse.add_member(:create_template_message_body, Shapes::ShapeRef.new(shape: CreateTemplateMessageBody, required: true, location_name: "CreateTemplateMessageBody"))
|
945
|
+
CreateVoiceTemplateResponse.struct_class = Types::CreateVoiceTemplateResponse
|
946
|
+
CreateVoiceTemplateResponse[:payload] = :create_template_message_body
|
947
|
+
CreateVoiceTemplateResponse[:payload_member] = CreateVoiceTemplateResponse.member(:create_template_message_body)
|
948
|
+
|
926
949
|
DefaultMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
927
950
|
DefaultMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
928
951
|
DefaultMessage.struct_class = Types::DefaultMessage
|
@@ -1108,6 +1131,14 @@ module Aws::Pinpoint
|
|
1108
1131
|
DeleteVoiceChannelResponse[:payload] = :voice_channel_response
|
1109
1132
|
DeleteVoiceChannelResponse[:payload_member] = DeleteVoiceChannelResponse.member(:voice_channel_response)
|
1110
1133
|
|
1134
|
+
DeleteVoiceTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
1135
|
+
DeleteVoiceTemplateRequest.struct_class = Types::DeleteVoiceTemplateRequest
|
1136
|
+
|
1137
|
+
DeleteVoiceTemplateResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
|
1138
|
+
DeleteVoiceTemplateResponse.struct_class = Types::DeleteVoiceTemplateResponse
|
1139
|
+
DeleteVoiceTemplateResponse[:payload] = :message_body
|
1140
|
+
DeleteVoiceTemplateResponse[:payload_member] = DeleteVoiceTemplateResponse.member(:message_body)
|
1141
|
+
|
1111
1142
|
DirectMessageConfiguration.add_member(:adm_message, Shapes::ShapeRef.new(shape: ADMMessage, location_name: "ADMMessage"))
|
1112
1143
|
DirectMessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: APNSMessage, location_name: "APNSMessage"))
|
1113
1144
|
DirectMessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: BaiduMessage, location_name: "BaiduMessage"))
|
@@ -1157,18 +1188,22 @@ module Aws::Pinpoint
|
|
1157
1188
|
EmailMessageActivity.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateName"))
|
1158
1189
|
EmailMessageActivity.struct_class = Types::EmailMessageActivity
|
1159
1190
|
|
1191
|
+
EmailTemplateRequest.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
1160
1192
|
EmailTemplateRequest.add_member(:html_part, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlPart"))
|
1161
1193
|
EmailTemplateRequest.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
|
1162
1194
|
EmailTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
1195
|
+
EmailTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
1163
1196
|
EmailTemplateRequest.add_member(:text_part, Shapes::ShapeRef.new(shape: __string, location_name: "TextPart"))
|
1164
1197
|
EmailTemplateRequest.struct_class = Types::EmailTemplateRequest
|
1165
1198
|
|
1166
1199
|
EmailTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
1167
1200
|
EmailTemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
1201
|
+
EmailTemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
1168
1202
|
EmailTemplateResponse.add_member(:html_part, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlPart"))
|
1169
1203
|
EmailTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
1170
1204
|
EmailTemplateResponse.add_member(:subject, Shapes::ShapeRef.new(shape: __string, location_name: "Subject"))
|
1171
1205
|
EmailTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
1206
|
+
EmailTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
1172
1207
|
EmailTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
1173
1208
|
EmailTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
1174
1209
|
EmailTemplateResponse.add_member(:text_part, Shapes::ShapeRef.new(shape: __string, location_name: "TextPart"))
|
@@ -1774,6 +1809,14 @@ module Aws::Pinpoint
|
|
1774
1809
|
GetVoiceChannelResponse[:payload] = :voice_channel_response
|
1775
1810
|
GetVoiceChannelResponse[:payload_member] = GetVoiceChannelResponse.member(:voice_channel_response)
|
1776
1811
|
|
1812
|
+
GetVoiceTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
1813
|
+
GetVoiceTemplateRequest.struct_class = Types::GetVoiceTemplateRequest
|
1814
|
+
|
1815
|
+
GetVoiceTemplateResponse.add_member(:voice_template_response, Shapes::ShapeRef.new(shape: VoiceTemplateResponse, required: true, location_name: "VoiceTemplateResponse"))
|
1816
|
+
GetVoiceTemplateResponse.struct_class = Types::GetVoiceTemplateResponse
|
1817
|
+
GetVoiceTemplateResponse[:payload] = :voice_template_response
|
1818
|
+
GetVoiceTemplateResponse[:payload_member] = GetVoiceTemplateResponse.member(:voice_template_response)
|
1819
|
+
|
1777
1820
|
HoldoutActivity.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
1778
1821
|
HoldoutActivity.add_member(:percentage, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "Percentage"))
|
1779
1822
|
HoldoutActivity.struct_class = Types::HoldoutActivity
|
@@ -2123,8 +2166,10 @@ module Aws::Pinpoint
|
|
2123
2166
|
PushNotificationTemplateRequest.add_member(:apns, Shapes::ShapeRef.new(shape: APNSPushNotificationTemplate, location_name: "APNS"))
|
2124
2167
|
PushNotificationTemplateRequest.add_member(:baidu, Shapes::ShapeRef.new(shape: AndroidPushNotificationTemplate, location_name: "Baidu"))
|
2125
2168
|
PushNotificationTemplateRequest.add_member(:default, Shapes::ShapeRef.new(shape: DefaultPushNotificationTemplate, location_name: "Default"))
|
2169
|
+
PushNotificationTemplateRequest.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2126
2170
|
PushNotificationTemplateRequest.add_member(:gcm, Shapes::ShapeRef.new(shape: AndroidPushNotificationTemplate, location_name: "GCM"))
|
2127
2171
|
PushNotificationTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2172
|
+
PushNotificationTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2128
2173
|
PushNotificationTemplateRequest.struct_class = Types::PushNotificationTemplateRequest
|
2129
2174
|
|
2130
2175
|
PushNotificationTemplateResponse.add_member(:adm, Shapes::ShapeRef.new(shape: AndroidPushNotificationTemplate, location_name: "ADM"))
|
@@ -2133,9 +2178,11 @@ module Aws::Pinpoint
|
|
2133
2178
|
PushNotificationTemplateResponse.add_member(:baidu, Shapes::ShapeRef.new(shape: AndroidPushNotificationTemplate, location_name: "Baidu"))
|
2134
2179
|
PushNotificationTemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2135
2180
|
PushNotificationTemplateResponse.add_member(:default, Shapes::ShapeRef.new(shape: DefaultPushNotificationTemplate, location_name: "Default"))
|
2181
|
+
PushNotificationTemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2136
2182
|
PushNotificationTemplateResponse.add_member(:gcm, Shapes::ShapeRef.new(shape: AndroidPushNotificationTemplate, location_name: "GCM"))
|
2137
2183
|
PushNotificationTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
2138
2184
|
PushNotificationTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2185
|
+
PushNotificationTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2139
2186
|
PushNotificationTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
2140
2187
|
PushNotificationTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
2141
2188
|
PushNotificationTemplateResponse.struct_class = Types::PushNotificationTemplateResponse
|
@@ -2231,14 +2278,18 @@ module Aws::Pinpoint
|
|
2231
2278
|
SMSMessage.struct_class = Types::SMSMessage
|
2232
2279
|
|
2233
2280
|
SMSTemplateRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
2281
|
+
SMSTemplateRequest.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2234
2282
|
SMSTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2283
|
+
SMSTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2235
2284
|
SMSTemplateRequest.struct_class = Types::SMSTemplateRequest
|
2236
2285
|
|
2237
2286
|
SMSTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2238
2287
|
SMSTemplateResponse.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
2239
2288
|
SMSTemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2289
|
+
SMSTemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2240
2290
|
SMSTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
2241
2291
|
SMSTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2292
|
+
SMSTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2242
2293
|
SMSTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
2243
2294
|
SMSTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
2244
2295
|
SMSTemplateResponse.struct_class = Types::SMSTemplateResponse
|
@@ -2395,12 +2446,15 @@ module Aws::Pinpoint
|
|
2395
2446
|
TemplateConfiguration.add_member(:email_template, Shapes::ShapeRef.new(shape: Template, location_name: "EmailTemplate"))
|
2396
2447
|
TemplateConfiguration.add_member(:push_template, Shapes::ShapeRef.new(shape: Template, location_name: "PushTemplate"))
|
2397
2448
|
TemplateConfiguration.add_member(:sms_template, Shapes::ShapeRef.new(shape: Template, location_name: "SMSTemplate"))
|
2449
|
+
TemplateConfiguration.add_member(:voice_template, Shapes::ShapeRef.new(shape: Template, location_name: "VoiceTemplate"))
|
2398
2450
|
TemplateConfiguration.struct_class = Types::TemplateConfiguration
|
2399
2451
|
|
2400
2452
|
TemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2401
2453
|
TemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2454
|
+
TemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2402
2455
|
TemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
2403
2456
|
TemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2457
|
+
TemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2404
2458
|
TemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
2405
2459
|
TemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
2406
2460
|
TemplateResponse.struct_class = Types::TemplateResponse
|
@@ -2655,6 +2709,17 @@ module Aws::Pinpoint
|
|
2655
2709
|
UpdateVoiceChannelResponse[:payload] = :voice_channel_response
|
2656
2710
|
UpdateVoiceChannelResponse[:payload_member] = UpdateVoiceChannelResponse.member(:voice_channel_response)
|
2657
2711
|
|
2712
|
+
UpdateVoiceTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "template-name"))
|
2713
|
+
UpdateVoiceTemplateRequest.add_member(:voice_template_request, Shapes::ShapeRef.new(shape: VoiceTemplateRequest, required: true, location_name: "VoiceTemplateRequest"))
|
2714
|
+
UpdateVoiceTemplateRequest.struct_class = Types::UpdateVoiceTemplateRequest
|
2715
|
+
UpdateVoiceTemplateRequest[:payload] = :voice_template_request
|
2716
|
+
UpdateVoiceTemplateRequest[:payload_member] = UpdateVoiceTemplateRequest.member(:voice_template_request)
|
2717
|
+
|
2718
|
+
UpdateVoiceTemplateResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody"))
|
2719
|
+
UpdateVoiceTemplateResponse.struct_class = Types::UpdateVoiceTemplateResponse
|
2720
|
+
UpdateVoiceTemplateResponse[:payload] = :message_body
|
2721
|
+
UpdateVoiceTemplateResponse[:payload_member] = UpdateVoiceTemplateResponse.member(:message_body)
|
2722
|
+
|
2658
2723
|
VoiceChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
2659
2724
|
VoiceChannelRequest.struct_class = Types::VoiceChannelRequest
|
2660
2725
|
|
@@ -2677,6 +2742,27 @@ module Aws::Pinpoint
|
|
2677
2742
|
VoiceMessage.add_member(:voice_id, Shapes::ShapeRef.new(shape: __string, location_name: "VoiceId"))
|
2678
2743
|
VoiceMessage.struct_class = Types::VoiceMessage
|
2679
2744
|
|
2745
|
+
VoiceTemplateRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
2746
|
+
VoiceTemplateRequest.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2747
|
+
VoiceTemplateRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: __string, location_name: "LanguageCode"))
|
2748
|
+
VoiceTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2749
|
+
VoiceTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2750
|
+
VoiceTemplateRequest.add_member(:voice_id, Shapes::ShapeRef.new(shape: __string, location_name: "VoiceId"))
|
2751
|
+
VoiceTemplateRequest.struct_class = Types::VoiceTemplateRequest
|
2752
|
+
|
2753
|
+
VoiceTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
2754
|
+
VoiceTemplateResponse.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
2755
|
+
VoiceTemplateResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
2756
|
+
VoiceTemplateResponse.add_member(:default_substitutions, Shapes::ShapeRef.new(shape: __string, location_name: "DefaultSubstitutions"))
|
2757
|
+
VoiceTemplateResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: __string, location_name: "LanguageCode"))
|
2758
|
+
VoiceTemplateResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
|
2759
|
+
VoiceTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2760
|
+
VoiceTemplateResponse.add_member(:template_description, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateDescription"))
|
2761
|
+
VoiceTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "TemplateName"))
|
2762
|
+
VoiceTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: TemplateType, required: true, location_name: "TemplateType"))
|
2763
|
+
VoiceTemplateResponse.add_member(:voice_id, Shapes::ShapeRef.new(shape: __string, location_name: "VoiceId"))
|
2764
|
+
VoiceTemplateResponse.struct_class = Types::VoiceTemplateResponse
|
2765
|
+
|
2680
2766
|
WaitActivity.add_member(:next_activity, Shapes::ShapeRef.new(shape: __string, location_name: "NextActivity"))
|
2681
2767
|
WaitActivity.add_member(:wait_time, Shapes::ShapeRef.new(shape: WaitTime, location_name: "WaitTime"))
|
2682
2768
|
WaitActivity.struct_class = Types::WaitActivity
|
@@ -2881,6 +2967,19 @@ module Aws::Pinpoint
|
|
2881
2967
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2882
2968
|
end)
|
2883
2969
|
|
2970
|
+
api.add_operation(:create_voice_template, Seahorse::Model::Operation.new.tap do |o|
|
2971
|
+
o.name = "CreateVoiceTemplate"
|
2972
|
+
o.http_method = "POST"
|
2973
|
+
o.http_request_uri = "/v1/templates/{template-name}/voice"
|
2974
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVoiceTemplateRequest)
|
2975
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVoiceTemplateResponse)
|
2976
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
2977
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2978
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2979
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2980
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2981
|
+
end)
|
2982
|
+
|
2884
2983
|
api.add_operation(:delete_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
2885
2984
|
o.name = "DeleteAdmChannel"
|
2886
2985
|
o.http_method = "DELETE"
|
@@ -3161,6 +3260,20 @@ module Aws::Pinpoint
|
|
3161
3260
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3162
3261
|
end)
|
3163
3262
|
|
3263
|
+
api.add_operation(:delete_voice_template, Seahorse::Model::Operation.new.tap do |o|
|
3264
|
+
o.name = "DeleteVoiceTemplate"
|
3265
|
+
o.http_method = "DELETE"
|
3266
|
+
o.http_request_uri = "/v1/templates/{template-name}/voice"
|
3267
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVoiceTemplateRequest)
|
3268
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVoiceTemplateResponse)
|
3269
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3270
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3271
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3272
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3273
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3274
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3275
|
+
end)
|
3276
|
+
|
3164
3277
|
api.add_operation(:get_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
3165
3278
|
o.name = "GetAdmChannel"
|
3166
3279
|
o.http_method = "GET"
|
@@ -3735,6 +3848,20 @@ module Aws::Pinpoint
|
|
3735
3848
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3736
3849
|
end)
|
3737
3850
|
|
3851
|
+
api.add_operation(:get_voice_template, Seahorse::Model::Operation.new.tap do |o|
|
3852
|
+
o.name = "GetVoiceTemplate"
|
3853
|
+
o.http_method = "GET"
|
3854
|
+
o.http_request_uri = "/v1/templates/{template-name}/voice"
|
3855
|
+
o.input = Shapes::ShapeRef.new(shape: GetVoiceTemplateRequest)
|
3856
|
+
o.output = Shapes::ShapeRef.new(shape: GetVoiceTemplateResponse)
|
3857
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3858
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3859
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3860
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3861
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
3862
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3863
|
+
end)
|
3864
|
+
|
3738
3865
|
api.add_operation(:list_journeys, Seahorse::Model::Operation.new.tap do |o|
|
3739
3866
|
o.name = "ListJourneys"
|
3740
3867
|
o.http_method = "GET"
|
@@ -4149,6 +4276,20 @@ module Aws::Pinpoint
|
|
4149
4276
|
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4150
4277
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4151
4278
|
end)
|
4279
|
+
|
4280
|
+
api.add_operation(:update_voice_template, Seahorse::Model::Operation.new.tap do |o|
|
4281
|
+
o.name = "UpdateVoiceTemplate"
|
4282
|
+
o.http_method = "PUT"
|
4283
|
+
o.http_request_uri = "/v1/templates/{template-name}/voice"
|
4284
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateVoiceTemplateRequest)
|
4285
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateVoiceTemplateResponse)
|
4286
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4287
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
4288
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4289
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4290
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
4291
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
4292
|
+
end)
|
4152
4293
|
end
|
4153
4294
|
|
4154
4295
|
end
|
@@ -194,7 +194,8 @@ module Aws::Pinpoint
|
|
194
194
|
#
|
195
195
|
# @!attribute [rw] raw_content
|
196
196
|
# The raw, JSON-formatted string to use as the payload for the
|
197
|
-
# notification message.
|
197
|
+
# notification message. If specified, this value overrides all other
|
198
|
+
# content for the message.
|
198
199
|
# @return [String]
|
199
200
|
#
|
200
201
|
# @!attribute [rw] silent_push
|
@@ -547,8 +548,8 @@ module Aws::Pinpoint
|
|
547
548
|
#
|
548
549
|
# @!attribute [rw] raw_content
|
549
550
|
# The raw, JSON-formatted string to use as the payload for the
|
550
|
-
# notification message.
|
551
|
-
# message.
|
551
|
+
# notification message. If specified, this value overrides all other
|
552
|
+
# content for the message.
|
552
553
|
#
|
553
554
|
# <note markdown="1">If you specify the raw content of an APNs push notification, the
|
554
555
|
# message payload has to include the content-available key. The value
|
@@ -680,6 +681,7 @@ module Aws::Pinpoint
|
|
680
681
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
681
682
|
# body: "__string",
|
682
683
|
# media_url: "__string",
|
684
|
+
# raw_content: "__string",
|
683
685
|
# sound: "__string",
|
684
686
|
# title: "__string",
|
685
687
|
# url: "__string",
|
@@ -710,6 +712,12 @@ module Aws::Pinpoint
|
|
710
712
|
# are based on the message template.
|
711
713
|
# @return [String]
|
712
714
|
#
|
715
|
+
# @!attribute [rw] raw_content
|
716
|
+
# The raw, JSON-formatted string to use as the payload for push
|
717
|
+
# notifications that are based on the message template. If specified,
|
718
|
+
# this value overrides all other content for the message template.
|
719
|
+
# @return [String]
|
720
|
+
#
|
713
721
|
# @!attribute [rw] sound
|
714
722
|
# The key for the sound to play when the recipient receives a push
|
715
723
|
# notification that's based on the message template. The value for
|
@@ -737,6 +745,7 @@ module Aws::Pinpoint
|
|
737
745
|
:action,
|
738
746
|
:body,
|
739
747
|
:media_url,
|
748
|
+
:raw_content,
|
740
749
|
:sound,
|
741
750
|
:title,
|
742
751
|
:url)
|
@@ -1634,14 +1643,14 @@ module Aws::Pinpoint
|
|
1634
1643
|
#
|
1635
1644
|
# @!attribute [rw] raw_content
|
1636
1645
|
# The raw, JSON-formatted string to use as the payload for the
|
1637
|
-
#
|
1646
|
+
# message. If specified, this value overrides all other values for the
|
1647
|
+
# message.
|
1638
1648
|
# @return [String]
|
1639
1649
|
#
|
1640
1650
|
# @!attribute [rw] substitutions
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
#
|
1644
|
-
# precedence over all other substitutions.
|
1651
|
+
# A map of the message variables to merge with the variables specified
|
1652
|
+
# by properties of the DefaultMessage object. The variables specified
|
1653
|
+
# in this map take precedence over all other variables.
|
1645
1654
|
# @return [Hash<String,Array<String>>]
|
1646
1655
|
#
|
1647
1656
|
# @!attribute [rw] title_override
|
@@ -1674,6 +1683,7 @@ module Aws::Pinpoint
|
|
1674
1683
|
# body: "__string",
|
1675
1684
|
# image_icon_url: "__string",
|
1676
1685
|
# image_url: "__string",
|
1686
|
+
# raw_content: "__string",
|
1677
1687
|
# small_image_icon_url: "__string",
|
1678
1688
|
# sound: "__string",
|
1679
1689
|
# title: "__string",
|
@@ -1710,6 +1720,12 @@ module Aws::Pinpoint
|
|
1710
1720
|
# on the message template.
|
1711
1721
|
# @return [String]
|
1712
1722
|
#
|
1723
|
+
# @!attribute [rw] raw_content
|
1724
|
+
# The raw, JSON-formatted string to use as the payload for a push
|
1725
|
+
# notification that's based on the message template. If specified,
|
1726
|
+
# this value overrides all other content for the message template.
|
1727
|
+
# @return [String]
|
1728
|
+
#
|
1713
1729
|
# @!attribute [rw] small_image_icon_url
|
1714
1730
|
# The URL of the small icon image to display in the status bar and the
|
1715
1731
|
# content view of a push notification that's based on the message
|
@@ -1743,6 +1759,7 @@ module Aws::Pinpoint
|
|
1743
1759
|
:body,
|
1744
1760
|
:image_icon_url,
|
1745
1761
|
:image_url,
|
1762
|
+
:raw_content,
|
1746
1763
|
:small_image_icon_url,
|
1747
1764
|
:sound,
|
1748
1765
|
:title,
|
@@ -2172,7 +2189,8 @@ module Aws::Pinpoint
|
|
2172
2189
|
#
|
2173
2190
|
# @!attribute [rw] raw_content
|
2174
2191
|
# The raw, JSON-formatted string to use as the payload for the
|
2175
|
-
# notification message.
|
2192
|
+
# notification message. If specified, this value overrides all other
|
2193
|
+
# content for the message.
|
2176
2194
|
# @return [String]
|
2177
2195
|
#
|
2178
2196
|
# @!attribute [rw] silent_push
|
@@ -2334,7 +2352,7 @@ module Aws::Pinpoint
|
|
2334
2352
|
#
|
2335
2353
|
# @!attribute [rw] body
|
2336
2354
|
# The body of the email for recipients whose email clients don't
|
2337
|
-
#
|
2355
|
+
# render HTML content.
|
2338
2356
|
# @return [String]
|
2339
2357
|
#
|
2340
2358
|
# @!attribute [rw] from_address
|
@@ -2345,7 +2363,7 @@ module Aws::Pinpoint
|
|
2345
2363
|
#
|
2346
2364
|
# @!attribute [rw] html_body
|
2347
2365
|
# The body of the email, in HTML format, for recipients whose email
|
2348
|
-
# clients
|
2366
|
+
# clients render HTML content.
|
2349
2367
|
# @return [String]
|
2350
2368
|
#
|
2351
2369
|
# @!attribute [rw] title
|
@@ -3242,6 +3260,9 @@ module Aws::Pinpoint
|
|
3242
3260
|
# sms_template: {
|
3243
3261
|
# name: "__string",
|
3244
3262
|
# },
|
3263
|
+
# voice_template: {
|
3264
|
+
# name: "__string",
|
3265
|
+
# },
|
3245
3266
|
# },
|
3246
3267
|
# treatment_description: "__string",
|
3247
3268
|
# treatment_name: "__string",
|
@@ -3392,6 +3413,9 @@ module Aws::Pinpoint
|
|
3392
3413
|
# sms_template: {
|
3393
3414
|
# name: "__string",
|
3394
3415
|
# },
|
3416
|
+
# voice_template: {
|
3417
|
+
# name: "__string",
|
3418
|
+
# },
|
3395
3419
|
# },
|
3396
3420
|
# treatment_description: "__string",
|
3397
3421
|
# treatment_name: "__string",
|
@@ -3430,11 +3454,13 @@ module Aws::Pinpoint
|
|
3430
3454
|
#
|
3431
3455
|
# {
|
3432
3456
|
# email_template_request: { # required
|
3457
|
+
# default_substitutions: "__string",
|
3433
3458
|
# html_part: "__string",
|
3434
3459
|
# subject: "__string",
|
3435
3460
|
# tags: {
|
3436
3461
|
# "__string" => "__string",
|
3437
3462
|
# },
|
3463
|
+
# template_description: "__string",
|
3438
3464
|
# text_part: "__string",
|
3439
3465
|
# },
|
3440
3466
|
# template_name: "__string", # required
|
@@ -3870,6 +3896,7 @@ module Aws::Pinpoint
|
|
3870
3896
|
# body: "__string",
|
3871
3897
|
# image_icon_url: "__string",
|
3872
3898
|
# image_url: "__string",
|
3899
|
+
# raw_content: "__string",
|
3873
3900
|
# small_image_icon_url: "__string",
|
3874
3901
|
# sound: "__string",
|
3875
3902
|
# title: "__string",
|
@@ -3879,6 +3906,7 @@ module Aws::Pinpoint
|
|
3879
3906
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3880
3907
|
# body: "__string",
|
3881
3908
|
# media_url: "__string",
|
3909
|
+
# raw_content: "__string",
|
3882
3910
|
# sound: "__string",
|
3883
3911
|
# title: "__string",
|
3884
3912
|
# url: "__string",
|
@@ -3888,6 +3916,7 @@ module Aws::Pinpoint
|
|
3888
3916
|
# body: "__string",
|
3889
3917
|
# image_icon_url: "__string",
|
3890
3918
|
# image_url: "__string",
|
3919
|
+
# raw_content: "__string",
|
3891
3920
|
# small_image_icon_url: "__string",
|
3892
3921
|
# sound: "__string",
|
3893
3922
|
# title: "__string",
|
@@ -3900,11 +3929,13 @@ module Aws::Pinpoint
|
|
3900
3929
|
# title: "__string",
|
3901
3930
|
# url: "__string",
|
3902
3931
|
# },
|
3932
|
+
# default_substitutions: "__string",
|
3903
3933
|
# gcm: {
|
3904
3934
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
3905
3935
|
# body: "__string",
|
3906
3936
|
# image_icon_url: "__string",
|
3907
3937
|
# image_url: "__string",
|
3938
|
+
# raw_content: "__string",
|
3908
3939
|
# small_image_icon_url: "__string",
|
3909
3940
|
# sound: "__string",
|
3910
3941
|
# title: "__string",
|
@@ -3913,6 +3944,7 @@ module Aws::Pinpoint
|
|
3913
3944
|
# tags: {
|
3914
3945
|
# "__string" => "__string",
|
3915
3946
|
# },
|
3947
|
+
# template_description: "__string",
|
3916
3948
|
# },
|
3917
3949
|
# template_name: "__string", # required
|
3918
3950
|
# }
|
@@ -4140,9 +4172,11 @@ module Aws::Pinpoint
|
|
4140
4172
|
# {
|
4141
4173
|
# sms_template_request: { # required
|
4142
4174
|
# body: "__string",
|
4175
|
+
# default_substitutions: "__string",
|
4143
4176
|
# tags: {
|
4144
4177
|
# "__string" => "__string",
|
4145
4178
|
# },
|
4179
|
+
# template_description: "__string",
|
4146
4180
|
# },
|
4147
4181
|
# template_name: "__string", # required
|
4148
4182
|
# }
|
@@ -4200,7 +4234,51 @@ module Aws::Pinpoint
|
|
4200
4234
|
include Aws::Structure
|
4201
4235
|
end
|
4202
4236
|
|
4203
|
-
#
|
4237
|
+
# @note When making an API call, you may pass CreateVoiceTemplateRequest
|
4238
|
+
# data as a hash:
|
4239
|
+
#
|
4240
|
+
# {
|
4241
|
+
# template_name: "__string", # required
|
4242
|
+
# voice_template_request: { # required
|
4243
|
+
# body: "__string",
|
4244
|
+
# default_substitutions: "__string",
|
4245
|
+
# language_code: "__string",
|
4246
|
+
# tags: {
|
4247
|
+
# "__string" => "__string",
|
4248
|
+
# },
|
4249
|
+
# template_description: "__string",
|
4250
|
+
# voice_id: "__string",
|
4251
|
+
# },
|
4252
|
+
# }
|
4253
|
+
#
|
4254
|
+
# @!attribute [rw] template_name
|
4255
|
+
# @return [String]
|
4256
|
+
#
|
4257
|
+
# @!attribute [rw] voice_template_request
|
4258
|
+
# Specifies the content and settings for a message template that can
|
4259
|
+
# be used in messages that are sent through the voice channel.
|
4260
|
+
# @return [Types::VoiceTemplateRequest]
|
4261
|
+
#
|
4262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateVoiceTemplateRequest AWS API Documentation
|
4263
|
+
#
|
4264
|
+
class CreateVoiceTemplateRequest < Struct.new(
|
4265
|
+
:template_name,
|
4266
|
+
:voice_template_request)
|
4267
|
+
include Aws::Structure
|
4268
|
+
end
|
4269
|
+
|
4270
|
+
# @!attribute [rw] create_template_message_body
|
4271
|
+
# Provides information about a request to create a message template.
|
4272
|
+
# @return [Types::CreateTemplateMessageBody]
|
4273
|
+
#
|
4274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateVoiceTemplateResponse AWS API Documentation
|
4275
|
+
#
|
4276
|
+
class CreateVoiceTemplateResponse < Struct.new(
|
4277
|
+
:create_template_message_body)
|
4278
|
+
include Aws::Structure
|
4279
|
+
end
|
4280
|
+
|
4281
|
+
# Specifies the default message for all channels.
|
4204
4282
|
#
|
4205
4283
|
# @note When making an API call, you may pass DefaultMessage
|
4206
4284
|
# data as a hash:
|
@@ -4213,14 +4291,12 @@ module Aws::Pinpoint
|
|
4213
4291
|
# }
|
4214
4292
|
#
|
4215
4293
|
# @!attribute [rw] body
|
4216
|
-
# The default
|
4217
|
-
# message.
|
4294
|
+
# The default body of the message.
|
4218
4295
|
# @return [String]
|
4219
4296
|
#
|
4220
4297
|
# @!attribute [rw] substitutions
|
4221
|
-
# The default message variables to use in the
|
4222
|
-
#
|
4223
|
-
# individual address variables.
|
4298
|
+
# The default message variables to use in the message. You can
|
4299
|
+
# override these default variables with individual address variables.
|
4224
4300
|
# @return [Hash<String,Array<String>>]
|
4225
4301
|
#
|
4226
4302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultMessage AWS API Documentation
|
@@ -4991,6 +5067,34 @@ module Aws::Pinpoint
|
|
4991
5067
|
include Aws::Structure
|
4992
5068
|
end
|
4993
5069
|
|
5070
|
+
# @note When making an API call, you may pass DeleteVoiceTemplateRequest
|
5071
|
+
# data as a hash:
|
5072
|
+
#
|
5073
|
+
# {
|
5074
|
+
# template_name: "__string", # required
|
5075
|
+
# }
|
5076
|
+
#
|
5077
|
+
# @!attribute [rw] template_name
|
5078
|
+
# @return [String]
|
5079
|
+
#
|
5080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceTemplateRequest AWS API Documentation
|
5081
|
+
#
|
5082
|
+
class DeleteVoiceTemplateRequest < Struct.new(
|
5083
|
+
:template_name)
|
5084
|
+
include Aws::Structure
|
5085
|
+
end
|
5086
|
+
|
5087
|
+
# @!attribute [rw] message_body
|
5088
|
+
# Provides information about an API request or response.
|
5089
|
+
# @return [Types::MessageBody]
|
5090
|
+
#
|
5091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceTemplateResponse AWS API Documentation
|
5092
|
+
#
|
5093
|
+
class DeleteVoiceTemplateResponse < Struct.new(
|
5094
|
+
:message_body)
|
5095
|
+
include Aws::Structure
|
5096
|
+
end
|
5097
|
+
|
4994
5098
|
# Specifies the settings and content for the default message and any
|
4995
5099
|
# default messages that you tailored for specific channels.
|
4996
5100
|
#
|
@@ -5172,7 +5276,7 @@ module Aws::Pinpoint
|
|
5172
5276
|
# @return [Types::BaiduMessage]
|
5173
5277
|
#
|
5174
5278
|
# @!attribute [rw] default_message
|
5175
|
-
# The default message
|
5279
|
+
# The default message for all channels.
|
5176
5280
|
# @return [Types::DefaultMessage]
|
5177
5281
|
#
|
5178
5282
|
# @!attribute [rw] default_push_notification_message
|
@@ -5490,19 +5594,31 @@ module Aws::Pinpoint
|
|
5490
5594
|
# data as a hash:
|
5491
5595
|
#
|
5492
5596
|
# {
|
5597
|
+
# default_substitutions: "__string",
|
5493
5598
|
# html_part: "__string",
|
5494
5599
|
# subject: "__string",
|
5495
5600
|
# tags: {
|
5496
5601
|
# "__string" => "__string",
|
5497
5602
|
# },
|
5603
|
+
# template_description: "__string",
|
5498
5604
|
# text_part: "__string",
|
5499
5605
|
# }
|
5500
5606
|
#
|
5607
|
+
# @!attribute [rw] default_substitutions
|
5608
|
+
# A JSON object that specifies the default values to use for message
|
5609
|
+
# variables in the message template. This object is a set of key-value
|
5610
|
+
# pairs. Each key defines a message variable in the template. The
|
5611
|
+
# corresponding value defines the default value for that variable.
|
5612
|
+
# When you create a message that's based on the template, you can
|
5613
|
+
# override these defaults with message-specific and address-specific
|
5614
|
+
# variables and values.
|
5615
|
+
# @return [String]
|
5616
|
+
#
|
5501
5617
|
# @!attribute [rw] html_part
|
5502
5618
|
# The message body, in HTML format, to use in email messages that are
|
5503
5619
|
# based on the message template. We recommend using HTML format for
|
5504
|
-
# email clients that
|
5505
|
-
# text, and more in an HTML message.
|
5620
|
+
# email clients that render HTML content. You can include links,
|
5621
|
+
# formatted text, and more in an HTML message.
|
5506
5622
|
# @return [String]
|
5507
5623
|
#
|
5508
5624
|
# @!attribute [rw] subject
|
@@ -5516,19 +5632,26 @@ module Aws::Pinpoint
|
|
5516
5632
|
# tag key and an associated tag value.
|
5517
5633
|
# @return [Hash<String,String>]
|
5518
5634
|
#
|
5635
|
+
# @!attribute [rw] template_description
|
5636
|
+
# A custom description of the message template.
|
5637
|
+
# @return [String]
|
5638
|
+
#
|
5519
5639
|
# @!attribute [rw] text_part
|
5520
|
-
# The message body, in text format, to use in email messages
|
5521
|
-
# based on the message template. We recommend using
|
5522
|
-
# email clients that don't
|
5523
|
-
# connected to high-latency networks, such as mobile
|
5640
|
+
# The message body, in plain text format, to use in email messages
|
5641
|
+
# that are based on the message template. We recommend using plain
|
5642
|
+
# text format for email clients that don't render HTML content and
|
5643
|
+
# clients that are connected to high-latency networks, such as mobile
|
5644
|
+
# devices.
|
5524
5645
|
# @return [String]
|
5525
5646
|
#
|
5526
5647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailTemplateRequest AWS API Documentation
|
5527
5648
|
#
|
5528
5649
|
class EmailTemplateRequest < Struct.new(
|
5650
|
+
:default_substitutions,
|
5529
5651
|
:html_part,
|
5530
5652
|
:subject,
|
5531
5653
|
:tags,
|
5654
|
+
:template_description,
|
5532
5655
|
:text_part)
|
5533
5656
|
include Aws::Structure
|
5534
5657
|
end
|
@@ -5545,6 +5668,14 @@ module Aws::Pinpoint
|
|
5545
5668
|
# The date when the message template was created.
|
5546
5669
|
# @return [String]
|
5547
5670
|
#
|
5671
|
+
# @!attribute [rw] default_substitutions
|
5672
|
+
# The JSON object that specifies the default values that are used for
|
5673
|
+
# message variables in the message template. This object is a set of
|
5674
|
+
# key-value pairs. Each key defines a message variable in the
|
5675
|
+
# template. The corresponding value defines the default value for that
|
5676
|
+
# variable.
|
5677
|
+
# @return [String]
|
5678
|
+
#
|
5548
5679
|
# @!attribute [rw] html_part
|
5549
5680
|
# The message body, in HTML format, that's used in email messages
|
5550
5681
|
# that are based on the message template.
|
@@ -5565,6 +5696,10 @@ module Aws::Pinpoint
|
|
5565
5696
|
# a required tag key and an associated tag value.
|
5566
5697
|
# @return [Hash<String,String>]
|
5567
5698
|
#
|
5699
|
+
# @!attribute [rw] template_description
|
5700
|
+
# The custom description of the message template.
|
5701
|
+
# @return [String]
|
5702
|
+
#
|
5568
5703
|
# @!attribute [rw] template_name
|
5569
5704
|
# The name of the message template.
|
5570
5705
|
# @return [String]
|
@@ -5575,8 +5710,8 @@ module Aws::Pinpoint
|
|
5575
5710
|
# @return [String]
|
5576
5711
|
#
|
5577
5712
|
# @!attribute [rw] text_part
|
5578
|
-
# The message body, in text format, that's used in email
|
5579
|
-
# that are based on the message template.
|
5713
|
+
# The message body, in plain text format, that's used in email
|
5714
|
+
# messages that are based on the message template.
|
5580
5715
|
# @return [String]
|
5581
5716
|
#
|
5582
5717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailTemplateResponse AWS API Documentation
|
@@ -5584,10 +5719,12 @@ module Aws::Pinpoint
|
|
5584
5719
|
class EmailTemplateResponse < Struct.new(
|
5585
5720
|
:arn,
|
5586
5721
|
:creation_date,
|
5722
|
+
:default_substitutions,
|
5587
5723
|
:html_part,
|
5588
5724
|
:last_modified_date,
|
5589
5725
|
:subject,
|
5590
5726
|
:tags,
|
5727
|
+
:template_description,
|
5591
5728
|
:template_name,
|
5592
5729
|
:template_type,
|
5593
5730
|
:text_part)
|
@@ -6306,7 +6443,8 @@ module Aws::Pinpoint
|
|
6306
6443
|
#
|
6307
6444
|
# @!attribute [rw] raw_content
|
6308
6445
|
# The raw, JSON-formatted string to use as the payload for the
|
6309
|
-
# message. If specified, this value overrides the
|
6446
|
+
# message. If specified, this value overrides all other values for the
|
6447
|
+
# message.
|
6310
6448
|
# @return [String]
|
6311
6449
|
#
|
6312
6450
|
# @!attribute [rw] substitutions
|
@@ -7271,7 +7409,8 @@ module Aws::Pinpoint
|
|
7271
7409
|
#
|
7272
7410
|
# @!attribute [rw] raw_content
|
7273
7411
|
# The raw, JSON-formatted string to use as the payload for the
|
7274
|
-
# notification message.
|
7412
|
+
# notification message. If specified, this value overrides all other
|
7413
|
+
# content for the message.
|
7275
7414
|
# @return [String]
|
7276
7415
|
#
|
7277
7416
|
# @!attribute [rw] restricted_package_name
|
@@ -8912,6 +9051,36 @@ module Aws::Pinpoint
|
|
8912
9051
|
include Aws::Structure
|
8913
9052
|
end
|
8914
9053
|
|
9054
|
+
# @note When making an API call, you may pass GetVoiceTemplateRequest
|
9055
|
+
# data as a hash:
|
9056
|
+
#
|
9057
|
+
# {
|
9058
|
+
# template_name: "__string", # required
|
9059
|
+
# }
|
9060
|
+
#
|
9061
|
+
# @!attribute [rw] template_name
|
9062
|
+
# @return [String]
|
9063
|
+
#
|
9064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceTemplateRequest AWS API Documentation
|
9065
|
+
#
|
9066
|
+
class GetVoiceTemplateRequest < Struct.new(
|
9067
|
+
:template_name)
|
9068
|
+
include Aws::Structure
|
9069
|
+
end
|
9070
|
+
|
9071
|
+
# @!attribute [rw] voice_template_response
|
9072
|
+
# Provides information about the content and settings for a message
|
9073
|
+
# template that can be used in messages that are sent through the
|
9074
|
+
# voice channel.
|
9075
|
+
# @return [Types::VoiceTemplateResponse]
|
9076
|
+
#
|
9077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceTemplateResponse AWS API Documentation
|
9078
|
+
#
|
9079
|
+
class GetVoiceTemplateResponse < Struct.new(
|
9080
|
+
:voice_template_response)
|
9081
|
+
include Aws::Structure
|
9082
|
+
end
|
9083
|
+
|
8915
9084
|
# Specifies the settings for a holdout activity in a journey. This type
|
8916
9085
|
# of activity stops a journey for a specified percentage of
|
8917
9086
|
# participants.
|
@@ -9907,8 +10076,8 @@ module Aws::Pinpoint
|
|
9907
10076
|
#
|
9908
10077
|
# @!attribute [rw] raw_content
|
9909
10078
|
# The raw, JSON-formatted string to use as the payload for the
|
9910
|
-
# notification message.
|
9911
|
-
# message.
|
10079
|
+
# notification message. If specified, this value overrides all other
|
10080
|
+
# content for the message.
|
9912
10081
|
# @return [String]
|
9913
10082
|
#
|
9914
10083
|
# @!attribute [rw] silent_push
|
@@ -10116,8 +10285,7 @@ module Aws::Pinpoint
|
|
10116
10285
|
include Aws::Structure
|
10117
10286
|
end
|
10118
10287
|
|
10119
|
-
# Specifies the
|
10120
|
-
# a message.
|
10288
|
+
# Specifies the configuration and other settings for a message.
|
10121
10289
|
#
|
10122
10290
|
# @note When making an API call, you may pass MessageRequest
|
10123
10291
|
# data as a hash:
|
@@ -10318,6 +10486,9 @@ module Aws::Pinpoint
|
|
10318
10486
|
# sms_template: {
|
10319
10487
|
# name: "__string",
|
10320
10488
|
# },
|
10489
|
+
# voice_template: {
|
10490
|
+
# name: "__string",
|
10491
|
+
# },
|
10321
10492
|
# },
|
10322
10493
|
# trace_id: "__string",
|
10323
10494
|
# }
|
@@ -10347,8 +10518,8 @@ module Aws::Pinpoint
|
|
10347
10518
|
# @return [Hash<String,Types::EndpointSendConfiguration>]
|
10348
10519
|
#
|
10349
10520
|
# @!attribute [rw] message_configuration
|
10350
|
-
# The
|
10351
|
-
#
|
10521
|
+
# The settings and content for the default message and any default
|
10522
|
+
# messages that you defined for specific channels.
|
10352
10523
|
# @return [Types::DirectMessageConfiguration]
|
10353
10524
|
#
|
10354
10525
|
# @!attribute [rw] template_configuration
|
@@ -11077,6 +11248,7 @@ module Aws::Pinpoint
|
|
11077
11248
|
# body: "__string",
|
11078
11249
|
# image_icon_url: "__string",
|
11079
11250
|
# image_url: "__string",
|
11251
|
+
# raw_content: "__string",
|
11080
11252
|
# small_image_icon_url: "__string",
|
11081
11253
|
# sound: "__string",
|
11082
11254
|
# title: "__string",
|
@@ -11086,6 +11258,7 @@ module Aws::Pinpoint
|
|
11086
11258
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
11087
11259
|
# body: "__string",
|
11088
11260
|
# media_url: "__string",
|
11261
|
+
# raw_content: "__string",
|
11089
11262
|
# sound: "__string",
|
11090
11263
|
# title: "__string",
|
11091
11264
|
# url: "__string",
|
@@ -11095,6 +11268,7 @@ module Aws::Pinpoint
|
|
11095
11268
|
# body: "__string",
|
11096
11269
|
# image_icon_url: "__string",
|
11097
11270
|
# image_url: "__string",
|
11271
|
+
# raw_content: "__string",
|
11098
11272
|
# small_image_icon_url: "__string",
|
11099
11273
|
# sound: "__string",
|
11100
11274
|
# title: "__string",
|
@@ -11107,11 +11281,13 @@ module Aws::Pinpoint
|
|
11107
11281
|
# title: "__string",
|
11108
11282
|
# url: "__string",
|
11109
11283
|
# },
|
11284
|
+
# default_substitutions: "__string",
|
11110
11285
|
# gcm: {
|
11111
11286
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
11112
11287
|
# body: "__string",
|
11113
11288
|
# image_icon_url: "__string",
|
11114
11289
|
# image_url: "__string",
|
11290
|
+
# raw_content: "__string",
|
11115
11291
|
# small_image_icon_url: "__string",
|
11116
11292
|
# sound: "__string",
|
11117
11293
|
# title: "__string",
|
@@ -11120,6 +11296,7 @@ module Aws::Pinpoint
|
|
11120
11296
|
# tags: {
|
11121
11297
|
# "__string" => "__string",
|
11122
11298
|
# },
|
11299
|
+
# template_description: "__string",
|
11123
11300
|
# }
|
11124
11301
|
#
|
11125
11302
|
# @!attribute [rw] adm
|
@@ -11145,6 +11322,16 @@ module Aws::Pinpoint
|
|
11145
11322
|
# The default message template to use for push notification channels.
|
11146
11323
|
# @return [Types::DefaultPushNotificationTemplate]
|
11147
11324
|
#
|
11325
|
+
# @!attribute [rw] default_substitutions
|
11326
|
+
# A JSON object that specifies the default values to use for message
|
11327
|
+
# variables in the message template. This object is a set of key-value
|
11328
|
+
# pairs. Each key defines a message variable in the template. The
|
11329
|
+
# corresponding value defines the default value for that variable.
|
11330
|
+
# When you create a message that's based on the template, you can
|
11331
|
+
# override these defaults with message-specific and address-specific
|
11332
|
+
# variables and values.
|
11333
|
+
# @return [String]
|
11334
|
+
#
|
11148
11335
|
# @!attribute [rw] gcm
|
11149
11336
|
# The message template to use for the GCM channel, which is used to
|
11150
11337
|
# send notifications through the Firebase Cloud Messaging (FCM),
|
@@ -11159,6 +11346,10 @@ module Aws::Pinpoint
|
|
11159
11346
|
# tag key and an associated tag value.
|
11160
11347
|
# @return [Hash<String,String>]
|
11161
11348
|
#
|
11349
|
+
# @!attribute [rw] template_description
|
11350
|
+
# A custom description of the message template.
|
11351
|
+
# @return [String]
|
11352
|
+
#
|
11162
11353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PushNotificationTemplateRequest AWS API Documentation
|
11163
11354
|
#
|
11164
11355
|
class PushNotificationTemplateRequest < Struct.new(
|
@@ -11166,8 +11357,10 @@ module Aws::Pinpoint
|
|
11166
11357
|
:apns,
|
11167
11358
|
:baidu,
|
11168
11359
|
:default,
|
11360
|
+
:default_substitutions,
|
11169
11361
|
:gcm,
|
11170
|
-
:tags
|
11362
|
+
:tags,
|
11363
|
+
:template_description)
|
11171
11364
|
include Aws::Structure
|
11172
11365
|
end
|
11173
11366
|
|
@@ -11208,6 +11401,14 @@ module Aws::Pinpoint
|
|
11208
11401
|
# channels.
|
11209
11402
|
# @return [Types::DefaultPushNotificationTemplate]
|
11210
11403
|
#
|
11404
|
+
# @!attribute [rw] default_substitutions
|
11405
|
+
# The JSON object that specifies the default values that are used for
|
11406
|
+
# message variables in the message template. This object is a set of
|
11407
|
+
# key-value pairs. Each key defines a message variable in the
|
11408
|
+
# template. The corresponding value defines the default value for that
|
11409
|
+
# variable.
|
11410
|
+
# @return [String]
|
11411
|
+
#
|
11211
11412
|
# @!attribute [rw] gcm
|
11212
11413
|
# The message template that's used for the GCM channel, which is used
|
11213
11414
|
# to send notifications through the Firebase Cloud Messaging (FCM),
|
@@ -11226,6 +11427,10 @@ module Aws::Pinpoint
|
|
11226
11427
|
# a required tag key and an associated tag value.
|
11227
11428
|
# @return [Hash<String,String>]
|
11228
11429
|
#
|
11430
|
+
# @!attribute [rw] template_description
|
11431
|
+
# The custom description of the message template.
|
11432
|
+
# @return [String]
|
11433
|
+
#
|
11229
11434
|
# @!attribute [rw] template_name
|
11230
11435
|
# The name of the message template.
|
11231
11436
|
# @return [String]
|
@@ -11244,9 +11449,11 @@ module Aws::Pinpoint
|
|
11244
11449
|
:baidu,
|
11245
11450
|
:creation_date,
|
11246
11451
|
:default,
|
11452
|
+
:default_substitutions,
|
11247
11453
|
:gcm,
|
11248
11454
|
:last_modified_date,
|
11249
11455
|
:tags,
|
11456
|
+
:template_description,
|
11250
11457
|
:template_name,
|
11251
11458
|
:template_type)
|
11252
11459
|
include Aws::Structure
|
@@ -11830,9 +12037,11 @@ module Aws::Pinpoint
|
|
11830
12037
|
#
|
11831
12038
|
# {
|
11832
12039
|
# body: "__string",
|
12040
|
+
# default_substitutions: "__string",
|
11833
12041
|
# tags: {
|
11834
12042
|
# "__string" => "__string",
|
11835
12043
|
# },
|
12044
|
+
# template_description: "__string",
|
11836
12045
|
# }
|
11837
12046
|
#
|
11838
12047
|
# @!attribute [rw] body
|
@@ -11840,17 +12049,33 @@ module Aws::Pinpoint
|
|
11840
12049
|
# message template.
|
11841
12050
|
# @return [String]
|
11842
12051
|
#
|
12052
|
+
# @!attribute [rw] default_substitutions
|
12053
|
+
# A JSON object that specifies the default values to use for message
|
12054
|
+
# variables in the message template. This object is a set of key-value
|
12055
|
+
# pairs. Each key defines a message variable in the template. The
|
12056
|
+
# corresponding value defines the default value for that variable.
|
12057
|
+
# When you create a message that's based on the template, you can
|
12058
|
+
# override these defaults with message-specific and address-specific
|
12059
|
+
# variables and values.
|
12060
|
+
# @return [String]
|
12061
|
+
#
|
11843
12062
|
# @!attribute [rw] tags
|
11844
12063
|
# A string-to-string map of key-value pairs that defines the tags to
|
11845
12064
|
# associate with the message template. Each tag consists of a required
|
11846
12065
|
# tag key and an associated tag value.
|
11847
12066
|
# @return [Hash<String,String>]
|
11848
12067
|
#
|
12068
|
+
# @!attribute [rw] template_description
|
12069
|
+
# A custom description of the message template.
|
12070
|
+
# @return [String]
|
12071
|
+
#
|
11849
12072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSTemplateRequest AWS API Documentation
|
11850
12073
|
#
|
11851
12074
|
class SMSTemplateRequest < Struct.new(
|
11852
12075
|
:body,
|
11853
|
-
:
|
12076
|
+
:default_substitutions,
|
12077
|
+
:tags,
|
12078
|
+
:template_description)
|
11854
12079
|
include Aws::Structure
|
11855
12080
|
end
|
11856
12081
|
|
@@ -11871,6 +12096,14 @@ module Aws::Pinpoint
|
|
11871
12096
|
# The date when the message template was created.
|
11872
12097
|
# @return [String]
|
11873
12098
|
#
|
12099
|
+
# @!attribute [rw] default_substitutions
|
12100
|
+
# The JSON object that specifies the default values that are used for
|
12101
|
+
# message variables in the message template. This object is a set of
|
12102
|
+
# key-value pairs. Each key defines a message variable in the
|
12103
|
+
# template. The corresponding value defines the default value for that
|
12104
|
+
# variable.
|
12105
|
+
# @return [String]
|
12106
|
+
#
|
11874
12107
|
# @!attribute [rw] last_modified_date
|
11875
12108
|
# The date when the message template was last modified.
|
11876
12109
|
# @return [String]
|
@@ -11881,6 +12114,10 @@ module Aws::Pinpoint
|
|
11881
12114
|
# a required tag key and an associated tag value.
|
11882
12115
|
# @return [Hash<String,String>]
|
11883
12116
|
#
|
12117
|
+
# @!attribute [rw] template_description
|
12118
|
+
# The custom description of the message template.
|
12119
|
+
# @return [String]
|
12120
|
+
#
|
11884
12121
|
# @!attribute [rw] template_name
|
11885
12122
|
# The name of the message template.
|
11886
12123
|
# @return [String]
|
@@ -11896,8 +12133,10 @@ module Aws::Pinpoint
|
|
11896
12133
|
:arn,
|
11897
12134
|
:body,
|
11898
12135
|
:creation_date,
|
12136
|
+
:default_substitutions,
|
11899
12137
|
:last_modified_date,
|
11900
12138
|
:tags,
|
12139
|
+
:template_description,
|
11901
12140
|
:template_name,
|
11902
12141
|
:template_type)
|
11903
12142
|
include Aws::Structure
|
@@ -12892,6 +13131,9 @@ module Aws::Pinpoint
|
|
12892
13131
|
# sms_template: {
|
12893
13132
|
# name: "__string",
|
12894
13133
|
# },
|
13134
|
+
# voice_template: {
|
13135
|
+
# name: "__string",
|
13136
|
+
# },
|
12895
13137
|
# },
|
12896
13138
|
# trace_id: "__string",
|
12897
13139
|
# },
|
@@ -12901,8 +13143,7 @@ module Aws::Pinpoint
|
|
12901
13143
|
# @return [String]
|
12902
13144
|
#
|
12903
13145
|
# @!attribute [rw] message_request
|
12904
|
-
# Specifies the
|
12905
|
-
# for a message.
|
13146
|
+
# Specifies the configuration and other settings for a message.
|
12906
13147
|
# @return [Types::MessageRequest]
|
12907
13148
|
#
|
12908
13149
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesRequest AWS API Documentation
|
@@ -13100,6 +13341,9 @@ module Aws::Pinpoint
|
|
13100
13341
|
# sms_template: {
|
13101
13342
|
# name: "__string",
|
13102
13343
|
# },
|
13344
|
+
# voice_template: {
|
13345
|
+
# name: "__string",
|
13346
|
+
# },
|
13103
13347
|
# },
|
13104
13348
|
# trace_id: "__string",
|
13105
13349
|
# users: { # required
|
@@ -13126,7 +13370,7 @@ module Aws::Pinpoint
|
|
13126
13370
|
# @return [Hash<String,String>]
|
13127
13371
|
#
|
13128
13372
|
# @!attribute [rw] message_configuration
|
13129
|
-
# The
|
13373
|
+
# The settings and content for the default message and any default
|
13130
13374
|
# messages that you defined for specific channels.
|
13131
13375
|
# @return [Types::DirectMessageConfiguration]
|
13132
13376
|
#
|
@@ -13359,6 +13603,9 @@ module Aws::Pinpoint
|
|
13359
13603
|
# sms_template: {
|
13360
13604
|
# name: "__string",
|
13361
13605
|
# },
|
13606
|
+
# voice_template: {
|
13607
|
+
# name: "__string",
|
13608
|
+
# },
|
13362
13609
|
# },
|
13363
13610
|
# trace_id: "__string",
|
13364
13611
|
# users: { # required
|
@@ -13616,9 +13863,9 @@ module Aws::Pinpoint
|
|
13616
13863
|
# }
|
13617
13864
|
#
|
13618
13865
|
# @!attribute [rw] html_part
|
13619
|
-
# The body of the email message, in HTML format. We recommend using
|
13620
|
-
# HTML
|
13621
|
-
# links, formatted text, and more in an HTML message.
|
13866
|
+
# The body of the email message, in HTML format. We recommend using
|
13867
|
+
# HTML format for email clients that render HTML content. You can
|
13868
|
+
# include links, formatted text, and more in an HTML message.
|
13622
13869
|
# @return [Types::SimpleEmailPart]
|
13623
13870
|
#
|
13624
13871
|
# @!attribute [rw] subject
|
@@ -13626,9 +13873,10 @@ module Aws::Pinpoint
|
|
13626
13873
|
# @return [Types::SimpleEmailPart]
|
13627
13874
|
#
|
13628
13875
|
# @!attribute [rw] text_part
|
13629
|
-
# The body of the email message, in text format. We recommend
|
13630
|
-
# text
|
13631
|
-
# that are connected to high-latency networks,
|
13876
|
+
# The body of the email message, in plain text format. We recommend
|
13877
|
+
# using plain text format for email clients that don't render HTML
|
13878
|
+
# content and clients that are connected to high-latency networks,
|
13879
|
+
# such as mobile devices.
|
13632
13880
|
# @return [Types::SimpleEmailPart]
|
13633
13881
|
#
|
13634
13882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SimpleEmail AWS API Documentation
|
@@ -13778,7 +14026,8 @@ module Aws::Pinpoint
|
|
13778
14026
|
include Aws::Structure
|
13779
14027
|
end
|
13780
14028
|
|
13781
|
-
# Specifies the message template for each type
|
14029
|
+
# Specifies the message template to use for the message, for each type
|
14030
|
+
# of channel.
|
13782
14031
|
#
|
13783
14032
|
# @note When making an API call, you may pass TemplateConfiguration
|
13784
14033
|
# data as a hash:
|
@@ -13793,6 +14042,9 @@ module Aws::Pinpoint
|
|
13793
14042
|
# sms_template: {
|
13794
14043
|
# name: "__string",
|
13795
14044
|
# },
|
14045
|
+
# voice_template: {
|
14046
|
+
# name: "__string",
|
14047
|
+
# },
|
13796
14048
|
# }
|
13797
14049
|
#
|
13798
14050
|
# @!attribute [rw] email_template
|
@@ -13807,12 +14059,17 @@ module Aws::Pinpoint
|
|
13807
14059
|
# The SMS template to use for the message.
|
13808
14060
|
# @return [Types::Template]
|
13809
14061
|
#
|
14062
|
+
# @!attribute [rw] voice_template
|
14063
|
+
# The voice template to use for the message.
|
14064
|
+
# @return [Types::Template]
|
14065
|
+
#
|
13810
14066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TemplateConfiguration AWS API Documentation
|
13811
14067
|
#
|
13812
14068
|
class TemplateConfiguration < Struct.new(
|
13813
14069
|
:email_template,
|
13814
14070
|
:push_template,
|
13815
|
-
:sms_template
|
14071
|
+
:sms_template,
|
14072
|
+
:voice_template)
|
13816
14073
|
include Aws::Structure
|
13817
14074
|
end
|
13818
14075
|
|
@@ -13827,6 +14084,14 @@ module Aws::Pinpoint
|
|
13827
14084
|
# The date when the message template was created.
|
13828
14085
|
# @return [String]
|
13829
14086
|
#
|
14087
|
+
# @!attribute [rw] default_substitutions
|
14088
|
+
# The JSON object that specifies the default values that are used for
|
14089
|
+
# message variables in the message template. This object is a set of
|
14090
|
+
# key-value pairs. Each key defines a message variable in the
|
14091
|
+
# template. The corresponding value defines the default value for that
|
14092
|
+
# variable.
|
14093
|
+
# @return [String]
|
14094
|
+
#
|
13830
14095
|
# @!attribute [rw] last_modified_date
|
13831
14096
|
# The date when the message template was last modified.
|
13832
14097
|
# @return [String]
|
@@ -13837,6 +14102,10 @@ module Aws::Pinpoint
|
|
13837
14102
|
# a required tag key and an associated tag value.
|
13838
14103
|
# @return [Hash<String,String>]
|
13839
14104
|
#
|
14105
|
+
# @!attribute [rw] template_description
|
14106
|
+
# The custom description of the message template.
|
14107
|
+
# @return [String]
|
14108
|
+
#
|
13840
14109
|
# @!attribute [rw] template_name
|
13841
14110
|
# The name of the message template.
|
13842
14111
|
# @return [String]
|
@@ -13850,8 +14119,10 @@ module Aws::Pinpoint
|
|
13850
14119
|
class TemplateResponse < Struct.new(
|
13851
14120
|
:arn,
|
13852
14121
|
:creation_date,
|
14122
|
+
:default_substitutions,
|
13853
14123
|
:last_modified_date,
|
13854
14124
|
:tags,
|
14125
|
+
:template_description,
|
13855
14126
|
:template_name,
|
13856
14127
|
:template_type)
|
13857
14128
|
include Aws::Structure
|
@@ -14443,6 +14714,9 @@ module Aws::Pinpoint
|
|
14443
14714
|
# sms_template: {
|
14444
14715
|
# name: "__string",
|
14445
14716
|
# },
|
14717
|
+
# voice_template: {
|
14718
|
+
# name: "__string",
|
14719
|
+
# },
|
14446
14720
|
# },
|
14447
14721
|
# treatment_description: "__string",
|
14448
14722
|
# treatment_name: "__string",
|
@@ -14593,6 +14867,9 @@ module Aws::Pinpoint
|
|
14593
14867
|
# sms_template: {
|
14594
14868
|
# name: "__string",
|
14595
14869
|
# },
|
14870
|
+
# voice_template: {
|
14871
|
+
# name: "__string",
|
14872
|
+
# },
|
14596
14873
|
# },
|
14597
14874
|
# treatment_description: "__string",
|
14598
14875
|
# treatment_name: "__string",
|
@@ -14677,11 +14954,13 @@ module Aws::Pinpoint
|
|
14677
14954
|
#
|
14678
14955
|
# {
|
14679
14956
|
# email_template_request: { # required
|
14957
|
+
# default_substitutions: "__string",
|
14680
14958
|
# html_part: "__string",
|
14681
14959
|
# subject: "__string",
|
14682
14960
|
# tags: {
|
14683
14961
|
# "__string" => "__string",
|
14684
14962
|
# },
|
14963
|
+
# template_description: "__string",
|
14685
14964
|
# text_part: "__string",
|
14686
14965
|
# },
|
14687
14966
|
# template_name: "__string", # required
|
@@ -15268,6 +15547,7 @@ module Aws::Pinpoint
|
|
15268
15547
|
# body: "__string",
|
15269
15548
|
# image_icon_url: "__string",
|
15270
15549
|
# image_url: "__string",
|
15550
|
+
# raw_content: "__string",
|
15271
15551
|
# small_image_icon_url: "__string",
|
15272
15552
|
# sound: "__string",
|
15273
15553
|
# title: "__string",
|
@@ -15277,6 +15557,7 @@ module Aws::Pinpoint
|
|
15277
15557
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
15278
15558
|
# body: "__string",
|
15279
15559
|
# media_url: "__string",
|
15560
|
+
# raw_content: "__string",
|
15280
15561
|
# sound: "__string",
|
15281
15562
|
# title: "__string",
|
15282
15563
|
# url: "__string",
|
@@ -15286,6 +15567,7 @@ module Aws::Pinpoint
|
|
15286
15567
|
# body: "__string",
|
15287
15568
|
# image_icon_url: "__string",
|
15288
15569
|
# image_url: "__string",
|
15570
|
+
# raw_content: "__string",
|
15289
15571
|
# small_image_icon_url: "__string",
|
15290
15572
|
# sound: "__string",
|
15291
15573
|
# title: "__string",
|
@@ -15298,11 +15580,13 @@ module Aws::Pinpoint
|
|
15298
15580
|
# title: "__string",
|
15299
15581
|
# url: "__string",
|
15300
15582
|
# },
|
15583
|
+
# default_substitutions: "__string",
|
15301
15584
|
# gcm: {
|
15302
15585
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
15303
15586
|
# body: "__string",
|
15304
15587
|
# image_icon_url: "__string",
|
15305
15588
|
# image_url: "__string",
|
15589
|
+
# raw_content: "__string",
|
15306
15590
|
# small_image_icon_url: "__string",
|
15307
15591
|
# sound: "__string",
|
15308
15592
|
# title: "__string",
|
@@ -15311,6 +15595,7 @@ module Aws::Pinpoint
|
|
15311
15595
|
# tags: {
|
15312
15596
|
# "__string" => "__string",
|
15313
15597
|
# },
|
15598
|
+
# template_description: "__string",
|
15314
15599
|
# },
|
15315
15600
|
# template_name: "__string", # required
|
15316
15601
|
# }
|
@@ -15583,9 +15868,11 @@ module Aws::Pinpoint
|
|
15583
15868
|
# {
|
15584
15869
|
# sms_template_request: { # required
|
15585
15870
|
# body: "__string",
|
15871
|
+
# default_substitutions: "__string",
|
15586
15872
|
# tags: {
|
15587
15873
|
# "__string" => "__string",
|
15588
15874
|
# },
|
15875
|
+
# template_description: "__string",
|
15589
15876
|
# },
|
15590
15877
|
# template_name: "__string", # required
|
15591
15878
|
# }
|
@@ -15655,6 +15942,50 @@ module Aws::Pinpoint
|
|
15655
15942
|
include Aws::Structure
|
15656
15943
|
end
|
15657
15944
|
|
15945
|
+
# @note When making an API call, you may pass UpdateVoiceTemplateRequest
|
15946
|
+
# data as a hash:
|
15947
|
+
#
|
15948
|
+
# {
|
15949
|
+
# template_name: "__string", # required
|
15950
|
+
# voice_template_request: { # required
|
15951
|
+
# body: "__string",
|
15952
|
+
# default_substitutions: "__string",
|
15953
|
+
# language_code: "__string",
|
15954
|
+
# tags: {
|
15955
|
+
# "__string" => "__string",
|
15956
|
+
# },
|
15957
|
+
# template_description: "__string",
|
15958
|
+
# voice_id: "__string",
|
15959
|
+
# },
|
15960
|
+
# }
|
15961
|
+
#
|
15962
|
+
# @!attribute [rw] template_name
|
15963
|
+
# @return [String]
|
15964
|
+
#
|
15965
|
+
# @!attribute [rw] voice_template_request
|
15966
|
+
# Specifies the content and settings for a message template that can
|
15967
|
+
# be used in messages that are sent through the voice channel.
|
15968
|
+
# @return [Types::VoiceTemplateRequest]
|
15969
|
+
#
|
15970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceTemplateRequest AWS API Documentation
|
15971
|
+
#
|
15972
|
+
class UpdateVoiceTemplateRequest < Struct.new(
|
15973
|
+
:template_name,
|
15974
|
+
:voice_template_request)
|
15975
|
+
include Aws::Structure
|
15976
|
+
end
|
15977
|
+
|
15978
|
+
# @!attribute [rw] message_body
|
15979
|
+
# Provides information about an API request or response.
|
15980
|
+
# @return [Types::MessageBody]
|
15981
|
+
#
|
15982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceTemplateResponse AWS API Documentation
|
15983
|
+
#
|
15984
|
+
class UpdateVoiceTemplateResponse < Struct.new(
|
15985
|
+
:message_body)
|
15986
|
+
include Aws::Structure
|
15987
|
+
end
|
15988
|
+
|
15658
15989
|
# Specifies the status and settings of the voice channel for an
|
15659
15990
|
# application.
|
15660
15991
|
#
|
@@ -15758,13 +16089,17 @@ module Aws::Pinpoint
|
|
15758
16089
|
# }
|
15759
16090
|
#
|
15760
16091
|
# @!attribute [rw] body
|
15761
|
-
# The text script for the voice message.
|
16092
|
+
# The text of the script to use for the voice message.
|
15762
16093
|
# @return [String]
|
15763
16094
|
#
|
15764
16095
|
# @!attribute [rw] language_code
|
15765
|
-
# The language to use when
|
15766
|
-
# supported languages
|
15767
|
-
# Guide]
|
16096
|
+
# The code for the language to use when synthesizing the text of the
|
16097
|
+
# message script. For a list of supported languages and the code for
|
16098
|
+
# each one, see the [Amazon Polly Developer Guide][1].
|
16099
|
+
#
|
16100
|
+
#
|
16101
|
+
#
|
16102
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
15768
16103
|
# @return [String]
|
15769
16104
|
#
|
15770
16105
|
# @!attribute [rw] origination_number
|
@@ -15782,8 +16117,11 @@ module Aws::Pinpoint
|
|
15782
16117
|
#
|
15783
16118
|
# @!attribute [rw] voice_id
|
15784
16119
|
# The name of the voice to use when delivering the message. For a list
|
15785
|
-
# of supported voices, see the [Amazon Polly Developer
|
15786
|
-
#
|
16120
|
+
# of supported voices, see the [Amazon Polly Developer Guide][1].
|
16121
|
+
#
|
16122
|
+
#
|
16123
|
+
#
|
16124
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
15787
16125
|
# @return [String]
|
15788
16126
|
#
|
15789
16127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceMessage AWS API Documentation
|
@@ -15797,6 +16135,167 @@ module Aws::Pinpoint
|
|
15797
16135
|
include Aws::Structure
|
15798
16136
|
end
|
15799
16137
|
|
16138
|
+
# Specifies the content and settings for a message template that can be
|
16139
|
+
# used in messages that are sent through the voice channel.
|
16140
|
+
#
|
16141
|
+
# @note When making an API call, you may pass VoiceTemplateRequest
|
16142
|
+
# data as a hash:
|
16143
|
+
#
|
16144
|
+
# {
|
16145
|
+
# body: "__string",
|
16146
|
+
# default_substitutions: "__string",
|
16147
|
+
# language_code: "__string",
|
16148
|
+
# tags: {
|
16149
|
+
# "__string" => "__string",
|
16150
|
+
# },
|
16151
|
+
# template_description: "__string",
|
16152
|
+
# voice_id: "__string",
|
16153
|
+
# }
|
16154
|
+
#
|
16155
|
+
# @!attribute [rw] body
|
16156
|
+
# The text of the script to use in messages that are based on the
|
16157
|
+
# message template, in plain text format.
|
16158
|
+
# @return [String]
|
16159
|
+
#
|
16160
|
+
# @!attribute [rw] default_substitutions
|
16161
|
+
# A JSON object that specifies the default values to use for message
|
16162
|
+
# variables in the message template. This object is a set of key-value
|
16163
|
+
# pairs. Each key defines a message variable in the template. The
|
16164
|
+
# corresponding value defines the default value for that variable.
|
16165
|
+
# When you create a message that's based on the template, you can
|
16166
|
+
# override these defaults with message-specific and address-specific
|
16167
|
+
# variables and values.
|
16168
|
+
# @return [String]
|
16169
|
+
#
|
16170
|
+
# @!attribute [rw] language_code
|
16171
|
+
# The code for the language to use when synthesizing the text of the
|
16172
|
+
# script in messages that are based on the message template. For a
|
16173
|
+
# list of supported languages and the code for each one, see the
|
16174
|
+
# [Amazon Polly Developer Guide][1].
|
16175
|
+
#
|
16176
|
+
#
|
16177
|
+
#
|
16178
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
16179
|
+
# @return [String]
|
16180
|
+
#
|
16181
|
+
# @!attribute [rw] tags
|
16182
|
+
# A string-to-string map of key-value pairs that defines the tags to
|
16183
|
+
# associate with the message template. Each tag consists of a required
|
16184
|
+
# tag key and an associated tag value.
|
16185
|
+
# @return [Hash<String,String>]
|
16186
|
+
#
|
16187
|
+
# @!attribute [rw] template_description
|
16188
|
+
# A custom description of the message template.
|
16189
|
+
# @return [String]
|
16190
|
+
#
|
16191
|
+
# @!attribute [rw] voice_id
|
16192
|
+
# The name of the voice to use when delivering messages that are based
|
16193
|
+
# on the message template. For a list of supported voices, see the
|
16194
|
+
# [Amazon Polly Developer Guide][1].
|
16195
|
+
#
|
16196
|
+
#
|
16197
|
+
#
|
16198
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
16199
|
+
# @return [String]
|
16200
|
+
#
|
16201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceTemplateRequest AWS API Documentation
|
16202
|
+
#
|
16203
|
+
class VoiceTemplateRequest < Struct.new(
|
16204
|
+
:body,
|
16205
|
+
:default_substitutions,
|
16206
|
+
:language_code,
|
16207
|
+
:tags,
|
16208
|
+
:template_description,
|
16209
|
+
:voice_id)
|
16210
|
+
include Aws::Structure
|
16211
|
+
end
|
16212
|
+
|
16213
|
+
# Provides information about the content and settings for a message
|
16214
|
+
# template that can be used in messages that are sent through the voice
|
16215
|
+
# channel.
|
16216
|
+
#
|
16217
|
+
# @!attribute [rw] arn
|
16218
|
+
# The Amazon Resource Name (ARN) of the message template.
|
16219
|
+
# @return [String]
|
16220
|
+
#
|
16221
|
+
# @!attribute [rw] body
|
16222
|
+
# The text of the script that's used in messages that are based on
|
16223
|
+
# the message template, in plain text format.
|
16224
|
+
# @return [String]
|
16225
|
+
#
|
16226
|
+
# @!attribute [rw] creation_date
|
16227
|
+
# The date when the message template was created.
|
16228
|
+
# @return [String]
|
16229
|
+
#
|
16230
|
+
# @!attribute [rw] default_substitutions
|
16231
|
+
# The JSON object that specifies the default values that are used for
|
16232
|
+
# message variables in the message template. This object is a set of
|
16233
|
+
# key-value pairs. Each key defines a message variable in the
|
16234
|
+
# template. The corresponding value defines the default value for that
|
16235
|
+
# variable.
|
16236
|
+
# @return [String]
|
16237
|
+
#
|
16238
|
+
# @!attribute [rw] language_code
|
16239
|
+
# The code for the language that's used when synthesizing the text of
|
16240
|
+
# the script in messages that are based on the message template. For a
|
16241
|
+
# list of supported languages and the code for each one, see the
|
16242
|
+
# [Amazon Polly Developer Guide][1].
|
16243
|
+
#
|
16244
|
+
#
|
16245
|
+
#
|
16246
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
16247
|
+
# @return [String]
|
16248
|
+
#
|
16249
|
+
# @!attribute [rw] last_modified_date
|
16250
|
+
# The date when the message template was last modified.
|
16251
|
+
# @return [String]
|
16252
|
+
#
|
16253
|
+
# @!attribute [rw] tags
|
16254
|
+
# A string-to-string map of key-value pairs that identifies the tags
|
16255
|
+
# that are associated with the message template. Each tag consists of
|
16256
|
+
# a required tag key and an associated tag value.
|
16257
|
+
# @return [Hash<String,String>]
|
16258
|
+
#
|
16259
|
+
# @!attribute [rw] template_description
|
16260
|
+
# The custom description of the message template.
|
16261
|
+
# @return [String]
|
16262
|
+
#
|
16263
|
+
# @!attribute [rw] template_name
|
16264
|
+
# The name of the message template.
|
16265
|
+
# @return [String]
|
16266
|
+
#
|
16267
|
+
# @!attribute [rw] template_type
|
16268
|
+
# The type of channel that the message template is designed for. For a
|
16269
|
+
# voice template, this value is VOICE.
|
16270
|
+
# @return [String]
|
16271
|
+
#
|
16272
|
+
# @!attribute [rw] voice_id
|
16273
|
+
# The name of the voice that's used when delivering messages that are
|
16274
|
+
# based on the message template. For a list of supported voices, see
|
16275
|
+
# the [Amazon Polly Developer Guide][1].
|
16276
|
+
#
|
16277
|
+
#
|
16278
|
+
#
|
16279
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/what-is.html
|
16280
|
+
# @return [String]
|
16281
|
+
#
|
16282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceTemplateResponse AWS API Documentation
|
16283
|
+
#
|
16284
|
+
class VoiceTemplateResponse < Struct.new(
|
16285
|
+
:arn,
|
16286
|
+
:body,
|
16287
|
+
:creation_date,
|
16288
|
+
:default_substitutions,
|
16289
|
+
:language_code,
|
16290
|
+
:last_modified_date,
|
16291
|
+
:tags,
|
16292
|
+
:template_description,
|
16293
|
+
:template_name,
|
16294
|
+
:template_type,
|
16295
|
+
:voice_id)
|
16296
|
+
include Aws::Structure
|
16297
|
+
end
|
16298
|
+
|
15800
16299
|
# Specifies the settings for a wait activity in a journey. This type of
|
15801
16300
|
# activity waits for a certain amount of time or until a specific date
|
15802
16301
|
# and time before moving participants to the next activity in a journey.
|
@@ -15843,7 +16342,7 @@ module Aws::Pinpoint
|
|
15843
16342
|
# }
|
15844
16343
|
#
|
15845
16344
|
# @!attribute [rw] wait_for
|
15846
|
-
# The amount of time, as a duration in ISO 8601 format,
|
16345
|
+
# The amount of time to wait, as a duration in ISO 8601 format, before
|
15847
16346
|
# determining whether the activity's conditions have been met or
|
15848
16347
|
# moving participants to the next activity in the journey.
|
15849
16348
|
# @return [String]
|
@@ -16086,6 +16585,9 @@ module Aws::Pinpoint
|
|
16086
16585
|
# sms_template: {
|
16087
16586
|
# name: "__string",
|
16088
16587
|
# },
|
16588
|
+
# voice_template: {
|
16589
|
+
# name: "__string",
|
16590
|
+
# },
|
16089
16591
|
# },
|
16090
16592
|
# treatment_description: "__string",
|
16091
16593
|
# treatment_name: "__string",
|
@@ -16236,6 +16738,9 @@ module Aws::Pinpoint
|
|
16236
16738
|
# sms_template: {
|
16237
16739
|
# name: "__string",
|
16238
16740
|
# },
|
16741
|
+
# voice_template: {
|
16742
|
+
# name: "__string",
|
16743
|
+
# },
|
16239
16744
|
# },
|
16240
16745
|
# treatment_description: "__string",
|
16241
16746
|
# treatment_name: "__string",
|
@@ -16247,7 +16752,7 @@ module Aws::Pinpoint
|
|
16247
16752
|
# @return [Array<Types::WriteTreatmentResource>]
|
16248
16753
|
#
|
16249
16754
|
# @!attribute [rw] description
|
16250
|
-
#
|
16755
|
+
# A custom description of the campaign.
|
16251
16756
|
# @return [String]
|
16252
16757
|
#
|
16253
16758
|
# @!attribute [rw] holdout_percent
|
@@ -16301,7 +16806,7 @@ module Aws::Pinpoint
|
|
16301
16806
|
# @return [Types::TemplateConfiguration]
|
16302
16807
|
#
|
16303
16808
|
# @!attribute [rw] treatment_description
|
16304
|
-
#
|
16809
|
+
# A custom description of a variation of the campaign to use for A/B
|
16305
16810
|
# testing.
|
16306
16811
|
# @return [String]
|
16307
16812
|
#
|
@@ -17078,6 +17583,9 @@ module Aws::Pinpoint
|
|
17078
17583
|
# sms_template: {
|
17079
17584
|
# name: "__string",
|
17080
17585
|
# },
|
17586
|
+
# voice_template: {
|
17587
|
+
# name: "__string",
|
17588
|
+
# },
|
17081
17589
|
# },
|
17082
17590
|
# treatment_description: "__string",
|
17083
17591
|
# treatment_name: "__string",
|
@@ -17101,7 +17609,7 @@ module Aws::Pinpoint
|
|
17101
17609
|
# @return [Types::TemplateConfiguration]
|
17102
17610
|
#
|
17103
17611
|
# @!attribute [rw] treatment_description
|
17104
|
-
#
|
17612
|
+
# A custom description of the treatment.
|
17105
17613
|
# @return [String]
|
17106
17614
|
#
|
17107
17615
|
# @!attribute [rw] treatment_name
|