@aws-sdk/client-pinpoint 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-cjs/index.js +188 -188
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +187 -0
  4. package/dist-es/models/errors.js +129 -0
  5. package/dist-es/models/models_0.js +1 -310
  6. package/dist-es/models/models_1.js +1 -6
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
  9. package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
  10. package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
  11. package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
  12. package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
  13. package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
  14. package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
  15. package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
  16. package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
  17. package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  19. package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
  20. package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
  21. package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
  22. package/dist-types/commands/GetJourneyCommand.d.ts +2 -1
  23. package/dist-types/index.d.ts +4 -1
  24. package/dist-types/models/enums.d.ts +411 -0
  25. package/dist-types/models/errors.d.ts +178 -0
  26. package/dist-types/models/models_0.d.ts +547 -575
  27. package/dist-types/models/models_1.d.ts +2 -561
  28. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +2 -1
  43. package/dist-types/ts3.4/index.d.ts +4 -1
  44. package/dist-types/ts3.4/models/enums.d.ts +220 -0
  45. package/dist-types/ts3.4/models/errors.d.ts +68 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +172 -280
  47. package/dist-types/ts3.4/models/models_1.d.ts +2 -163
  48. package/package.json +12 -12
  49. package/dist-es/models/index.js +0 -2
  50. package/dist-types/models/index.d.ts +0 -2
  51. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,34 +1,32 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
3
- export declare const __EndpointTypesElement: {
4
- readonly ADM: "ADM";
5
- readonly APNS: "APNS";
6
- readonly APNS_SANDBOX: "APNS_SANDBOX";
7
- readonly APNS_VOIP: "APNS_VOIP";
8
- readonly APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX";
9
- readonly BAIDU: "BAIDU";
10
- readonly CUSTOM: "CUSTOM";
11
- readonly EMAIL: "EMAIL";
12
- readonly GCM: "GCM";
13
- readonly IN_APP: "IN_APP";
14
- readonly PUSH: "PUSH";
15
- readonly SMS: "SMS";
16
- readonly VOICE: "VOICE";
17
- };
18
- export type __EndpointTypesElement =
19
- (typeof __EndpointTypesElement)[keyof typeof __EndpointTypesElement];
20
- export declare const __TimezoneEstimationMethodsElement: {
21
- readonly PHONE_NUMBER: "PHONE_NUMBER";
22
- readonly POSTAL_CODE: "POSTAL_CODE";
23
- };
24
- export type __TimezoneEstimationMethodsElement =
25
- (typeof __TimezoneEstimationMethodsElement)[keyof typeof __TimezoneEstimationMethodsElement];
26
- export declare const Action: {
27
- readonly DEEP_LINK: "DEEP_LINK";
28
- readonly OPEN_APP: "OPEN_APP";
29
- readonly URL: "URL";
30
- };
31
- export type Action = (typeof Action)[keyof typeof Action];
1
+ import {
2
+ __EndpointTypesElement,
3
+ __TimezoneEstimationMethodsElement,
4
+ Action,
5
+ Alignment,
6
+ AttributeType,
7
+ ButtonAction,
8
+ CampaignStatus,
9
+ ChannelType,
10
+ DayOfWeek,
11
+ DeliveryStatus,
12
+ DimensionType,
13
+ Duration,
14
+ FilterType,
15
+ Format,
16
+ Frequency,
17
+ Include,
18
+ JobStatus,
19
+ Layout,
20
+ MessageType,
21
+ Mode,
22
+ Operator,
23
+ RecencyType,
24
+ SegmentType,
25
+ SourceType,
26
+ State,
27
+ TemplateType,
28
+ Type,
29
+ } from "./enums";
32
30
  export interface ActivityResponse {
33
31
  ApplicationId: string | undefined;
34
32
  CampaignId: string | undefined;
@@ -49,25 +47,10 @@ export interface ActivitiesResponse {
49
47
  Item: ActivityResponse[] | undefined;
50
48
  NextToken?: string | undefined;
51
49
  }
52
- export declare const AttributeType: {
53
- readonly AFTER: "AFTER";
54
- readonly BEFORE: "BEFORE";
55
- readonly BETWEEN: "BETWEEN";
56
- readonly CONTAINS: "CONTAINS";
57
- readonly EXCLUSIVE: "EXCLUSIVE";
58
- readonly INCLUSIVE: "INCLUSIVE";
59
- readonly ON: "ON";
60
- };
61
- export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
62
50
  export interface AttributeDimension {
63
51
  AttributeType?: AttributeType | undefined;
64
52
  Values: string[] | undefined;
65
53
  }
66
- export declare const DimensionType: {
67
- readonly EXCLUSIVE: "EXCLUSIVE";
68
- readonly INCLUSIVE: "INCLUSIVE";
69
- };
70
- export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
71
54
  export interface SetDimension {
72
55
  DimensionType?: DimensionType | undefined;
73
56
  Values: string[] | undefined;
@@ -88,18 +71,6 @@ export interface EventCondition {
88
71
  export interface SegmentCondition {
89
72
  SegmentId: string | undefined;
90
73
  }
91
- export declare const Duration: {
92
- readonly DAY_14: "DAY_14";
93
- readonly DAY_30: "DAY_30";
94
- readonly DAY_7: "DAY_7";
95
- readonly HR_24: "HR_24";
96
- };
97
- export type Duration = (typeof Duration)[keyof typeof Duration];
98
- export declare const RecencyType: {
99
- readonly ACTIVE: "ACTIVE";
100
- readonly INACTIVE: "INACTIVE";
101
- };
102
- export type RecencyType = (typeof RecencyType)[keyof typeof RecencyType];
103
74
  export interface RecencyDimension {
104
75
  Duration: Duration | undefined;
105
76
  RecencyType: RecencyType | undefined;
@@ -140,11 +111,6 @@ export interface SimpleCondition {
140
111
  SegmentCondition?: SegmentCondition | undefined;
141
112
  SegmentDimensions?: SegmentDimensions | undefined;
142
113
  }
143
- export declare const Operator: {
144
- readonly ALL: "ALL";
145
- readonly ANY: "ANY";
146
- };
147
- export type Operator = (typeof Operator)[keyof typeof Operator];
148
114
  export interface Condition {
149
115
  Conditions?: SimpleCondition[] | undefined;
150
116
  Operator?: Operator | undefined;
@@ -211,11 +177,6 @@ export interface RandomSplitEntry {
211
177
  export interface RandomSplitActivity {
212
178
  Branches?: RandomSplitEntry[] | undefined;
213
179
  }
214
- export declare const MessageType: {
215
- readonly PROMOTIONAL: "PROMOTIONAL";
216
- readonly TRANSACTIONAL: "TRANSACTIONAL";
217
- };
218
- export type MessageType = (typeof MessageType)[keyof typeof MessageType];
219
180
  export interface JourneySMSMessage {
220
181
  MessageType?: MessageType | undefined;
221
182
  OriginationNumber?: string | undefined;
@@ -246,22 +207,6 @@ export interface Activity {
246
207
  Wait?: WaitActivity | undefined;
247
208
  ContactCenter?: ContactCenterActivity | undefined;
248
209
  }
249
- export declare const ChannelType: {
250
- readonly ADM: "ADM";
251
- readonly APNS: "APNS";
252
- readonly APNS_SANDBOX: "APNS_SANDBOX";
253
- readonly APNS_VOIP: "APNS_VOIP";
254
- readonly APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX";
255
- readonly BAIDU: "BAIDU";
256
- readonly CUSTOM: "CUSTOM";
257
- readonly EMAIL: "EMAIL";
258
- readonly GCM: "GCM";
259
- readonly IN_APP: "IN_APP";
260
- readonly PUSH: "PUSH";
261
- readonly SMS: "SMS";
262
- readonly VOICE: "VOICE";
263
- };
264
- export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
265
210
  export interface AddressConfiguration {
266
211
  BodyOverride?: string | undefined;
267
212
  ChannelType?: ChannelType | undefined;
@@ -305,12 +250,6 @@ export interface ADMMessage {
305
250
  Title?: string | undefined;
306
251
  Url?: string | undefined;
307
252
  }
308
- export declare const Alignment: {
309
- readonly CENTER: "CENTER";
310
- readonly LEFT: "LEFT";
311
- readonly RIGHT: "RIGHT";
312
- };
313
- export type Alignment = (typeof Alignment)[keyof typeof Alignment];
314
253
  export interface AndroidPushNotificationTemplate {
315
254
  Action?: Action | undefined;
316
255
  Body?: string | undefined;
@@ -483,11 +422,6 @@ export interface ApplicationSettingsJourneyLimits {
483
422
  TimeframeCap?: JourneyTimeframeCap | undefined;
484
423
  TotalCap?: number | undefined;
485
424
  }
486
- export declare const Mode: {
487
- readonly DELIVERY: "DELIVERY";
488
- readonly FILTER: "FILTER";
489
- };
490
- export type Mode = (typeof Mode)[keyof typeof Mode];
491
425
  export interface CampaignHook {
492
426
  LambdaFunctionName?: string | undefined;
493
427
  Mode?: Mode | undefined;
@@ -521,15 +455,6 @@ export interface AttributesResource {
521
455
  AttributeType: string | undefined;
522
456
  Attributes?: string[] | undefined;
523
457
  }
524
- export declare class BadRequestException extends __BaseException {
525
- readonly name: "BadRequestException";
526
- readonly $fault: "client";
527
- Message?: string | undefined;
528
- RequestID?: string | undefined;
529
- constructor(
530
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
531
- );
532
- }
533
458
  export interface BaiduChannelRequest {
534
459
  ApiKey: string | undefined;
535
460
  Enabled?: boolean | undefined;
@@ -564,12 +489,6 @@ export interface BaiduMessage {
564
489
  Title?: string | undefined;
565
490
  Url?: string | undefined;
566
491
  }
567
- export declare const ButtonAction: {
568
- readonly CLOSE: "CLOSE";
569
- readonly DEEP_LINK: "DEEP_LINK";
570
- readonly LINK: "LINK";
571
- };
572
- export type ButtonAction = (typeof ButtonAction)[keyof typeof ButtonAction];
573
492
  export interface CampaignCustomMessage {
574
493
  Data?: string | undefined;
575
494
  }
@@ -593,11 +512,6 @@ export interface CampaignEmailMessage {
593
512
  HtmlBody?: string | undefined;
594
513
  Title?: string | undefined;
595
514
  }
596
- export declare const FilterType: {
597
- readonly ENDPOINT: "ENDPOINT";
598
- readonly SYSTEM: "SYSTEM";
599
- };
600
- export type FilterType = (typeof FilterType)[keyof typeof FilterType];
601
515
  export interface CampaignEventFilter {
602
516
  Dimensions: EventDimensions | undefined;
603
517
  FilterType: FilterType | undefined;
@@ -638,15 +552,6 @@ export interface InAppMessageContent {
638
552
  PrimaryBtn?: InAppMessageButton | undefined;
639
553
  SecondaryBtn?: InAppMessageButton | undefined;
640
554
  }
641
- export declare const Layout: {
642
- readonly BOTTOM_BANNER: "BOTTOM_BANNER";
643
- readonly CAROUSEL: "CAROUSEL";
644
- readonly MIDDLE_BANNER: "MIDDLE_BANNER";
645
- readonly MOBILE_FEED: "MOBILE_FEED";
646
- readonly OVERLAYS: "OVERLAYS";
647
- readonly TOP_BANNER: "TOP_BANNER";
648
- };
649
- export type Layout = (typeof Layout)[keyof typeof Layout];
650
555
  export interface CampaignInAppMessage {
651
556
  Body?: string | undefined;
652
557
  Content?: InAppMessageContent[] | undefined;
@@ -690,16 +595,6 @@ export interface MessageConfiguration {
690
595
  SMSMessage?: CampaignSmsMessage | undefined;
691
596
  InAppMessage?: CampaignInAppMessage | undefined;
692
597
  }
693
- export declare const Frequency: {
694
- readonly DAILY: "DAILY";
695
- readonly EVENT: "EVENT";
696
- readonly HOURLY: "HOURLY";
697
- readonly IN_APP_EVENT: "IN_APP_EVENT";
698
- readonly MONTHLY: "MONTHLY";
699
- readonly ONCE: "ONCE";
700
- readonly WEEKLY: "WEEKLY";
701
- };
702
- export type Frequency = (typeof Frequency)[keyof typeof Frequency];
703
598
  export interface Schedule {
704
599
  EndTime?: string | undefined;
705
600
  EventFilter?: CampaignEventFilter | undefined;
@@ -709,17 +604,6 @@ export interface Schedule {
709
604
  StartTime: string | undefined;
710
605
  Timezone?: string | undefined;
711
606
  }
712
- export declare const CampaignStatus: {
713
- readonly COMPLETED: "COMPLETED";
714
- readonly DELETED: "DELETED";
715
- readonly EXECUTING: "EXECUTING";
716
- readonly INVALID: "INVALID";
717
- readonly PAUSED: "PAUSED";
718
- readonly PENDING_NEXT_RUN: "PENDING_NEXT_RUN";
719
- readonly SCHEDULED: "SCHEDULED";
720
- };
721
- export type CampaignStatus =
722
- (typeof CampaignStatus)[keyof typeof CampaignStatus];
723
607
  export interface CampaignState {
724
608
  CampaignStatus?: CampaignStatus | undefined;
725
609
  }
@@ -802,13 +686,6 @@ export interface ClosedDays {
802
686
  VOICE?: ClosedDaysRule[] | undefined;
803
687
  CUSTOM?: ClosedDaysRule[] | undefined;
804
688
  }
805
- export declare class ConflictException extends __BaseException {
806
- readonly name: "ConflictException";
807
- readonly $fault: "client";
808
- Message?: string | undefined;
809
- RequestID?: string | undefined;
810
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
811
- }
812
689
  export interface CreateApplicationRequest {
813
690
  Name: string | undefined;
814
691
  tags?: Record<string, string> | undefined;
@@ -819,56 +696,6 @@ export interface CreateAppRequest {
819
696
  export interface CreateAppResponse {
820
697
  ApplicationResponse: ApplicationResponse | undefined;
821
698
  }
822
- export declare class ForbiddenException extends __BaseException {
823
- readonly name: "ForbiddenException";
824
- readonly $fault: "client";
825
- Message?: string | undefined;
826
- RequestID?: string | undefined;
827
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
828
- }
829
- export declare class InternalServerErrorException extends __BaseException {
830
- readonly name: "InternalServerErrorException";
831
- readonly $fault: "server";
832
- Message?: string | undefined;
833
- RequestID?: string | undefined;
834
- constructor(
835
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
836
- );
837
- }
838
- export declare class MethodNotAllowedException extends __BaseException {
839
- readonly name: "MethodNotAllowedException";
840
- readonly $fault: "client";
841
- Message?: string | undefined;
842
- RequestID?: string | undefined;
843
- constructor(
844
- opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>
845
- );
846
- }
847
- export declare class NotFoundException extends __BaseException {
848
- readonly name: "NotFoundException";
849
- readonly $fault: "client";
850
- Message?: string | undefined;
851
- RequestID?: string | undefined;
852
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
853
- }
854
- export declare class PayloadTooLargeException extends __BaseException {
855
- readonly name: "PayloadTooLargeException";
856
- readonly $fault: "client";
857
- Message?: string | undefined;
858
- RequestID?: string | undefined;
859
- constructor(
860
- opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>
861
- );
862
- }
863
- export declare class TooManyRequestsException extends __BaseException {
864
- readonly name: "TooManyRequestsException";
865
- readonly $fault: "client";
866
- Message?: string | undefined;
867
- RequestID?: string | undefined;
868
- constructor(
869
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
870
- );
871
- }
872
699
  export interface WriteTreatmentResource {
873
700
  CustomDeliveryConfiguration?: CustomDeliveryConfiguration | undefined;
874
701
  MessageConfiguration?: MessageConfiguration | undefined;
@@ -942,18 +769,6 @@ export interface ExportJobResource {
942
769
  SegmentId?: string | undefined;
943
770
  SegmentVersion?: number | undefined;
944
771
  }
945
- export declare const JobStatus: {
946
- readonly COMPLETED: "COMPLETED";
947
- readonly COMPLETING: "COMPLETING";
948
- readonly CREATED: "CREATED";
949
- readonly FAILED: "FAILED";
950
- readonly FAILING: "FAILING";
951
- readonly INITIALIZING: "INITIALIZING";
952
- readonly PENDING_JOB: "PENDING_JOB";
953
- readonly PREPARING_FOR_INITIALIZATION: "PREPARING_FOR_INITIALIZATION";
954
- readonly PROCESSING: "PROCESSING";
955
- };
956
- export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
957
772
  export interface ExportJobResponse {
958
773
  ApplicationId: string | undefined;
959
774
  CompletedPieces?: number | undefined;
@@ -972,11 +787,6 @@ export interface ExportJobResponse {
972
787
  export interface CreateExportJobResponse {
973
788
  ExportJobResponse: ExportJobResponse | undefined;
974
789
  }
975
- export declare const Format: {
976
- readonly CSV: "CSV";
977
- readonly JSON: "JSON";
978
- };
979
- export type Format = (typeof Format)[keyof typeof Format];
980
790
  export interface ImportJobRequest {
981
791
  DefineSegment?: boolean | undefined;
982
792
  ExternalId?: string | undefined;
@@ -1050,16 +860,6 @@ export interface JourneyLimits {
1050
860
  TimeframeCap?: JourneyTimeframeCap | undefined;
1051
861
  TotalCap?: number | undefined;
1052
862
  }
1053
- export declare const DayOfWeek: {
1054
- readonly FRIDAY: "FRIDAY";
1055
- readonly MONDAY: "MONDAY";
1056
- readonly SATURDAY: "SATURDAY";
1057
- readonly SUNDAY: "SUNDAY";
1058
- readonly THURSDAY: "THURSDAY";
1059
- readonly TUESDAY: "TUESDAY";
1060
- readonly WEDNESDAY: "WEDNESDAY";
1061
- };
1062
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
1063
863
  export interface OpenHoursRule {
1064
864
  StartTime?: string | undefined;
1065
865
  EndTime?: string | undefined;
@@ -1089,15 +889,6 @@ export interface StartCondition {
1089
889
  EventStartCondition?: EventStartCondition | undefined;
1090
890
  SegmentStartCondition?: SegmentCondition | undefined;
1091
891
  }
1092
- export declare const State: {
1093
- readonly ACTIVE: "ACTIVE";
1094
- readonly CANCELLED: "CANCELLED";
1095
- readonly CLOSED: "CLOSED";
1096
- readonly COMPLETED: "COMPLETED";
1097
- readonly DRAFT: "DRAFT";
1098
- readonly PAUSED: "PAUSED";
1099
- };
1100
- export type State = (typeof State)[keyof typeof State];
1101
892
  export interface WriteJourneyRequest {
1102
893
  Activities?: Record<string, Activity> | undefined;
1103
894
  CreationDate?: string | undefined;
@@ -1214,30 +1005,12 @@ export interface SegmentReference {
1214
1005
  Id: string | undefined;
1215
1006
  Version?: number | undefined;
1216
1007
  }
1217
- export declare const SourceType: {
1218
- readonly ALL: "ALL";
1219
- readonly ANY: "ANY";
1220
- readonly NONE: "NONE";
1221
- };
1222
- export type SourceType = (typeof SourceType)[keyof typeof SourceType];
1223
- export declare const Type: {
1224
- readonly ALL: "ALL";
1225
- readonly ANY: "ANY";
1226
- readonly NONE: "NONE";
1227
- };
1228
- export type Type = (typeof Type)[keyof typeof Type];
1229
1008
  export interface SegmentGroup {
1230
1009
  Dimensions?: SegmentDimensions[] | undefined;
1231
1010
  SourceSegments?: SegmentReference[] | undefined;
1232
1011
  SourceType?: SourceType | undefined;
1233
1012
  Type?: Type | undefined;
1234
1013
  }
1235
- export declare const Include: {
1236
- readonly ALL: "ALL";
1237
- readonly ANY: "ANY";
1238
- readonly NONE: "NONE";
1239
- };
1240
- export type Include = (typeof Include)[keyof typeof Include];
1241
1014
  export interface SegmentGroupList {
1242
1015
  Groups?: SegmentGroup[] | undefined;
1243
1016
  Include?: Include | undefined;
@@ -1260,11 +1033,6 @@ export interface SegmentImportResource {
1260
1033
  S3Url: string | undefined;
1261
1034
  Size: number | undefined;
1262
1035
  }
1263
- export declare const SegmentType: {
1264
- readonly DIMENSIONAL: "DIMENSIONAL";
1265
- readonly IMPORT: "IMPORT";
1266
- };
1267
- export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
1268
1036
  export interface SegmentResponse {
1269
1037
  ApplicationId: string | undefined;
1270
1038
  Arn: string | undefined;
@@ -1589,17 +1357,6 @@ export interface DeleteVoiceTemplateRequest {
1589
1357
  export interface DeleteVoiceTemplateResponse {
1590
1358
  MessageBody: MessageBody | undefined;
1591
1359
  }
1592
- export declare const DeliveryStatus: {
1593
- readonly DUPLICATE: "DUPLICATE";
1594
- readonly OPT_OUT: "OPT_OUT";
1595
- readonly PERMANENT_FAILURE: "PERMANENT_FAILURE";
1596
- readonly SUCCESSFUL: "SUCCESSFUL";
1597
- readonly TEMPORARY_FAILURE: "TEMPORARY_FAILURE";
1598
- readonly THROTTLED: "THROTTLED";
1599
- readonly UNKNOWN_FAILURE: "UNKNOWN_FAILURE";
1600
- };
1601
- export type DeliveryStatus =
1602
- (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
1603
1360
  export interface RawEmail {
1604
1361
  Data?: Uint8Array | undefined;
1605
1362
  }
@@ -1679,14 +1436,6 @@ export interface EmailChannelRequest {
1679
1436
  RoleArn?: string | undefined;
1680
1437
  OrchestrationSendingRoleArn?: string | undefined;
1681
1438
  }
1682
- export declare const TemplateType: {
1683
- readonly EMAIL: "EMAIL";
1684
- readonly INAPP: "INAPP";
1685
- readonly PUSH: "PUSH";
1686
- readonly SMS: "SMS";
1687
- readonly VOICE: "VOICE";
1688
- };
1689
- export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType];
1690
1439
  export interface EmailTemplateResponse {
1691
1440
  Arn?: string | undefined;
1692
1441
  CreationDate: string | undefined;
@@ -1913,3 +1662,146 @@ export interface GetCampaignsRequest {
1913
1662
  export interface GetCampaignsResponse {
1914
1663
  CampaignsResponse: CampaignsResponse | undefined;
1915
1664
  }
1665
+ export interface GetCampaignVersionRequest {
1666
+ ApplicationId: string | undefined;
1667
+ CampaignId: string | undefined;
1668
+ Version: string | undefined;
1669
+ }
1670
+ export interface GetCampaignVersionResponse {
1671
+ CampaignResponse: CampaignResponse | undefined;
1672
+ }
1673
+ export interface GetCampaignVersionsRequest {
1674
+ ApplicationId: string | undefined;
1675
+ CampaignId: string | undefined;
1676
+ PageSize?: string | undefined;
1677
+ Token?: string | undefined;
1678
+ }
1679
+ export interface GetCampaignVersionsResponse {
1680
+ CampaignsResponse: CampaignsResponse | undefined;
1681
+ }
1682
+ export interface GetChannelsRequest {
1683
+ ApplicationId: string | undefined;
1684
+ }
1685
+ export interface GetChannelsResponse {
1686
+ ChannelsResponse: ChannelsResponse | undefined;
1687
+ }
1688
+ export interface GetEmailChannelRequest {
1689
+ ApplicationId: string | undefined;
1690
+ }
1691
+ export interface GetEmailChannelResponse {
1692
+ EmailChannelResponse: EmailChannelResponse | undefined;
1693
+ }
1694
+ export interface GetEmailTemplateRequest {
1695
+ TemplateName: string | undefined;
1696
+ Version?: string | undefined;
1697
+ }
1698
+ export interface GetEmailTemplateResponse {
1699
+ EmailTemplateResponse: EmailTemplateResponse | undefined;
1700
+ }
1701
+ export interface GetEndpointRequest {
1702
+ ApplicationId: string | undefined;
1703
+ EndpointId: string | undefined;
1704
+ }
1705
+ export interface GetEndpointResponse {
1706
+ EndpointResponse: EndpointResponse | undefined;
1707
+ }
1708
+ export interface GetEventStreamRequest {
1709
+ ApplicationId: string | undefined;
1710
+ }
1711
+ export interface GetEventStreamResponse {
1712
+ EventStream: EventStream | undefined;
1713
+ }
1714
+ export interface GetExportJobRequest {
1715
+ ApplicationId: string | undefined;
1716
+ JobId: string | undefined;
1717
+ }
1718
+ export interface GetExportJobResponse {
1719
+ ExportJobResponse: ExportJobResponse | undefined;
1720
+ }
1721
+ export interface GetExportJobsRequest {
1722
+ ApplicationId: string | undefined;
1723
+ PageSize?: string | undefined;
1724
+ Token?: string | undefined;
1725
+ }
1726
+ export interface GetExportJobsResponse {
1727
+ ExportJobsResponse: ExportJobsResponse | undefined;
1728
+ }
1729
+ export interface GetGcmChannelRequest {
1730
+ ApplicationId: string | undefined;
1731
+ }
1732
+ export interface GetGcmChannelResponse {
1733
+ GCMChannelResponse: GCMChannelResponse | undefined;
1734
+ }
1735
+ export interface GetImportJobRequest {
1736
+ ApplicationId: string | undefined;
1737
+ JobId: string | undefined;
1738
+ }
1739
+ export interface GetImportJobResponse {
1740
+ ImportJobResponse: ImportJobResponse | undefined;
1741
+ }
1742
+ export interface GetImportJobsRequest {
1743
+ ApplicationId: string | undefined;
1744
+ PageSize?: string | undefined;
1745
+ Token?: string | undefined;
1746
+ }
1747
+ export interface ImportJobsResponse {
1748
+ Item: ImportJobResponse[] | undefined;
1749
+ NextToken?: string | undefined;
1750
+ }
1751
+ export interface GetImportJobsResponse {
1752
+ ImportJobsResponse: ImportJobsResponse | undefined;
1753
+ }
1754
+ export interface GetInAppMessagesRequest {
1755
+ ApplicationId: string | undefined;
1756
+ EndpointId: string | undefined;
1757
+ }
1758
+ export interface InAppMessage {
1759
+ Content?: InAppMessageContent[] | undefined;
1760
+ CustomConfig?: Record<string, string> | undefined;
1761
+ Layout?: Layout | undefined;
1762
+ }
1763
+ export interface InAppCampaignSchedule {
1764
+ EndDate?: string | undefined;
1765
+ EventFilter?: CampaignEventFilter | undefined;
1766
+ QuietTime?: QuietTime | undefined;
1767
+ }
1768
+ export interface InAppMessageCampaign {
1769
+ CampaignId?: string | undefined;
1770
+ DailyCap?: number | undefined;
1771
+ InAppMessage?: InAppMessage | undefined;
1772
+ Priority?: number | undefined;
1773
+ Schedule?: InAppCampaignSchedule | undefined;
1774
+ SessionCap?: number | undefined;
1775
+ TotalCap?: number | undefined;
1776
+ TreatmentId?: string | undefined;
1777
+ }
1778
+ export interface InAppMessagesResponse {
1779
+ InAppMessageCampaigns?: InAppMessageCampaign[] | undefined;
1780
+ }
1781
+ export interface GetInAppMessagesResponse {
1782
+ InAppMessagesResponse: InAppMessagesResponse | undefined;
1783
+ }
1784
+ export interface GetInAppTemplateRequest {
1785
+ TemplateName: string | undefined;
1786
+ Version?: string | undefined;
1787
+ }
1788
+ export interface InAppTemplateResponse {
1789
+ Arn?: string | undefined;
1790
+ Content?: InAppMessageContent[] | undefined;
1791
+ CreationDate: string | undefined;
1792
+ CustomConfig?: Record<string, string> | undefined;
1793
+ LastModifiedDate: string | undefined;
1794
+ Layout?: Layout | undefined;
1795
+ tags?: Record<string, string> | undefined;
1796
+ TemplateDescription?: string | undefined;
1797
+ TemplateName: string | undefined;
1798
+ TemplateType: TemplateType | undefined;
1799
+ Version?: string | undefined;
1800
+ }
1801
+ export interface GetInAppTemplateResponse {
1802
+ InAppTemplateResponse: InAppTemplateResponse | undefined;
1803
+ }
1804
+ export interface GetJourneyRequest {
1805
+ ApplicationId: string | undefined;
1806
+ JourneyId: string | undefined;
1807
+ }