@aws-sdk/client-pinpoint 3.299.0 → 3.301.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.
Files changed (120) hide show
  1. package/dist-types/commands/CreateAppCommand.d.ts +8 -0
  2. package/dist-types/commands/CreateCampaignCommand.d.ts +367 -0
  3. package/dist-types/commands/CreateEmailTemplateCommand.d.ts +14 -0
  4. package/dist-types/commands/CreateExportJobCommand.d.ts +9 -0
  5. package/dist-types/commands/CreateImportJobCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateInAppTemplateCommand.d.ts +70 -0
  7. package/dist-types/commands/CreateJourneyCommand.d.ts +376 -0
  8. package/dist-types/commands/CreatePushTemplateCommand.d.ts +60 -0
  9. package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +15 -0
  10. package/dist-types/commands/CreateSegmentCommand.d.ts +139 -0
  11. package/dist-types/commands/CreateSmsTemplateCommand.d.ts +12 -0
  12. package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +13 -0
  13. package/dist-types/commands/DeleteAdmChannelCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteApnsChannelCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +3 -0
  17. package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteAppCommand.d.ts +3 -0
  19. package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteCampaignCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteEmailChannelCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteEventStreamCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteGcmChannelCommand.d.ts +3 -0
  26. package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteJourneyCommand.d.ts +4 -0
  28. package/dist-types/commands/DeletePushTemplateCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteSegmentCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteSmsChannelCommand.d.ts +3 -0
  32. package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +3 -0
  35. package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +4 -0
  36. package/dist-types/commands/GetAdmChannelCommand.d.ts +3 -0
  37. package/dist-types/commands/GetApnsChannelCommand.d.ts +3 -0
  38. package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +3 -0
  39. package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +3 -0
  40. package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +3 -0
  41. package/dist-types/commands/GetAppCommand.d.ts +3 -0
  42. package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +8 -0
  43. package/dist-types/commands/GetApplicationSettingsCommand.d.ts +3 -0
  44. package/dist-types/commands/GetAppsCommand.d.ts +4 -0
  45. package/dist-types/commands/GetBaiduChannelCommand.d.ts +3 -0
  46. package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +6 -0
  47. package/dist-types/commands/GetCampaignCommand.d.ts +4 -0
  48. package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +9 -0
  49. package/dist-types/commands/GetCampaignVersionCommand.d.ts +5 -0
  50. package/dist-types/commands/GetCampaignVersionsCommand.d.ts +6 -0
  51. package/dist-types/commands/GetCampaignsCommand.d.ts +5 -0
  52. package/dist-types/commands/GetChannelsCommand.d.ts +3 -0
  53. package/dist-types/commands/GetEmailChannelCommand.d.ts +3 -0
  54. package/dist-types/commands/GetEmailTemplateCommand.d.ts +4 -0
  55. package/dist-types/commands/GetEndpointCommand.d.ts +4 -0
  56. package/dist-types/commands/GetEventStreamCommand.d.ts +3 -0
  57. package/dist-types/commands/GetExportJobCommand.d.ts +4 -0
  58. package/dist-types/commands/GetExportJobsCommand.d.ts +5 -0
  59. package/dist-types/commands/GetGcmChannelCommand.d.ts +3 -0
  60. package/dist-types/commands/GetImportJobCommand.d.ts +4 -0
  61. package/dist-types/commands/GetImportJobsCommand.d.ts +5 -0
  62. package/dist-types/commands/GetInAppMessagesCommand.d.ts +4 -0
  63. package/dist-types/commands/GetInAppTemplateCommand.d.ts +4 -0
  64. package/dist-types/commands/GetJourneyCommand.d.ts +4 -0
  65. package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +9 -0
  66. package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +7 -0
  67. package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +6 -0
  68. package/dist-types/commands/GetPushTemplateCommand.d.ts +4 -0
  69. package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +3 -0
  70. package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +4 -0
  71. package/dist-types/commands/GetSegmentCommand.d.ts +4 -0
  72. package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +6 -0
  73. package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +6 -0
  74. package/dist-types/commands/GetSegmentVersionCommand.d.ts +5 -0
  75. package/dist-types/commands/GetSegmentVersionsCommand.d.ts +6 -0
  76. package/dist-types/commands/GetSegmentsCommand.d.ts +5 -0
  77. package/dist-types/commands/GetSmsChannelCommand.d.ts +3 -0
  78. package/dist-types/commands/GetSmsTemplateCommand.d.ts +4 -0
  79. package/dist-types/commands/GetUserEndpointsCommand.d.ts +4 -0
  80. package/dist-types/commands/GetVoiceChannelCommand.d.ts +3 -0
  81. package/dist-types/commands/GetVoiceTemplateCommand.d.ts +4 -0
  82. package/dist-types/commands/ListJourneysCommand.d.ts +5 -0
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  84. package/dist-types/commands/ListTemplateVersionsCommand.d.ts +6 -0
  85. package/dist-types/commands/ListTemplatesCommand.d.ts +6 -0
  86. package/dist-types/commands/PhoneNumberValidateCommand.d.ts +6 -0
  87. package/dist-types/commands/PutEventStreamCommand.d.ts +7 -0
  88. package/dist-types/commands/PutEventsCommand.d.ts +74 -0
  89. package/dist-types/commands/RemoveAttributesCommand.d.ts +9 -0
  90. package/dist-types/commands/SendMessagesCommand.d.ts +204 -0
  91. package/dist-types/commands/SendOTPMessageCommand.d.ts +16 -0
  92. package/dist-types/commands/SendUsersMessagesCommand.d.ts +194 -0
  93. package/dist-types/commands/TagResourceCommand.d.ts +8 -0
  94. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  95. package/dist-types/commands/UpdateAdmChannelCommand.d.ts +8 -0
  96. package/dist-types/commands/UpdateApnsChannelCommand.d.ts +13 -0
  97. package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +13 -0
  98. package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +13 -0
  99. package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +13 -0
  100. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +23 -0
  101. package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +8 -0
  102. package/dist-types/commands/UpdateCampaignCommand.d.ts +368 -0
  103. package/dist-types/commands/UpdateEmailChannelCommand.d.ts +10 -0
  104. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +16 -0
  105. package/dist-types/commands/UpdateEndpointCommand.d.ts +46 -0
  106. package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +50 -0
  107. package/dist-types/commands/UpdateGcmChannelCommand.d.ts +7 -0
  108. package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +72 -0
  109. package/dist-types/commands/UpdateJourneyCommand.d.ts +377 -0
  110. package/dist-types/commands/UpdateJourneyStateCommand.d.ts +7 -0
  111. package/dist-types/commands/UpdatePushTemplateCommand.d.ts +62 -0
  112. package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +16 -0
  113. package/dist-types/commands/UpdateSegmentCommand.d.ts +140 -0
  114. package/dist-types/commands/UpdateSmsChannelCommand.d.ts +8 -0
  115. package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +14 -0
  116. package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +7 -0
  117. package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +6 -0
  118. package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +15 -0
  119. package/dist-types/commands/VerifyOTPMessageCommand.d.ts +8 -0
  120. package/package.json +8 -8
@@ -26,6 +26,14 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
26
26
  * import { PinpointClient, CreateAppCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateAppCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateAppRequest
30
+ * CreateApplicationRequest: { // CreateApplicationRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * tags: { // MapOf__string
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * },
36
+ * };
29
37
  * const command = new CreateAppCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,373 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
26
26
  * import { PinpointClient, CreateCampaignCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateCampaignCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateCampaignRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * WriteCampaignRequest: { // WriteCampaignRequest
32
+ * AdditionalTreatments: [ // ListOfWriteTreatmentResource
33
+ * { // WriteTreatmentResource
34
+ * CustomDeliveryConfiguration: { // CustomDeliveryConfiguration
35
+ * DeliveryUri: "STRING_VALUE", // required
36
+ * EndpointTypes: [ // ListOf__EndpointTypesElement
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * },
40
+ * MessageConfiguration: { // MessageConfiguration
41
+ * ADMMessage: { // Message
42
+ * Action: "STRING_VALUE",
43
+ * Body: "STRING_VALUE",
44
+ * ImageIconUrl: "STRING_VALUE",
45
+ * ImageSmallIconUrl: "STRING_VALUE",
46
+ * ImageUrl: "STRING_VALUE",
47
+ * JsonBody: "STRING_VALUE",
48
+ * MediaUrl: "STRING_VALUE",
49
+ * RawContent: "STRING_VALUE",
50
+ * SilentPush: true || false,
51
+ * TimeToLive: Number("int"),
52
+ * Title: "STRING_VALUE",
53
+ * Url: "STRING_VALUE",
54
+ * },
55
+ * APNSMessage: {
56
+ * Action: "STRING_VALUE",
57
+ * Body: "STRING_VALUE",
58
+ * ImageIconUrl: "STRING_VALUE",
59
+ * ImageSmallIconUrl: "STRING_VALUE",
60
+ * ImageUrl: "STRING_VALUE",
61
+ * JsonBody: "STRING_VALUE",
62
+ * MediaUrl: "STRING_VALUE",
63
+ * RawContent: "STRING_VALUE",
64
+ * SilentPush: true || false,
65
+ * TimeToLive: Number("int"),
66
+ * Title: "STRING_VALUE",
67
+ * Url: "STRING_VALUE",
68
+ * },
69
+ * BaiduMessage: {
70
+ * Action: "STRING_VALUE",
71
+ * Body: "STRING_VALUE",
72
+ * ImageIconUrl: "STRING_VALUE",
73
+ * ImageSmallIconUrl: "STRING_VALUE",
74
+ * ImageUrl: "STRING_VALUE",
75
+ * JsonBody: "STRING_VALUE",
76
+ * MediaUrl: "STRING_VALUE",
77
+ * RawContent: "STRING_VALUE",
78
+ * SilentPush: true || false,
79
+ * TimeToLive: Number("int"),
80
+ * Title: "STRING_VALUE",
81
+ * Url: "STRING_VALUE",
82
+ * },
83
+ * CustomMessage: { // CampaignCustomMessage
84
+ * Data: "STRING_VALUE",
85
+ * },
86
+ * DefaultMessage: {
87
+ * Action: "STRING_VALUE",
88
+ * Body: "STRING_VALUE",
89
+ * ImageIconUrl: "STRING_VALUE",
90
+ * ImageSmallIconUrl: "STRING_VALUE",
91
+ * ImageUrl: "STRING_VALUE",
92
+ * JsonBody: "STRING_VALUE",
93
+ * MediaUrl: "STRING_VALUE",
94
+ * RawContent: "STRING_VALUE",
95
+ * SilentPush: true || false,
96
+ * TimeToLive: Number("int"),
97
+ * Title: "STRING_VALUE",
98
+ * Url: "STRING_VALUE",
99
+ * },
100
+ * EmailMessage: { // CampaignEmailMessage
101
+ * Body: "STRING_VALUE",
102
+ * FromAddress: "STRING_VALUE",
103
+ * HtmlBody: "STRING_VALUE",
104
+ * Title: "STRING_VALUE",
105
+ * },
106
+ * GCMMessage: {
107
+ * Action: "STRING_VALUE",
108
+ * Body: "STRING_VALUE",
109
+ * ImageIconUrl: "STRING_VALUE",
110
+ * ImageSmallIconUrl: "STRING_VALUE",
111
+ * ImageUrl: "STRING_VALUE",
112
+ * JsonBody: "STRING_VALUE",
113
+ * MediaUrl: "STRING_VALUE",
114
+ * RawContent: "STRING_VALUE",
115
+ * SilentPush: true || false,
116
+ * TimeToLive: Number("int"),
117
+ * Title: "STRING_VALUE",
118
+ * Url: "STRING_VALUE",
119
+ * },
120
+ * SMSMessage: { // CampaignSmsMessage
121
+ * Body: "STRING_VALUE",
122
+ * MessageType: "STRING_VALUE",
123
+ * OriginationNumber: "STRING_VALUE",
124
+ * SenderId: "STRING_VALUE",
125
+ * EntityId: "STRING_VALUE",
126
+ * TemplateId: "STRING_VALUE",
127
+ * },
128
+ * InAppMessage: { // CampaignInAppMessage
129
+ * Body: "STRING_VALUE",
130
+ * Content: [ // ListOfInAppMessageContent
131
+ * { // InAppMessageContent
132
+ * BackgroundColor: "STRING_VALUE",
133
+ * BodyConfig: { // InAppMessageBodyConfig
134
+ * Alignment: "STRING_VALUE", // required
135
+ * Body: "STRING_VALUE", // required
136
+ * TextColor: "STRING_VALUE", // required
137
+ * },
138
+ * HeaderConfig: { // InAppMessageHeaderConfig
139
+ * Alignment: "STRING_VALUE", // required
140
+ * Header: "STRING_VALUE", // required
141
+ * TextColor: "STRING_VALUE", // required
142
+ * },
143
+ * ImageUrl: "STRING_VALUE",
144
+ * PrimaryBtn: { // InAppMessageButton
145
+ * Android: { // OverrideButtonConfiguration
146
+ * ButtonAction: "STRING_VALUE", // required
147
+ * Link: "STRING_VALUE",
148
+ * },
149
+ * DefaultConfig: { // DefaultButtonConfiguration
150
+ * BackgroundColor: "STRING_VALUE",
151
+ * BorderRadius: Number("int"),
152
+ * ButtonAction: "STRING_VALUE", // required
153
+ * Link: "STRING_VALUE",
154
+ * Text: "STRING_VALUE", // required
155
+ * TextColor: "STRING_VALUE",
156
+ * },
157
+ * IOS: {
158
+ * ButtonAction: "STRING_VALUE", // required
159
+ * Link: "STRING_VALUE",
160
+ * },
161
+ * Web: {
162
+ * ButtonAction: "STRING_VALUE", // required
163
+ * Link: "STRING_VALUE",
164
+ * },
165
+ * },
166
+ * SecondaryBtn: {
167
+ * Android: {
168
+ * ButtonAction: "STRING_VALUE", // required
169
+ * Link: "STRING_VALUE",
170
+ * },
171
+ * DefaultConfig: {
172
+ * BackgroundColor: "STRING_VALUE",
173
+ * BorderRadius: Number("int"),
174
+ * ButtonAction: "STRING_VALUE", // required
175
+ * Link: "STRING_VALUE",
176
+ * Text: "STRING_VALUE", // required
177
+ * TextColor: "STRING_VALUE",
178
+ * },
179
+ * IOS: {
180
+ * ButtonAction: "STRING_VALUE", // required
181
+ * Link: "STRING_VALUE",
182
+ * },
183
+ * Web: "<OverrideButtonConfiguration>",
184
+ * },
185
+ * },
186
+ * ],
187
+ * CustomConfig: { // MapOf__string
188
+ * "<keys>": "STRING_VALUE",
189
+ * },
190
+ * Layout: "STRING_VALUE",
191
+ * },
192
+ * },
193
+ * Schedule: { // Schedule
194
+ * EndTime: "STRING_VALUE",
195
+ * EventFilter: { // CampaignEventFilter
196
+ * Dimensions: { // EventDimensions
197
+ * Attributes: { // MapOfAttributeDimension
198
+ * "<keys>": { // AttributeDimension
199
+ * AttributeType: "STRING_VALUE",
200
+ * Values: [ // ListOf__string // required
201
+ * "STRING_VALUE",
202
+ * ],
203
+ * },
204
+ * },
205
+ * EventType: { // SetDimension
206
+ * DimensionType: "STRING_VALUE",
207
+ * Values: [ // required
208
+ * "STRING_VALUE",
209
+ * ],
210
+ * },
211
+ * Metrics: { // MapOfMetricDimension
212
+ * "<keys>": { // MetricDimension
213
+ * ComparisonOperator: "STRING_VALUE", // required
214
+ * Value: Number("double"), // required
215
+ * },
216
+ * },
217
+ * },
218
+ * FilterType: "STRING_VALUE", // required
219
+ * },
220
+ * Frequency: "STRING_VALUE",
221
+ * IsLocalTime: true || false,
222
+ * QuietTime: { // QuietTime
223
+ * End: "STRING_VALUE",
224
+ * Start: "STRING_VALUE",
225
+ * },
226
+ * StartTime: "STRING_VALUE", // required
227
+ * Timezone: "STRING_VALUE",
228
+ * },
229
+ * SizePercent: Number("int"), // required
230
+ * TemplateConfiguration: { // TemplateConfiguration
231
+ * EmailTemplate: { // Template
232
+ * Name: "STRING_VALUE",
233
+ * Version: "STRING_VALUE",
234
+ * },
235
+ * PushTemplate: {
236
+ * Name: "STRING_VALUE",
237
+ * Version: "STRING_VALUE",
238
+ * },
239
+ * SMSTemplate: {
240
+ * Name: "STRING_VALUE",
241
+ * Version: "STRING_VALUE",
242
+ * },
243
+ * VoiceTemplate: {
244
+ * Name: "STRING_VALUE",
245
+ * Version: "STRING_VALUE",
246
+ * },
247
+ * },
248
+ * TreatmentDescription: "STRING_VALUE",
249
+ * TreatmentName: "STRING_VALUE",
250
+ * },
251
+ * ],
252
+ * CustomDeliveryConfiguration: {
253
+ * DeliveryUri: "STRING_VALUE", // required
254
+ * EndpointTypes: [
255
+ * "STRING_VALUE",
256
+ * ],
257
+ * },
258
+ * Description: "STRING_VALUE",
259
+ * HoldoutPercent: Number("int"),
260
+ * Hook: { // CampaignHook
261
+ * LambdaFunctionName: "STRING_VALUE",
262
+ * Mode: "STRING_VALUE",
263
+ * WebUrl: "STRING_VALUE",
264
+ * },
265
+ * IsPaused: true || false,
266
+ * Limits: { // CampaignLimits
267
+ * Daily: Number("int"),
268
+ * MaximumDuration: Number("int"),
269
+ * MessagesPerSecond: Number("int"),
270
+ * Total: Number("int"),
271
+ * Session: Number("int"),
272
+ * },
273
+ * MessageConfiguration: {
274
+ * ADMMessage: "<Message>",
275
+ * APNSMessage: "<Message>",
276
+ * BaiduMessage: "<Message>",
277
+ * CustomMessage: {
278
+ * Data: "STRING_VALUE",
279
+ * },
280
+ * DefaultMessage: "<Message>",
281
+ * EmailMessage: {
282
+ * Body: "STRING_VALUE",
283
+ * FromAddress: "STRING_VALUE",
284
+ * HtmlBody: "STRING_VALUE",
285
+ * Title: "STRING_VALUE",
286
+ * },
287
+ * GCMMessage: "<Message>",
288
+ * SMSMessage: {
289
+ * Body: "STRING_VALUE",
290
+ * MessageType: "STRING_VALUE",
291
+ * OriginationNumber: "STRING_VALUE",
292
+ * SenderId: "STRING_VALUE",
293
+ * EntityId: "STRING_VALUE",
294
+ * TemplateId: "STRING_VALUE",
295
+ * },
296
+ * InAppMessage: {
297
+ * Body: "STRING_VALUE",
298
+ * Content: [
299
+ * {
300
+ * BackgroundColor: "STRING_VALUE",
301
+ * BodyConfig: {
302
+ * Alignment: "STRING_VALUE", // required
303
+ * Body: "STRING_VALUE", // required
304
+ * TextColor: "STRING_VALUE", // required
305
+ * },
306
+ * HeaderConfig: {
307
+ * Alignment: "STRING_VALUE", // required
308
+ * Header: "STRING_VALUE", // required
309
+ * TextColor: "STRING_VALUE", // required
310
+ * },
311
+ * ImageUrl: "STRING_VALUE",
312
+ * PrimaryBtn: {
313
+ * Android: "<OverrideButtonConfiguration>",
314
+ * DefaultConfig: {
315
+ * BackgroundColor: "STRING_VALUE",
316
+ * BorderRadius: Number("int"),
317
+ * ButtonAction: "STRING_VALUE", // required
318
+ * Link: "STRING_VALUE",
319
+ * Text: "STRING_VALUE", // required
320
+ * TextColor: "STRING_VALUE",
321
+ * },
322
+ * IOS: "<OverrideButtonConfiguration>",
323
+ * Web: "<OverrideButtonConfiguration>",
324
+ * },
325
+ * SecondaryBtn: {
326
+ * Android: "<OverrideButtonConfiguration>",
327
+ * DefaultConfig: {
328
+ * BackgroundColor: "STRING_VALUE",
329
+ * BorderRadius: Number("int"),
330
+ * ButtonAction: "STRING_VALUE", // required
331
+ * Link: "STRING_VALUE",
332
+ * Text: "STRING_VALUE", // required
333
+ * TextColor: "STRING_VALUE",
334
+ * },
335
+ * IOS: "<OverrideButtonConfiguration>",
336
+ * Web: "<OverrideButtonConfiguration>",
337
+ * },
338
+ * },
339
+ * ],
340
+ * CustomConfig: {
341
+ * "<keys>": "STRING_VALUE",
342
+ * },
343
+ * Layout: "STRING_VALUE",
344
+ * },
345
+ * },
346
+ * Name: "STRING_VALUE",
347
+ * Schedule: {
348
+ * EndTime: "STRING_VALUE",
349
+ * EventFilter: {
350
+ * Dimensions: {
351
+ * Attributes: {
352
+ * "<keys>": {
353
+ * AttributeType: "STRING_VALUE",
354
+ * Values: "<ListOf__string>", // required
355
+ * },
356
+ * },
357
+ * EventType: {
358
+ * DimensionType: "STRING_VALUE",
359
+ * Values: "<ListOf__string>", // required
360
+ * },
361
+ * Metrics: {
362
+ * "<keys>": {
363
+ * ComparisonOperator: "STRING_VALUE", // required
364
+ * Value: Number("double"), // required
365
+ * },
366
+ * },
367
+ * },
368
+ * FilterType: "STRING_VALUE", // required
369
+ * },
370
+ * Frequency: "STRING_VALUE",
371
+ * IsLocalTime: true || false,
372
+ * QuietTime: {
373
+ * End: "STRING_VALUE",
374
+ * Start: "STRING_VALUE",
375
+ * },
376
+ * StartTime: "STRING_VALUE", // required
377
+ * Timezone: "STRING_VALUE",
378
+ * },
379
+ * SegmentId: "STRING_VALUE",
380
+ * SegmentVersion: Number("int"),
381
+ * tags: "<MapOf__string>",
382
+ * TemplateConfiguration: {
383
+ * EmailTemplate: {
384
+ * Name: "STRING_VALUE",
385
+ * Version: "STRING_VALUE",
386
+ * },
387
+ * PushTemplate: "<Template>",
388
+ * SMSTemplate: "<Template>",
389
+ * VoiceTemplate: "<Template>",
390
+ * },
391
+ * TreatmentDescription: "STRING_VALUE",
392
+ * TreatmentName: "STRING_VALUE",
393
+ * Priority: Number("int"),
394
+ * },
395
+ * };
29
396
  * const command = new CreateCampaignCommand(input);
30
397
  * const response = await client.send(command);
31
398
  * ```
@@ -26,6 +26,20 @@ export interface CreateEmailTemplateCommandOutput extends CreateEmailTemplateRes
26
26
  * import { PinpointClient, CreateEmailTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateEmailTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateEmailTemplateRequest
30
+ * EmailTemplateRequest: { // EmailTemplateRequest
31
+ * DefaultSubstitutions: "STRING_VALUE",
32
+ * HtmlPart: "STRING_VALUE",
33
+ * RecommenderId: "STRING_VALUE",
34
+ * Subject: "STRING_VALUE",
35
+ * tags: { // MapOf__string
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * TemplateDescription: "STRING_VALUE",
39
+ * TextPart: "STRING_VALUE",
40
+ * },
41
+ * TemplateName: "STRING_VALUE", // required
42
+ * };
29
43
  * const command = new CreateEmailTemplateCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,15 @@ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, _
26
26
  * import { PinpointClient, CreateExportJobCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateExportJobCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateExportJobRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * ExportJobRequest: { // ExportJobRequest
32
+ * RoleArn: "STRING_VALUE", // required
33
+ * S3UrlPrefix: "STRING_VALUE", // required
34
+ * SegmentId: "STRING_VALUE",
35
+ * SegmentVersion: Number("int"),
36
+ * },
37
+ * };
29
38
  * const command = new CreateExportJobCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,19 @@ export interface CreateImportJobCommandOutput extends CreateImportJobResponse, _
26
26
  * import { PinpointClient, CreateImportJobCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateImportJobCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateImportJobRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * ImportJobRequest: { // ImportJobRequest
32
+ * DefineSegment: true || false,
33
+ * ExternalId: "STRING_VALUE",
34
+ * Format: "STRING_VALUE", // required
35
+ * RegisterEndpoints: true || false,
36
+ * RoleArn: "STRING_VALUE", // required
37
+ * S3Url: "STRING_VALUE", // required
38
+ * SegmentId: "STRING_VALUE",
39
+ * SegmentName: "STRING_VALUE",
40
+ * },
41
+ * };
29
42
  * const command = new CreateImportJobCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -26,6 +26,76 @@ export interface CreateInAppTemplateCommandOutput extends CreateInAppTemplateRes
26
26
  * import { PinpointClient, CreateInAppTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
27
  * // const { PinpointClient, CreateInAppTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
28
  * const client = new PinpointClient(config);
29
+ * const input = { // CreateInAppTemplateRequest
30
+ * InAppTemplateRequest: { // InAppTemplateRequest
31
+ * Content: [ // ListOfInAppMessageContent
32
+ * { // InAppMessageContent
33
+ * BackgroundColor: "STRING_VALUE",
34
+ * BodyConfig: { // InAppMessageBodyConfig
35
+ * Alignment: "STRING_VALUE", // required
36
+ * Body: "STRING_VALUE", // required
37
+ * TextColor: "STRING_VALUE", // required
38
+ * },
39
+ * HeaderConfig: { // InAppMessageHeaderConfig
40
+ * Alignment: "STRING_VALUE", // required
41
+ * Header: "STRING_VALUE", // required
42
+ * TextColor: "STRING_VALUE", // required
43
+ * },
44
+ * ImageUrl: "STRING_VALUE",
45
+ * PrimaryBtn: { // InAppMessageButton
46
+ * Android: { // OverrideButtonConfiguration
47
+ * ButtonAction: "STRING_VALUE", // required
48
+ * Link: "STRING_VALUE",
49
+ * },
50
+ * DefaultConfig: { // DefaultButtonConfiguration
51
+ * BackgroundColor: "STRING_VALUE",
52
+ * BorderRadius: Number("int"),
53
+ * ButtonAction: "STRING_VALUE", // required
54
+ * Link: "STRING_VALUE",
55
+ * Text: "STRING_VALUE", // required
56
+ * TextColor: "STRING_VALUE",
57
+ * },
58
+ * IOS: {
59
+ * ButtonAction: "STRING_VALUE", // required
60
+ * Link: "STRING_VALUE",
61
+ * },
62
+ * Web: {
63
+ * ButtonAction: "STRING_VALUE", // required
64
+ * Link: "STRING_VALUE",
65
+ * },
66
+ * },
67
+ * SecondaryBtn: {
68
+ * Android: {
69
+ * ButtonAction: "STRING_VALUE", // required
70
+ * Link: "STRING_VALUE",
71
+ * },
72
+ * DefaultConfig: {
73
+ * BackgroundColor: "STRING_VALUE",
74
+ * BorderRadius: Number("int"),
75
+ * ButtonAction: "STRING_VALUE", // required
76
+ * Link: "STRING_VALUE",
77
+ * Text: "STRING_VALUE", // required
78
+ * TextColor: "STRING_VALUE",
79
+ * },
80
+ * IOS: {
81
+ * ButtonAction: "STRING_VALUE", // required
82
+ * Link: "STRING_VALUE",
83
+ * },
84
+ * Web: "<OverrideButtonConfiguration>",
85
+ * },
86
+ * },
87
+ * ],
88
+ * CustomConfig: { // MapOf__string
89
+ * "<keys>": "STRING_VALUE",
90
+ * },
91
+ * Layout: "STRING_VALUE",
92
+ * tags: {
93
+ * "<keys>": "STRING_VALUE",
94
+ * },
95
+ * TemplateDescription: "STRING_VALUE",
96
+ * },
97
+ * TemplateName: "STRING_VALUE", // required
98
+ * };
29
99
  * const command = new CreateInAppTemplateCommand(input);
30
100
  * const response = await client.send(command);
31
101
  * ```