@aws-sdk/client-personalize-events 3.451.0 → 3.458.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 (32) hide show
  1. package/README.md +27 -11
  2. package/dist-cjs/PersonalizeEvents.js +4 -0
  3. package/dist-cjs/commands/PutActionInteractionsCommand.js +52 -0
  4. package/dist-cjs/commands/PutActionsCommand.js +52 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +26 -1
  7. package/dist-cjs/protocols/Aws_restJson1.js +150 -1
  8. package/dist-es/PersonalizeEvents.js +4 -0
  9. package/dist-es/commands/PutActionInteractionsCommand.js +48 -0
  10. package/dist-es/commands/PutActionsCommand.js +48 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +21 -0
  13. package/dist-es/protocols/Aws_restJson1.js +145 -0
  14. package/dist-types/PersonalizeEvents.d.ts +15 -1
  15. package/dist-types/PersonalizeEventsClient.d.ts +5 -3
  16. package/dist-types/commands/PutActionInteractionsCommand.d.ts +99 -0
  17. package/dist-types/commands/PutActionsCommand.d.ts +88 -0
  18. package/dist-types/commands/PutEventsCommand.d.ts +2 -2
  19. package/dist-types/commands/PutItemsCommand.d.ts +1 -1
  20. package/dist-types/commands/PutUsersCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/index.d.ts +1 -1
  23. package/dist-types/models/models_0.d.ts +229 -34
  24. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  25. package/dist-types/ts3.4/PersonalizeEvents.d.ts +34 -0
  26. package/dist-types/ts3.4/PersonalizeEventsClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/PutActionInteractionsCommand.d.ts +37 -0
  28. package/dist-types/ts3.4/commands/PutActionsCommand.d.ts +33 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +47 -14
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  32. package/package.json +3 -3
@@ -2,6 +2,48 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
2
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectString as __expectString, LazyJsonString as __LazyJsonString, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { InvalidInputException, ResourceInUseException, ResourceNotFoundException, } from "../models/models_0";
4
4
  import { PersonalizeEventsServiceException as __BaseException } from "../models/PersonalizeEventsServiceException";
5
+ export const se_PutActionInteractionsCommand = async (input, context) => {
6
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
+ const headers = {
8
+ "content-type": "application/json",
9
+ };
10
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/action-interactions";
11
+ let body;
12
+ body = JSON.stringify(take(input, {
13
+ actionInteractions: (_) => se_ActionInteractionsList(_, context),
14
+ trackingId: [],
15
+ }));
16
+ return new __HttpRequest({
17
+ protocol,
18
+ hostname,
19
+ port,
20
+ method: "POST",
21
+ headers,
22
+ path: resolvedPath,
23
+ body,
24
+ });
25
+ };
26
+ export const se_PutActionsCommand = async (input, context) => {
27
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
+ const headers = {
29
+ "content-type": "application/json",
30
+ };
31
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/actions";
32
+ let body;
33
+ body = JSON.stringify(take(input, {
34
+ actions: (_) => se_ActionList(_, context),
35
+ datasetArn: [],
36
+ }));
37
+ return new __HttpRequest({
38
+ protocol,
39
+ hostname,
40
+ port,
41
+ method: "POST",
42
+ headers,
43
+ path: resolvedPath,
44
+ body,
45
+ });
46
+ };
5
47
  export const se_PutEventsCommand = async (input, context) => {
6
48
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
49
  const headers = {
@@ -67,6 +109,76 @@ export const se_PutUsersCommand = async (input, context) => {
67
109
  body,
68
110
  });
69
111
  };
112
+ export const de_PutActionInteractionsCommand = async (output, context) => {
113
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
114
+ return de_PutActionInteractionsCommandError(output, context);
115
+ }
116
+ const contents = map({
117
+ $metadata: deserializeMetadata(output),
118
+ });
119
+ await collectBody(output.body, context);
120
+ return contents;
121
+ };
122
+ const de_PutActionInteractionsCommandError = async (output, context) => {
123
+ const parsedOutput = {
124
+ ...output,
125
+ body: await parseErrorBody(output.body, context),
126
+ };
127
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
128
+ switch (errorCode) {
129
+ case "InvalidInputException":
130
+ case "com.amazonaws.personalizeevents#InvalidInputException":
131
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
132
+ case "ResourceInUseException":
133
+ case "com.amazonaws.personalizeevents#ResourceInUseException":
134
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
135
+ case "ResourceNotFoundException":
136
+ case "com.amazonaws.personalizeevents#ResourceNotFoundException":
137
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
138
+ default:
139
+ const parsedBody = parsedOutput.body;
140
+ return throwDefaultError({
141
+ output,
142
+ parsedBody,
143
+ errorCode,
144
+ });
145
+ }
146
+ };
147
+ export const de_PutActionsCommand = async (output, context) => {
148
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
149
+ return de_PutActionsCommandError(output, context);
150
+ }
151
+ const contents = map({
152
+ $metadata: deserializeMetadata(output),
153
+ });
154
+ await collectBody(output.body, context);
155
+ return contents;
156
+ };
157
+ const de_PutActionsCommandError = async (output, context) => {
158
+ const parsedOutput = {
159
+ ...output,
160
+ body: await parseErrorBody(output.body, context),
161
+ };
162
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
163
+ switch (errorCode) {
164
+ case "InvalidInputException":
165
+ case "com.amazonaws.personalizeevents#InvalidInputException":
166
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
167
+ case "ResourceInUseException":
168
+ case "com.amazonaws.personalizeevents#ResourceInUseException":
169
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
170
+ case "ResourceNotFoundException":
171
+ case "com.amazonaws.personalizeevents#ResourceNotFoundException":
172
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
173
+ default:
174
+ const parsedBody = parsedOutput.body;
175
+ return throwDefaultError({
176
+ output,
177
+ parsedBody,
178
+ errorCode,
179
+ });
180
+ }
181
+ };
70
182
  export const de_PutEventsCommand = async (output, context) => {
71
183
  if (output.statusCode !== 200 && output.statusCode >= 300) {
72
184
  return de_PutEventsCommandError(output, context);
@@ -206,6 +318,39 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
206
318
  });
207
319
  return __decorateServiceException(exception, parsedOutput.body);
208
320
  };
321
+ const se_Action = (input, context) => {
322
+ return take(input, {
323
+ actionId: [],
324
+ properties: __LazyJsonString.fromObject,
325
+ });
326
+ };
327
+ const se_ActionInteraction = (input, context) => {
328
+ return take(input, {
329
+ actionId: [],
330
+ eventId: [],
331
+ eventType: [],
332
+ impression: _json,
333
+ properties: __LazyJsonString.fromObject,
334
+ recommendationId: [],
335
+ sessionId: [],
336
+ timestamp: (_) => Math.round(_.getTime() / 1000),
337
+ userId: [],
338
+ });
339
+ };
340
+ const se_ActionInteractionsList = (input, context) => {
341
+ return input
342
+ .filter((e) => e != null)
343
+ .map((entry) => {
344
+ return se_ActionInteraction(entry, context);
345
+ });
346
+ };
347
+ const se_ActionList = (input, context) => {
348
+ return input
349
+ .filter((e) => e != null)
350
+ .map((entry) => {
351
+ return se_Action(entry, context);
352
+ });
353
+ };
209
354
  const se_Event = (input, context) => {
210
355
  return take(input, {
211
356
  eventId: [],
@@ -1,9 +1,23 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput } from "./commands/PutActionInteractionsCommand";
3
+ import { PutActionsCommandInput, PutActionsCommandOutput } from "./commands/PutActionsCommand";
2
4
  import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
3
5
  import { PutItemsCommandInput, PutItemsCommandOutput } from "./commands/PutItemsCommand";
4
6
  import { PutUsersCommandInput, PutUsersCommandOutput } from "./commands/PutUsersCommand";
5
7
  import { PersonalizeEventsClient } from "./PersonalizeEventsClient";
6
8
  export interface PersonalizeEvents {
9
+ /**
10
+ * @see {@link PutActionInteractionsCommand}
11
+ */
12
+ putActionInteractions(args: PutActionInteractionsCommandInput, options?: __HttpHandlerOptions): Promise<PutActionInteractionsCommandOutput>;
13
+ putActionInteractions(args: PutActionInteractionsCommandInput, cb: (err: any, data?: PutActionInteractionsCommandOutput) => void): void;
14
+ putActionInteractions(args: PutActionInteractionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutActionInteractionsCommandOutput) => void): void;
15
+ /**
16
+ * @see {@link PutActionsCommand}
17
+ */
18
+ putActions(args: PutActionsCommandInput, options?: __HttpHandlerOptions): Promise<PutActionsCommandOutput>;
19
+ putActions(args: PutActionsCommandInput, cb: (err: any, data?: PutActionsCommandOutput) => void): void;
20
+ putActions(args: PutActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutActionsCommandOutput) => void): void;
7
21
  /**
8
22
  * @see {@link PutEventsCommand}
9
23
  */
@@ -27,7 +41,7 @@ export interface PersonalizeEvents {
27
41
  * @public
28
42
  * <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
29
43
  * it for model training either alone or combined with historical data. For more information see
30
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
44
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html">Recording item interaction events</a>.</p>
31
45
  */
32
46
  export declare class PersonalizeEvents extends PersonalizeEventsClient implements PersonalizeEvents {
33
47
  }
@@ -8,6 +8,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"
8
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
10
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput } from "./commands/PutActionInteractionsCommand";
12
+ import { PutActionsCommandInput, PutActionsCommandOutput } from "./commands/PutActionsCommand";
11
13
  import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
12
14
  import { PutItemsCommandInput, PutItemsCommandOutput } from "./commands/PutItemsCommand";
13
15
  import { PutUsersCommandInput, PutUsersCommandOutput } from "./commands/PutUsersCommand";
@@ -17,11 +19,11 @@ export { __Client };
17
19
  /**
18
20
  * @public
19
21
  */
20
- export type ServiceInputTypes = PutEventsCommandInput | PutItemsCommandInput | PutUsersCommandInput;
22
+ export type ServiceInputTypes = PutActionInteractionsCommandInput | PutActionsCommandInput | PutEventsCommandInput | PutItemsCommandInput | PutUsersCommandInput;
21
23
  /**
22
24
  * @public
23
25
  */
24
- export type ServiceOutputTypes = PutEventsCommandOutput | PutItemsCommandOutput | PutUsersCommandOutput;
26
+ export type ServiceOutputTypes = PutActionInteractionsCommandOutput | PutActionsCommandOutput | PutEventsCommandOutput | PutItemsCommandOutput | PutUsersCommandOutput;
25
27
  /**
26
28
  * @public
27
29
  */
@@ -157,7 +159,7 @@ export interface PersonalizeEventsClientResolvedConfig extends PersonalizeEvents
157
159
  * @public
158
160
  * <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
159
161
  * it for model training either alone or combined with historical data. For more information see
160
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
162
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html">Recording item interaction events</a>.</p>
161
163
  */
162
164
  export declare class PersonalizeEventsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PersonalizeEventsClientResolvedConfig> {
163
165
  /**
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { PutActionInteractionsRequest } from "../models/models_0";
5
+ import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutActionInteractionsCommand}.
14
+ */
15
+ export interface PutActionInteractionsCommandInput extends PutActionInteractionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutActionInteractionsCommand}.
21
+ */
22
+ export interface PutActionInteractionsCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Records action interaction event data. An <i>action interaction</i> event is an interaction between a user and an <i>action</i>.
27
+ * For example, a user taking an action, such a enrolling in a membership program or downloading your app.</p>
28
+ * <p>
29
+ * For more information about recording action interactions, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-action-interaction-events.html">Recording action interaction events</a>.
30
+ * For more information about actions in an Actions dataset, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/actions-datasets.html">Actions dataset</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PersonalizeEventsClient, PutActionInteractionsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import
35
+ * // const { PersonalizeEventsClient, PutActionInteractionsCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import
36
+ * const client = new PersonalizeEventsClient(config);
37
+ * const input = { // PutActionInteractionsRequest
38
+ * trackingId: "STRING_VALUE", // required
39
+ * actionInteractions: [ // ActionInteractionsList // required
40
+ * { // ActionInteraction
41
+ * actionId: "STRING_VALUE", // required
42
+ * userId: "STRING_VALUE",
43
+ * sessionId: "STRING_VALUE", // required
44
+ * timestamp: new Date("TIMESTAMP"), // required
45
+ * eventType: "STRING_VALUE", // required
46
+ * eventId: "STRING_VALUE",
47
+ * recommendationId: "STRING_VALUE",
48
+ * impression: [ // ActionImpression
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * properties: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * };
55
+ * const command = new PutActionInteractionsCommand(input);
56
+ * const response = await client.send(command);
57
+ * // {};
58
+ *
59
+ * ```
60
+ *
61
+ * @param PutActionInteractionsCommandInput - {@link PutActionInteractionsCommandInput}
62
+ * @returns {@link PutActionInteractionsCommandOutput}
63
+ * @see {@link PutActionInteractionsCommandInput} for command's `input` shape.
64
+ * @see {@link PutActionInteractionsCommandOutput} for command's `response` shape.
65
+ * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape.
66
+ *
67
+ * @throws {@link InvalidInputException} (client fault)
68
+ * <p>Provide a valid value for the field or parameter.</p>
69
+ *
70
+ * @throws {@link ResourceInUseException} (client fault)
71
+ * <p>The specified resource is in use.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>Could not find the specified resource.</p>
75
+ *
76
+ * @throws {@link PersonalizeEventsServiceException}
77
+ * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
78
+ *
79
+ */
80
+ export declare class PutActionInteractionsCommand extends $Command<PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput, PersonalizeEventsClientResolvedConfig> {
81
+ readonly input: PutActionInteractionsCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: PutActionInteractionsCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -0,0 +1,88 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { PutActionsRequest } from "../models/models_0";
5
+ import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutActionsCommand}.
14
+ */
15
+ export interface PutActionsCommandInput extends PutActionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutActionsCommand}.
21
+ */
22
+ export interface PutActionsCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Adds one or more actions to an Actions dataset. For more information see
27
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-actions.html">Importing actions individually</a>.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { PersonalizeEventsClient, PutActionsCommand } from "@aws-sdk/client-personalize-events"; // ES Modules import
33
+ * // const { PersonalizeEventsClient, PutActionsCommand } = require("@aws-sdk/client-personalize-events"); // CommonJS import
34
+ * const client = new PersonalizeEventsClient(config);
35
+ * const input = { // PutActionsRequest
36
+ * datasetArn: "STRING_VALUE", // required
37
+ * actions: [ // ActionList // required
38
+ * { // Action
39
+ * actionId: "STRING_VALUE", // required
40
+ * properties: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
44
+ * const command = new PutActionsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param PutActionsCommandInput - {@link PutActionsCommandInput}
51
+ * @returns {@link PutActionsCommandOutput}
52
+ * @see {@link PutActionsCommandInput} for command's `input` shape.
53
+ * @see {@link PutActionsCommandOutput} for command's `response` shape.
54
+ * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape.
55
+ *
56
+ * @throws {@link InvalidInputException} (client fault)
57
+ * <p>Provide a valid value for the field or parameter.</p>
58
+ *
59
+ * @throws {@link ResourceInUseException} (client fault)
60
+ * <p>The specified resource is in use.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Could not find the specified resource.</p>
64
+ *
65
+ * @throws {@link PersonalizeEventsServiceException}
66
+ * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
67
+ *
68
+ */
69
+ export declare class PutActionsCommand extends $Command<PutActionsCommandInput, PutActionsCommandOutput, PersonalizeEventsClientResolvedConfig> {
70
+ readonly input: PutActionsCommandInput;
71
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
75
+ constructor(input: PutActionsCommandInput);
76
+ /**
77
+ * @internal
78
+ */
79
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutActionsCommandInput, PutActionsCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
83
+ private serialize;
84
+ /**
85
+ * @internal
86
+ */
87
+ private deserialize;
88
+ }
@@ -23,8 +23,8 @@ export interface PutEventsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Records user interaction event data. For more information see
27
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
26
+ * <p>Records item interaction event data. For more information see
27
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html">Recording item interaction events</a>.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -24,7 +24,7 @@ export interface PutItemsCommandOutput extends __MetadataBearer {
24
24
  /**
25
25
  * @public
26
26
  * <p>Adds one or more items to an Items dataset. For more information see
27
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html">Importing Items Incrementally</a>.
27
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html">Importing items individually</a>.
28
28
  * </p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,7 +24,7 @@ export interface PutUsersCommandOutput extends __MetadataBearer {
24
24
  /**
25
25
  * @public
26
26
  * <p>Adds one or more users to a Users dataset. For more information see
27
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html">Importing Users Incrementally</a>.</p>
27
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html">Importing users individually</a>.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -1,3 +1,5 @@
1
+ export * from "./PutActionInteractionsCommand";
2
+ export * from "./PutActionsCommand";
1
3
  export * from "./PutEventsCommand";
2
4
  export * from "./PutItemsCommand";
3
5
  export * from "./PutUsersCommand";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
3
3
  * it for model training either alone or combined with historical data. For more information see
4
- * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
4
+ * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html">Recording item interaction events</a>.</p>
5
5
  *
6
6
  * @packageDocumentation
7
7
  */