@aws-sdk/client-pinpoint 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateAppCommand.d.ts +3 -3
- package/dist-types/commands/CreateCampaignCommand.d.ts +52 -153
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateExportJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateImportJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +11 -14
- package/dist-types/commands/CreateJourneyCommand.d.ts +77 -158
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +6 -6
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateSegmentCommand.d.ts +35 -88
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJourneyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSegmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAppsCommand.d.ts +1 -1
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignsCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetPushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentsCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListJourneysCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +2 -2
- package/dist-types/commands/PutEventStreamCommand.d.ts +2 -2
- package/dist-types/commands/PutEventsCommand.d.ts +15 -15
- package/dist-types/commands/RemoveAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SendMessagesCommand.d.ts +34 -66
- package/dist-types/commands/SendOTPMessageCommand.d.ts +2 -2
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +30 -56
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +5 -5
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCampaignCommand.d.ts +52 -153
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEndpointCommand.d.ts +8 -8
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +10 -10
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +11 -14
- package/dist-types/commands/UpdateJourneyCommand.d.ts +77 -158
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +6 -6
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSegmentCommand.d.ts +35 -88
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +3 -3
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -26,10 +26,10 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
26
26
|
* import { PinpointClient, CreateAppCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateAppCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* CreateApplicationRequest: {
|
|
29
|
+
* const input = { // CreateAppRequest
|
|
30
|
+
* CreateApplicationRequest: { // CreateApplicationRequest
|
|
31
31
|
* Name: "STRING_VALUE", // required
|
|
32
|
-
* tags: {
|
|
32
|
+
* tags: { // MapOf__string
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* },
|
|
@@ -26,19 +26,19 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
26
26
|
* import { PinpointClient, CreateCampaignCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateCampaignCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateCampaignRequest
|
|
30
30
|
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
-
* WriteCampaignRequest: {
|
|
32
|
-
* AdditionalTreatments: [
|
|
33
|
-
* {
|
|
34
|
-
* CustomDeliveryConfiguration: {
|
|
31
|
+
* WriteCampaignRequest: { // WriteCampaignRequest
|
|
32
|
+
* AdditionalTreatments: [ // ListOfWriteTreatmentResource
|
|
33
|
+
* { // WriteTreatmentResource
|
|
34
|
+
* CustomDeliveryConfiguration: { // CustomDeliveryConfiguration
|
|
35
35
|
* DeliveryUri: "STRING_VALUE", // required
|
|
36
|
-
* EndpointTypes: [
|
|
36
|
+
* EndpointTypes: [ // ListOf__EndpointTypesElement
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* },
|
|
40
|
-
* MessageConfiguration: {
|
|
41
|
-
* ADMMessage: {
|
|
40
|
+
* MessageConfiguration: { // MessageConfiguration
|
|
41
|
+
* ADMMessage: { // Message
|
|
42
42
|
* Action: "STRING_VALUE",
|
|
43
43
|
* Body: "STRING_VALUE",
|
|
44
44
|
* ImageIconUrl: "STRING_VALUE",
|
|
@@ -80,7 +80,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
80
80
|
* Title: "STRING_VALUE",
|
|
81
81
|
* Url: "STRING_VALUE",
|
|
82
82
|
* },
|
|
83
|
-
* CustomMessage: {
|
|
83
|
+
* CustomMessage: { // CampaignCustomMessage
|
|
84
84
|
* Data: "STRING_VALUE",
|
|
85
85
|
* },
|
|
86
86
|
* DefaultMessage: {
|
|
@@ -97,7 +97,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
97
97
|
* Title: "STRING_VALUE",
|
|
98
98
|
* Url: "STRING_VALUE",
|
|
99
99
|
* },
|
|
100
|
-
* EmailMessage: {
|
|
100
|
+
* EmailMessage: { // CampaignEmailMessage
|
|
101
101
|
* Body: "STRING_VALUE",
|
|
102
102
|
* FromAddress: "STRING_VALUE",
|
|
103
103
|
* HtmlBody: "STRING_VALUE",
|
|
@@ -117,7 +117,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
117
117
|
* Title: "STRING_VALUE",
|
|
118
118
|
* Url: "STRING_VALUE",
|
|
119
119
|
* },
|
|
120
|
-
* SMSMessage: {
|
|
120
|
+
* SMSMessage: { // CampaignSmsMessage
|
|
121
121
|
* Body: "STRING_VALUE",
|
|
122
122
|
* MessageType: "STRING_VALUE",
|
|
123
123
|
* OriginationNumber: "STRING_VALUE",
|
|
@@ -125,28 +125,28 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
125
125
|
* EntityId: "STRING_VALUE",
|
|
126
126
|
* TemplateId: "STRING_VALUE",
|
|
127
127
|
* },
|
|
128
|
-
* InAppMessage: {
|
|
128
|
+
* InAppMessage: { // CampaignInAppMessage
|
|
129
129
|
* Body: "STRING_VALUE",
|
|
130
|
-
* Content: [
|
|
131
|
-
* {
|
|
130
|
+
* Content: [ // ListOfInAppMessageContent
|
|
131
|
+
* { // InAppMessageContent
|
|
132
132
|
* BackgroundColor: "STRING_VALUE",
|
|
133
|
-
* BodyConfig: {
|
|
133
|
+
* BodyConfig: { // InAppMessageBodyConfig
|
|
134
134
|
* Alignment: "STRING_VALUE", // required
|
|
135
135
|
* Body: "STRING_VALUE", // required
|
|
136
136
|
* TextColor: "STRING_VALUE", // required
|
|
137
137
|
* },
|
|
138
|
-
* HeaderConfig: {
|
|
138
|
+
* HeaderConfig: { // InAppMessageHeaderConfig
|
|
139
139
|
* Alignment: "STRING_VALUE", // required
|
|
140
140
|
* Header: "STRING_VALUE", // required
|
|
141
141
|
* TextColor: "STRING_VALUE", // required
|
|
142
142
|
* },
|
|
143
143
|
* ImageUrl: "STRING_VALUE",
|
|
144
|
-
* PrimaryBtn: {
|
|
145
|
-
* Android: {
|
|
144
|
+
* PrimaryBtn: { // InAppMessageButton
|
|
145
|
+
* Android: { // OverrideButtonConfiguration
|
|
146
146
|
* ButtonAction: "STRING_VALUE", // required
|
|
147
147
|
* Link: "STRING_VALUE",
|
|
148
148
|
* },
|
|
149
|
-
* DefaultConfig: {
|
|
149
|
+
* DefaultConfig: { // DefaultButtonConfiguration
|
|
150
150
|
* BackgroundColor: "STRING_VALUE",
|
|
151
151
|
* BorderRadius: Number("int"),
|
|
152
152
|
* ButtonAction: "STRING_VALUE", // required
|
|
@@ -180,39 +180,36 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
180
180
|
* ButtonAction: "STRING_VALUE", // required
|
|
181
181
|
* Link: "STRING_VALUE",
|
|
182
182
|
* },
|
|
183
|
-
* Web:
|
|
184
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
185
|
-
* Link: "STRING_VALUE",
|
|
186
|
-
* },
|
|
183
|
+
* Web: "<OverrideButtonConfiguration>",
|
|
187
184
|
* },
|
|
188
185
|
* },
|
|
189
186
|
* ],
|
|
190
|
-
* CustomConfig: {
|
|
187
|
+
* CustomConfig: { // MapOf__string
|
|
191
188
|
* "<keys>": "STRING_VALUE",
|
|
192
189
|
* },
|
|
193
190
|
* Layout: "STRING_VALUE",
|
|
194
191
|
* },
|
|
195
192
|
* },
|
|
196
|
-
* Schedule: {
|
|
193
|
+
* Schedule: { // Schedule
|
|
197
194
|
* EndTime: "STRING_VALUE",
|
|
198
|
-
* EventFilter: {
|
|
199
|
-
* Dimensions: {
|
|
200
|
-
* Attributes: {
|
|
201
|
-
* "<keys>": {
|
|
195
|
+
* EventFilter: { // CampaignEventFilter
|
|
196
|
+
* Dimensions: { // EventDimensions
|
|
197
|
+
* Attributes: { // MapOfAttributeDimension
|
|
198
|
+
* "<keys>": { // AttributeDimension
|
|
202
199
|
* AttributeType: "STRING_VALUE",
|
|
203
|
-
* Values: [ // required
|
|
200
|
+
* Values: [ // ListOf__string // required
|
|
204
201
|
* "STRING_VALUE",
|
|
205
202
|
* ],
|
|
206
203
|
* },
|
|
207
204
|
* },
|
|
208
|
-
* EventType: {
|
|
205
|
+
* EventType: { // SetDimension
|
|
209
206
|
* DimensionType: "STRING_VALUE",
|
|
210
207
|
* Values: [ // required
|
|
211
208
|
* "STRING_VALUE",
|
|
212
209
|
* ],
|
|
213
210
|
* },
|
|
214
|
-
* Metrics: {
|
|
215
|
-
* "<keys>": {
|
|
211
|
+
* Metrics: { // MapOfMetricDimension
|
|
212
|
+
* "<keys>": { // MetricDimension
|
|
216
213
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
217
214
|
* Value: Number("double"), // required
|
|
218
215
|
* },
|
|
@@ -222,7 +219,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
222
219
|
* },
|
|
223
220
|
* Frequency: "STRING_VALUE",
|
|
224
221
|
* IsLocalTime: true || false,
|
|
225
|
-
* QuietTime: {
|
|
222
|
+
* QuietTime: { // QuietTime
|
|
226
223
|
* End: "STRING_VALUE",
|
|
227
224
|
* Start: "STRING_VALUE",
|
|
228
225
|
* },
|
|
@@ -230,8 +227,8 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
230
227
|
* Timezone: "STRING_VALUE",
|
|
231
228
|
* },
|
|
232
229
|
* SizePercent: Number("int"), // required
|
|
233
|
-
* TemplateConfiguration: {
|
|
234
|
-
* EmailTemplate: {
|
|
230
|
+
* TemplateConfiguration: { // TemplateConfiguration
|
|
231
|
+
* EmailTemplate: { // Template
|
|
235
232
|
* Name: "STRING_VALUE",
|
|
236
233
|
* Version: "STRING_VALUE",
|
|
237
234
|
* },
|
|
@@ -260,13 +257,13 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
260
257
|
* },
|
|
261
258
|
* Description: "STRING_VALUE",
|
|
262
259
|
* HoldoutPercent: Number("int"),
|
|
263
|
-
* Hook: {
|
|
260
|
+
* Hook: { // CampaignHook
|
|
264
261
|
* LambdaFunctionName: "STRING_VALUE",
|
|
265
262
|
* Mode: "STRING_VALUE",
|
|
266
263
|
* WebUrl: "STRING_VALUE",
|
|
267
264
|
* },
|
|
268
265
|
* IsPaused: true || false,
|
|
269
|
-
* Limits: {
|
|
266
|
+
* Limits: { // CampaignLimits
|
|
270
267
|
* Daily: Number("int"),
|
|
271
268
|
* MaximumDuration: Number("int"),
|
|
272
269
|
* MessagesPerSecond: Number("int"),
|
|
@@ -274,85 +271,20 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
274
271
|
* Session: Number("int"),
|
|
275
272
|
* },
|
|
276
273
|
* MessageConfiguration: {
|
|
277
|
-
* ADMMessage:
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
* ImageIconUrl: "STRING_VALUE",
|
|
281
|
-
* ImageSmallIconUrl: "STRING_VALUE",
|
|
282
|
-
* ImageUrl: "STRING_VALUE",
|
|
283
|
-
* JsonBody: "STRING_VALUE",
|
|
284
|
-
* MediaUrl: "STRING_VALUE",
|
|
285
|
-
* RawContent: "STRING_VALUE",
|
|
286
|
-
* SilentPush: true || false,
|
|
287
|
-
* TimeToLive: Number("int"),
|
|
288
|
-
* Title: "STRING_VALUE",
|
|
289
|
-
* Url: "STRING_VALUE",
|
|
290
|
-
* },
|
|
291
|
-
* APNSMessage: {
|
|
292
|
-
* Action: "STRING_VALUE",
|
|
293
|
-
* Body: "STRING_VALUE",
|
|
294
|
-
* ImageIconUrl: "STRING_VALUE",
|
|
295
|
-
* ImageSmallIconUrl: "STRING_VALUE",
|
|
296
|
-
* ImageUrl: "STRING_VALUE",
|
|
297
|
-
* JsonBody: "STRING_VALUE",
|
|
298
|
-
* MediaUrl: "STRING_VALUE",
|
|
299
|
-
* RawContent: "STRING_VALUE",
|
|
300
|
-
* SilentPush: true || false,
|
|
301
|
-
* TimeToLive: Number("int"),
|
|
302
|
-
* Title: "STRING_VALUE",
|
|
303
|
-
* Url: "STRING_VALUE",
|
|
304
|
-
* },
|
|
305
|
-
* BaiduMessage: {
|
|
306
|
-
* Action: "STRING_VALUE",
|
|
307
|
-
* Body: "STRING_VALUE",
|
|
308
|
-
* ImageIconUrl: "STRING_VALUE",
|
|
309
|
-
* ImageSmallIconUrl: "STRING_VALUE",
|
|
310
|
-
* ImageUrl: "STRING_VALUE",
|
|
311
|
-
* JsonBody: "STRING_VALUE",
|
|
312
|
-
* MediaUrl: "STRING_VALUE",
|
|
313
|
-
* RawContent: "STRING_VALUE",
|
|
314
|
-
* SilentPush: true || false,
|
|
315
|
-
* TimeToLive: Number("int"),
|
|
316
|
-
* Title: "STRING_VALUE",
|
|
317
|
-
* Url: "STRING_VALUE",
|
|
318
|
-
* },
|
|
274
|
+
* ADMMessage: "<Message>",
|
|
275
|
+
* APNSMessage: "<Message>",
|
|
276
|
+
* BaiduMessage: "<Message>",
|
|
319
277
|
* CustomMessage: {
|
|
320
278
|
* Data: "STRING_VALUE",
|
|
321
279
|
* },
|
|
322
|
-
* DefaultMessage:
|
|
323
|
-
* Action: "STRING_VALUE",
|
|
324
|
-
* Body: "STRING_VALUE",
|
|
325
|
-
* ImageIconUrl: "STRING_VALUE",
|
|
326
|
-
* ImageSmallIconUrl: "STRING_VALUE",
|
|
327
|
-
* ImageUrl: "STRING_VALUE",
|
|
328
|
-
* JsonBody: "STRING_VALUE",
|
|
329
|
-
* MediaUrl: "STRING_VALUE",
|
|
330
|
-
* RawContent: "STRING_VALUE",
|
|
331
|
-
* SilentPush: true || false,
|
|
332
|
-
* TimeToLive: Number("int"),
|
|
333
|
-
* Title: "STRING_VALUE",
|
|
334
|
-
* Url: "STRING_VALUE",
|
|
335
|
-
* },
|
|
280
|
+
* DefaultMessage: "<Message>",
|
|
336
281
|
* EmailMessage: {
|
|
337
282
|
* Body: "STRING_VALUE",
|
|
338
283
|
* FromAddress: "STRING_VALUE",
|
|
339
284
|
* HtmlBody: "STRING_VALUE",
|
|
340
285
|
* Title: "STRING_VALUE",
|
|
341
286
|
* },
|
|
342
|
-
* GCMMessage:
|
|
343
|
-
* Action: "STRING_VALUE",
|
|
344
|
-
* Body: "STRING_VALUE",
|
|
345
|
-
* ImageIconUrl: "STRING_VALUE",
|
|
346
|
-
* ImageSmallIconUrl: "STRING_VALUE",
|
|
347
|
-
* ImageUrl: "STRING_VALUE",
|
|
348
|
-
* JsonBody: "STRING_VALUE",
|
|
349
|
-
* MediaUrl: "STRING_VALUE",
|
|
350
|
-
* RawContent: "STRING_VALUE",
|
|
351
|
-
* SilentPush: true || false,
|
|
352
|
-
* TimeToLive: Number("int"),
|
|
353
|
-
* Title: "STRING_VALUE",
|
|
354
|
-
* Url: "STRING_VALUE",
|
|
355
|
-
* },
|
|
287
|
+
* GCMMessage: "<Message>",
|
|
356
288
|
* SMSMessage: {
|
|
357
289
|
* Body: "STRING_VALUE",
|
|
358
290
|
* MessageType: "STRING_VALUE",
|
|
@@ -378,10 +310,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
378
310
|
* },
|
|
379
311
|
* ImageUrl: "STRING_VALUE",
|
|
380
312
|
* PrimaryBtn: {
|
|
381
|
-
* Android:
|
|
382
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
383
|
-
* Link: "STRING_VALUE",
|
|
384
|
-
* },
|
|
313
|
+
* Android: "<OverrideButtonConfiguration>",
|
|
385
314
|
* DefaultConfig: {
|
|
386
315
|
* BackgroundColor: "STRING_VALUE",
|
|
387
316
|
* BorderRadius: Number("int"),
|
|
@@ -390,20 +319,11 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
390
319
|
* Text: "STRING_VALUE", // required
|
|
391
320
|
* TextColor: "STRING_VALUE",
|
|
392
321
|
* },
|
|
393
|
-
* IOS:
|
|
394
|
-
*
|
|
395
|
-
* Link: "STRING_VALUE",
|
|
396
|
-
* },
|
|
397
|
-
* Web: {
|
|
398
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
399
|
-
* Link: "STRING_VALUE",
|
|
400
|
-
* },
|
|
322
|
+
* IOS: "<OverrideButtonConfiguration>",
|
|
323
|
+
* Web: "<OverrideButtonConfiguration>",
|
|
401
324
|
* },
|
|
402
325
|
* SecondaryBtn: {
|
|
403
|
-
* Android:
|
|
404
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
405
|
-
* Link: "STRING_VALUE",
|
|
406
|
-
* },
|
|
326
|
+
* Android: "<OverrideButtonConfiguration>",
|
|
407
327
|
* DefaultConfig: {
|
|
408
328
|
* BackgroundColor: "STRING_VALUE",
|
|
409
329
|
* BorderRadius: Number("int"),
|
|
@@ -412,14 +332,8 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
412
332
|
* Text: "STRING_VALUE", // required
|
|
413
333
|
* TextColor: "STRING_VALUE",
|
|
414
334
|
* },
|
|
415
|
-
* IOS:
|
|
416
|
-
*
|
|
417
|
-
* Link: "STRING_VALUE",
|
|
418
|
-
* },
|
|
419
|
-
* Web: {
|
|
420
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
421
|
-
* Link: "STRING_VALUE",
|
|
422
|
-
* },
|
|
335
|
+
* IOS: "<OverrideButtonConfiguration>",
|
|
336
|
+
* Web: "<OverrideButtonConfiguration>",
|
|
423
337
|
* },
|
|
424
338
|
* },
|
|
425
339
|
* ],
|
|
@@ -437,16 +351,12 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
437
351
|
* Attributes: {
|
|
438
352
|
* "<keys>": {
|
|
439
353
|
* AttributeType: "STRING_VALUE",
|
|
440
|
-
* Values:
|
|
441
|
-
* "<ListOf__string>",
|
|
442
|
-
* ],
|
|
354
|
+
* Values: "<ListOf__string>", // required
|
|
443
355
|
* },
|
|
444
356
|
* },
|
|
445
357
|
* EventType: {
|
|
446
358
|
* DimensionType: "STRING_VALUE",
|
|
447
|
-
* Values:
|
|
448
|
-
* "<ListOf__string>",
|
|
449
|
-
* ],
|
|
359
|
+
* Values: "<ListOf__string>", // required
|
|
450
360
|
* },
|
|
451
361
|
* Metrics: {
|
|
452
362
|
* "<keys>": {
|
|
@@ -468,26 +378,15 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
468
378
|
* },
|
|
469
379
|
* SegmentId: "STRING_VALUE",
|
|
470
380
|
* SegmentVersion: Number("int"),
|
|
471
|
-
* tags:
|
|
472
|
-
* "<keys>": "<__string>",
|
|
473
|
-
* },
|
|
381
|
+
* tags: "<MapOf__string>",
|
|
474
382
|
* TemplateConfiguration: {
|
|
475
383
|
* EmailTemplate: {
|
|
476
384
|
* Name: "STRING_VALUE",
|
|
477
385
|
* Version: "STRING_VALUE",
|
|
478
386
|
* },
|
|
479
|
-
* PushTemplate:
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
* },
|
|
483
|
-
* SMSTemplate: {
|
|
484
|
-
* Name: "STRING_VALUE",
|
|
485
|
-
* Version: "STRING_VALUE",
|
|
486
|
-
* },
|
|
487
|
-
* VoiceTemplate: {
|
|
488
|
-
* Name: "STRING_VALUE",
|
|
489
|
-
* Version: "STRING_VALUE",
|
|
490
|
-
* },
|
|
387
|
+
* PushTemplate: "<Template>",
|
|
388
|
+
* SMSTemplate: "<Template>",
|
|
389
|
+
* VoiceTemplate: "<Template>",
|
|
491
390
|
* },
|
|
492
391
|
* TreatmentDescription: "STRING_VALUE",
|
|
493
392
|
* TreatmentName: "STRING_VALUE",
|
|
@@ -26,13 +26,13 @@ export interface CreateEmailTemplateCommandOutput extends CreateEmailTemplateRes
|
|
|
26
26
|
* import { PinpointClient, CreateEmailTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateEmailTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* EmailTemplateRequest: {
|
|
29
|
+
* const input = { // CreateEmailTemplateRequest
|
|
30
|
+
* EmailTemplateRequest: { // EmailTemplateRequest
|
|
31
31
|
* DefaultSubstitutions: "STRING_VALUE",
|
|
32
32
|
* HtmlPart: "STRING_VALUE",
|
|
33
33
|
* RecommenderId: "STRING_VALUE",
|
|
34
34
|
* Subject: "STRING_VALUE",
|
|
35
|
-
* tags: {
|
|
35
|
+
* tags: { // MapOf__string
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* TemplateDescription: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, _
|
|
|
26
26
|
* import { PinpointClient, CreateExportJobCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateExportJobCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateExportJobRequest
|
|
30
30
|
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
-
* ExportJobRequest: {
|
|
31
|
+
* ExportJobRequest: { // ExportJobRequest
|
|
32
32
|
* RoleArn: "STRING_VALUE", // required
|
|
33
33
|
* S3UrlPrefix: "STRING_VALUE", // required
|
|
34
34
|
* SegmentId: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface CreateImportJobCommandOutput extends CreateImportJobResponse, _
|
|
|
26
26
|
* import { PinpointClient, CreateImportJobCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateImportJobCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateImportJobRequest
|
|
30
30
|
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
-
* ImportJobRequest: {
|
|
31
|
+
* ImportJobRequest: { // ImportJobRequest
|
|
32
32
|
* DefineSegment: true || false,
|
|
33
33
|
* ExternalId: "STRING_VALUE",
|
|
34
34
|
* Format: "STRING_VALUE", // required
|
|
@@ -26,28 +26,28 @@ export interface CreateInAppTemplateCommandOutput extends CreateInAppTemplateRes
|
|
|
26
26
|
* import { PinpointClient, CreateInAppTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, CreateInAppTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* InAppTemplateRequest: {
|
|
31
|
-
* Content: [
|
|
32
|
-
* {
|
|
29
|
+
* const input = { // CreateInAppTemplateRequest
|
|
30
|
+
* InAppTemplateRequest: { // InAppTemplateRequest
|
|
31
|
+
* Content: [ // ListOfInAppMessageContent
|
|
32
|
+
* { // InAppMessageContent
|
|
33
33
|
* BackgroundColor: "STRING_VALUE",
|
|
34
|
-
* BodyConfig: {
|
|
34
|
+
* BodyConfig: { // InAppMessageBodyConfig
|
|
35
35
|
* Alignment: "STRING_VALUE", // required
|
|
36
36
|
* Body: "STRING_VALUE", // required
|
|
37
37
|
* TextColor: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
|
-
* HeaderConfig: {
|
|
39
|
+
* HeaderConfig: { // InAppMessageHeaderConfig
|
|
40
40
|
* Alignment: "STRING_VALUE", // required
|
|
41
41
|
* Header: "STRING_VALUE", // required
|
|
42
42
|
* TextColor: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* ImageUrl: "STRING_VALUE",
|
|
45
|
-
* PrimaryBtn: {
|
|
46
|
-
* Android: {
|
|
45
|
+
* PrimaryBtn: { // InAppMessageButton
|
|
46
|
+
* Android: { // OverrideButtonConfiguration
|
|
47
47
|
* ButtonAction: "STRING_VALUE", // required
|
|
48
48
|
* Link: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
|
-
* DefaultConfig: {
|
|
50
|
+
* DefaultConfig: { // DefaultButtonConfiguration
|
|
51
51
|
* BackgroundColor: "STRING_VALUE",
|
|
52
52
|
* BorderRadius: Number("int"),
|
|
53
53
|
* ButtonAction: "STRING_VALUE", // required
|
|
@@ -81,14 +81,11 @@ export interface CreateInAppTemplateCommandOutput extends CreateInAppTemplateRes
|
|
|
81
81
|
* ButtonAction: "STRING_VALUE", // required
|
|
82
82
|
* Link: "STRING_VALUE",
|
|
83
83
|
* },
|
|
84
|
-
* Web:
|
|
85
|
-
* ButtonAction: "STRING_VALUE", // required
|
|
86
|
-
* Link: "STRING_VALUE",
|
|
87
|
-
* },
|
|
84
|
+
* Web: "<OverrideButtonConfiguration>",
|
|
88
85
|
* },
|
|
89
86
|
* },
|
|
90
87
|
* ],
|
|
91
|
-
* CustomConfig: {
|
|
88
|
+
* CustomConfig: { // MapOf__string
|
|
92
89
|
* "<keys>": "STRING_VALUE",
|
|
93
90
|
* },
|
|
94
91
|
* Layout: "STRING_VALUE",
|