@aws-sdk/client-pinpoint 3.687.0 → 3.691.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,22 +32,22 @@ export type Action = (typeof Action)[keyof typeof Action];
32
32
  export interface ActivityResponse {
33
33
  ApplicationId: string | undefined;
34
34
  CampaignId: string | undefined;
35
- End?: string;
35
+ End?: string | undefined;
36
36
  Id: string | undefined;
37
- Result?: string;
38
- ScheduledStart?: string;
39
- Start?: string;
40
- State?: string;
41
- SuccessfulEndpointCount?: number;
42
- TimezonesCompletedCount?: number;
43
- TimezonesTotalCount?: number;
44
- TotalEndpointCount?: number;
45
- TreatmentId?: string;
46
- ExecutionMetrics?: Record<string, string>;
37
+ Result?: string | undefined;
38
+ ScheduledStart?: string | undefined;
39
+ Start?: string | undefined;
40
+ State?: string | undefined;
41
+ SuccessfulEndpointCount?: number | undefined;
42
+ TimezonesCompletedCount?: number | undefined;
43
+ TimezonesTotalCount?: number | undefined;
44
+ TotalEndpointCount?: number | undefined;
45
+ TreatmentId?: string | undefined;
46
+ ExecutionMetrics?: Record<string, string> | undefined;
47
47
  }
48
48
  export interface ActivitiesResponse {
49
49
  Item: ActivityResponse[] | undefined;
50
- NextToken?: string;
50
+ NextToken?: string | undefined;
51
51
  }
52
52
  export declare const AttributeType: {
53
53
  readonly AFTER: "AFTER";
@@ -60,7 +60,7 @@ export declare const AttributeType: {
60
60
  };
61
61
  export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
62
62
  export interface AttributeDimension {
63
- AttributeType?: AttributeType;
63
+ AttributeType?: AttributeType | undefined;
64
64
  Values: string[] | undefined;
65
65
  }
66
66
  export declare const DimensionType: {
@@ -69,7 +69,7 @@ export declare const DimensionType: {
69
69
  };
70
70
  export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
71
71
  export interface SetDimension {
72
- DimensionType?: DimensionType;
72
+ DimensionType?: DimensionType | undefined;
73
73
  Values: string[] | undefined;
74
74
  }
75
75
  export interface MetricDimension {
@@ -77,13 +77,13 @@ export interface MetricDimension {
77
77
  Value: number | undefined;
78
78
  }
79
79
  export interface EventDimensions {
80
- Attributes?: Record<string, AttributeDimension>;
81
- EventType?: SetDimension;
82
- Metrics?: Record<string, MetricDimension>;
80
+ Attributes?: Record<string, AttributeDimension> | undefined;
81
+ EventType?: SetDimension | undefined;
82
+ Metrics?: Record<string, MetricDimension> | undefined;
83
83
  }
84
84
  export interface EventCondition {
85
- Dimensions?: EventDimensions;
86
- MessageActivity?: string;
85
+ Dimensions?: EventDimensions | undefined;
86
+ MessageActivity?: string | undefined;
87
87
  }
88
88
  export interface SegmentCondition {
89
89
  SegmentId: string | undefined;
@@ -105,15 +105,15 @@ export interface RecencyDimension {
105
105
  RecencyType: RecencyType | undefined;
106
106
  }
107
107
  export interface SegmentBehaviors {
108
- Recency?: RecencyDimension;
108
+ Recency?: RecencyDimension | undefined;
109
109
  }
110
110
  export interface SegmentDemographics {
111
- AppVersion?: SetDimension;
112
- Channel?: SetDimension;
113
- DeviceType?: SetDimension;
114
- Make?: SetDimension;
115
- Model?: SetDimension;
116
- Platform?: SetDimension;
111
+ AppVersion?: SetDimension | undefined;
112
+ Channel?: SetDimension | undefined;
113
+ DeviceType?: SetDimension | undefined;
114
+ Make?: SetDimension | undefined;
115
+ Model?: SetDimension | undefined;
116
+ Platform?: SetDimension | undefined;
117
117
  }
118
118
  export interface GPSCoordinates {
119
119
  Latitude: number | undefined;
@@ -121,24 +121,24 @@ export interface GPSCoordinates {
121
121
  }
122
122
  export interface GPSPointDimension {
123
123
  Coordinates: GPSCoordinates | undefined;
124
- RangeInKilometers?: number;
124
+ RangeInKilometers?: number | undefined;
125
125
  }
126
126
  export interface SegmentLocation {
127
- Country?: SetDimension;
128
- GPSPoint?: GPSPointDimension;
127
+ Country?: SetDimension | undefined;
128
+ GPSPoint?: GPSPointDimension | undefined;
129
129
  }
130
130
  export interface SegmentDimensions {
131
- Attributes?: Record<string, AttributeDimension>;
132
- Behavior?: SegmentBehaviors;
133
- Demographic?: SegmentDemographics;
134
- Location?: SegmentLocation;
135
- Metrics?: Record<string, MetricDimension>;
136
- UserAttributes?: Record<string, AttributeDimension>;
131
+ Attributes?: Record<string, AttributeDimension> | undefined;
132
+ Behavior?: SegmentBehaviors | undefined;
133
+ Demographic?: SegmentDemographics | undefined;
134
+ Location?: SegmentLocation | undefined;
135
+ Metrics?: Record<string, MetricDimension> | undefined;
136
+ UserAttributes?: Record<string, AttributeDimension> | undefined;
137
137
  }
138
138
  export interface SimpleCondition {
139
- EventCondition?: EventCondition;
140
- SegmentCondition?: SegmentCondition;
141
- SegmentDimensions?: SegmentDimensions;
139
+ EventCondition?: EventCondition | undefined;
140
+ SegmentCondition?: SegmentCondition | undefined;
141
+ SegmentDimensions?: SegmentDimensions | undefined;
142
142
  }
143
143
  export declare const Operator: {
144
144
  readonly ALL: "ALL";
@@ -146,70 +146,70 @@ export declare const Operator: {
146
146
  };
147
147
  export type Operator = (typeof Operator)[keyof typeof Operator];
148
148
  export interface Condition {
149
- Conditions?: SimpleCondition[];
150
- Operator?: Operator;
149
+ Conditions?: SimpleCondition[] | undefined;
150
+ Operator?: Operator | undefined;
151
151
  }
152
152
  export interface WaitTime {
153
- WaitFor?: string;
154
- WaitUntil?: string;
153
+ WaitFor?: string | undefined;
154
+ WaitUntil?: string | undefined;
155
155
  }
156
156
  export interface ConditionalSplitActivity {
157
- Condition?: Condition;
158
- EvaluationWaitTime?: WaitTime;
159
- FalseActivity?: string;
160
- TrueActivity?: string;
157
+ Condition?: Condition | undefined;
158
+ EvaluationWaitTime?: WaitTime | undefined;
159
+ FalseActivity?: string | undefined;
160
+ TrueActivity?: string | undefined;
161
161
  }
162
162
  export interface ContactCenterActivity {
163
- NextActivity?: string;
163
+ NextActivity?: string | undefined;
164
164
  }
165
165
  export interface JourneyCustomMessage {
166
- Data?: string;
166
+ Data?: string | undefined;
167
167
  }
168
168
  export interface CustomMessageActivity {
169
- DeliveryUri?: string;
170
- EndpointTypes?: __EndpointTypesElement[];
171
- MessageConfig?: JourneyCustomMessage;
172
- NextActivity?: string;
173
- TemplateName?: string;
174
- TemplateVersion?: string;
169
+ DeliveryUri?: string | undefined;
170
+ EndpointTypes?: __EndpointTypesElement[] | undefined;
171
+ MessageConfig?: JourneyCustomMessage | undefined;
172
+ NextActivity?: string | undefined;
173
+ TemplateName?: string | undefined;
174
+ TemplateVersion?: string | undefined;
175
175
  }
176
176
  export interface JourneyEmailMessage {
177
- FromAddress?: string;
177
+ FromAddress?: string | undefined;
178
178
  }
179
179
  export interface EmailMessageActivity {
180
- MessageConfig?: JourneyEmailMessage;
181
- NextActivity?: string;
182
- TemplateName?: string;
183
- TemplateVersion?: string;
180
+ MessageConfig?: JourneyEmailMessage | undefined;
181
+ NextActivity?: string | undefined;
182
+ TemplateName?: string | undefined;
183
+ TemplateVersion?: string | undefined;
184
184
  }
185
185
  export interface HoldoutActivity {
186
- NextActivity?: string;
186
+ NextActivity?: string | undefined;
187
187
  Percentage: number | undefined;
188
188
  }
189
189
  export interface MultiConditionalBranch {
190
- Condition?: SimpleCondition;
191
- NextActivity?: string;
190
+ Condition?: SimpleCondition | undefined;
191
+ NextActivity?: string | undefined;
192
192
  }
193
193
  export interface MultiConditionalSplitActivity {
194
- Branches?: MultiConditionalBranch[];
195
- DefaultActivity?: string;
196
- EvaluationWaitTime?: WaitTime;
194
+ Branches?: MultiConditionalBranch[] | undefined;
195
+ DefaultActivity?: string | undefined;
196
+ EvaluationWaitTime?: WaitTime | undefined;
197
197
  }
198
198
  export interface JourneyPushMessage {
199
- TimeToLive?: string;
199
+ TimeToLive?: string | undefined;
200
200
  }
201
201
  export interface PushMessageActivity {
202
- MessageConfig?: JourneyPushMessage;
203
- NextActivity?: string;
204
- TemplateName?: string;
205
- TemplateVersion?: string;
202
+ MessageConfig?: JourneyPushMessage | undefined;
203
+ NextActivity?: string | undefined;
204
+ TemplateName?: string | undefined;
205
+ TemplateVersion?: string | undefined;
206
206
  }
207
207
  export interface RandomSplitEntry {
208
- NextActivity?: string;
209
- Percentage?: number;
208
+ NextActivity?: string | undefined;
209
+ Percentage?: number | undefined;
210
210
  }
211
211
  export interface RandomSplitActivity {
212
- Branches?: RandomSplitEntry[];
212
+ Branches?: RandomSplitEntry[] | undefined;
213
213
  }
214
214
  export declare const MessageType: {
215
215
  readonly PROMOTIONAL: "PROMOTIONAL";
@@ -217,34 +217,34 @@ export declare const MessageType: {
217
217
  };
218
218
  export type MessageType = (typeof MessageType)[keyof typeof MessageType];
219
219
  export interface JourneySMSMessage {
220
- MessageType?: MessageType;
221
- OriginationNumber?: string;
222
- SenderId?: string;
223
- EntityId?: string;
224
- TemplateId?: string;
220
+ MessageType?: MessageType | undefined;
221
+ OriginationNumber?: string | undefined;
222
+ SenderId?: string | undefined;
223
+ EntityId?: string | undefined;
224
+ TemplateId?: string | undefined;
225
225
  }
226
226
  export interface SMSMessageActivity {
227
- MessageConfig?: JourneySMSMessage;
228
- NextActivity?: string;
229
- TemplateName?: string;
230
- TemplateVersion?: string;
227
+ MessageConfig?: JourneySMSMessage | undefined;
228
+ NextActivity?: string | undefined;
229
+ TemplateName?: string | undefined;
230
+ TemplateVersion?: string | undefined;
231
231
  }
232
232
  export interface WaitActivity {
233
- NextActivity?: string;
234
- WaitTime?: WaitTime;
233
+ NextActivity?: string | undefined;
234
+ WaitTime?: WaitTime | undefined;
235
235
  }
236
236
  export interface Activity {
237
- CUSTOM?: CustomMessageActivity;
238
- ConditionalSplit?: ConditionalSplitActivity;
239
- Description?: string;
240
- EMAIL?: EmailMessageActivity;
241
- Holdout?: HoldoutActivity;
242
- MultiCondition?: MultiConditionalSplitActivity;
243
- PUSH?: PushMessageActivity;
244
- RandomSplit?: RandomSplitActivity;
245
- SMS?: SMSMessageActivity;
246
- Wait?: WaitActivity;
247
- ContactCenter?: ContactCenterActivity;
237
+ CUSTOM?: CustomMessageActivity | undefined;
238
+ ConditionalSplit?: ConditionalSplitActivity | undefined;
239
+ Description?: string | undefined;
240
+ EMAIL?: EmailMessageActivity | undefined;
241
+ Holdout?: HoldoutActivity | undefined;
242
+ MultiCondition?: MultiConditionalSplitActivity | undefined;
243
+ PUSH?: PushMessageActivity | undefined;
244
+ RandomSplit?: RandomSplitActivity | undefined;
245
+ SMS?: SMSMessageActivity | undefined;
246
+ Wait?: WaitActivity | undefined;
247
+ ContactCenter?: ContactCenterActivity | undefined;
248
248
  }
249
249
  export declare const ChannelType: {
250
250
  readonly ADM: "ADM";
@@ -263,47 +263,47 @@ export declare const ChannelType: {
263
263
  };
264
264
  export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
265
265
  export interface AddressConfiguration {
266
- BodyOverride?: string;
267
- ChannelType?: ChannelType;
268
- Context?: Record<string, string>;
269
- RawContent?: string;
270
- Substitutions?: Record<string, string[]>;
271
- TitleOverride?: string;
266
+ BodyOverride?: string | undefined;
267
+ ChannelType?: ChannelType | undefined;
268
+ Context?: Record<string, string> | undefined;
269
+ RawContent?: string | undefined;
270
+ Substitutions?: Record<string, string[]> | undefined;
271
+ TitleOverride?: string | undefined;
272
272
  }
273
273
  export interface ADMChannelRequest {
274
274
  ClientId: string | undefined;
275
275
  ClientSecret: string | undefined;
276
- Enabled?: boolean;
276
+ Enabled?: boolean | undefined;
277
277
  }
278
278
  export interface ADMChannelResponse {
279
- ApplicationId?: string;
280
- CreationDate?: string;
281
- Enabled?: boolean;
282
- HasCredential?: boolean;
283
- Id?: string;
284
- IsArchived?: boolean;
285
- LastModifiedBy?: string;
286
- LastModifiedDate?: string;
279
+ ApplicationId?: string | undefined;
280
+ CreationDate?: string | undefined;
281
+ Enabled?: boolean | undefined;
282
+ HasCredential?: boolean | undefined;
283
+ Id?: string | undefined;
284
+ IsArchived?: boolean | undefined;
285
+ LastModifiedBy?: string | undefined;
286
+ LastModifiedDate?: string | undefined;
287
287
  Platform: string | undefined;
288
- Version?: number;
288
+ Version?: number | undefined;
289
289
  }
290
290
  export interface ADMMessage {
291
- Action?: Action;
292
- Body?: string;
293
- ConsolidationKey?: string;
294
- Data?: Record<string, string>;
295
- ExpiresAfter?: string;
296
- IconReference?: string;
297
- ImageIconUrl?: string;
298
- ImageUrl?: string;
299
- MD5?: string;
300
- RawContent?: string;
301
- SilentPush?: boolean;
302
- SmallImageIconUrl?: string;
303
- Sound?: string;
304
- Substitutions?: Record<string, string[]>;
305
- Title?: string;
306
- Url?: string;
291
+ Action?: Action | undefined;
292
+ Body?: string | undefined;
293
+ ConsolidationKey?: string | undefined;
294
+ Data?: Record<string, string> | undefined;
295
+ ExpiresAfter?: string | undefined;
296
+ IconReference?: string | undefined;
297
+ ImageIconUrl?: string | undefined;
298
+ ImageUrl?: string | undefined;
299
+ MD5?: string | undefined;
300
+ RawContent?: string | undefined;
301
+ SilentPush?: boolean | undefined;
302
+ SmallImageIconUrl?: string | undefined;
303
+ Sound?: string | undefined;
304
+ Substitutions?: Record<string, string[]> | undefined;
305
+ Title?: string | undefined;
306
+ Url?: string | undefined;
307
307
  }
308
308
  export declare const Alignment: {
309
309
  readonly CENTER: "CENTER";
@@ -312,140 +312,140 @@ export declare const Alignment: {
312
312
  };
313
313
  export type Alignment = (typeof Alignment)[keyof typeof Alignment];
314
314
  export interface AndroidPushNotificationTemplate {
315
- Action?: Action;
316
- Body?: string;
317
- ImageIconUrl?: string;
318
- ImageUrl?: string;
319
- RawContent?: string;
320
- SmallImageIconUrl?: string;
321
- Sound?: string;
322
- Title?: string;
323
- Url?: string;
315
+ Action?: Action | undefined;
316
+ Body?: string | undefined;
317
+ ImageIconUrl?: string | undefined;
318
+ ImageUrl?: string | undefined;
319
+ RawContent?: string | undefined;
320
+ SmallImageIconUrl?: string | undefined;
321
+ Sound?: string | undefined;
322
+ Title?: string | undefined;
323
+ Url?: string | undefined;
324
324
  }
325
325
  export interface APNSChannelRequest {
326
- BundleId?: string;
327
- Certificate?: string;
328
- DefaultAuthenticationMethod?: string;
329
- Enabled?: boolean;
330
- PrivateKey?: string;
331
- TeamId?: string;
332
- TokenKey?: string;
333
- TokenKeyId?: string;
326
+ BundleId?: string | undefined;
327
+ Certificate?: string | undefined;
328
+ DefaultAuthenticationMethod?: string | undefined;
329
+ Enabled?: boolean | undefined;
330
+ PrivateKey?: string | undefined;
331
+ TeamId?: string | undefined;
332
+ TokenKey?: string | undefined;
333
+ TokenKeyId?: string | undefined;
334
334
  }
335
335
  export interface APNSChannelResponse {
336
- ApplicationId?: string;
337
- CreationDate?: string;
338
- DefaultAuthenticationMethod?: string;
339
- Enabled?: boolean;
340
- HasCredential?: boolean;
341
- HasTokenKey?: boolean;
342
- Id?: string;
343
- IsArchived?: boolean;
344
- LastModifiedBy?: string;
345
- LastModifiedDate?: string;
336
+ ApplicationId?: string | undefined;
337
+ CreationDate?: string | undefined;
338
+ DefaultAuthenticationMethod?: string | undefined;
339
+ Enabled?: boolean | undefined;
340
+ HasCredential?: boolean | undefined;
341
+ HasTokenKey?: boolean | undefined;
342
+ Id?: string | undefined;
343
+ IsArchived?: boolean | undefined;
344
+ LastModifiedBy?: string | undefined;
345
+ LastModifiedDate?: string | undefined;
346
346
  Platform: string | undefined;
347
- Version?: number;
347
+ Version?: number | undefined;
348
348
  }
349
349
  export interface APNSMessage {
350
- APNSPushType?: string;
351
- Action?: Action;
352
- Badge?: number;
353
- Body?: string;
354
- Category?: string;
355
- CollapseId?: string;
356
- Data?: Record<string, string>;
357
- MediaUrl?: string;
358
- PreferredAuthenticationMethod?: string;
359
- Priority?: string;
360
- RawContent?: string;
361
- SilentPush?: boolean;
362
- Sound?: string;
363
- Substitutions?: Record<string, string[]>;
364
- ThreadId?: string;
365
- TimeToLive?: number;
366
- Title?: string;
367
- Url?: string;
350
+ APNSPushType?: string | undefined;
351
+ Action?: Action | undefined;
352
+ Badge?: number | undefined;
353
+ Body?: string | undefined;
354
+ Category?: string | undefined;
355
+ CollapseId?: string | undefined;
356
+ Data?: Record<string, string> | undefined;
357
+ MediaUrl?: string | undefined;
358
+ PreferredAuthenticationMethod?: string | undefined;
359
+ Priority?: string | undefined;
360
+ RawContent?: string | undefined;
361
+ SilentPush?: boolean | undefined;
362
+ Sound?: string | undefined;
363
+ Substitutions?: Record<string, string[]> | undefined;
364
+ ThreadId?: string | undefined;
365
+ TimeToLive?: number | undefined;
366
+ Title?: string | undefined;
367
+ Url?: string | undefined;
368
368
  }
369
369
  export interface APNSPushNotificationTemplate {
370
- Action?: Action;
371
- Body?: string;
372
- MediaUrl?: string;
373
- RawContent?: string;
374
- Sound?: string;
375
- Title?: string;
376
- Url?: string;
370
+ Action?: Action | undefined;
371
+ Body?: string | undefined;
372
+ MediaUrl?: string | undefined;
373
+ RawContent?: string | undefined;
374
+ Sound?: string | undefined;
375
+ Title?: string | undefined;
376
+ Url?: string | undefined;
377
377
  }
378
378
  export interface APNSSandboxChannelRequest {
379
- BundleId?: string;
380
- Certificate?: string;
381
- DefaultAuthenticationMethod?: string;
382
- Enabled?: boolean;
383
- PrivateKey?: string;
384
- TeamId?: string;
385
- TokenKey?: string;
386
- TokenKeyId?: string;
379
+ BundleId?: string | undefined;
380
+ Certificate?: string | undefined;
381
+ DefaultAuthenticationMethod?: string | undefined;
382
+ Enabled?: boolean | undefined;
383
+ PrivateKey?: string | undefined;
384
+ TeamId?: string | undefined;
385
+ TokenKey?: string | undefined;
386
+ TokenKeyId?: string | undefined;
387
387
  }
388
388
  export interface APNSSandboxChannelResponse {
389
- ApplicationId?: string;
390
- CreationDate?: string;
391
- DefaultAuthenticationMethod?: string;
392
- Enabled?: boolean;
393
- HasCredential?: boolean;
394
- HasTokenKey?: boolean;
395
- Id?: string;
396
- IsArchived?: boolean;
397
- LastModifiedBy?: string;
398
- LastModifiedDate?: string;
389
+ ApplicationId?: string | undefined;
390
+ CreationDate?: string | undefined;
391
+ DefaultAuthenticationMethod?: string | undefined;
392
+ Enabled?: boolean | undefined;
393
+ HasCredential?: boolean | undefined;
394
+ HasTokenKey?: boolean | undefined;
395
+ Id?: string | undefined;
396
+ IsArchived?: boolean | undefined;
397
+ LastModifiedBy?: string | undefined;
398
+ LastModifiedDate?: string | undefined;
399
399
  Platform: string | undefined;
400
- Version?: number;
400
+ Version?: number | undefined;
401
401
  }
402
402
  export interface APNSVoipChannelRequest {
403
- BundleId?: string;
404
- Certificate?: string;
405
- DefaultAuthenticationMethod?: string;
406
- Enabled?: boolean;
407
- PrivateKey?: string;
408
- TeamId?: string;
409
- TokenKey?: string;
410
- TokenKeyId?: string;
403
+ BundleId?: string | undefined;
404
+ Certificate?: string | undefined;
405
+ DefaultAuthenticationMethod?: string | undefined;
406
+ Enabled?: boolean | undefined;
407
+ PrivateKey?: string | undefined;
408
+ TeamId?: string | undefined;
409
+ TokenKey?: string | undefined;
410
+ TokenKeyId?: string | undefined;
411
411
  }
412
412
  export interface APNSVoipChannelResponse {
413
- ApplicationId?: string;
414
- CreationDate?: string;
415
- DefaultAuthenticationMethod?: string;
416
- Enabled?: boolean;
417
- HasCredential?: boolean;
418
- HasTokenKey?: boolean;
419
- Id?: string;
420
- IsArchived?: boolean;
421
- LastModifiedBy?: string;
422
- LastModifiedDate?: string;
413
+ ApplicationId?: string | undefined;
414
+ CreationDate?: string | undefined;
415
+ DefaultAuthenticationMethod?: string | undefined;
416
+ Enabled?: boolean | undefined;
417
+ HasCredential?: boolean | undefined;
418
+ HasTokenKey?: boolean | undefined;
419
+ Id?: string | undefined;
420
+ IsArchived?: boolean | undefined;
421
+ LastModifiedBy?: string | undefined;
422
+ LastModifiedDate?: string | undefined;
423
423
  Platform: string | undefined;
424
- Version?: number;
424
+ Version?: number | undefined;
425
425
  }
426
426
  export interface APNSVoipSandboxChannelRequest {
427
- BundleId?: string;
428
- Certificate?: string;
429
- DefaultAuthenticationMethod?: string;
430
- Enabled?: boolean;
431
- PrivateKey?: string;
432
- TeamId?: string;
433
- TokenKey?: string;
434
- TokenKeyId?: string;
427
+ BundleId?: string | undefined;
428
+ Certificate?: string | undefined;
429
+ DefaultAuthenticationMethod?: string | undefined;
430
+ Enabled?: boolean | undefined;
431
+ PrivateKey?: string | undefined;
432
+ TeamId?: string | undefined;
433
+ TokenKey?: string | undefined;
434
+ TokenKeyId?: string | undefined;
435
435
  }
436
436
  export interface APNSVoipSandboxChannelResponse {
437
- ApplicationId?: string;
438
- CreationDate?: string;
439
- DefaultAuthenticationMethod?: string;
440
- Enabled?: boolean;
441
- HasCredential?: boolean;
442
- HasTokenKey?: boolean;
443
- Id?: string;
444
- IsArchived?: boolean;
445
- LastModifiedBy?: string;
446
- LastModifiedDate?: string;
437
+ ApplicationId?: string | undefined;
438
+ CreationDate?: string | undefined;
439
+ DefaultAuthenticationMethod?: string | undefined;
440
+ Enabled?: boolean | undefined;
441
+ HasCredential?: boolean | undefined;
442
+ HasTokenKey?: boolean | undefined;
443
+ Id?: string | undefined;
444
+ IsArchived?: boolean | undefined;
445
+ LastModifiedBy?: string | undefined;
446
+ LastModifiedDate?: string | undefined;
447
447
  Platform: string | undefined;
448
- Version?: number;
448
+ Version?: number | undefined;
449
449
  }
450
450
  export interface ResultRowValue {
451
451
  Key: string | undefined;
@@ -464,24 +464,24 @@ export interface ApplicationDateRangeKpiResponse {
464
464
  EndTime: Date | undefined;
465
465
  KpiName: string | undefined;
466
466
  KpiResult: BaseKpiResult | undefined;
467
- NextToken?: string;
467
+ NextToken?: string | undefined;
468
468
  StartTime: Date | undefined;
469
469
  }
470
470
  export interface ApplicationResponse {
471
471
  Arn: string | undefined;
472
472
  Id: string | undefined;
473
473
  Name: string | undefined;
474
- tags?: Record<string, string>;
475
- CreationDate?: string;
474
+ tags?: Record<string, string> | undefined;
475
+ CreationDate?: string | undefined;
476
476
  }
477
477
  export interface JourneyTimeframeCap {
478
- Cap?: number;
479
- Days?: number;
478
+ Cap?: number | undefined;
479
+ Days?: number | undefined;
480
480
  }
481
481
  export interface ApplicationSettingsJourneyLimits {
482
- DailyCap?: number;
483
- TimeframeCap?: JourneyTimeframeCap;
484
- TotalCap?: number;
482
+ DailyCap?: number | undefined;
483
+ TimeframeCap?: JourneyTimeframeCap | undefined;
484
+ TotalCap?: number | undefined;
485
485
  }
486
486
  export declare const Mode: {
487
487
  readonly DELIVERY: "DELIVERY";
@@ -489,80 +489,80 @@ export declare const Mode: {
489
489
  };
490
490
  export type Mode = (typeof Mode)[keyof typeof Mode];
491
491
  export interface CampaignHook {
492
- LambdaFunctionName?: string;
493
- Mode?: Mode;
494
- WebUrl?: string;
492
+ LambdaFunctionName?: string | undefined;
493
+ Mode?: Mode | undefined;
494
+ WebUrl?: string | undefined;
495
495
  }
496
496
  export interface CampaignLimits {
497
- Daily?: number;
498
- MaximumDuration?: number;
499
- MessagesPerSecond?: number;
500
- Total?: number;
501
- Session?: number;
497
+ Daily?: number | undefined;
498
+ MaximumDuration?: number | undefined;
499
+ MessagesPerSecond?: number | undefined;
500
+ Total?: number | undefined;
501
+ Session?: number | undefined;
502
502
  }
503
503
  export interface QuietTime {
504
- End?: string;
505
- Start?: string;
504
+ End?: string | undefined;
505
+ Start?: string | undefined;
506
506
  }
507
507
  export interface ApplicationSettingsResource {
508
508
  ApplicationId: string | undefined;
509
- CampaignHook?: CampaignHook;
510
- LastModifiedDate?: string;
511
- Limits?: CampaignLimits;
512
- QuietTime?: QuietTime;
513
- JourneyLimits?: ApplicationSettingsJourneyLimits;
509
+ CampaignHook?: CampaignHook | undefined;
510
+ LastModifiedDate?: string | undefined;
511
+ Limits?: CampaignLimits | undefined;
512
+ QuietTime?: QuietTime | undefined;
513
+ JourneyLimits?: ApplicationSettingsJourneyLimits | undefined;
514
514
  }
515
515
  export interface ApplicationsResponse {
516
- Item?: ApplicationResponse[];
517
- NextToken?: string;
516
+ Item?: ApplicationResponse[] | undefined;
517
+ NextToken?: string | undefined;
518
518
  }
519
519
  export interface AttributesResource {
520
520
  ApplicationId: string | undefined;
521
521
  AttributeType: string | undefined;
522
- Attributes?: string[];
522
+ Attributes?: string[] | undefined;
523
523
  }
524
524
  export declare class BadRequestException extends __BaseException {
525
525
  readonly name: "BadRequestException";
526
526
  readonly $fault: "client";
527
- Message?: string;
528
- RequestID?: string;
527
+ Message?: string | undefined;
528
+ RequestID?: string | undefined;
529
529
  constructor(
530
530
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
531
531
  );
532
532
  }
533
533
  export interface BaiduChannelRequest {
534
534
  ApiKey: string | undefined;
535
- Enabled?: boolean;
535
+ Enabled?: boolean | undefined;
536
536
  SecretKey: string | undefined;
537
537
  }
538
538
  export interface BaiduChannelResponse {
539
- ApplicationId?: string;
540
- CreationDate?: string;
539
+ ApplicationId?: string | undefined;
540
+ CreationDate?: string | undefined;
541
541
  Credential: string | undefined;
542
- Enabled?: boolean;
543
- HasCredential?: boolean;
544
- Id?: string;
545
- IsArchived?: boolean;
546
- LastModifiedBy?: string;
547
- LastModifiedDate?: string;
542
+ Enabled?: boolean | undefined;
543
+ HasCredential?: boolean | undefined;
544
+ Id?: string | undefined;
545
+ IsArchived?: boolean | undefined;
546
+ LastModifiedBy?: string | undefined;
547
+ LastModifiedDate?: string | undefined;
548
548
  Platform: string | undefined;
549
- Version?: number;
549
+ Version?: number | undefined;
550
550
  }
551
551
  export interface BaiduMessage {
552
- Action?: Action;
553
- Body?: string;
554
- Data?: Record<string, string>;
555
- IconReference?: string;
556
- ImageIconUrl?: string;
557
- ImageUrl?: string;
558
- RawContent?: string;
559
- SilentPush?: boolean;
560
- SmallImageIconUrl?: string;
561
- Sound?: string;
562
- Substitutions?: Record<string, string[]>;
563
- TimeToLive?: number;
564
- Title?: string;
565
- Url?: string;
552
+ Action?: Action | undefined;
553
+ Body?: string | undefined;
554
+ Data?: Record<string, string> | undefined;
555
+ IconReference?: string | undefined;
556
+ ImageIconUrl?: string | undefined;
557
+ ImageUrl?: string | undefined;
558
+ RawContent?: string | undefined;
559
+ SilentPush?: boolean | undefined;
560
+ SmallImageIconUrl?: string | undefined;
561
+ Sound?: string | undefined;
562
+ Substitutions?: Record<string, string[]> | undefined;
563
+ TimeToLive?: number | undefined;
564
+ Title?: string | undefined;
565
+ Url?: string | undefined;
566
566
  }
567
567
  export declare const ButtonAction: {
568
568
  readonly CLOSE: "CLOSE";
@@ -571,7 +571,7 @@ export declare const ButtonAction: {
571
571
  };
572
572
  export type ButtonAction = (typeof ButtonAction)[keyof typeof ButtonAction];
573
573
  export interface CampaignCustomMessage {
574
- Data?: string;
574
+ Data?: string | undefined;
575
575
  }
576
576
  export interface CampaignDateRangeKpiResponse {
577
577
  ApplicationId: string | undefined;
@@ -579,19 +579,19 @@ export interface CampaignDateRangeKpiResponse {
579
579
  EndTime: Date | undefined;
580
580
  KpiName: string | undefined;
581
581
  KpiResult: BaseKpiResult | undefined;
582
- NextToken?: string;
582
+ NextToken?: string | undefined;
583
583
  StartTime: Date | undefined;
584
584
  }
585
585
  export interface MessageHeader {
586
- Name?: string;
587
- Value?: string;
586
+ Name?: string | undefined;
587
+ Value?: string | undefined;
588
588
  }
589
589
  export interface CampaignEmailMessage {
590
- Body?: string;
591
- FromAddress?: string;
592
- Headers?: MessageHeader[];
593
- HtmlBody?: string;
594
- Title?: string;
590
+ Body?: string | undefined;
591
+ FromAddress?: string | undefined;
592
+ Headers?: MessageHeader[] | undefined;
593
+ HtmlBody?: string | undefined;
594
+ Title?: string | undefined;
595
595
  }
596
596
  export declare const FilterType: {
597
597
  readonly ENDPOINT: "ENDPOINT";
@@ -614,29 +614,29 @@ export interface InAppMessageHeaderConfig {
614
614
  }
615
615
  export interface OverrideButtonConfiguration {
616
616
  ButtonAction: ButtonAction | undefined;
617
- Link?: string;
617
+ Link?: string | undefined;
618
618
  }
619
619
  export interface DefaultButtonConfiguration {
620
- BackgroundColor?: string;
621
- BorderRadius?: number;
620
+ BackgroundColor?: string | undefined;
621
+ BorderRadius?: number | undefined;
622
622
  ButtonAction: ButtonAction | undefined;
623
- Link?: string;
623
+ Link?: string | undefined;
624
624
  Text: string | undefined;
625
- TextColor?: string;
625
+ TextColor?: string | undefined;
626
626
  }
627
627
  export interface InAppMessageButton {
628
- Android?: OverrideButtonConfiguration;
629
- DefaultConfig?: DefaultButtonConfiguration;
630
- IOS?: OverrideButtonConfiguration;
631
- Web?: OverrideButtonConfiguration;
628
+ Android?: OverrideButtonConfiguration | undefined;
629
+ DefaultConfig?: DefaultButtonConfiguration | undefined;
630
+ IOS?: OverrideButtonConfiguration | undefined;
631
+ Web?: OverrideButtonConfiguration | undefined;
632
632
  }
633
633
  export interface InAppMessageContent {
634
- BackgroundColor?: string;
635
- BodyConfig?: InAppMessageBodyConfig;
636
- HeaderConfig?: InAppMessageHeaderConfig;
637
- ImageUrl?: string;
638
- PrimaryBtn?: InAppMessageButton;
639
- SecondaryBtn?: InAppMessageButton;
634
+ BackgroundColor?: string | undefined;
635
+ BodyConfig?: InAppMessageBodyConfig | undefined;
636
+ HeaderConfig?: InAppMessageHeaderConfig | undefined;
637
+ ImageUrl?: string | undefined;
638
+ PrimaryBtn?: InAppMessageButton | undefined;
639
+ SecondaryBtn?: InAppMessageButton | undefined;
640
640
  }
641
641
  export declare const Layout: {
642
642
  readonly BOTTOM_BANNER: "BOTTOM_BANNER";
@@ -648,47 +648,47 @@ export declare const Layout: {
648
648
  };
649
649
  export type Layout = (typeof Layout)[keyof typeof Layout];
650
650
  export interface CampaignInAppMessage {
651
- Body?: string;
652
- Content?: InAppMessageContent[];
653
- CustomConfig?: Record<string, string>;
654
- Layout?: Layout;
651
+ Body?: string | undefined;
652
+ Content?: InAppMessageContent[] | undefined;
653
+ CustomConfig?: Record<string, string> | undefined;
654
+ Layout?: Layout | undefined;
655
655
  }
656
656
  export interface CustomDeliveryConfiguration {
657
657
  DeliveryUri: string | undefined;
658
- EndpointTypes?: __EndpointTypesElement[];
658
+ EndpointTypes?: __EndpointTypesElement[] | undefined;
659
659
  }
660
660
  export interface Message {
661
- Action?: Action;
662
- Body?: string;
663
- ImageIconUrl?: string;
664
- ImageSmallIconUrl?: string;
665
- ImageUrl?: string;
666
- JsonBody?: string;
667
- MediaUrl?: string;
668
- RawContent?: string;
669
- SilentPush?: boolean;
670
- TimeToLive?: number;
671
- Title?: string;
672
- Url?: string;
661
+ Action?: Action | undefined;
662
+ Body?: string | undefined;
663
+ ImageIconUrl?: string | undefined;
664
+ ImageSmallIconUrl?: string | undefined;
665
+ ImageUrl?: string | undefined;
666
+ JsonBody?: string | undefined;
667
+ MediaUrl?: string | undefined;
668
+ RawContent?: string | undefined;
669
+ SilentPush?: boolean | undefined;
670
+ TimeToLive?: number | undefined;
671
+ Title?: string | undefined;
672
+ Url?: string | undefined;
673
673
  }
674
674
  export interface CampaignSmsMessage {
675
- Body?: string;
676
- MessageType?: MessageType;
677
- OriginationNumber?: string;
678
- SenderId?: string;
679
- EntityId?: string;
680
- TemplateId?: string;
675
+ Body?: string | undefined;
676
+ MessageType?: MessageType | undefined;
677
+ OriginationNumber?: string | undefined;
678
+ SenderId?: string | undefined;
679
+ EntityId?: string | undefined;
680
+ TemplateId?: string | undefined;
681
681
  }
682
682
  export interface MessageConfiguration {
683
- ADMMessage?: Message;
684
- APNSMessage?: Message;
685
- BaiduMessage?: Message;
686
- CustomMessage?: CampaignCustomMessage;
687
- DefaultMessage?: Message;
688
- EmailMessage?: CampaignEmailMessage;
689
- GCMMessage?: Message;
690
- SMSMessage?: CampaignSmsMessage;
691
- InAppMessage?: CampaignInAppMessage;
683
+ ADMMessage?: Message | undefined;
684
+ APNSMessage?: Message | undefined;
685
+ BaiduMessage?: Message | undefined;
686
+ CustomMessage?: CampaignCustomMessage | undefined;
687
+ DefaultMessage?: Message | undefined;
688
+ EmailMessage?: CampaignEmailMessage | undefined;
689
+ GCMMessage?: Message | undefined;
690
+ SMSMessage?: CampaignSmsMessage | undefined;
691
+ InAppMessage?: CampaignInAppMessage | undefined;
692
692
  }
693
693
  export declare const Frequency: {
694
694
  readonly DAILY: "DAILY";
@@ -701,13 +701,13 @@ export declare const Frequency: {
701
701
  };
702
702
  export type Frequency = (typeof Frequency)[keyof typeof Frequency];
703
703
  export interface Schedule {
704
- EndTime?: string;
705
- EventFilter?: CampaignEventFilter;
706
- Frequency?: Frequency;
707
- IsLocalTime?: boolean;
708
- QuietTime?: QuietTime;
704
+ EndTime?: string | undefined;
705
+ EventFilter?: CampaignEventFilter | undefined;
706
+ Frequency?: Frequency | undefined;
707
+ IsLocalTime?: boolean | undefined;
708
+ QuietTime?: QuietTime | undefined;
709
709
  StartTime: string | undefined;
710
- Timezone?: string;
710
+ Timezone?: string | undefined;
711
711
  }
712
712
  export declare const CampaignStatus: {
713
713
  readonly COMPLETED: "COMPLETED";
@@ -721,97 +721,97 @@ export declare const CampaignStatus: {
721
721
  export type CampaignStatus =
722
722
  (typeof CampaignStatus)[keyof typeof CampaignStatus];
723
723
  export interface CampaignState {
724
- CampaignStatus?: CampaignStatus;
724
+ CampaignStatus?: CampaignStatus | undefined;
725
725
  }
726
726
  export interface Template {
727
- Name?: string;
728
- Version?: string;
727
+ Name?: string | undefined;
728
+ Version?: string | undefined;
729
729
  }
730
730
  export interface TemplateConfiguration {
731
- EmailTemplate?: Template;
732
- PushTemplate?: Template;
733
- SMSTemplate?: Template;
734
- VoiceTemplate?: Template;
735
- InAppTemplate?: Template;
731
+ EmailTemplate?: Template | undefined;
732
+ PushTemplate?: Template | undefined;
733
+ SMSTemplate?: Template | undefined;
734
+ VoiceTemplate?: Template | undefined;
735
+ InAppTemplate?: Template | undefined;
736
736
  }
737
737
  export interface TreatmentResource {
738
- CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
738
+ CustomDeliveryConfiguration?: CustomDeliveryConfiguration | undefined;
739
739
  Id: string | undefined;
740
- MessageConfiguration?: MessageConfiguration;
741
- Schedule?: Schedule;
740
+ MessageConfiguration?: MessageConfiguration | undefined;
741
+ Schedule?: Schedule | undefined;
742
742
  SizePercent: number | undefined;
743
- State?: CampaignState;
744
- TemplateConfiguration?: TemplateConfiguration;
745
- TreatmentDescription?: string;
746
- TreatmentName?: string;
743
+ State?: CampaignState | undefined;
744
+ TemplateConfiguration?: TemplateConfiguration | undefined;
745
+ TreatmentDescription?: string | undefined;
746
+ TreatmentName?: string | undefined;
747
747
  }
748
748
  export interface CampaignResponse {
749
- AdditionalTreatments?: TreatmentResource[];
749
+ AdditionalTreatments?: TreatmentResource[] | undefined;
750
750
  ApplicationId: string | undefined;
751
751
  Arn: string | undefined;
752
752
  CreationDate: string | undefined;
753
- CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
754
- DefaultState?: CampaignState;
755
- Description?: string;
756
- HoldoutPercent?: number;
757
- Hook?: CampaignHook;
753
+ CustomDeliveryConfiguration?: CustomDeliveryConfiguration | undefined;
754
+ DefaultState?: CampaignState | undefined;
755
+ Description?: string | undefined;
756
+ HoldoutPercent?: number | undefined;
757
+ Hook?: CampaignHook | undefined;
758
758
  Id: string | undefined;
759
- IsPaused?: boolean;
759
+ IsPaused?: boolean | undefined;
760
760
  LastModifiedDate: string | undefined;
761
- Limits?: CampaignLimits;
762
- MessageConfiguration?: MessageConfiguration;
763
- Name?: string;
764
- Schedule?: Schedule;
761
+ Limits?: CampaignLimits | undefined;
762
+ MessageConfiguration?: MessageConfiguration | undefined;
763
+ Name?: string | undefined;
764
+ Schedule?: Schedule | undefined;
765
765
  SegmentId: string | undefined;
766
766
  SegmentVersion: number | undefined;
767
- State?: CampaignState;
768
- tags?: Record<string, string>;
769
- TemplateConfiguration?: TemplateConfiguration;
770
- TreatmentDescription?: string;
771
- TreatmentName?: string;
772
- Version?: number;
773
- Priority?: number;
767
+ State?: CampaignState | undefined;
768
+ tags?: Record<string, string> | undefined;
769
+ TemplateConfiguration?: TemplateConfiguration | undefined;
770
+ TreatmentDescription?: string | undefined;
771
+ TreatmentName?: string | undefined;
772
+ Version?: number | undefined;
773
+ Priority?: number | undefined;
774
774
  }
775
775
  export interface CampaignsResponse {
776
776
  Item: CampaignResponse[] | undefined;
777
- NextToken?: string;
777
+ NextToken?: string | undefined;
778
778
  }
779
779
  export interface ChannelResponse {
780
- ApplicationId?: string;
781
- CreationDate?: string;
782
- Enabled?: boolean;
783
- HasCredential?: boolean;
784
- Id?: string;
785
- IsArchived?: boolean;
786
- LastModifiedBy?: string;
787
- LastModifiedDate?: string;
788
- Version?: number;
780
+ ApplicationId?: string | undefined;
781
+ CreationDate?: string | undefined;
782
+ Enabled?: boolean | undefined;
783
+ HasCredential?: boolean | undefined;
784
+ Id?: string | undefined;
785
+ IsArchived?: boolean | undefined;
786
+ LastModifiedBy?: string | undefined;
787
+ LastModifiedDate?: string | undefined;
788
+ Version?: number | undefined;
789
789
  }
790
790
  export interface ChannelsResponse {
791
791
  Channels: Record<string, ChannelResponse> | undefined;
792
792
  }
793
793
  export interface ClosedDaysRule {
794
- Name?: string;
795
- StartDateTime?: string;
796
- EndDateTime?: string;
794
+ Name?: string | undefined;
795
+ StartDateTime?: string | undefined;
796
+ EndDateTime?: string | undefined;
797
797
  }
798
798
  export interface ClosedDays {
799
- EMAIL?: ClosedDaysRule[];
800
- SMS?: ClosedDaysRule[];
801
- PUSH?: ClosedDaysRule[];
802
- VOICE?: ClosedDaysRule[];
803
- CUSTOM?: ClosedDaysRule[];
799
+ EMAIL?: ClosedDaysRule[] | undefined;
800
+ SMS?: ClosedDaysRule[] | undefined;
801
+ PUSH?: ClosedDaysRule[] | undefined;
802
+ VOICE?: ClosedDaysRule[] | undefined;
803
+ CUSTOM?: ClosedDaysRule[] | undefined;
804
804
  }
805
805
  export declare class ConflictException extends __BaseException {
806
806
  readonly name: "ConflictException";
807
807
  readonly $fault: "client";
808
- Message?: string;
809
- RequestID?: string;
808
+ Message?: string | undefined;
809
+ RequestID?: string | undefined;
810
810
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
811
811
  }
812
812
  export interface CreateApplicationRequest {
813
813
  Name: string | undefined;
814
- tags?: Record<string, string>;
814
+ tags?: Record<string, string> | undefined;
815
815
  }
816
816
  export interface CreateAppRequest {
817
817
  CreateApplicationRequest: CreateApplicationRequest | undefined;
@@ -822,15 +822,15 @@ export interface CreateAppResponse {
822
822
  export declare class ForbiddenException extends __BaseException {
823
823
  readonly name: "ForbiddenException";
824
824
  readonly $fault: "client";
825
- Message?: string;
826
- RequestID?: string;
825
+ Message?: string | undefined;
826
+ RequestID?: string | undefined;
827
827
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
828
828
  }
829
829
  export declare class InternalServerErrorException extends __BaseException {
830
830
  readonly name: "InternalServerErrorException";
831
831
  readonly $fault: "server";
832
- Message?: string;
833
- RequestID?: string;
832
+ Message?: string | undefined;
833
+ RequestID?: string | undefined;
834
834
  constructor(
835
835
  opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
836
836
  );
@@ -838,8 +838,8 @@ export declare class InternalServerErrorException extends __BaseException {
838
838
  export declare class MethodNotAllowedException extends __BaseException {
839
839
  readonly name: "MethodNotAllowedException";
840
840
  readonly $fault: "client";
841
- Message?: string;
842
- RequestID?: string;
841
+ Message?: string | undefined;
842
+ RequestID?: string | undefined;
843
843
  constructor(
844
844
  opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>
845
845
  );
@@ -847,15 +847,15 @@ export declare class MethodNotAllowedException extends __BaseException {
847
847
  export declare class NotFoundException extends __BaseException {
848
848
  readonly name: "NotFoundException";
849
849
  readonly $fault: "client";
850
- Message?: string;
851
- RequestID?: string;
850
+ Message?: string | undefined;
851
+ RequestID?: string | undefined;
852
852
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
853
853
  }
854
854
  export declare class PayloadTooLargeException extends __BaseException {
855
855
  readonly name: "PayloadTooLargeException";
856
856
  readonly $fault: "client";
857
- Message?: string;
858
- RequestID?: string;
857
+ Message?: string | undefined;
858
+ RequestID?: string | undefined;
859
859
  constructor(
860
860
  opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>
861
861
  );
@@ -863,39 +863,39 @@ export declare class PayloadTooLargeException extends __BaseException {
863
863
  export declare class TooManyRequestsException extends __BaseException {
864
864
  readonly name: "TooManyRequestsException";
865
865
  readonly $fault: "client";
866
- Message?: string;
867
- RequestID?: string;
866
+ Message?: string | undefined;
867
+ RequestID?: string | undefined;
868
868
  constructor(
869
869
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
870
870
  );
871
871
  }
872
872
  export interface WriteTreatmentResource {
873
- CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
874
- MessageConfiguration?: MessageConfiguration;
875
- Schedule?: Schedule;
873
+ CustomDeliveryConfiguration?: CustomDeliveryConfiguration | undefined;
874
+ MessageConfiguration?: MessageConfiguration | undefined;
875
+ Schedule?: Schedule | undefined;
876
876
  SizePercent: number | undefined;
877
- TemplateConfiguration?: TemplateConfiguration;
878
- TreatmentDescription?: string;
879
- TreatmentName?: string;
877
+ TemplateConfiguration?: TemplateConfiguration | undefined;
878
+ TreatmentDescription?: string | undefined;
879
+ TreatmentName?: string | undefined;
880
880
  }
881
881
  export interface WriteCampaignRequest {
882
- AdditionalTreatments?: WriteTreatmentResource[];
883
- CustomDeliveryConfiguration?: CustomDeliveryConfiguration;
884
- Description?: string;
885
- HoldoutPercent?: number;
886
- Hook?: CampaignHook;
887
- IsPaused?: boolean;
888
- Limits?: CampaignLimits;
889
- MessageConfiguration?: MessageConfiguration;
890
- Name?: string;
891
- Schedule?: Schedule;
892
- SegmentId?: string;
893
- SegmentVersion?: number;
894
- tags?: Record<string, string>;
895
- TemplateConfiguration?: TemplateConfiguration;
896
- TreatmentDescription?: string;
897
- TreatmentName?: string;
898
- Priority?: number;
882
+ AdditionalTreatments?: WriteTreatmentResource[] | undefined;
883
+ CustomDeliveryConfiguration?: CustomDeliveryConfiguration | undefined;
884
+ Description?: string | undefined;
885
+ HoldoutPercent?: number | undefined;
886
+ Hook?: CampaignHook | undefined;
887
+ IsPaused?: boolean | undefined;
888
+ Limits?: CampaignLimits | undefined;
889
+ MessageConfiguration?: MessageConfiguration | undefined;
890
+ Name?: string | undefined;
891
+ Schedule?: Schedule | undefined;
892
+ SegmentId?: string | undefined;
893
+ SegmentVersion?: number | undefined;
894
+ tags?: Record<string, string> | undefined;
895
+ TemplateConfiguration?: TemplateConfiguration | undefined;
896
+ TreatmentDescription?: string | undefined;
897
+ TreatmentName?: string | undefined;
898
+ Priority?: number | undefined;
899
899
  }
900
900
  export interface CreateCampaignRequest {
901
901
  ApplicationId: string | undefined;
@@ -905,23 +905,23 @@ export interface CreateCampaignResponse {
905
905
  CampaignResponse: CampaignResponse | undefined;
906
906
  }
907
907
  export interface EmailTemplateRequest {
908
- DefaultSubstitutions?: string;
909
- HtmlPart?: string;
910
- RecommenderId?: string;
911
- Subject?: string;
912
- Headers?: MessageHeader[];
913
- tags?: Record<string, string>;
914
- TemplateDescription?: string;
915
- TextPart?: string;
908
+ DefaultSubstitutions?: string | undefined;
909
+ HtmlPart?: string | undefined;
910
+ RecommenderId?: string | undefined;
911
+ Subject?: string | undefined;
912
+ Headers?: MessageHeader[] | undefined;
913
+ tags?: Record<string, string> | undefined;
914
+ TemplateDescription?: string | undefined;
915
+ TextPart?: string | undefined;
916
916
  }
917
917
  export interface CreateEmailTemplateRequest {
918
918
  EmailTemplateRequest: EmailTemplateRequest | undefined;
919
919
  TemplateName: string | undefined;
920
920
  }
921
921
  export interface CreateTemplateMessageBody {
922
- Arn?: string;
923
- Message?: string;
924
- RequestID?: string;
922
+ Arn?: string | undefined;
923
+ Message?: string | undefined;
924
+ RequestID?: string | undefined;
925
925
  }
926
926
  export interface CreateEmailTemplateResponse {
927
927
  CreateTemplateMessageBody: CreateTemplateMessageBody | undefined;
@@ -929,8 +929,8 @@ export interface CreateEmailTemplateResponse {
929
929
  export interface ExportJobRequest {
930
930
  RoleArn: string | undefined;
931
931
  S3UrlPrefix: string | undefined;
932
- SegmentId?: string;
933
- SegmentVersion?: number;
932
+ SegmentId?: string | undefined;
933
+ SegmentVersion?: number | undefined;
934
934
  }
935
935
  export interface CreateExportJobRequest {
936
936
  ApplicationId: string | undefined;
@@ -939,8 +939,8 @@ export interface CreateExportJobRequest {
939
939
  export interface ExportJobResource {
940
940
  RoleArn: string | undefined;
941
941
  S3UrlPrefix: string | undefined;
942
- SegmentId?: string;
943
- SegmentVersion?: number;
942
+ SegmentId?: string | undefined;
943
+ SegmentVersion?: number | undefined;
944
944
  }
945
945
  export declare const JobStatus: {
946
946
  readonly COMPLETED: "COMPLETED";
@@ -956,17 +956,17 @@ export declare const JobStatus: {
956
956
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
957
957
  export interface ExportJobResponse {
958
958
  ApplicationId: string | undefined;
959
- CompletedPieces?: number;
960
- CompletionDate?: string;
959
+ CompletedPieces?: number | undefined;
960
+ CompletionDate?: string | undefined;
961
961
  CreationDate: string | undefined;
962
962
  Definition: ExportJobResource | undefined;
963
- FailedPieces?: number;
964
- Failures?: string[];
963
+ FailedPieces?: number | undefined;
964
+ Failures?: string[] | undefined;
965
965
  Id: string | undefined;
966
966
  JobStatus: JobStatus | undefined;
967
- TotalFailures?: number;
968
- TotalPieces?: number;
969
- TotalProcessed?: number;
967
+ TotalFailures?: number | undefined;
968
+ TotalPieces?: number | undefined;
969
+ TotalProcessed?: number | undefined;
970
970
  Type: string | undefined;
971
971
  }
972
972
  export interface CreateExportJobResponse {
@@ -978,77 +978,77 @@ export declare const Format: {
978
978
  };
979
979
  export type Format = (typeof Format)[keyof typeof Format];
980
980
  export interface ImportJobRequest {
981
- DefineSegment?: boolean;
982
- ExternalId?: string;
981
+ DefineSegment?: boolean | undefined;
982
+ ExternalId?: string | undefined;
983
983
  Format: Format | undefined;
984
- RegisterEndpoints?: boolean;
984
+ RegisterEndpoints?: boolean | undefined;
985
985
  RoleArn: string | undefined;
986
986
  S3Url: string | undefined;
987
- SegmentId?: string;
988
- SegmentName?: string;
987
+ SegmentId?: string | undefined;
988
+ SegmentName?: string | undefined;
989
989
  }
990
990
  export interface CreateImportJobRequest {
991
991
  ApplicationId: string | undefined;
992
992
  ImportJobRequest: ImportJobRequest | undefined;
993
993
  }
994
994
  export interface ImportJobResource {
995
- DefineSegment?: boolean;
996
- ExternalId?: string;
995
+ DefineSegment?: boolean | undefined;
996
+ ExternalId?: string | undefined;
997
997
  Format: Format | undefined;
998
- RegisterEndpoints?: boolean;
998
+ RegisterEndpoints?: boolean | undefined;
999
999
  RoleArn: string | undefined;
1000
1000
  S3Url: string | undefined;
1001
- SegmentId?: string;
1002
- SegmentName?: string;
1001
+ SegmentId?: string | undefined;
1002
+ SegmentName?: string | undefined;
1003
1003
  }
1004
1004
  export interface ImportJobResponse {
1005
1005
  ApplicationId: string | undefined;
1006
- CompletedPieces?: number;
1007
- CompletionDate?: string;
1006
+ CompletedPieces?: number | undefined;
1007
+ CompletionDate?: string | undefined;
1008
1008
  CreationDate: string | undefined;
1009
1009
  Definition: ImportJobResource | undefined;
1010
- FailedPieces?: number;
1011
- Failures?: string[];
1010
+ FailedPieces?: number | undefined;
1011
+ Failures?: string[] | undefined;
1012
1012
  Id: string | undefined;
1013
1013
  JobStatus: JobStatus | undefined;
1014
- TotalFailures?: number;
1015
- TotalPieces?: number;
1016
- TotalProcessed?: number;
1014
+ TotalFailures?: number | undefined;
1015
+ TotalPieces?: number | undefined;
1016
+ TotalProcessed?: number | undefined;
1017
1017
  Type: string | undefined;
1018
1018
  }
1019
1019
  export interface CreateImportJobResponse {
1020
1020
  ImportJobResponse: ImportJobResponse | undefined;
1021
1021
  }
1022
1022
  export interface InAppTemplateRequest {
1023
- Content?: InAppMessageContent[];
1024
- CustomConfig?: Record<string, string>;
1025
- Layout?: Layout;
1026
- tags?: Record<string, string>;
1027
- TemplateDescription?: string;
1023
+ Content?: InAppMessageContent[] | undefined;
1024
+ CustomConfig?: Record<string, string> | undefined;
1025
+ Layout?: Layout | undefined;
1026
+ tags?: Record<string, string> | undefined;
1027
+ TemplateDescription?: string | undefined;
1028
1028
  }
1029
1029
  export interface CreateInAppTemplateRequest {
1030
1030
  InAppTemplateRequest: InAppTemplateRequest | undefined;
1031
1031
  TemplateName: string | undefined;
1032
1032
  }
1033
1033
  export interface TemplateCreateMessageBody {
1034
- Arn?: string;
1035
- Message?: string;
1036
- RequestID?: string;
1034
+ Arn?: string | undefined;
1035
+ Message?: string | undefined;
1036
+ RequestID?: string | undefined;
1037
1037
  }
1038
1038
  export interface CreateInAppTemplateResponse {
1039
1039
  TemplateCreateMessageBody: TemplateCreateMessageBody | undefined;
1040
1040
  }
1041
1041
  export interface JourneyChannelSettings {
1042
- ConnectCampaignArn?: string;
1043
- ConnectCampaignExecutionRoleArn?: string;
1042
+ ConnectCampaignArn?: string | undefined;
1043
+ ConnectCampaignExecutionRoleArn?: string | undefined;
1044
1044
  }
1045
1045
  export interface JourneyLimits {
1046
- DailyCap?: number;
1047
- EndpointReentryCap?: number;
1048
- MessagesPerSecond?: number;
1049
- EndpointReentryInterval?: string;
1050
- TimeframeCap?: JourneyTimeframeCap;
1051
- TotalCap?: number;
1046
+ DailyCap?: number | undefined;
1047
+ EndpointReentryCap?: number | undefined;
1048
+ MessagesPerSecond?: number | undefined;
1049
+ EndpointReentryInterval?: string | undefined;
1050
+ TimeframeCap?: JourneyTimeframeCap | undefined;
1051
+ TotalCap?: number | undefined;
1052
1052
  }
1053
1053
  export declare const DayOfWeek: {
1054
1054
  readonly FRIDAY: "FRIDAY";
@@ -1061,33 +1061,33 @@ export declare const DayOfWeek: {
1061
1061
  };
1062
1062
  export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
1063
1063
  export interface OpenHoursRule {
1064
- StartTime?: string;
1065
- EndTime?: string;
1064
+ StartTime?: string | undefined;
1065
+ EndTime?: string | undefined;
1066
1066
  }
1067
1067
  export interface OpenHours {
1068
- EMAIL?: Partial<Record<DayOfWeek, OpenHoursRule[]>>;
1069
- SMS?: Partial<Record<DayOfWeek, OpenHoursRule[]>>;
1070
- PUSH?: Partial<Record<DayOfWeek, OpenHoursRule[]>>;
1071
- VOICE?: Partial<Record<DayOfWeek, OpenHoursRule[]>>;
1072
- CUSTOM?: Partial<Record<DayOfWeek, OpenHoursRule[]>>;
1068
+ EMAIL?: Partial<Record<DayOfWeek, OpenHoursRule[]>> | undefined;
1069
+ SMS?: Partial<Record<DayOfWeek, OpenHoursRule[]>> | undefined;
1070
+ PUSH?: Partial<Record<DayOfWeek, OpenHoursRule[]>> | undefined;
1071
+ VOICE?: Partial<Record<DayOfWeek, OpenHoursRule[]>> | undefined;
1072
+ CUSTOM?: Partial<Record<DayOfWeek, OpenHoursRule[]>> | undefined;
1073
1073
  }
1074
1074
  export interface JourneySchedule {
1075
- EndTime?: Date;
1076
- StartTime?: Date;
1077
- Timezone?: string;
1075
+ EndTime?: Date | undefined;
1076
+ StartTime?: Date | undefined;
1077
+ Timezone?: string | undefined;
1078
1078
  }
1079
1079
  export interface EventFilter {
1080
1080
  Dimensions: EventDimensions | undefined;
1081
1081
  FilterType: FilterType | undefined;
1082
1082
  }
1083
1083
  export interface EventStartCondition {
1084
- EventFilter?: EventFilter;
1085
- SegmentId?: string;
1084
+ EventFilter?: EventFilter | undefined;
1085
+ SegmentId?: string | undefined;
1086
1086
  }
1087
1087
  export interface StartCondition {
1088
- Description?: string;
1089
- EventStartCondition?: EventStartCondition;
1090
- SegmentStartCondition?: SegmentCondition;
1088
+ Description?: string | undefined;
1089
+ EventStartCondition?: EventStartCondition | undefined;
1090
+ SegmentStartCondition?: SegmentCondition | undefined;
1091
1091
  }
1092
1092
  export declare const State: {
1093
1093
  readonly ACTIVE: "ACTIVE";
@@ -1099,74 +1099,74 @@ export declare const State: {
1099
1099
  };
1100
1100
  export type State = (typeof State)[keyof typeof State];
1101
1101
  export interface WriteJourneyRequest {
1102
- Activities?: Record<string, Activity>;
1103
- CreationDate?: string;
1104
- LastModifiedDate?: string;
1105
- Limits?: JourneyLimits;
1106
- LocalTime?: boolean;
1102
+ Activities?: Record<string, Activity> | undefined;
1103
+ CreationDate?: string | undefined;
1104
+ LastModifiedDate?: string | undefined;
1105
+ Limits?: JourneyLimits | undefined;
1106
+ LocalTime?: boolean | undefined;
1107
1107
  Name: string | undefined;
1108
- QuietTime?: QuietTime;
1109
- RefreshFrequency?: string;
1110
- Schedule?: JourneySchedule;
1111
- StartActivity?: string;
1112
- StartCondition?: StartCondition;
1113
- State?: State;
1114
- WaitForQuietTime?: boolean;
1115
- RefreshOnSegmentUpdate?: boolean;
1116
- JourneyChannelSettings?: JourneyChannelSettings;
1117
- SendingSchedule?: boolean;
1118
- OpenHours?: OpenHours;
1119
- ClosedDays?: ClosedDays;
1120
- TimezoneEstimationMethods?: __TimezoneEstimationMethodsElement[];
1108
+ QuietTime?: QuietTime | undefined;
1109
+ RefreshFrequency?: string | undefined;
1110
+ Schedule?: JourneySchedule | undefined;
1111
+ StartActivity?: string | undefined;
1112
+ StartCondition?: StartCondition | undefined;
1113
+ State?: State | undefined;
1114
+ WaitForQuietTime?: boolean | undefined;
1115
+ RefreshOnSegmentUpdate?: boolean | undefined;
1116
+ JourneyChannelSettings?: JourneyChannelSettings | undefined;
1117
+ SendingSchedule?: boolean | undefined;
1118
+ OpenHours?: OpenHours | undefined;
1119
+ ClosedDays?: ClosedDays | undefined;
1120
+ TimezoneEstimationMethods?: __TimezoneEstimationMethodsElement[] | undefined;
1121
1121
  }
1122
1122
  export interface CreateJourneyRequest {
1123
1123
  ApplicationId: string | undefined;
1124
1124
  WriteJourneyRequest: WriteJourneyRequest | undefined;
1125
1125
  }
1126
1126
  export interface JourneyResponse {
1127
- Activities?: Record<string, Activity>;
1127
+ Activities?: Record<string, Activity> | undefined;
1128
1128
  ApplicationId: string | undefined;
1129
- CreationDate?: string;
1129
+ CreationDate?: string | undefined;
1130
1130
  Id: string | undefined;
1131
- LastModifiedDate?: string;
1132
- Limits?: JourneyLimits;
1133
- LocalTime?: boolean;
1131
+ LastModifiedDate?: string | undefined;
1132
+ Limits?: JourneyLimits | undefined;
1133
+ LocalTime?: boolean | undefined;
1134
1134
  Name: string | undefined;
1135
- QuietTime?: QuietTime;
1136
- RefreshFrequency?: string;
1137
- Schedule?: JourneySchedule;
1138
- StartActivity?: string;
1139
- StartCondition?: StartCondition;
1140
- State?: State;
1141
- tags?: Record<string, string>;
1142
- WaitForQuietTime?: boolean;
1143
- RefreshOnSegmentUpdate?: boolean;
1144
- JourneyChannelSettings?: JourneyChannelSettings;
1145
- SendingSchedule?: boolean;
1146
- OpenHours?: OpenHours;
1147
- ClosedDays?: ClosedDays;
1148
- TimezoneEstimationMethods?: __TimezoneEstimationMethodsElement[];
1135
+ QuietTime?: QuietTime | undefined;
1136
+ RefreshFrequency?: string | undefined;
1137
+ Schedule?: JourneySchedule | undefined;
1138
+ StartActivity?: string | undefined;
1139
+ StartCondition?: StartCondition | undefined;
1140
+ State?: State | undefined;
1141
+ tags?: Record<string, string> | undefined;
1142
+ WaitForQuietTime?: boolean | undefined;
1143
+ RefreshOnSegmentUpdate?: boolean | undefined;
1144
+ JourneyChannelSettings?: JourneyChannelSettings | undefined;
1145
+ SendingSchedule?: boolean | undefined;
1146
+ OpenHours?: OpenHours | undefined;
1147
+ ClosedDays?: ClosedDays | undefined;
1148
+ TimezoneEstimationMethods?: __TimezoneEstimationMethodsElement[] | undefined;
1149
1149
  }
1150
1150
  export interface CreateJourneyResponse {
1151
1151
  JourneyResponse: JourneyResponse | undefined;
1152
1152
  }
1153
1153
  export interface DefaultPushNotificationTemplate {
1154
- Action?: Action;
1155
- Body?: string;
1156
- Sound?: string;
1157
- Title?: string;
1158
- Url?: string;
1154
+ Action?: Action | undefined;
1155
+ Body?: string | undefined;
1156
+ Sound?: string | undefined;
1157
+ Title?: string | undefined;
1158
+ Url?: string | undefined;
1159
1159
  }
1160
1160
  export interface PushNotificationTemplateRequest {
1161
- ADM?: AndroidPushNotificationTemplate;
1162
- APNS?: APNSPushNotificationTemplate;
1163
- Baidu?: AndroidPushNotificationTemplate;
1164
- Default?: DefaultPushNotificationTemplate;
1165
- DefaultSubstitutions?: string;
1166
- GCM?: AndroidPushNotificationTemplate;
1167
- RecommenderId?: string;
1168
- tags?: Record<string, string>;
1169
- TemplateDescription?: string;
1161
+ ADM?: AndroidPushNotificationTemplate | undefined;
1162
+ APNS?: APNSPushNotificationTemplate | undefined;
1163
+ Baidu?: AndroidPushNotificationTemplate | undefined;
1164
+ Default?: DefaultPushNotificationTemplate | undefined;
1165
+ DefaultSubstitutions?: string | undefined;
1166
+ GCM?: AndroidPushNotificationTemplate | undefined;
1167
+ RecommenderId?: string | undefined;
1168
+ tags?: Record<string, string> | undefined;
1169
+ TemplateDescription?: string | undefined;
1170
1170
  }
1171
1171
  export interface CreatePushTemplateRequest {
1172
1172
  PushNotificationTemplateRequest: PushNotificationTemplateRequest | undefined;
@@ -1176,15 +1176,15 @@ export interface CreatePushTemplateResponse {
1176
1176
  CreateTemplateMessageBody: CreateTemplateMessageBody | undefined;
1177
1177
  }
1178
1178
  export interface CreateRecommenderConfigurationShape {
1179
- Attributes?: Record<string, string>;
1180
- Description?: string;
1181
- Name?: string;
1182
- RecommendationProviderIdType?: string;
1179
+ Attributes?: Record<string, string> | undefined;
1180
+ Description?: string | undefined;
1181
+ Name?: string | undefined;
1182
+ RecommendationProviderIdType?: string | undefined;
1183
1183
  RecommendationProviderRoleArn: string | undefined;
1184
1184
  RecommendationProviderUri: string | undefined;
1185
- RecommendationTransformerUri?: string;
1186
- RecommendationsDisplayName?: string;
1187
- RecommendationsPerMessage?: number;
1185
+ RecommendationTransformerUri?: string | undefined;
1186
+ RecommendationsDisplayName?: string | undefined;
1187
+ RecommendationsPerMessage?: number | undefined;
1188
1188
  }
1189
1189
  export interface CreateRecommenderConfigurationRequest {
1190
1190
  CreateRecommenderConfiguration:
@@ -1192,18 +1192,18 @@ export interface CreateRecommenderConfigurationRequest {
1192
1192
  | undefined;
1193
1193
  }
1194
1194
  export interface RecommenderConfigurationResponse {
1195
- Attributes?: Record<string, string>;
1195
+ Attributes?: Record<string, string> | undefined;
1196
1196
  CreationDate: string | undefined;
1197
- Description?: string;
1197
+ Description?: string | undefined;
1198
1198
  Id: string | undefined;
1199
1199
  LastModifiedDate: string | undefined;
1200
- Name?: string;
1201
- RecommendationProviderIdType?: string;
1200
+ Name?: string | undefined;
1201
+ RecommendationProviderIdType?: string | undefined;
1202
1202
  RecommendationProviderRoleArn: string | undefined;
1203
1203
  RecommendationProviderUri: string | undefined;
1204
- RecommendationTransformerUri?: string;
1205
- RecommendationsDisplayName?: string;
1206
- RecommendationsPerMessage?: number;
1204
+ RecommendationTransformerUri?: string | undefined;
1205
+ RecommendationsDisplayName?: string | undefined;
1206
+ RecommendationsPerMessage?: number | undefined;
1207
1207
  }
1208
1208
  export interface CreateRecommenderConfigurationResponse {
1209
1209
  RecommenderConfigurationResponse:
@@ -1212,7 +1212,7 @@ export interface CreateRecommenderConfigurationResponse {
1212
1212
  }
1213
1213
  export interface SegmentReference {
1214
1214
  Id: string | undefined;
1215
- Version?: number;
1215
+ Version?: number | undefined;
1216
1216
  }
1217
1217
  export declare const SourceType: {
1218
1218
  readonly ALL: "ALL";
@@ -1227,10 +1227,10 @@ export declare const Type: {
1227
1227
  };
1228
1228
  export type Type = (typeof Type)[keyof typeof Type];
1229
1229
  export interface SegmentGroup {
1230
- Dimensions?: SegmentDimensions[];
1231
- SourceSegments?: SegmentReference[];
1232
- SourceType?: SourceType;
1233
- Type?: Type;
1230
+ Dimensions?: SegmentDimensions[] | undefined;
1231
+ SourceSegments?: SegmentReference[] | undefined;
1232
+ SourceType?: SourceType | undefined;
1233
+ Type?: Type | undefined;
1234
1234
  }
1235
1235
  export declare const Include: {
1236
1236
  readonly ALL: "ALL";
@@ -1239,21 +1239,21 @@ export declare const Include: {
1239
1239
  };
1240
1240
  export type Include = (typeof Include)[keyof typeof Include];
1241
1241
  export interface SegmentGroupList {
1242
- Groups?: SegmentGroup[];
1243
- Include?: Include;
1242
+ Groups?: SegmentGroup[] | undefined;
1243
+ Include?: Include | undefined;
1244
1244
  }
1245
1245
  export interface WriteSegmentRequest {
1246
- Dimensions?: SegmentDimensions;
1247
- Name?: string;
1248
- SegmentGroups?: SegmentGroupList;
1249
- tags?: Record<string, string>;
1246
+ Dimensions?: SegmentDimensions | undefined;
1247
+ Name?: string | undefined;
1248
+ SegmentGroups?: SegmentGroupList | undefined;
1249
+ tags?: Record<string, string> | undefined;
1250
1250
  }
1251
1251
  export interface CreateSegmentRequest {
1252
1252
  ApplicationId: string | undefined;
1253
1253
  WriteSegmentRequest: WriteSegmentRequest | undefined;
1254
1254
  }
1255
1255
  export interface SegmentImportResource {
1256
- ChannelCounts?: Record<string, number>;
1256
+ ChannelCounts?: Record<string, number> | undefined;
1257
1257
  ExternalId: string | undefined;
1258
1258
  Format: Format | undefined;
1259
1259
  RoleArn: string | undefined;
@@ -1269,25 +1269,25 @@ export interface SegmentResponse {
1269
1269
  ApplicationId: string | undefined;
1270
1270
  Arn: string | undefined;
1271
1271
  CreationDate: string | undefined;
1272
- Dimensions?: SegmentDimensions;
1272
+ Dimensions?: SegmentDimensions | undefined;
1273
1273
  Id: string | undefined;
1274
- ImportDefinition?: SegmentImportResource;
1275
- LastModifiedDate?: string;
1276
- Name?: string;
1277
- SegmentGroups?: SegmentGroupList;
1274
+ ImportDefinition?: SegmentImportResource | undefined;
1275
+ LastModifiedDate?: string | undefined;
1276
+ Name?: string | undefined;
1277
+ SegmentGroups?: SegmentGroupList | undefined;
1278
1278
  SegmentType: SegmentType | undefined;
1279
- tags?: Record<string, string>;
1280
- Version?: number;
1279
+ tags?: Record<string, string> | undefined;
1280
+ Version?: number | undefined;
1281
1281
  }
1282
1282
  export interface CreateSegmentResponse {
1283
1283
  SegmentResponse: SegmentResponse | undefined;
1284
1284
  }
1285
1285
  export interface SMSTemplateRequest {
1286
- Body?: string;
1287
- DefaultSubstitutions?: string;
1288
- RecommenderId?: string;
1289
- tags?: Record<string, string>;
1290
- TemplateDescription?: string;
1286
+ Body?: string | undefined;
1287
+ DefaultSubstitutions?: string | undefined;
1288
+ RecommenderId?: string | undefined;
1289
+ tags?: Record<string, string> | undefined;
1290
+ TemplateDescription?: string | undefined;
1291
1291
  }
1292
1292
  export interface CreateSmsTemplateRequest {
1293
1293
  SMSTemplateRequest: SMSTemplateRequest | undefined;
@@ -1297,12 +1297,12 @@ export interface CreateSmsTemplateResponse {
1297
1297
  CreateTemplateMessageBody: CreateTemplateMessageBody | undefined;
1298
1298
  }
1299
1299
  export interface VoiceTemplateRequest {
1300
- Body?: string;
1301
- DefaultSubstitutions?: string;
1302
- LanguageCode?: string;
1303
- tags?: Record<string, string>;
1304
- TemplateDescription?: string;
1305
- VoiceId?: string;
1300
+ Body?: string | undefined;
1301
+ DefaultSubstitutions?: string | undefined;
1302
+ LanguageCode?: string | undefined;
1303
+ tags?: Record<string, string> | undefined;
1304
+ TemplateDescription?: string | undefined;
1305
+ VoiceId?: string | undefined;
1306
1306
  }
1307
1307
  export interface CreateVoiceTemplateRequest {
1308
1308
  TemplateName: string | undefined;
@@ -1312,17 +1312,17 @@ export interface CreateVoiceTemplateResponse {
1312
1312
  CreateTemplateMessageBody: CreateTemplateMessageBody | undefined;
1313
1313
  }
1314
1314
  export interface DefaultMessage {
1315
- Body?: string;
1316
- Substitutions?: Record<string, string[]>;
1315
+ Body?: string | undefined;
1316
+ Substitutions?: Record<string, string[]> | undefined;
1317
1317
  }
1318
1318
  export interface DefaultPushNotificationMessage {
1319
- Action?: Action;
1320
- Body?: string;
1321
- Data?: Record<string, string>;
1322
- SilentPush?: boolean;
1323
- Substitutions?: Record<string, string[]>;
1324
- Title?: string;
1325
- Url?: string;
1319
+ Action?: Action | undefined;
1320
+ Body?: string | undefined;
1321
+ Data?: Record<string, string> | undefined;
1322
+ SilentPush?: boolean | undefined;
1323
+ Substitutions?: Record<string, string[]> | undefined;
1324
+ Title?: string | undefined;
1325
+ Url?: string | undefined;
1326
1326
  }
1327
1327
  export interface DeleteAdmChannelRequest {
1328
1328
  ApplicationId: string | undefined;
@@ -1377,33 +1377,33 @@ export interface DeleteEmailChannelRequest {
1377
1377
  ApplicationId: string | undefined;
1378
1378
  }
1379
1379
  export interface EmailChannelResponse {
1380
- ApplicationId?: string;
1381
- ConfigurationSet?: string;
1382
- CreationDate?: string;
1383
- Enabled?: boolean;
1384
- FromAddress?: string;
1385
- HasCredential?: boolean;
1386
- Id?: string;
1387
- Identity?: string;
1388
- IsArchived?: boolean;
1389
- LastModifiedBy?: string;
1390
- LastModifiedDate?: string;
1391
- MessagesPerSecond?: number;
1380
+ ApplicationId?: string | undefined;
1381
+ ConfigurationSet?: string | undefined;
1382
+ CreationDate?: string | undefined;
1383
+ Enabled?: boolean | undefined;
1384
+ FromAddress?: string | undefined;
1385
+ HasCredential?: boolean | undefined;
1386
+ Id?: string | undefined;
1387
+ Identity?: string | undefined;
1388
+ IsArchived?: boolean | undefined;
1389
+ LastModifiedBy?: string | undefined;
1390
+ LastModifiedDate?: string | undefined;
1391
+ MessagesPerSecond?: number | undefined;
1392
1392
  Platform: string | undefined;
1393
- RoleArn?: string;
1394
- OrchestrationSendingRoleArn?: string;
1395
- Version?: number;
1393
+ RoleArn?: string | undefined;
1394
+ OrchestrationSendingRoleArn?: string | undefined;
1395
+ Version?: number | undefined;
1396
1396
  }
1397
1397
  export interface DeleteEmailChannelResponse {
1398
1398
  EmailChannelResponse: EmailChannelResponse | undefined;
1399
1399
  }
1400
1400
  export interface DeleteEmailTemplateRequest {
1401
1401
  TemplateName: string | undefined;
1402
- Version?: string;
1402
+ Version?: string | undefined;
1403
1403
  }
1404
1404
  export interface MessageBody {
1405
- Message?: string;
1406
- RequestID?: string;
1405
+ Message?: string | undefined;
1406
+ RequestID?: string | undefined;
1407
1407
  }
1408
1408
  export interface DeleteEmailTemplateResponse {
1409
1409
  MessageBody: MessageBody | undefined;
@@ -1413,43 +1413,43 @@ export interface DeleteEndpointRequest {
1413
1413
  EndpointId: string | undefined;
1414
1414
  }
1415
1415
  export interface EndpointDemographic {
1416
- AppVersion?: string;
1417
- Locale?: string;
1418
- Make?: string;
1419
- Model?: string;
1420
- ModelVersion?: string;
1421
- Platform?: string;
1422
- PlatformVersion?: string;
1423
- Timezone?: string;
1416
+ AppVersion?: string | undefined;
1417
+ Locale?: string | undefined;
1418
+ Make?: string | undefined;
1419
+ Model?: string | undefined;
1420
+ ModelVersion?: string | undefined;
1421
+ Platform?: string | undefined;
1422
+ PlatformVersion?: string | undefined;
1423
+ Timezone?: string | undefined;
1424
1424
  }
1425
1425
  export interface EndpointLocation {
1426
- City?: string;
1427
- Country?: string;
1428
- Latitude?: number;
1429
- Longitude?: number;
1430
- PostalCode?: string;
1431
- Region?: string;
1426
+ City?: string | undefined;
1427
+ Country?: string | undefined;
1428
+ Latitude?: number | undefined;
1429
+ Longitude?: number | undefined;
1430
+ PostalCode?: string | undefined;
1431
+ Region?: string | undefined;
1432
1432
  }
1433
1433
  export interface EndpointUser {
1434
- UserAttributes?: Record<string, string[]>;
1435
- UserId?: string;
1434
+ UserAttributes?: Record<string, string[]> | undefined;
1435
+ UserId?: string | undefined;
1436
1436
  }
1437
1437
  export interface EndpointResponse {
1438
- Address?: string;
1439
- ApplicationId?: string;
1440
- Attributes?: Record<string, string[]>;
1441
- ChannelType?: ChannelType;
1442
- CohortId?: string;
1443
- CreationDate?: string;
1444
- Demographic?: EndpointDemographic;
1445
- EffectiveDate?: string;
1446
- EndpointStatus?: string;
1447
- Id?: string;
1448
- Location?: EndpointLocation;
1449
- Metrics?: Record<string, number>;
1450
- OptOut?: string;
1451
- RequestId?: string;
1452
- User?: EndpointUser;
1438
+ Address?: string | undefined;
1439
+ ApplicationId?: string | undefined;
1440
+ Attributes?: Record<string, string[]> | undefined;
1441
+ ChannelType?: ChannelType | undefined;
1442
+ CohortId?: string | undefined;
1443
+ CreationDate?: string | undefined;
1444
+ Demographic?: EndpointDemographic | undefined;
1445
+ EffectiveDate?: string | undefined;
1446
+ EndpointStatus?: string | undefined;
1447
+ Id?: string | undefined;
1448
+ Location?: EndpointLocation | undefined;
1449
+ Metrics?: Record<string, number> | undefined;
1450
+ OptOut?: string | undefined;
1451
+ RequestId?: string | undefined;
1452
+ User?: EndpointUser | undefined;
1453
1453
  }
1454
1454
  export interface DeleteEndpointResponse {
1455
1455
  EndpointResponse: EndpointResponse | undefined;
@@ -1460,9 +1460,9 @@ export interface DeleteEventStreamRequest {
1460
1460
  export interface EventStream {
1461
1461
  ApplicationId: string | undefined;
1462
1462
  DestinationStreamArn: string | undefined;
1463
- ExternalId?: string;
1464
- LastModifiedDate?: string;
1465
- LastUpdatedBy?: string;
1463
+ ExternalId?: string | undefined;
1464
+ LastModifiedDate?: string | undefined;
1465
+ LastUpdatedBy?: string | undefined;
1466
1466
  RoleArn: string | undefined;
1467
1467
  }
1468
1468
  export interface DeleteEventStreamResponse {
@@ -1472,26 +1472,26 @@ export interface DeleteGcmChannelRequest {
1472
1472
  ApplicationId: string | undefined;
1473
1473
  }
1474
1474
  export interface GCMChannelResponse {
1475
- ApplicationId?: string;
1476
- CreationDate?: string;
1477
- Credential?: string;
1478
- DefaultAuthenticationMethod?: string;
1479
- Enabled?: boolean;
1480
- HasCredential?: boolean;
1481
- HasFcmServiceCredentials?: boolean;
1482
- Id?: string;
1483
- IsArchived?: boolean;
1484
- LastModifiedBy?: string;
1485
- LastModifiedDate?: string;
1475
+ ApplicationId?: string | undefined;
1476
+ CreationDate?: string | undefined;
1477
+ Credential?: string | undefined;
1478
+ DefaultAuthenticationMethod?: string | undefined;
1479
+ Enabled?: boolean | undefined;
1480
+ HasCredential?: boolean | undefined;
1481
+ HasFcmServiceCredentials?: boolean | undefined;
1482
+ Id?: string | undefined;
1483
+ IsArchived?: boolean | undefined;
1484
+ LastModifiedBy?: string | undefined;
1485
+ LastModifiedDate?: string | undefined;
1486
1486
  Platform: string | undefined;
1487
- Version?: number;
1487
+ Version?: number | undefined;
1488
1488
  }
1489
1489
  export interface DeleteGcmChannelResponse {
1490
1490
  GCMChannelResponse: GCMChannelResponse | undefined;
1491
1491
  }
1492
1492
  export interface DeleteInAppTemplateRequest {
1493
1493
  TemplateName: string | undefined;
1494
- Version?: string;
1494
+ Version?: string | undefined;
1495
1495
  }
1496
1496
  export interface DeleteInAppTemplateResponse {
1497
1497
  MessageBody: MessageBody | undefined;
@@ -1505,7 +1505,7 @@ export interface DeleteJourneyResponse {
1505
1505
  }
1506
1506
  export interface DeletePushTemplateRequest {
1507
1507
  TemplateName: string | undefined;
1508
- Version?: string;
1508
+ Version?: string | undefined;
1509
1509
  }
1510
1510
  export interface DeletePushTemplateResponse {
1511
1511
  MessageBody: MessageBody | undefined;
@@ -1529,27 +1529,27 @@ export interface DeleteSmsChannelRequest {
1529
1529
  ApplicationId: string | undefined;
1530
1530
  }
1531
1531
  export interface SMSChannelResponse {
1532
- ApplicationId?: string;
1533
- CreationDate?: string;
1534
- Enabled?: boolean;
1535
- HasCredential?: boolean;
1536
- Id?: string;
1537
- IsArchived?: boolean;
1538
- LastModifiedBy?: string;
1539
- LastModifiedDate?: string;
1532
+ ApplicationId?: string | undefined;
1533
+ CreationDate?: string | undefined;
1534
+ Enabled?: boolean | undefined;
1535
+ HasCredential?: boolean | undefined;
1536
+ Id?: string | undefined;
1537
+ IsArchived?: boolean | undefined;
1538
+ LastModifiedBy?: string | undefined;
1539
+ LastModifiedDate?: string | undefined;
1540
1540
  Platform: string | undefined;
1541
- PromotionalMessagesPerSecond?: number;
1542
- SenderId?: string;
1543
- ShortCode?: string;
1544
- TransactionalMessagesPerSecond?: number;
1545
- Version?: number;
1541
+ PromotionalMessagesPerSecond?: number | undefined;
1542
+ SenderId?: string | undefined;
1543
+ ShortCode?: string | undefined;
1544
+ TransactionalMessagesPerSecond?: number | undefined;
1545
+ Version?: number | undefined;
1546
1546
  }
1547
1547
  export interface DeleteSmsChannelResponse {
1548
1548
  SMSChannelResponse: SMSChannelResponse | undefined;
1549
1549
  }
1550
1550
  export interface DeleteSmsTemplateRequest {
1551
1551
  TemplateName: string | undefined;
1552
- Version?: string;
1552
+ Version?: string | undefined;
1553
1553
  }
1554
1554
  export interface DeleteSmsTemplateResponse {
1555
1555
  MessageBody: MessageBody | undefined;
@@ -1568,23 +1568,23 @@ export interface DeleteVoiceChannelRequest {
1568
1568
  ApplicationId: string | undefined;
1569
1569
  }
1570
1570
  export interface VoiceChannelResponse {
1571
- ApplicationId?: string;
1572
- CreationDate?: string;
1573
- Enabled?: boolean;
1574
- HasCredential?: boolean;
1575
- Id?: string;
1576
- IsArchived?: boolean;
1577
- LastModifiedBy?: string;
1578
- LastModifiedDate?: string;
1571
+ ApplicationId?: string | undefined;
1572
+ CreationDate?: string | undefined;
1573
+ Enabled?: boolean | undefined;
1574
+ HasCredential?: boolean | undefined;
1575
+ Id?: string | undefined;
1576
+ IsArchived?: boolean | undefined;
1577
+ LastModifiedBy?: string | undefined;
1578
+ LastModifiedDate?: string | undefined;
1579
1579
  Platform: string | undefined;
1580
- Version?: number;
1580
+ Version?: number | undefined;
1581
1581
  }
1582
1582
  export interface DeleteVoiceChannelResponse {
1583
1583
  VoiceChannelResponse: VoiceChannelResponse | undefined;
1584
1584
  }
1585
1585
  export interface DeleteVoiceTemplateRequest {
1586
1586
  TemplateName: string | undefined;
1587
- Version?: string;
1587
+ Version?: string | undefined;
1588
1588
  }
1589
1589
  export interface DeleteVoiceTemplateResponse {
1590
1590
  MessageBody: MessageBody | undefined;
@@ -1601,83 +1601,83 @@ export declare const DeliveryStatus: {
1601
1601
  export type DeliveryStatus =
1602
1602
  (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
1603
1603
  export interface RawEmail {
1604
- Data?: Uint8Array;
1604
+ Data?: Uint8Array | undefined;
1605
1605
  }
1606
1606
  export interface SimpleEmailPart {
1607
- Charset?: string;
1608
- Data?: string;
1607
+ Charset?: string | undefined;
1608
+ Data?: string | undefined;
1609
1609
  }
1610
1610
  export interface SimpleEmail {
1611
- HtmlPart?: SimpleEmailPart;
1612
- Subject?: SimpleEmailPart;
1613
- TextPart?: SimpleEmailPart;
1614
- Headers?: MessageHeader[];
1611
+ HtmlPart?: SimpleEmailPart | undefined;
1612
+ Subject?: SimpleEmailPart | undefined;
1613
+ TextPart?: SimpleEmailPart | undefined;
1614
+ Headers?: MessageHeader[] | undefined;
1615
1615
  }
1616
1616
  export interface EmailMessage {
1617
- Body?: string;
1618
- FeedbackForwardingAddress?: string;
1619
- FromAddress?: string;
1620
- RawEmail?: RawEmail;
1621
- ReplyToAddresses?: string[];
1622
- SimpleEmail?: SimpleEmail;
1623
- Substitutions?: Record<string, string[]>;
1617
+ Body?: string | undefined;
1618
+ FeedbackForwardingAddress?: string | undefined;
1619
+ FromAddress?: string | undefined;
1620
+ RawEmail?: RawEmail | undefined;
1621
+ ReplyToAddresses?: string[] | undefined;
1622
+ SimpleEmail?: SimpleEmail | undefined;
1623
+ Substitutions?: Record<string, string[]> | undefined;
1624
1624
  }
1625
1625
  export interface GCMMessage {
1626
- Action?: Action;
1627
- Body?: string;
1628
- CollapseKey?: string;
1629
- Data?: Record<string, string>;
1630
- IconReference?: string;
1631
- ImageIconUrl?: string;
1632
- ImageUrl?: string;
1633
- PreferredAuthenticationMethod?: string;
1634
- Priority?: string;
1635
- RawContent?: string;
1636
- RestrictedPackageName?: string;
1637
- SilentPush?: boolean;
1638
- SmallImageIconUrl?: string;
1639
- Sound?: string;
1640
- Substitutions?: Record<string, string[]>;
1641
- TimeToLive?: number;
1642
- Title?: string;
1643
- Url?: string;
1626
+ Action?: Action | undefined;
1627
+ Body?: string | undefined;
1628
+ CollapseKey?: string | undefined;
1629
+ Data?: Record<string, string> | undefined;
1630
+ IconReference?: string | undefined;
1631
+ ImageIconUrl?: string | undefined;
1632
+ ImageUrl?: string | undefined;
1633
+ PreferredAuthenticationMethod?: string | undefined;
1634
+ Priority?: string | undefined;
1635
+ RawContent?: string | undefined;
1636
+ RestrictedPackageName?: string | undefined;
1637
+ SilentPush?: boolean | undefined;
1638
+ SmallImageIconUrl?: string | undefined;
1639
+ Sound?: string | undefined;
1640
+ Substitutions?: Record<string, string[]> | undefined;
1641
+ TimeToLive?: number | undefined;
1642
+ Title?: string | undefined;
1643
+ Url?: string | undefined;
1644
1644
  }
1645
1645
  export interface SMSMessage {
1646
- Body?: string;
1647
- Keyword?: string;
1648
- MediaUrl?: string;
1649
- MessageType?: MessageType;
1650
- OriginationNumber?: string;
1651
- SenderId?: string;
1652
- Substitutions?: Record<string, string[]>;
1653
- EntityId?: string;
1654
- TemplateId?: string;
1646
+ Body?: string | undefined;
1647
+ Keyword?: string | undefined;
1648
+ MediaUrl?: string | undefined;
1649
+ MessageType?: MessageType | undefined;
1650
+ OriginationNumber?: string | undefined;
1651
+ SenderId?: string | undefined;
1652
+ Substitutions?: Record<string, string[]> | undefined;
1653
+ EntityId?: string | undefined;
1654
+ TemplateId?: string | undefined;
1655
1655
  }
1656
1656
  export interface VoiceMessage {
1657
- Body?: string;
1658
- LanguageCode?: string;
1659
- OriginationNumber?: string;
1660
- Substitutions?: Record<string, string[]>;
1661
- VoiceId?: string;
1657
+ Body?: string | undefined;
1658
+ LanguageCode?: string | undefined;
1659
+ OriginationNumber?: string | undefined;
1660
+ Substitutions?: Record<string, string[]> | undefined;
1661
+ VoiceId?: string | undefined;
1662
1662
  }
1663
1663
  export interface DirectMessageConfiguration {
1664
- ADMMessage?: ADMMessage;
1665
- APNSMessage?: APNSMessage;
1666
- BaiduMessage?: BaiduMessage;
1667
- DefaultMessage?: DefaultMessage;
1668
- DefaultPushNotificationMessage?: DefaultPushNotificationMessage;
1669
- EmailMessage?: EmailMessage;
1670
- GCMMessage?: GCMMessage;
1671
- SMSMessage?: SMSMessage;
1672
- VoiceMessage?: VoiceMessage;
1664
+ ADMMessage?: ADMMessage | undefined;
1665
+ APNSMessage?: APNSMessage | undefined;
1666
+ BaiduMessage?: BaiduMessage | undefined;
1667
+ DefaultMessage?: DefaultMessage | undefined;
1668
+ DefaultPushNotificationMessage?: DefaultPushNotificationMessage | undefined;
1669
+ EmailMessage?: EmailMessage | undefined;
1670
+ GCMMessage?: GCMMessage | undefined;
1671
+ SMSMessage?: SMSMessage | undefined;
1672
+ VoiceMessage?: VoiceMessage | undefined;
1673
1673
  }
1674
1674
  export interface EmailChannelRequest {
1675
- ConfigurationSet?: string;
1676
- Enabled?: boolean;
1675
+ ConfigurationSet?: string | undefined;
1676
+ Enabled?: boolean | undefined;
1677
1677
  FromAddress: string | undefined;
1678
1678
  Identity: string | undefined;
1679
- RoleArn?: string;
1680
- OrchestrationSendingRoleArn?: string;
1679
+ RoleArn?: string | undefined;
1680
+ OrchestrationSendingRoleArn?: string | undefined;
1681
1681
  }
1682
1682
  export declare const TemplateType: {
1683
1683
  readonly EMAIL: "EMAIL";
@@ -1688,104 +1688,104 @@ export declare const TemplateType: {
1688
1688
  };
1689
1689
  export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType];
1690
1690
  export interface EmailTemplateResponse {
1691
- Arn?: string;
1691
+ Arn?: string | undefined;
1692
1692
  CreationDate: string | undefined;
1693
- DefaultSubstitutions?: string;
1694
- HtmlPart?: string;
1693
+ DefaultSubstitutions?: string | undefined;
1694
+ HtmlPart?: string | undefined;
1695
1695
  LastModifiedDate: string | undefined;
1696
- RecommenderId?: string;
1697
- Subject?: string;
1698
- Headers?: MessageHeader[];
1699
- tags?: Record<string, string>;
1700
- TemplateDescription?: string;
1696
+ RecommenderId?: string | undefined;
1697
+ Subject?: string | undefined;
1698
+ Headers?: MessageHeader[] | undefined;
1699
+ tags?: Record<string, string> | undefined;
1700
+ TemplateDescription?: string | undefined;
1701
1701
  TemplateName: string | undefined;
1702
1702
  TemplateType: TemplateType | undefined;
1703
- TextPart?: string;
1704
- Version?: string;
1703
+ TextPart?: string | undefined;
1704
+ Version?: string | undefined;
1705
1705
  }
1706
1706
  export interface EndpointBatchItem {
1707
- Address?: string;
1708
- Attributes?: Record<string, string[]>;
1709
- ChannelType?: ChannelType;
1710
- Demographic?: EndpointDemographic;
1711
- EffectiveDate?: string;
1712
- EndpointStatus?: string;
1713
- Id?: string;
1714
- Location?: EndpointLocation;
1715
- Metrics?: Record<string, number>;
1716
- OptOut?: string;
1717
- RequestId?: string;
1718
- User?: EndpointUser;
1707
+ Address?: string | undefined;
1708
+ Attributes?: Record<string, string[]> | undefined;
1709
+ ChannelType?: ChannelType | undefined;
1710
+ Demographic?: EndpointDemographic | undefined;
1711
+ EffectiveDate?: string | undefined;
1712
+ EndpointStatus?: string | undefined;
1713
+ Id?: string | undefined;
1714
+ Location?: EndpointLocation | undefined;
1715
+ Metrics?: Record<string, number> | undefined;
1716
+ OptOut?: string | undefined;
1717
+ RequestId?: string | undefined;
1718
+ User?: EndpointUser | undefined;
1719
1719
  }
1720
1720
  export interface EndpointBatchRequest {
1721
1721
  Item: EndpointBatchItem[] | undefined;
1722
1722
  }
1723
1723
  export interface EndpointItemResponse {
1724
- Message?: string;
1725
- StatusCode?: number;
1724
+ Message?: string | undefined;
1725
+ StatusCode?: number | undefined;
1726
1726
  }
1727
1727
  export interface EndpointMessageResult {
1728
- Address?: string;
1728
+ Address?: string | undefined;
1729
1729
  DeliveryStatus: DeliveryStatus | undefined;
1730
- MessageId?: string;
1730
+ MessageId?: string | undefined;
1731
1731
  StatusCode: number | undefined;
1732
- StatusMessage?: string;
1733
- UpdatedToken?: string;
1732
+ StatusMessage?: string | undefined;
1733
+ UpdatedToken?: string | undefined;
1734
1734
  }
1735
1735
  export interface EndpointRequest {
1736
- Address?: string;
1737
- Attributes?: Record<string, string[]>;
1738
- ChannelType?: ChannelType;
1739
- Demographic?: EndpointDemographic;
1740
- EffectiveDate?: string;
1741
- EndpointStatus?: string;
1742
- Location?: EndpointLocation;
1743
- Metrics?: Record<string, number>;
1744
- OptOut?: string;
1745
- RequestId?: string;
1746
- User?: EndpointUser;
1736
+ Address?: string | undefined;
1737
+ Attributes?: Record<string, string[]> | undefined;
1738
+ ChannelType?: ChannelType | undefined;
1739
+ Demographic?: EndpointDemographic | undefined;
1740
+ EffectiveDate?: string | undefined;
1741
+ EndpointStatus?: string | undefined;
1742
+ Location?: EndpointLocation | undefined;
1743
+ Metrics?: Record<string, number> | undefined;
1744
+ OptOut?: string | undefined;
1745
+ RequestId?: string | undefined;
1746
+ User?: EndpointUser | undefined;
1747
1747
  }
1748
1748
  export interface EndpointSendConfiguration {
1749
- BodyOverride?: string;
1750
- Context?: Record<string, string>;
1751
- RawContent?: string;
1752
- Substitutions?: Record<string, string[]>;
1753
- TitleOverride?: string;
1749
+ BodyOverride?: string | undefined;
1750
+ Context?: Record<string, string> | undefined;
1751
+ RawContent?: string | undefined;
1752
+ Substitutions?: Record<string, string[]> | undefined;
1753
+ TitleOverride?: string | undefined;
1754
1754
  }
1755
1755
  export interface Session {
1756
- Duration?: number;
1756
+ Duration?: number | undefined;
1757
1757
  Id: string | undefined;
1758
1758
  StartTimestamp: string | undefined;
1759
- StopTimestamp?: string;
1759
+ StopTimestamp?: string | undefined;
1760
1760
  }
1761
1761
  export interface Event {
1762
- AppPackageName?: string;
1763
- AppTitle?: string;
1764
- AppVersionCode?: string;
1765
- Attributes?: Record<string, string>;
1766
- ClientSdkVersion?: string;
1762
+ AppPackageName?: string | undefined;
1763
+ AppTitle?: string | undefined;
1764
+ AppVersionCode?: string | undefined;
1765
+ Attributes?: Record<string, string> | undefined;
1766
+ ClientSdkVersion?: string | undefined;
1767
1767
  EventType: string | undefined;
1768
- Metrics?: Record<string, number>;
1769
- SdkName?: string;
1770
- Session?: Session;
1768
+ Metrics?: Record<string, number> | undefined;
1769
+ SdkName?: string | undefined;
1770
+ Session?: Session | undefined;
1771
1771
  Timestamp: string | undefined;
1772
1772
  }
1773
1773
  export interface EventItemResponse {
1774
- Message?: string;
1775
- StatusCode?: number;
1774
+ Message?: string | undefined;
1775
+ StatusCode?: number | undefined;
1776
1776
  }
1777
1777
  export interface PublicEndpoint {
1778
- Address?: string;
1779
- Attributes?: Record<string, string[]>;
1780
- ChannelType?: ChannelType;
1781
- Demographic?: EndpointDemographic;
1782
- EffectiveDate?: string;
1783
- EndpointStatus?: string;
1784
- Location?: EndpointLocation;
1785
- Metrics?: Record<string, number>;
1786
- OptOut?: string;
1787
- RequestId?: string;
1788
- User?: EndpointUser;
1778
+ Address?: string | undefined;
1779
+ Attributes?: Record<string, string[]> | undefined;
1780
+ ChannelType?: ChannelType | undefined;
1781
+ Demographic?: EndpointDemographic | undefined;
1782
+ EffectiveDate?: string | undefined;
1783
+ EndpointStatus?: string | undefined;
1784
+ Location?: EndpointLocation | undefined;
1785
+ Metrics?: Record<string, number> | undefined;
1786
+ OptOut?: string | undefined;
1787
+ RequestId?: string | undefined;
1788
+ User?: EndpointUser | undefined;
1789
1789
  }
1790
1790
  export interface EventsBatch {
1791
1791
  Endpoint: PublicEndpoint | undefined;
@@ -1795,21 +1795,21 @@ export interface EventsRequest {
1795
1795
  BatchItem: Record<string, EventsBatch> | undefined;
1796
1796
  }
1797
1797
  export interface ItemResponse {
1798
- EndpointItemResponse?: EndpointItemResponse;
1799
- EventsItemResponse?: Record<string, EventItemResponse>;
1798
+ EndpointItemResponse?: EndpointItemResponse | undefined;
1799
+ EventsItemResponse?: Record<string, EventItemResponse> | undefined;
1800
1800
  }
1801
1801
  export interface EventsResponse {
1802
- Results?: Record<string, ItemResponse>;
1802
+ Results?: Record<string, ItemResponse> | undefined;
1803
1803
  }
1804
1804
  export interface ExportJobsResponse {
1805
1805
  Item: ExportJobResponse[] | undefined;
1806
- NextToken?: string;
1806
+ NextToken?: string | undefined;
1807
1807
  }
1808
1808
  export interface GCMChannelRequest {
1809
- ApiKey?: string;
1810
- DefaultAuthenticationMethod?: string;
1811
- Enabled?: boolean;
1812
- ServiceJson?: string;
1809
+ ApiKey?: string | undefined;
1810
+ DefaultAuthenticationMethod?: string | undefined;
1811
+ Enabled?: boolean | undefined;
1812
+ ServiceJson?: string | undefined;
1813
1813
  }
1814
1814
  export interface GetAdmChannelRequest {
1815
1815
  ApplicationId: string | undefined;
@@ -1849,11 +1849,11 @@ export interface GetAppResponse {
1849
1849
  }
1850
1850
  export interface GetApplicationDateRangeKpiRequest {
1851
1851
  ApplicationId: string | undefined;
1852
- EndTime?: Date;
1852
+ EndTime?: Date | undefined;
1853
1853
  KpiName: string | undefined;
1854
- NextToken?: string;
1855
- PageSize?: string;
1856
- StartTime?: Date;
1854
+ NextToken?: string | undefined;
1855
+ PageSize?: string | undefined;
1856
+ StartTime?: Date | undefined;
1857
1857
  }
1858
1858
  export interface GetApplicationDateRangeKpiResponse {
1859
1859
  ApplicationDateRangeKpiResponse: ApplicationDateRangeKpiResponse | undefined;
@@ -1865,8 +1865,8 @@ export interface GetApplicationSettingsResponse {
1865
1865
  ApplicationSettingsResource: ApplicationSettingsResource | undefined;
1866
1866
  }
1867
1867
  export interface GetAppsRequest {
1868
- PageSize?: string;
1869
- Token?: string;
1868
+ PageSize?: string | undefined;
1869
+ Token?: string | undefined;
1870
1870
  }
1871
1871
  export interface GetAppsResponse {
1872
1872
  ApplicationsResponse: ApplicationsResponse | undefined;
@@ -1887,8 +1887,8 @@ export interface GetCampaignResponse {
1887
1887
  export interface GetCampaignActivitiesRequest {
1888
1888
  ApplicationId: string | undefined;
1889
1889
  CampaignId: string | undefined;
1890
- PageSize?: string;
1891
- Token?: string;
1890
+ PageSize?: string | undefined;
1891
+ Token?: string | undefined;
1892
1892
  }
1893
1893
  export interface GetCampaignActivitiesResponse {
1894
1894
  ActivitiesResponse: ActivitiesResponse | undefined;
@@ -1896,19 +1896,19 @@ export interface GetCampaignActivitiesResponse {
1896
1896
  export interface GetCampaignDateRangeKpiRequest {
1897
1897
  ApplicationId: string | undefined;
1898
1898
  CampaignId: string | undefined;
1899
- EndTime?: Date;
1899
+ EndTime?: Date | undefined;
1900
1900
  KpiName: string | undefined;
1901
- NextToken?: string;
1902
- PageSize?: string;
1903
- StartTime?: Date;
1901
+ NextToken?: string | undefined;
1902
+ PageSize?: string | undefined;
1903
+ StartTime?: Date | undefined;
1904
1904
  }
1905
1905
  export interface GetCampaignDateRangeKpiResponse {
1906
1906
  CampaignDateRangeKpiResponse: CampaignDateRangeKpiResponse | undefined;
1907
1907
  }
1908
1908
  export interface GetCampaignsRequest {
1909
1909
  ApplicationId: string | undefined;
1910
- PageSize?: string;
1911
- Token?: string;
1910
+ PageSize?: string | undefined;
1911
+ Token?: string | undefined;
1912
1912
  }
1913
1913
  export interface GetCampaignsResponse {
1914
1914
  CampaignsResponse: CampaignsResponse | undefined;