@aws-sdk/client-pinpoint 3.934.0 → 3.936.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/index.js +188 -188
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +187 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -310
- package/dist-es/models/models_1.js +1 -6
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyCommand.d.ts +2 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +411 -0
- package/dist-types/models/errors.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +547 -575
- package/dist-types/models/models_1.d.ts +2 -561
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +2 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +220 -0
- package/dist-types/ts3.4/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +172 -280
- package/dist-types/ts3.4/models/models_1.d.ts +2 -163
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
RequestID;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.RequestID = opts.RequestID;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
22
|
+
RequestID;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
this.RequestID = opts.RequestID;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Message;
|
|
38
|
+
RequestID;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
this.RequestID = opts.RequestID;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class InternalServerErrorException extends __BaseException {
|
|
51
|
+
name = "InternalServerErrorException";
|
|
52
|
+
$fault = "server";
|
|
53
|
+
Message;
|
|
54
|
+
RequestID;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "InternalServerErrorException",
|
|
58
|
+
$fault: "server",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
this.RequestID = opts.RequestID;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class MethodNotAllowedException extends __BaseException {
|
|
67
|
+
name = "MethodNotAllowedException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Message;
|
|
70
|
+
RequestID;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "MethodNotAllowedException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
|
|
78
|
+
this.Message = opts.Message;
|
|
79
|
+
this.RequestID = opts.RequestID;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class NotFoundException extends __BaseException {
|
|
83
|
+
name = "NotFoundException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Message;
|
|
86
|
+
RequestID;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "NotFoundException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
this.RequestID = opts.RequestID;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class PayloadTooLargeException extends __BaseException {
|
|
99
|
+
name = "PayloadTooLargeException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Message;
|
|
102
|
+
RequestID;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "PayloadTooLargeException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
110
|
+
this.Message = opts.Message;
|
|
111
|
+
this.RequestID = opts.RequestID;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class TooManyRequestsException extends __BaseException {
|
|
115
|
+
name = "TooManyRequestsException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
118
|
+
RequestID;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "TooManyRequestsException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
this.RequestID = opts.RequestID;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,310 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const __EndpointTypesElement = {
|
|
3
|
-
ADM: "ADM",
|
|
4
|
-
APNS: "APNS",
|
|
5
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
6
|
-
APNS_VOIP: "APNS_VOIP",
|
|
7
|
-
APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX",
|
|
8
|
-
BAIDU: "BAIDU",
|
|
9
|
-
CUSTOM: "CUSTOM",
|
|
10
|
-
EMAIL: "EMAIL",
|
|
11
|
-
GCM: "GCM",
|
|
12
|
-
IN_APP: "IN_APP",
|
|
13
|
-
PUSH: "PUSH",
|
|
14
|
-
SMS: "SMS",
|
|
15
|
-
VOICE: "VOICE",
|
|
16
|
-
};
|
|
17
|
-
export const __TimezoneEstimationMethodsElement = {
|
|
18
|
-
PHONE_NUMBER: "PHONE_NUMBER",
|
|
19
|
-
POSTAL_CODE: "POSTAL_CODE",
|
|
20
|
-
};
|
|
21
|
-
export const Action = {
|
|
22
|
-
DEEP_LINK: "DEEP_LINK",
|
|
23
|
-
OPEN_APP: "OPEN_APP",
|
|
24
|
-
URL: "URL",
|
|
25
|
-
};
|
|
26
|
-
export const AttributeType = {
|
|
27
|
-
AFTER: "AFTER",
|
|
28
|
-
BEFORE: "BEFORE",
|
|
29
|
-
BETWEEN: "BETWEEN",
|
|
30
|
-
CONTAINS: "CONTAINS",
|
|
31
|
-
EXCLUSIVE: "EXCLUSIVE",
|
|
32
|
-
INCLUSIVE: "INCLUSIVE",
|
|
33
|
-
ON: "ON",
|
|
34
|
-
};
|
|
35
|
-
export const DimensionType = {
|
|
36
|
-
EXCLUSIVE: "EXCLUSIVE",
|
|
37
|
-
INCLUSIVE: "INCLUSIVE",
|
|
38
|
-
};
|
|
39
|
-
export const Duration = {
|
|
40
|
-
DAY_14: "DAY_14",
|
|
41
|
-
DAY_30: "DAY_30",
|
|
42
|
-
DAY_7: "DAY_7",
|
|
43
|
-
HR_24: "HR_24",
|
|
44
|
-
};
|
|
45
|
-
export const RecencyType = {
|
|
46
|
-
ACTIVE: "ACTIVE",
|
|
47
|
-
INACTIVE: "INACTIVE",
|
|
48
|
-
};
|
|
49
|
-
export const Operator = {
|
|
50
|
-
ALL: "ALL",
|
|
51
|
-
ANY: "ANY",
|
|
52
|
-
};
|
|
53
|
-
export const MessageType = {
|
|
54
|
-
PROMOTIONAL: "PROMOTIONAL",
|
|
55
|
-
TRANSACTIONAL: "TRANSACTIONAL",
|
|
56
|
-
};
|
|
57
|
-
export const ChannelType = {
|
|
58
|
-
ADM: "ADM",
|
|
59
|
-
APNS: "APNS",
|
|
60
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
61
|
-
APNS_VOIP: "APNS_VOIP",
|
|
62
|
-
APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX",
|
|
63
|
-
BAIDU: "BAIDU",
|
|
64
|
-
CUSTOM: "CUSTOM",
|
|
65
|
-
EMAIL: "EMAIL",
|
|
66
|
-
GCM: "GCM",
|
|
67
|
-
IN_APP: "IN_APP",
|
|
68
|
-
PUSH: "PUSH",
|
|
69
|
-
SMS: "SMS",
|
|
70
|
-
VOICE: "VOICE",
|
|
71
|
-
};
|
|
72
|
-
export const Alignment = {
|
|
73
|
-
CENTER: "CENTER",
|
|
74
|
-
LEFT: "LEFT",
|
|
75
|
-
RIGHT: "RIGHT",
|
|
76
|
-
};
|
|
77
|
-
export const Mode = {
|
|
78
|
-
DELIVERY: "DELIVERY",
|
|
79
|
-
FILTER: "FILTER",
|
|
80
|
-
};
|
|
81
|
-
export class BadRequestException extends __BaseException {
|
|
82
|
-
name = "BadRequestException";
|
|
83
|
-
$fault = "client";
|
|
84
|
-
Message;
|
|
85
|
-
RequestID;
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "BadRequestException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
93
|
-
this.Message = opts.Message;
|
|
94
|
-
this.RequestID = opts.RequestID;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
export const ButtonAction = {
|
|
98
|
-
CLOSE: "CLOSE",
|
|
99
|
-
DEEP_LINK: "DEEP_LINK",
|
|
100
|
-
LINK: "LINK",
|
|
101
|
-
};
|
|
102
|
-
export const FilterType = {
|
|
103
|
-
ENDPOINT: "ENDPOINT",
|
|
104
|
-
SYSTEM: "SYSTEM",
|
|
105
|
-
};
|
|
106
|
-
export const Layout = {
|
|
107
|
-
BOTTOM_BANNER: "BOTTOM_BANNER",
|
|
108
|
-
CAROUSEL: "CAROUSEL",
|
|
109
|
-
MIDDLE_BANNER: "MIDDLE_BANNER",
|
|
110
|
-
MOBILE_FEED: "MOBILE_FEED",
|
|
111
|
-
OVERLAYS: "OVERLAYS",
|
|
112
|
-
TOP_BANNER: "TOP_BANNER",
|
|
113
|
-
};
|
|
114
|
-
export const Frequency = {
|
|
115
|
-
DAILY: "DAILY",
|
|
116
|
-
EVENT: "EVENT",
|
|
117
|
-
HOURLY: "HOURLY",
|
|
118
|
-
IN_APP_EVENT: "IN_APP_EVENT",
|
|
119
|
-
MONTHLY: "MONTHLY",
|
|
120
|
-
ONCE: "ONCE",
|
|
121
|
-
WEEKLY: "WEEKLY",
|
|
122
|
-
};
|
|
123
|
-
export const CampaignStatus = {
|
|
124
|
-
COMPLETED: "COMPLETED",
|
|
125
|
-
DELETED: "DELETED",
|
|
126
|
-
EXECUTING: "EXECUTING",
|
|
127
|
-
INVALID: "INVALID",
|
|
128
|
-
PAUSED: "PAUSED",
|
|
129
|
-
PENDING_NEXT_RUN: "PENDING_NEXT_RUN",
|
|
130
|
-
SCHEDULED: "SCHEDULED",
|
|
131
|
-
};
|
|
132
|
-
export class ConflictException extends __BaseException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
Message;
|
|
136
|
-
RequestID;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "ConflictException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
144
|
-
this.Message = opts.Message;
|
|
145
|
-
this.RequestID = opts.RequestID;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
export class ForbiddenException extends __BaseException {
|
|
149
|
-
name = "ForbiddenException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Message;
|
|
152
|
-
RequestID;
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "ForbiddenException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
160
|
-
this.Message = opts.Message;
|
|
161
|
-
this.RequestID = opts.RequestID;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export class InternalServerErrorException extends __BaseException {
|
|
165
|
-
name = "InternalServerErrorException";
|
|
166
|
-
$fault = "server";
|
|
167
|
-
Message;
|
|
168
|
-
RequestID;
|
|
169
|
-
constructor(opts) {
|
|
170
|
-
super({
|
|
171
|
-
name: "InternalServerErrorException",
|
|
172
|
-
$fault: "server",
|
|
173
|
-
...opts,
|
|
174
|
-
});
|
|
175
|
-
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
176
|
-
this.Message = opts.Message;
|
|
177
|
-
this.RequestID = opts.RequestID;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export class MethodNotAllowedException extends __BaseException {
|
|
181
|
-
name = "MethodNotAllowedException";
|
|
182
|
-
$fault = "client";
|
|
183
|
-
Message;
|
|
184
|
-
RequestID;
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "MethodNotAllowedException",
|
|
188
|
-
$fault: "client",
|
|
189
|
-
...opts,
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
|
|
192
|
-
this.Message = opts.Message;
|
|
193
|
-
this.RequestID = opts.RequestID;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
export class NotFoundException extends __BaseException {
|
|
197
|
-
name = "NotFoundException";
|
|
198
|
-
$fault = "client";
|
|
199
|
-
Message;
|
|
200
|
-
RequestID;
|
|
201
|
-
constructor(opts) {
|
|
202
|
-
super({
|
|
203
|
-
name: "NotFoundException",
|
|
204
|
-
$fault: "client",
|
|
205
|
-
...opts,
|
|
206
|
-
});
|
|
207
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
208
|
-
this.Message = opts.Message;
|
|
209
|
-
this.RequestID = opts.RequestID;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
export class PayloadTooLargeException extends __BaseException {
|
|
213
|
-
name = "PayloadTooLargeException";
|
|
214
|
-
$fault = "client";
|
|
215
|
-
Message;
|
|
216
|
-
RequestID;
|
|
217
|
-
constructor(opts) {
|
|
218
|
-
super({
|
|
219
|
-
name: "PayloadTooLargeException",
|
|
220
|
-
$fault: "client",
|
|
221
|
-
...opts,
|
|
222
|
-
});
|
|
223
|
-
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
224
|
-
this.Message = opts.Message;
|
|
225
|
-
this.RequestID = opts.RequestID;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
export class TooManyRequestsException extends __BaseException {
|
|
229
|
-
name = "TooManyRequestsException";
|
|
230
|
-
$fault = "client";
|
|
231
|
-
Message;
|
|
232
|
-
RequestID;
|
|
233
|
-
constructor(opts) {
|
|
234
|
-
super({
|
|
235
|
-
name: "TooManyRequestsException",
|
|
236
|
-
$fault: "client",
|
|
237
|
-
...opts,
|
|
238
|
-
});
|
|
239
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
240
|
-
this.Message = opts.Message;
|
|
241
|
-
this.RequestID = opts.RequestID;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
export const JobStatus = {
|
|
245
|
-
COMPLETED: "COMPLETED",
|
|
246
|
-
COMPLETING: "COMPLETING",
|
|
247
|
-
CREATED: "CREATED",
|
|
248
|
-
FAILED: "FAILED",
|
|
249
|
-
FAILING: "FAILING",
|
|
250
|
-
INITIALIZING: "INITIALIZING",
|
|
251
|
-
PENDING_JOB: "PENDING_JOB",
|
|
252
|
-
PREPARING_FOR_INITIALIZATION: "PREPARING_FOR_INITIALIZATION",
|
|
253
|
-
PROCESSING: "PROCESSING",
|
|
254
|
-
};
|
|
255
|
-
export const Format = {
|
|
256
|
-
CSV: "CSV",
|
|
257
|
-
JSON: "JSON",
|
|
258
|
-
};
|
|
259
|
-
export const DayOfWeek = {
|
|
260
|
-
FRIDAY: "FRIDAY",
|
|
261
|
-
MONDAY: "MONDAY",
|
|
262
|
-
SATURDAY: "SATURDAY",
|
|
263
|
-
SUNDAY: "SUNDAY",
|
|
264
|
-
THURSDAY: "THURSDAY",
|
|
265
|
-
TUESDAY: "TUESDAY",
|
|
266
|
-
WEDNESDAY: "WEDNESDAY",
|
|
267
|
-
};
|
|
268
|
-
export const State = {
|
|
269
|
-
ACTIVE: "ACTIVE",
|
|
270
|
-
CANCELLED: "CANCELLED",
|
|
271
|
-
CLOSED: "CLOSED",
|
|
272
|
-
COMPLETED: "COMPLETED",
|
|
273
|
-
DRAFT: "DRAFT",
|
|
274
|
-
PAUSED: "PAUSED",
|
|
275
|
-
};
|
|
276
|
-
export const SourceType = {
|
|
277
|
-
ALL: "ALL",
|
|
278
|
-
ANY: "ANY",
|
|
279
|
-
NONE: "NONE",
|
|
280
|
-
};
|
|
281
|
-
export const Type = {
|
|
282
|
-
ALL: "ALL",
|
|
283
|
-
ANY: "ANY",
|
|
284
|
-
NONE: "NONE",
|
|
285
|
-
};
|
|
286
|
-
export const Include = {
|
|
287
|
-
ALL: "ALL",
|
|
288
|
-
ANY: "ANY",
|
|
289
|
-
NONE: "NONE",
|
|
290
|
-
};
|
|
291
|
-
export const SegmentType = {
|
|
292
|
-
DIMENSIONAL: "DIMENSIONAL",
|
|
293
|
-
IMPORT: "IMPORT",
|
|
294
|
-
};
|
|
295
|
-
export const DeliveryStatus = {
|
|
296
|
-
DUPLICATE: "DUPLICATE",
|
|
297
|
-
OPT_OUT: "OPT_OUT",
|
|
298
|
-
PERMANENT_FAILURE: "PERMANENT_FAILURE",
|
|
299
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
300
|
-
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
301
|
-
THROTTLED: "THROTTLED",
|
|
302
|
-
UNKNOWN_FAILURE: "UNKNOWN_FAILURE",
|
|
303
|
-
};
|
|
304
|
-
export const TemplateType = {
|
|
305
|
-
EMAIL: "EMAIL",
|
|
306
|
-
INAPP: "INAPP",
|
|
307
|
-
PUSH: "PUSH",
|
|
308
|
-
SMS: "SMS",
|
|
309
|
-
VOICE: "VOICE",
|
|
310
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1000,7 +1000,7 @@ const _tt = "template-type";
|
|
|
1000
1000
|
const _v = "version";
|
|
1001
1001
|
const n0 = "com.amazonaws.pinpoint";
|
|
1002
1002
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
1003
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, MethodNotAllowedException as __MethodNotAllowedException, NotFoundException as __NotFoundException, PayloadTooLargeException as __PayloadTooLargeException, TooManyRequestsException as __TooManyRequestsException, } from "../models/
|
|
1003
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, MethodNotAllowedException as __MethodNotAllowedException, NotFoundException as __NotFoundException, PayloadTooLargeException as __PayloadTooLargeException, TooManyRequestsException as __TooManyRequestsException, } from "../models/errors";
|
|
1004
1004
|
import { PinpointServiceException as __PinpointServiceException } from "../models/PinpointServiceException";
|
|
1005
1005
|
export var ActivitiesResponse = [3, n0, _AR, 0, [_I, _NT], [() => ListOfActivityResponse, 0]];
|
|
1006
1006
|
export var Activity = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetCampaignVersionRequest, GetCampaignVersionResponse } from "../models/
|
|
3
|
+
import { GetCampaignVersionRequest, GetCampaignVersionResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetCampaignVersionsRequest, GetCampaignVersionsResponse } from "../models/
|
|
3
|
+
import { GetCampaignVersionsRequest, GetCampaignVersionsResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetChannelsRequest, GetChannelsResponse } from "../models/
|
|
3
|
+
import { GetChannelsRequest, GetChannelsResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetEmailChannelRequest, GetEmailChannelResponse } from "../models/
|
|
3
|
+
import { GetEmailChannelRequest, GetEmailChannelResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetEmailTemplateRequest, GetEmailTemplateResponse } from "../models/
|
|
3
|
+
import { GetEmailTemplateRequest, GetEmailTemplateResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetEndpointRequest, GetEndpointResponse } from "../models/
|
|
3
|
+
import { GetEndpointRequest, GetEndpointResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetEventStreamRequest, GetEventStreamResponse } from "../models/
|
|
3
|
+
import { GetEventStreamRequest, GetEventStreamResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetExportJobRequest, GetExportJobResponse } from "../models/
|
|
3
|
+
import { GetExportJobRequest, GetExportJobResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetExportJobsRequest, GetExportJobsResponse } from "../models/
|
|
3
|
+
import { GetExportJobsRequest, GetExportJobsResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetGcmChannelRequest, GetGcmChannelResponse } from "../models/
|
|
3
|
+
import { GetGcmChannelRequest, GetGcmChannelResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetImportJobRequest, GetImportJobResponse } from "../models/
|
|
3
|
+
import { GetImportJobRequest, GetImportJobResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetImportJobsRequest, GetImportJobsResponse } from "../models/
|
|
3
|
+
import { GetImportJobsRequest, GetImportJobsResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetInAppMessagesRequest, GetInAppMessagesResponse } from "../models/
|
|
3
|
+
import { GetInAppMessagesRequest, GetInAppMessagesResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetInAppTemplateRequest, GetInAppTemplateResponse } from "../models/
|
|
3
|
+
import { GetInAppTemplateRequest, GetInAppTemplateResponse } from "../models/models_0";
|
|
4
4
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetJourneyRequest
|
|
3
|
+
import { GetJourneyRequest } from "../models/models_0";
|
|
4
|
+
import { GetJourneyResponse } from "../models/models_1";
|
|
4
5
|
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,5 +9,8 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { PinpointExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
-
export * from "./models";
|
|
12
|
+
export * from "./models/enums";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
15
|
+
export type * from "./models/models_1";
|
|
13
16
|
export { PinpointServiceException } from "./models/PinpointServiceException";
|