@aws-sdk/client-pinpoint 3.686.0 → 3.691.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.
- package/dist-types/models/models_0.d.ts +852 -852
- package/dist-types/models/models_1.d.ts +178 -178
- package/dist-types/ts3.4/models/models_0.d.ts +852 -852
- package/dist-types/ts3.4/models/models_1.d.ts +178 -178
- package/package.json +7 -7
|
@@ -76,8 +76,8 @@ export interface GetCampaignVersionResponse {
|
|
|
76
76
|
export interface GetCampaignVersionsRequest {
|
|
77
77
|
ApplicationId: string | undefined;
|
|
78
78
|
CampaignId: string | undefined;
|
|
79
|
-
PageSize?: string;
|
|
80
|
-
Token?: string;
|
|
79
|
+
PageSize?: string | undefined;
|
|
80
|
+
Token?: string | undefined;
|
|
81
81
|
}
|
|
82
82
|
export interface GetCampaignVersionsResponse {
|
|
83
83
|
CampaignsResponse: CampaignsResponse | undefined;
|
|
@@ -96,7 +96,7 @@ export interface GetEmailChannelResponse {
|
|
|
96
96
|
}
|
|
97
97
|
export interface GetEmailTemplateRequest {
|
|
98
98
|
TemplateName: string | undefined;
|
|
99
|
-
Version?: string;
|
|
99
|
+
Version?: string | undefined;
|
|
100
100
|
}
|
|
101
101
|
export interface GetEmailTemplateResponse {
|
|
102
102
|
EmailTemplateResponse: EmailTemplateResponse | undefined;
|
|
@@ -123,8 +123,8 @@ export interface GetExportJobResponse {
|
|
|
123
123
|
}
|
|
124
124
|
export interface GetExportJobsRequest {
|
|
125
125
|
ApplicationId: string | undefined;
|
|
126
|
-
PageSize?: string;
|
|
127
|
-
Token?: string;
|
|
126
|
+
PageSize?: string | undefined;
|
|
127
|
+
Token?: string | undefined;
|
|
128
128
|
}
|
|
129
129
|
export interface GetExportJobsResponse {
|
|
130
130
|
ExportJobsResponse: ExportJobsResponse | undefined;
|
|
@@ -144,12 +144,12 @@ export interface GetImportJobResponse {
|
|
|
144
144
|
}
|
|
145
145
|
export interface GetImportJobsRequest {
|
|
146
146
|
ApplicationId: string | undefined;
|
|
147
|
-
PageSize?: string;
|
|
148
|
-
Token?: string;
|
|
147
|
+
PageSize?: string | undefined;
|
|
148
|
+
Token?: string | undefined;
|
|
149
149
|
}
|
|
150
150
|
export interface ImportJobsResponse {
|
|
151
151
|
Item: ImportJobResponse[] | undefined;
|
|
152
|
-
NextToken?: string;
|
|
152
|
+
NextToken?: string | undefined;
|
|
153
153
|
}
|
|
154
154
|
export interface GetImportJobsResponse {
|
|
155
155
|
ImportJobsResponse: ImportJobsResponse | undefined;
|
|
@@ -159,47 +159,47 @@ export interface GetInAppMessagesRequest {
|
|
|
159
159
|
EndpointId: string | undefined;
|
|
160
160
|
}
|
|
161
161
|
export interface InAppMessage {
|
|
162
|
-
Content?: InAppMessageContent[];
|
|
163
|
-
CustomConfig?: Record<string, string
|
|
164
|
-
Layout?: Layout;
|
|
162
|
+
Content?: InAppMessageContent[] | undefined;
|
|
163
|
+
CustomConfig?: Record<string, string> | undefined;
|
|
164
|
+
Layout?: Layout | undefined;
|
|
165
165
|
}
|
|
166
166
|
export interface InAppCampaignSchedule {
|
|
167
|
-
EndDate?: string;
|
|
168
|
-
EventFilter?: CampaignEventFilter;
|
|
169
|
-
QuietTime?: QuietTime;
|
|
167
|
+
EndDate?: string | undefined;
|
|
168
|
+
EventFilter?: CampaignEventFilter | undefined;
|
|
169
|
+
QuietTime?: QuietTime | undefined;
|
|
170
170
|
}
|
|
171
171
|
export interface InAppMessageCampaign {
|
|
172
|
-
CampaignId?: string;
|
|
173
|
-
DailyCap?: number;
|
|
174
|
-
InAppMessage?: InAppMessage;
|
|
175
|
-
Priority?: number;
|
|
176
|
-
Schedule?: InAppCampaignSchedule;
|
|
177
|
-
SessionCap?: number;
|
|
178
|
-
TotalCap?: number;
|
|
179
|
-
TreatmentId?: string;
|
|
172
|
+
CampaignId?: string | undefined;
|
|
173
|
+
DailyCap?: number | undefined;
|
|
174
|
+
InAppMessage?: InAppMessage | undefined;
|
|
175
|
+
Priority?: number | undefined;
|
|
176
|
+
Schedule?: InAppCampaignSchedule | undefined;
|
|
177
|
+
SessionCap?: number | undefined;
|
|
178
|
+
TotalCap?: number | undefined;
|
|
179
|
+
TreatmentId?: string | undefined;
|
|
180
180
|
}
|
|
181
181
|
export interface InAppMessagesResponse {
|
|
182
|
-
InAppMessageCampaigns?: InAppMessageCampaign[];
|
|
182
|
+
InAppMessageCampaigns?: InAppMessageCampaign[] | undefined;
|
|
183
183
|
}
|
|
184
184
|
export interface GetInAppMessagesResponse {
|
|
185
185
|
InAppMessagesResponse: InAppMessagesResponse | undefined;
|
|
186
186
|
}
|
|
187
187
|
export interface GetInAppTemplateRequest {
|
|
188
188
|
TemplateName: string | undefined;
|
|
189
|
-
Version?: string;
|
|
189
|
+
Version?: string | undefined;
|
|
190
190
|
}
|
|
191
191
|
export interface InAppTemplateResponse {
|
|
192
|
-
Arn?: string;
|
|
193
|
-
Content?: InAppMessageContent[];
|
|
192
|
+
Arn?: string | undefined;
|
|
193
|
+
Content?: InAppMessageContent[] | undefined;
|
|
194
194
|
CreationDate: string | undefined;
|
|
195
|
-
CustomConfig?: Record<string, string
|
|
195
|
+
CustomConfig?: Record<string, string> | undefined;
|
|
196
196
|
LastModifiedDate: string | undefined;
|
|
197
|
-
Layout?: Layout;
|
|
198
|
-
tags?: Record<string, string
|
|
199
|
-
TemplateDescription?: string;
|
|
197
|
+
Layout?: Layout | undefined;
|
|
198
|
+
tags?: Record<string, string> | undefined;
|
|
199
|
+
TemplateDescription?: string | undefined;
|
|
200
200
|
TemplateName: string | undefined;
|
|
201
201
|
TemplateType: TemplateType | undefined;
|
|
202
|
-
Version?: string;
|
|
202
|
+
Version?: string | undefined;
|
|
203
203
|
}
|
|
204
204
|
export interface GetInAppTemplateResponse {
|
|
205
205
|
InAppTemplateResponse: InAppTemplateResponse | undefined;
|
|
@@ -213,12 +213,12 @@ export interface GetJourneyResponse {
|
|
|
213
213
|
}
|
|
214
214
|
export interface GetJourneyDateRangeKpiRequest {
|
|
215
215
|
ApplicationId: string | undefined;
|
|
216
|
-
EndTime?: Date;
|
|
216
|
+
EndTime?: Date | undefined;
|
|
217
217
|
JourneyId: string | undefined;
|
|
218
218
|
KpiName: string | undefined;
|
|
219
|
-
NextToken?: string;
|
|
220
|
-
PageSize?: string;
|
|
221
|
-
StartTime?: Date;
|
|
219
|
+
NextToken?: string | undefined;
|
|
220
|
+
PageSize?: string | undefined;
|
|
221
|
+
StartTime?: Date | undefined;
|
|
222
222
|
}
|
|
223
223
|
export interface JourneyDateRangeKpiResponse {
|
|
224
224
|
ApplicationId: string | undefined;
|
|
@@ -226,7 +226,7 @@ export interface JourneyDateRangeKpiResponse {
|
|
|
226
226
|
JourneyId: string | undefined;
|
|
227
227
|
KpiName: string | undefined;
|
|
228
228
|
KpiResult: BaseKpiResult | undefined;
|
|
229
|
-
NextToken?: string;
|
|
229
|
+
NextToken?: string | undefined;
|
|
230
230
|
StartTime: Date | undefined;
|
|
231
231
|
}
|
|
232
232
|
export interface GetJourneyDateRangeKpiResponse {
|
|
@@ -236,8 +236,8 @@ export interface GetJourneyExecutionActivityMetricsRequest {
|
|
|
236
236
|
ApplicationId: string | undefined;
|
|
237
237
|
JourneyActivityId: string | undefined;
|
|
238
238
|
JourneyId: string | undefined;
|
|
239
|
-
NextToken?: string;
|
|
240
|
-
PageSize?: string;
|
|
239
|
+
NextToken?: string | undefined;
|
|
240
|
+
PageSize?: string | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface JourneyExecutionActivityMetricsResponse {
|
|
243
243
|
ActivityType: string | undefined;
|
|
@@ -255,8 +255,8 @@ export interface GetJourneyExecutionActivityMetricsResponse {
|
|
|
255
255
|
export interface GetJourneyExecutionMetricsRequest {
|
|
256
256
|
ApplicationId: string | undefined;
|
|
257
257
|
JourneyId: string | undefined;
|
|
258
|
-
NextToken?: string;
|
|
259
|
-
PageSize?: string;
|
|
258
|
+
NextToken?: string | undefined;
|
|
259
|
+
PageSize?: string | undefined;
|
|
260
260
|
}
|
|
261
261
|
export interface JourneyExecutionMetricsResponse {
|
|
262
262
|
ApplicationId: string | undefined;
|
|
@@ -271,8 +271,8 @@ export interface GetJourneyRunExecutionActivityMetricsRequest {
|
|
|
271
271
|
ApplicationId: string | undefined;
|
|
272
272
|
JourneyActivityId: string | undefined;
|
|
273
273
|
JourneyId: string | undefined;
|
|
274
|
-
NextToken?: string;
|
|
275
|
-
PageSize?: string;
|
|
274
|
+
NextToken?: string | undefined;
|
|
275
|
+
PageSize?: string | undefined;
|
|
276
276
|
RunId: string | undefined;
|
|
277
277
|
}
|
|
278
278
|
export interface JourneyRunExecutionActivityMetricsResponse {
|
|
@@ -292,8 +292,8 @@ export interface GetJourneyRunExecutionActivityMetricsResponse {
|
|
|
292
292
|
export interface GetJourneyRunExecutionMetricsRequest {
|
|
293
293
|
ApplicationId: string | undefined;
|
|
294
294
|
JourneyId: string | undefined;
|
|
295
|
-
NextToken?: string;
|
|
296
|
-
PageSize?: string;
|
|
295
|
+
NextToken?: string | undefined;
|
|
296
|
+
PageSize?: string | undefined;
|
|
297
297
|
RunId: string | undefined;
|
|
298
298
|
}
|
|
299
299
|
export interface JourneyRunExecutionMetricsResponse {
|
|
@@ -311,8 +311,8 @@ export interface GetJourneyRunExecutionMetricsResponse {
|
|
|
311
311
|
export interface GetJourneyRunsRequest {
|
|
312
312
|
ApplicationId: string | undefined;
|
|
313
313
|
JourneyId: string | undefined;
|
|
314
|
-
PageSize?: string;
|
|
315
|
-
Token?: string;
|
|
314
|
+
PageSize?: string | undefined;
|
|
315
|
+
Token?: string | undefined;
|
|
316
316
|
}
|
|
317
317
|
export declare const JourneyRunStatus: {
|
|
318
318
|
readonly CANCELLED: "CANCELLED";
|
|
@@ -330,31 +330,31 @@ export interface JourneyRunResponse {
|
|
|
330
330
|
}
|
|
331
331
|
export interface JourneyRunsResponse {
|
|
332
332
|
Item: JourneyRunResponse[] | undefined;
|
|
333
|
-
NextToken?: string;
|
|
333
|
+
NextToken?: string | undefined;
|
|
334
334
|
}
|
|
335
335
|
export interface GetJourneyRunsResponse {
|
|
336
336
|
JourneyRunsResponse: JourneyRunsResponse | undefined;
|
|
337
337
|
}
|
|
338
338
|
export interface GetPushTemplateRequest {
|
|
339
339
|
TemplateName: string | undefined;
|
|
340
|
-
Version?: string;
|
|
340
|
+
Version?: string | undefined;
|
|
341
341
|
}
|
|
342
342
|
export interface PushNotificationTemplateResponse {
|
|
343
|
-
ADM?: AndroidPushNotificationTemplate;
|
|
344
|
-
APNS?: APNSPushNotificationTemplate;
|
|
345
|
-
Arn?: string;
|
|
346
|
-
Baidu?: AndroidPushNotificationTemplate;
|
|
343
|
+
ADM?: AndroidPushNotificationTemplate | undefined;
|
|
344
|
+
APNS?: APNSPushNotificationTemplate | undefined;
|
|
345
|
+
Arn?: string | undefined;
|
|
346
|
+
Baidu?: AndroidPushNotificationTemplate | undefined;
|
|
347
347
|
CreationDate: string | undefined;
|
|
348
|
-
Default?: DefaultPushNotificationTemplate;
|
|
349
|
-
DefaultSubstitutions?: string;
|
|
350
|
-
GCM?: AndroidPushNotificationTemplate;
|
|
348
|
+
Default?: DefaultPushNotificationTemplate | undefined;
|
|
349
|
+
DefaultSubstitutions?: string | undefined;
|
|
350
|
+
GCM?: AndroidPushNotificationTemplate | undefined;
|
|
351
351
|
LastModifiedDate: string | undefined;
|
|
352
|
-
RecommenderId?: string;
|
|
353
|
-
tags?: Record<string, string
|
|
354
|
-
TemplateDescription?: string;
|
|
352
|
+
RecommenderId?: string | undefined;
|
|
353
|
+
tags?: Record<string, string> | undefined;
|
|
354
|
+
TemplateDescription?: string | undefined;
|
|
355
355
|
TemplateName: string | undefined;
|
|
356
356
|
TemplateType: TemplateType | undefined;
|
|
357
|
-
Version?: string;
|
|
357
|
+
Version?: string | undefined;
|
|
358
358
|
}
|
|
359
359
|
export interface GetPushTemplateResponse {
|
|
360
360
|
PushNotificationTemplateResponse:
|
|
@@ -370,12 +370,12 @@ export interface GetRecommenderConfigurationResponse {
|
|
|
370
370
|
| undefined;
|
|
371
371
|
}
|
|
372
372
|
export interface GetRecommenderConfigurationsRequest {
|
|
373
|
-
PageSize?: string;
|
|
374
|
-
Token?: string;
|
|
373
|
+
PageSize?: string | undefined;
|
|
374
|
+
Token?: string | undefined;
|
|
375
375
|
}
|
|
376
376
|
export interface ListRecommenderConfigurationsResponse {
|
|
377
377
|
Item: RecommenderConfigurationResponse[] | undefined;
|
|
378
|
-
NextToken?: string;
|
|
378
|
+
NextToken?: string | undefined;
|
|
379
379
|
}
|
|
380
380
|
export interface GetRecommenderConfigurationsResponse {
|
|
381
381
|
ListRecommenderConfigurationsResponse:
|
|
@@ -391,30 +391,30 @@ export interface GetSegmentResponse {
|
|
|
391
391
|
}
|
|
392
392
|
export interface GetSegmentExportJobsRequest {
|
|
393
393
|
ApplicationId: string | undefined;
|
|
394
|
-
PageSize?: string;
|
|
394
|
+
PageSize?: string | undefined;
|
|
395
395
|
SegmentId: string | undefined;
|
|
396
|
-
Token?: string;
|
|
396
|
+
Token?: string | undefined;
|
|
397
397
|
}
|
|
398
398
|
export interface GetSegmentExportJobsResponse {
|
|
399
399
|
ExportJobsResponse: ExportJobsResponse | undefined;
|
|
400
400
|
}
|
|
401
401
|
export interface GetSegmentImportJobsRequest {
|
|
402
402
|
ApplicationId: string | undefined;
|
|
403
|
-
PageSize?: string;
|
|
403
|
+
PageSize?: string | undefined;
|
|
404
404
|
SegmentId: string | undefined;
|
|
405
|
-
Token?: string;
|
|
405
|
+
Token?: string | undefined;
|
|
406
406
|
}
|
|
407
407
|
export interface GetSegmentImportJobsResponse {
|
|
408
408
|
ImportJobsResponse: ImportJobsResponse | undefined;
|
|
409
409
|
}
|
|
410
410
|
export interface GetSegmentsRequest {
|
|
411
411
|
ApplicationId: string | undefined;
|
|
412
|
-
PageSize?: string;
|
|
413
|
-
Token?: string;
|
|
412
|
+
PageSize?: string | undefined;
|
|
413
|
+
Token?: string | undefined;
|
|
414
414
|
}
|
|
415
415
|
export interface SegmentsResponse {
|
|
416
416
|
Item: SegmentResponse[] | undefined;
|
|
417
|
-
NextToken?: string;
|
|
417
|
+
NextToken?: string | undefined;
|
|
418
418
|
}
|
|
419
419
|
export interface GetSegmentsResponse {
|
|
420
420
|
SegmentsResponse: SegmentsResponse | undefined;
|
|
@@ -429,9 +429,9 @@ export interface GetSegmentVersionResponse {
|
|
|
429
429
|
}
|
|
430
430
|
export interface GetSegmentVersionsRequest {
|
|
431
431
|
ApplicationId: string | undefined;
|
|
432
|
-
PageSize?: string;
|
|
432
|
+
PageSize?: string | undefined;
|
|
433
433
|
SegmentId: string | undefined;
|
|
434
|
-
Token?: string;
|
|
434
|
+
Token?: string | undefined;
|
|
435
435
|
}
|
|
436
436
|
export interface GetSegmentVersionsResponse {
|
|
437
437
|
SegmentsResponse: SegmentsResponse | undefined;
|
|
@@ -444,20 +444,20 @@ export interface GetSmsChannelResponse {
|
|
|
444
444
|
}
|
|
445
445
|
export interface GetSmsTemplateRequest {
|
|
446
446
|
TemplateName: string | undefined;
|
|
447
|
-
Version?: string;
|
|
447
|
+
Version?: string | undefined;
|
|
448
448
|
}
|
|
449
449
|
export interface SMSTemplateResponse {
|
|
450
|
-
Arn?: string;
|
|
451
|
-
Body?: string;
|
|
450
|
+
Arn?: string | undefined;
|
|
451
|
+
Body?: string | undefined;
|
|
452
452
|
CreationDate: string | undefined;
|
|
453
|
-
DefaultSubstitutions?: string;
|
|
453
|
+
DefaultSubstitutions?: string | undefined;
|
|
454
454
|
LastModifiedDate: string | undefined;
|
|
455
|
-
RecommenderId?: string;
|
|
456
|
-
tags?: Record<string, string
|
|
457
|
-
TemplateDescription?: string;
|
|
455
|
+
RecommenderId?: string | undefined;
|
|
456
|
+
tags?: Record<string, string> | undefined;
|
|
457
|
+
TemplateDescription?: string | undefined;
|
|
458
458
|
TemplateName: string | undefined;
|
|
459
459
|
TemplateType: TemplateType | undefined;
|
|
460
|
-
Version?: string;
|
|
460
|
+
Version?: string | undefined;
|
|
461
461
|
}
|
|
462
462
|
export interface GetSmsTemplateResponse {
|
|
463
463
|
SMSTemplateResponse: SMSTemplateResponse | undefined;
|
|
@@ -477,59 +477,59 @@ export interface GetVoiceChannelResponse {
|
|
|
477
477
|
}
|
|
478
478
|
export interface GetVoiceTemplateRequest {
|
|
479
479
|
TemplateName: string | undefined;
|
|
480
|
-
Version?: string;
|
|
480
|
+
Version?: string | undefined;
|
|
481
481
|
}
|
|
482
482
|
export interface VoiceTemplateResponse {
|
|
483
|
-
Arn?: string;
|
|
484
|
-
Body?: string;
|
|
483
|
+
Arn?: string | undefined;
|
|
484
|
+
Body?: string | undefined;
|
|
485
485
|
CreationDate: string | undefined;
|
|
486
|
-
DefaultSubstitutions?: string;
|
|
487
|
-
LanguageCode?: string;
|
|
486
|
+
DefaultSubstitutions?: string | undefined;
|
|
487
|
+
LanguageCode?: string | undefined;
|
|
488
488
|
LastModifiedDate: string | undefined;
|
|
489
|
-
tags?: Record<string, string
|
|
490
|
-
TemplateDescription?: string;
|
|
489
|
+
tags?: Record<string, string> | undefined;
|
|
490
|
+
TemplateDescription?: string | undefined;
|
|
491
491
|
TemplateName: string | undefined;
|
|
492
492
|
TemplateType: TemplateType | undefined;
|
|
493
|
-
Version?: string;
|
|
494
|
-
VoiceId?: string;
|
|
493
|
+
Version?: string | undefined;
|
|
494
|
+
VoiceId?: string | undefined;
|
|
495
495
|
}
|
|
496
496
|
export interface GetVoiceTemplateResponse {
|
|
497
497
|
VoiceTemplateResponse: VoiceTemplateResponse | undefined;
|
|
498
498
|
}
|
|
499
499
|
export interface JourneysResponse {
|
|
500
500
|
Item: JourneyResponse[] | undefined;
|
|
501
|
-
NextToken?: string;
|
|
501
|
+
NextToken?: string | undefined;
|
|
502
502
|
}
|
|
503
503
|
export interface JourneyStateRequest {
|
|
504
|
-
State?: State;
|
|
504
|
+
State?: State | undefined;
|
|
505
505
|
}
|
|
506
506
|
export interface ListJourneysRequest {
|
|
507
507
|
ApplicationId: string | undefined;
|
|
508
|
-
PageSize?: string;
|
|
509
|
-
Token?: string;
|
|
508
|
+
PageSize?: string | undefined;
|
|
509
|
+
Token?: string | undefined;
|
|
510
510
|
}
|
|
511
511
|
export interface ListJourneysResponse {
|
|
512
512
|
JourneysResponse: JourneysResponse | undefined;
|
|
513
513
|
}
|
|
514
514
|
export interface TemplateResponse {
|
|
515
|
-
Arn?: string;
|
|
515
|
+
Arn?: string | undefined;
|
|
516
516
|
CreationDate: string | undefined;
|
|
517
|
-
DefaultSubstitutions?: string;
|
|
517
|
+
DefaultSubstitutions?: string | undefined;
|
|
518
518
|
LastModifiedDate: string | undefined;
|
|
519
|
-
tags?: Record<string, string
|
|
520
|
-
TemplateDescription?: string;
|
|
519
|
+
tags?: Record<string, string> | undefined;
|
|
520
|
+
TemplateDescription?: string | undefined;
|
|
521
521
|
TemplateName: string | undefined;
|
|
522
522
|
TemplateType: TemplateType | undefined;
|
|
523
|
-
Version?: string;
|
|
523
|
+
Version?: string | undefined;
|
|
524
524
|
}
|
|
525
525
|
export interface TemplateVersionResponse {
|
|
526
526
|
CreationDate: string | undefined;
|
|
527
|
-
DefaultSubstitutions?: string;
|
|
527
|
+
DefaultSubstitutions?: string | undefined;
|
|
528
528
|
LastModifiedDate: string | undefined;
|
|
529
|
-
TemplateDescription?: string;
|
|
529
|
+
TemplateDescription?: string | undefined;
|
|
530
530
|
TemplateName: string | undefined;
|
|
531
531
|
TemplateType: string | undefined;
|
|
532
|
-
Version?: string;
|
|
532
|
+
Version?: string | undefined;
|
|
533
533
|
}
|
|
534
534
|
export interface ListTagsForResourceRequest {
|
|
535
535
|
ResourceArn: string | undefined;
|
|
@@ -541,73 +541,73 @@ export interface ListTagsForResourceResponse {
|
|
|
541
541
|
TagsModel: TagsModel | undefined;
|
|
542
542
|
}
|
|
543
543
|
export interface ListTemplatesRequest {
|
|
544
|
-
NextToken?: string;
|
|
545
|
-
PageSize?: string;
|
|
546
|
-
Prefix?: string;
|
|
547
|
-
TemplateType?: string;
|
|
544
|
+
NextToken?: string | undefined;
|
|
545
|
+
PageSize?: string | undefined;
|
|
546
|
+
Prefix?: string | undefined;
|
|
547
|
+
TemplateType?: string | undefined;
|
|
548
548
|
}
|
|
549
549
|
export interface TemplatesResponse {
|
|
550
550
|
Item: TemplateResponse[] | undefined;
|
|
551
|
-
NextToken?: string;
|
|
551
|
+
NextToken?: string | undefined;
|
|
552
552
|
}
|
|
553
553
|
export interface ListTemplatesResponse {
|
|
554
554
|
TemplatesResponse: TemplatesResponse | undefined;
|
|
555
555
|
}
|
|
556
556
|
export interface ListTemplateVersionsRequest {
|
|
557
|
-
NextToken?: string;
|
|
558
|
-
PageSize?: string;
|
|
557
|
+
NextToken?: string | undefined;
|
|
558
|
+
PageSize?: string | undefined;
|
|
559
559
|
TemplateName: string | undefined;
|
|
560
560
|
TemplateType: string | undefined;
|
|
561
561
|
}
|
|
562
562
|
export interface TemplateVersionsResponse {
|
|
563
563
|
Item: TemplateVersionResponse[] | undefined;
|
|
564
|
-
Message?: string;
|
|
565
|
-
NextToken?: string;
|
|
566
|
-
RequestID?: string;
|
|
564
|
+
Message?: string | undefined;
|
|
565
|
+
NextToken?: string | undefined;
|
|
566
|
+
RequestID?: string | undefined;
|
|
567
567
|
}
|
|
568
568
|
export interface ListTemplateVersionsResponse {
|
|
569
569
|
TemplateVersionsResponse: TemplateVersionsResponse | undefined;
|
|
570
570
|
}
|
|
571
571
|
export interface MessageResult {
|
|
572
572
|
DeliveryStatus: DeliveryStatus | undefined;
|
|
573
|
-
MessageId?: string;
|
|
573
|
+
MessageId?: string | undefined;
|
|
574
574
|
StatusCode: number | undefined;
|
|
575
|
-
StatusMessage?: string;
|
|
576
|
-
UpdatedToken?: string;
|
|
575
|
+
StatusMessage?: string | undefined;
|
|
576
|
+
UpdatedToken?: string | undefined;
|
|
577
577
|
}
|
|
578
578
|
export interface MessageRequest {
|
|
579
|
-
Addresses?: Record<string, AddressConfiguration
|
|
580
|
-
Context?: Record<string, string
|
|
581
|
-
Endpoints?: Record<string, EndpointSendConfiguration
|
|
579
|
+
Addresses?: Record<string, AddressConfiguration> | undefined;
|
|
580
|
+
Context?: Record<string, string> | undefined;
|
|
581
|
+
Endpoints?: Record<string, EndpointSendConfiguration> | undefined;
|
|
582
582
|
MessageConfiguration: DirectMessageConfiguration | undefined;
|
|
583
|
-
TemplateConfiguration?: TemplateConfiguration;
|
|
584
|
-
TraceId?: string;
|
|
583
|
+
TemplateConfiguration?: TemplateConfiguration | undefined;
|
|
584
|
+
TraceId?: string | undefined;
|
|
585
585
|
}
|
|
586
586
|
export interface MessageResponse {
|
|
587
587
|
ApplicationId: string | undefined;
|
|
588
|
-
EndpointResult?: Record<string, EndpointMessageResult
|
|
589
|
-
RequestId?: string;
|
|
590
|
-
Result?: Record<string, MessageResult
|
|
588
|
+
EndpointResult?: Record<string, EndpointMessageResult> | undefined;
|
|
589
|
+
RequestId?: string | undefined;
|
|
590
|
+
Result?: Record<string, MessageResult> | undefined;
|
|
591
591
|
}
|
|
592
592
|
export interface NumberValidateRequest {
|
|
593
|
-
IsoCountryCode?: string;
|
|
594
|
-
PhoneNumber?: string;
|
|
593
|
+
IsoCountryCode?: string | undefined;
|
|
594
|
+
PhoneNumber?: string | undefined;
|
|
595
595
|
}
|
|
596
596
|
export interface NumberValidateResponse {
|
|
597
|
-
Carrier?: string;
|
|
598
|
-
City?: string;
|
|
599
|
-
CleansedPhoneNumberE164?: string;
|
|
600
|
-
CleansedPhoneNumberNational?: string;
|
|
601
|
-
Country?: string;
|
|
602
|
-
CountryCodeIso2?: string;
|
|
603
|
-
CountryCodeNumeric?: string;
|
|
604
|
-
County?: string;
|
|
605
|
-
OriginalCountryCodeIso2?: string;
|
|
606
|
-
OriginalPhoneNumber?: string;
|
|
607
|
-
PhoneType?: string;
|
|
608
|
-
PhoneTypeCode?: number;
|
|
609
|
-
Timezone?: string;
|
|
610
|
-
ZipCode?: string;
|
|
597
|
+
Carrier?: string | undefined;
|
|
598
|
+
City?: string | undefined;
|
|
599
|
+
CleansedPhoneNumberE164?: string | undefined;
|
|
600
|
+
CleansedPhoneNumberNational?: string | undefined;
|
|
601
|
+
Country?: string | undefined;
|
|
602
|
+
CountryCodeIso2?: string | undefined;
|
|
603
|
+
CountryCodeNumeric?: string | undefined;
|
|
604
|
+
County?: string | undefined;
|
|
605
|
+
OriginalCountryCodeIso2?: string | undefined;
|
|
606
|
+
OriginalPhoneNumber?: string | undefined;
|
|
607
|
+
PhoneType?: string | undefined;
|
|
608
|
+
PhoneTypeCode?: number | undefined;
|
|
609
|
+
Timezone?: string | undefined;
|
|
610
|
+
ZipCode?: string | undefined;
|
|
611
611
|
}
|
|
612
612
|
export interface PhoneNumberValidateRequest {
|
|
613
613
|
NumberValidateRequest: NumberValidateRequest | undefined;
|
|
@@ -634,7 +634,7 @@ export interface PutEventStreamResponse {
|
|
|
634
634
|
EventStream: EventStream | undefined;
|
|
635
635
|
}
|
|
636
636
|
export interface UpdateAttributesRequest {
|
|
637
|
-
Blacklist?: string[];
|
|
637
|
+
Blacklist?: string[] | undefined;
|
|
638
638
|
}
|
|
639
639
|
export interface RemoveAttributesRequest {
|
|
640
640
|
ApplicationId: string | undefined;
|
|
@@ -652,17 +652,17 @@ export interface SendMessagesResponse {
|
|
|
652
652
|
MessageResponse: MessageResponse | undefined;
|
|
653
653
|
}
|
|
654
654
|
export interface SendOTPMessageRequestParameters {
|
|
655
|
-
AllowedAttempts?: number;
|
|
655
|
+
AllowedAttempts?: number | undefined;
|
|
656
656
|
BrandName: string | undefined;
|
|
657
657
|
Channel: string | undefined;
|
|
658
|
-
CodeLength?: number;
|
|
658
|
+
CodeLength?: number | undefined;
|
|
659
659
|
DestinationIdentity: string | undefined;
|
|
660
|
-
EntityId?: string;
|
|
661
|
-
Language?: string;
|
|
660
|
+
EntityId?: string | undefined;
|
|
661
|
+
Language?: string | undefined;
|
|
662
662
|
OriginationIdentity: string | undefined;
|
|
663
663
|
ReferenceId: string | undefined;
|
|
664
|
-
TemplateId?: string;
|
|
665
|
-
ValidityPeriod?: number;
|
|
664
|
+
TemplateId?: string | undefined;
|
|
665
|
+
ValidityPeriod?: number | undefined;
|
|
666
666
|
}
|
|
667
667
|
export interface SendOTPMessageRequest {
|
|
668
668
|
ApplicationId: string | undefined;
|
|
@@ -672,10 +672,10 @@ export interface SendOTPMessageResponse {
|
|
|
672
672
|
MessageResponse: MessageResponse | undefined;
|
|
673
673
|
}
|
|
674
674
|
export interface SendUsersMessageRequest {
|
|
675
|
-
Context?: Record<string, string
|
|
675
|
+
Context?: Record<string, string> | undefined;
|
|
676
676
|
MessageConfiguration: DirectMessageConfiguration | undefined;
|
|
677
|
-
TemplateConfiguration?: TemplateConfiguration;
|
|
678
|
-
TraceId?: string;
|
|
677
|
+
TemplateConfiguration?: TemplateConfiguration | undefined;
|
|
678
|
+
TraceId?: string | undefined;
|
|
679
679
|
Users: Record<string, EndpointSendConfiguration> | undefined;
|
|
680
680
|
}
|
|
681
681
|
export interface SendUsersMessagesRequest {
|
|
@@ -684,8 +684,8 @@ export interface SendUsersMessagesRequest {
|
|
|
684
684
|
}
|
|
685
685
|
export interface SendUsersMessageResponse {
|
|
686
686
|
ApplicationId: string | undefined;
|
|
687
|
-
RequestId?: string;
|
|
688
|
-
Result?: Record<string, Record<string, EndpointMessageResult
|
|
687
|
+
RequestId?: string | undefined;
|
|
688
|
+
Result?: Record<string, Record<string, EndpointMessageResult>> | undefined;
|
|
689
689
|
}
|
|
690
690
|
export interface SendUsersMessagesResponse {
|
|
691
691
|
SendUsersMessageResponse: SendUsersMessageResponse | undefined;
|
|
@@ -734,12 +734,12 @@ export interface UpdateApnsVoipSandboxChannelResponse {
|
|
|
734
734
|
APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse | undefined;
|
|
735
735
|
}
|
|
736
736
|
export interface WriteApplicationSettingsRequest {
|
|
737
|
-
CampaignHook?: CampaignHook;
|
|
738
|
-
CloudWatchMetricsEnabled?: boolean;
|
|
739
|
-
EventTaggingEnabled?: boolean;
|
|
740
|
-
Limits?: CampaignLimits;
|
|
741
|
-
QuietTime?: QuietTime;
|
|
742
|
-
JourneyLimits?: ApplicationSettingsJourneyLimits;
|
|
737
|
+
CampaignHook?: CampaignHook | undefined;
|
|
738
|
+
CloudWatchMetricsEnabled?: boolean | undefined;
|
|
739
|
+
EventTaggingEnabled?: boolean | undefined;
|
|
740
|
+
Limits?: CampaignLimits | undefined;
|
|
741
|
+
QuietTime?: QuietTime | undefined;
|
|
742
|
+
JourneyLimits?: ApplicationSettingsJourneyLimits | undefined;
|
|
743
743
|
}
|
|
744
744
|
export interface UpdateApplicationSettingsRequest {
|
|
745
745
|
ApplicationId: string | undefined;
|
|
@@ -771,10 +771,10 @@ export interface UpdateEmailChannelResponse {
|
|
|
771
771
|
EmailChannelResponse: EmailChannelResponse | undefined;
|
|
772
772
|
}
|
|
773
773
|
export interface UpdateEmailTemplateRequest {
|
|
774
|
-
CreateNewVersion?: boolean;
|
|
774
|
+
CreateNewVersion?: boolean | undefined;
|
|
775
775
|
EmailTemplateRequest: EmailTemplateRequest | undefined;
|
|
776
776
|
TemplateName: string | undefined;
|
|
777
|
-
Version?: string;
|
|
777
|
+
Version?: string | undefined;
|
|
778
778
|
}
|
|
779
779
|
export interface UpdateEmailTemplateResponse {
|
|
780
780
|
MessageBody: MessageBody | undefined;
|
|
@@ -802,10 +802,10 @@ export interface UpdateGcmChannelResponse {
|
|
|
802
802
|
GCMChannelResponse: GCMChannelResponse | undefined;
|
|
803
803
|
}
|
|
804
804
|
export interface UpdateInAppTemplateRequest {
|
|
805
|
-
CreateNewVersion?: boolean;
|
|
805
|
+
CreateNewVersion?: boolean | undefined;
|
|
806
806
|
InAppTemplateRequest: InAppTemplateRequest | undefined;
|
|
807
807
|
TemplateName: string | undefined;
|
|
808
|
-
Version?: string;
|
|
808
|
+
Version?: string | undefined;
|
|
809
809
|
}
|
|
810
810
|
export interface UpdateInAppTemplateResponse {
|
|
811
811
|
MessageBody: MessageBody | undefined;
|
|
@@ -827,24 +827,24 @@ export interface UpdateJourneyStateResponse {
|
|
|
827
827
|
JourneyResponse: JourneyResponse | undefined;
|
|
828
828
|
}
|
|
829
829
|
export interface UpdatePushTemplateRequest {
|
|
830
|
-
CreateNewVersion?: boolean;
|
|
830
|
+
CreateNewVersion?: boolean | undefined;
|
|
831
831
|
PushNotificationTemplateRequest: PushNotificationTemplateRequest | undefined;
|
|
832
832
|
TemplateName: string | undefined;
|
|
833
|
-
Version?: string;
|
|
833
|
+
Version?: string | undefined;
|
|
834
834
|
}
|
|
835
835
|
export interface UpdatePushTemplateResponse {
|
|
836
836
|
MessageBody: MessageBody | undefined;
|
|
837
837
|
}
|
|
838
838
|
export interface UpdateRecommenderConfigurationShape {
|
|
839
|
-
Attributes?: Record<string, string
|
|
840
|
-
Description?: string;
|
|
841
|
-
Name?: string;
|
|
842
|
-
RecommendationProviderIdType?: string;
|
|
839
|
+
Attributes?: Record<string, string> | undefined;
|
|
840
|
+
Description?: string | undefined;
|
|
841
|
+
Name?: string | undefined;
|
|
842
|
+
RecommendationProviderIdType?: string | undefined;
|
|
843
843
|
RecommendationProviderRoleArn: string | undefined;
|
|
844
844
|
RecommendationProviderUri: string | undefined;
|
|
845
|
-
RecommendationTransformerUri?: string;
|
|
846
|
-
RecommendationsDisplayName?: string;
|
|
847
|
-
RecommendationsPerMessage?: number;
|
|
845
|
+
RecommendationTransformerUri?: string | undefined;
|
|
846
|
+
RecommendationsDisplayName?: string | undefined;
|
|
847
|
+
RecommendationsPerMessage?: number | undefined;
|
|
848
848
|
}
|
|
849
849
|
export interface UpdateRecommenderConfigurationRequest {
|
|
850
850
|
RecommenderId: string | undefined;
|
|
@@ -866,9 +866,9 @@ export interface UpdateSegmentResponse {
|
|
|
866
866
|
SegmentResponse: SegmentResponse | undefined;
|
|
867
867
|
}
|
|
868
868
|
export interface SMSChannelRequest {
|
|
869
|
-
Enabled?: boolean;
|
|
870
|
-
SenderId?: string;
|
|
871
|
-
ShortCode?: string;
|
|
869
|
+
Enabled?: boolean | undefined;
|
|
870
|
+
SenderId?: string | undefined;
|
|
871
|
+
ShortCode?: string | undefined;
|
|
872
872
|
}
|
|
873
873
|
export interface UpdateSmsChannelRequest {
|
|
874
874
|
ApplicationId: string | undefined;
|
|
@@ -878,16 +878,16 @@ export interface UpdateSmsChannelResponse {
|
|
|
878
878
|
SMSChannelResponse: SMSChannelResponse | undefined;
|
|
879
879
|
}
|
|
880
880
|
export interface UpdateSmsTemplateRequest {
|
|
881
|
-
CreateNewVersion?: boolean;
|
|
881
|
+
CreateNewVersion?: boolean | undefined;
|
|
882
882
|
SMSTemplateRequest: SMSTemplateRequest | undefined;
|
|
883
883
|
TemplateName: string | undefined;
|
|
884
|
-
Version?: string;
|
|
884
|
+
Version?: string | undefined;
|
|
885
885
|
}
|
|
886
886
|
export interface UpdateSmsTemplateResponse {
|
|
887
887
|
MessageBody: MessageBody | undefined;
|
|
888
888
|
}
|
|
889
889
|
export interface TemplateActiveVersionRequest {
|
|
890
|
-
Version?: string;
|
|
890
|
+
Version?: string | undefined;
|
|
891
891
|
}
|
|
892
892
|
export interface UpdateTemplateActiveVersionRequest {
|
|
893
893
|
TemplateActiveVersionRequest: TemplateActiveVersionRequest | undefined;
|
|
@@ -898,7 +898,7 @@ export interface UpdateTemplateActiveVersionResponse {
|
|
|
898
898
|
MessageBody: MessageBody | undefined;
|
|
899
899
|
}
|
|
900
900
|
export interface VoiceChannelRequest {
|
|
901
|
-
Enabled?: boolean;
|
|
901
|
+
Enabled?: boolean | undefined;
|
|
902
902
|
}
|
|
903
903
|
export interface UpdateVoiceChannelRequest {
|
|
904
904
|
ApplicationId: string | undefined;
|
|
@@ -908,9 +908,9 @@ export interface UpdateVoiceChannelResponse {
|
|
|
908
908
|
VoiceChannelResponse: VoiceChannelResponse | undefined;
|
|
909
909
|
}
|
|
910
910
|
export interface UpdateVoiceTemplateRequest {
|
|
911
|
-
CreateNewVersion?: boolean;
|
|
911
|
+
CreateNewVersion?: boolean | undefined;
|
|
912
912
|
TemplateName: string | undefined;
|
|
913
|
-
Version?: string;
|
|
913
|
+
Version?: string | undefined;
|
|
914
914
|
VoiceTemplateRequest: VoiceTemplateRequest | undefined;
|
|
915
915
|
}
|
|
916
916
|
export interface UpdateVoiceTemplateResponse {
|
|
@@ -928,7 +928,7 @@ export interface VerifyOTPMessageRequest {
|
|
|
928
928
|
| undefined;
|
|
929
929
|
}
|
|
930
930
|
export interface VerificationResponse {
|
|
931
|
-
Valid?: boolean;
|
|
931
|
+
Valid?: boolean | undefined;
|
|
932
932
|
}
|
|
933
933
|
export interface VerifyOTPMessageResponse {
|
|
934
934
|
VerificationResponse: VerificationResponse | undefined;
|