@aws-sdk/client-personalize-runtime 3.758.0 → 3.772.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +17 -17
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  GetActionRecommendationsCommand: () => GetActionRecommendationsCommand,
25
25
  GetActionRecommendationsRequestFilterSensitiveLog: () => GetActionRecommendationsRequestFilterSensitiveLog,
26
26
  GetPersonalizedRankingCommand: () => GetPersonalizedRankingCommand,
@@ -38,7 +38,7 @@ __export(src_exports, {
38
38
  ResourceNotFoundException: () => ResourceNotFoundException,
39
39
  __Client: () => import_smithy_client.Client
40
40
  });
41
- module.exports = __toCommonJS(src_exports);
41
+ module.exports = __toCommonJS(index_exports);
42
42
 
43
43
  // src/PersonalizeRuntimeClient.ts
44
44
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -165,9 +165,9 @@ var PersonalizeRuntimeClient = class extends import_smithy_client.Client {
165
165
  this.middlewareStack.use(
166
166
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
167
167
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPersonalizeRuntimeHttpAuthSchemeParametersProvider,
168
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
168
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
169
169
  "aws.auth#sigv4": config.credentials
170
- })
170
+ }), "identityProviderConfigProvider")
171
171
  })
172
172
  );
173
173
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -294,7 +294,7 @@ var se_GetActionRecommendationsCommand = /* @__PURE__ */ __name(async (input, co
294
294
  (0, import_smithy_client.take)(input, {
295
295
  campaignArn: [],
296
296
  filterArn: [],
297
- filterValues: (_) => (0, import_smithy_client._json)(_),
297
+ filterValues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filterValues"),
298
298
  numResults: [],
299
299
  userId: []
300
300
  })
@@ -312,11 +312,11 @@ var se_GetPersonalizedRankingCommand = /* @__PURE__ */ __name(async (input, cont
312
312
  body = JSON.stringify(
313
313
  (0, import_smithy_client.take)(input, {
314
314
  campaignArn: [],
315
- context: (_) => (0, import_smithy_client._json)(_),
315
+ context: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "context"),
316
316
  filterArn: [],
317
- filterValues: (_) => (0, import_smithy_client._json)(_),
318
- inputList: (_) => (0, import_smithy_client._json)(_),
319
- metadataColumns: (_) => (0, import_smithy_client._json)(_),
317
+ filterValues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filterValues"),
318
+ inputList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputList"),
319
+ metadataColumns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "metadataColumns"),
320
320
  userId: []
321
321
  })
322
322
  );
@@ -333,13 +333,13 @@ var se_GetRecommendationsCommand = /* @__PURE__ */ __name(async (input, context)
333
333
  body = JSON.stringify(
334
334
  (0, import_smithy_client.take)(input, {
335
335
  campaignArn: [],
336
- context: (_) => (0, import_smithy_client._json)(_),
336
+ context: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "context"),
337
337
  filterArn: [],
338
- filterValues: (_) => (0, import_smithy_client._json)(_),
338
+ filterValues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filterValues"),
339
339
  itemId: [],
340
- metadataColumns: (_) => (0, import_smithy_client._json)(_),
340
+ metadataColumns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "metadataColumns"),
341
341
  numResults: [],
342
- promotions: (_) => (0, import_smithy_client._json)(_),
342
+ promotions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "promotions"),
343
343
  recommenderArn: [],
344
344
  userId: []
345
345
  })
@@ -356,7 +356,7 @@ var de_GetActionRecommendationsCommand = /* @__PURE__ */ __name(async (output, c
356
356
  });
357
357
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
358
358
  const doc = (0, import_smithy_client.take)(data, {
359
- actionList: (_) => de_ActionList(_, context),
359
+ actionList: /* @__PURE__ */ __name((_) => de_ActionList(_, context), "actionList"),
360
360
  recommendationId: import_smithy_client.expectString
361
361
  });
362
362
  Object.assign(contents, doc);
@@ -371,7 +371,7 @@ var de_GetPersonalizedRankingCommand = /* @__PURE__ */ __name(async (output, con
371
371
  });
372
372
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
373
373
  const doc = (0, import_smithy_client.take)(data, {
374
- personalizedRanking: (_) => de_ItemList(_, context),
374
+ personalizedRanking: /* @__PURE__ */ __name((_) => de_ItemList(_, context), "personalizedRanking"),
375
375
  recommendationId: import_smithy_client.expectString
376
376
  });
377
377
  Object.assign(contents, doc);
@@ -386,7 +386,7 @@ var de_GetRecommendationsCommand = /* @__PURE__ */ __name(async (output, context
386
386
  });
387
387
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
388
388
  const doc = (0, import_smithy_client.take)(data, {
389
- itemList: (_) => de_ItemList(_, context),
389
+ itemList: /* @__PURE__ */ __name((_) => de_ItemList(_, context), "itemList"),
390
390
  recommendationId: import_smithy_client.expectString
391
391
  });
392
392
  Object.assign(contents, doc);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-runtime",
3
3
  "description": "AWS SDK for JavaScript Personalize Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-personalize-runtime",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",