@aws-sdk/client-pinpoint 3.301.0 → 3.306.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +177 -203
- package/dist-es/models/models_0.js +177 -203
- package/dist-types/models/models_0.d.ts +307 -177
- package/dist-types/ts3.4/models/models_0.d.ts +206 -177
- package/package.json +34 -34
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ADM
|
|
5
|
-
APNS
|
|
6
|
-
APNS_SANDBOX
|
|
7
|
-
APNS_VOIP
|
|
8
|
-
APNS_VOIP_SANDBOX
|
|
9
|
-
BAIDU
|
|
10
|
-
CUSTOM
|
|
11
|
-
EMAIL
|
|
12
|
-
GCM
|
|
13
|
-
IN_APP
|
|
14
|
-
PUSH
|
|
15
|
-
SMS
|
|
16
|
-
VOICE
|
|
17
|
-
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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 Action: {
|
|
21
|
+
readonly DEEP_LINK: "DEEP_LINK";
|
|
22
|
+
readonly OPEN_APP: "OPEN_APP";
|
|
23
|
+
readonly URL: "URL";
|
|
24
|
+
};
|
|
25
|
+
export type Action = (typeof Action)[keyof typeof Action];
|
|
23
26
|
export interface ActivityResponse {
|
|
24
27
|
ApplicationId: string | undefined;
|
|
25
28
|
CampaignId: string | undefined;
|
|
@@ -39,23 +42,25 @@ export interface ActivitiesResponse {
|
|
|
39
42
|
Item: ActivityResponse[] | undefined;
|
|
40
43
|
NextToken?: string;
|
|
41
44
|
}
|
|
42
|
-
export declare
|
|
43
|
-
AFTER
|
|
44
|
-
BEFORE
|
|
45
|
-
BETWEEN
|
|
46
|
-
CONTAINS
|
|
47
|
-
EXCLUSIVE
|
|
48
|
-
INCLUSIVE
|
|
49
|
-
ON
|
|
50
|
-
}
|
|
45
|
+
export declare const AttributeType: {
|
|
46
|
+
readonly AFTER: "AFTER";
|
|
47
|
+
readonly BEFORE: "BEFORE";
|
|
48
|
+
readonly BETWEEN: "BETWEEN";
|
|
49
|
+
readonly CONTAINS: "CONTAINS";
|
|
50
|
+
readonly EXCLUSIVE: "EXCLUSIVE";
|
|
51
|
+
readonly INCLUSIVE: "INCLUSIVE";
|
|
52
|
+
readonly ON: "ON";
|
|
53
|
+
};
|
|
54
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
51
55
|
export interface AttributeDimension {
|
|
52
56
|
AttributeType?: AttributeType | string;
|
|
53
57
|
Values: string[] | undefined;
|
|
54
58
|
}
|
|
55
|
-
export declare
|
|
56
|
-
EXCLUSIVE
|
|
57
|
-
INCLUSIVE
|
|
58
|
-
}
|
|
59
|
+
export declare const DimensionType: {
|
|
60
|
+
readonly EXCLUSIVE: "EXCLUSIVE";
|
|
61
|
+
readonly INCLUSIVE: "INCLUSIVE";
|
|
62
|
+
};
|
|
63
|
+
export type DimensionType = (typeof DimensionType)[keyof typeof DimensionType];
|
|
59
64
|
export interface SetDimension {
|
|
60
65
|
DimensionType?: DimensionType | string;
|
|
61
66
|
Values: string[] | undefined;
|
|
@@ -76,16 +81,18 @@ export interface EventCondition {
|
|
|
76
81
|
export interface SegmentCondition {
|
|
77
82
|
SegmentId: string | undefined;
|
|
78
83
|
}
|
|
79
|
-
export declare
|
|
80
|
-
DAY_14
|
|
81
|
-
DAY_30
|
|
82
|
-
DAY_7
|
|
83
|
-
HR_24
|
|
84
|
-
}
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
export declare const Duration: {
|
|
85
|
+
readonly DAY_14: "DAY_14";
|
|
86
|
+
readonly DAY_30: "DAY_30";
|
|
87
|
+
readonly DAY_7: "DAY_7";
|
|
88
|
+
readonly HR_24: "HR_24";
|
|
89
|
+
};
|
|
90
|
+
export type Duration = (typeof Duration)[keyof typeof Duration];
|
|
91
|
+
export declare const RecencyType: {
|
|
92
|
+
readonly ACTIVE: "ACTIVE";
|
|
93
|
+
readonly INACTIVE: "INACTIVE";
|
|
94
|
+
};
|
|
95
|
+
export type RecencyType = (typeof RecencyType)[keyof typeof RecencyType];
|
|
89
96
|
export interface RecencyDimension {
|
|
90
97
|
Duration: Duration | string | undefined;
|
|
91
98
|
RecencyType: RecencyType | string | undefined;
|
|
@@ -126,10 +133,11 @@ export interface SimpleCondition {
|
|
|
126
133
|
SegmentCondition?: SegmentCondition;
|
|
127
134
|
SegmentDimensions?: SegmentDimensions;
|
|
128
135
|
}
|
|
129
|
-
export declare
|
|
130
|
-
ALL
|
|
131
|
-
ANY
|
|
132
|
-
}
|
|
136
|
+
export declare const Operator: {
|
|
137
|
+
readonly ALL: "ALL";
|
|
138
|
+
readonly ANY: "ANY";
|
|
139
|
+
};
|
|
140
|
+
export type Operator = (typeof Operator)[keyof typeof Operator];
|
|
133
141
|
export interface Condition {
|
|
134
142
|
Conditions?: SimpleCondition[];
|
|
135
143
|
Operator?: Operator | string;
|
|
@@ -196,10 +204,11 @@ export interface RandomSplitEntry {
|
|
|
196
204
|
export interface RandomSplitActivity {
|
|
197
205
|
Branches?: RandomSplitEntry[];
|
|
198
206
|
}
|
|
199
|
-
export declare
|
|
200
|
-
PROMOTIONAL
|
|
201
|
-
TRANSACTIONAL
|
|
202
|
-
}
|
|
207
|
+
export declare const MessageType: {
|
|
208
|
+
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
209
|
+
readonly TRANSACTIONAL: "TRANSACTIONAL";
|
|
210
|
+
};
|
|
211
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
203
212
|
export interface JourneySMSMessage {
|
|
204
213
|
MessageType?: MessageType | string;
|
|
205
214
|
OriginationNumber?: string;
|
|
@@ -230,21 +239,22 @@ export interface Activity {
|
|
|
230
239
|
Wait?: WaitActivity;
|
|
231
240
|
ContactCenter?: ContactCenterActivity;
|
|
232
241
|
}
|
|
233
|
-
export declare
|
|
234
|
-
ADM
|
|
235
|
-
APNS
|
|
236
|
-
APNS_SANDBOX
|
|
237
|
-
APNS_VOIP
|
|
238
|
-
APNS_VOIP_SANDBOX
|
|
239
|
-
BAIDU
|
|
240
|
-
CUSTOM
|
|
241
|
-
EMAIL
|
|
242
|
-
GCM
|
|
243
|
-
IN_APP
|
|
244
|
-
PUSH
|
|
245
|
-
SMS
|
|
246
|
-
VOICE
|
|
247
|
-
}
|
|
242
|
+
export declare const ChannelType: {
|
|
243
|
+
readonly ADM: "ADM";
|
|
244
|
+
readonly APNS: "APNS";
|
|
245
|
+
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
246
|
+
readonly APNS_VOIP: "APNS_VOIP";
|
|
247
|
+
readonly APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX";
|
|
248
|
+
readonly BAIDU: "BAIDU";
|
|
249
|
+
readonly CUSTOM: "CUSTOM";
|
|
250
|
+
readonly EMAIL: "EMAIL";
|
|
251
|
+
readonly GCM: "GCM";
|
|
252
|
+
readonly IN_APP: "IN_APP";
|
|
253
|
+
readonly PUSH: "PUSH";
|
|
254
|
+
readonly SMS: "SMS";
|
|
255
|
+
readonly VOICE: "VOICE";
|
|
256
|
+
};
|
|
257
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
248
258
|
export interface AddressConfiguration {
|
|
249
259
|
BodyOverride?: string;
|
|
250
260
|
ChannelType?: ChannelType | string;
|
|
@@ -288,11 +298,12 @@ export interface ADMMessage {
|
|
|
288
298
|
Title?: string;
|
|
289
299
|
Url?: string;
|
|
290
300
|
}
|
|
291
|
-
export declare
|
|
292
|
-
CENTER
|
|
293
|
-
LEFT
|
|
294
|
-
RIGHT
|
|
295
|
-
}
|
|
301
|
+
export declare const Alignment: {
|
|
302
|
+
readonly CENTER: "CENTER";
|
|
303
|
+
readonly LEFT: "LEFT";
|
|
304
|
+
readonly RIGHT: "RIGHT";
|
|
305
|
+
};
|
|
306
|
+
export type Alignment = (typeof Alignment)[keyof typeof Alignment];
|
|
296
307
|
export interface AndroidPushNotificationTemplate {
|
|
297
308
|
Action?: Action | string;
|
|
298
309
|
Body?: string;
|
|
@@ -456,10 +467,11 @@ export interface ApplicationResponse {
|
|
|
456
467
|
tags?: Record<string, string>;
|
|
457
468
|
CreationDate?: string;
|
|
458
469
|
}
|
|
459
|
-
export declare
|
|
460
|
-
DELIVERY
|
|
461
|
-
FILTER
|
|
462
|
-
}
|
|
470
|
+
export declare const Mode: {
|
|
471
|
+
readonly DELIVERY: "DELIVERY";
|
|
472
|
+
readonly FILTER: "FILTER";
|
|
473
|
+
};
|
|
474
|
+
export type Mode = (typeof Mode)[keyof typeof Mode];
|
|
463
475
|
export interface CampaignHook {
|
|
464
476
|
LambdaFunctionName?: string;
|
|
465
477
|
Mode?: Mode | string;
|
|
@@ -535,11 +547,12 @@ export interface BaiduMessage {
|
|
|
535
547
|
Title?: string;
|
|
536
548
|
Url?: string;
|
|
537
549
|
}
|
|
538
|
-
export declare
|
|
539
|
-
CLOSE
|
|
540
|
-
DEEP_LINK
|
|
541
|
-
LINK
|
|
542
|
-
}
|
|
550
|
+
export declare const ButtonAction: {
|
|
551
|
+
readonly CLOSE: "CLOSE";
|
|
552
|
+
readonly DEEP_LINK: "DEEP_LINK";
|
|
553
|
+
readonly LINK: "LINK";
|
|
554
|
+
};
|
|
555
|
+
export type ButtonAction = (typeof ButtonAction)[keyof typeof ButtonAction];
|
|
543
556
|
export interface CampaignCustomMessage {
|
|
544
557
|
Data?: string;
|
|
545
558
|
}
|
|
@@ -558,10 +571,11 @@ export interface CampaignEmailMessage {
|
|
|
558
571
|
HtmlBody?: string;
|
|
559
572
|
Title?: string;
|
|
560
573
|
}
|
|
561
|
-
export declare
|
|
562
|
-
ENDPOINT
|
|
563
|
-
SYSTEM
|
|
564
|
-
}
|
|
574
|
+
export declare const FilterType: {
|
|
575
|
+
readonly ENDPOINT: "ENDPOINT";
|
|
576
|
+
readonly SYSTEM: "SYSTEM";
|
|
577
|
+
};
|
|
578
|
+
export type FilterType = (typeof FilterType)[keyof typeof FilterType];
|
|
565
579
|
export interface CampaignEventFilter {
|
|
566
580
|
Dimensions: EventDimensions | undefined;
|
|
567
581
|
FilterType: FilterType | string | undefined;
|
|
@@ -602,14 +616,15 @@ export interface InAppMessageContent {
|
|
|
602
616
|
PrimaryBtn?: InAppMessageButton;
|
|
603
617
|
SecondaryBtn?: InAppMessageButton;
|
|
604
618
|
}
|
|
605
|
-
export declare
|
|
606
|
-
BOTTOM_BANNER
|
|
607
|
-
CAROUSEL
|
|
608
|
-
MIDDLE_BANNER
|
|
609
|
-
MOBILE_FEED
|
|
610
|
-
OVERLAYS
|
|
611
|
-
TOP_BANNER
|
|
612
|
-
}
|
|
619
|
+
export declare const Layout: {
|
|
620
|
+
readonly BOTTOM_BANNER: "BOTTOM_BANNER";
|
|
621
|
+
readonly CAROUSEL: "CAROUSEL";
|
|
622
|
+
readonly MIDDLE_BANNER: "MIDDLE_BANNER";
|
|
623
|
+
readonly MOBILE_FEED: "MOBILE_FEED";
|
|
624
|
+
readonly OVERLAYS: "OVERLAYS";
|
|
625
|
+
readonly TOP_BANNER: "TOP_BANNER";
|
|
626
|
+
};
|
|
627
|
+
export type Layout = (typeof Layout)[keyof typeof Layout];
|
|
613
628
|
export interface CampaignInAppMessage {
|
|
614
629
|
Body?: string;
|
|
615
630
|
Content?: InAppMessageContent[];
|
|
@@ -653,15 +668,16 @@ export interface MessageConfiguration {
|
|
|
653
668
|
SMSMessage?: CampaignSmsMessage;
|
|
654
669
|
InAppMessage?: CampaignInAppMessage;
|
|
655
670
|
}
|
|
656
|
-
export declare
|
|
657
|
-
DAILY
|
|
658
|
-
EVENT
|
|
659
|
-
HOURLY
|
|
660
|
-
IN_APP_EVENT
|
|
661
|
-
MONTHLY
|
|
662
|
-
ONCE
|
|
663
|
-
WEEKLY
|
|
664
|
-
}
|
|
671
|
+
export declare const Frequency: {
|
|
672
|
+
readonly DAILY: "DAILY";
|
|
673
|
+
readonly EVENT: "EVENT";
|
|
674
|
+
readonly HOURLY: "HOURLY";
|
|
675
|
+
readonly IN_APP_EVENT: "IN_APP_EVENT";
|
|
676
|
+
readonly MONTHLY: "MONTHLY";
|
|
677
|
+
readonly ONCE: "ONCE";
|
|
678
|
+
readonly WEEKLY: "WEEKLY";
|
|
679
|
+
};
|
|
680
|
+
export type Frequency = (typeof Frequency)[keyof typeof Frequency];
|
|
665
681
|
export interface Schedule {
|
|
666
682
|
EndTime?: string;
|
|
667
683
|
EventFilter?: CampaignEventFilter;
|
|
@@ -671,15 +687,17 @@ export interface Schedule {
|
|
|
671
687
|
StartTime: string | undefined;
|
|
672
688
|
Timezone?: string;
|
|
673
689
|
}
|
|
674
|
-
export declare
|
|
675
|
-
COMPLETED
|
|
676
|
-
DELETED
|
|
677
|
-
EXECUTING
|
|
678
|
-
INVALID
|
|
679
|
-
PAUSED
|
|
680
|
-
PENDING_NEXT_RUN
|
|
681
|
-
SCHEDULED
|
|
682
|
-
}
|
|
690
|
+
export declare const CampaignStatus: {
|
|
691
|
+
readonly COMPLETED: "COMPLETED";
|
|
692
|
+
readonly DELETED: "DELETED";
|
|
693
|
+
readonly EXECUTING: "EXECUTING";
|
|
694
|
+
readonly INVALID: "INVALID";
|
|
695
|
+
readonly PAUSED: "PAUSED";
|
|
696
|
+
readonly PENDING_NEXT_RUN: "PENDING_NEXT_RUN";
|
|
697
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
698
|
+
};
|
|
699
|
+
export type CampaignStatus =
|
|
700
|
+
(typeof CampaignStatus)[keyof typeof CampaignStatus];
|
|
683
701
|
export interface CampaignState {
|
|
684
702
|
CampaignStatus?: CampaignStatus | string;
|
|
685
703
|
}
|
|
@@ -900,17 +918,18 @@ export interface ExportJobResource {
|
|
|
900
918
|
SegmentId?: string;
|
|
901
919
|
SegmentVersion?: number;
|
|
902
920
|
}
|
|
903
|
-
export declare
|
|
904
|
-
COMPLETED
|
|
905
|
-
COMPLETING
|
|
906
|
-
CREATED
|
|
907
|
-
FAILED
|
|
908
|
-
FAILING
|
|
909
|
-
INITIALIZING
|
|
910
|
-
PENDING_JOB
|
|
911
|
-
PREPARING_FOR_INITIALIZATION
|
|
912
|
-
PROCESSING
|
|
913
|
-
}
|
|
921
|
+
export declare const JobStatus: {
|
|
922
|
+
readonly COMPLETED: "COMPLETED";
|
|
923
|
+
readonly COMPLETING: "COMPLETING";
|
|
924
|
+
readonly CREATED: "CREATED";
|
|
925
|
+
readonly FAILED: "FAILED";
|
|
926
|
+
readonly FAILING: "FAILING";
|
|
927
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
928
|
+
readonly PENDING_JOB: "PENDING_JOB";
|
|
929
|
+
readonly PREPARING_FOR_INITIALIZATION: "PREPARING_FOR_INITIALIZATION";
|
|
930
|
+
readonly PROCESSING: "PROCESSING";
|
|
931
|
+
};
|
|
932
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
914
933
|
export interface ExportJobResponse {
|
|
915
934
|
ApplicationId: string | undefined;
|
|
916
935
|
CompletedPieces?: number;
|
|
@@ -929,10 +948,11 @@ export interface ExportJobResponse {
|
|
|
929
948
|
export interface CreateExportJobResponse {
|
|
930
949
|
ExportJobResponse: ExportJobResponse | undefined;
|
|
931
950
|
}
|
|
932
|
-
export declare
|
|
933
|
-
CSV
|
|
934
|
-
JSON
|
|
935
|
-
}
|
|
951
|
+
export declare const Format: {
|
|
952
|
+
readonly CSV: "CSV";
|
|
953
|
+
readonly JSON: "JSON";
|
|
954
|
+
};
|
|
955
|
+
export type Format = (typeof Format)[keyof typeof Format];
|
|
936
956
|
export interface ImportJobRequest {
|
|
937
957
|
DefineSegment?: boolean;
|
|
938
958
|
ExternalId?: string;
|
|
@@ -1004,15 +1024,16 @@ export interface JourneyLimits {
|
|
|
1004
1024
|
MessagesPerSecond?: number;
|
|
1005
1025
|
EndpointReentryInterval?: string;
|
|
1006
1026
|
}
|
|
1007
|
-
export declare
|
|
1008
|
-
FRIDAY
|
|
1009
|
-
MONDAY
|
|
1010
|
-
SATURDAY
|
|
1011
|
-
SUNDAY
|
|
1012
|
-
THURSDAY
|
|
1013
|
-
TUESDAY
|
|
1014
|
-
WEDNESDAY
|
|
1015
|
-
}
|
|
1027
|
+
export declare const DayOfWeek: {
|
|
1028
|
+
readonly FRIDAY: "FRIDAY";
|
|
1029
|
+
readonly MONDAY: "MONDAY";
|
|
1030
|
+
readonly SATURDAY: "SATURDAY";
|
|
1031
|
+
readonly SUNDAY: "SUNDAY";
|
|
1032
|
+
readonly THURSDAY: "THURSDAY";
|
|
1033
|
+
readonly TUESDAY: "TUESDAY";
|
|
1034
|
+
readonly WEDNESDAY: "WEDNESDAY";
|
|
1035
|
+
};
|
|
1036
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
1016
1037
|
export interface OpenHoursRule {
|
|
1017
1038
|
StartTime?: string;
|
|
1018
1039
|
EndTime?: string;
|
|
@@ -1042,14 +1063,15 @@ export interface StartCondition {
|
|
|
1042
1063
|
EventStartCondition?: EventStartCondition;
|
|
1043
1064
|
SegmentStartCondition?: SegmentCondition;
|
|
1044
1065
|
}
|
|
1045
|
-
export declare
|
|
1046
|
-
ACTIVE
|
|
1047
|
-
CANCELLED
|
|
1048
|
-
CLOSED
|
|
1049
|
-
COMPLETED
|
|
1050
|
-
DRAFT
|
|
1051
|
-
PAUSED
|
|
1052
|
-
}
|
|
1066
|
+
export declare const State: {
|
|
1067
|
+
readonly ACTIVE: "ACTIVE";
|
|
1068
|
+
readonly CANCELLED: "CANCELLED";
|
|
1069
|
+
readonly CLOSED: "CLOSED";
|
|
1070
|
+
readonly COMPLETED: "COMPLETED";
|
|
1071
|
+
readonly DRAFT: "DRAFT";
|
|
1072
|
+
readonly PAUSED: "PAUSED";
|
|
1073
|
+
};
|
|
1074
|
+
export type State = (typeof State)[keyof typeof State];
|
|
1053
1075
|
export interface WriteJourneyRequest {
|
|
1054
1076
|
Activities?: Record<string, Activity>;
|
|
1055
1077
|
CreationDate?: string;
|
|
@@ -1164,27 +1186,30 @@ export interface SegmentReference {
|
|
|
1164
1186
|
Id: string | undefined;
|
|
1165
1187
|
Version?: number;
|
|
1166
1188
|
}
|
|
1167
|
-
export declare
|
|
1168
|
-
ALL
|
|
1169
|
-
ANY
|
|
1170
|
-
NONE
|
|
1171
|
-
}
|
|
1172
|
-
export
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1189
|
+
export declare const SourceType: {
|
|
1190
|
+
readonly ALL: "ALL";
|
|
1191
|
+
readonly ANY: "ANY";
|
|
1192
|
+
readonly NONE: "NONE";
|
|
1193
|
+
};
|
|
1194
|
+
export type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
1195
|
+
export declare const Type: {
|
|
1196
|
+
readonly ALL: "ALL";
|
|
1197
|
+
readonly ANY: "ANY";
|
|
1198
|
+
readonly NONE: "NONE";
|
|
1199
|
+
};
|
|
1200
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
1177
1201
|
export interface SegmentGroup {
|
|
1178
1202
|
Dimensions?: SegmentDimensions[];
|
|
1179
1203
|
SourceSegments?: SegmentReference[];
|
|
1180
1204
|
SourceType?: SourceType | string;
|
|
1181
1205
|
Type?: Type | string;
|
|
1182
1206
|
}
|
|
1183
|
-
export declare
|
|
1184
|
-
ALL
|
|
1185
|
-
ANY
|
|
1186
|
-
NONE
|
|
1187
|
-
}
|
|
1207
|
+
export declare const Include: {
|
|
1208
|
+
readonly ALL: "ALL";
|
|
1209
|
+
readonly ANY: "ANY";
|
|
1210
|
+
readonly NONE: "NONE";
|
|
1211
|
+
};
|
|
1212
|
+
export type Include = (typeof Include)[keyof typeof Include];
|
|
1188
1213
|
export interface SegmentGroupList {
|
|
1189
1214
|
Groups?: SegmentGroup[];
|
|
1190
1215
|
Include?: Include | string;
|
|
@@ -1207,10 +1232,11 @@ export interface SegmentImportResource {
|
|
|
1207
1232
|
S3Url: string | undefined;
|
|
1208
1233
|
Size: number | undefined;
|
|
1209
1234
|
}
|
|
1210
|
-
export declare
|
|
1211
|
-
DIMENSIONAL
|
|
1212
|
-
IMPORT
|
|
1213
|
-
}
|
|
1235
|
+
export declare const SegmentType: {
|
|
1236
|
+
readonly DIMENSIONAL: "DIMENSIONAL";
|
|
1237
|
+
readonly IMPORT: "IMPORT";
|
|
1238
|
+
};
|
|
1239
|
+
export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
|
|
1214
1240
|
export interface SegmentResponse {
|
|
1215
1241
|
ApplicationId: string | undefined;
|
|
1216
1242
|
Arn: string | undefined;
|
|
@@ -1532,15 +1558,17 @@ export interface DeleteVoiceTemplateRequest {
|
|
|
1532
1558
|
export interface DeleteVoiceTemplateResponse {
|
|
1533
1559
|
MessageBody: MessageBody | undefined;
|
|
1534
1560
|
}
|
|
1535
|
-
export declare
|
|
1536
|
-
DUPLICATE
|
|
1537
|
-
OPT_OUT
|
|
1538
|
-
PERMANENT_FAILURE
|
|
1539
|
-
SUCCESSFUL
|
|
1540
|
-
TEMPORARY_FAILURE
|
|
1541
|
-
THROTTLED
|
|
1542
|
-
UNKNOWN_FAILURE
|
|
1543
|
-
}
|
|
1561
|
+
export declare const DeliveryStatus: {
|
|
1562
|
+
readonly DUPLICATE: "DUPLICATE";
|
|
1563
|
+
readonly OPT_OUT: "OPT_OUT";
|
|
1564
|
+
readonly PERMANENT_FAILURE: "PERMANENT_FAILURE";
|
|
1565
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
1566
|
+
readonly TEMPORARY_FAILURE: "TEMPORARY_FAILURE";
|
|
1567
|
+
readonly THROTTLED: "THROTTLED";
|
|
1568
|
+
readonly UNKNOWN_FAILURE: "UNKNOWN_FAILURE";
|
|
1569
|
+
};
|
|
1570
|
+
export type DeliveryStatus =
|
|
1571
|
+
(typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
1544
1572
|
export interface RawEmail {
|
|
1545
1573
|
Data?: Uint8Array;
|
|
1546
1574
|
}
|
|
@@ -1617,13 +1645,14 @@ export interface EmailChannelRequest {
|
|
|
1617
1645
|
Identity: string | undefined;
|
|
1618
1646
|
RoleArn?: string;
|
|
1619
1647
|
}
|
|
1620
|
-
export declare
|
|
1621
|
-
EMAIL
|
|
1622
|
-
INAPP
|
|
1623
|
-
PUSH
|
|
1624
|
-
SMS
|
|
1625
|
-
VOICE
|
|
1626
|
-
}
|
|
1648
|
+
export declare const TemplateType: {
|
|
1649
|
+
readonly EMAIL: "EMAIL";
|
|
1650
|
+
readonly INAPP: "INAPP";
|
|
1651
|
+
readonly PUSH: "PUSH";
|
|
1652
|
+
readonly SMS: "SMS";
|
|
1653
|
+
readonly VOICE: "VOICE";
|
|
1654
|
+
};
|
|
1655
|
+
export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType];
|
|
1627
1656
|
export interface EmailTemplateResponse {
|
|
1628
1657
|
Arn?: string;
|
|
1629
1658
|
CreationDate: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|