@aws-sdk/client-personalize-events 3.948.0 → 3.953.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 CHANGED
@@ -110,14 +110,14 @@ class PersonalizeEventsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let PersonalizeEventsServiceException$1 = class PersonalizeEventsServiceException extends smithyClient.ServiceException {
113
+ class PersonalizeEventsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, PersonalizeEventsServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let InvalidInputException$1 = class InvalidInputException extends PersonalizeEventsServiceException$1 {
120
+ class InvalidInputException extends PersonalizeEventsServiceException {
121
121
  name = "InvalidInputException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let InvalidInputException$1 = class InvalidInputException extends PersonalizeEve
128
128
  });
129
129
  Object.setPrototypeOf(this, InvalidInputException.prototype);
130
130
  }
131
- };
132
- let ResourceInUseException$1 = class ResourceInUseException extends PersonalizeEventsServiceException$1 {
131
+ }
132
+ class ResourceInUseException extends PersonalizeEventsServiceException {
133
133
  name = "ResourceInUseException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let ResourceInUseException$1 = class ResourceInUseException extends PersonalizeE
140
140
  });
141
141
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
142
142
  }
143
- };
144
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends PersonalizeEventsServiceException$1 {
143
+ }
144
+ class ResourceNotFoundException extends PersonalizeEventsServiceException {
145
145
  name = "ResourceNotFoundException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,7 +152,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Person
152
152
  });
153
153
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
154
154
  }
155
- };
155
+ }
156
156
 
157
157
  const _A = "Action";
158
158
  const _AI = "ActionId";
@@ -227,8 +227,8 @@ var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_s]: 1
227
227
  var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_s]: 1 }, 0];
228
228
  var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_s]: 1 }, 0];
229
229
  var UserId = [0, n0, _UI, 8, 0];
230
- var Action = [3, n0, _A, 0, [_aI, _p], [0, [() => SynthesizedJsonActionProperties, 0]]];
231
- var ActionInteraction = [
230
+ var Action$ = [3, n0, _A, 0, [_aI, _p], [0, [() => SynthesizedJsonActionProperties, 0]]];
231
+ var ActionInteraction$ = [
232
232
  3,
233
233
  n0,
234
234
  _AIc,
@@ -246,7 +246,7 @@ var ActionInteraction = [
246
246
  [() => SynthesizedJsonActionInteractionProperties, 0],
247
247
  ],
248
248
  ];
249
- var Event = [
249
+ var Event$ = [
250
250
  3,
251
251
  n0,
252
252
  _E,
@@ -261,14 +261,14 @@ var Event = [
261
261
  4,
262
262
  0,
263
263
  [() => Impression, 0],
264
- () => MetricAttribution,
264
+ () => MetricAttribution$,
265
265
  ],
266
266
  ];
267
- var InvalidInputException = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
268
- schema.TypeRegistry.for(n0).registerError(InvalidInputException, InvalidInputException$1);
269
- var Item = [3, n0, _I, 0, [_iI, _p], [0, [() => SynthesizedJsonItemProperties, 0]]];
270
- var MetricAttribution = [3, n0, _MA, 0, [_eAS], [0]];
271
- var PutActionInteractionsRequest = [
267
+ var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
268
+ schema.TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
269
+ var Item$ = [3, n0, _I, 0, [_iI, _p], [0, [() => SynthesizedJsonItemProperties, 0]]];
270
+ var MetricAttribution$ = [3, n0, _MA, 0, [_eAS], [0]];
271
+ var PutActionInteractionsRequest$ = [
272
272
  3,
273
273
  n0,
274
274
  _PAIR,
@@ -276,8 +276,8 @@ var PutActionInteractionsRequest = [
276
276
  [_tI, _aIc],
277
277
  [0, [() => ActionInteractionsList, 0]],
278
278
  ];
279
- var PutActionsRequest = [3, n0, _PAR, 0, [_dA, _ac], [0, [() => ActionList, 0]]];
280
- var PutEventsRequest = [
279
+ var PutActionsRequest$ = [3, n0, _PAR, 0, [_dA, _ac], [0, [() => ActionList, 0]]];
280
+ var PutEventsRequest$ = [
281
281
  3,
282
282
  n0,
283
283
  _PER,
@@ -285,15 +285,15 @@ var PutEventsRequest = [
285
285
  [_tI, _uI, _sI, _eL],
286
286
  [0, [() => UserId, 0], 0, [() => EventList, 0]],
287
287
  ];
288
- var PutItemsRequest = [3, n0, _PIR, 0, [_dA, _it], [0, [() => ItemList, 0]]];
289
- var PutUsersRequest = [3, n0, _PUR, 0, [_dA, _u], [0, [() => UserList, 0]]];
290
- var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
291
- schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
292
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
293
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
294
- var User = [3, n0, _U, 0, [_uI, _p], [0, [() => SynthesizedJsonUserProperties, 0]]];
288
+ var PutItemsRequest$ = [3, n0, _PIR, 0, [_dA, _it], [0, [() => ItemList, 0]]];
289
+ var PutUsersRequest$ = [3, n0, _PUR, 0, [_dA, _u], [0, [() => UserList, 0]]];
290
+ var ResourceInUseException$ = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
291
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
292
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
293
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
294
+ var User$ = [3, n0, _U, 0, [_uI, _p], [0, [() => SynthesizedJsonUserProperties, 0]]];
295
295
  var __Unit = "unit";
296
- var PersonalizeEventsServiceException = [
296
+ var PersonalizeEventsServiceException$ = [
297
297
  -3,
298
298
  _sm,
299
299
  "PersonalizeEventsServiceException",
@@ -301,52 +301,52 @@ var PersonalizeEventsServiceException = [
301
301
  [],
302
302
  [],
303
303
  ];
304
- schema.TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException, PersonalizeEventsServiceException$1);
304
+ schema.TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
305
305
  var ActionImpression = [1, n0, _AIct, 0, [() => ActionId, 0]];
306
- var ActionInteractionsList = [1, n0, _AIL, 0, [() => ActionInteraction, 0]];
307
- var ActionList = [1, n0, _AL, 0, [() => Action, 0]];
308
- var EventList = [1, n0, _EL, 0, [() => Event, 0]];
306
+ var ActionInteractionsList = [1, n0, _AIL, 0, [() => ActionInteraction$, 0]];
307
+ var ActionList = [1, n0, _AL, 0, [() => Action$, 0]];
308
+ var EventList = [1, n0, _EL, 0, [() => Event$, 0]];
309
309
  var Impression = [1, n0, _Im, 0, [() => ItemId, 0]];
310
- var ItemList = [1, n0, _IL, 0, [() => Item, 0]];
311
- var UserList = [1, n0, _UL, 0, [() => User, 0]];
312
- var PutActionInteractions = [
310
+ var ItemList = [1, n0, _IL, 0, [() => Item$, 0]];
311
+ var UserList = [1, n0, _UL, 0, [() => User$, 0]];
312
+ var PutActionInteractions$ = [
313
313
  9,
314
314
  n0,
315
315
  _PAI,
316
316
  { [_h]: ["POST", "/action-interactions", 200] },
317
- () => PutActionInteractionsRequest,
317
+ () => PutActionInteractionsRequest$,
318
318
  () => __Unit,
319
319
  ];
320
- var PutActions = [
320
+ var PutActions$ = [
321
321
  9,
322
322
  n0,
323
323
  _PA,
324
324
  { [_h]: ["POST", "/actions", 200] },
325
- () => PutActionsRequest,
325
+ () => PutActionsRequest$,
326
326
  () => __Unit,
327
327
  ];
328
- var PutEvents = [
328
+ var PutEvents$ = [
329
329
  9,
330
330
  n0,
331
331
  _PE,
332
332
  { [_h]: ["POST", "/events", 200] },
333
- () => PutEventsRequest,
333
+ () => PutEventsRequest$,
334
334
  () => __Unit,
335
335
  ];
336
- var PutItems = [
336
+ var PutItems$ = [
337
337
  9,
338
338
  n0,
339
339
  _PI,
340
340
  { [_h]: ["POST", "/items", 200] },
341
- () => PutItemsRequest,
341
+ () => PutItemsRequest$,
342
342
  () => __Unit,
343
343
  ];
344
- var PutUsers = [
344
+ var PutUsers$ = [
345
345
  9,
346
346
  n0,
347
347
  _PU,
348
348
  { [_h]: ["POST", "/users", 200] },
349
- () => PutUsersRequest,
349
+ () => PutUsersRequest$,
350
350
  () => __Unit,
351
351
  ];
352
352
 
@@ -358,7 +358,7 @@ class PutActionInteractionsCommand extends smithyClient.Command
358
358
  })
359
359
  .s("AmazonPersonalizeEvents", "PutActionInteractions", {})
360
360
  .n("PersonalizeEventsClient", "PutActionInteractionsCommand")
361
- .sc(PutActionInteractions)
361
+ .sc(PutActionInteractions$)
362
362
  .build() {
363
363
  }
364
364
 
@@ -370,7 +370,7 @@ class PutActionsCommand extends smithyClient.Command
370
370
  })
371
371
  .s("AmazonPersonalizeEvents", "PutActions", {})
372
372
  .n("PersonalizeEventsClient", "PutActionsCommand")
373
- .sc(PutActions)
373
+ .sc(PutActions$)
374
374
  .build() {
375
375
  }
376
376
 
@@ -382,7 +382,7 @@ class PutEventsCommand extends smithyClient.Command
382
382
  })
383
383
  .s("AmazonPersonalizeEvents", "PutEvents", {})
384
384
  .n("PersonalizeEventsClient", "PutEventsCommand")
385
- .sc(PutEvents)
385
+ .sc(PutEvents$)
386
386
  .build() {
387
387
  }
388
388
 
@@ -394,7 +394,7 @@ class PutItemsCommand extends smithyClient.Command
394
394
  })
395
395
  .s("AmazonPersonalizeEvents", "PutItems", {})
396
396
  .n("PersonalizeEventsClient", "PutItemsCommand")
397
- .sc(PutItems)
397
+ .sc(PutItems$)
398
398
  .build() {
399
399
  }
400
400
 
@@ -406,7 +406,7 @@ class PutUsersCommand extends smithyClient.Command
406
406
  })
407
407
  .s("AmazonPersonalizeEvents", "PutUsers", {})
408
408
  .n("PersonalizeEventsClient", "PutUsersCommand")
409
- .sc(PutUsers)
409
+ .sc(PutUsers$)
410
410
  .build() {
411
411
  }
412
412
 
@@ -429,14 +429,34 @@ Object.defineProperty(exports, "__Client", {
429
429
  enumerable: true,
430
430
  get: function () { return smithyClient.Client; }
431
431
  });
432
- exports.InvalidInputException = InvalidInputException$1;
432
+ exports.Action$ = Action$;
433
+ exports.ActionInteraction$ = ActionInteraction$;
434
+ exports.Event$ = Event$;
435
+ exports.InvalidInputException = InvalidInputException;
436
+ exports.InvalidInputException$ = InvalidInputException$;
437
+ exports.Item$ = Item$;
438
+ exports.MetricAttribution$ = MetricAttribution$;
433
439
  exports.PersonalizeEvents = PersonalizeEvents;
434
440
  exports.PersonalizeEventsClient = PersonalizeEventsClient;
435
- exports.PersonalizeEventsServiceException = PersonalizeEventsServiceException$1;
441
+ exports.PersonalizeEventsServiceException = PersonalizeEventsServiceException;
442
+ exports.PersonalizeEventsServiceException$ = PersonalizeEventsServiceException$;
443
+ exports.PutActionInteractions$ = PutActionInteractions$;
436
444
  exports.PutActionInteractionsCommand = PutActionInteractionsCommand;
445
+ exports.PutActionInteractionsRequest$ = PutActionInteractionsRequest$;
446
+ exports.PutActions$ = PutActions$;
437
447
  exports.PutActionsCommand = PutActionsCommand;
448
+ exports.PutActionsRequest$ = PutActionsRequest$;
449
+ exports.PutEvents$ = PutEvents$;
438
450
  exports.PutEventsCommand = PutEventsCommand;
451
+ exports.PutEventsRequest$ = PutEventsRequest$;
452
+ exports.PutItems$ = PutItems$;
439
453
  exports.PutItemsCommand = PutItemsCommand;
454
+ exports.PutItemsRequest$ = PutItemsRequest$;
455
+ exports.PutUsers$ = PutUsers$;
440
456
  exports.PutUsersCommand = PutUsersCommand;
441
- exports.ResourceInUseException = ResourceInUseException$1;
442
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
457
+ exports.PutUsersRequest$ = PutUsersRequest$;
458
+ exports.ResourceInUseException = ResourceInUseException;
459
+ exports.ResourceInUseException$ = ResourceInUseException$;
460
+ exports.ResourceNotFoundException = ResourceNotFoundException;
461
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
462
+ exports.User$ = User$;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.personalizeevents" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.personalizeevents",
32
+ version: "2018-03-22",
33
+ serviceTarget: "AmazonPersonalizeEvents",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Personalize Events",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutActionInteractions } from "../schemas/schemas_0";
4
+ import { PutActionInteractions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutActionInteractionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutActionInteractionsCommand extends $Command
11
11
  })
12
12
  .s("AmazonPersonalizeEvents", "PutActionInteractions", {})
13
13
  .n("PersonalizeEventsClient", "PutActionInteractionsCommand")
14
- .sc(PutActionInteractions)
14
+ .sc(PutActionInteractions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutActions } from "../schemas/schemas_0";
4
+ import { PutActions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutActionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutActionsCommand extends $Command
11
11
  })
12
12
  .s("AmazonPersonalizeEvents", "PutActions", {})
13
13
  .n("PersonalizeEventsClient", "PutActionsCommand")
14
- .sc(PutActions)
14
+ .sc(PutActions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutEvents } from "../schemas/schemas_0";
4
+ import { PutEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutEventsCommand extends $Command
11
11
  })
12
12
  .s("AmazonPersonalizeEvents", "PutEvents", {})
13
13
  .n("PersonalizeEventsClient", "PutEventsCommand")
14
- .sc(PutEvents)
14
+ .sc(PutEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutItems } from "../schemas/schemas_0";
4
+ import { PutItems$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutItemsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutItemsCommand extends $Command
11
11
  })
12
12
  .s("AmazonPersonalizeEvents", "PutItems", {})
13
13
  .n("PersonalizeEventsClient", "PutItemsCommand")
14
- .sc(PutItems)
14
+ .sc(PutItems$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutUsers } from "../schemas/schemas_0";
4
+ import { PutUsers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutUsersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutUsersCommand extends $Command
11
11
  })
12
12
  .s("AmazonPersonalizeEvents", "PutUsers", {})
13
13
  .n("PersonalizeEventsClient", "PutUsersCommand")
14
- .sc(PutUsers)
14
+ .sc(PutUsers$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./PersonalizeEventsClient";
2
2
  export * from "./PersonalizeEvents";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/errors";
5
6
  export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.personalizeevents" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.personalizeevents",
29
+ version: "2018-03-22",
30
+ serviceTarget: "AmazonPersonalizeEvents",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Personalize Events",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -64,18 +64,18 @@ const _u = "users";
64
64
  const _uI = "userId";
65
65
  const n0 = "com.amazonaws.personalizeevents";
66
66
  import { TypeRegistry } from "@smithy/core/schema";
67
- import { InvalidInputException as __InvalidInputException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
68
- import { PersonalizeEventsServiceException as __PersonalizeEventsServiceException } from "../models/PersonalizeEventsServiceException";
69
- export var ActionId = [0, n0, _AI, 8, 0];
70
- export var ItemId = [0, n0, _II, 8, 0];
71
- export var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [_s]: 1 }, 0];
72
- export var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [_s]: 1 }, 0];
73
- export var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_s]: 1 }, 0];
74
- export var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_s]: 1 }, 0];
75
- export var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_s]: 1 }, 0];
76
- export var UserId = [0, n0, _UI, 8, 0];
77
- export var Action = [3, n0, _A, 0, [_aI, _p], [0, [() => SynthesizedJsonActionProperties, 0]]];
78
- export var ActionInteraction = [
67
+ import { InvalidInputException, ResourceInUseException, ResourceNotFoundException } from "../models/errors";
68
+ import { PersonalizeEventsServiceException } from "../models/PersonalizeEventsServiceException";
69
+ var ActionId = [0, n0, _AI, 8, 0];
70
+ var ItemId = [0, n0, _II, 8, 0];
71
+ var SynthesizedJsonActionInteractionProperties = [0, n0, _SJAIP, { [_mT]: _a, [_s]: 1 }, 0];
72
+ var SynthesizedJsonActionProperties = [0, n0, _SJAP, { [_mT]: _a, [_s]: 1 }, 0];
73
+ var SynthesizedJsonEventPropertiesJSON = [0, n0, _SJEPJSON, { [_mT]: _a, [_s]: 1 }, 0];
74
+ var SynthesizedJsonItemProperties = [0, n0, _SJIP, { [_mT]: _a, [_s]: 1 }, 0];
75
+ var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a, [_s]: 1 }, 0];
76
+ var UserId = [0, n0, _UI, 8, 0];
77
+ export var Action$ = [3, n0, _A, 0, [_aI, _p], [0, [() => SynthesizedJsonActionProperties, 0]]];
78
+ export var ActionInteraction$ = [
79
79
  3,
80
80
  n0,
81
81
  _AIc,
@@ -93,7 +93,7 @@ export var ActionInteraction = [
93
93
  [() => SynthesizedJsonActionInteractionProperties, 0],
94
94
  ],
95
95
  ];
96
- export var Event = [
96
+ export var Event$ = [
97
97
  3,
98
98
  n0,
99
99
  _E,
@@ -108,14 +108,14 @@ export var Event = [
108
108
  4,
109
109
  0,
110
110
  [() => Impression, 0],
111
- () => MetricAttribution,
111
+ () => MetricAttribution$,
112
112
  ],
113
113
  ];
114
- export var InvalidInputException = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
115
- TypeRegistry.for(n0).registerError(InvalidInputException, __InvalidInputException);
116
- export var Item = [3, n0, _I, 0, [_iI, _p], [0, [() => SynthesizedJsonItemProperties, 0]]];
117
- export var MetricAttribution = [3, n0, _MA, 0, [_eAS], [0]];
118
- export var PutActionInteractionsRequest = [
114
+ export var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
115
+ TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
116
+ export var Item$ = [3, n0, _I, 0, [_iI, _p], [0, [() => SynthesizedJsonItemProperties, 0]]];
117
+ export var MetricAttribution$ = [3, n0, _MA, 0, [_eAS], [0]];
118
+ export var PutActionInteractionsRequest$ = [
119
119
  3,
120
120
  n0,
121
121
  _PAIR,
@@ -123,8 +123,8 @@ export var PutActionInteractionsRequest = [
123
123
  [_tI, _aIc],
124
124
  [0, [() => ActionInteractionsList, 0]],
125
125
  ];
126
- export var PutActionsRequest = [3, n0, _PAR, 0, [_dA, _ac], [0, [() => ActionList, 0]]];
127
- export var PutEventsRequest = [
126
+ export var PutActionsRequest$ = [3, n0, _PAR, 0, [_dA, _ac], [0, [() => ActionList, 0]]];
127
+ export var PutEventsRequest$ = [
128
128
  3,
129
129
  n0,
130
130
  _PER,
@@ -132,15 +132,15 @@ export var PutEventsRequest = [
132
132
  [_tI, _uI, _sI, _eL],
133
133
  [0, [() => UserId, 0], 0, [() => EventList, 0]],
134
134
  ];
135
- export var PutItemsRequest = [3, n0, _PIR, 0, [_dA, _it], [0, [() => ItemList, 0]]];
136
- export var PutUsersRequest = [3, n0, _PUR, 0, [_dA, _u], [0, [() => UserList, 0]]];
137
- export var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
138
- TypeRegistry.for(n0).registerError(ResourceInUseException, __ResourceInUseException);
139
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
140
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
141
- export var User = [3, n0, _U, 0, [_uI, _p], [0, [() => SynthesizedJsonUserProperties, 0]]];
142
- export var __Unit = "unit";
143
- export var PersonalizeEventsServiceException = [
135
+ export var PutItemsRequest$ = [3, n0, _PIR, 0, [_dA, _it], [0, [() => ItemList, 0]]];
136
+ export var PutUsersRequest$ = [3, n0, _PUR, 0, [_dA, _u], [0, [() => UserList, 0]]];
137
+ export var ResourceInUseException$ = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
138
+ TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
139
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
140
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
141
+ export var User$ = [3, n0, _U, 0, [_uI, _p], [0, [() => SynthesizedJsonUserProperties, 0]]];
142
+ var __Unit = "unit";
143
+ export var PersonalizeEventsServiceException$ = [
144
144
  -3,
145
145
  _sm,
146
146
  "PersonalizeEventsServiceException",
@@ -148,51 +148,51 @@ export var PersonalizeEventsServiceException = [
148
148
  [],
149
149
  [],
150
150
  ];
151
- TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException, __PersonalizeEventsServiceException);
152
- export var ActionImpression = [1, n0, _AIct, 0, [() => ActionId, 0]];
153
- export var ActionInteractionsList = [1, n0, _AIL, 0, [() => ActionInteraction, 0]];
154
- export var ActionList = [1, n0, _AL, 0, [() => Action, 0]];
155
- export var EventList = [1, n0, _EL, 0, [() => Event, 0]];
156
- export var Impression = [1, n0, _Im, 0, [() => ItemId, 0]];
157
- export var ItemList = [1, n0, _IL, 0, [() => Item, 0]];
158
- export var UserList = [1, n0, _UL, 0, [() => User, 0]];
159
- export var PutActionInteractions = [
151
+ TypeRegistry.for(_sm).registerError(PersonalizeEventsServiceException$, PersonalizeEventsServiceException);
152
+ var ActionImpression = [1, n0, _AIct, 0, [() => ActionId, 0]];
153
+ var ActionInteractionsList = [1, n0, _AIL, 0, [() => ActionInteraction$, 0]];
154
+ var ActionList = [1, n0, _AL, 0, [() => Action$, 0]];
155
+ var EventList = [1, n0, _EL, 0, [() => Event$, 0]];
156
+ var Impression = [1, n0, _Im, 0, [() => ItemId, 0]];
157
+ var ItemList = [1, n0, _IL, 0, [() => Item$, 0]];
158
+ var UserList = [1, n0, _UL, 0, [() => User$, 0]];
159
+ export var PutActionInteractions$ = [
160
160
  9,
161
161
  n0,
162
162
  _PAI,
163
163
  { [_h]: ["POST", "/action-interactions", 200] },
164
- () => PutActionInteractionsRequest,
164
+ () => PutActionInteractionsRequest$,
165
165
  () => __Unit,
166
166
  ];
167
- export var PutActions = [
167
+ export var PutActions$ = [
168
168
  9,
169
169
  n0,
170
170
  _PA,
171
171
  { [_h]: ["POST", "/actions", 200] },
172
- () => PutActionsRequest,
172
+ () => PutActionsRequest$,
173
173
  () => __Unit,
174
174
  ];
175
- export var PutEvents = [
175
+ export var PutEvents$ = [
176
176
  9,
177
177
  n0,
178
178
  _PE,
179
179
  { [_h]: ["POST", "/events", 200] },
180
- () => PutEventsRequest,
180
+ () => PutEventsRequest$,
181
181
  () => __Unit,
182
182
  ];
183
- export var PutItems = [
183
+ export var PutItems$ = [
184
184
  9,
185
185
  n0,
186
186
  _PI,
187
187
  { [_h]: ["POST", "/items", 200] },
188
- () => PutItemsRequest,
188
+ () => PutItemsRequest$,
189
189
  () => __Unit,
190
190
  ];
191
- export var PutUsers = [
191
+ export var PutUsers$ = [
192
192
  9,
193
193
  n0,
194
194
  _PU,
195
195
  { [_h]: ["POST", "/users", 200] },
196
- () => PutUsersRequest,
196
+ () => PutUsersRequest$,
197
197
  () => __Unit,
198
198
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput } from "./commands/PutActionInteractionsCommand";
11
11
  import { PutActionsCommandInput, PutActionsCommandOutput } from "./commands/PutActionsCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -11,6 +11,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
11
11
  export type { RuntimeExtension } from "./runtimeExtensions";
12
12
  export type { PersonalizeEventsExtensionConfiguration } from "./extensionConfiguration";
13
13
  export * from "./commands";
14
+ export * from "./schemas/schemas_0";
14
15
  export * from "./models/errors";
15
16
  export type * from "./models/models_0";
16
17
  export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { PersonalizeEventsClientConfig } from "./PersonalizeEventsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PersonalizeEventsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,37 +1,21 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var ActionId: StaticSimpleSchema;
3
- export declare var ItemId: StaticSimpleSchema;
4
- export declare var SynthesizedJsonActionInteractionProperties: StaticSimpleSchema;
5
- export declare var SynthesizedJsonActionProperties: StaticSimpleSchema;
6
- export declare var SynthesizedJsonEventPropertiesJSON: StaticSimpleSchema;
7
- export declare var SynthesizedJsonItemProperties: StaticSimpleSchema;
8
- export declare var SynthesizedJsonUserProperties: StaticSimpleSchema;
9
- export declare var UserId: StaticSimpleSchema;
10
- export declare var Action: StaticStructureSchema;
11
- export declare var ActionInteraction: StaticStructureSchema;
12
- export declare var Event: StaticStructureSchema;
13
- export declare var InvalidInputException: StaticErrorSchema;
14
- export declare var Item: StaticStructureSchema;
15
- export declare var MetricAttribution: StaticStructureSchema;
16
- export declare var PutActionInteractionsRequest: StaticStructureSchema;
17
- export declare var PutActionsRequest: StaticStructureSchema;
18
- export declare var PutEventsRequest: StaticStructureSchema;
19
- export declare var PutItemsRequest: StaticStructureSchema;
20
- export declare var PutUsersRequest: StaticStructureSchema;
21
- export declare var ResourceInUseException: StaticErrorSchema;
22
- export declare var ResourceNotFoundException: StaticErrorSchema;
23
- export declare var User: StaticStructureSchema;
24
- export declare var __Unit: "unit";
25
- export declare var PersonalizeEventsServiceException: StaticErrorSchema;
26
- export declare var ActionImpression: StaticListSchema;
27
- export declare var ActionInteractionsList: StaticListSchema;
28
- export declare var ActionList: StaticListSchema;
29
- export declare var EventList: StaticListSchema;
30
- export declare var Impression: StaticListSchema;
31
- export declare var ItemList: StaticListSchema;
32
- export declare var UserList: StaticListSchema;
33
- export declare var PutActionInteractions: StaticOperationSchema;
34
- export declare var PutActions: StaticOperationSchema;
35
- export declare var PutEvents: StaticOperationSchema;
36
- export declare var PutItems: StaticOperationSchema;
37
- export declare var PutUsers: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var Action$: StaticStructureSchema;
3
+ export declare var ActionInteraction$: StaticStructureSchema;
4
+ export declare var Event$: StaticStructureSchema;
5
+ export declare var InvalidInputException$: StaticErrorSchema;
6
+ export declare var Item$: StaticStructureSchema;
7
+ export declare var MetricAttribution$: StaticStructureSchema;
8
+ export declare var PutActionInteractionsRequest$: StaticStructureSchema;
9
+ export declare var PutActionsRequest$: StaticStructureSchema;
10
+ export declare var PutEventsRequest$: StaticStructureSchema;
11
+ export declare var PutItemsRequest$: StaticStructureSchema;
12
+ export declare var PutUsersRequest$: StaticStructureSchema;
13
+ export declare var ResourceInUseException$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var User$: StaticStructureSchema;
16
+ export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
17
+ export declare var PutActionInteractions$: StaticOperationSchema;
18
+ export declare var PutActions$: StaticOperationSchema;
19
+ export declare var PutEvents$: StaticOperationSchema;
20
+ export declare var PutItems$: StaticOperationSchema;
21
+ export declare var PutUsers$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -111,7 +108,6 @@ export interface ClientDefaults
111
108
  retryMode?: string | __Provider<string>;
112
109
  logger?: __Logger;
113
110
  extensions?: RuntimeExtension[];
114
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
115
111
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
112
  }
117
113
  export type PersonalizeEventsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { PersonalizeEventsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./models/errors";
8
9
  export * from "./models/models_0";
9
10
  export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { PersonalizeEventsClientConfig } from "./PersonalizeEventsClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: PersonalizeEventsClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PersonalizeEventsHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,43 +1,25 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
- StaticSimpleSchema,
6
4
  StaticStructureSchema,
7
5
  } from "@smithy/types";
8
- export declare var ActionId: StaticSimpleSchema;
9
- export declare var ItemId: StaticSimpleSchema;
10
- export declare var SynthesizedJsonActionInteractionProperties: StaticSimpleSchema;
11
- export declare var SynthesizedJsonActionProperties: StaticSimpleSchema;
12
- export declare var SynthesizedJsonEventPropertiesJSON: StaticSimpleSchema;
13
- export declare var SynthesizedJsonItemProperties: StaticSimpleSchema;
14
- export declare var SynthesizedJsonUserProperties: StaticSimpleSchema;
15
- export declare var UserId: StaticSimpleSchema;
16
- export declare var Action: StaticStructureSchema;
17
- export declare var ActionInteraction: StaticStructureSchema;
18
- export declare var Event: StaticStructureSchema;
19
- export declare var InvalidInputException: StaticErrorSchema;
20
- export declare var Item: StaticStructureSchema;
21
- export declare var MetricAttribution: StaticStructureSchema;
22
- export declare var PutActionInteractionsRequest: StaticStructureSchema;
23
- export declare var PutActionsRequest: StaticStructureSchema;
24
- export declare var PutEventsRequest: StaticStructureSchema;
25
- export declare var PutItemsRequest: StaticStructureSchema;
26
- export declare var PutUsersRequest: StaticStructureSchema;
27
- export declare var ResourceInUseException: StaticErrorSchema;
28
- export declare var ResourceNotFoundException: StaticErrorSchema;
29
- export declare var User: StaticStructureSchema;
30
- export declare var __Unit: "unit";
31
- export declare var PersonalizeEventsServiceException: StaticErrorSchema;
32
- export declare var ActionImpression: StaticListSchema;
33
- export declare var ActionInteractionsList: StaticListSchema;
34
- export declare var ActionList: StaticListSchema;
35
- export declare var EventList: StaticListSchema;
36
- export declare var Impression: StaticListSchema;
37
- export declare var ItemList: StaticListSchema;
38
- export declare var UserList: StaticListSchema;
39
- export declare var PutActionInteractions: StaticOperationSchema;
40
- export declare var PutActions: StaticOperationSchema;
41
- export declare var PutEvents: StaticOperationSchema;
42
- export declare var PutItems: StaticOperationSchema;
43
- export declare var PutUsers: StaticOperationSchema;
6
+ export declare var Action$: StaticStructureSchema;
7
+ export declare var ActionInteraction$: StaticStructureSchema;
8
+ export declare var Event$: StaticStructureSchema;
9
+ export declare var InvalidInputException$: StaticErrorSchema;
10
+ export declare var Item$: StaticStructureSchema;
11
+ export declare var MetricAttribution$: StaticStructureSchema;
12
+ export declare var PutActionInteractionsRequest$: StaticStructureSchema;
13
+ export declare var PutActionsRequest$: StaticStructureSchema;
14
+ export declare var PutEventsRequest$: StaticStructureSchema;
15
+ export declare var PutItemsRequest$: StaticStructureSchema;
16
+ export declare var PutUsersRequest$: StaticStructureSchema;
17
+ export declare var ResourceInUseException$: StaticErrorSchema;
18
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
19
+ export declare var User$: StaticStructureSchema;
20
+ export declare var PersonalizeEventsServiceException$: StaticErrorSchema;
21
+ export declare var PutActionInteractions$: StaticOperationSchema;
22
+ export declare var PutActions$: StaticOperationSchema;
23
+ export declare var PutEvents$: StaticOperationSchema;
24
+ export declare var PutItems$: StaticOperationSchema;
25
+ export declare var PutUsers$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.948.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-personalize-events",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.948.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },