@aws-sdk/client-pinpoint 3.185.0 → 3.186.1

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 (137) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/endpoints.js +14 -0
  3. package/dist-es/endpoints.js +14 -0
  4. package/dist-types/ts3.4/Pinpoint.d.ts +840 -2033
  5. package/dist-types/ts3.4/PinpointClient.d.ts +263 -818
  6. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +35 -32
  7. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +35 -35
  8. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +35 -36
  9. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +35 -35
  10. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +35 -35
  11. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +35 -36
  12. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +35 -35
  13. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +35 -36
  14. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +35 -39
  15. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +35 -35
  16. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +35 -36
  17. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +35 -36
  18. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +35 -35
  19. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +35 -36
  20. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +35 -39
  21. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +35 -39
  22. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +35 -39
  23. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +35 -32
  24. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +35 -36
  25. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +35 -35
  26. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +35 -36
  27. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +35 -36
  28. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +35 -35
  29. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +35 -36
  30. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +35 -35
  31. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +35 -36
  32. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +35 -35
  33. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +35 -36
  34. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +35 -39
  35. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +35 -35
  36. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +35 -35
  37. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +35 -36
  38. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +35 -36
  39. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +35 -36
  40. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +35 -36
  41. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +35 -35
  42. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +35 -35
  43. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +35 -39
  44. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +35 -36
  45. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +35 -39
  46. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +35 -30
  47. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +35 -39
  48. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +35 -39
  49. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +35 -32
  50. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +35 -35
  51. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +35 -39
  52. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +35 -32
  53. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +35 -39
  54. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +35 -36
  55. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +35 -36
  56. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +35 -32
  57. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +35 -32
  58. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +35 -35
  59. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +35 -35
  60. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +35 -32
  61. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +35 -35
  62. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -32
  63. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +35 -35
  64. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +35 -35
  65. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -32
  66. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +35 -35
  67. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +35 -35
  68. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +35 -35
  69. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +35 -32
  70. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +35 -39
  71. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +35 -39
  72. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +35 -39
  73. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +35 -35
  74. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +35 -39
  75. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +35 -39
  76. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +35 -32
  77. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +35 -39
  78. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +35 -39
  79. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +35 -36
  80. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +35 -36
  81. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +35 -32
  82. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +35 -35
  83. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +35 -35
  84. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +35 -35
  85. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +35 -35
  86. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +35 -35
  87. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +35 -32
  88. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  89. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +35 -39
  90. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +35 -35
  91. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +35 -36
  92. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +35 -35
  93. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +35 -32
  94. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +35 -35
  95. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +35 -32
  96. package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +35 -35
  97. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +35 -36
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -30
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -30
  100. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +35 -35
  101. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +35 -36
  102. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +35 -39
  103. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +35 -39
  104. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +35 -39
  105. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +35 -39
  106. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +35 -36
  107. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +35 -35
  108. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +35 -36
  109. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +35 -36
  110. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +35 -35
  111. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +35 -39
  112. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +35 -35
  113. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +35 -36
  114. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +35 -35
  115. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +35 -36
  116. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +35 -36
  117. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +35 -39
  118. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +35 -35
  119. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +35 -35
  120. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +35 -36
  121. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +35 -39
  122. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +35 -36
  123. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +35 -36
  124. package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +35 -35
  125. package/dist-types/ts3.4/commands/index.d.ts +119 -119
  126. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  127. package/dist-types/ts3.4/index.d.ts +5 -5
  128. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +10 -7
  129. package/dist-types/ts3.4/models/index.d.ts +2 -2
  130. package/dist-types/ts3.4/models/models_0.d.ts +6755 -2602
  131. package/dist-types/ts3.4/models/models_1.d.ts +2843 -1359
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +359 -1433
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  137. package/package.json +33 -33
@@ -1,1359 +1,2843 @@
1
- import {
2
- AddressConfiguration,
3
- ADMChannelRequest,
4
- ADMChannelResponse,
5
- AndroidPushNotificationTemplate,
6
- APNSChannelRequest,
7
- APNSChannelResponse,
8
- APNSPushNotificationTemplate,
9
- APNSSandboxChannelRequest,
10
- APNSSandboxChannelResponse,
11
- APNSVoipChannelRequest,
12
- APNSVoipChannelResponse,
13
- APNSVoipSandboxChannelRequest,
14
- APNSVoipSandboxChannelResponse,
15
- ApplicationSettingsResource,
16
- AttributesResource,
17
- BaiduChannelRequest,
18
- BaiduChannelResponse,
19
- BaseKpiResult,
20
- CampaignEventFilter,
21
- CampaignHook,
22
- CampaignLimits,
23
- CampaignResponse,
24
- ChannelsResponse,
25
- DefaultPushNotificationTemplate,
26
- DeliveryStatus,
27
- DirectMessageConfiguration,
28
- EmailChannelRequest,
29
- EmailChannelResponse,
30
- EmailTemplateRequest,
31
- EmailTemplateResponse,
32
- EndpointBatchRequest,
33
- EndpointMessageResult,
34
- EndpointRequest,
35
- EndpointResponse,
36
- EndpointSendConfiguration,
37
- EndpointsResponse,
38
- EventsRequest,
39
- EventsResponse,
40
- EventStream,
41
- ExportJobResponse,
42
- ExportJobsResponse,
43
- GCMChannelRequest,
44
- GCMChannelResponse,
45
- ImportJobResponse,
46
- InAppMessageContent,
47
- InAppTemplateRequest,
48
- JourneyResponse,
49
- Layout,
50
- MessageBody,
51
- PushNotificationTemplateRequest,
52
- QuietTime,
53
- RecommenderConfigurationResponse,
54
- SegmentResponse,
55
- SMSChannelResponse,
56
- SMSTemplateRequest,
57
- State,
58
- TemplateConfiguration,
59
- TemplateType,
60
- VoiceChannelResponse,
61
- VoiceTemplateRequest,
62
- WriteCampaignRequest,
63
- WriteJourneyRequest,
64
- WriteSegmentRequest,
65
- } from "./models_0";
66
- export interface GetChannelsRequest {
67
- ApplicationId: string | undefined;
68
- }
69
- export interface GetChannelsResponse {
70
- ChannelsResponse: ChannelsResponse | undefined;
71
- }
72
- export interface GetEmailChannelRequest {
73
- ApplicationId: string | undefined;
74
- }
75
- export interface GetEmailChannelResponse {
76
- EmailChannelResponse: EmailChannelResponse | undefined;
77
- }
78
- export interface GetEmailTemplateRequest {
79
- TemplateName: string | undefined;
80
- Version?: string;
81
- }
82
- export interface GetEmailTemplateResponse {
83
- EmailTemplateResponse: EmailTemplateResponse | undefined;
84
- }
85
- export interface GetEndpointRequest {
86
- ApplicationId: string | undefined;
87
- EndpointId: string | undefined;
88
- }
89
- export interface GetEndpointResponse {
90
- EndpointResponse: EndpointResponse | undefined;
91
- }
92
- export interface GetEventStreamRequest {
93
- ApplicationId: string | undefined;
94
- }
95
- export interface GetEventStreamResponse {
96
- EventStream: EventStream | undefined;
97
- }
98
- export interface GetExportJobRequest {
99
- ApplicationId: string | undefined;
100
- JobId: string | undefined;
101
- }
102
- export interface GetExportJobResponse {
103
- ExportJobResponse: ExportJobResponse | undefined;
104
- }
105
- export interface GetExportJobsRequest {
106
- ApplicationId: string | undefined;
107
- PageSize?: string;
108
- Token?: string;
109
- }
110
- export interface GetExportJobsResponse {
111
- ExportJobsResponse: ExportJobsResponse | undefined;
112
- }
113
- export interface GetGcmChannelRequest {
114
- ApplicationId: string | undefined;
115
- }
116
- export interface GetGcmChannelResponse {
117
- GCMChannelResponse: GCMChannelResponse | undefined;
118
- }
119
- export interface GetImportJobRequest {
120
- ApplicationId: string | undefined;
121
- JobId: string | undefined;
122
- }
123
- export interface GetImportJobResponse {
124
- ImportJobResponse: ImportJobResponse | undefined;
125
- }
126
- export interface GetImportJobsRequest {
127
- ApplicationId: string | undefined;
128
- PageSize?: string;
129
- Token?: string;
130
- }
131
- export interface ImportJobsResponse {
132
- Item: ImportJobResponse[] | undefined;
133
- NextToken?: string;
134
- }
135
- export interface GetImportJobsResponse {
136
- ImportJobsResponse: ImportJobsResponse | undefined;
137
- }
138
- export interface GetInAppMessagesRequest {
139
- ApplicationId: string | undefined;
140
- EndpointId: string | undefined;
141
- }
142
- export interface InAppMessage {
143
- Content?: InAppMessageContent[];
144
- CustomConfig?: Record<string, string>;
145
- Layout?: Layout | string;
146
- }
147
- export interface InAppCampaignSchedule {
148
- EndDate?: string;
149
- EventFilter?: CampaignEventFilter;
150
- QuietTime?: QuietTime;
151
- }
152
- export interface InAppMessageCampaign {
153
- CampaignId?: string;
154
- DailyCap?: number;
155
- InAppMessage?: InAppMessage;
156
- Priority?: number;
157
- Schedule?: InAppCampaignSchedule;
158
- SessionCap?: number;
159
- TotalCap?: number;
160
- TreatmentId?: string;
161
- }
162
- export interface InAppMessagesResponse {
163
- InAppMessageCampaigns?: InAppMessageCampaign[];
164
- }
165
- export interface GetInAppMessagesResponse {
166
- InAppMessagesResponse: InAppMessagesResponse | undefined;
167
- }
168
- export interface GetInAppTemplateRequest {
169
- TemplateName: string | undefined;
170
- Version?: string;
171
- }
172
- export interface InAppTemplateResponse {
173
- Arn?: string;
174
- Content?: InAppMessageContent[];
175
- CreationDate: string | undefined;
176
- CustomConfig?: Record<string, string>;
177
- LastModifiedDate: string | undefined;
178
- Layout?: Layout | string;
179
- tags?: Record<string, string>;
180
- TemplateDescription?: string;
181
- TemplateName: string | undefined;
182
- TemplateType: TemplateType | string | undefined;
183
- Version?: string;
184
- }
185
- export interface GetInAppTemplateResponse {
186
- InAppTemplateResponse: InAppTemplateResponse | undefined;
187
- }
188
- export interface GetJourneyRequest {
189
- ApplicationId: string | undefined;
190
- JourneyId: string | undefined;
191
- }
192
- export interface GetJourneyResponse {
193
- JourneyResponse: JourneyResponse | undefined;
194
- }
195
- export interface GetJourneyDateRangeKpiRequest {
196
- ApplicationId: string | undefined;
197
- EndTime?: Date;
198
- JourneyId: string | undefined;
199
- KpiName: string | undefined;
200
- NextToken?: string;
201
- PageSize?: string;
202
- StartTime?: Date;
203
- }
204
- export interface JourneyDateRangeKpiResponse {
205
- ApplicationId: string | undefined;
206
- EndTime: Date | undefined;
207
- JourneyId: string | undefined;
208
- KpiName: string | undefined;
209
- KpiResult: BaseKpiResult | undefined;
210
- NextToken?: string;
211
- StartTime: Date | undefined;
212
- }
213
- export interface GetJourneyDateRangeKpiResponse {
214
- JourneyDateRangeKpiResponse: JourneyDateRangeKpiResponse | undefined;
215
- }
216
- export interface GetJourneyExecutionActivityMetricsRequest {
217
- ApplicationId: string | undefined;
218
- JourneyActivityId: string | undefined;
219
- JourneyId: string | undefined;
220
- NextToken?: string;
221
- PageSize?: string;
222
- }
223
- export interface JourneyExecutionActivityMetricsResponse {
224
- ActivityType: string | undefined;
225
- ApplicationId: string | undefined;
226
- JourneyActivityId: string | undefined;
227
- JourneyId: string | undefined;
228
- LastEvaluatedTime: string | undefined;
229
- Metrics: Record<string, string> | undefined;
230
- }
231
- export interface GetJourneyExecutionActivityMetricsResponse {
232
- JourneyExecutionActivityMetricsResponse:
233
- | JourneyExecutionActivityMetricsResponse
234
- | undefined;
235
- }
236
- export interface GetJourneyExecutionMetricsRequest {
237
- ApplicationId: string | undefined;
238
- JourneyId: string | undefined;
239
- NextToken?: string;
240
- PageSize?: string;
241
- }
242
- export interface JourneyExecutionMetricsResponse {
243
- ApplicationId: string | undefined;
244
- JourneyId: string | undefined;
245
- LastEvaluatedTime: string | undefined;
246
- Metrics: Record<string, string> | undefined;
247
- }
248
- export interface GetJourneyExecutionMetricsResponse {
249
- JourneyExecutionMetricsResponse: JourneyExecutionMetricsResponse | undefined;
250
- }
251
- export interface GetPushTemplateRequest {
252
- TemplateName: string | undefined;
253
- Version?: string;
254
- }
255
- export interface PushNotificationTemplateResponse {
256
- ADM?: AndroidPushNotificationTemplate;
257
- APNS?: APNSPushNotificationTemplate;
258
- Arn?: string;
259
- Baidu?: AndroidPushNotificationTemplate;
260
- CreationDate: string | undefined;
261
- Default?: DefaultPushNotificationTemplate;
262
- DefaultSubstitutions?: string;
263
- GCM?: AndroidPushNotificationTemplate;
264
- LastModifiedDate: string | undefined;
265
- RecommenderId?: string;
266
- tags?: Record<string, string>;
267
- TemplateDescription?: string;
268
- TemplateName: string | undefined;
269
- TemplateType: TemplateType | string | undefined;
270
- Version?: string;
271
- }
272
- export interface GetPushTemplateResponse {
273
- PushNotificationTemplateResponse:
274
- | PushNotificationTemplateResponse
275
- | undefined;
276
- }
277
- export interface GetRecommenderConfigurationRequest {
278
- RecommenderId: string | undefined;
279
- }
280
- export interface GetRecommenderConfigurationResponse {
281
- RecommenderConfigurationResponse:
282
- | RecommenderConfigurationResponse
283
- | undefined;
284
- }
285
- export interface GetRecommenderConfigurationsRequest {
286
- PageSize?: string;
287
- Token?: string;
288
- }
289
- export interface ListRecommenderConfigurationsResponse {
290
- Item: RecommenderConfigurationResponse[] | undefined;
291
- NextToken?: string;
292
- }
293
- export interface GetRecommenderConfigurationsResponse {
294
- ListRecommenderConfigurationsResponse:
295
- | ListRecommenderConfigurationsResponse
296
- | undefined;
297
- }
298
- export interface GetSegmentRequest {
299
- ApplicationId: string | undefined;
300
- SegmentId: string | undefined;
301
- }
302
- export interface GetSegmentResponse {
303
- SegmentResponse: SegmentResponse | undefined;
304
- }
305
- export interface GetSegmentExportJobsRequest {
306
- ApplicationId: string | undefined;
307
- PageSize?: string;
308
- SegmentId: string | undefined;
309
- Token?: string;
310
- }
311
- export interface GetSegmentExportJobsResponse {
312
- ExportJobsResponse: ExportJobsResponse | undefined;
313
- }
314
- export interface GetSegmentImportJobsRequest {
315
- ApplicationId: string | undefined;
316
- PageSize?: string;
317
- SegmentId: string | undefined;
318
- Token?: string;
319
- }
320
- export interface GetSegmentImportJobsResponse {
321
- ImportJobsResponse: ImportJobsResponse | undefined;
322
- }
323
- export interface GetSegmentsRequest {
324
- ApplicationId: string | undefined;
325
- PageSize?: string;
326
- Token?: string;
327
- }
328
- export interface SegmentsResponse {
329
- Item: SegmentResponse[] | undefined;
330
- NextToken?: string;
331
- }
332
- export interface GetSegmentsResponse {
333
- SegmentsResponse: SegmentsResponse | undefined;
334
- }
335
- export interface GetSegmentVersionRequest {
336
- ApplicationId: string | undefined;
337
- SegmentId: string | undefined;
338
- Version: string | undefined;
339
- }
340
- export interface GetSegmentVersionResponse {
341
- SegmentResponse: SegmentResponse | undefined;
342
- }
343
- export interface GetSegmentVersionsRequest {
344
- ApplicationId: string | undefined;
345
- PageSize?: string;
346
- SegmentId: string | undefined;
347
- Token?: string;
348
- }
349
- export interface GetSegmentVersionsResponse {
350
- SegmentsResponse: SegmentsResponse | undefined;
351
- }
352
- export interface GetSmsChannelRequest {
353
- ApplicationId: string | undefined;
354
- }
355
- export interface GetSmsChannelResponse {
356
- SMSChannelResponse: SMSChannelResponse | undefined;
357
- }
358
- export interface GetSmsTemplateRequest {
359
- TemplateName: string | undefined;
360
- Version?: string;
361
- }
362
- export interface SMSTemplateResponse {
363
- Arn?: string;
364
- Body?: string;
365
- CreationDate: string | undefined;
366
- DefaultSubstitutions?: string;
367
- LastModifiedDate: string | undefined;
368
- RecommenderId?: string;
369
- tags?: Record<string, string>;
370
- TemplateDescription?: string;
371
- TemplateName: string | undefined;
372
- TemplateType: TemplateType | string | undefined;
373
- Version?: string;
374
- }
375
- export interface GetSmsTemplateResponse {
376
- SMSTemplateResponse: SMSTemplateResponse | undefined;
377
- }
378
- export interface GetUserEndpointsRequest {
379
- ApplicationId: string | undefined;
380
- UserId: string | undefined;
381
- }
382
- export interface GetUserEndpointsResponse {
383
- EndpointsResponse: EndpointsResponse | undefined;
384
- }
385
- export interface GetVoiceChannelRequest {
386
- ApplicationId: string | undefined;
387
- }
388
- export interface GetVoiceChannelResponse {
389
- VoiceChannelResponse: VoiceChannelResponse | undefined;
390
- }
391
- export interface GetVoiceTemplateRequest {
392
- TemplateName: string | undefined;
393
- Version?: string;
394
- }
395
- export interface VoiceTemplateResponse {
396
- Arn?: string;
397
- Body?: string;
398
- CreationDate: string | undefined;
399
- DefaultSubstitutions?: string;
400
- LanguageCode?: string;
401
- LastModifiedDate: string | undefined;
402
- tags?: Record<string, string>;
403
- TemplateDescription?: string;
404
- TemplateName: string | undefined;
405
- TemplateType: TemplateType | string | undefined;
406
- Version?: string;
407
- VoiceId?: string;
408
- }
409
- export interface GetVoiceTemplateResponse {
410
- VoiceTemplateResponse: VoiceTemplateResponse | undefined;
411
- }
412
- export interface JourneysResponse {
413
- Item: JourneyResponse[] | undefined;
414
- NextToken?: string;
415
- }
416
- export interface JourneyStateRequest {
417
- State?: State | string;
418
- }
419
- export interface ListJourneysRequest {
420
- ApplicationId: string | undefined;
421
- PageSize?: string;
422
- Token?: string;
423
- }
424
- export interface ListJourneysResponse {
425
- JourneysResponse: JourneysResponse | undefined;
426
- }
427
- export interface TemplateResponse {
428
- Arn?: string;
429
- CreationDate: string | undefined;
430
- DefaultSubstitutions?: string;
431
- LastModifiedDate: string | undefined;
432
- tags?: Record<string, string>;
433
- TemplateDescription?: string;
434
- TemplateName: string | undefined;
435
- TemplateType: TemplateType | string | undefined;
436
- Version?: string;
437
- }
438
- export interface TemplateVersionResponse {
439
- CreationDate: string | undefined;
440
- DefaultSubstitutions?: string;
441
- LastModifiedDate: string | undefined;
442
- TemplateDescription?: string;
443
- TemplateName: string | undefined;
444
- TemplateType: string | undefined;
445
- Version?: string;
446
- }
447
- export interface ListTagsForResourceRequest {
448
- ResourceArn: string | undefined;
449
- }
450
- export interface TagsModel {
451
- tags: Record<string, string> | undefined;
452
- }
453
- export interface ListTagsForResourceResponse {
454
- TagsModel: TagsModel | undefined;
455
- }
456
- export interface ListTemplatesRequest {
457
- NextToken?: string;
458
- PageSize?: string;
459
- Prefix?: string;
460
- TemplateType?: string;
461
- }
462
- export interface TemplatesResponse {
463
- Item: TemplateResponse[] | undefined;
464
- NextToken?: string;
465
- }
466
- export interface ListTemplatesResponse {
467
- TemplatesResponse: TemplatesResponse | undefined;
468
- }
469
- export interface ListTemplateVersionsRequest {
470
- NextToken?: string;
471
- PageSize?: string;
472
- TemplateName: string | undefined;
473
- TemplateType: string | undefined;
474
- }
475
- export interface TemplateVersionsResponse {
476
- Item: TemplateVersionResponse[] | undefined;
477
- Message?: string;
478
- NextToken?: string;
479
- RequestID?: string;
480
- }
481
- export interface ListTemplateVersionsResponse {
482
- TemplateVersionsResponse: TemplateVersionsResponse | undefined;
483
- }
484
- export interface MessageResult {
485
- DeliveryStatus: DeliveryStatus | string | undefined;
486
- MessageId?: string;
487
- StatusCode: number | undefined;
488
- StatusMessage?: string;
489
- UpdatedToken?: string;
490
- }
491
- export interface MessageRequest {
492
- Addresses?: Record<string, AddressConfiguration>;
493
- Context?: Record<string, string>;
494
- Endpoints?: Record<string, EndpointSendConfiguration>;
495
- MessageConfiguration: DirectMessageConfiguration | undefined;
496
- TemplateConfiguration?: TemplateConfiguration;
497
- TraceId?: string;
498
- }
499
- export interface MessageResponse {
500
- ApplicationId: string | undefined;
501
- EndpointResult?: Record<string, EndpointMessageResult>;
502
- RequestId?: string;
503
- Result?: Record<string, MessageResult>;
504
- }
505
- export interface NumberValidateRequest {
506
- IsoCountryCode?: string;
507
- PhoneNumber?: string;
508
- }
509
- export interface NumberValidateResponse {
510
- Carrier?: string;
511
- City?: string;
512
- CleansedPhoneNumberE164?: string;
513
- CleansedPhoneNumberNational?: string;
514
- Country?: string;
515
- CountryCodeIso2?: string;
516
- CountryCodeNumeric?: string;
517
- County?: string;
518
- OriginalCountryCodeIso2?: string;
519
- OriginalPhoneNumber?: string;
520
- PhoneType?: string;
521
- PhoneTypeCode?: number;
522
- Timezone?: string;
523
- ZipCode?: string;
524
- }
525
- export interface PhoneNumberValidateRequest {
526
- NumberValidateRequest: NumberValidateRequest | undefined;
527
- }
528
- export interface PhoneNumberValidateResponse {
529
- NumberValidateResponse: NumberValidateResponse | undefined;
530
- }
531
- export interface PutEventsRequest {
532
- ApplicationId: string | undefined;
533
- EventsRequest: EventsRequest | undefined;
534
- }
535
- export interface PutEventsResponse {
536
- EventsResponse: EventsResponse | undefined;
537
- }
538
- export interface WriteEventStream {
539
- DestinationStreamArn: string | undefined;
540
- RoleArn: string | undefined;
541
- }
542
- export interface PutEventStreamRequest {
543
- ApplicationId: string | undefined;
544
- WriteEventStream: WriteEventStream | undefined;
545
- }
546
- export interface PutEventStreamResponse {
547
- EventStream: EventStream | undefined;
548
- }
549
- export interface UpdateAttributesRequest {
550
- Blacklist?: string[];
551
- }
552
- export interface RemoveAttributesRequest {
553
- ApplicationId: string | undefined;
554
- AttributeType: string | undefined;
555
- UpdateAttributesRequest: UpdateAttributesRequest | undefined;
556
- }
557
- export interface RemoveAttributesResponse {
558
- AttributesResource: AttributesResource | undefined;
559
- }
560
- export interface SendMessagesRequest {
561
- ApplicationId: string | undefined;
562
- MessageRequest: MessageRequest | undefined;
563
- }
564
- export interface SendMessagesResponse {
565
- MessageResponse: MessageResponse | undefined;
566
- }
567
- export interface SendOTPMessageRequestParameters {
568
- AllowedAttempts?: number;
569
- BrandName: string | undefined;
570
- Channel: string | undefined;
571
- CodeLength?: number;
572
- DestinationIdentity: string | undefined;
573
- EntityId?: string;
574
- Language?: string;
575
- OriginationIdentity: string | undefined;
576
- ReferenceId: string | undefined;
577
- TemplateId?: string;
578
- ValidityPeriod?: number;
579
- }
580
- export interface SendOTPMessageRequest {
581
- ApplicationId: string | undefined;
582
- SendOTPMessageRequestParameters: SendOTPMessageRequestParameters | undefined;
583
- }
584
- export interface SendOTPMessageResponse {
585
- MessageResponse: MessageResponse | undefined;
586
- }
587
- export interface SendUsersMessageRequest {
588
- Context?: Record<string, string>;
589
- MessageConfiguration: DirectMessageConfiguration | undefined;
590
- TemplateConfiguration?: TemplateConfiguration;
591
- TraceId?: string;
592
- Users: Record<string, EndpointSendConfiguration> | undefined;
593
- }
594
- export interface SendUsersMessagesRequest {
595
- ApplicationId: string | undefined;
596
- SendUsersMessageRequest: SendUsersMessageRequest | undefined;
597
- }
598
- export interface SendUsersMessageResponse {
599
- ApplicationId: string | undefined;
600
- RequestId?: string;
601
- Result?: Record<string, Record<string, EndpointMessageResult>>;
602
- }
603
- export interface SendUsersMessagesResponse {
604
- SendUsersMessageResponse: SendUsersMessageResponse | undefined;
605
- }
606
- export interface TagResourceRequest {
607
- ResourceArn: string | undefined;
608
- TagsModel: TagsModel | undefined;
609
- }
610
- export interface UntagResourceRequest {
611
- ResourceArn: string | undefined;
612
- TagKeys: string[] | undefined;
613
- }
614
- export interface UpdateAdmChannelRequest {
615
- ADMChannelRequest: ADMChannelRequest | undefined;
616
- ApplicationId: string | undefined;
617
- }
618
- export interface UpdateAdmChannelResponse {
619
- ADMChannelResponse: ADMChannelResponse | undefined;
620
- }
621
- export interface UpdateApnsChannelRequest {
622
- APNSChannelRequest: APNSChannelRequest | undefined;
623
- ApplicationId: string | undefined;
624
- }
625
- export interface UpdateApnsChannelResponse {
626
- APNSChannelResponse: APNSChannelResponse | undefined;
627
- }
628
- export interface UpdateApnsSandboxChannelRequest {
629
- APNSSandboxChannelRequest: APNSSandboxChannelRequest | undefined;
630
- ApplicationId: string | undefined;
631
- }
632
- export interface UpdateApnsSandboxChannelResponse {
633
- APNSSandboxChannelResponse: APNSSandboxChannelResponse | undefined;
634
- }
635
- export interface UpdateApnsVoipChannelRequest {
636
- APNSVoipChannelRequest: APNSVoipChannelRequest | undefined;
637
- ApplicationId: string | undefined;
638
- }
639
- export interface UpdateApnsVoipChannelResponse {
640
- APNSVoipChannelResponse: APNSVoipChannelResponse | undefined;
641
- }
642
- export interface UpdateApnsVoipSandboxChannelRequest {
643
- APNSVoipSandboxChannelRequest: APNSVoipSandboxChannelRequest | undefined;
644
- ApplicationId: string | undefined;
645
- }
646
- export interface UpdateApnsVoipSandboxChannelResponse {
647
- APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse | undefined;
648
- }
649
- export interface WriteApplicationSettingsRequest {
650
- CampaignHook?: CampaignHook;
651
- CloudWatchMetricsEnabled?: boolean;
652
- EventTaggingEnabled?: boolean;
653
- Limits?: CampaignLimits;
654
- QuietTime?: QuietTime;
655
- }
656
- export interface UpdateApplicationSettingsRequest {
657
- ApplicationId: string | undefined;
658
- WriteApplicationSettingsRequest: WriteApplicationSettingsRequest | undefined;
659
- }
660
- export interface UpdateApplicationSettingsResponse {
661
- ApplicationSettingsResource: ApplicationSettingsResource | undefined;
662
- }
663
- export interface UpdateBaiduChannelRequest {
664
- ApplicationId: string | undefined;
665
- BaiduChannelRequest: BaiduChannelRequest | undefined;
666
- }
667
- export interface UpdateBaiduChannelResponse {
668
- BaiduChannelResponse: BaiduChannelResponse | undefined;
669
- }
670
- export interface UpdateCampaignRequest {
671
- ApplicationId: string | undefined;
672
- CampaignId: string | undefined;
673
- WriteCampaignRequest: WriteCampaignRequest | undefined;
674
- }
675
- export interface UpdateCampaignResponse {
676
- CampaignResponse: CampaignResponse | undefined;
677
- }
678
- export interface UpdateEmailChannelRequest {
679
- ApplicationId: string | undefined;
680
- EmailChannelRequest: EmailChannelRequest | undefined;
681
- }
682
- export interface UpdateEmailChannelResponse {
683
- EmailChannelResponse: EmailChannelResponse | undefined;
684
- }
685
- export interface UpdateEmailTemplateRequest {
686
- CreateNewVersion?: boolean;
687
- EmailTemplateRequest: EmailTemplateRequest | undefined;
688
- TemplateName: string | undefined;
689
- Version?: string;
690
- }
691
- export interface UpdateEmailTemplateResponse {
692
- MessageBody: MessageBody | undefined;
693
- }
694
- export interface UpdateEndpointRequest {
695
- ApplicationId: string | undefined;
696
- EndpointId: string | undefined;
697
- EndpointRequest: EndpointRequest | undefined;
698
- }
699
- export interface UpdateEndpointResponse {
700
- MessageBody: MessageBody | undefined;
701
- }
702
- export interface UpdateEndpointsBatchRequest {
703
- ApplicationId: string | undefined;
704
- EndpointBatchRequest: EndpointBatchRequest | undefined;
705
- }
706
- export interface UpdateEndpointsBatchResponse {
707
- MessageBody: MessageBody | undefined;
708
- }
709
- export interface UpdateGcmChannelRequest {
710
- ApplicationId: string | undefined;
711
- GCMChannelRequest: GCMChannelRequest | undefined;
712
- }
713
- export interface UpdateGcmChannelResponse {
714
- GCMChannelResponse: GCMChannelResponse | undefined;
715
- }
716
- export interface UpdateInAppTemplateRequest {
717
- CreateNewVersion?: boolean;
718
- InAppTemplateRequest: InAppTemplateRequest | undefined;
719
- TemplateName: string | undefined;
720
- Version?: string;
721
- }
722
- export interface UpdateInAppTemplateResponse {
723
- MessageBody: MessageBody | undefined;
724
- }
725
- export interface UpdateJourneyRequest {
726
- ApplicationId: string | undefined;
727
- JourneyId: string | undefined;
728
- WriteJourneyRequest: WriteJourneyRequest | undefined;
729
- }
730
- export interface UpdateJourneyResponse {
731
- JourneyResponse: JourneyResponse | undefined;
732
- }
733
- export interface UpdateJourneyStateRequest {
734
- ApplicationId: string | undefined;
735
- JourneyId: string | undefined;
736
- JourneyStateRequest: JourneyStateRequest | undefined;
737
- }
738
- export interface UpdateJourneyStateResponse {
739
- JourneyResponse: JourneyResponse | undefined;
740
- }
741
- export interface UpdatePushTemplateRequest {
742
- CreateNewVersion?: boolean;
743
- PushNotificationTemplateRequest: PushNotificationTemplateRequest | undefined;
744
- TemplateName: string | undefined;
745
- Version?: string;
746
- }
747
- export interface UpdatePushTemplateResponse {
748
- MessageBody: MessageBody | undefined;
749
- }
750
- export interface UpdateRecommenderConfigurationShape {
751
- Attributes?: Record<string, string>;
752
- Description?: string;
753
- Name?: string;
754
- RecommendationProviderIdType?: string;
755
- RecommendationProviderRoleArn: string | undefined;
756
- RecommendationProviderUri: string | undefined;
757
- RecommendationTransformerUri?: string;
758
- RecommendationsDisplayName?: string;
759
- RecommendationsPerMessage?: number;
760
- }
761
- export interface UpdateRecommenderConfigurationRequest {
762
- RecommenderId: string | undefined;
763
- UpdateRecommenderConfiguration:
764
- | UpdateRecommenderConfigurationShape
765
- | undefined;
766
- }
767
- export interface UpdateRecommenderConfigurationResponse {
768
- RecommenderConfigurationResponse:
769
- | RecommenderConfigurationResponse
770
- | undefined;
771
- }
772
- export interface UpdateSegmentRequest {
773
- ApplicationId: string | undefined;
774
- SegmentId: string | undefined;
775
- WriteSegmentRequest: WriteSegmentRequest | undefined;
776
- }
777
- export interface UpdateSegmentResponse {
778
- SegmentResponse: SegmentResponse | undefined;
779
- }
780
- export interface SMSChannelRequest {
781
- Enabled?: boolean;
782
- SenderId?: string;
783
- ShortCode?: string;
784
- }
785
- export interface UpdateSmsChannelRequest {
786
- ApplicationId: string | undefined;
787
- SMSChannelRequest: SMSChannelRequest | undefined;
788
- }
789
- export interface UpdateSmsChannelResponse {
790
- SMSChannelResponse: SMSChannelResponse | undefined;
791
- }
792
- export interface UpdateSmsTemplateRequest {
793
- CreateNewVersion?: boolean;
794
- SMSTemplateRequest: SMSTemplateRequest | undefined;
795
- TemplateName: string | undefined;
796
- Version?: string;
797
- }
798
- export interface UpdateSmsTemplateResponse {
799
- MessageBody: MessageBody | undefined;
800
- }
801
- export interface TemplateActiveVersionRequest {
802
- Version?: string;
803
- }
804
- export interface UpdateTemplateActiveVersionRequest {
805
- TemplateActiveVersionRequest: TemplateActiveVersionRequest | undefined;
806
- TemplateName: string | undefined;
807
- TemplateType: string | undefined;
808
- }
809
- export interface UpdateTemplateActiveVersionResponse {
810
- MessageBody: MessageBody | undefined;
811
- }
812
- export interface VoiceChannelRequest {
813
- Enabled?: boolean;
814
- }
815
- export interface UpdateVoiceChannelRequest {
816
- ApplicationId: string | undefined;
817
- VoiceChannelRequest: VoiceChannelRequest | undefined;
818
- }
819
- export interface UpdateVoiceChannelResponse {
820
- VoiceChannelResponse: VoiceChannelResponse | undefined;
821
- }
822
- export interface UpdateVoiceTemplateRequest {
823
- CreateNewVersion?: boolean;
824
- TemplateName: string | undefined;
825
- Version?: string;
826
- VoiceTemplateRequest: VoiceTemplateRequest | undefined;
827
- }
828
- export interface UpdateVoiceTemplateResponse {
829
- MessageBody: MessageBody | undefined;
830
- }
831
- export interface VerifyOTPMessageRequestParameters {
832
- DestinationIdentity: string | undefined;
833
- Otp: string | undefined;
834
- ReferenceId: string | undefined;
835
- }
836
- export interface VerifyOTPMessageRequest {
837
- ApplicationId: string | undefined;
838
- VerifyOTPMessageRequestParameters:
839
- | VerifyOTPMessageRequestParameters
840
- | undefined;
841
- }
842
- export interface VerificationResponse {
843
- Valid?: boolean;
844
- }
845
- export interface VerifyOTPMessageResponse {
846
- VerificationResponse: VerificationResponse | undefined;
847
- }
848
- export declare const GetChannelsRequestFilterSensitiveLog: (
849
- obj: GetChannelsRequest
850
- ) => any;
851
- export declare const GetChannelsResponseFilterSensitiveLog: (
852
- obj: GetChannelsResponse
853
- ) => any;
854
- export declare const GetEmailChannelRequestFilterSensitiveLog: (
855
- obj: GetEmailChannelRequest
856
- ) => any;
857
- export declare const GetEmailChannelResponseFilterSensitiveLog: (
858
- obj: GetEmailChannelResponse
859
- ) => any;
860
- export declare const GetEmailTemplateRequestFilterSensitiveLog: (
861
- obj: GetEmailTemplateRequest
862
- ) => any;
863
- export declare const GetEmailTemplateResponseFilterSensitiveLog: (
864
- obj: GetEmailTemplateResponse
865
- ) => any;
866
- export declare const GetEndpointRequestFilterSensitiveLog: (
867
- obj: GetEndpointRequest
868
- ) => any;
869
- export declare const GetEndpointResponseFilterSensitiveLog: (
870
- obj: GetEndpointResponse
871
- ) => any;
872
- export declare const GetEventStreamRequestFilterSensitiveLog: (
873
- obj: GetEventStreamRequest
874
- ) => any;
875
- export declare const GetEventStreamResponseFilterSensitiveLog: (
876
- obj: GetEventStreamResponse
877
- ) => any;
878
- export declare const GetExportJobRequestFilterSensitiveLog: (
879
- obj: GetExportJobRequest
880
- ) => any;
881
- export declare const GetExportJobResponseFilterSensitiveLog: (
882
- obj: GetExportJobResponse
883
- ) => any;
884
- export declare const GetExportJobsRequestFilterSensitiveLog: (
885
- obj: GetExportJobsRequest
886
- ) => any;
887
- export declare const GetExportJobsResponseFilterSensitiveLog: (
888
- obj: GetExportJobsResponse
889
- ) => any;
890
- export declare const GetGcmChannelRequestFilterSensitiveLog: (
891
- obj: GetGcmChannelRequest
892
- ) => any;
893
- export declare const GetGcmChannelResponseFilterSensitiveLog: (
894
- obj: GetGcmChannelResponse
895
- ) => any;
896
- export declare const GetImportJobRequestFilterSensitiveLog: (
897
- obj: GetImportJobRequest
898
- ) => any;
899
- export declare const GetImportJobResponseFilterSensitiveLog: (
900
- obj: GetImportJobResponse
901
- ) => any;
902
- export declare const GetImportJobsRequestFilterSensitiveLog: (
903
- obj: GetImportJobsRequest
904
- ) => any;
905
- export declare const ImportJobsResponseFilterSensitiveLog: (
906
- obj: ImportJobsResponse
907
- ) => any;
908
- export declare const GetImportJobsResponseFilterSensitiveLog: (
909
- obj: GetImportJobsResponse
910
- ) => any;
911
- export declare const GetInAppMessagesRequestFilterSensitiveLog: (
912
- obj: GetInAppMessagesRequest
913
- ) => any;
914
- export declare const InAppMessageFilterSensitiveLog: (obj: InAppMessage) => any;
915
- export declare const InAppCampaignScheduleFilterSensitiveLog: (
916
- obj: InAppCampaignSchedule
917
- ) => any;
918
- export declare const InAppMessageCampaignFilterSensitiveLog: (
919
- obj: InAppMessageCampaign
920
- ) => any;
921
- export declare const InAppMessagesResponseFilterSensitiveLog: (
922
- obj: InAppMessagesResponse
923
- ) => any;
924
- export declare const GetInAppMessagesResponseFilterSensitiveLog: (
925
- obj: GetInAppMessagesResponse
926
- ) => any;
927
- export declare const GetInAppTemplateRequestFilterSensitiveLog: (
928
- obj: GetInAppTemplateRequest
929
- ) => any;
930
- export declare const InAppTemplateResponseFilterSensitiveLog: (
931
- obj: InAppTemplateResponse
932
- ) => any;
933
- export declare const GetInAppTemplateResponseFilterSensitiveLog: (
934
- obj: GetInAppTemplateResponse
935
- ) => any;
936
- export declare const GetJourneyRequestFilterSensitiveLog: (
937
- obj: GetJourneyRequest
938
- ) => any;
939
- export declare const GetJourneyResponseFilterSensitiveLog: (
940
- obj: GetJourneyResponse
941
- ) => any;
942
- export declare const GetJourneyDateRangeKpiRequestFilterSensitiveLog: (
943
- obj: GetJourneyDateRangeKpiRequest
944
- ) => any;
945
- export declare const JourneyDateRangeKpiResponseFilterSensitiveLog: (
946
- obj: JourneyDateRangeKpiResponse
947
- ) => any;
948
- export declare const GetJourneyDateRangeKpiResponseFilterSensitiveLog: (
949
- obj: GetJourneyDateRangeKpiResponse
950
- ) => any;
951
- export declare const GetJourneyExecutionActivityMetricsRequestFilterSensitiveLog: (
952
- obj: GetJourneyExecutionActivityMetricsRequest
953
- ) => any;
954
- export declare const JourneyExecutionActivityMetricsResponseFilterSensitiveLog: (
955
- obj: JourneyExecutionActivityMetricsResponse
956
- ) => any;
957
- export declare const GetJourneyExecutionActivityMetricsResponseFilterSensitiveLog: (
958
- obj: GetJourneyExecutionActivityMetricsResponse
959
- ) => any;
960
- export declare const GetJourneyExecutionMetricsRequestFilterSensitiveLog: (
961
- obj: GetJourneyExecutionMetricsRequest
962
- ) => any;
963
- export declare const JourneyExecutionMetricsResponseFilterSensitiveLog: (
964
- obj: JourneyExecutionMetricsResponse
965
- ) => any;
966
- export declare const GetJourneyExecutionMetricsResponseFilterSensitiveLog: (
967
- obj: GetJourneyExecutionMetricsResponse
968
- ) => any;
969
- export declare const GetPushTemplateRequestFilterSensitiveLog: (
970
- obj: GetPushTemplateRequest
971
- ) => any;
972
- export declare const PushNotificationTemplateResponseFilterSensitiveLog: (
973
- obj: PushNotificationTemplateResponse
974
- ) => any;
975
- export declare const GetPushTemplateResponseFilterSensitiveLog: (
976
- obj: GetPushTemplateResponse
977
- ) => any;
978
- export declare const GetRecommenderConfigurationRequestFilterSensitiveLog: (
979
- obj: GetRecommenderConfigurationRequest
980
- ) => any;
981
- export declare const GetRecommenderConfigurationResponseFilterSensitiveLog: (
982
- obj: GetRecommenderConfigurationResponse
983
- ) => any;
984
- export declare const GetRecommenderConfigurationsRequestFilterSensitiveLog: (
985
- obj: GetRecommenderConfigurationsRequest
986
- ) => any;
987
- export declare const ListRecommenderConfigurationsResponseFilterSensitiveLog: (
988
- obj: ListRecommenderConfigurationsResponse
989
- ) => any;
990
- export declare const GetRecommenderConfigurationsResponseFilterSensitiveLog: (
991
- obj: GetRecommenderConfigurationsResponse
992
- ) => any;
993
- export declare const GetSegmentRequestFilterSensitiveLog: (
994
- obj: GetSegmentRequest
995
- ) => any;
996
- export declare const GetSegmentResponseFilterSensitiveLog: (
997
- obj: GetSegmentResponse
998
- ) => any;
999
- export declare const GetSegmentExportJobsRequestFilterSensitiveLog: (
1000
- obj: GetSegmentExportJobsRequest
1001
- ) => any;
1002
- export declare const GetSegmentExportJobsResponseFilterSensitiveLog: (
1003
- obj: GetSegmentExportJobsResponse
1004
- ) => any;
1005
- export declare const GetSegmentImportJobsRequestFilterSensitiveLog: (
1006
- obj: GetSegmentImportJobsRequest
1007
- ) => any;
1008
- export declare const GetSegmentImportJobsResponseFilterSensitiveLog: (
1009
- obj: GetSegmentImportJobsResponse
1010
- ) => any;
1011
- export declare const GetSegmentsRequestFilterSensitiveLog: (
1012
- obj: GetSegmentsRequest
1013
- ) => any;
1014
- export declare const SegmentsResponseFilterSensitiveLog: (
1015
- obj: SegmentsResponse
1016
- ) => any;
1017
- export declare const GetSegmentsResponseFilterSensitiveLog: (
1018
- obj: GetSegmentsResponse
1019
- ) => any;
1020
- export declare const GetSegmentVersionRequestFilterSensitiveLog: (
1021
- obj: GetSegmentVersionRequest
1022
- ) => any;
1023
- export declare const GetSegmentVersionResponseFilterSensitiveLog: (
1024
- obj: GetSegmentVersionResponse
1025
- ) => any;
1026
- export declare const GetSegmentVersionsRequestFilterSensitiveLog: (
1027
- obj: GetSegmentVersionsRequest
1028
- ) => any;
1029
- export declare const GetSegmentVersionsResponseFilterSensitiveLog: (
1030
- obj: GetSegmentVersionsResponse
1031
- ) => any;
1032
- export declare const GetSmsChannelRequestFilterSensitiveLog: (
1033
- obj: GetSmsChannelRequest
1034
- ) => any;
1035
- export declare const GetSmsChannelResponseFilterSensitiveLog: (
1036
- obj: GetSmsChannelResponse
1037
- ) => any;
1038
- export declare const GetSmsTemplateRequestFilterSensitiveLog: (
1039
- obj: GetSmsTemplateRequest
1040
- ) => any;
1041
- export declare const SMSTemplateResponseFilterSensitiveLog: (
1042
- obj: SMSTemplateResponse
1043
- ) => any;
1044
- export declare const GetSmsTemplateResponseFilterSensitiveLog: (
1045
- obj: GetSmsTemplateResponse
1046
- ) => any;
1047
- export declare const GetUserEndpointsRequestFilterSensitiveLog: (
1048
- obj: GetUserEndpointsRequest
1049
- ) => any;
1050
- export declare const GetUserEndpointsResponseFilterSensitiveLog: (
1051
- obj: GetUserEndpointsResponse
1052
- ) => any;
1053
- export declare const GetVoiceChannelRequestFilterSensitiveLog: (
1054
- obj: GetVoiceChannelRequest
1055
- ) => any;
1056
- export declare const GetVoiceChannelResponseFilterSensitiveLog: (
1057
- obj: GetVoiceChannelResponse
1058
- ) => any;
1059
- export declare const GetVoiceTemplateRequestFilterSensitiveLog: (
1060
- obj: GetVoiceTemplateRequest
1061
- ) => any;
1062
- export declare const VoiceTemplateResponseFilterSensitiveLog: (
1063
- obj: VoiceTemplateResponse
1064
- ) => any;
1065
- export declare const GetVoiceTemplateResponseFilterSensitiveLog: (
1066
- obj: GetVoiceTemplateResponse
1067
- ) => any;
1068
- export declare const JourneysResponseFilterSensitiveLog: (
1069
- obj: JourneysResponse
1070
- ) => any;
1071
- export declare const JourneyStateRequestFilterSensitiveLog: (
1072
- obj: JourneyStateRequest
1073
- ) => any;
1074
- export declare const ListJourneysRequestFilterSensitiveLog: (
1075
- obj: ListJourneysRequest
1076
- ) => any;
1077
- export declare const ListJourneysResponseFilterSensitiveLog: (
1078
- obj: ListJourneysResponse
1079
- ) => any;
1080
- export declare const TemplateResponseFilterSensitiveLog: (
1081
- obj: TemplateResponse
1082
- ) => any;
1083
- export declare const TemplateVersionResponseFilterSensitiveLog: (
1084
- obj: TemplateVersionResponse
1085
- ) => any;
1086
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (
1087
- obj: ListTagsForResourceRequest
1088
- ) => any;
1089
- export declare const TagsModelFilterSensitiveLog: (obj: TagsModel) => any;
1090
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1091
- obj: ListTagsForResourceResponse
1092
- ) => any;
1093
- export declare const ListTemplatesRequestFilterSensitiveLog: (
1094
- obj: ListTemplatesRequest
1095
- ) => any;
1096
- export declare const TemplatesResponseFilterSensitiveLog: (
1097
- obj: TemplatesResponse
1098
- ) => any;
1099
- export declare const ListTemplatesResponseFilterSensitiveLog: (
1100
- obj: ListTemplatesResponse
1101
- ) => any;
1102
- export declare const ListTemplateVersionsRequestFilterSensitiveLog: (
1103
- obj: ListTemplateVersionsRequest
1104
- ) => any;
1105
- export declare const TemplateVersionsResponseFilterSensitiveLog: (
1106
- obj: TemplateVersionsResponse
1107
- ) => any;
1108
- export declare const ListTemplateVersionsResponseFilterSensitiveLog: (
1109
- obj: ListTemplateVersionsResponse
1110
- ) => any;
1111
- export declare const MessageResultFilterSensitiveLog: (
1112
- obj: MessageResult
1113
- ) => any;
1114
- export declare const MessageRequestFilterSensitiveLog: (
1115
- obj: MessageRequest
1116
- ) => any;
1117
- export declare const MessageResponseFilterSensitiveLog: (
1118
- obj: MessageResponse
1119
- ) => any;
1120
- export declare const NumberValidateRequestFilterSensitiveLog: (
1121
- obj: NumberValidateRequest
1122
- ) => any;
1123
- export declare const NumberValidateResponseFilterSensitiveLog: (
1124
- obj: NumberValidateResponse
1125
- ) => any;
1126
- export declare const PhoneNumberValidateRequestFilterSensitiveLog: (
1127
- obj: PhoneNumberValidateRequest
1128
- ) => any;
1129
- export declare const PhoneNumberValidateResponseFilterSensitiveLog: (
1130
- obj: PhoneNumberValidateResponse
1131
- ) => any;
1132
- export declare const PutEventsRequestFilterSensitiveLog: (
1133
- obj: PutEventsRequest
1134
- ) => any;
1135
- export declare const PutEventsResponseFilterSensitiveLog: (
1136
- obj: PutEventsResponse
1137
- ) => any;
1138
- export declare const WriteEventStreamFilterSensitiveLog: (
1139
- obj: WriteEventStream
1140
- ) => any;
1141
- export declare const PutEventStreamRequestFilterSensitiveLog: (
1142
- obj: PutEventStreamRequest
1143
- ) => any;
1144
- export declare const PutEventStreamResponseFilterSensitiveLog: (
1145
- obj: PutEventStreamResponse
1146
- ) => any;
1147
- export declare const UpdateAttributesRequestFilterSensitiveLog: (
1148
- obj: UpdateAttributesRequest
1149
- ) => any;
1150
- export declare const RemoveAttributesRequestFilterSensitiveLog: (
1151
- obj: RemoveAttributesRequest
1152
- ) => any;
1153
- export declare const RemoveAttributesResponseFilterSensitiveLog: (
1154
- obj: RemoveAttributesResponse
1155
- ) => any;
1156
- export declare const SendMessagesRequestFilterSensitiveLog: (
1157
- obj: SendMessagesRequest
1158
- ) => any;
1159
- export declare const SendMessagesResponseFilterSensitiveLog: (
1160
- obj: SendMessagesResponse
1161
- ) => any;
1162
- export declare const SendOTPMessageRequestParametersFilterSensitiveLog: (
1163
- obj: SendOTPMessageRequestParameters
1164
- ) => any;
1165
- export declare const SendOTPMessageRequestFilterSensitiveLog: (
1166
- obj: SendOTPMessageRequest
1167
- ) => any;
1168
- export declare const SendOTPMessageResponseFilterSensitiveLog: (
1169
- obj: SendOTPMessageResponse
1170
- ) => any;
1171
- export declare const SendUsersMessageRequestFilterSensitiveLog: (
1172
- obj: SendUsersMessageRequest
1173
- ) => any;
1174
- export declare const SendUsersMessagesRequestFilterSensitiveLog: (
1175
- obj: SendUsersMessagesRequest
1176
- ) => any;
1177
- export declare const SendUsersMessageResponseFilterSensitiveLog: (
1178
- obj: SendUsersMessageResponse
1179
- ) => any;
1180
- export declare const SendUsersMessagesResponseFilterSensitiveLog: (
1181
- obj: SendUsersMessagesResponse
1182
- ) => any;
1183
- export declare const TagResourceRequestFilterSensitiveLog: (
1184
- obj: TagResourceRequest
1185
- ) => any;
1186
- export declare const UntagResourceRequestFilterSensitiveLog: (
1187
- obj: UntagResourceRequest
1188
- ) => any;
1189
- export declare const UpdateAdmChannelRequestFilterSensitiveLog: (
1190
- obj: UpdateAdmChannelRequest
1191
- ) => any;
1192
- export declare const UpdateAdmChannelResponseFilterSensitiveLog: (
1193
- obj: UpdateAdmChannelResponse
1194
- ) => any;
1195
- export declare const UpdateApnsChannelRequestFilterSensitiveLog: (
1196
- obj: UpdateApnsChannelRequest
1197
- ) => any;
1198
- export declare const UpdateApnsChannelResponseFilterSensitiveLog: (
1199
- obj: UpdateApnsChannelResponse
1200
- ) => any;
1201
- export declare const UpdateApnsSandboxChannelRequestFilterSensitiveLog: (
1202
- obj: UpdateApnsSandboxChannelRequest
1203
- ) => any;
1204
- export declare const UpdateApnsSandboxChannelResponseFilterSensitiveLog: (
1205
- obj: UpdateApnsSandboxChannelResponse
1206
- ) => any;
1207
- export declare const UpdateApnsVoipChannelRequestFilterSensitiveLog: (
1208
- obj: UpdateApnsVoipChannelRequest
1209
- ) => any;
1210
- export declare const UpdateApnsVoipChannelResponseFilterSensitiveLog: (
1211
- obj: UpdateApnsVoipChannelResponse
1212
- ) => any;
1213
- export declare const UpdateApnsVoipSandboxChannelRequestFilterSensitiveLog: (
1214
- obj: UpdateApnsVoipSandboxChannelRequest
1215
- ) => any;
1216
- export declare const UpdateApnsVoipSandboxChannelResponseFilterSensitiveLog: (
1217
- obj: UpdateApnsVoipSandboxChannelResponse
1218
- ) => any;
1219
- export declare const WriteApplicationSettingsRequestFilterSensitiveLog: (
1220
- obj: WriteApplicationSettingsRequest
1221
- ) => any;
1222
- export declare const UpdateApplicationSettingsRequestFilterSensitiveLog: (
1223
- obj: UpdateApplicationSettingsRequest
1224
- ) => any;
1225
- export declare const UpdateApplicationSettingsResponseFilterSensitiveLog: (
1226
- obj: UpdateApplicationSettingsResponse
1227
- ) => any;
1228
- export declare const UpdateBaiduChannelRequestFilterSensitiveLog: (
1229
- obj: UpdateBaiduChannelRequest
1230
- ) => any;
1231
- export declare const UpdateBaiduChannelResponseFilterSensitiveLog: (
1232
- obj: UpdateBaiduChannelResponse
1233
- ) => any;
1234
- export declare const UpdateCampaignRequestFilterSensitiveLog: (
1235
- obj: UpdateCampaignRequest
1236
- ) => any;
1237
- export declare const UpdateCampaignResponseFilterSensitiveLog: (
1238
- obj: UpdateCampaignResponse
1239
- ) => any;
1240
- export declare const UpdateEmailChannelRequestFilterSensitiveLog: (
1241
- obj: UpdateEmailChannelRequest
1242
- ) => any;
1243
- export declare const UpdateEmailChannelResponseFilterSensitiveLog: (
1244
- obj: UpdateEmailChannelResponse
1245
- ) => any;
1246
- export declare const UpdateEmailTemplateRequestFilterSensitiveLog: (
1247
- obj: UpdateEmailTemplateRequest
1248
- ) => any;
1249
- export declare const UpdateEmailTemplateResponseFilterSensitiveLog: (
1250
- obj: UpdateEmailTemplateResponse
1251
- ) => any;
1252
- export declare const UpdateEndpointRequestFilterSensitiveLog: (
1253
- obj: UpdateEndpointRequest
1254
- ) => any;
1255
- export declare const UpdateEndpointResponseFilterSensitiveLog: (
1256
- obj: UpdateEndpointResponse
1257
- ) => any;
1258
- export declare const UpdateEndpointsBatchRequestFilterSensitiveLog: (
1259
- obj: UpdateEndpointsBatchRequest
1260
- ) => any;
1261
- export declare const UpdateEndpointsBatchResponseFilterSensitiveLog: (
1262
- obj: UpdateEndpointsBatchResponse
1263
- ) => any;
1264
- export declare const UpdateGcmChannelRequestFilterSensitiveLog: (
1265
- obj: UpdateGcmChannelRequest
1266
- ) => any;
1267
- export declare const UpdateGcmChannelResponseFilterSensitiveLog: (
1268
- obj: UpdateGcmChannelResponse
1269
- ) => any;
1270
- export declare const UpdateInAppTemplateRequestFilterSensitiveLog: (
1271
- obj: UpdateInAppTemplateRequest
1272
- ) => any;
1273
- export declare const UpdateInAppTemplateResponseFilterSensitiveLog: (
1274
- obj: UpdateInAppTemplateResponse
1275
- ) => any;
1276
- export declare const UpdateJourneyRequestFilterSensitiveLog: (
1277
- obj: UpdateJourneyRequest
1278
- ) => any;
1279
- export declare const UpdateJourneyResponseFilterSensitiveLog: (
1280
- obj: UpdateJourneyResponse
1281
- ) => any;
1282
- export declare const UpdateJourneyStateRequestFilterSensitiveLog: (
1283
- obj: UpdateJourneyStateRequest
1284
- ) => any;
1285
- export declare const UpdateJourneyStateResponseFilterSensitiveLog: (
1286
- obj: UpdateJourneyStateResponse
1287
- ) => any;
1288
- export declare const UpdatePushTemplateRequestFilterSensitiveLog: (
1289
- obj: UpdatePushTemplateRequest
1290
- ) => any;
1291
- export declare const UpdatePushTemplateResponseFilterSensitiveLog: (
1292
- obj: UpdatePushTemplateResponse
1293
- ) => any;
1294
- export declare const UpdateRecommenderConfigurationShapeFilterSensitiveLog: (
1295
- obj: UpdateRecommenderConfigurationShape
1296
- ) => any;
1297
- export declare const UpdateRecommenderConfigurationRequestFilterSensitiveLog: (
1298
- obj: UpdateRecommenderConfigurationRequest
1299
- ) => any;
1300
- export declare const UpdateRecommenderConfigurationResponseFilterSensitiveLog: (
1301
- obj: UpdateRecommenderConfigurationResponse
1302
- ) => any;
1303
- export declare const UpdateSegmentRequestFilterSensitiveLog: (
1304
- obj: UpdateSegmentRequest
1305
- ) => any;
1306
- export declare const UpdateSegmentResponseFilterSensitiveLog: (
1307
- obj: UpdateSegmentResponse
1308
- ) => any;
1309
- export declare const SMSChannelRequestFilterSensitiveLog: (
1310
- obj: SMSChannelRequest
1311
- ) => any;
1312
- export declare const UpdateSmsChannelRequestFilterSensitiveLog: (
1313
- obj: UpdateSmsChannelRequest
1314
- ) => any;
1315
- export declare const UpdateSmsChannelResponseFilterSensitiveLog: (
1316
- obj: UpdateSmsChannelResponse
1317
- ) => any;
1318
- export declare const UpdateSmsTemplateRequestFilterSensitiveLog: (
1319
- obj: UpdateSmsTemplateRequest
1320
- ) => any;
1321
- export declare const UpdateSmsTemplateResponseFilterSensitiveLog: (
1322
- obj: UpdateSmsTemplateResponse
1323
- ) => any;
1324
- export declare const TemplateActiveVersionRequestFilterSensitiveLog: (
1325
- obj: TemplateActiveVersionRequest
1326
- ) => any;
1327
- export declare const UpdateTemplateActiveVersionRequestFilterSensitiveLog: (
1328
- obj: UpdateTemplateActiveVersionRequest
1329
- ) => any;
1330
- export declare const UpdateTemplateActiveVersionResponseFilterSensitiveLog: (
1331
- obj: UpdateTemplateActiveVersionResponse
1332
- ) => any;
1333
- export declare const VoiceChannelRequestFilterSensitiveLog: (
1334
- obj: VoiceChannelRequest
1335
- ) => any;
1336
- export declare const UpdateVoiceChannelRequestFilterSensitiveLog: (
1337
- obj: UpdateVoiceChannelRequest
1338
- ) => any;
1339
- export declare const UpdateVoiceChannelResponseFilterSensitiveLog: (
1340
- obj: UpdateVoiceChannelResponse
1341
- ) => any;
1342
- export declare const UpdateVoiceTemplateRequestFilterSensitiveLog: (
1343
- obj: UpdateVoiceTemplateRequest
1344
- ) => any;
1345
- export declare const UpdateVoiceTemplateResponseFilterSensitiveLog: (
1346
- obj: UpdateVoiceTemplateResponse
1347
- ) => any;
1348
- export declare const VerifyOTPMessageRequestParametersFilterSensitiveLog: (
1349
- obj: VerifyOTPMessageRequestParameters
1350
- ) => any;
1351
- export declare const VerifyOTPMessageRequestFilterSensitiveLog: (
1352
- obj: VerifyOTPMessageRequest
1353
- ) => any;
1354
- export declare const VerificationResponseFilterSensitiveLog: (
1355
- obj: VerificationResponse
1356
- ) => any;
1357
- export declare const VerifyOTPMessageResponseFilterSensitiveLog: (
1358
- obj: VerifyOTPMessageResponse
1359
- ) => any;
1
+ import { AddressConfiguration, ADMChannelRequest, ADMChannelResponse, AndroidPushNotificationTemplate, APNSChannelRequest, APNSChannelResponse, APNSPushNotificationTemplate, APNSSandboxChannelRequest, APNSSandboxChannelResponse, APNSVoipChannelRequest, APNSVoipChannelResponse, APNSVoipSandboxChannelRequest, APNSVoipSandboxChannelResponse, ApplicationSettingsResource, AttributesResource, BaiduChannelRequest, BaiduChannelResponse, BaseKpiResult, CampaignEventFilter, CampaignHook, CampaignLimits, CampaignResponse, ChannelsResponse, DefaultPushNotificationTemplate, DeliveryStatus, DirectMessageConfiguration, EmailChannelRequest, EmailChannelResponse, EmailTemplateRequest, EmailTemplateResponse, EndpointBatchRequest, EndpointMessageResult, EndpointRequest, EndpointResponse, EndpointSendConfiguration, EndpointsResponse, EventsRequest, EventsResponse, EventStream, ExportJobResponse, ExportJobsResponse, GCMChannelRequest, GCMChannelResponse, ImportJobResponse, InAppMessageContent, InAppTemplateRequest, JourneyResponse, Layout, MessageBody, PushNotificationTemplateRequest, QuietTime, RecommenderConfigurationResponse, SegmentResponse, SMSChannelResponse, SMSTemplateRequest, State, TemplateConfiguration, TemplateType, VoiceChannelResponse, VoiceTemplateRequest, WriteCampaignRequest, WriteJourneyRequest, WriteSegmentRequest } from "./models_0";
2
+ export interface GetChannelsRequest {
3
+ /**
4
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
5
+ */
6
+ ApplicationId: string | undefined;
7
+ }
8
+ export interface GetChannelsResponse {
9
+ /**
10
+ * <p>Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application.</p>
11
+ */
12
+ ChannelsResponse: ChannelsResponse | undefined;
13
+ }
14
+ export interface GetEmailChannelRequest {
15
+ /**
16
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
17
+ */
18
+ ApplicationId: string | undefined;
19
+ }
20
+ export interface GetEmailChannelResponse {
21
+ /**
22
+ * <p>Provides information about the status and settings of the email channel for an application.</p>
23
+ */
24
+ EmailChannelResponse: EmailChannelResponse | undefined;
25
+ }
26
+ export interface GetEmailTemplateRequest {
27
+ /**
28
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
29
+ */
30
+ TemplateName: string | undefined;
31
+ /**
32
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
33
+ */
34
+ Version?: string;
35
+ }
36
+ export interface GetEmailTemplateResponse {
37
+ /**
38
+ * <p>Provides information about the content and settings for a message template that can be used in messages that are sent through the email channel.</p>
39
+ */
40
+ EmailTemplateResponse: EmailTemplateResponse | undefined;
41
+ }
42
+ export interface GetEndpointRequest {
43
+ /**
44
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
45
+ */
46
+ ApplicationId: string | undefined;
47
+ /**
48
+ * <p>The unique identifier for the endpoint.</p>
49
+ */
50
+ EndpointId: string | undefined;
51
+ }
52
+ export interface GetEndpointResponse {
53
+ /**
54
+ * <p>Provides information about the channel type and other settings for an endpoint.</p>
55
+ */
56
+ EndpointResponse: EndpointResponse | undefined;
57
+ }
58
+ export interface GetEventStreamRequest {
59
+ /**
60
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
61
+ */
62
+ ApplicationId: string | undefined;
63
+ }
64
+ export interface GetEventStreamResponse {
65
+ /**
66
+ * <p>Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.</p>
67
+ */
68
+ EventStream: EventStream | undefined;
69
+ }
70
+ export interface GetExportJobRequest {
71
+ /**
72
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
73
+ */
74
+ ApplicationId: string | undefined;
75
+ /**
76
+ * <p>The unique identifier for the job.</p>
77
+ */
78
+ JobId: string | undefined;
79
+ }
80
+ export interface GetExportJobResponse {
81
+ /**
82
+ * <p>Provides information about the status and settings of a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.</p>
83
+ */
84
+ ExportJobResponse: ExportJobResponse | undefined;
85
+ }
86
+ export interface GetExportJobsRequest {
87
+ /**
88
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
89
+ */
90
+ ApplicationId: string | undefined;
91
+ /**
92
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
93
+ */
94
+ PageSize?: string;
95
+ /**
96
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
97
+ */
98
+ Token?: string;
99
+ }
100
+ export interface GetExportJobsResponse {
101
+ /**
102
+ * <p>Provides information about all the export jobs that are associated with an application or segment. An export job is a job that exports endpoint definitions to a file.</p>
103
+ */
104
+ ExportJobsResponse: ExportJobsResponse | undefined;
105
+ }
106
+ export interface GetGcmChannelRequest {
107
+ /**
108
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
109
+ */
110
+ ApplicationId: string | undefined;
111
+ }
112
+ export interface GetGcmChannelResponse {
113
+ /**
114
+ * <p>Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.</p>
115
+ */
116
+ GCMChannelResponse: GCMChannelResponse | undefined;
117
+ }
118
+ export interface GetImportJobRequest {
119
+ /**
120
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
121
+ */
122
+ ApplicationId: string | undefined;
123
+ /**
124
+ * <p>The unique identifier for the job.</p>
125
+ */
126
+ JobId: string | undefined;
127
+ }
128
+ export interface GetImportJobResponse {
129
+ /**
130
+ * <p>Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.</p>
131
+ */
132
+ ImportJobResponse: ImportJobResponse | undefined;
133
+ }
134
+ export interface GetImportJobsRequest {
135
+ /**
136
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
137
+ */
138
+ ApplicationId: string | undefined;
139
+ /**
140
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
141
+ */
142
+ PageSize?: string;
143
+ /**
144
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
145
+ */
146
+ Token?: string;
147
+ }
148
+ /**
149
+ * <p>Provides information about the status and settings of all the import jobs that are associated with an application or segment. An import job is a job that imports endpoint definitions from one or more files.</p>
150
+ */
151
+ export interface ImportJobsResponse {
152
+ /**
153
+ * <p>An array of responses, one for each import job that's associated with the application (Import Jobs resource) or segment (Segment Import Jobs resource).</p>
154
+ */
155
+ Item: ImportJobResponse[] | undefined;
156
+ /**
157
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
158
+ */
159
+ NextToken?: string;
160
+ }
161
+ export interface GetImportJobsResponse {
162
+ /**
163
+ * <p>Provides information about the status and settings of all the import jobs that are associated with an application or segment. An import job is a job that imports endpoint definitions from one or more files.</p>
164
+ */
165
+ ImportJobsResponse: ImportJobsResponse | undefined;
166
+ }
167
+ export interface GetInAppMessagesRequest {
168
+ /**
169
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
170
+ */
171
+ ApplicationId: string | undefined;
172
+ /**
173
+ * <p>The unique identifier for the endpoint.</p>
174
+ */
175
+ EndpointId: string | undefined;
176
+ }
177
+ /**
178
+ * <p>Provides all fields required for building an in-app message.</p>
179
+ */
180
+ export interface InAppMessage {
181
+ /**
182
+ * <p>In-app message content.</p>
183
+ */
184
+ Content?: InAppMessageContent[];
185
+ /**
186
+ * <p>Custom config to be sent to SDK.</p>
187
+ */
188
+ CustomConfig?: Record<string, string>;
189
+ /**
190
+ * <p>The layout of the message.</p>
191
+ */
192
+ Layout?: Layout | string;
193
+ }
194
+ /**
195
+ * <p>Schedule of the campaign.</p>
196
+ */
197
+ export interface InAppCampaignSchedule {
198
+ /**
199
+ * <p>The scheduled time after which the in-app message should not be shown. Timestamp is in ISO 8601 format.</p>
200
+ */
201
+ EndDate?: string;
202
+ /**
203
+ * <p>The event filter the SDK has to use to show the in-app message in the application.</p>
204
+ */
205
+ EventFilter?: CampaignEventFilter;
206
+ /**
207
+ * <p>Time during which the in-app message should not be shown to the user.</p>
208
+ */
209
+ QuietTime?: QuietTime;
210
+ }
211
+ /**
212
+ * <p>Targeted in-app message campaign.</p>
213
+ */
214
+ export interface InAppMessageCampaign {
215
+ /**
216
+ * <p>Campaign id of the corresponding campaign.</p>
217
+ */
218
+ CampaignId?: string;
219
+ /**
220
+ * <p>Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.</p>
221
+ */
222
+ DailyCap?: number;
223
+ /**
224
+ * <p>In-app message content with all fields required for rendering an in-app message.</p>
225
+ */
226
+ InAppMessage?: InAppMessage;
227
+ /**
228
+ * <p>Priority of the in-app message.</p>
229
+ */
230
+ Priority?: number;
231
+ /**
232
+ * <p>Schedule of the campaign.</p>
233
+ */
234
+ Schedule?: InAppCampaignSchedule;
235
+ /**
236
+ * <p>Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.</p>
237
+ */
238
+ SessionCap?: number;
239
+ /**
240
+ * <p>Total cap which controls the number of times an in-app message can be shown to the endpoint.</p>
241
+ */
242
+ TotalCap?: number;
243
+ /**
244
+ * <p>Treatment id of the campaign.</p>
245
+ */
246
+ TreatmentId?: string;
247
+ }
248
+ /**
249
+ * <p>Get in-app messages response object.</p>
250
+ */
251
+ export interface InAppMessagesResponse {
252
+ /**
253
+ * <p>List of targeted in-app message campaigns.</p>
254
+ */
255
+ InAppMessageCampaigns?: InAppMessageCampaign[];
256
+ }
257
+ export interface GetInAppMessagesResponse {
258
+ /**
259
+ * <p>Get in-app messages response object.</p>
260
+ */
261
+ InAppMessagesResponse: InAppMessagesResponse | undefined;
262
+ }
263
+ export interface GetInAppTemplateRequest {
264
+ /**
265
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
266
+ */
267
+ TemplateName: string | undefined;
268
+ /**
269
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
270
+ */
271
+ Version?: string;
272
+ }
273
+ /**
274
+ * <p>In-App Template Response.</p>
275
+ */
276
+ export interface InAppTemplateResponse {
277
+ /**
278
+ * <p>The resource arn of the template.</p>
279
+ */
280
+ Arn?: string;
281
+ /**
282
+ * <p>The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.</p>
283
+ */
284
+ Content?: InAppMessageContent[];
285
+ /**
286
+ * <p>The creation date of the template.</p>
287
+ */
288
+ CreationDate: string | undefined;
289
+ /**
290
+ * <p>Custom config to be sent to client.</p>
291
+ */
292
+ CustomConfig?: Record<string, string>;
293
+ /**
294
+ * <p>The last modified date of the template.</p>
295
+ */
296
+ LastModifiedDate: string | undefined;
297
+ /**
298
+ * <p>The layout of the message.</p>
299
+ */
300
+ Layout?: Layout | string;
301
+ /**
302
+ * <p>A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.</p>
303
+ */
304
+ tags?: Record<string, string>;
305
+ /**
306
+ * <p>The description of the template.</p>
307
+ */
308
+ TemplateDescription?: string;
309
+ /**
310
+ * <p>The name of the template.</p>
311
+ */
312
+ TemplateName: string | undefined;
313
+ /**
314
+ * <p>The type of the template.</p>
315
+ */
316
+ TemplateType: TemplateType | string | undefined;
317
+ /**
318
+ * <p>The version id of the template.</p>
319
+ */
320
+ Version?: string;
321
+ }
322
+ export interface GetInAppTemplateResponse {
323
+ /**
324
+ * <p>In-App Template Response.</p>
325
+ */
326
+ InAppTemplateResponse: InAppTemplateResponse | undefined;
327
+ }
328
+ export interface GetJourneyRequest {
329
+ /**
330
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
331
+ */
332
+ ApplicationId: string | undefined;
333
+ /**
334
+ * <p>The unique identifier for the journey.</p>
335
+ */
336
+ JourneyId: string | undefined;
337
+ }
338
+ export interface GetJourneyResponse {
339
+ /**
340
+ * <p>Provides information about the status, configuration, and other settings for a journey.</p>
341
+ */
342
+ JourneyResponse: JourneyResponse | undefined;
343
+ }
344
+ export interface GetJourneyDateRangeKpiRequest {
345
+ /**
346
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
347
+ */
348
+ ApplicationId: string | undefined;
349
+ /**
350
+ * <p>The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.</p>
351
+ */
352
+ EndTime?: Date;
353
+ /**
354
+ * <p>The unique identifier for the journey.</p>
355
+ */
356
+ JourneyId: string | undefined;
357
+ /**
358
+ * <p>The name of the metric, also referred to as a <i>key performance indicator (KPI)</i>, to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/analytics-standard-metrics.html">Amazon Pinpoint Developer Guide</a>.</p>
359
+ */
360
+ KpiName: string | undefined;
361
+ /**
362
+ * <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
363
+ */
364
+ NextToken?: string;
365
+ /**
366
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
367
+ */
368
+ PageSize?: string;
369
+ /**
370
+ * <p>The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.</p>
371
+ */
372
+ StartTime?: Date;
373
+ }
374
+ /**
375
+ * <p>Provides the results of a query that retrieved the data for a standard engagement metric that applies to a journey, and provides information about that query.</p>
376
+ */
377
+ export interface JourneyDateRangeKpiResponse {
378
+ /**
379
+ * <p>The unique identifier for the application that the metric applies to.</p>
380
+ */
381
+ ApplicationId: string | undefined;
382
+ /**
383
+ * <p>The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.</p>
384
+ */
385
+ EndTime: Date | undefined;
386
+ /**
387
+ * <p>The unique identifier for the journey that the metric applies to.</p>
388
+ */
389
+ JourneyId: string | undefined;
390
+ /**
391
+ * <p>The name of the metric, also referred to as a <i>key performance indicator (KPI)</i>, that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/analytics-standard-metrics.html">Amazon Pinpoint Developer Guide</a>.</p>
392
+ */
393
+ KpiName: string | undefined;
394
+ /**
395
+ * <p>An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.</p>
396
+ */
397
+ KpiResult: BaseKpiResult | undefined;
398
+ /**
399
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Journey Engagement Metrics resource because the resource returns all results in a single page.</p>
400
+ */
401
+ NextToken?: string;
402
+ /**
403
+ * <p>The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.</p>
404
+ */
405
+ StartTime: Date | undefined;
406
+ }
407
+ export interface GetJourneyDateRangeKpiResponse {
408
+ /**
409
+ * <p>Provides the results of a query that retrieved the data for a standard engagement metric that applies to a journey, and provides information about that query.</p>
410
+ */
411
+ JourneyDateRangeKpiResponse: JourneyDateRangeKpiResponse | undefined;
412
+ }
413
+ export interface GetJourneyExecutionActivityMetricsRequest {
414
+ /**
415
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
416
+ */
417
+ ApplicationId: string | undefined;
418
+ /**
419
+ * <p>The unique identifier for the journey activity.</p>
420
+ */
421
+ JourneyActivityId: string | undefined;
422
+ /**
423
+ * <p>The unique identifier for the journey.</p>
424
+ */
425
+ JourneyId: string | undefined;
426
+ /**
427
+ * <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
428
+ */
429
+ NextToken?: string;
430
+ /**
431
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
432
+ */
433
+ PageSize?: string;
434
+ }
435
+ /**
436
+ * <p>Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey activity, and provides information about that query.</p>
437
+ */
438
+ export interface JourneyExecutionActivityMetricsResponse {
439
+ /**
440
+ * <p>The type of activity that the metric applies to. Possible values are:</p> <ul><li><p>CONDITIONAL_SPLIT - For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.</p></li> <li><p>HOLDOUT - For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.</p></li> <li><p>MESSAGE - For an email activity, which is an activity that sends an email message to participants.</p></li> <li><p>MULTI_CONDITIONAL_SPLIT - For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.</p></li> <li><p>RANDOM_SPLIT - For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.</p></li> <li><p>WAIT - For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.</p></li></ul>
441
+ */
442
+ ActivityType: string | undefined;
443
+ /**
444
+ * <p>The unique identifier for the application that the metric applies to.</p>
445
+ */
446
+ ApplicationId: string | undefined;
447
+ /**
448
+ * <p>The unique identifier for the activity that the metric applies to.</p>
449
+ */
450
+ JourneyActivityId: string | undefined;
451
+ /**
452
+ * <p>The unique identifier for the journey that the metric applies to.</p>
453
+ */
454
+ JourneyId: string | undefined;
455
+ /**
456
+ * <p>The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.</p>
457
+ */
458
+ LastEvaluatedTime: string | undefined;
459
+ /**
460
+ * <p>A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/developerguide/analytics-standard-metrics.html">Amazon Pinpoint Developer Guide</a>.</p>
461
+ */
462
+ Metrics: Record<string, string> | undefined;
463
+ }
464
+ export interface GetJourneyExecutionActivityMetricsResponse {
465
+ /**
466
+ * <p>Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey activity, and provides information about that query.</p>
467
+ */
468
+ JourneyExecutionActivityMetricsResponse: JourneyExecutionActivityMetricsResponse | undefined;
469
+ }
470
+ export interface GetJourneyExecutionMetricsRequest {
471
+ /**
472
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
473
+ */
474
+ ApplicationId: string | undefined;
475
+ /**
476
+ * <p>The unique identifier for the journey.</p>
477
+ */
478
+ JourneyId: string | undefined;
479
+ /**
480
+ * <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
481
+ */
482
+ NextToken?: string;
483
+ /**
484
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
485
+ */
486
+ PageSize?: string;
487
+ }
488
+ /**
489
+ * <p>Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey, and provides information about that query.</p>
490
+ */
491
+ export interface JourneyExecutionMetricsResponse {
492
+ /**
493
+ * <p>The unique identifier for the application that the metric applies to.</p>
494
+ */
495
+ ApplicationId: string | undefined;
496
+ /**
497
+ * <p>The unique identifier for the journey that the metric applies to.</p>
498
+ */
499
+ JourneyId: string | undefined;
500
+ /**
501
+ * <p>The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.</p>
502
+ */
503
+ LastEvaluatedTime: string | undefined;
504
+ /**
505
+ * <p>A JSON object that contains the results of the query. For information about the structure and contents of the results, see the <a href="https://docs.aws.amazon.com//pinpoint/latest/developerguide/analytics-standard-metrics.html">Amazon Pinpoint Developer Guide</a>.</p>
506
+ */
507
+ Metrics: Record<string, string> | undefined;
508
+ }
509
+ export interface GetJourneyExecutionMetricsResponse {
510
+ /**
511
+ * <p>Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey, and provides information about that query.</p>
512
+ */
513
+ JourneyExecutionMetricsResponse: JourneyExecutionMetricsResponse | undefined;
514
+ }
515
+ export interface GetPushTemplateRequest {
516
+ /**
517
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
518
+ */
519
+ TemplateName: string | undefined;
520
+ /**
521
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
522
+ */
523
+ Version?: string;
524
+ }
525
+ /**
526
+ * <p>Provides information about the content and settings for a message template that can be used in messages that are sent through a push notification channel.</p>
527
+ */
528
+ export interface PushNotificationTemplateResponse {
529
+ /**
530
+ * <p>The message template that's used for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).</p>
531
+ */
532
+ ADM?: AndroidPushNotificationTemplate;
533
+ /**
534
+ * <p>The message template that's used for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).</p>
535
+ */
536
+ APNS?: APNSPushNotificationTemplate;
537
+ /**
538
+ * <p>The Amazon Resource Name (ARN) of the message template.</p>
539
+ */
540
+ Arn?: string;
541
+ /**
542
+ * <p>The message template that's used for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).</p>
543
+ */
544
+ Baidu?: AndroidPushNotificationTemplate;
545
+ /**
546
+ * <p>The date, in ISO 8601 format, when the message template was created.</p>
547
+ */
548
+ CreationDate: string | undefined;
549
+ /**
550
+ * <p>The default message template that's used for push notification channels.</p>
551
+ */
552
+ Default?: DefaultPushNotificationTemplate;
553
+ /**
554
+ * <p>The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.</p>
555
+ */
556
+ DefaultSubstitutions?: string;
557
+ /**
558
+ * <p>The message template that's used for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).</p>
559
+ */
560
+ GCM?: AndroidPushNotificationTemplate;
561
+ /**
562
+ * <p>The date, in ISO 8601 format, when the message template was last modified.</p>
563
+ */
564
+ LastModifiedDate: string | undefined;
565
+ /**
566
+ * <p>The unique identifier for the recommender model that's used by the message template.</p>
567
+ */
568
+ RecommenderId?: string;
569
+ /**
570
+ * <p>A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.</p>
571
+ */
572
+ tags?: Record<string, string>;
573
+ /**
574
+ * <p>The custom description of the message template.</p>
575
+ */
576
+ TemplateDescription?: string;
577
+ /**
578
+ * <p>The name of the message template.</p>
579
+ */
580
+ TemplateName: string | undefined;
581
+ /**
582
+ * <p>The type of channel that the message template is designed for. For a push notification template, this value is PUSH.</p>
583
+ */
584
+ TemplateType: TemplateType | string | undefined;
585
+ /**
586
+ * <p>The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.</p>
587
+ */
588
+ Version?: string;
589
+ }
590
+ export interface GetPushTemplateResponse {
591
+ /**
592
+ * <p>Provides information about the content and settings for a message template that can be used in messages that are sent through a push notification channel.</p>
593
+ */
594
+ PushNotificationTemplateResponse: PushNotificationTemplateResponse | undefined;
595
+ }
596
+ export interface GetRecommenderConfigurationRequest {
597
+ /**
598
+ * <p>The unique identifier for the recommender model configuration. This identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint console.</p>
599
+ */
600
+ RecommenderId: string | undefined;
601
+ }
602
+ export interface GetRecommenderConfigurationResponse {
603
+ /**
604
+ * <p>Provides information about Amazon Pinpoint configuration settings for retrieving and processing data from a recommender model.</p>
605
+ */
606
+ RecommenderConfigurationResponse: RecommenderConfigurationResponse | undefined;
607
+ }
608
+ export interface GetRecommenderConfigurationsRequest {
609
+ /**
610
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
611
+ */
612
+ PageSize?: string;
613
+ /**
614
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
615
+ */
616
+ Token?: string;
617
+ }
618
+ /**
619
+ * <p>Provides information about all the recommender model configurations that are associated with your Amazon Pinpoint account.</p>
620
+ */
621
+ export interface ListRecommenderConfigurationsResponse {
622
+ /**
623
+ * <p>An array of responses, one for each recommender model configuration that's associated with your Amazon Pinpoint account.</p>
624
+ */
625
+ Item: RecommenderConfigurationResponse[] | undefined;
626
+ /**
627
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
628
+ */
629
+ NextToken?: string;
630
+ }
631
+ export interface GetRecommenderConfigurationsResponse {
632
+ /**
633
+ * <p>Provides information about all the recommender model configurations that are associated with your Amazon Pinpoint account.</p>
634
+ */
635
+ ListRecommenderConfigurationsResponse: ListRecommenderConfigurationsResponse | undefined;
636
+ }
637
+ export interface GetSegmentRequest {
638
+ /**
639
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
640
+ */
641
+ ApplicationId: string | undefined;
642
+ /**
643
+ * <p>The unique identifier for the segment.</p>
644
+ */
645
+ SegmentId: string | undefined;
646
+ }
647
+ export interface GetSegmentResponse {
648
+ /**
649
+ * <p>Provides information about the configuration, dimension, and other settings for a segment.</p>
650
+ */
651
+ SegmentResponse: SegmentResponse | undefined;
652
+ }
653
+ export interface GetSegmentExportJobsRequest {
654
+ /**
655
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
656
+ */
657
+ ApplicationId: string | undefined;
658
+ /**
659
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
660
+ */
661
+ PageSize?: string;
662
+ /**
663
+ * <p>The unique identifier for the segment.</p>
664
+ */
665
+ SegmentId: string | undefined;
666
+ /**
667
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
668
+ */
669
+ Token?: string;
670
+ }
671
+ export interface GetSegmentExportJobsResponse {
672
+ /**
673
+ * <p>Provides information about all the export jobs that are associated with an application or segment. An export job is a job that exports endpoint definitions to a file.</p>
674
+ */
675
+ ExportJobsResponse: ExportJobsResponse | undefined;
676
+ }
677
+ export interface GetSegmentImportJobsRequest {
678
+ /**
679
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
680
+ */
681
+ ApplicationId: string | undefined;
682
+ /**
683
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
684
+ */
685
+ PageSize?: string;
686
+ /**
687
+ * <p>The unique identifier for the segment.</p>
688
+ */
689
+ SegmentId: string | undefined;
690
+ /**
691
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
692
+ */
693
+ Token?: string;
694
+ }
695
+ export interface GetSegmentImportJobsResponse {
696
+ /**
697
+ * <p>Provides information about the status and settings of all the import jobs that are associated with an application or segment. An import job is a job that imports endpoint definitions from one or more files.</p>
698
+ */
699
+ ImportJobsResponse: ImportJobsResponse | undefined;
700
+ }
701
+ export interface GetSegmentsRequest {
702
+ /**
703
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
704
+ */
705
+ ApplicationId: string | undefined;
706
+ /**
707
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
708
+ */
709
+ PageSize?: string;
710
+ /**
711
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
712
+ */
713
+ Token?: string;
714
+ }
715
+ /**
716
+ * <p>Provides information about all the segments that are associated with an application.</p>
717
+ */
718
+ export interface SegmentsResponse {
719
+ /**
720
+ * <p>An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).</p>
721
+ */
722
+ Item: SegmentResponse[] | undefined;
723
+ /**
724
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
725
+ */
726
+ NextToken?: string;
727
+ }
728
+ export interface GetSegmentsResponse {
729
+ /**
730
+ * <p>Provides information about all the segments that are associated with an application.</p>
731
+ */
732
+ SegmentsResponse: SegmentsResponse | undefined;
733
+ }
734
+ export interface GetSegmentVersionRequest {
735
+ /**
736
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
737
+ */
738
+ ApplicationId: string | undefined;
739
+ /**
740
+ * <p>The unique identifier for the segment.</p>
741
+ */
742
+ SegmentId: string | undefined;
743
+ /**
744
+ * <p>The unique version number (Version property) for the campaign version.</p>
745
+ */
746
+ Version: string | undefined;
747
+ }
748
+ export interface GetSegmentVersionResponse {
749
+ /**
750
+ * <p>Provides information about the configuration, dimension, and other settings for a segment.</p>
751
+ */
752
+ SegmentResponse: SegmentResponse | undefined;
753
+ }
754
+ export interface GetSegmentVersionsRequest {
755
+ /**
756
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
757
+ */
758
+ ApplicationId: string | undefined;
759
+ /**
760
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
761
+ */
762
+ PageSize?: string;
763
+ /**
764
+ * <p>The unique identifier for the segment.</p>
765
+ */
766
+ SegmentId: string | undefined;
767
+ /**
768
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
769
+ */
770
+ Token?: string;
771
+ }
772
+ export interface GetSegmentVersionsResponse {
773
+ /**
774
+ * <p>Provides information about all the segments that are associated with an application.</p>
775
+ */
776
+ SegmentsResponse: SegmentsResponse | undefined;
777
+ }
778
+ export interface GetSmsChannelRequest {
779
+ /**
780
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
781
+ */
782
+ ApplicationId: string | undefined;
783
+ }
784
+ export interface GetSmsChannelResponse {
785
+ /**
786
+ * <p>Provides information about the status and settings of the SMS channel for an application.</p>
787
+ */
788
+ SMSChannelResponse: SMSChannelResponse | undefined;
789
+ }
790
+ export interface GetSmsTemplateRequest {
791
+ /**
792
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
793
+ */
794
+ TemplateName: string | undefined;
795
+ /**
796
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
797
+ */
798
+ Version?: string;
799
+ }
800
+ /**
801
+ * <p>Provides information about the content and settings for a message template that can be used in text messages that are sent through the SMS channel.</p>
802
+ */
803
+ export interface SMSTemplateResponse {
804
+ /**
805
+ * <p>The Amazon Resource Name (ARN) of the message template.</p>
806
+ */
807
+ Arn?: string;
808
+ /**
809
+ * <p>The message body that's used in text messages that are based on the message template.</p>
810
+ */
811
+ Body?: string;
812
+ /**
813
+ * <p>The date, in ISO 8601 format, when the message template was created.</p>
814
+ */
815
+ CreationDate: string | undefined;
816
+ /**
817
+ * <p>The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.</p>
818
+ */
819
+ DefaultSubstitutions?: string;
820
+ /**
821
+ * <p>The date, in ISO 8601 format, when the message template was last modified.</p>
822
+ */
823
+ LastModifiedDate: string | undefined;
824
+ /**
825
+ * <p>The unique identifier for the recommender model that's used by the message template.</p>
826
+ */
827
+ RecommenderId?: string;
828
+ /**
829
+ * <p>A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.</p>
830
+ */
831
+ tags?: Record<string, string>;
832
+ /**
833
+ * <p>The custom description of the message template.</p>
834
+ */
835
+ TemplateDescription?: string;
836
+ /**
837
+ * <p>The name of the message template.</p>
838
+ */
839
+ TemplateName: string | undefined;
840
+ /**
841
+ * <p>The type of channel that the message template is designed for. For an SMS template, this value is SMS.</p>
842
+ */
843
+ TemplateType: TemplateType | string | undefined;
844
+ /**
845
+ * <p>The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.</p>
846
+ */
847
+ Version?: string;
848
+ }
849
+ export interface GetSmsTemplateResponse {
850
+ /**
851
+ * <p>Provides information about the content and settings for a message template that can be used in text messages that are sent through the SMS channel.</p>
852
+ */
853
+ SMSTemplateResponse: SMSTemplateResponse | undefined;
854
+ }
855
+ export interface GetUserEndpointsRequest {
856
+ /**
857
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
858
+ */
859
+ ApplicationId: string | undefined;
860
+ /**
861
+ * <p>The unique identifier for the user.</p>
862
+ */
863
+ UserId: string | undefined;
864
+ }
865
+ export interface GetUserEndpointsResponse {
866
+ /**
867
+ * <p>Provides information about all the endpoints that are associated with a user ID.</p>
868
+ */
869
+ EndpointsResponse: EndpointsResponse | undefined;
870
+ }
871
+ export interface GetVoiceChannelRequest {
872
+ /**
873
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
874
+ */
875
+ ApplicationId: string | undefined;
876
+ }
877
+ export interface GetVoiceChannelResponse {
878
+ /**
879
+ * <p>Provides information about the status and settings of the voice channel for an application.</p>
880
+ */
881
+ VoiceChannelResponse: VoiceChannelResponse | undefined;
882
+ }
883
+ export interface GetVoiceTemplateRequest {
884
+ /**
885
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
886
+ */
887
+ TemplateName: string | undefined;
888
+ /**
889
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
890
+ */
891
+ Version?: string;
892
+ }
893
+ /**
894
+ * <p>Provides information about the content and settings for a message template that can be used in messages that are sent through the voice channel.</p>
895
+ */
896
+ export interface VoiceTemplateResponse {
897
+ /**
898
+ * <p>The Amazon Resource Name (ARN) of the message template.</p>
899
+ */
900
+ Arn?: string;
901
+ /**
902
+ * <p>The text of the script that's used in messages that are based on the message template, in plain text format.</p>
903
+ */
904
+ Body?: string;
905
+ /**
906
+ * <p>The date, in ISO 8601 format, when the message template was created.</p>
907
+ */
908
+ CreationDate: string | undefined;
909
+ /**
910
+ * <p>The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.</p>
911
+ */
912
+ DefaultSubstitutions?: string;
913
+ /**
914
+ * <p>The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/what-is.html">Amazon Polly Developer Guide</a>.</p>
915
+ */
916
+ LanguageCode?: string;
917
+ /**
918
+ * <p>The date, in ISO 8601 format, when the message template was last modified.</p>
919
+ */
920
+ LastModifiedDate: string | undefined;
921
+ /**
922
+ * <p>A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.</p>
923
+ */
924
+ tags?: Record<string, string>;
925
+ /**
926
+ * <p>The custom description of the message template.</p>
927
+ */
928
+ TemplateDescription?: string;
929
+ /**
930
+ * <p>The name of the message template.</p>
931
+ */
932
+ TemplateName: string | undefined;
933
+ /**
934
+ * <p>The type of channel that the message template is designed for. For a voice template, this value is VOICE.</p>
935
+ */
936
+ TemplateType: TemplateType | string | undefined;
937
+ /**
938
+ * <p>The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.</p>
939
+ */
940
+ Version?: string;
941
+ /**
942
+ * <p>The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/what-is.html">Amazon Polly Developer Guide</a>.</p>
943
+ */
944
+ VoiceId?: string;
945
+ }
946
+ export interface GetVoiceTemplateResponse {
947
+ /**
948
+ * <p>Provides information about the content and settings for a message template that can be used in messages that are sent through the voice channel.</p>
949
+ */
950
+ VoiceTemplateResponse: VoiceTemplateResponse | undefined;
951
+ }
952
+ /**
953
+ * <p>Provides information about the status, configuration, and other settings for all the journeys that are associated with an application.</p>
954
+ */
955
+ export interface JourneysResponse {
956
+ /**
957
+ * <p>An array of responses, one for each journey that's associated with the application.</p>
958
+ */
959
+ Item: JourneyResponse[] | undefined;
960
+ /**
961
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
962
+ */
963
+ NextToken?: string;
964
+ }
965
+ /**
966
+ * <p>Changes the status of a journey.</p>
967
+ */
968
+ export interface JourneyStateRequest {
969
+ /**
970
+ * <p>The status of the journey. Currently, Supported values are ACTIVE, PAUSED, and CANCELLED</p> <p>If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey.</p> <p>After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started.</p> <p>When the journey is paused, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Endpoints will stop entering journeys when the journey is paused and will resume entering the journey after the journey is resumed. For wait activities, wait time is paused when the journey is paused. Currently, PAUSED only supports journeys with a segment refresh interval.</p>
971
+ */
972
+ State?: State | string;
973
+ }
974
+ export interface ListJourneysRequest {
975
+ /**
976
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
977
+ */
978
+ ApplicationId: string | undefined;
979
+ /**
980
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
981
+ */
982
+ PageSize?: string;
983
+ /**
984
+ * <p>The NextToken string that specifies which page of results to return in a paginated response.</p>
985
+ */
986
+ Token?: string;
987
+ }
988
+ export interface ListJourneysResponse {
989
+ /**
990
+ * <p>Provides information about the status, configuration, and other settings for all the journeys that are associated with an application.</p>
991
+ */
992
+ JourneysResponse: JourneysResponse | undefined;
993
+ }
994
+ /**
995
+ * <p>Provides information about a message template that's associated with your Amazon Pinpoint account.</p>
996
+ */
997
+ export interface TemplateResponse {
998
+ /**
999
+ * <p>The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.</p>
1000
+ */
1001
+ Arn?: string;
1002
+ /**
1003
+ * <p>The date, in ISO 8601 format, when the message template was created.</p>
1004
+ */
1005
+ CreationDate: string | undefined;
1006
+ /**
1007
+ * <p>The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.</p>
1008
+ */
1009
+ DefaultSubstitutions?: string;
1010
+ /**
1011
+ * <p>The date, in ISO 8601 format, when the message template was last modified.</p>
1012
+ */
1013
+ LastModifiedDate: string | undefined;
1014
+ /**
1015
+ * <p>A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.</p>
1016
+ */
1017
+ tags?: Record<string, string>;
1018
+ /**
1019
+ * <p>The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.</p>
1020
+ */
1021
+ TemplateDescription?: string;
1022
+ /**
1023
+ * <p>The name of the message template.</p>
1024
+ */
1025
+ TemplateName: string | undefined;
1026
+ /**
1027
+ * <p>The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.</p>
1028
+ */
1029
+ TemplateType: TemplateType | string | undefined;
1030
+ /**
1031
+ * <p>The unique identifier, as an integer, for the active version of the message template.</p>
1032
+ */
1033
+ Version?: string;
1034
+ }
1035
+ /**
1036
+ * <p>Provides information about a specific version of a message template.</p>
1037
+ */
1038
+ export interface TemplateVersionResponse {
1039
+ /**
1040
+ * <p>The date, in ISO 8601 format, when the version of the message template was created.</p>
1041
+ */
1042
+ CreationDate: string | undefined;
1043
+ /**
1044
+ * <p>A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.</p>
1045
+ */
1046
+ DefaultSubstitutions?: string;
1047
+ /**
1048
+ * <p>The date, in ISO 8601 format, when the version of the message template was last modified.</p>
1049
+ */
1050
+ LastModifiedDate: string | undefined;
1051
+ /**
1052
+ * <p>The custom description of the version of the message template.</p>
1053
+ */
1054
+ TemplateDescription?: string;
1055
+ /**
1056
+ * <p>The name of the message template.</p>
1057
+ */
1058
+ TemplateName: string | undefined;
1059
+ /**
1060
+ * <p>The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.</p>
1061
+ */
1062
+ TemplateType: string | undefined;
1063
+ /**
1064
+ * <p>The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.</p>
1065
+ */
1066
+ Version?: string;
1067
+ }
1068
+ export interface ListTagsForResourceRequest {
1069
+ /**
1070
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1071
+ */
1072
+ ResourceArn: string | undefined;
1073
+ }
1074
+ /**
1075
+ * <p>Specifies the tags (keys and values) for an application, campaign, message template, or segment.</p>
1076
+ */
1077
+ export interface TagsModel {
1078
+ /**
1079
+ * <p>A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.</p> <p>Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
1080
+ */
1081
+ tags: Record<string, string> | undefined;
1082
+ }
1083
+ export interface ListTagsForResourceResponse {
1084
+ /**
1085
+ * <p>Specifies the tags (keys and values) for an application, campaign, message template, or segment.</p>
1086
+ */
1087
+ TagsModel: TagsModel | undefined;
1088
+ }
1089
+ export interface ListTemplatesRequest {
1090
+ /**
1091
+ * <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
1092
+ */
1093
+ NextToken?: string;
1094
+ /**
1095
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
1096
+ */
1097
+ PageSize?: string;
1098
+ /**
1099
+ * <p>The substring to match in the names of the message templates to include in the results. If you specify this value, Amazon Pinpoint returns only those templates whose names begin with the value that you specify.</p>
1100
+ */
1101
+ Prefix?: string;
1102
+ /**
1103
+ * <p>The type of message template to include in the results. Valid values are: EMAIL, PUSH, SMS, and VOICE. To include all types of templates in the results, don't include this parameter in your request.</p>
1104
+ */
1105
+ TemplateType?: string;
1106
+ }
1107
+ /**
1108
+ * <p>Provides information about all the message templates that are associated with your Amazon Pinpoint account.</p>
1109
+ */
1110
+ export interface TemplatesResponse {
1111
+ /**
1112
+ * <p>An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.</p>
1113
+ */
1114
+ Item: TemplateResponse[] | undefined;
1115
+ /**
1116
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
1117
+ */
1118
+ NextToken?: string;
1119
+ }
1120
+ export interface ListTemplatesResponse {
1121
+ /**
1122
+ * <p>Provides information about all the message templates that are associated with your Amazon Pinpoint account.</p>
1123
+ */
1124
+ TemplatesResponse: TemplatesResponse | undefined;
1125
+ }
1126
+ export interface ListTemplateVersionsRequest {
1127
+ /**
1128
+ * <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
1129
+ */
1130
+ NextToken?: string;
1131
+ /**
1132
+ * <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
1133
+ */
1134
+ PageSize?: string;
1135
+ /**
1136
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
1137
+ */
1138
+ TemplateName: string | undefined;
1139
+ /**
1140
+ * <p>The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.</p>
1141
+ */
1142
+ TemplateType: string | undefined;
1143
+ }
1144
+ /**
1145
+ * <p>Provides information about all the versions of a specific message template.</p>
1146
+ */
1147
+ export interface TemplateVersionsResponse {
1148
+ /**
1149
+ * <p>An array of responses, one for each version of the message template.</p>
1150
+ */
1151
+ Item: TemplateVersionResponse[] | undefined;
1152
+ /**
1153
+ * <p>The message that's returned from the API for the request to retrieve information about all the versions of the message template.</p>
1154
+ */
1155
+ Message?: string;
1156
+ /**
1157
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
1158
+ */
1159
+ NextToken?: string;
1160
+ /**
1161
+ * <p>The unique identifier for the request to retrieve information about all the versions of the message template.</p>
1162
+ */
1163
+ RequestID?: string;
1164
+ }
1165
+ export interface ListTemplateVersionsResponse {
1166
+ /**
1167
+ * <p>Provides information about all the versions of a specific message template.</p>
1168
+ */
1169
+ TemplateVersionsResponse: TemplateVersionsResponse | undefined;
1170
+ }
1171
+ /**
1172
+ * <p>Provides information about the results of sending a message directly to an endpoint address.</p>
1173
+ */
1174
+ export interface MessageResult {
1175
+ /**
1176
+ * <p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>
1177
+ */
1178
+ DeliveryStatus: DeliveryStatus | string | undefined;
1179
+ /**
1180
+ * <p>The unique identifier for the message that was sent.</p>
1181
+ */
1182
+ MessageId?: string;
1183
+ /**
1184
+ * <p>The downstream service status code for delivering the message.</p>
1185
+ */
1186
+ StatusCode: number | undefined;
1187
+ /**
1188
+ * <p>The status message for delivering the message.</p>
1189
+ */
1190
+ StatusMessage?: string;
1191
+ /**
1192
+ * <p>For push notifications that are sent through the GCM channel, specifies whether the endpoint's device registration token was updated as part of delivering the message.</p>
1193
+ */
1194
+ UpdatedToken?: string;
1195
+ }
1196
+ /**
1197
+ * <p>Specifies the configuration and other settings for a message.</p>
1198
+ */
1199
+ export interface MessageRequest {
1200
+ /**
1201
+ * <p>A map of key-value pairs, where each key is an address and each value is an <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-addressconfiguration">AddressConfiguration</a> object. An address can be a push notification token, a phone number, or an email address. You can use an <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-addressconfiguration">AddressConfiguration</a> object to tailor the message for an address by specifying settings such as content overrides and message variables.</p>
1202
+ */
1203
+ Addresses?: Record<string, AddressConfiguration>;
1204
+ /**
1205
+ * <p>A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.</p>
1206
+ */
1207
+ Context?: Record<string, string>;
1208
+ /**
1209
+ * <p>A map of key-value pairs, where each key is an endpoint ID and each value is an <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration">EndpointSendConfiguration</a> object. You can use an <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration">EndpointSendConfiguration</a> object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.</p>
1210
+ */
1211
+ Endpoints?: Record<string, EndpointSendConfiguration>;
1212
+ /**
1213
+ * <p>The settings and content for the default message and any default messages that you defined for specific channels.</p>
1214
+ */
1215
+ MessageConfiguration: DirectMessageConfiguration | undefined;
1216
+ /**
1217
+ * <p>The message template to use for the message.</p>
1218
+ */
1219
+ TemplateConfiguration?: TemplateConfiguration;
1220
+ /**
1221
+ * <p>The unique identifier for tracing the message. This identifier is visible to message recipients.</p>
1222
+ */
1223
+ TraceId?: string;
1224
+ }
1225
+ /**
1226
+ * <p>Provides information about the results of a request to send a message to an endpoint address.</p>
1227
+ */
1228
+ export interface MessageResponse {
1229
+ /**
1230
+ * <p>The unique identifier for the application that was used to send the message.</p>
1231
+ */
1232
+ ApplicationId: string | undefined;
1233
+ /**
1234
+ * <p>A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.</p>
1235
+ */
1236
+ EndpointResult?: Record<string, EndpointMessageResult>;
1237
+ /**
1238
+ * <p>The identifier for the original request that the message was delivered for.</p>
1239
+ */
1240
+ RequestId?: string;
1241
+ /**
1242
+ * <p>A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.</p>
1243
+ */
1244
+ Result?: Record<string, MessageResult>;
1245
+ }
1246
+ /**
1247
+ * <p>Specifies a phone number to validate and retrieve information about.</p>
1248
+ */
1249
+ export interface NumberValidateRequest {
1250
+ /**
1251
+ * <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.</p>
1252
+ */
1253
+ IsoCountryCode?: string;
1254
+ /**
1255
+ * <p>The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.</p>
1256
+ */
1257
+ PhoneNumber?: string;
1258
+ }
1259
+ /**
1260
+ * <p>Provides information about a phone number.</p>
1261
+ */
1262
+ export interface NumberValidateResponse {
1263
+ /**
1264
+ * <p>The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.</p>
1265
+ */
1266
+ Carrier?: string;
1267
+ /**
1268
+ * <p>The name of the city where the phone number was originally registered.</p>
1269
+ */
1270
+ City?: string;
1271
+ /**
1272
+ * <p>The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.</p>
1273
+ */
1274
+ CleansedPhoneNumberE164?: string;
1275
+ /**
1276
+ * <p>The cleansed phone number, in the format for the location where the phone number was originally registered.</p>
1277
+ */
1278
+ CleansedPhoneNumberNational?: string;
1279
+ /**
1280
+ * <p>The name of the country or region where the phone number was originally registered.</p>
1281
+ */
1282
+ Country?: string;
1283
+ /**
1284
+ * <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.</p>
1285
+ */
1286
+ CountryCodeIso2?: string;
1287
+ /**
1288
+ * <p>The numeric code for the country or region where the phone number was originally registered.</p>
1289
+ */
1290
+ CountryCodeNumeric?: string;
1291
+ /**
1292
+ * <p>The name of the county where the phone number was originally registered.</p>
1293
+ */
1294
+ County?: string;
1295
+ /**
1296
+ * <p>The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.</p>
1297
+ */
1298
+ OriginalCountryCodeIso2?: string;
1299
+ /**
1300
+ * <p>The phone number that was sent in the request body.</p>
1301
+ */
1302
+ OriginalPhoneNumber?: string;
1303
+ /**
1304
+ * <p>The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP,
1305
+ * INVALID, PREPAID, and OTHER.</p>
1306
+ */
1307
+ PhoneType?: string;
1308
+ /**
1309
+ * <p>The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).</p>
1310
+ */
1311
+ PhoneTypeCode?: number;
1312
+ /**
1313
+ * <p>The time zone for the location where the phone number was originally registered.</p>
1314
+ */
1315
+ Timezone?: string;
1316
+ /**
1317
+ * <p>The postal or ZIP code for the location where the phone number was originally registered.</p>
1318
+ */
1319
+ ZipCode?: string;
1320
+ }
1321
+ export interface PhoneNumberValidateRequest {
1322
+ /**
1323
+ * <p>Specifies a phone number to validate and retrieve information about.</p>
1324
+ */
1325
+ NumberValidateRequest: NumberValidateRequest | undefined;
1326
+ }
1327
+ export interface PhoneNumberValidateResponse {
1328
+ /**
1329
+ * <p>Provides information about a phone number.</p>
1330
+ */
1331
+ NumberValidateResponse: NumberValidateResponse | undefined;
1332
+ }
1333
+ export interface PutEventsRequest {
1334
+ /**
1335
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1336
+ */
1337
+ ApplicationId: string | undefined;
1338
+ /**
1339
+ * <p>Specifies a batch of events to process.</p>
1340
+ */
1341
+ EventsRequest: EventsRequest | undefined;
1342
+ }
1343
+ export interface PutEventsResponse {
1344
+ /**
1345
+ * <p>Provides information about endpoints and the events that they're associated with.</p>
1346
+ */
1347
+ EventsResponse: EventsResponse | undefined;
1348
+ }
1349
+ /**
1350
+ * <p>Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events.</p>
1351
+ */
1352
+ export interface WriteEventStream {
1353
+ /**
1354
+ * <p>The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.</p> <p>For a Kinesis data stream, the ARN format is: arn:aws:kinesis:<replaceable>region</replaceable>:<replaceable>account-id</replaceable>:stream/<replaceable>stream_name</replaceable>
1355
+ * </p> <p>For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:<replaceable>region</replaceable>:<replaceable>account-id</replaceable>:deliverystream/<replaceable>stream_name</replaceable>
1356
+ * </p>
1357
+ */
1358
+ DestinationStreamArn: string | undefined;
1359
+ /**
1360
+ * <p>The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.</p>
1361
+ */
1362
+ RoleArn: string | undefined;
1363
+ }
1364
+ export interface PutEventStreamRequest {
1365
+ /**
1366
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1367
+ */
1368
+ ApplicationId: string | undefined;
1369
+ /**
1370
+ * <p>Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events.</p>
1371
+ */
1372
+ WriteEventStream: WriteEventStream | undefined;
1373
+ }
1374
+ export interface PutEventStreamResponse {
1375
+ /**
1376
+ * <p>Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.</p>
1377
+ */
1378
+ EventStream: EventStream | undefined;
1379
+ }
1380
+ /**
1381
+ * <p>Specifies one or more attributes to remove from all the endpoints that are associated with an application.</p>
1382
+ */
1383
+ export interface UpdateAttributesRequest {
1384
+ /**
1385
+ * <p>An array of the attributes to remove from all the endpoints that are associated with the application. The array can specify the complete, exact name of each attribute to remove or it can specify a glob pattern that an attribute name must match in order for the attribute to be removed.</p>
1386
+ */
1387
+ Blacklist?: string[];
1388
+ }
1389
+ export interface RemoveAttributesRequest {
1390
+ /**
1391
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1392
+ */
1393
+ ApplicationId: string | undefined;
1394
+ /**
1395
+ * <p>The type of attribute or attributes to remove. Valid values are:</p> <ul><li><p>endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.</p></li> <li><p>endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.</p></li> <li><p>endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.</p></li></ul>
1396
+ */
1397
+ AttributeType: string | undefined;
1398
+ /**
1399
+ * <p>Specifies one or more attributes to remove from all the endpoints that are associated with an application.</p>
1400
+ */
1401
+ UpdateAttributesRequest: UpdateAttributesRequest | undefined;
1402
+ }
1403
+ export interface RemoveAttributesResponse {
1404
+ /**
1405
+ * <p>Provides information about the type and the names of attributes that were removed from all the endpoints that are associated with an application.</p>
1406
+ */
1407
+ AttributesResource: AttributesResource | undefined;
1408
+ }
1409
+ export interface SendMessagesRequest {
1410
+ /**
1411
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1412
+ */
1413
+ ApplicationId: string | undefined;
1414
+ /**
1415
+ * <p>Specifies the configuration and other settings for a message.</p>
1416
+ */
1417
+ MessageRequest: MessageRequest | undefined;
1418
+ }
1419
+ export interface SendMessagesResponse {
1420
+ /**
1421
+ * <p>Provides information about the results of a request to send a message to an endpoint address.</p>
1422
+ */
1423
+ MessageResponse: MessageResponse | undefined;
1424
+ }
1425
+ /**
1426
+ * <p>Send OTP message request parameters.</p>
1427
+ */
1428
+ export interface SendOTPMessageRequestParameters {
1429
+ /**
1430
+ * <p>The attempts allowed to validate an OTP.</p>
1431
+ */
1432
+ AllowedAttempts?: number;
1433
+ /**
1434
+ * <p>The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.</p>
1435
+ */
1436
+ BrandName: string | undefined;
1437
+ /**
1438
+ * <p>Channel type for the OTP message. Supported values: [SMS].</p>
1439
+ */
1440
+ Channel: string | undefined;
1441
+ /**
1442
+ * <p>The number of characters in the generated OTP.</p>
1443
+ */
1444
+ CodeLength?: number;
1445
+ /**
1446
+ * <p>The destination identity to send OTP to.</p>
1447
+ */
1448
+ DestinationIdentity: string | undefined;
1449
+ /**
1450
+ * <p>A unique Entity ID received from DLT after entity registration is approved.</p>
1451
+ */
1452
+ EntityId?: string;
1453
+ /**
1454
+ * <p>The language to be used for the outgoing message body containing the OTP.</p>
1455
+ */
1456
+ Language?: string;
1457
+ /**
1458
+ * <p>The origination identity used to send OTP from.</p>
1459
+ */
1460
+ OriginationIdentity: string | undefined;
1461
+ /**
1462
+ * <p>Developer-specified reference identifier. Required to match during OTP verification.</p>
1463
+ */
1464
+ ReferenceId: string | undefined;
1465
+ /**
1466
+ * <p>A unique Template ID received from DLT after entity registration is approved.</p>
1467
+ */
1468
+ TemplateId?: string;
1469
+ /**
1470
+ * <p>The time in minutes before the OTP is no longer valid.</p>
1471
+ */
1472
+ ValidityPeriod?: number;
1473
+ }
1474
+ export interface SendOTPMessageRequest {
1475
+ /**
1476
+ * <p>The unique ID of your Amazon Pinpoint application.</p>
1477
+ */
1478
+ ApplicationId: string | undefined;
1479
+ /**
1480
+ * <p>Send OTP message request parameters.</p>
1481
+ */
1482
+ SendOTPMessageRequestParameters: SendOTPMessageRequestParameters | undefined;
1483
+ }
1484
+ export interface SendOTPMessageResponse {
1485
+ /**
1486
+ * <p>Provides information about the results of a request to send a message to an endpoint address.</p>
1487
+ */
1488
+ MessageResponse: MessageResponse | undefined;
1489
+ }
1490
+ /**
1491
+ * <p>Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.</p>
1492
+ */
1493
+ export interface SendUsersMessageRequest {
1494
+ /**
1495
+ * <p>A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.</p>
1496
+ */
1497
+ Context?: Record<string, string>;
1498
+ /**
1499
+ * <p>The settings and content for the default message and any default messages that you defined for specific channels.</p>
1500
+ */
1501
+ MessageConfiguration: DirectMessageConfiguration | undefined;
1502
+ /**
1503
+ * <p>The message template to use for the message.</p>
1504
+ */
1505
+ TemplateConfiguration?: TemplateConfiguration;
1506
+ /**
1507
+ * <p>The unique identifier for tracing the message. This identifier is visible to message recipients.</p>
1508
+ */
1509
+ TraceId?: string;
1510
+ /**
1511
+ * <p>A map that associates user IDs with <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration">EndpointSendConfiguration</a> objects. You can use an <a href="https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration">EndpointSendConfiguration</a> object to tailor the message for a user by specifying settings such as content overrides and message variables.</p>
1512
+ */
1513
+ Users: Record<string, EndpointSendConfiguration> | undefined;
1514
+ }
1515
+ export interface SendUsersMessagesRequest {
1516
+ /**
1517
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1518
+ */
1519
+ ApplicationId: string | undefined;
1520
+ /**
1521
+ * <p>Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.</p>
1522
+ */
1523
+ SendUsersMessageRequest: SendUsersMessageRequest | undefined;
1524
+ }
1525
+ /**
1526
+ * <p>Provides information about which users and endpoints a message was sent to.</p>
1527
+ */
1528
+ export interface SendUsersMessageResponse {
1529
+ /**
1530
+ * <p>The unique identifier for the application that was used to send the message.</p>
1531
+ */
1532
+ ApplicationId: string | undefined;
1533
+ /**
1534
+ * <p>The unique identifier that was assigned to the message request.</p>
1535
+ */
1536
+ RequestId?: string;
1537
+ /**
1538
+ * <p>An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.</p>
1539
+ */
1540
+ Result?: Record<string, Record<string, EndpointMessageResult>>;
1541
+ }
1542
+ export interface SendUsersMessagesResponse {
1543
+ /**
1544
+ * <p>Provides information about which users and endpoints a message was sent to.</p>
1545
+ */
1546
+ SendUsersMessageResponse: SendUsersMessageResponse | undefined;
1547
+ }
1548
+ export interface TagResourceRequest {
1549
+ /**
1550
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1551
+ */
1552
+ ResourceArn: string | undefined;
1553
+ /**
1554
+ * <p>Specifies the tags (keys and values) for an application, campaign, message template, or segment.</p>
1555
+ */
1556
+ TagsModel: TagsModel | undefined;
1557
+ }
1558
+ export interface UntagResourceRequest {
1559
+ /**
1560
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1561
+ */
1562
+ ResourceArn: string | undefined;
1563
+ /**
1564
+ * <p>The key of the tag to remove from the resource. To remove multiple tags, append the tagKeys parameter and argument for each additional tag to remove, separated by an ampersand (&amp;).</p>
1565
+ */
1566
+ TagKeys: string[] | undefined;
1567
+ }
1568
+ export interface UpdateAdmChannelRequest {
1569
+ /**
1570
+ * <p>Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.</p>
1571
+ */
1572
+ ADMChannelRequest: ADMChannelRequest | undefined;
1573
+ /**
1574
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1575
+ */
1576
+ ApplicationId: string | undefined;
1577
+ }
1578
+ export interface UpdateAdmChannelResponse {
1579
+ /**
1580
+ * <p>Provides information about the status and settings of the ADM (Amazon Device Messaging) channel for an application.</p>
1581
+ */
1582
+ ADMChannelResponse: ADMChannelResponse | undefined;
1583
+ }
1584
+ export interface UpdateApnsChannelRequest {
1585
+ /**
1586
+ * <p>Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.</p>
1587
+ */
1588
+ APNSChannelRequest: APNSChannelRequest | undefined;
1589
+ /**
1590
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1591
+ */
1592
+ ApplicationId: string | undefined;
1593
+ }
1594
+ export interface UpdateApnsChannelResponse {
1595
+ /**
1596
+ * <p>Provides information about the status and settings of the APNs (Apple Push Notification service) channel for an application.</p>
1597
+ */
1598
+ APNSChannelResponse: APNSChannelResponse | undefined;
1599
+ }
1600
+ export interface UpdateApnsSandboxChannelRequest {
1601
+ /**
1602
+ * <p>Specifies the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.</p>
1603
+ */
1604
+ APNSSandboxChannelRequest: APNSSandboxChannelRequest | undefined;
1605
+ /**
1606
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1607
+ */
1608
+ ApplicationId: string | undefined;
1609
+ }
1610
+ export interface UpdateApnsSandboxChannelResponse {
1611
+ /**
1612
+ * <p>Provides information about the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.</p>
1613
+ */
1614
+ APNSSandboxChannelResponse: APNSSandboxChannelResponse | undefined;
1615
+ }
1616
+ export interface UpdateApnsVoipChannelRequest {
1617
+ /**
1618
+ * <p>Specifies the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.</p>
1619
+ */
1620
+ APNSVoipChannelRequest: APNSVoipChannelRequest | undefined;
1621
+ /**
1622
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1623
+ */
1624
+ ApplicationId: string | undefined;
1625
+ }
1626
+ export interface UpdateApnsVoipChannelResponse {
1627
+ /**
1628
+ * <p>Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.</p>
1629
+ */
1630
+ APNSVoipChannelResponse: APNSVoipChannelResponse | undefined;
1631
+ }
1632
+ export interface UpdateApnsVoipSandboxChannelRequest {
1633
+ /**
1634
+ * <p>Specifies the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application.</p>
1635
+ */
1636
+ APNSVoipSandboxChannelRequest: APNSVoipSandboxChannelRequest | undefined;
1637
+ /**
1638
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1639
+ */
1640
+ ApplicationId: string | undefined;
1641
+ }
1642
+ export interface UpdateApnsVoipSandboxChannelResponse {
1643
+ /**
1644
+ * <p>Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application.</p>
1645
+ */
1646
+ APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse | undefined;
1647
+ }
1648
+ /**
1649
+ * <p>Specifies the default settings for an application.</p>
1650
+ */
1651
+ export interface WriteApplicationSettingsRequest {
1652
+ /**
1653
+ * <p>The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.</p> <p>To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the <link linkend="apps-application-id-campaigns-campaign-id">Campaign</link> resource.</p>
1654
+ */
1655
+ CampaignHook?: CampaignHook;
1656
+ /**
1657
+ * <p>Specifies whether to enable application-related alarms in Amazon CloudWatch.</p>
1658
+ */
1659
+ CloudWatchMetricsEnabled?: boolean;
1660
+ EventTaggingEnabled?: boolean;
1661
+ /**
1662
+ * <p>The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the <link linkend="apps-application-id-campaigns-campaign-id">Campaign</link> resource or the <link linkend="apps-application-id-journeys-journey-id">Journey</link> resource, respectively.</p>
1663
+ */
1664
+ Limits?: CampaignLimits;
1665
+ /**
1666
+ * <p>The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met:</p> <ul><li><p>The EndpointDemographic.Timezone property of the endpoint is set to a valid value.</p></li> <li><p>The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings).</p></li> <li><p>The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings).</p></li></ul> <p>If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.</p> <p>To override the default quiet time settings for a specific campaign or journey, use the <link linkend="apps-application-id-campaigns-campaign-id">Campaign</link> resource or the <link linkend="apps-application-id-journeys-journey-id">Journey</link> resource to define a custom quiet time for the campaign or journey.</p>
1667
+ */
1668
+ QuietTime?: QuietTime;
1669
+ }
1670
+ export interface UpdateApplicationSettingsRequest {
1671
+ /**
1672
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1673
+ */
1674
+ ApplicationId: string | undefined;
1675
+ /**
1676
+ * <p>Specifies the default settings for an application.</p>
1677
+ */
1678
+ WriteApplicationSettingsRequest: WriteApplicationSettingsRequest | undefined;
1679
+ }
1680
+ export interface UpdateApplicationSettingsResponse {
1681
+ /**
1682
+ * <p>Provides information about an application, including the default settings for an application.</p>
1683
+ */
1684
+ ApplicationSettingsResource: ApplicationSettingsResource | undefined;
1685
+ }
1686
+ export interface UpdateBaiduChannelRequest {
1687
+ /**
1688
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1689
+ */
1690
+ ApplicationId: string | undefined;
1691
+ /**
1692
+ * <p>Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
1693
+ */
1694
+ BaiduChannelRequest: BaiduChannelRequest | undefined;
1695
+ }
1696
+ export interface UpdateBaiduChannelResponse {
1697
+ /**
1698
+ * <p>Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
1699
+ */
1700
+ BaiduChannelResponse: BaiduChannelResponse | undefined;
1701
+ }
1702
+ export interface UpdateCampaignRequest {
1703
+ /**
1704
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1705
+ */
1706
+ ApplicationId: string | undefined;
1707
+ /**
1708
+ * <p>The unique identifier for the campaign.</p>
1709
+ */
1710
+ CampaignId: string | undefined;
1711
+ /**
1712
+ * <p>Specifies the configuration and other settings for a campaign.</p>
1713
+ */
1714
+ WriteCampaignRequest: WriteCampaignRequest | undefined;
1715
+ }
1716
+ export interface UpdateCampaignResponse {
1717
+ /**
1718
+ * <p>Provides information about the status, configuration, and other settings for a campaign.</p>
1719
+ */
1720
+ CampaignResponse: CampaignResponse | undefined;
1721
+ }
1722
+ export interface UpdateEmailChannelRequest {
1723
+ /**
1724
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1725
+ */
1726
+ ApplicationId: string | undefined;
1727
+ /**
1728
+ * <p>Specifies the status and settings of the email channel for an application.</p>
1729
+ */
1730
+ EmailChannelRequest: EmailChannelRequest | undefined;
1731
+ }
1732
+ export interface UpdateEmailChannelResponse {
1733
+ /**
1734
+ * <p>Provides information about the status and settings of the email channel for an application.</p>
1735
+ */
1736
+ EmailChannelResponse: EmailChannelResponse | undefined;
1737
+ }
1738
+ export interface UpdateEmailTemplateRequest {
1739
+ /**
1740
+ * <p>Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.</p>
1741
+ */
1742
+ CreateNewVersion?: boolean;
1743
+ /**
1744
+ * <p>Specifies the content and settings for a message template that can be used in messages that are sent through the email channel.</p>
1745
+ */
1746
+ EmailTemplateRequest: EmailTemplateRequest | undefined;
1747
+ /**
1748
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
1749
+ */
1750
+ TemplateName: string | undefined;
1751
+ /**
1752
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
1753
+ */
1754
+ Version?: string;
1755
+ }
1756
+ export interface UpdateEmailTemplateResponse {
1757
+ /**
1758
+ * <p>Provides information about an API request or response.</p>
1759
+ */
1760
+ MessageBody: MessageBody | undefined;
1761
+ }
1762
+ export interface UpdateEndpointRequest {
1763
+ /**
1764
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1765
+ */
1766
+ ApplicationId: string | undefined;
1767
+ /**
1768
+ * <p>The unique identifier for the endpoint.</p>
1769
+ */
1770
+ EndpointId: string | undefined;
1771
+ /**
1772
+ * <p>Specifies the channel type and other settings for an endpoint.</p>
1773
+ */
1774
+ EndpointRequest: EndpointRequest | undefined;
1775
+ }
1776
+ export interface UpdateEndpointResponse {
1777
+ /**
1778
+ * <p>Provides information about an API request or response.</p>
1779
+ */
1780
+ MessageBody: MessageBody | undefined;
1781
+ }
1782
+ export interface UpdateEndpointsBatchRequest {
1783
+ /**
1784
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1785
+ */
1786
+ ApplicationId: string | undefined;
1787
+ /**
1788
+ * <p>Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint.</p>
1789
+ */
1790
+ EndpointBatchRequest: EndpointBatchRequest | undefined;
1791
+ }
1792
+ export interface UpdateEndpointsBatchResponse {
1793
+ /**
1794
+ * <p>Provides information about an API request or response.</p>
1795
+ */
1796
+ MessageBody: MessageBody | undefined;
1797
+ }
1798
+ export interface UpdateGcmChannelRequest {
1799
+ /**
1800
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1801
+ */
1802
+ ApplicationId: string | undefined;
1803
+ /**
1804
+ * <p>Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.</p>
1805
+ */
1806
+ GCMChannelRequest: GCMChannelRequest | undefined;
1807
+ }
1808
+ export interface UpdateGcmChannelResponse {
1809
+ /**
1810
+ * <p>Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.</p>
1811
+ */
1812
+ GCMChannelResponse: GCMChannelResponse | undefined;
1813
+ }
1814
+ export interface UpdateInAppTemplateRequest {
1815
+ /**
1816
+ * <p>Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.</p>
1817
+ */
1818
+ CreateNewVersion?: boolean;
1819
+ /**
1820
+ * <p>InApp Template Request.</p>
1821
+ */
1822
+ InAppTemplateRequest: InAppTemplateRequest | undefined;
1823
+ /**
1824
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
1825
+ */
1826
+ TemplateName: string | undefined;
1827
+ /**
1828
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
1829
+ */
1830
+ Version?: string;
1831
+ }
1832
+ export interface UpdateInAppTemplateResponse {
1833
+ /**
1834
+ * <p>Provides information about an API request or response.</p>
1835
+ */
1836
+ MessageBody: MessageBody | undefined;
1837
+ }
1838
+ export interface UpdateJourneyRequest {
1839
+ /**
1840
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1841
+ */
1842
+ ApplicationId: string | undefined;
1843
+ /**
1844
+ * <p>The unique identifier for the journey.</p>
1845
+ */
1846
+ JourneyId: string | undefined;
1847
+ /**
1848
+ * <p>Specifies the configuration and other settings for a journey.</p>
1849
+ */
1850
+ WriteJourneyRequest: WriteJourneyRequest | undefined;
1851
+ }
1852
+ export interface UpdateJourneyResponse {
1853
+ /**
1854
+ * <p>Provides information about the status, configuration, and other settings for a journey.</p>
1855
+ */
1856
+ JourneyResponse: JourneyResponse | undefined;
1857
+ }
1858
+ export interface UpdateJourneyStateRequest {
1859
+ /**
1860
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1861
+ */
1862
+ ApplicationId: string | undefined;
1863
+ /**
1864
+ * <p>The unique identifier for the journey.</p>
1865
+ */
1866
+ JourneyId: string | undefined;
1867
+ /**
1868
+ * <p>Changes the status of a journey.</p>
1869
+ */
1870
+ JourneyStateRequest: JourneyStateRequest | undefined;
1871
+ }
1872
+ export interface UpdateJourneyStateResponse {
1873
+ /**
1874
+ * <p>Provides information about the status, configuration, and other settings for a journey.</p>
1875
+ */
1876
+ JourneyResponse: JourneyResponse | undefined;
1877
+ }
1878
+ export interface UpdatePushTemplateRequest {
1879
+ /**
1880
+ * <p>Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.</p>
1881
+ */
1882
+ CreateNewVersion?: boolean;
1883
+ /**
1884
+ * <p>Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.</p>
1885
+ */
1886
+ PushNotificationTemplateRequest: PushNotificationTemplateRequest | undefined;
1887
+ /**
1888
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
1889
+ */
1890
+ TemplateName: string | undefined;
1891
+ /**
1892
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
1893
+ */
1894
+ Version?: string;
1895
+ }
1896
+ export interface UpdatePushTemplateResponse {
1897
+ /**
1898
+ * <p>Provides information about an API request or response.</p>
1899
+ */
1900
+ MessageBody: MessageBody | undefined;
1901
+ }
1902
+ /**
1903
+ * <p>Specifies Amazon Pinpoint configuration settings for retrieving and processing recommendation data from a recommender model.</p>
1904
+ */
1905
+ export interface UpdateRecommenderConfigurationShape {
1906
+ /**
1907
+ * <p>A map of key-value pairs that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.</p> <p>In the map, the key is the name of a custom attribute and the value is a custom display name for that attribute. The display name appears in the <b>Attribute finder</b> of the template editor on the Amazon Pinpoint console. The following restrictions apply to these names:</p> <ul><li><p>An attribute name must start with a letter or number and it can contain up to 50 characters. The characters can be letters, numbers, underscores (_), or hyphens (-). Attribute names are case sensitive and must be unique.</p></li> <li><p>An attribute display name must start with a letter or number and it can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).</p></li></ul> <p>This object is required if the configuration invokes an AWS Lambda function (RecommendationTransformerUri) to process recommendation data. Otherwise, don't include this object in your request.</p>
1908
+ */
1909
+ Attributes?: Record<string, string>;
1910
+ /**
1911
+ * <p>A custom description of the configuration for the recommender model. The description can contain up to 128 characters. The characters can be letters, numbers, spaces, or the following symbols: _ ; () , ‐.</p>
1912
+ */
1913
+ Description?: string;
1914
+ /**
1915
+ * <p>A custom name of the configuration for the recommender model. The name must start with a letter or number and it can contain up to 128 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-).</p>
1916
+ */
1917
+ Name?: string;
1918
+ /**
1919
+ * <p>The type of Amazon Pinpoint ID to associate with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Valid values are:</p> <ul><li><p>PINPOINT_ENDPOINT_ID - Associate each user in the model with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.</p></li> <li><p>PINPOINT_USER_ID - Associate each user in the model with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If you specify this value, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.</p></li></ul>
1920
+ */
1921
+ RecommendationProviderIdType?: string;
1922
+ /**
1923
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.</p>
1924
+ */
1925
+ RecommendationProviderRoleArn: string | undefined;
1926
+ /**
1927
+ * <p>The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.</p>
1928
+ */
1929
+ RecommendationProviderUri: string | undefined;
1930
+ /**
1931
+ * <p>The name or Amazon Resource Name (ARN) of the AWS Lambda function to invoke for additional processing of recommendation data that's retrieved from the recommender model.</p>
1932
+ */
1933
+ RecommendationTransformerUri?: string;
1934
+ /**
1935
+ * <p>A custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This value is required if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.</p> <p>This name appears in the <b>Attribute finder</b> of the template editor on the Amazon Pinpoint console. The name can contain up to 25 characters. The characters can be letters, numbers, spaces, underscores (_), or hyphens (-). These restrictions don't apply to attribute values.</p>
1936
+ */
1937
+ RecommendationsDisplayName?: string;
1938
+ /**
1939
+ * <p>The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.</p> <p>To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.</p>
1940
+ */
1941
+ RecommendationsPerMessage?: number;
1942
+ }
1943
+ export interface UpdateRecommenderConfigurationRequest {
1944
+ /**
1945
+ * <p>The unique identifier for the recommender model configuration. This identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint console.</p>
1946
+ */
1947
+ RecommenderId: string | undefined;
1948
+ /**
1949
+ * <p>Specifies Amazon Pinpoint configuration settings for retrieving and processing recommendation data from a recommender model.</p>
1950
+ */
1951
+ UpdateRecommenderConfiguration: UpdateRecommenderConfigurationShape | undefined;
1952
+ }
1953
+ export interface UpdateRecommenderConfigurationResponse {
1954
+ /**
1955
+ * <p>Provides information about Amazon Pinpoint configuration settings for retrieving and processing data from a recommender model.</p>
1956
+ */
1957
+ RecommenderConfigurationResponse: RecommenderConfigurationResponse | undefined;
1958
+ }
1959
+ export interface UpdateSegmentRequest {
1960
+ /**
1961
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1962
+ */
1963
+ ApplicationId: string | undefined;
1964
+ /**
1965
+ * <p>The unique identifier for the segment.</p>
1966
+ */
1967
+ SegmentId: string | undefined;
1968
+ /**
1969
+ * <p>Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.</p>
1970
+ */
1971
+ WriteSegmentRequest: WriteSegmentRequest | undefined;
1972
+ }
1973
+ export interface UpdateSegmentResponse {
1974
+ /**
1975
+ * <p>Provides information about the configuration, dimension, and other settings for a segment.</p>
1976
+ */
1977
+ SegmentResponse: SegmentResponse | undefined;
1978
+ }
1979
+ /**
1980
+ * <p>Specifies the status and settings of the SMS channel for an application.</p>
1981
+ */
1982
+ export interface SMSChannelRequest {
1983
+ /**
1984
+ * <p>Specifies whether to enable the SMS channel for the application.</p>
1985
+ */
1986
+ Enabled?: boolean;
1987
+ /**
1988
+ * <p>The identity that you want to display on recipients' devices when they receive messages from the SMS channel.</p>
1989
+ */
1990
+ SenderId?: string;
1991
+ /**
1992
+ * <p>The registered short code that you want to use when you send messages through the SMS channel.</p>
1993
+ */
1994
+ ShortCode?: string;
1995
+ }
1996
+ export interface UpdateSmsChannelRequest {
1997
+ /**
1998
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
1999
+ */
2000
+ ApplicationId: string | undefined;
2001
+ /**
2002
+ * <p>Specifies the status and settings of the SMS channel for an application.</p>
2003
+ */
2004
+ SMSChannelRequest: SMSChannelRequest | undefined;
2005
+ }
2006
+ export interface UpdateSmsChannelResponse {
2007
+ /**
2008
+ * <p>Provides information about the status and settings of the SMS channel for an application.</p>
2009
+ */
2010
+ SMSChannelResponse: SMSChannelResponse | undefined;
2011
+ }
2012
+ export interface UpdateSmsTemplateRequest {
2013
+ /**
2014
+ * <p>Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.</p>
2015
+ */
2016
+ CreateNewVersion?: boolean;
2017
+ /**
2018
+ * <p>Specifies the content and settings for a message template that can be used in text messages that are sent through the SMS channel.</p>
2019
+ */
2020
+ SMSTemplateRequest: SMSTemplateRequest | undefined;
2021
+ /**
2022
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
2023
+ */
2024
+ TemplateName: string | undefined;
2025
+ /**
2026
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
2027
+ */
2028
+ Version?: string;
2029
+ }
2030
+ export interface UpdateSmsTemplateResponse {
2031
+ /**
2032
+ * <p>Provides information about an API request or response.</p>
2033
+ */
2034
+ MessageBody: MessageBody | undefined;
2035
+ }
2036
+ /**
2037
+ * <p>Specifies which version of a message template to use as the active version of the template.</p>
2038
+ */
2039
+ export interface TemplateActiveVersionRequest {
2040
+ /**
2041
+ * <p>The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p>
2042
+ */
2043
+ Version?: string;
2044
+ }
2045
+ export interface UpdateTemplateActiveVersionRequest {
2046
+ /**
2047
+ * <p>Specifies which version of a message template to use as the active version of the template.</p>
2048
+ */
2049
+ TemplateActiveVersionRequest: TemplateActiveVersionRequest | undefined;
2050
+ /**
2051
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
2052
+ */
2053
+ TemplateName: string | undefined;
2054
+ /**
2055
+ * <p>The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.</p>
2056
+ */
2057
+ TemplateType: string | undefined;
2058
+ }
2059
+ export interface UpdateTemplateActiveVersionResponse {
2060
+ /**
2061
+ * <p>Provides information about an API request or response.</p>
2062
+ */
2063
+ MessageBody: MessageBody | undefined;
2064
+ }
2065
+ /**
2066
+ * <p>Specifies the status and settings of the voice channel for an application.</p>
2067
+ */
2068
+ export interface VoiceChannelRequest {
2069
+ /**
2070
+ * <p>Specifies whether to enable the voice channel for the application.</p>
2071
+ */
2072
+ Enabled?: boolean;
2073
+ }
2074
+ export interface UpdateVoiceChannelRequest {
2075
+ /**
2076
+ * <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
2077
+ */
2078
+ ApplicationId: string | undefined;
2079
+ /**
2080
+ * <p>Specifies the status and settings of the voice channel for an application.</p>
2081
+ */
2082
+ VoiceChannelRequest: VoiceChannelRequest | undefined;
2083
+ }
2084
+ export interface UpdateVoiceChannelResponse {
2085
+ /**
2086
+ * <p>Provides information about the status and settings of the voice channel for an application.</p>
2087
+ */
2088
+ VoiceChannelResponse: VoiceChannelResponse | undefined;
2089
+ }
2090
+ export interface UpdateVoiceTemplateRequest {
2091
+ /**
2092
+ * <p>Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.</p>
2093
+ */
2094
+ CreateNewVersion?: boolean;
2095
+ /**
2096
+ * <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
2097
+ */
2098
+ TemplateName: string | undefined;
2099
+ /**
2100
+ * <p>The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the <link linkend="templates-template-name-template-type-versions">Template Versions</link> resource.</p> <p>If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don't occur.</p> <p>If you don't specify a value for this parameter, Amazon Pinpoint does the following:</p> <ul><li><p>For a get operation, retrieves information about the active version of the template.</p></li> <li><p>For an update operation, saves the updates to (overwrites) the latest existing version of the template, if the create-new-version parameter isn't used or is set to false.</p></li> <li><p>For a delete operation, deletes the template, including all versions of the template.</p></li></ul>
2101
+ */
2102
+ Version?: string;
2103
+ /**
2104
+ * <p>Specifies the content and settings for a message template that can be used in messages that are sent through the voice channel.</p>
2105
+ */
2106
+ VoiceTemplateRequest: VoiceTemplateRequest | undefined;
2107
+ }
2108
+ export interface UpdateVoiceTemplateResponse {
2109
+ /**
2110
+ * <p>Provides information about an API request or response.</p>
2111
+ */
2112
+ MessageBody: MessageBody | undefined;
2113
+ }
2114
+ /**
2115
+ * <p>Verify OTP message request.</p>
2116
+ */
2117
+ export interface VerifyOTPMessageRequestParameters {
2118
+ /**
2119
+ * <p>The destination identity to send OTP to.</p>
2120
+ */
2121
+ DestinationIdentity: string | undefined;
2122
+ /**
2123
+ * <p>The OTP the end user provided for verification.</p>
2124
+ */
2125
+ Otp: string | undefined;
2126
+ /**
2127
+ * <p>The reference identifier provided when the OTP was previously sent.</p>
2128
+ */
2129
+ ReferenceId: string | undefined;
2130
+ }
2131
+ export interface VerifyOTPMessageRequest {
2132
+ /**
2133
+ * <p>The unique ID of your Amazon Pinpoint application.</p>
2134
+ */
2135
+ ApplicationId: string | undefined;
2136
+ /**
2137
+ * <p>Verify OTP message request.</p>
2138
+ */
2139
+ VerifyOTPMessageRequestParameters: VerifyOTPMessageRequestParameters | undefined;
2140
+ }
2141
+ /**
2142
+ * <p>Verify OTP Message Response.</p>
2143
+ */
2144
+ export interface VerificationResponse {
2145
+ /**
2146
+ * <p>Specifies whether the OTP is valid or not.</p>
2147
+ */
2148
+ Valid?: boolean;
2149
+ }
2150
+ export interface VerifyOTPMessageResponse {
2151
+ /**
2152
+ * <p>Verify OTP Message Response.</p>
2153
+ */
2154
+ VerificationResponse: VerificationResponse | undefined;
2155
+ }
2156
+ /**
2157
+ * @internal
2158
+ */
2159
+ export declare const GetChannelsRequestFilterSensitiveLog: (obj: GetChannelsRequest) => any;
2160
+ /**
2161
+ * @internal
2162
+ */
2163
+ export declare const GetChannelsResponseFilterSensitiveLog: (obj: GetChannelsResponse) => any;
2164
+ /**
2165
+ * @internal
2166
+ */
2167
+ export declare const GetEmailChannelRequestFilterSensitiveLog: (obj: GetEmailChannelRequest) => any;
2168
+ /**
2169
+ * @internal
2170
+ */
2171
+ export declare const GetEmailChannelResponseFilterSensitiveLog: (obj: GetEmailChannelResponse) => any;
2172
+ /**
2173
+ * @internal
2174
+ */
2175
+ export declare const GetEmailTemplateRequestFilterSensitiveLog: (obj: GetEmailTemplateRequest) => any;
2176
+ /**
2177
+ * @internal
2178
+ */
2179
+ export declare const GetEmailTemplateResponseFilterSensitiveLog: (obj: GetEmailTemplateResponse) => any;
2180
+ /**
2181
+ * @internal
2182
+ */
2183
+ export declare const GetEndpointRequestFilterSensitiveLog: (obj: GetEndpointRequest) => any;
2184
+ /**
2185
+ * @internal
2186
+ */
2187
+ export declare const GetEndpointResponseFilterSensitiveLog: (obj: GetEndpointResponse) => any;
2188
+ /**
2189
+ * @internal
2190
+ */
2191
+ export declare const GetEventStreamRequestFilterSensitiveLog: (obj: GetEventStreamRequest) => any;
2192
+ /**
2193
+ * @internal
2194
+ */
2195
+ export declare const GetEventStreamResponseFilterSensitiveLog: (obj: GetEventStreamResponse) => any;
2196
+ /**
2197
+ * @internal
2198
+ */
2199
+ export declare const GetExportJobRequestFilterSensitiveLog: (obj: GetExportJobRequest) => any;
2200
+ /**
2201
+ * @internal
2202
+ */
2203
+ export declare const GetExportJobResponseFilterSensitiveLog: (obj: GetExportJobResponse) => any;
2204
+ /**
2205
+ * @internal
2206
+ */
2207
+ export declare const GetExportJobsRequestFilterSensitiveLog: (obj: GetExportJobsRequest) => any;
2208
+ /**
2209
+ * @internal
2210
+ */
2211
+ export declare const GetExportJobsResponseFilterSensitiveLog: (obj: GetExportJobsResponse) => any;
2212
+ /**
2213
+ * @internal
2214
+ */
2215
+ export declare const GetGcmChannelRequestFilterSensitiveLog: (obj: GetGcmChannelRequest) => any;
2216
+ /**
2217
+ * @internal
2218
+ */
2219
+ export declare const GetGcmChannelResponseFilterSensitiveLog: (obj: GetGcmChannelResponse) => any;
2220
+ /**
2221
+ * @internal
2222
+ */
2223
+ export declare const GetImportJobRequestFilterSensitiveLog: (obj: GetImportJobRequest) => any;
2224
+ /**
2225
+ * @internal
2226
+ */
2227
+ export declare const GetImportJobResponseFilterSensitiveLog: (obj: GetImportJobResponse) => any;
2228
+ /**
2229
+ * @internal
2230
+ */
2231
+ export declare const GetImportJobsRequestFilterSensitiveLog: (obj: GetImportJobsRequest) => any;
2232
+ /**
2233
+ * @internal
2234
+ */
2235
+ export declare const ImportJobsResponseFilterSensitiveLog: (obj: ImportJobsResponse) => any;
2236
+ /**
2237
+ * @internal
2238
+ */
2239
+ export declare const GetImportJobsResponseFilterSensitiveLog: (obj: GetImportJobsResponse) => any;
2240
+ /**
2241
+ * @internal
2242
+ */
2243
+ export declare const GetInAppMessagesRequestFilterSensitiveLog: (obj: GetInAppMessagesRequest) => any;
2244
+ /**
2245
+ * @internal
2246
+ */
2247
+ export declare const InAppMessageFilterSensitiveLog: (obj: InAppMessage) => any;
2248
+ /**
2249
+ * @internal
2250
+ */
2251
+ export declare const InAppCampaignScheduleFilterSensitiveLog: (obj: InAppCampaignSchedule) => any;
2252
+ /**
2253
+ * @internal
2254
+ */
2255
+ export declare const InAppMessageCampaignFilterSensitiveLog: (obj: InAppMessageCampaign) => any;
2256
+ /**
2257
+ * @internal
2258
+ */
2259
+ export declare const InAppMessagesResponseFilterSensitiveLog: (obj: InAppMessagesResponse) => any;
2260
+ /**
2261
+ * @internal
2262
+ */
2263
+ export declare const GetInAppMessagesResponseFilterSensitiveLog: (obj: GetInAppMessagesResponse) => any;
2264
+ /**
2265
+ * @internal
2266
+ */
2267
+ export declare const GetInAppTemplateRequestFilterSensitiveLog: (obj: GetInAppTemplateRequest) => any;
2268
+ /**
2269
+ * @internal
2270
+ */
2271
+ export declare const InAppTemplateResponseFilterSensitiveLog: (obj: InAppTemplateResponse) => any;
2272
+ /**
2273
+ * @internal
2274
+ */
2275
+ export declare const GetInAppTemplateResponseFilterSensitiveLog: (obj: GetInAppTemplateResponse) => any;
2276
+ /**
2277
+ * @internal
2278
+ */
2279
+ export declare const GetJourneyRequestFilterSensitiveLog: (obj: GetJourneyRequest) => any;
2280
+ /**
2281
+ * @internal
2282
+ */
2283
+ export declare const GetJourneyResponseFilterSensitiveLog: (obj: GetJourneyResponse) => any;
2284
+ /**
2285
+ * @internal
2286
+ */
2287
+ export declare const GetJourneyDateRangeKpiRequestFilterSensitiveLog: (obj: GetJourneyDateRangeKpiRequest) => any;
2288
+ /**
2289
+ * @internal
2290
+ */
2291
+ export declare const JourneyDateRangeKpiResponseFilterSensitiveLog: (obj: JourneyDateRangeKpiResponse) => any;
2292
+ /**
2293
+ * @internal
2294
+ */
2295
+ export declare const GetJourneyDateRangeKpiResponseFilterSensitiveLog: (obj: GetJourneyDateRangeKpiResponse) => any;
2296
+ /**
2297
+ * @internal
2298
+ */
2299
+ export declare const GetJourneyExecutionActivityMetricsRequestFilterSensitiveLog: (obj: GetJourneyExecutionActivityMetricsRequest) => any;
2300
+ /**
2301
+ * @internal
2302
+ */
2303
+ export declare const JourneyExecutionActivityMetricsResponseFilterSensitiveLog: (obj: JourneyExecutionActivityMetricsResponse) => any;
2304
+ /**
2305
+ * @internal
2306
+ */
2307
+ export declare const GetJourneyExecutionActivityMetricsResponseFilterSensitiveLog: (obj: GetJourneyExecutionActivityMetricsResponse) => any;
2308
+ /**
2309
+ * @internal
2310
+ */
2311
+ export declare const GetJourneyExecutionMetricsRequestFilterSensitiveLog: (obj: GetJourneyExecutionMetricsRequest) => any;
2312
+ /**
2313
+ * @internal
2314
+ */
2315
+ export declare const JourneyExecutionMetricsResponseFilterSensitiveLog: (obj: JourneyExecutionMetricsResponse) => any;
2316
+ /**
2317
+ * @internal
2318
+ */
2319
+ export declare const GetJourneyExecutionMetricsResponseFilterSensitiveLog: (obj: GetJourneyExecutionMetricsResponse) => any;
2320
+ /**
2321
+ * @internal
2322
+ */
2323
+ export declare const GetPushTemplateRequestFilterSensitiveLog: (obj: GetPushTemplateRequest) => any;
2324
+ /**
2325
+ * @internal
2326
+ */
2327
+ export declare const PushNotificationTemplateResponseFilterSensitiveLog: (obj: PushNotificationTemplateResponse) => any;
2328
+ /**
2329
+ * @internal
2330
+ */
2331
+ export declare const GetPushTemplateResponseFilterSensitiveLog: (obj: GetPushTemplateResponse) => any;
2332
+ /**
2333
+ * @internal
2334
+ */
2335
+ export declare const GetRecommenderConfigurationRequestFilterSensitiveLog: (obj: GetRecommenderConfigurationRequest) => any;
2336
+ /**
2337
+ * @internal
2338
+ */
2339
+ export declare const GetRecommenderConfigurationResponseFilterSensitiveLog: (obj: GetRecommenderConfigurationResponse) => any;
2340
+ /**
2341
+ * @internal
2342
+ */
2343
+ export declare const GetRecommenderConfigurationsRequestFilterSensitiveLog: (obj: GetRecommenderConfigurationsRequest) => any;
2344
+ /**
2345
+ * @internal
2346
+ */
2347
+ export declare const ListRecommenderConfigurationsResponseFilterSensitiveLog: (obj: ListRecommenderConfigurationsResponse) => any;
2348
+ /**
2349
+ * @internal
2350
+ */
2351
+ export declare const GetRecommenderConfigurationsResponseFilterSensitiveLog: (obj: GetRecommenderConfigurationsResponse) => any;
2352
+ /**
2353
+ * @internal
2354
+ */
2355
+ export declare const GetSegmentRequestFilterSensitiveLog: (obj: GetSegmentRequest) => any;
2356
+ /**
2357
+ * @internal
2358
+ */
2359
+ export declare const GetSegmentResponseFilterSensitiveLog: (obj: GetSegmentResponse) => any;
2360
+ /**
2361
+ * @internal
2362
+ */
2363
+ export declare const GetSegmentExportJobsRequestFilterSensitiveLog: (obj: GetSegmentExportJobsRequest) => any;
2364
+ /**
2365
+ * @internal
2366
+ */
2367
+ export declare const GetSegmentExportJobsResponseFilterSensitiveLog: (obj: GetSegmentExportJobsResponse) => any;
2368
+ /**
2369
+ * @internal
2370
+ */
2371
+ export declare const GetSegmentImportJobsRequestFilterSensitiveLog: (obj: GetSegmentImportJobsRequest) => any;
2372
+ /**
2373
+ * @internal
2374
+ */
2375
+ export declare const GetSegmentImportJobsResponseFilterSensitiveLog: (obj: GetSegmentImportJobsResponse) => any;
2376
+ /**
2377
+ * @internal
2378
+ */
2379
+ export declare const GetSegmentsRequestFilterSensitiveLog: (obj: GetSegmentsRequest) => any;
2380
+ /**
2381
+ * @internal
2382
+ */
2383
+ export declare const SegmentsResponseFilterSensitiveLog: (obj: SegmentsResponse) => any;
2384
+ /**
2385
+ * @internal
2386
+ */
2387
+ export declare const GetSegmentsResponseFilterSensitiveLog: (obj: GetSegmentsResponse) => any;
2388
+ /**
2389
+ * @internal
2390
+ */
2391
+ export declare const GetSegmentVersionRequestFilterSensitiveLog: (obj: GetSegmentVersionRequest) => any;
2392
+ /**
2393
+ * @internal
2394
+ */
2395
+ export declare const GetSegmentVersionResponseFilterSensitiveLog: (obj: GetSegmentVersionResponse) => any;
2396
+ /**
2397
+ * @internal
2398
+ */
2399
+ export declare const GetSegmentVersionsRequestFilterSensitiveLog: (obj: GetSegmentVersionsRequest) => any;
2400
+ /**
2401
+ * @internal
2402
+ */
2403
+ export declare const GetSegmentVersionsResponseFilterSensitiveLog: (obj: GetSegmentVersionsResponse) => any;
2404
+ /**
2405
+ * @internal
2406
+ */
2407
+ export declare const GetSmsChannelRequestFilterSensitiveLog: (obj: GetSmsChannelRequest) => any;
2408
+ /**
2409
+ * @internal
2410
+ */
2411
+ export declare const GetSmsChannelResponseFilterSensitiveLog: (obj: GetSmsChannelResponse) => any;
2412
+ /**
2413
+ * @internal
2414
+ */
2415
+ export declare const GetSmsTemplateRequestFilterSensitiveLog: (obj: GetSmsTemplateRequest) => any;
2416
+ /**
2417
+ * @internal
2418
+ */
2419
+ export declare const SMSTemplateResponseFilterSensitiveLog: (obj: SMSTemplateResponse) => any;
2420
+ /**
2421
+ * @internal
2422
+ */
2423
+ export declare const GetSmsTemplateResponseFilterSensitiveLog: (obj: GetSmsTemplateResponse) => any;
2424
+ /**
2425
+ * @internal
2426
+ */
2427
+ export declare const GetUserEndpointsRequestFilterSensitiveLog: (obj: GetUserEndpointsRequest) => any;
2428
+ /**
2429
+ * @internal
2430
+ */
2431
+ export declare const GetUserEndpointsResponseFilterSensitiveLog: (obj: GetUserEndpointsResponse) => any;
2432
+ /**
2433
+ * @internal
2434
+ */
2435
+ export declare const GetVoiceChannelRequestFilterSensitiveLog: (obj: GetVoiceChannelRequest) => any;
2436
+ /**
2437
+ * @internal
2438
+ */
2439
+ export declare const GetVoiceChannelResponseFilterSensitiveLog: (obj: GetVoiceChannelResponse) => any;
2440
+ /**
2441
+ * @internal
2442
+ */
2443
+ export declare const GetVoiceTemplateRequestFilterSensitiveLog: (obj: GetVoiceTemplateRequest) => any;
2444
+ /**
2445
+ * @internal
2446
+ */
2447
+ export declare const VoiceTemplateResponseFilterSensitiveLog: (obj: VoiceTemplateResponse) => any;
2448
+ /**
2449
+ * @internal
2450
+ */
2451
+ export declare const GetVoiceTemplateResponseFilterSensitiveLog: (obj: GetVoiceTemplateResponse) => any;
2452
+ /**
2453
+ * @internal
2454
+ */
2455
+ export declare const JourneysResponseFilterSensitiveLog: (obj: JourneysResponse) => any;
2456
+ /**
2457
+ * @internal
2458
+ */
2459
+ export declare const JourneyStateRequestFilterSensitiveLog: (obj: JourneyStateRequest) => any;
2460
+ /**
2461
+ * @internal
2462
+ */
2463
+ export declare const ListJourneysRequestFilterSensitiveLog: (obj: ListJourneysRequest) => any;
2464
+ /**
2465
+ * @internal
2466
+ */
2467
+ export declare const ListJourneysResponseFilterSensitiveLog: (obj: ListJourneysResponse) => any;
2468
+ /**
2469
+ * @internal
2470
+ */
2471
+ export declare const TemplateResponseFilterSensitiveLog: (obj: TemplateResponse) => any;
2472
+ /**
2473
+ * @internal
2474
+ */
2475
+ export declare const TemplateVersionResponseFilterSensitiveLog: (obj: TemplateVersionResponse) => any;
2476
+ /**
2477
+ * @internal
2478
+ */
2479
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2480
+ /**
2481
+ * @internal
2482
+ */
2483
+ export declare const TagsModelFilterSensitiveLog: (obj: TagsModel) => any;
2484
+ /**
2485
+ * @internal
2486
+ */
2487
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2488
+ /**
2489
+ * @internal
2490
+ */
2491
+ export declare const ListTemplatesRequestFilterSensitiveLog: (obj: ListTemplatesRequest) => any;
2492
+ /**
2493
+ * @internal
2494
+ */
2495
+ export declare const TemplatesResponseFilterSensitiveLog: (obj: TemplatesResponse) => any;
2496
+ /**
2497
+ * @internal
2498
+ */
2499
+ export declare const ListTemplatesResponseFilterSensitiveLog: (obj: ListTemplatesResponse) => any;
2500
+ /**
2501
+ * @internal
2502
+ */
2503
+ export declare const ListTemplateVersionsRequestFilterSensitiveLog: (obj: ListTemplateVersionsRequest) => any;
2504
+ /**
2505
+ * @internal
2506
+ */
2507
+ export declare const TemplateVersionsResponseFilterSensitiveLog: (obj: TemplateVersionsResponse) => any;
2508
+ /**
2509
+ * @internal
2510
+ */
2511
+ export declare const ListTemplateVersionsResponseFilterSensitiveLog: (obj: ListTemplateVersionsResponse) => any;
2512
+ /**
2513
+ * @internal
2514
+ */
2515
+ export declare const MessageResultFilterSensitiveLog: (obj: MessageResult) => any;
2516
+ /**
2517
+ * @internal
2518
+ */
2519
+ export declare const MessageRequestFilterSensitiveLog: (obj: MessageRequest) => any;
2520
+ /**
2521
+ * @internal
2522
+ */
2523
+ export declare const MessageResponseFilterSensitiveLog: (obj: MessageResponse) => any;
2524
+ /**
2525
+ * @internal
2526
+ */
2527
+ export declare const NumberValidateRequestFilterSensitiveLog: (obj: NumberValidateRequest) => any;
2528
+ /**
2529
+ * @internal
2530
+ */
2531
+ export declare const NumberValidateResponseFilterSensitiveLog: (obj: NumberValidateResponse) => any;
2532
+ /**
2533
+ * @internal
2534
+ */
2535
+ export declare const PhoneNumberValidateRequestFilterSensitiveLog: (obj: PhoneNumberValidateRequest) => any;
2536
+ /**
2537
+ * @internal
2538
+ */
2539
+ export declare const PhoneNumberValidateResponseFilterSensitiveLog: (obj: PhoneNumberValidateResponse) => any;
2540
+ /**
2541
+ * @internal
2542
+ */
2543
+ export declare const PutEventsRequestFilterSensitiveLog: (obj: PutEventsRequest) => any;
2544
+ /**
2545
+ * @internal
2546
+ */
2547
+ export declare const PutEventsResponseFilterSensitiveLog: (obj: PutEventsResponse) => any;
2548
+ /**
2549
+ * @internal
2550
+ */
2551
+ export declare const WriteEventStreamFilterSensitiveLog: (obj: WriteEventStream) => any;
2552
+ /**
2553
+ * @internal
2554
+ */
2555
+ export declare const PutEventStreamRequestFilterSensitiveLog: (obj: PutEventStreamRequest) => any;
2556
+ /**
2557
+ * @internal
2558
+ */
2559
+ export declare const PutEventStreamResponseFilterSensitiveLog: (obj: PutEventStreamResponse) => any;
2560
+ /**
2561
+ * @internal
2562
+ */
2563
+ export declare const UpdateAttributesRequestFilterSensitiveLog: (obj: UpdateAttributesRequest) => any;
2564
+ /**
2565
+ * @internal
2566
+ */
2567
+ export declare const RemoveAttributesRequestFilterSensitiveLog: (obj: RemoveAttributesRequest) => any;
2568
+ /**
2569
+ * @internal
2570
+ */
2571
+ export declare const RemoveAttributesResponseFilterSensitiveLog: (obj: RemoveAttributesResponse) => any;
2572
+ /**
2573
+ * @internal
2574
+ */
2575
+ export declare const SendMessagesRequestFilterSensitiveLog: (obj: SendMessagesRequest) => any;
2576
+ /**
2577
+ * @internal
2578
+ */
2579
+ export declare const SendMessagesResponseFilterSensitiveLog: (obj: SendMessagesResponse) => any;
2580
+ /**
2581
+ * @internal
2582
+ */
2583
+ export declare const SendOTPMessageRequestParametersFilterSensitiveLog: (obj: SendOTPMessageRequestParameters) => any;
2584
+ /**
2585
+ * @internal
2586
+ */
2587
+ export declare const SendOTPMessageRequestFilterSensitiveLog: (obj: SendOTPMessageRequest) => any;
2588
+ /**
2589
+ * @internal
2590
+ */
2591
+ export declare const SendOTPMessageResponseFilterSensitiveLog: (obj: SendOTPMessageResponse) => any;
2592
+ /**
2593
+ * @internal
2594
+ */
2595
+ export declare const SendUsersMessageRequestFilterSensitiveLog: (obj: SendUsersMessageRequest) => any;
2596
+ /**
2597
+ * @internal
2598
+ */
2599
+ export declare const SendUsersMessagesRequestFilterSensitiveLog: (obj: SendUsersMessagesRequest) => any;
2600
+ /**
2601
+ * @internal
2602
+ */
2603
+ export declare const SendUsersMessageResponseFilterSensitiveLog: (obj: SendUsersMessageResponse) => any;
2604
+ /**
2605
+ * @internal
2606
+ */
2607
+ export declare const SendUsersMessagesResponseFilterSensitiveLog: (obj: SendUsersMessagesResponse) => any;
2608
+ /**
2609
+ * @internal
2610
+ */
2611
+ export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
2612
+ /**
2613
+ * @internal
2614
+ */
2615
+ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
2616
+ /**
2617
+ * @internal
2618
+ */
2619
+ export declare const UpdateAdmChannelRequestFilterSensitiveLog: (obj: UpdateAdmChannelRequest) => any;
2620
+ /**
2621
+ * @internal
2622
+ */
2623
+ export declare const UpdateAdmChannelResponseFilterSensitiveLog: (obj: UpdateAdmChannelResponse) => any;
2624
+ /**
2625
+ * @internal
2626
+ */
2627
+ export declare const UpdateApnsChannelRequestFilterSensitiveLog: (obj: UpdateApnsChannelRequest) => any;
2628
+ /**
2629
+ * @internal
2630
+ */
2631
+ export declare const UpdateApnsChannelResponseFilterSensitiveLog: (obj: UpdateApnsChannelResponse) => any;
2632
+ /**
2633
+ * @internal
2634
+ */
2635
+ export declare const UpdateApnsSandboxChannelRequestFilterSensitiveLog: (obj: UpdateApnsSandboxChannelRequest) => any;
2636
+ /**
2637
+ * @internal
2638
+ */
2639
+ export declare const UpdateApnsSandboxChannelResponseFilterSensitiveLog: (obj: UpdateApnsSandboxChannelResponse) => any;
2640
+ /**
2641
+ * @internal
2642
+ */
2643
+ export declare const UpdateApnsVoipChannelRequestFilterSensitiveLog: (obj: UpdateApnsVoipChannelRequest) => any;
2644
+ /**
2645
+ * @internal
2646
+ */
2647
+ export declare const UpdateApnsVoipChannelResponseFilterSensitiveLog: (obj: UpdateApnsVoipChannelResponse) => any;
2648
+ /**
2649
+ * @internal
2650
+ */
2651
+ export declare const UpdateApnsVoipSandboxChannelRequestFilterSensitiveLog: (obj: UpdateApnsVoipSandboxChannelRequest) => any;
2652
+ /**
2653
+ * @internal
2654
+ */
2655
+ export declare const UpdateApnsVoipSandboxChannelResponseFilterSensitiveLog: (obj: UpdateApnsVoipSandboxChannelResponse) => any;
2656
+ /**
2657
+ * @internal
2658
+ */
2659
+ export declare const WriteApplicationSettingsRequestFilterSensitiveLog: (obj: WriteApplicationSettingsRequest) => any;
2660
+ /**
2661
+ * @internal
2662
+ */
2663
+ export declare const UpdateApplicationSettingsRequestFilterSensitiveLog: (obj: UpdateApplicationSettingsRequest) => any;
2664
+ /**
2665
+ * @internal
2666
+ */
2667
+ export declare const UpdateApplicationSettingsResponseFilterSensitiveLog: (obj: UpdateApplicationSettingsResponse) => any;
2668
+ /**
2669
+ * @internal
2670
+ */
2671
+ export declare const UpdateBaiduChannelRequestFilterSensitiveLog: (obj: UpdateBaiduChannelRequest) => any;
2672
+ /**
2673
+ * @internal
2674
+ */
2675
+ export declare const UpdateBaiduChannelResponseFilterSensitiveLog: (obj: UpdateBaiduChannelResponse) => any;
2676
+ /**
2677
+ * @internal
2678
+ */
2679
+ export declare const UpdateCampaignRequestFilterSensitiveLog: (obj: UpdateCampaignRequest) => any;
2680
+ /**
2681
+ * @internal
2682
+ */
2683
+ export declare const UpdateCampaignResponseFilterSensitiveLog: (obj: UpdateCampaignResponse) => any;
2684
+ /**
2685
+ * @internal
2686
+ */
2687
+ export declare const UpdateEmailChannelRequestFilterSensitiveLog: (obj: UpdateEmailChannelRequest) => any;
2688
+ /**
2689
+ * @internal
2690
+ */
2691
+ export declare const UpdateEmailChannelResponseFilterSensitiveLog: (obj: UpdateEmailChannelResponse) => any;
2692
+ /**
2693
+ * @internal
2694
+ */
2695
+ export declare const UpdateEmailTemplateRequestFilterSensitiveLog: (obj: UpdateEmailTemplateRequest) => any;
2696
+ /**
2697
+ * @internal
2698
+ */
2699
+ export declare const UpdateEmailTemplateResponseFilterSensitiveLog: (obj: UpdateEmailTemplateResponse) => any;
2700
+ /**
2701
+ * @internal
2702
+ */
2703
+ export declare const UpdateEndpointRequestFilterSensitiveLog: (obj: UpdateEndpointRequest) => any;
2704
+ /**
2705
+ * @internal
2706
+ */
2707
+ export declare const UpdateEndpointResponseFilterSensitiveLog: (obj: UpdateEndpointResponse) => any;
2708
+ /**
2709
+ * @internal
2710
+ */
2711
+ export declare const UpdateEndpointsBatchRequestFilterSensitiveLog: (obj: UpdateEndpointsBatchRequest) => any;
2712
+ /**
2713
+ * @internal
2714
+ */
2715
+ export declare const UpdateEndpointsBatchResponseFilterSensitiveLog: (obj: UpdateEndpointsBatchResponse) => any;
2716
+ /**
2717
+ * @internal
2718
+ */
2719
+ export declare const UpdateGcmChannelRequestFilterSensitiveLog: (obj: UpdateGcmChannelRequest) => any;
2720
+ /**
2721
+ * @internal
2722
+ */
2723
+ export declare const UpdateGcmChannelResponseFilterSensitiveLog: (obj: UpdateGcmChannelResponse) => any;
2724
+ /**
2725
+ * @internal
2726
+ */
2727
+ export declare const UpdateInAppTemplateRequestFilterSensitiveLog: (obj: UpdateInAppTemplateRequest) => any;
2728
+ /**
2729
+ * @internal
2730
+ */
2731
+ export declare const UpdateInAppTemplateResponseFilterSensitiveLog: (obj: UpdateInAppTemplateResponse) => any;
2732
+ /**
2733
+ * @internal
2734
+ */
2735
+ export declare const UpdateJourneyRequestFilterSensitiveLog: (obj: UpdateJourneyRequest) => any;
2736
+ /**
2737
+ * @internal
2738
+ */
2739
+ export declare const UpdateJourneyResponseFilterSensitiveLog: (obj: UpdateJourneyResponse) => any;
2740
+ /**
2741
+ * @internal
2742
+ */
2743
+ export declare const UpdateJourneyStateRequestFilterSensitiveLog: (obj: UpdateJourneyStateRequest) => any;
2744
+ /**
2745
+ * @internal
2746
+ */
2747
+ export declare const UpdateJourneyStateResponseFilterSensitiveLog: (obj: UpdateJourneyStateResponse) => any;
2748
+ /**
2749
+ * @internal
2750
+ */
2751
+ export declare const UpdatePushTemplateRequestFilterSensitiveLog: (obj: UpdatePushTemplateRequest) => any;
2752
+ /**
2753
+ * @internal
2754
+ */
2755
+ export declare const UpdatePushTemplateResponseFilterSensitiveLog: (obj: UpdatePushTemplateResponse) => any;
2756
+ /**
2757
+ * @internal
2758
+ */
2759
+ export declare const UpdateRecommenderConfigurationShapeFilterSensitiveLog: (obj: UpdateRecommenderConfigurationShape) => any;
2760
+ /**
2761
+ * @internal
2762
+ */
2763
+ export declare const UpdateRecommenderConfigurationRequestFilterSensitiveLog: (obj: UpdateRecommenderConfigurationRequest) => any;
2764
+ /**
2765
+ * @internal
2766
+ */
2767
+ export declare const UpdateRecommenderConfigurationResponseFilterSensitiveLog: (obj: UpdateRecommenderConfigurationResponse) => any;
2768
+ /**
2769
+ * @internal
2770
+ */
2771
+ export declare const UpdateSegmentRequestFilterSensitiveLog: (obj: UpdateSegmentRequest) => any;
2772
+ /**
2773
+ * @internal
2774
+ */
2775
+ export declare const UpdateSegmentResponseFilterSensitiveLog: (obj: UpdateSegmentResponse) => any;
2776
+ /**
2777
+ * @internal
2778
+ */
2779
+ export declare const SMSChannelRequestFilterSensitiveLog: (obj: SMSChannelRequest) => any;
2780
+ /**
2781
+ * @internal
2782
+ */
2783
+ export declare const UpdateSmsChannelRequestFilterSensitiveLog: (obj: UpdateSmsChannelRequest) => any;
2784
+ /**
2785
+ * @internal
2786
+ */
2787
+ export declare const UpdateSmsChannelResponseFilterSensitiveLog: (obj: UpdateSmsChannelResponse) => any;
2788
+ /**
2789
+ * @internal
2790
+ */
2791
+ export declare const UpdateSmsTemplateRequestFilterSensitiveLog: (obj: UpdateSmsTemplateRequest) => any;
2792
+ /**
2793
+ * @internal
2794
+ */
2795
+ export declare const UpdateSmsTemplateResponseFilterSensitiveLog: (obj: UpdateSmsTemplateResponse) => any;
2796
+ /**
2797
+ * @internal
2798
+ */
2799
+ export declare const TemplateActiveVersionRequestFilterSensitiveLog: (obj: TemplateActiveVersionRequest) => any;
2800
+ /**
2801
+ * @internal
2802
+ */
2803
+ export declare const UpdateTemplateActiveVersionRequestFilterSensitiveLog: (obj: UpdateTemplateActiveVersionRequest) => any;
2804
+ /**
2805
+ * @internal
2806
+ */
2807
+ export declare const UpdateTemplateActiveVersionResponseFilterSensitiveLog: (obj: UpdateTemplateActiveVersionResponse) => any;
2808
+ /**
2809
+ * @internal
2810
+ */
2811
+ export declare const VoiceChannelRequestFilterSensitiveLog: (obj: VoiceChannelRequest) => any;
2812
+ /**
2813
+ * @internal
2814
+ */
2815
+ export declare const UpdateVoiceChannelRequestFilterSensitiveLog: (obj: UpdateVoiceChannelRequest) => any;
2816
+ /**
2817
+ * @internal
2818
+ */
2819
+ export declare const UpdateVoiceChannelResponseFilterSensitiveLog: (obj: UpdateVoiceChannelResponse) => any;
2820
+ /**
2821
+ * @internal
2822
+ */
2823
+ export declare const UpdateVoiceTemplateRequestFilterSensitiveLog: (obj: UpdateVoiceTemplateRequest) => any;
2824
+ /**
2825
+ * @internal
2826
+ */
2827
+ export declare const UpdateVoiceTemplateResponseFilterSensitiveLog: (obj: UpdateVoiceTemplateResponse) => any;
2828
+ /**
2829
+ * @internal
2830
+ */
2831
+ export declare const VerifyOTPMessageRequestParametersFilterSensitiveLog: (obj: VerifyOTPMessageRequestParameters) => any;
2832
+ /**
2833
+ * @internal
2834
+ */
2835
+ export declare const VerifyOTPMessageRequestFilterSensitiveLog: (obj: VerifyOTPMessageRequest) => any;
2836
+ /**
2837
+ * @internal
2838
+ */
2839
+ export declare const VerificationResponseFilterSensitiveLog: (obj: VerificationResponse) => any;
2840
+ /**
2841
+ * @internal
2842
+ */
2843
+ export declare const VerifyOTPMessageResponseFilterSensitiveLog: (obj: VerifyOTPMessageResponse) => any;