@aws-sdk/client-personalize-events 3.987.0 → 3.989.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 +24 -266
- package/dist-cjs/models/PersonalizeEventsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +43 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +204 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +33 -27
- package/dist-types/schemas/schemas_0.d.ts +11 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -4
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var PersonalizeEventsServiceException = require('./models/PersonalizeEventsServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,243 +113,6 @@ class PersonalizeEventsClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class PersonalizeEventsServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, PersonalizeEventsServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class InvalidInputException extends PersonalizeEventsServiceException {
|
|
121
|
-
name = "InvalidInputException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "InvalidInputException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ResourceInUseException extends PersonalizeEventsServiceException {
|
|
133
|
-
name = "ResourceInUseException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "ResourceInUseException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class ResourceNotFoundException extends PersonalizeEventsServiceException {
|
|
145
|
-
name = "ResourceNotFoundException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "ResourceNotFoundException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
const _A = "Action";
|
|
158
|
-
const _AI = "ActionId";
|
|
159
|
-
const _AIL = "ActionInteractionsList";
|
|
160
|
-
const _AIc = "ActionInteraction";
|
|
161
|
-
const _AIct = "ActionImpression";
|
|
162
|
-
const _AL = "ActionList";
|
|
163
|
-
const _E = "Event";
|
|
164
|
-
const _EL = "EventList";
|
|
165
|
-
const _I = "Item";
|
|
166
|
-
const _II = "ItemId";
|
|
167
|
-
const _IIE = "InvalidInputException";
|
|
168
|
-
const _IL = "ItemList";
|
|
169
|
-
const _Im = "Impression";
|
|
170
|
-
const _MA = "MetricAttribution";
|
|
171
|
-
const _PA = "PutActions";
|
|
172
|
-
const _PAI = "PutActionInteractions";
|
|
173
|
-
const _PAIR = "PutActionInteractionsRequest";
|
|
174
|
-
const _PAR = "PutActionsRequest";
|
|
175
|
-
const _PE = "PutEvents";
|
|
176
|
-
const _PER = "PutEventsRequest";
|
|
177
|
-
const _PI = "PutItems";
|
|
178
|
-
const _PIR = "PutItemsRequest";
|
|
179
|
-
const _PU = "PutUsers";
|
|
180
|
-
const _PUR = "PutUsersRequest";
|
|
181
|
-
const _RIUE = "ResourceInUseException";
|
|
182
|
-
const _RNFE = "ResourceNotFoundException";
|
|
183
|
-
const _SJAIP = "SynthesizedJsonActionInteractionProperties";
|
|
184
|
-
const _SJAP = "SynthesizedJsonActionProperties";
|
|
185
|
-
const _SJEPJSON = "SynthesizedJsonEventPropertiesJSON";
|
|
186
|
-
const _SJIP = "SynthesizedJsonItemProperties";
|
|
187
|
-
const _SJUP = "SynthesizedJsonUserProperties";
|
|
188
|
-
const _U = "User";
|
|
189
|
-
const _UI = "UserId";
|
|
190
|
-
const _UL = "UserList";
|
|
191
|
-
const _a = "application/json";
|
|
192
|
-
const _aI = "actionId";
|
|
193
|
-
const _aIc = "actionInteractions";
|
|
194
|
-
const _ac = "actions";
|
|
195
|
-
const _c = "client";
|
|
196
|
-
const _dA = "datasetArn";
|
|
197
|
-
const _e = "error";
|
|
198
|
-
const _eAS = "eventAttributionSource";
|
|
199
|
-
const _eI = "eventId";
|
|
200
|
-
const _eL = "eventList";
|
|
201
|
-
const _eT = "eventType";
|
|
202
|
-
const _eV = "eventValue";
|
|
203
|
-
const _h = "http";
|
|
204
|
-
const _hE = "httpError";
|
|
205
|
-
const _i = "impression";
|
|
206
|
-
const _iI = "itemId";
|
|
207
|
-
const _it = "items";
|
|
208
|
-
const _m = "message";
|
|
209
|
-
const _mA = "metricAttribution";
|
|
210
|
-
const _mT = "mediaType";
|
|
211
|
-
const _p = "properties";
|
|
212
|
-
const _rI = "recommendationId";
|
|
213
|
-
const _s = "sensitive";
|
|
214
|
-
const _sA = "sentAt";
|
|
215
|
-
const _sI = "sessionId";
|
|
216
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeevents";
|
|
217
|
-
const _t = "timestamp";
|
|
218
|
-
const _tI = "trackingId";
|
|
219
|
-
const _u = "users";
|
|
220
|
-
const _uI = "userId";
|
|
221
|
-
const n0 = "com.amazonaws.personalizeevents";
|
|
222
|
-
var ActionId = [0, n0, _AI, 8, 0];
|
|
223
|
-
var ItemId = [0, n0, _II, 8, 0];
|
|
224
|
-
var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [_s]: 1 }, 0];
|
|
225
|
-
var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [_s]: 1 }, 0];
|
|
226
|
-
var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_s]: 1 }, 0];
|
|
227
|
-
var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_s]: 1 }, 0];
|
|
228
|
-
var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_s]: 1 }, 0];
|
|
229
|
-
var UserId = [0, n0, _UI, 8, 0];
|
|
230
|
-
var Action$ = [3, n0, _A,
|
|
231
|
-
0,
|
|
232
|
-
[_aI, _p],
|
|
233
|
-
[0, [() => SynthesizedJsonActionProperties, 0]], 1
|
|
234
|
-
];
|
|
235
|
-
var ActionInteraction$ = [3, n0, _AIc,
|
|
236
|
-
0,
|
|
237
|
-
[_aI, _sI, _t, _eT, _uI, _eI, _rI, _i, _p],
|
|
238
|
-
[[() => ActionId, 0], 0, 4, 0, [() => UserId, 0], 0, 0, [() => ActionImpression, 0], [() => SynthesizedJsonActionInteractionProperties, 0]], 4
|
|
239
|
-
];
|
|
240
|
-
var Event$ = [3, n0, _E,
|
|
241
|
-
8,
|
|
242
|
-
[_eT, _sA, _eI, _eV, _iI, _p, _rI, _i, _mA],
|
|
243
|
-
[0, 4, 0, 1, [() => ItemId, 0], [() => SynthesizedJsonEventPropertiesJSON, 0], 0, [() => Impression, 0], () => MetricAttribution$], 2
|
|
244
|
-
];
|
|
245
|
-
var InvalidInputException$ = [-3, n0, _IIE,
|
|
246
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
247
|
-
[_m],
|
|
248
|
-
[0]
|
|
249
|
-
];
|
|
250
|
-
schema.TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
251
|
-
var Item$ = [3, n0, _I,
|
|
252
|
-
0,
|
|
253
|
-
[_iI, _p],
|
|
254
|
-
[0, [() => SynthesizedJsonItemProperties, 0]], 1
|
|
255
|
-
];
|
|
256
|
-
var MetricAttribution$ = [3, n0, _MA,
|
|
257
|
-
0,
|
|
258
|
-
[_eAS],
|
|
259
|
-
[0], 1
|
|
260
|
-
];
|
|
261
|
-
var PutActionInteractionsRequest$ = [3, n0, _PAIR,
|
|
262
|
-
0,
|
|
263
|
-
[_tI, _aIc],
|
|
264
|
-
[0, [() => ActionInteractionsList, 0]], 2
|
|
265
|
-
];
|
|
266
|
-
var PutActionsRequest$ = [3, n0, _PAR,
|
|
267
|
-
0,
|
|
268
|
-
[_dA, _ac],
|
|
269
|
-
[0, [() => ActionList, 0]], 2
|
|
270
|
-
];
|
|
271
|
-
var PutEventsRequest$ = [3, n0, _PER,
|
|
272
|
-
0,
|
|
273
|
-
[_tI, _sI, _eL, _uI],
|
|
274
|
-
[0, 0, [() => EventList, 0], [() => UserId, 0]], 3
|
|
275
|
-
];
|
|
276
|
-
var PutItemsRequest$ = [3, n0, _PIR,
|
|
277
|
-
0,
|
|
278
|
-
[_dA, _it],
|
|
279
|
-
[0, [() => ItemList, 0]], 2
|
|
280
|
-
];
|
|
281
|
-
var PutUsersRequest$ = [3, n0, _PUR,
|
|
282
|
-
0,
|
|
283
|
-
[_dA, _u],
|
|
284
|
-
[0, [() => UserList, 0]], 2
|
|
285
|
-
];
|
|
286
|
-
var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
287
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
288
|
-
[_m],
|
|
289
|
-
[0]
|
|
290
|
-
];
|
|
291
|
-
schema.TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
292
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
293
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
294
|
-
[_m],
|
|
295
|
-
[0]
|
|
296
|
-
];
|
|
297
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
298
|
-
var User$ = [3, n0, _U,
|
|
299
|
-
0,
|
|
300
|
-
[_uI, _p],
|
|
301
|
-
[0, [() => SynthesizedJsonUserProperties, 0]], 1
|
|
302
|
-
];
|
|
303
|
-
var __Unit = "unit";
|
|
304
|
-
var PersonalizeEventsServiceException$ = [-3, _sm, "PersonalizeEventsServiceException", 0, [], []];
|
|
305
|
-
schema.TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
|
|
306
|
-
var ActionImpression = [1, n0, _AIct,
|
|
307
|
-
0, [() => ActionId,
|
|
308
|
-
0]
|
|
309
|
-
];
|
|
310
|
-
var ActionInteractionsList = [1, n0, _AIL,
|
|
311
|
-
0, [() => ActionInteraction$,
|
|
312
|
-
0]
|
|
313
|
-
];
|
|
314
|
-
var ActionList = [1, n0, _AL,
|
|
315
|
-
0, [() => Action$,
|
|
316
|
-
0]
|
|
317
|
-
];
|
|
318
|
-
var EventList = [1, n0, _EL,
|
|
319
|
-
0, [() => Event$,
|
|
320
|
-
0]
|
|
321
|
-
];
|
|
322
|
-
var Impression = [1, n0, _Im,
|
|
323
|
-
0, [() => ItemId,
|
|
324
|
-
0]
|
|
325
|
-
];
|
|
326
|
-
var ItemList = [1, n0, _IL,
|
|
327
|
-
0, [() => Item$,
|
|
328
|
-
0]
|
|
329
|
-
];
|
|
330
|
-
var UserList = [1, n0, _UL,
|
|
331
|
-
0, [() => User$,
|
|
332
|
-
0]
|
|
333
|
-
];
|
|
334
|
-
var PutActionInteractions$ = [9, n0, _PAI,
|
|
335
|
-
{ [_h]: ["POST", "/action-interactions", 200] }, () => PutActionInteractionsRequest$, () => __Unit
|
|
336
|
-
];
|
|
337
|
-
var PutActions$ = [9, n0, _PA,
|
|
338
|
-
{ [_h]: ["POST", "/actions", 200] }, () => PutActionsRequest$, () => __Unit
|
|
339
|
-
];
|
|
340
|
-
var PutEvents$ = [9, n0, _PE,
|
|
341
|
-
{ [_h]: ["POST", "/events", 200] }, () => PutEventsRequest$, () => __Unit
|
|
342
|
-
];
|
|
343
|
-
var PutItems$ = [9, n0, _PI,
|
|
344
|
-
{ [_h]: ["POST", "/items", 200] }, () => PutItemsRequest$, () => __Unit
|
|
345
|
-
];
|
|
346
|
-
var PutUsers$ = [9, n0, _PU,
|
|
347
|
-
{ [_h]: ["POST", "/users", 200] }, () => PutUsersRequest$, () => __Unit
|
|
348
|
-
];
|
|
349
|
-
|
|
350
116
|
class PutActionInteractionsCommand extends smithyClient.Command
|
|
351
117
|
.classBuilder()
|
|
352
118
|
.ep(commonParams)
|
|
@@ -355,7 +121,7 @@ class PutActionInteractionsCommand extends smithyClient.Command
|
|
|
355
121
|
})
|
|
356
122
|
.s("AmazonPersonalizeEvents", "PutActionInteractions", {})
|
|
357
123
|
.n("PersonalizeEventsClient", "PutActionInteractionsCommand")
|
|
358
|
-
.sc(PutActionInteractions$)
|
|
124
|
+
.sc(schemas_0.PutActionInteractions$)
|
|
359
125
|
.build() {
|
|
360
126
|
}
|
|
361
127
|
|
|
@@ -367,7 +133,7 @@ class PutActionsCommand extends smithyClient.Command
|
|
|
367
133
|
})
|
|
368
134
|
.s("AmazonPersonalizeEvents", "PutActions", {})
|
|
369
135
|
.n("PersonalizeEventsClient", "PutActionsCommand")
|
|
370
|
-
.sc(PutActions$)
|
|
136
|
+
.sc(schemas_0.PutActions$)
|
|
371
137
|
.build() {
|
|
372
138
|
}
|
|
373
139
|
|
|
@@ -379,7 +145,7 @@ class PutEventsCommand extends smithyClient.Command
|
|
|
379
145
|
})
|
|
380
146
|
.s("AmazonPersonalizeEvents", "PutEvents", {})
|
|
381
147
|
.n("PersonalizeEventsClient", "PutEventsCommand")
|
|
382
|
-
.sc(PutEvents$)
|
|
148
|
+
.sc(schemas_0.PutEvents$)
|
|
383
149
|
.build() {
|
|
384
150
|
}
|
|
385
151
|
|
|
@@ -391,7 +157,7 @@ class PutItemsCommand extends smithyClient.Command
|
|
|
391
157
|
})
|
|
392
158
|
.s("AmazonPersonalizeEvents", "PutItems", {})
|
|
393
159
|
.n("PersonalizeEventsClient", "PutItemsCommand")
|
|
394
|
-
.sc(PutItems$)
|
|
160
|
+
.sc(schemas_0.PutItems$)
|
|
395
161
|
.build() {
|
|
396
162
|
}
|
|
397
163
|
|
|
@@ -403,7 +169,7 @@ class PutUsersCommand extends smithyClient.Command
|
|
|
403
169
|
})
|
|
404
170
|
.s("AmazonPersonalizeEvents", "PutUsers", {})
|
|
405
171
|
.n("PersonalizeEventsClient", "PutUsersCommand")
|
|
406
|
-
.sc(PutUsers$)
|
|
172
|
+
.sc(schemas_0.PutUsers$)
|
|
407
173
|
.build() {
|
|
408
174
|
}
|
|
409
175
|
|
|
@@ -426,34 +192,26 @@ Object.defineProperty(exports, "__Client", {
|
|
|
426
192
|
enumerable: true,
|
|
427
193
|
get: function () { return smithyClient.Client; }
|
|
428
194
|
});
|
|
429
|
-
exports
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
exports.InvalidInputException$ = InvalidInputException$;
|
|
434
|
-
exports.Item$ = Item$;
|
|
435
|
-
exports.MetricAttribution$ = MetricAttribution$;
|
|
195
|
+
Object.defineProperty(exports, "PersonalizeEventsServiceException", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () { return PersonalizeEventsServiceException.PersonalizeEventsServiceException; }
|
|
198
|
+
});
|
|
436
199
|
exports.PersonalizeEvents = PersonalizeEvents;
|
|
437
200
|
exports.PersonalizeEventsClient = PersonalizeEventsClient;
|
|
438
|
-
exports.PersonalizeEventsServiceException = PersonalizeEventsServiceException;
|
|
439
|
-
exports.PersonalizeEventsServiceException$ = PersonalizeEventsServiceException$;
|
|
440
|
-
exports.PutActionInteractions$ = PutActionInteractions$;
|
|
441
201
|
exports.PutActionInteractionsCommand = PutActionInteractionsCommand;
|
|
442
|
-
exports.PutActionInteractionsRequest$ = PutActionInteractionsRequest$;
|
|
443
|
-
exports.PutActions$ = PutActions$;
|
|
444
202
|
exports.PutActionsCommand = PutActionsCommand;
|
|
445
|
-
exports.PutActionsRequest$ = PutActionsRequest$;
|
|
446
|
-
exports.PutEvents$ = PutEvents$;
|
|
447
203
|
exports.PutEventsCommand = PutEventsCommand;
|
|
448
|
-
exports.PutEventsRequest$ = PutEventsRequest$;
|
|
449
|
-
exports.PutItems$ = PutItems$;
|
|
450
204
|
exports.PutItemsCommand = PutItemsCommand;
|
|
451
|
-
exports.PutItemsRequest$ = PutItemsRequest$;
|
|
452
|
-
exports.PutUsers$ = PutUsers$;
|
|
453
205
|
exports.PutUsersCommand = PutUsersCommand;
|
|
454
|
-
|
|
455
|
-
exports.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
206
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
207
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return schemas_0[k]; }
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
Object.keys(errors).forEach(function (k) {
|
|
213
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return errors[k]; }
|
|
216
|
+
});
|
|
217
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PersonalizeEventsServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class PersonalizeEventsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, PersonalizeEventsServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.PersonalizeEventsServiceException = PersonalizeEventsServiceException;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidInputException = void 0;
|
|
4
|
+
const PersonalizeEventsServiceException_1 = require("./PersonalizeEventsServiceException");
|
|
5
|
+
class InvalidInputException extends PersonalizeEventsServiceException_1.PersonalizeEventsServiceException {
|
|
6
|
+
name = "InvalidInputException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "InvalidInputException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.InvalidInputException = InvalidInputException;
|
|
18
|
+
class ResourceInUseException extends PersonalizeEventsServiceException_1.PersonalizeEventsServiceException {
|
|
19
|
+
name = "ResourceInUseException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ResourceInUseException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
31
|
+
class ResourceNotFoundException extends PersonalizeEventsServiceException_1.PersonalizeEventsServiceException {
|
|
32
|
+
name = "ResourceNotFoundException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ResourceNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-03-22",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.personalizeevents",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-03-22",
|
|
33
35
|
serviceTarget: "AmazonPersonalizeEvents",
|
|
34
36
|
},
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutUsers$ = exports.PutItems$ = exports.PutEvents$ = exports.PutActions$ = exports.PutActionInteractions$ = exports.User$ = exports.PutUsersRequest$ = exports.PutItemsRequest$ = exports.PutEventsRequest$ = exports.PutActionsRequest$ = exports.PutActionInteractionsRequest$ = exports.MetricAttribution$ = exports.Item$ = exports.Event$ = exports.ActionInteraction$ = exports.Action$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.InvalidInputException$ = exports.PersonalizeEventsServiceException$ = void 0;
|
|
4
|
+
const _A = "Action";
|
|
5
|
+
const _AI = "ActionId";
|
|
6
|
+
const _AIL = "ActionInteractionsList";
|
|
7
|
+
const _AIc = "ActionInteraction";
|
|
8
|
+
const _AIct = "ActionImpression";
|
|
9
|
+
const _AL = "ActionList";
|
|
10
|
+
const _E = "Event";
|
|
11
|
+
const _EL = "EventList";
|
|
12
|
+
const _I = "Item";
|
|
13
|
+
const _II = "ItemId";
|
|
14
|
+
const _IIE = "InvalidInputException";
|
|
15
|
+
const _IL = "ItemList";
|
|
16
|
+
const _Im = "Impression";
|
|
17
|
+
const _MA = "MetricAttribution";
|
|
18
|
+
const _PA = "PutActions";
|
|
19
|
+
const _PAI = "PutActionInteractions";
|
|
20
|
+
const _PAIR = "PutActionInteractionsRequest";
|
|
21
|
+
const _PAR = "PutActionsRequest";
|
|
22
|
+
const _PE = "PutEvents";
|
|
23
|
+
const _PER = "PutEventsRequest";
|
|
24
|
+
const _PI = "PutItems";
|
|
25
|
+
const _PIR = "PutItemsRequest";
|
|
26
|
+
const _PU = "PutUsers";
|
|
27
|
+
const _PUR = "PutUsersRequest";
|
|
28
|
+
const _RIUE = "ResourceInUseException";
|
|
29
|
+
const _RNFE = "ResourceNotFoundException";
|
|
30
|
+
const _SJAIP = "SynthesizedJsonActionInteractionProperties";
|
|
31
|
+
const _SJAP = "SynthesizedJsonActionProperties";
|
|
32
|
+
const _SJEPJSON = "SynthesizedJsonEventPropertiesJSON";
|
|
33
|
+
const _SJIP = "SynthesizedJsonItemProperties";
|
|
34
|
+
const _SJUP = "SynthesizedJsonUserProperties";
|
|
35
|
+
const _U = "User";
|
|
36
|
+
const _UI = "UserId";
|
|
37
|
+
const _UL = "UserList";
|
|
38
|
+
const _a = "application/json";
|
|
39
|
+
const _aI = "actionId";
|
|
40
|
+
const _aIc = "actionInteractions";
|
|
41
|
+
const _ac = "actions";
|
|
42
|
+
const _c = "client";
|
|
43
|
+
const _dA = "datasetArn";
|
|
44
|
+
const _e = "error";
|
|
45
|
+
const _eAS = "eventAttributionSource";
|
|
46
|
+
const _eI = "eventId";
|
|
47
|
+
const _eL = "eventList";
|
|
48
|
+
const _eT = "eventType";
|
|
49
|
+
const _eV = "eventValue";
|
|
50
|
+
const _h = "http";
|
|
51
|
+
const _hE = "httpError";
|
|
52
|
+
const _i = "impression";
|
|
53
|
+
const _iI = "itemId";
|
|
54
|
+
const _it = "items";
|
|
55
|
+
const _m = "message";
|
|
56
|
+
const _mA = "metricAttribution";
|
|
57
|
+
const _mT = "mediaType";
|
|
58
|
+
const _p = "properties";
|
|
59
|
+
const _rI = "recommendationId";
|
|
60
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeevents";
|
|
61
|
+
const _sA = "sentAt";
|
|
62
|
+
const _sI = "sessionId";
|
|
63
|
+
const _se = "sensitive";
|
|
64
|
+
const _t = "timestamp";
|
|
65
|
+
const _tI = "trackingId";
|
|
66
|
+
const _u = "users";
|
|
67
|
+
const _uI = "userId";
|
|
68
|
+
const n0 = "com.amazonaws.personalizeevents";
|
|
69
|
+
const schema_1 = require("@smithy/core/schema");
|
|
70
|
+
const errors_1 = require("../models/errors");
|
|
71
|
+
const PersonalizeEventsServiceException_1 = require("../models/PersonalizeEventsServiceException");
|
|
72
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
73
|
+
exports.PersonalizeEventsServiceException$ = [-3, _s, "PersonalizeEventsServiceException", 0, [], []];
|
|
74
|
+
_s_registry.registerError(exports.PersonalizeEventsServiceException$, PersonalizeEventsServiceException_1.PersonalizeEventsServiceException);
|
|
75
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
76
|
+
exports.InvalidInputException$ = [-3, n0, _IIE,
|
|
77
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
78
|
+
[_m],
|
|
79
|
+
[0]
|
|
80
|
+
];
|
|
81
|
+
n0_registry.registerError(exports.InvalidInputException$, errors_1.InvalidInputException);
|
|
82
|
+
exports.ResourceInUseException$ = [-3, n0, _RIUE,
|
|
83
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
84
|
+
[_m],
|
|
85
|
+
[0]
|
|
86
|
+
];
|
|
87
|
+
n0_registry.registerError(exports.ResourceInUseException$, errors_1.ResourceInUseException);
|
|
88
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
89
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
90
|
+
[_m],
|
|
91
|
+
[0]
|
|
92
|
+
];
|
|
93
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
94
|
+
exports.errorTypeRegistries = [
|
|
95
|
+
_s_registry,
|
|
96
|
+
n0_registry,
|
|
97
|
+
];
|
|
98
|
+
var ActionId = [0, n0, _AI, 8, 0];
|
|
99
|
+
var ItemId = [0, n0, _II, 8, 0];
|
|
100
|
+
var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
101
|
+
var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
102
|
+
var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_se]: 1 }, 0];
|
|
103
|
+
var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
104
|
+
var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
105
|
+
var UserId = [0, n0, _UI, 8, 0];
|
|
106
|
+
exports.Action$ = [3, n0, _A,
|
|
107
|
+
0,
|
|
108
|
+
[_aI, _p],
|
|
109
|
+
[0, [() => SynthesizedJsonActionProperties, 0]], 1
|
|
110
|
+
];
|
|
111
|
+
exports.ActionInteraction$ = [3, n0, _AIc,
|
|
112
|
+
0,
|
|
113
|
+
[_aI, _sI, _t, _eT, _uI, _eI, _rI, _i, _p],
|
|
114
|
+
[[() => ActionId, 0], 0, 4, 0, [() => UserId, 0], 0, 0, [() => ActionImpression, 0], [() => SynthesizedJsonActionInteractionProperties, 0]], 4
|
|
115
|
+
];
|
|
116
|
+
exports.Event$ = [3, n0, _E,
|
|
117
|
+
8,
|
|
118
|
+
[_eT, _sA, _eI, _eV, _iI, _p, _rI, _i, _mA],
|
|
119
|
+
[0, 4, 0, 1, [() => ItemId, 0], [() => SynthesizedJsonEventPropertiesJSON, 0], 0, [() => Impression, 0], () => exports.MetricAttribution$], 2
|
|
120
|
+
];
|
|
121
|
+
exports.Item$ = [3, n0, _I,
|
|
122
|
+
0,
|
|
123
|
+
[_iI, _p],
|
|
124
|
+
[0, [() => SynthesizedJsonItemProperties, 0]], 1
|
|
125
|
+
];
|
|
126
|
+
exports.MetricAttribution$ = [3, n0, _MA,
|
|
127
|
+
0,
|
|
128
|
+
[_eAS],
|
|
129
|
+
[0], 1
|
|
130
|
+
];
|
|
131
|
+
exports.PutActionInteractionsRequest$ = [3, n0, _PAIR,
|
|
132
|
+
0,
|
|
133
|
+
[_tI, _aIc],
|
|
134
|
+
[0, [() => ActionInteractionsList, 0]], 2
|
|
135
|
+
];
|
|
136
|
+
exports.PutActionsRequest$ = [3, n0, _PAR,
|
|
137
|
+
0,
|
|
138
|
+
[_dA, _ac],
|
|
139
|
+
[0, [() => ActionList, 0]], 2
|
|
140
|
+
];
|
|
141
|
+
exports.PutEventsRequest$ = [3, n0, _PER,
|
|
142
|
+
0,
|
|
143
|
+
[_tI, _sI, _eL, _uI],
|
|
144
|
+
[0, 0, [() => EventList, 0], [() => UserId, 0]], 3
|
|
145
|
+
];
|
|
146
|
+
exports.PutItemsRequest$ = [3, n0, _PIR,
|
|
147
|
+
0,
|
|
148
|
+
[_dA, _it],
|
|
149
|
+
[0, [() => ItemList, 0]], 2
|
|
150
|
+
];
|
|
151
|
+
exports.PutUsersRequest$ = [3, n0, _PUR,
|
|
152
|
+
0,
|
|
153
|
+
[_dA, _u],
|
|
154
|
+
[0, [() => UserList, 0]], 2
|
|
155
|
+
];
|
|
156
|
+
exports.User$ = [3, n0, _U,
|
|
157
|
+
0,
|
|
158
|
+
[_uI, _p],
|
|
159
|
+
[0, [() => SynthesizedJsonUserProperties, 0]], 1
|
|
160
|
+
];
|
|
161
|
+
var __Unit = "unit";
|
|
162
|
+
var ActionImpression = [1, n0, _AIct,
|
|
163
|
+
0, [() => ActionId,
|
|
164
|
+
0]
|
|
165
|
+
];
|
|
166
|
+
var ActionInteractionsList = [1, n0, _AIL,
|
|
167
|
+
0, [() => exports.ActionInteraction$,
|
|
168
|
+
0]
|
|
169
|
+
];
|
|
170
|
+
var ActionList = [1, n0, _AL,
|
|
171
|
+
0, [() => exports.Action$,
|
|
172
|
+
0]
|
|
173
|
+
];
|
|
174
|
+
var EventList = [1, n0, _EL,
|
|
175
|
+
0, [() => exports.Event$,
|
|
176
|
+
0]
|
|
177
|
+
];
|
|
178
|
+
var Impression = [1, n0, _Im,
|
|
179
|
+
0, [() => ItemId,
|
|
180
|
+
0]
|
|
181
|
+
];
|
|
182
|
+
var ItemList = [1, n0, _IL,
|
|
183
|
+
0, [() => exports.Item$,
|
|
184
|
+
0]
|
|
185
|
+
];
|
|
186
|
+
var UserList = [1, n0, _UL,
|
|
187
|
+
0, [() => exports.User$,
|
|
188
|
+
0]
|
|
189
|
+
];
|
|
190
|
+
exports.PutActionInteractions$ = [9, n0, _PAI,
|
|
191
|
+
{ [_h]: ["POST", "/action-interactions", 200] }, () => exports.PutActionInteractionsRequest$, () => __Unit
|
|
192
|
+
];
|
|
193
|
+
exports.PutActions$ = [9, n0, _PA,
|
|
194
|
+
{ [_h]: ["POST", "/actions", 200] }, () => exports.PutActionsRequest$, () => __Unit
|
|
195
|
+
];
|
|
196
|
+
exports.PutEvents$ = [9, n0, _PE,
|
|
197
|
+
{ [_h]: ["POST", "/events", 200] }, () => exports.PutEventsRequest$, () => __Unit
|
|
198
|
+
];
|
|
199
|
+
exports.PutItems$ = [9, n0, _PI,
|
|
200
|
+
{ [_h]: ["POST", "/items", 200] }, () => exports.PutItemsRequest$, () => __Unit
|
|
201
|
+
];
|
|
202
|
+
exports.PutUsers$ = [9, n0, _PU,
|
|
203
|
+
{ [_h]: ["POST", "/users", 200] }, () => exports.PutUsersRequest$, () => __Unit
|
|
204
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultPersonalizeEventsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-03-22",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.personalizeevents",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-03-22",
|
|
30
32
|
serviceTarget: "AmazonPersonalizeEvents",
|
|
31
33
|
},
|
|
@@ -54,10 +54,10 @@ const _mA = "metricAttribution";
|
|
|
54
54
|
const _mT = "mediaType";
|
|
55
55
|
const _p = "properties";
|
|
56
56
|
const _rI = "recommendationId";
|
|
57
|
-
const _s = "
|
|
57
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeevents";
|
|
58
58
|
const _sA = "sentAt";
|
|
59
59
|
const _sI = "sessionId";
|
|
60
|
-
const
|
|
60
|
+
const _se = "sensitive";
|
|
61
61
|
const _t = "timestamp";
|
|
62
62
|
const _tI = "trackingId";
|
|
63
63
|
const _u = "users";
|
|
@@ -66,13 +66,39 @@ const n0 = "com.amazonaws.personalizeevents";
|
|
|
66
66
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
67
67
|
import { InvalidInputException, ResourceInUseException, ResourceNotFoundException } from "../models/errors";
|
|
68
68
|
import { PersonalizeEventsServiceException } from "../models/PersonalizeEventsServiceException";
|
|
69
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
70
|
+
export var PersonalizeEventsServiceException$ = [-3, _s, "PersonalizeEventsServiceException", 0, [], []];
|
|
71
|
+
_s_registry.registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
|
|
72
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
73
|
+
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
74
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
75
|
+
[_m],
|
|
76
|
+
[0]
|
|
77
|
+
];
|
|
78
|
+
n0_registry.registerError(InvalidInputException$, InvalidInputException);
|
|
79
|
+
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
80
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
81
|
+
[_m],
|
|
82
|
+
[0]
|
|
83
|
+
];
|
|
84
|
+
n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
|
|
85
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
86
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
87
|
+
[_m],
|
|
88
|
+
[0]
|
|
89
|
+
];
|
|
90
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
91
|
+
export const errorTypeRegistries = [
|
|
92
|
+
_s_registry,
|
|
93
|
+
n0_registry,
|
|
94
|
+
];
|
|
69
95
|
var ActionId = [0, n0, _AI, 8, 0];
|
|
70
96
|
var ItemId = [0, n0, _II, 8, 0];
|
|
71
|
-
var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [
|
|
72
|
-
var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [
|
|
73
|
-
var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [
|
|
74
|
-
var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [
|
|
75
|
-
var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [
|
|
97
|
+
var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
98
|
+
var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
99
|
+
var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_se]: 1 }, 0];
|
|
100
|
+
var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
101
|
+
var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_se]: 1 }, 0];
|
|
76
102
|
var UserId = [0, n0, _UI, 8, 0];
|
|
77
103
|
export var Action$ = [3, n0, _A,
|
|
78
104
|
0,
|
|
@@ -89,12 +115,6 @@ export var Event$ = [3, n0, _E,
|
|
|
89
115
|
[_eT, _sA, _eI, _eV, _iI, _p, _rI, _i, _mA],
|
|
90
116
|
[0, 4, 0, 1, [() => ItemId, 0], [() => SynthesizedJsonEventPropertiesJSON, 0], 0, [() => Impression, 0], () => MetricAttribution$], 2
|
|
91
117
|
];
|
|
92
|
-
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
93
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
94
|
-
[_m],
|
|
95
|
-
[0]
|
|
96
|
-
];
|
|
97
|
-
TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
98
118
|
export var Item$ = [3, n0, _I,
|
|
99
119
|
0,
|
|
100
120
|
[_iI, _p],
|
|
@@ -130,26 +150,12 @@ export var PutUsersRequest$ = [3, n0, _PUR,
|
|
|
130
150
|
[_dA, _u],
|
|
131
151
|
[0, [() => UserList, 0]], 2
|
|
132
152
|
];
|
|
133
|
-
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
134
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
135
|
-
[_m],
|
|
136
|
-
[0]
|
|
137
|
-
];
|
|
138
|
-
TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
139
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
140
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
141
|
-
[_m],
|
|
142
|
-
[0]
|
|
143
|
-
];
|
|
144
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
145
153
|
export var User$ = [3, n0, _U,
|
|
146
154
|
0,
|
|
147
155
|
[_uI, _p],
|
|
148
156
|
[0, [() => SynthesizedJsonUserProperties, 0]], 1
|
|
149
157
|
];
|
|
150
158
|
var __Unit = "unit";
|
|
151
|
-
export var PersonalizeEventsServiceException$ = [-3, _sm, "PersonalizeEventsServiceException", 0, [], []];
|
|
152
|
-
TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
|
|
153
159
|
var ActionImpression = [1, n0, _AIct,
|
|
154
160
|
0, [() => ActionId,
|
|
155
161
|
0]
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
5
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
/**
|
|
8
|
+
* TypeRegistry instances containing modeled errors.
|
|
9
|
+
* @internal
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
13
|
export declare var Action$: StaticStructureSchema;
|
|
3
14
|
export declare var ActionInteraction$: StaticStructureSchema;
|
|
4
15
|
export declare var Event$: StaticStructureSchema;
|
|
5
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
6
16
|
export declare var Item$: StaticStructureSchema;
|
|
7
17
|
export declare var MetricAttribution$: StaticStructureSchema;
|
|
8
18
|
export declare var PutActionInteractionsRequest$: StaticStructureSchema;
|
|
@@ -10,10 +20,7 @@ export declare var PutActionsRequest$: StaticStructureSchema;
|
|
|
10
20
|
export declare var PutEventsRequest$: StaticStructureSchema;
|
|
11
21
|
export declare var PutItemsRequest$: StaticStructureSchema;
|
|
12
22
|
export declare var PutUsersRequest$: StaticStructureSchema;
|
|
13
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
14
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
15
23
|
export declare var User$: StaticStructureSchema;
|
|
16
|
-
export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
|
|
17
24
|
export declare var PutActionInteractions$: StaticOperationSchema;
|
|
18
25
|
export declare var PutActions$: StaticOperationSchema;
|
|
19
26
|
export declare var PutEvents$: StaticOperationSchema;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
9
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
10
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
12
|
export declare var Action$: StaticStructureSchema;
|
|
7
13
|
export declare var ActionInteraction$: StaticStructureSchema;
|
|
8
14
|
export declare var Event$: StaticStructureSchema;
|
|
9
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
10
15
|
export declare var Item$: StaticStructureSchema;
|
|
11
16
|
export declare var MetricAttribution$: StaticStructureSchema;
|
|
12
17
|
export declare var PutActionInteractionsRequest$: StaticStructureSchema;
|
|
@@ -14,10 +19,7 @@ export declare var PutActionsRequest$: StaticStructureSchema;
|
|
|
14
19
|
export declare var PutEventsRequest$: StaticStructureSchema;
|
|
15
20
|
export declare var PutItemsRequest$: StaticStructureSchema;
|
|
16
21
|
export declare var PutUsersRequest$: StaticStructureSchema;
|
|
17
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
18
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
19
22
|
export declare var User$: StaticStructureSchema;
|
|
20
|
-
export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
|
|
21
23
|
export declare var PutActionInteractions$: StaticOperationSchema;
|
|
22
24
|
export declare var PutActions$: StaticOperationSchema;
|
|
23
25
|
export declare var PutEvents$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-personalize-events",
|
|
3
3
|
"description": "AWS SDK for JavaScript Personalize Events Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-personalize-events",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|