@aws-sdk/client-personalize-runtime 3.325.0 → 3.326.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.
@@ -47,6 +47,17 @@ export interface GetPersonalizedRankingCommandOutput extends GetPersonalizedRank
47
47
  * };
48
48
  * const command = new GetPersonalizedRankingCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // GetPersonalizedRankingResponse
51
+ * // personalizedRanking: [ // ItemList
52
+ * // { // PredictedItem
53
+ * // itemId: "STRING_VALUE",
54
+ * // score: Number("double"),
55
+ * // promotionName: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // recommendationId: "STRING_VALUE",
59
+ * // };
60
+ *
50
61
  * ```
51
62
  *
52
63
  * @param GetPersonalizedRankingCommandInput - {@link GetPersonalizedRankingCommandInput}
@@ -61,6 +72,8 @@ export interface GetPersonalizedRankingCommandOutput extends GetPersonalizedRank
61
72
  * @throws {@link ResourceNotFoundException} (client fault)
62
73
  * <p>The specified resource does not exist.</p>
63
74
  *
75
+ * @throws {@link PersonalizeRuntimeServiceException}
76
+ * <p>Base exception class for all service exceptions from PersonalizeRuntime service.</p>
64
77
  *
65
78
  */
66
79
  export declare class GetPersonalizedRankingCommand extends $Command<GetPersonalizedRankingCommandInput, GetPersonalizedRankingCommandOutput, PersonalizeRuntimeClientResolvedConfig> {
@@ -69,6 +69,17 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
69
69
  * };
70
70
  * const command = new GetRecommendationsCommand(input);
71
71
  * const response = await client.send(command);
72
+ * // { // GetRecommendationsResponse
73
+ * // itemList: [ // ItemList
74
+ * // { // PredictedItem
75
+ * // itemId: "STRING_VALUE",
76
+ * // score: Number("double"),
77
+ * // promotionName: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // recommendationId: "STRING_VALUE",
81
+ * // };
82
+ *
72
83
  * ```
73
84
  *
74
85
  * @param GetRecommendationsCommandInput - {@link GetRecommendationsCommandInput}
@@ -83,6 +94,8 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
83
94
  * @throws {@link ResourceNotFoundException} (client fault)
84
95
  * <p>The specified resource does not exist.</p>
85
96
  *
97
+ * @throws {@link PersonalizeRuntimeServiceException}
98
+ * <p>Base exception class for all service exceptions from PersonalizeRuntime service.</p>
86
99
  *
87
100
  */
88
101
  export declare class GetRecommendationsCommand extends $Command<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",